/* OrbitMeet static language pages (/fr-ca, /es). Same dark theme tokens and
   layout as the Japanese pages (public/ja/ja.css), without the Japanese font
   and line-breaking rules. Standalone (not the SPA bundle) so that crawlers
   see fully rendered HTML. */

:root {
  --bg: hsl(222 50% 4%);
  --surface: hsl(222 47% 8%);
  --card: hsl(222 47% 10%);
  --card-border: hsl(222 47% 18%);
  --fg: hsl(210 40% 98%);
  --muted: hsl(215 20% 62%);
  --muted-2: hsl(215 16% 50%);
  --primary: hsl(183 74% 44%);
  --primary-strong: hsl(183 74% 38%);
  --primary-ink: hsl(222 47% 6%);
  --radius: 0.85rem;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

p, li, h1, h2, h3, .lead, .card p { overflow-wrap: break-word; hyphens: auto; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
}
.site-header .bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; max-width: var(--maxw); margin: 0 auto; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 30px; width: auto; }
.header-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lang-switch { font-size: 13px; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }
.lang-switch a { color: var(--muted); }
.lang-switch .active { color: var(--fg); font-weight: 700; }

/* Buttons */
.btn { display: inline-block; border-radius: 999px; padding: 11px 22px; font-weight: 700; font-size: 15px; cursor: pointer; border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--primary); color: var(--primary-ink); }
.btn-primary:hover { background: var(--primary-strong); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--card-border); }
.btn-ghost:hover { border-color: var(--primary); text-decoration: none; }
.btn-sm { padding: 8px 16px; font-size: 14px; }

/* Announcement banner (English home ja-visitor hint lives in React; this is /ja local) */
.topnote { background: color-mix(in srgb, var(--primary) 12%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--primary) 20%, transparent); text-align: center; padding: 8px 16px; font-size: 13px; color: var(--primary); }

/* Sections */
section { padding: 64px 0; border-top: 1px solid color-mix(in srgb, var(--card-border) 50%, transparent); }
section:first-of-type { border-top: none; }
h1 { font-size: clamp(30px, 6vw, 50px); line-height: 1.35; margin: 0 0 20px; font-weight: 800; }
h2 { font-size: clamp(22px, 4.2vw, 32px); line-height: 1.5; margin: 0 0 24px; font-weight: 800; }
h3 { font-size: 18px; margin: 0 0 10px; font-weight: 700; }
.eyebrow { color: var(--primary); font-weight: 700; font-size: 14px; letter-spacing: .08em; margin: 0 0 12px; }
.lead { font-size: clamp(16px, 2.4vw, 19px); color: var(--muted); max-width: 46em; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Hero */
.hero { padding-top: 56px; padding-bottom: 56px; }
.hero .sub { color: var(--muted); font-size: clamp(16px, 2.6vw, 20px); margin: 0 0 28px; max-width: 42em; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-note { color: var(--muted-2); font-size: 13px; margin-top: 14px; }

/* Demo video (directly after the hero) */
section.demo { padding-top: 0; border-top: none; }
.demo-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 16px; background: var(--bg); }

/* Cards / grids */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 24px; }
.card p { color: var(--muted); margin: 0; }
.card .num { color: var(--primary); font-weight: 800; font-size: 14px; letter-spacing: .1em; }

/* Stat / source */
.stat { font-size: 15px; color: var(--fg); }
.source { color: var(--muted-2); font-size: 12px; display: block; margin-top: 6px; }

/* Pricing */
.price-card { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary) inset; }
.price-name { font-weight: 800; font-size: 17px; margin: 0 0 6px; }
.price-amount { font-size: 30px; font-weight: 800; margin: 6px 0 2px; }
.price-amount small { font-size: 14px; color: var(--muted); font-weight: 600; }
.price-annual { color: var(--muted); font-size: 13px; margin: 0 0 14px; }
.price-card ul { list-style: none; padding: 0; margin: 10px 0 20px; color: var(--muted); font-size: 14px; }
.price-card li { padding: 5px 0 5px 22px; position: relative; }
.price-card li::before { content: "✓"; color: var(--primary); position: absolute; left: 0; }
.price-card .btn { margin-top: auto; text-align: center; }

/* FAQ */
.faq details { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 4px 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; float: right; color: var(--primary); }
.faq details[open] summary::after { content: "－"; }
.faq details p { color: var(--muted); margin: 0 0 16px; }

/* Legal pages */
.legal { padding: 48px 0 72px; }
.legal h1 { font-size: clamp(24px, 4.5vw, 34px); }
.legal table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
.legal th, .legal td { border: 1px solid var(--card-border); padding: 12px 14px; text-align: left; vertical-align: top; }
.legal th { width: 32%; background: var(--surface); color: var(--fg); font-weight: 700; white-space: normal; }
.legal td { color: var(--muted); }
.legal h2 { font-size: 20px; margin-top: 36px; }
.legal p, .legal li { color: var(--muted); }
.placeholder { color: hsl(38 92% 62%); font-weight: 700; }

/* Footer */
footer { border-top: 1px solid var(--card-border); padding: 40px 0 56px; color: var(--muted-2); font-size: 13px; }
footer .cols { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer a { color: var(--muted); }
footer .legal-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 860px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  section { padding: 48px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .legal th { width: 40%; }
  .header-actions .btn { display: none; }
}

/* Four language links: keep the header inside a 375px screen. */
@media (max-width: 560px) {
  .site-header .bar { flex-wrap: wrap; row-gap: 6px; }
  .brand img { height: 24px; }
  .lang-switch { font-size: 12px; gap: 5px; flex-wrap: wrap; }
}
