/* Omnistat — site styles. One dark theme on purpose: it matches the app's
   App Store art and keeps the screenshots (light UI) as the bright focus. */

:root {
  --bg: #05070f;
  --bg-2: #0a0f1f;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #eef2ff;
  --muted: #a3acc7;
  --faint: #6f7a99;
  --blue: #2f7bff;
  --blue-2: #5b9bff;
  --violet: #8b5cf6;
  --cyan: #22d3ee;
  --green: #34d399;
  --orange: #fb923c;
  --radius: 22px;
  --radius-sm: 14px;
  --wrap: 1180px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Hiragino Sans", "PingFang SC", "PingFang TC", "Apple SD Gothic Neo", "Noto Sans CJK", system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-2); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.025em; margin: 0; font-weight: 700; }
p { margin: 0; }
strong { font-weight: 600; color: var(--text); }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 12px; }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 7, 15, 0.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.top.is-scrolled { border-bottom-color: var(--line); }
.top-row { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 8px; }
.top-nav { display: flex; gap: 26px; margin-left: 12px; }
.top-nav a { color: var(--muted); font-size: 15px; font-weight: 500; }
.top-nav a:hover { color: var(--text); text-decoration: none; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line);
  color: var(--muted); font-size: 14px; font-weight: 600;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { color: var(--text); border-color: var(--line-2); }
.lang svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none;
  min-width: 210px; max-height: 70vh; overflow: auto;
  background: #0d1326; border: 1px solid var(--line-2); border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
}
.lang-menu a { display: block; padding: 8px 12px; border-radius: 9px; color: var(--text); font-size: 15px; }
.lang-menu a:hover { background: var(--surface-2); text-decoration: none; }
.lang-menu a[aria-current="true"] { color: var(--blue-2); font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 44px; padding: 0 20px; border-radius: 999px;
  background: linear-gradient(180deg, #4a8dff, #2470f5);
  color: #fff; font-weight: 600; font-size: 15px; white-space: nowrap;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 10px 30px -10px rgba(47, 123, 255, .9);
  border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:hover { text-decoration: none; filter: brightness(1.08); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 16.5px; }
.btn-ghost { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-block { width: 100%; }
.btn-icon { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; isolation: isolate; }
.glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.glow-a { width: 720px; height: 720px; right: -160px; top: -220px; background: radial-gradient(closest-side, rgba(47,123,255,.55), transparent); }
.glow-b { width: 560px; height: 560px; left: -220px; top: 160px; background: radial-gradient(closest-side, rgba(139,92,246,.35), transparent); }
.glow-c { width: 900px; height: 600px; left: 50%; top: 120px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(47,123,255,.22), transparent); }
.glow-d { width: 900px; height: 500px; left: 50%; bottom: -260px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(47,123,255,.45), transparent); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px;
  background: rgba(47,123,255,.12); border: 1px solid rgba(91,155,255,.35); color: #cfe0ff;
  font-size: 14px; font-weight: 500; margin-bottom: 26px;
}
.pill:hover { text-decoration: none; background: rgba(47,123,255,.2); }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(52,211,153,.18); flex: none; }
.pill-arrow { color: var(--blue-2); }
.hero h1 { font-size: clamp(40px, 6.2vw, 72px); font-weight: 800; letter-spacing: -0.04em; }
.hero h1, .head h2, .closing h2 {
  background: linear-gradient(180deg, #ffffff 30%, #b8c6ee);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { margin-top: 22px; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 37em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cta-center { justify-content: center; }
.micro { margin-top: 14px; font-size: 14px; color: var(--faint); }
.rating { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 14.5px; color: var(--muted); }
.stars { color: #fbbf24; letter-spacing: 2px; font-size: 15px; }

.hero-visual { position: relative; justify-self: center; width: min(360px, 82vw); }
.phone {
  position: relative; border-radius: 52px; padding: 11px;
  background: linear-gradient(160deg, #2a3150, #0b0f1d 40%, #1c2236);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 50px 120px -30px rgba(10, 30, 90, .95), 0 30px 60px -20px rgba(0,0,0,.8);
}
.phone img { border-radius: 42px; width: 100%; }
.phone-hero { transform: rotate(2.5deg); }
.float {
  position: absolute; display: grid; gap: 1px; padding: 12px 16px; border-radius: 16px;
  background: rgba(13, 19, 38, .78); border: 1px solid var(--line-2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -12px rgba(0,0,0,.7); min-width: 150px;
  animation: bob 6s ease-in-out infinite;
}
.float-k { font-size: 12px; color: var(--faint); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.float-v { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.float-t { font-size: 12.5px; color: var(--muted); }
.float-t.ok { color: var(--green); }
.float-a { right: -118px; top: 12%; }
.float-b { left: -64px; top: 50%; animation-delay: -2s; }
.float-c { right: -104px; bottom: 10%; animation-delay: -4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .float { animation: none; } }

.trust {
  list-style: none; margin: 64px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px;
  color: var(--muted); font-size: 14.5px; font-weight: 500;
}
.trust li { display: inline-flex; align-items: center; gap: 9px; }
.trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-2); }

/* ---------- Sections ---------- */
.section { position: relative; padding: 112px 0; isolation: isolate; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--line); }
.head { max-width: 720px; margin-bottom: 52px; }
.head-center { margin-inline: auto; text-align: center; }
.head h2 { font-size: clamp(32px, 4.4vw, 50px); font-weight: 800; }
.head p:not(.eyebrow) { margin-top: 18px; color: var(--muted); font-size: 18.5px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-2); margin-bottom: 14px; }
.eyebrow-new { color: var(--green); }

/* ---------- Tags ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.tag-free { color: #b6f3d8; background: rgba(52,211,153,.14); box-shadow: inset 0 0 0 1px rgba(52,211,153,.35); }
.tag-pro { color: #fff; background: linear-gradient(90deg, #7c4dff, #2f7bff); }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
  border: 1px solid var(--line); padding: 28px;
  transition: border-color .2s ease, transform .2s ease;
}
.tile:hover { border-color: var(--line-2); }
.tile h3 { font-size: 22px; }
.tile p:not(.tags) { color: var(--muted); font-size: 15.5px; margin-top: 10px; }
.tile-xl { grid-column: span 4; grid-row: span 2; display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: center; }
.tile-tall { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
.tile-wide { grid-column: span 3; display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; align-items: center; }
.tile-sm { grid-column: span 3; }
.tile-xl h3 { font-size: 30px; }
.tile-copy { position: relative; z-index: 1; }
.tile-shot { margin: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 30px 60px -25px rgba(0,0,0,.9); }
.tile-xl .tile-shot { border-radius: 16px; }
.tile-tall .tile-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tile-tall .tile-shot { margin: 24px -28px -28px; border-radius: 0; flex: 1; }
.tile-wide .tile-shot { margin: -28px -28px -28px 0; border-radius: 0; align-self: stretch; }
.tile-wide .tile-shot img { height: 100%; object-fit: cover; object-position: top left; }
.tile-history { background: radial-gradient(120% 90% at 0% 0%, rgba(47,123,255,.22), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); }
.tile-speed { background: radial-gradient(120% 80% at 100% 0%, rgba(139,92,246,.25), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); }
.tile-icon { width: 34px; height: 34px; padding: 7px; border-radius: 10px; margin-bottom: 16px; fill: none; stroke: #cfe0ff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; background: rgba(47,123,255,.16); box-shadow: inset 0 0 0 1px rgba(91,155,255,.3); }

/* ---------- 3.0.1 strip ---------- */
.release {
  margin-top: 16px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center;
  border-radius: var(--radius); padding: 40px 44px; overflow: hidden;
  background: radial-gradient(90% 120% at 100% 50%, rgba(34,211,238,.16), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
  border: 1px solid var(--line);
}
.release h3 { font-size: clamp(26px, 3vw, 34px); }
.release .ticks { margin-top: 22px; }
.release-visual { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 18px; min-height: 340px; }
.duo { width: 230px; border-radius: 34px; padding: 9px; background: linear-gradient(160deg, #2a3150, #0b0f1d 40%, #1c2236); box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 40px 80px -30px rgba(0,0,0,.9); }
.duo img { border-radius: 26px; }
.watch { width: 132px; border-radius: 40px; padding: 10px; background: linear-gradient(160deg, #343b58, #0b0f1d); box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset, 0 30px 60px -20px rgba(0,0,0,.9); margin-bottom: 26px; }
.watch img { border-radius: 30px; }

/* ---------- Lists ---------- */
.ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 30px; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 50%;
  background: rgba(47,123,255,.18) url("/assets/check.svg") center / 15px no-repeat;
}
.ticks li strong { color: var(--text); }
.ticks-pro li::before { background-color: rgba(139,92,246,.22); }

/* ---------- Jobs ---------- */
.jobs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.job { border-radius: var(--radius); padding: 30px; background: var(--surface); border: 1px solid var(--line); }
.job-q { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--text); margin-bottom: 10px; }
.job p:not(.job-q) { color: var(--muted); }

/* ---------- Explorer ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.chip {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 7px;
  height: 40px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  background: var(--surface); color: var(--muted); border: 1px solid var(--line);
  font: 600 14.5px/1 var(--font);
}
.chip:hover { color: var(--text); border-color: var(--line-2); }
.chip.is-active { color: #fff; background: rgba(47,123,255,.2); border-color: rgba(91,155,255,.55); }
.chip-tag { font-size: 10.5px; font-weight: 800; padding: 3px 6px; border-radius: 6px; color: #fff; background: linear-gradient(90deg, #7c4dff, #2f7bff); }
.chip-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--blue-2); }
.chip.is-active .chip-bar.is-running { animation: chipbar var(--advance, 6s) linear forwards; }
@keyframes chipbar { to { width: 100%; } }
.stage { display: grid; grid-template-columns: 360px 1fr; gap: 72px; align-items: center; }
.phone-stage { width: 100%; max-width: 360px; display: grid; }
.phone-stage .shot { grid-area: 1 / 1; opacity: 0; transition: opacity .45s ease; }
.phone-stage .shot.is-active { opacity: 1; }
.panel h3 { font-size: clamp(28px, 3.2vw, 40px); }
.panel > p { color: var(--muted); font-size: 18px; margin-top: 16px; max-width: 34em; }
.panel .ticks li { font-size: 16.5px; }

.readout { margin-top: 64px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.readout summary, .compare summary {
  cursor: pointer; list-style: none; padding: 22px 28px; font-weight: 600; font-size: 17px;
  display: flex; justify-content: space-between; align-items: center;
}
.readout summary::-webkit-details-marker, .compare summary::-webkit-details-marker { display: none; }
.readout summary::after, .compare summary::after { content: "+"; font-size: 24px; color: var(--blue-2); font-weight: 400; transition: transform .2s ease; }
.readout[open] summary::after, .compare[open] summary::after { transform: rotate(45deg); }
.readout-grid { margin: 0; padding: 0 28px 26px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 40px; }
.readout-grid dt { font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-2); }
.readout-grid dd { margin: 6px 0 0; color: var(--muted); font-size: 15px; }

/* ---------- Places ---------- */
.places { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.place { border-radius: var(--radius); padding: 28px; background: var(--surface); border: 1px solid var(--line); }
.place h3 { font-size: 20px; }
.place p { color: var(--muted); font-size: 15.5px; margin-top: 8px; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: .85fr 1.15fr; gap: 20px; max-width: 980px; margin-inline: auto; align-items: start; }
.plan { position: relative; border-radius: 26px; padding: 34px; background: var(--surface); border: 1px solid var(--line); }
.plan h3 { font-size: 24px; }
.plan-price { margin-top: 14px; display: flex; align-items: baseline; gap: 8px; }
.plan-price .amount { font-size: 52px; font-weight: 800; letter-spacing: -0.04em; }
.plan-price .per { color: var(--muted); font-size: 16px; }
.plan-sub { color: var(--muted); margin: 6px 0 22px; font-size: 15px; }
.plan .ticks { margin-top: 26px; }
.plan-pro {
  background: radial-gradient(120% 70% at 50% 0%, rgba(124,77,255,.22), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border: 1px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 0 0 1px rgba(139,92,246,.55), 0 40px 90px -40px rgba(124,77,255,.8);
}
.plan-ribbon { position: absolute; top: -13px; right: 28px; height: 26px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 999px; background: linear-gradient(90deg, #7c4dff, #2f7bff); color: #fff; font-size: 12.5px; font-weight: 700; }
.options { display: grid; gap: 10px; margin: 20px 0 20px; }
.option {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name price" "note note";
  gap: 2px 12px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid var(--line);
}
.option-best { background: rgba(47,123,255,.12); border-color: rgba(91,155,255,.55); }
.option-name { grid-area: name; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.option-price { grid-area: price; color: var(--muted); font-size: 14.5px; white-space: nowrap; }
.option-price strong { font-size: 19px; font-variant-numeric: tabular-nums; }
.option-note { grid-area: note; color: var(--faint); font-size: 13.5px; }
.save { font-size: 11.5px; font-weight: 800; padding: 3px 7px; border-radius: 6px; background: rgba(52,211,153,.16); color: #b6f3d8; }
.plan-small { margin-top: 12px; font-size: 13px; color: var(--faint); text-align: center; }
.price-note { text-align: center; color: var(--faint); font-size: 14px; margin-top: 26px; }
.compare { margin: 40px auto 0; max-width: 980px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.table-scroll { overflow-x: auto; padding: 0 12px 16px; }
.compare table { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 13px 16px; border-top: 1px solid var(--line); text-align: left; }
.compare thead th { border-top: 0; color: var(--faint); font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; }
.compare td { text-align: center; white-space: nowrap; color: var(--muted); width: 18%; }
.compare tbody th { font-weight: 500; color: var(--text); }
.compare td.y { color: var(--green); font-weight: 700; }
.compare td.n { color: var(--faint); }

/* ---------- Maker ---------- */
.maker { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; max-width: 900px; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.quote { margin: 0; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.quote blockquote { margin: 0; }
.quote blockquote p { font-size: 17px; color: var(--text); line-height: 1.5; }
.quote figcaption { margin-top: auto; color: var(--faint); font-size: 13.5px; }
.quote-reply { font-size: 13.5px; color: var(--green); }
.maker-icon { border-radius: 22px; box-shadow: 0 20px 50px -15px rgba(47,123,255,.6); }
.maker h2 { font-size: clamp(28px, 3.4vw, 40px); }
.maker p:not(.eyebrow) { margin-top: 14px; color: var(--muted); font-size: 18px; }
.maker-links { font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative; font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 26px; color: var(--blue-2); font-weight: 400; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 0 24px; color: var(--muted); max-width: 46em; }

/* ---------- Closing ---------- */
.closing { position: relative; padding: 120px 0 130px; text-align: center; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.closing-inner { display: grid; justify-items: center; }
.closing-inner img { border-radius: 20px; margin-bottom: 28px; box-shadow: 0 20px 60px -10px rgba(47,123,255,.7); }
.closing h2 { font-size: clamp(34px, 5vw, 58px); font-weight: 800; max-width: 16em; }
.closing p:not(.micro) { color: var(--muted); font-size: 18.5px; margin-top: 16px; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 44px 0 56px; color: var(--faint); font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: start; }
.foot-small { margin-top: 10px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 20px; }
.foot-links a { color: var(--muted); }
.foot-langs { grid-column: 1 / -1; list-style: none; margin: 10px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot-langs a { color: var(--faint); font-size: 13.5px; }
.foot-langs a[aria-current="true"] { color: var(--text); }

/* ---------- Legal pages ---------- */
.legal { width: min(780px, 100% - 40px); margin: 0 auto; padding: 72px 0 96px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); font-weight: 800; }
.legal h2 { font-size: 26px; margin: 52px 0 14px; scroll-margin-top: 90px; }
.legal h3 { font-size: 19px; margin: 30px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 14px; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li + li { margin-top: 6px; }
.legal .updated { color: var(--faint); margin-top: 10px; font-size: 15px; }
.legal .callout { margin: 32px 0; padding: 22px 24px; border-radius: 16px; background: rgba(47,123,255,.1); border: 1px solid rgba(91,155,255,.3); color: var(--text); }
.legal .toc { margin: 28px 0; padding: 20px 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.legal .toc ol { margin: 10px 0 0; columns: 2; }
.legal table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 14px; border-top: 1px solid var(--line); color: var(--muted); }
.legal th { color: var(--text); }
.legal .lang-note { margin-top: 18px; padding: 12px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.notfound { min-height: 60vh; display: grid; place-content: center; text-align: center; gap: 16px; padding: 80px 20px; }
.notfound h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 800; }
.notfound p { color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .float-a { right: -96px; } .float-b { left: -80px; } .float-c { right: -88px; }
  .top-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero-copy { text-align: center; }
  .hero-copy .lede { margin-inline: auto; }
  .hero-copy .cta-row { justify-content: center; }
  .rating { justify-content: center; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-xl, .tile-tall, .tile-wide, .tile-sm { grid-column: span 2; grid-row: auto; }
  .tile-xl { grid-template-columns: 1fr; }
  .tile-xl .tile-shot { margin-top: 4px; }
  .tile-tall .tile-shot { max-height: 420px; }
  .tile-sm { grid-column: span 1; }
  .release { grid-template-columns: 1fr; padding: 32px; }
  .stage { grid-template-columns: 1fr; gap: 36px; justify-items: center; }
  .stage-copy { width: 100%; max-width: 640px; }
  .places { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; max-width: 640px; }
  .plans { grid-template-columns: 1fr; max-width: 560px; }
  .plan-pro { order: -1; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { width: min(var(--wrap), 100% - 32px); }
  .top-row { gap: 12px; }
  .brand span { display: none; }
  .hero { padding-top: 44px; }
  .btn-lg { width: 100%; }
  .section { padding: 80px 0; }
  .head { margin-bottom: 36px; }
  .float-a { left: auto; right: -10px; top: 8%; }
  .float-b, .float-c { display: none; }
  .float { min-width: 0; padding: 10px 12px; }
  .float-v { font-size: 18px; }
  .trust { justify-content: center; text-align: center; }
  .tile-wide { grid-template-columns: 1fr; }
  .tile-wide .tile-shot { margin: 8px -28px -28px; max-height: 320px; }
  .tile-sm { grid-column: span 2; }
  .jobs, .places, .readout-grid, .quotes { grid-template-columns: 1fr; }
  .release-visual { min-height: 0; }
  .duo { width: 190px; }
  .watch { width: 112px; }
  .maker { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 20px; }
  .plan { padding: 28px 22px; }
  .legal .toc ol { columns: 1; }
  .foot-grid { grid-template-columns: 1fr; }
}
.legal .mono, .legal code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .9em; color: #cfe0ff; }
.legal .summary-table { overflow-x: auto; }
.legal .eyebrow { margin-bottom: 10px; }

/* ---------- Line breaking per script ---------- */
h1, h2, h3, .job-q, .lede { text-wrap: balance; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(ja) .job-q, :lang(ja) .lede, :lang(ja) .pill { word-break: auto-phrase; }
:lang(ko) { word-break: keep-all; }
:lang(ja) h1, :lang(zh-Hans) h1, :lang(zh-Hant) h1, :lang(ko) h1 { letter-spacing: -0.01em; line-height: 1.18; }
:lang(ja) .head h2, :lang(zh-Hans) .head h2, :lang(zh-Hant) .head h2, :lang(ko) .head h2 { letter-spacing: 0; line-height: 1.25; }
