/* Native Translate site. Tokens first, then the landing page top to bottom, then secondary pages. */
:root {
  --bg: #ffffff;
  --bg-soft: #f3f8f8;
  --surface: #ffffff;
  --text: #11272b;
  --muted: #536a6d;
  --faint: #7a8e90;
  --border: #e0e9e9;
  --border-strong: #c9d9da;
  --accent: #0f7b8a;
  --accent-hover: #0b6874;
  --accent-deep: #0a4c56;
  --accent-soft: #e2f1f1;
  --shadow-sm: 0 1px 2px rgb(17 39 43 / 0.05);
  --shadow-md: 0 1px 2px rgb(17 39 43 / 0.04), 0 14px 34px -14px rgb(17 50 56 / 0.2);
  --shadow-lg: 0 2px 6px rgb(17 39 43 / 0.04), 0 40px 80px -32px rgb(12 70 78 / 0.35);
  --radius: 18px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, "Noto Sans", sans-serif;
  --serif: Georgia, "Noto Serif", "Times New Roman", serif;
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%230f7b8a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 6.2 2 2L9 4'/%3E%3C/svg%3E");
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: 4px; }
button, input, select { font: inherit; }
button, a, input, select { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: 0.75; }
:focus-visible { outline: 3px solid #138898; outline-offset: 3px; }
::selection { background: #c7e8e6; color: #0c4d57; }
.wrap { width: min(1184px, calc(100% - 64px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 60; padding: 10px 20px; border-radius: 10px; background: #fff; box-shadow: var(--shadow-md); }
.skip-link:focus { top: 12px; }
kbd {
  display: inline-block; padding: 1px 6px; border: 1px solid var(--border-strong); border-bottom-width: 2px; border-radius: 6px;
  background: #fff; color: var(--muted); font: 600 12px/1.5 var(--font); white-space: nowrap;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgb(255 255 255 / 0.78);
  -webkit-backdrop-filter: saturate(1.8) blur(16px); backdrop-filter: saturate(1.8) blur(16px);
  border-bottom: 1px solid rgb(214 228 228 / 0.7);
}
.top { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 650; letter-spacing: -0.02em; color: var(--text); text-decoration: none; white-space: nowrap; }
.logo { flex-shrink: 0; object-fit: contain; width: 30px; height: 30px; }
.top nav { display: flex; align-items: center; gap: 4px; }
.top nav a { padding: 7px 13px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; transition: color 0.15s, background-color 0.15s; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--text); background: var(--bg-soft); }

/* ---------- buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 11px 20px;
  border: 1px solid var(--border-strong); border-radius: 12px;
  color: var(--text); background: var(--surface); box-shadow: var(--shadow-sm);
  font-size: 15px; font-weight: 600; line-height: 1.3; text-decoration: none;
  transition: background-color 0.18s, border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.btn:hover { background: var(--bg-soft); border-color: #b5cacb; transform: translateY(-1px); }
.btn:active { transform: none; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary {
  color: #fff; border-color: #0d6f7c;
  background: linear-gradient(180deg, #13899a, #0f7b8a);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.18), 0 1px 2px rgb(8 60 68 / 0.2), 0 10px 24px -10px rgb(15 123 138 / 0.7);
}
.btn-primary:hover { background: linear-gradient(180deg, #0f7b8a, #0b6874); border-color: #0a5f6a; box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.15), 0 1px 2px rgb(8 60 68 / 0.2), 0 14px 30px -10px rgb(15 123 138 / 0.75); }
.btn-small { min-height: 38px; padding: 8px 14px; font-size: 14px; border-radius: 10px; gap: 8px; }
.btn-large { min-height: 54px; padding: 14px 26px; font-size: 16px; border-radius: 14px; }
.btn-outline { background: rgb(255 255 255 / 0.85); }
.btn-light { background: #fff; border-color: #fff; color: var(--accent-deep); box-shadow: 0 10px 30px -12px rgb(0 0 0 / 0.45); }
.btn-light:hover { background: #e7f6f4; border-color: #e7f6f4; }
.arrow { display: inline-block; transition: transform 0.18s; }
.btn:hover .arrow, .text-link:hover .arrow { transform: translate(2px, -2px); }
.text-link { display: inline-flex; gap: 10px; align-items: center; font-size: 15px; font-weight: 600; text-decoration: none; border-bottom: 1px solid #a5c8cb; padding-bottom: 3px; }
.text-link:hover { color: var(--accent-deep); border-color: var(--accent); }

.eyebrow { font-size: 12.5px; font-weight: 650; letter-spacing: 0.12em; line-height: 1.4; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; }

/* ---------- hero ---------- */
main { position: relative; isolation: isolate; }
.hero-backdrop { position: absolute; inset: 0 0 auto; height: 1080px; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-backdrop::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgb(15 123 138 / 0.07) 1px, transparent 1px), linear-gradient(to bottom, rgb(15 123 138 / 0.07) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center -1px;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 25%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 25%, transparent 75%);
}
.hero-backdrop::after {
  content: ""; position: absolute; left: 50%; top: -360px; width: min(1200px, 120vw); height: 820px; translate: -50% 0;
  background: radial-gradient(closest-side, rgb(24 164 172 / 0.2), rgb(24 164 172 / 0.06) 55%, transparent);
}
.hero { text-align: center; padding-top: 84px; padding-bottom: 56px; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px;
  padding: 7px 16px 7px 12px; border: 1px solid #d3e5e5; border-radius: 999px;
  background: rgb(255 255 255 / 0.8); box-shadow: var(--shadow-sm);
  font-size: 12px; letter-spacing: 0.1em;
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgb(15 123 138 / 0.15); }
.hero h1 { font-size: clamp(48px, 6.6vw, 92px); font-weight: 650; line-height: 1.02; letter-spacing: -0.048em; margin: 0 0 26px; text-wrap: balance; }
.hero h1 span {
  background: linear-gradient(100deg, #0e7482 5%, #17a2a8 50%, #0e7482 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-copy { font-size: 19px; line-height: 1.65; max-width: 600px; margin: 0 auto 34px; color: var(--muted); text-wrap: pretty; }
.cta { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-points { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 26px; margin: 30px 0 0; padding: 0; list-style: none; font-size: 14px; font-weight: 500; color: var(--muted); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft) var(--check) center / 11px no-repeat; }

/* ---------- interactive demo ---------- */
.demo-section { padding-bottom: 16px; }
.demo-stage {
  position: relative; padding: 24px 32px 32px; border-radius: 28px;
  background: linear-gradient(180deg, rgb(226 241 240 / 0.9), rgb(239 247 246 / 0.9));
  border: 1px solid #d6e8e7; box-shadow: var(--shadow-lg);
}
.demo-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 2px 20px; color: #3e6467; }
.demo-label { font-size: 12px; letter-spacing: 0.14em; font-weight: 650; text-transform: uppercase; }
.demo-hint { font-size: 14px; font-weight: 500; }
.demo-hint span { display: inline-block; font-size: 20px; vertical-align: middle; margin-left: 10px; }
.browser-window { border: 1px solid #cfdfde; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 20px 40px -24px rgb(16 74 80 / 0.45), 0 2px 5px rgb(18 71 73 / 0.04); }
.browser-bar { height: 48px; padding: 0 16px 0 18px; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #f5f8f8; border-bottom: 1px solid #e3eaea; }
.traffic-lights { display: flex; gap: 7px; }
.traffic-lights i { width: 11px; height: 11px; border-radius: 50%; background: #cbd5d5; }
.traffic-lights i:first-child { background: #eeb0a5; }
.traffic-lights i:nth-child(2) { background: #efd394; }
.traffic-lights i:nth-child(3) { background: #a9d3b8; }
.address { height: 30px; display: flex; align-items: center; justify-content: center; gap: 7px; max-width: 480px; width: 62%; border: 1px solid #e3eaea; border-radius: 8px; background: #fff; font-size: 12px; color: #7f8e8d; letter-spacing: 0.01em; white-space: nowrap; overflow: hidden; }
.address svg { width: 13px; height: 13px; flex-shrink: 0; }

/* The sample website inside the demo browser. */
.journal-page { padding: 0 40px; background: #fff; }
.journal-nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 0 18px; border-bottom: 1px solid #e2e7e4; }
.journal-name { font-family: var(--serif); font-size: 25px; letter-spacing: -0.04em; color: #313c33; }
.journal-name > span { color: #78876c; }
.journal-issue { font-size: 10px; letter-spacing: 0.15em; color: #859183; }
.journal-article { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; padding: 32px 0 28px; align-items: center; min-height: 350px; }
.article-category { font-size: 11px; letter-spacing: 0.14em; color: #6f8263; margin: 0 0 14px; }
.journal-copy h2 { font-family: var(--serif); font-size: clamp(26px, 3vw, 42px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; min-height: 100px; margin: 0 0 16px; color: #263c32; text-wrap: balance; }
.journal-copy p { line-height: 1.7; }
.article-intro { font-size: 15px; color: #56685b; margin: 0 0 18px; min-height: 52px; }
.article-divider { height: 1px; width: 32px; background: #abbba6; margin: 18px 0; }
.article-body { font-size: 14px; color: #69796c; min-height: 72px; margin: 0 0 16px; }
.article-more { display: inline-block; font-size: 12.5px; font-weight: 600; color: #3e5740; }
.journal-photo { margin: 0; align-self: stretch; display: flex; flex-direction: column; padding-top: 3px; }
.journal-photo > img { width: 100%; height: 100%; min-height: 245px; max-height: 315px; object-fit: cover; border-radius: 4px; }
.journal-photo figcaption { display: flex; justify-content: space-between; gap: 10px; font-size: 11px; line-height: 1.5; color: #859082; margin-top: 10px; }
.journal-photo figcaption span:last-child { letter-spacing: 0.1em; white-space: nowrap; }
.journal-bottom { border-top: 1px solid #e7edeb; padding: 14px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 12px; color: #738684; }
.layout-note { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.layout-note svg { width: 15px; height: 15px; color: var(--accent); }
.demo-caption { font-size: 13px; text-align: center; color: var(--faint); margin: 10px 0 0; }

/* ---------- features ---------- */
.benefits { padding-top: 112px; padding-bottom: 104px; }
.section-heading { display: flex; justify-content: space-between; gap: 50px; align-items: end; margin-bottom: 44px; }
.section-heading h2, .language-copy h2, .privacy-heading h2, .closing h2 { font-size: clamp(34px, 4vw, 52px); letter-spacing: -0.035em; line-height: 1.1; font-weight: 650; margin: 0; text-wrap: balance; }
.section-heading > p:not(.eyebrow) { max-width: 340px; margin: 0 0 4px; color: var(--muted); font-size: 17px; }
.feature-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 18px; }
.feature {
  position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  padding: 30px 28px; border: 1px solid var(--border); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-icon { width: 42px; height: 42px; display: grid; place-items: center; background: var(--accent-soft); border-radius: 12px; color: var(--accent); margin-bottom: 26px; }
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 22px; line-height: 1.25; letter-spacing: -0.02em; font-weight: 650; margin: 0 0 12px; }
.feature p { font-size: 16px; line-height: 1.7; color: var(--muted); margin: 0 0 28px; }
.feature-wide { background: linear-gradient(180deg, #f6fafa, #fff); }
.layout-preview { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.layout-preview > div { width: calc(50% - 16px); padding: 14px 13px; border: 1px solid #dce5e4; border-radius: 10px; background: #fff; box-shadow: var(--shadow-sm); }
.mini-label { display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.1em; color: #7b9290; margin-bottom: 8px; }
.layout-preview b { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 11px; color: #355653; }
.layout-preview i { display: block; height: 4px; background: #e2eae8; border-radius: 2px; width: 100%; margin-top: 6px; }
.layout-preview i:last-child { width: 70%; }
.layout-arrow { color: var(--accent); font-size: 18px; }
.feature-fast { background: radial-gradient(120% 90% at 100% 0%, #13899a, #0a4c56); color: #fff; border-color: #0b5c67; }
.feature-fast .feature-icon { background: rgb(255 255 255 / 0.12); color: #c0eddf; }
.feature-fast p { color: #d2e6e7; }
.stream-preview { font-size: 20px; line-height: 1.6; letter-spacing: -0.01em; margin-top: auto; color: #8fc4c6; }
.stream-preview strong { font-weight: 500; color: #eafbe0; }
.typing-caret { display: inline-block; width: 2px; height: 21px; vertical-align: -4px; background: #d4f3c7; margin-left: 3px; animation: blink 1.1s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.feature-footnote { display: block; margin-top: 14px; font-size: 12.5px; color: #a6cfd1; }
.reply-preview { margin-top: auto; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 12px; padding: 14px; font-size: 14px; display: grid; gap: 12px; color: #4f6560; }
.reply-translated { padding-top: 12px; border-top: 1px solid #d9e7e3; color: var(--accent); font-weight: 500; }
.shortcut { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-top: 14px; font-size: 12.5px; color: var(--faint); }
.keys { display: inline-flex; gap: 4px; }
.keys kbd { font-size: 11px; }

.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 18px 0 0; padding: 0; list-style: none; }
.how-steps li { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; border-radius: 18px; background: var(--bg-soft); }
.how-steps li > span { flex: 0 0 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 1px solid var(--border-strong); color: var(--accent); font-size: 13px; font-weight: 700; }
.how-steps p { font-size: 15px; color: var(--muted); line-height: 1.65; margin: 3px 0 0; }
.how-steps strong { color: var(--text); font-weight: 650; }

/* ---------- languages ---------- */
.language-section { background: var(--bg-soft); border-block: 1px solid #e3eded; }
.language-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 100px; align-items: center; padding-block: 96px; }
.language-copy p:not(.eyebrow) { font-size: 17px; color: var(--muted); margin: 22px 0 28px; line-height: 1.75; max-width: 400px; }
.language-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; transform: rotate(-3deg); }
.language-wall > span {
  display: flex; min-height: 110px; flex-direction: column; justify-content: center; align-items: center; padding: 16px 8px;
  font-family: var(--serif); font-size: 25px; color: #3f5a59; text-align: center;
  background: #fff; border: 1px solid #dfe8e7; border-radius: 16px; box-shadow: 0 6px 16px -10px rgb(30 89 89 / 0.25);
  transition: transform 0.25s, box-shadow 0.25s;
}
.language-wall > span:nth-child(3n+2) { transform: translateY(-18px); }
.language-wall > span:hover { box-shadow: 0 14px 28px -14px rgb(30 89 89 / 0.4); }
.language-wall > span > span { font: 500 12px var(--font); letter-spacing: 0.02em; margin-top: 8px; color: #7f9391; }
.language-wall > .more-languages { background: linear-gradient(160deg, #13899a, #0b5c67); border-color: #0b5c67; color: #fff; font-family: var(--font); font-weight: 650; }
.language-wall > .more-languages > span { color: #cbe7e8; }

/* ---------- privacy ---------- */
.privacy-section { display: grid; grid-template-columns: 1fr 1.1fr; gap: 110px; padding-block: 112px; }
.privacy-heading { position: sticky; top: 120px; align-self: start; }
.privacy-symbol { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--accent-soft); color: var(--accent); margin-bottom: 24px; }
.privacy-symbol svg { width: 34px; height: 34px; }
.privacy-heading .eyebrow { margin-bottom: 14px; }
.privacy-heading .text-link { margin-top: 28px; }
.privacy-points > div { position: relative; padding: 24px 0 24px 44px; border-bottom: 1px solid var(--border); }
.privacy-points > div:first-child { padding-top: 0; }
.privacy-points > div::before { content: ""; position: absolute; left: 0; top: 26px; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft) var(--check) center / 14px no-repeat; }
.privacy-points > div:first-child::before { top: 2px; }
.privacy-points h3 { font-weight: 650; font-size: 19px; letter-spacing: -0.015em; margin: 0 0 8px; }
.privacy-points p { font-size: 16px; line-height: 1.75; margin: 0; color: var(--muted); max-width: 440px; }

/* ---------- pricing ---------- */
.pricing-section { background: linear-gradient(180deg, var(--bg-soft), #fff 70%); border-top: 1px solid #e3eded; padding-block: 96px 100px; }
.section-heading.centered { flex-direction: column; gap: 0; align-items: center; text-align: center; margin-bottom: 48px; }
.section-heading.centered > p:not(.eyebrow) { max-width: 560px; margin-top: 16px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 32px 30px; border: 1px solid var(--border); border-radius: 22px; background: #fff; box-shadow: var(--shadow-sm); }
.plan.featured { border: 1.5px solid var(--accent); box-shadow: 0 0 0 5px rgb(15 123 138 / 0.08), var(--shadow-md); }
.plan-ribbon { position: absolute; top: -13px; left: 28px; padding: 3px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 650; letter-spacing: 0.02em; box-shadow: 0 4px 12px -4px rgb(15 123 138 / 0.6); }
.plan-label { display: block; margin-bottom: 18px; font-size: 12px; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: #6d8688; }
.plan h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 650; margin: 0 0 8px; }
.plan .price { font-size: 48px; letter-spacing: -0.04em; font-weight: 650; line-height: 1.15; margin: 0 0 14px; }
.price span { font-size: 15px; letter-spacing: 0; font-weight: 400; color: var(--muted); margin-left: 6px; }
.plan > p { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; }
.plan ul { list-style: none; padding: 22px 0 8px; margin: 22px 0 16px; border-top: 1px solid var(--border); flex: 1; }
.plan li { position: relative; font-size: 15px; line-height: 1.6; margin: 0 0 12px; padding-left: 30px; color: #3f5759; }
.plan li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft) var(--check) center / 12px no-repeat; }
.plan .btn { width: 100%; justify-content: space-between; }
.plan-badge { font-size: 11px; letter-spacing: 0.02em; font-weight: 600; border-radius: 999px; padding: 2px 9px; background: #fff4d6; color: #7a5600; white-space: nowrap; }

/* ---------- FAQ ---------- */
.faq-section { padding-block: 104px 96px; }
.faq { max-width: 780px; margin: 0 auto; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 4px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; list-style: none; cursor: pointer;
  transition: color 0.15s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary::after {
  content: ""; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%230f7b8a' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M6 2.5v7M2.5 6h7'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: transform 0.2s, background-color 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--accent-soft); }
.faq details p { margin: -6px 4px 24px; max-width: 660px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.faq-more { text-align: center; margin: 28px 0 0; color: var(--muted); font-size: 15px; }

/* ---------- closing ---------- */
.closing-section { padding-bottom: 88px; }
.closing {
  position: relative; overflow: hidden; isolation: isolate; text-align: center; color: #fff;
  padding: 64px 24px 52px; border-radius: 28px;
  background: radial-gradient(90% 130% at 50% 0%, #16909f 0%, #0c5d68 45%, #083d45 100%);
  box-shadow: var(--shadow-lg);
}
.closing::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(to right, rgb(255 255 255 / 0.06) 1px, transparent 1px), linear-gradient(to bottom, rgb(255 255 255 / 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000, transparent 80%);
          mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000, transparent 80%);
}
.closing > img { margin: 0 auto 26px; border-radius: 16px; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.25), 0 12px 30px -10px rgb(0 0 0 / 0.5); }
.closing h2 { font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 30px; }
.closing p { color: #b9d7d9; font-size: 14px; margin: 22px 0 0; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding-top: 52px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-brand p { margin: 12px 0 0; font-size: 15px; color: var(--muted); }
.footer-top nav { display: flex; flex-direction: column; gap: 10px; }
.footer-heading { margin: 0 0 4px; font-size: 12px; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.footer-top nav a { width: fit-content; font-size: 15px; color: var(--muted); text-decoration: none; }
.footer-top nav a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--border); padding-block: 22px 28px; font-size: 13px; color: var(--faint); }

/* ---------- secondary pages ---------- */
.prose { max-width: 820px; padding-top: 72px; padding-bottom: 88px; min-height: 65vh; }
.prose h1 { font-size: clamp(36px, 5vw, 54px); font-weight: 650; letter-spacing: -0.035em; line-height: 1.1; margin: 0 0 24px; text-wrap: balance; }
.prose h2 { font-size: 26px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.3; margin: 48px 0 14px; }
.prose h3 { font-size: 18px; font-weight: 650; line-height: 1.5; margin: 30px 0 8px; }
.prose p, .prose li { color: #4c6266; line-height: 1.8; }
.prose li { margin-bottom: 6px; }
.prose .lead { font-size: 20px; line-height: 1.65; color: var(--muted); }
.prose .updated, .note, .fine { font-size: 14px; color: var(--muted); }
.prose .updated { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--bg-soft); }
.prose .plans { display: block; margin-top: 36px; }
.prose .plan { max-width: 620px; }
.prose .plan h3 { margin-top: 0; }
.prose .plan ul { padding-left: 0; }
.prose .btn { margin-block: 4px; }
.prose table { width: 100%; border-collapse: collapse; margin-block: 16px; }
.prose th, .prose td { padding: 12px; text-align: left; border-bottom: 1px solid var(--border); font-size: 15px; vertical-align: top; }
.prose th { font-weight: 650; color: var(--accent); }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-block: 24px; }
form.inline { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
input[type=email] {
  flex: 1; min-width: 0; min-height: 46px; padding: 11px 14px;
  border: 1px solid var(--border-strong); border-radius: 12px; background: #fff; color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}
input[type=email]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgb(15 123 138 / 0.18); }
.availability { padding: 28px; border: 1px solid #bddbde; background: linear-gradient(180deg, #eef7f7, #f7fbfb); border-radius: 20px; scroll-margin-top: 96px; }
.availability h2 { margin-top: 0; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .feature, .how-steps li, .privacy-points > div, .plan, .faq, .closing {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 30%;
    }
  }
}
@keyframes reveal { from { opacity: 0; translate: 0 28px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- responsive ---------- */
@media (min-width: 1450px) {
  .hero { padding-top: 96px; }
}
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 48px); }
  .top { gap: 18px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-wide { grid-column: span 2; }
  .feature-wide .layout-preview { max-width: 480px; margin-top: 8px; }
  .language-inner { gap: 50px; }
  .language-wall > span { font-size: 21px; min-height: 98px; }
  .privacy-section { gap: 64px; }
  .journal-article { gap: 30px; }
  .journal-page { padding-inline: 30px; }
  .plan { padding: 30px 24px; }
  .journal-copy h2 { min-height: 86px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  html { scroll-padding-top: 72px; }
  .top { min-height: 60px; }
  .top nav { display: none; }
  .brand { font-size: 15px; gap: 8px; }
  .logo { width: 28px; height: 28px; }
  .header-cta { min-height: 36px; padding: 7px 12px; font-size: 13px; }
  .hero { padding-top: 56px; padding-bottom: 40px; }
  .hero .eyebrow { font-size: 11px; margin-bottom: 22px; }
  .hero h1 { font-size: clamp(42px, 11vw, 64px); }
  .hero-copy { font-size: 17px; max-width: 460px; }
  .cta { flex-direction: column; align-items: stretch; max-width: 340px; margin-inline: auto; }
  .hero-points { gap: 8px 18px; font-size: 13px; }

  .demo-stage { padding: 14px 12px 12px; border-radius: 18px; }
  .demo-heading { margin-bottom: 12px; }
  .demo-label { font-size: 10.5px; letter-spacing: 0.1em; }
  .demo-hint { font-size: 12.5px; }
  .demo-hint span { font-size: 16px; margin-left: 4px; }
  .browser-bar { height: 40px; padding-inline: 12px; gap: 14px; }
  .address { font-size: 10.5px; max-width: 240px; height: 26px; }
  .traffic-lights { gap: 5px; }
  .traffic-lights i { width: 8px; height: 8px; }
  .journal-page { padding-inline: 18px; }
  .journal-nav { padding: 15px 0 12px; }
  .journal-name { font-size: 20px; }
  .journal-issue { font-size: 9px; letter-spacing: 0.1em; }
  .journal-article { grid-template-columns: 1fr 1fr; gap: 20px; padding-block: 22px; min-height: 300px; }
  .journal-copy h2 { font-size: 26px; line-height: 1.28; min-height: 80px; margin-bottom: 12px; }
  .article-category { font-size: 10px; margin-bottom: 10px; }
  .article-intro { font-size: 13px; margin-bottom: 10px; min-height: 0; }
  .article-divider { margin-block: 12px; }
  .article-body { font-size: 12.5px; margin-bottom: 12px; min-height: 0; }
  .article-more { font-size: 11.5px; }
  .journal-photo > img { max-height: none; min-height: 240px; }
  .journal-photo figcaption { font-size: 10px; }
  .journal-photo figcaption span:last-child { display: none; }
  .journal-bottom { font-size: 11px; gap: 10px; padding-block: 10px; }
  .layout-note { display: none; }
  .demo-caption { font-size: 12.5px; max-width: 360px; margin-inline: auto; }

  .benefits { padding-block: 72px; }
  .section-heading { display: block; margin-bottom: 28px; }
  .section-heading > p:not(.eyebrow) { margin-top: 16px; font-size: 16px; max-width: 440px; }
  .section-heading h2, .language-copy h2, .privacy-heading h2 { font-size: 36px; }
  .feature-grid { gap: 14px; }
  .feature { padding: 26px 24px; }
  .feature-icon { margin-bottom: 22px; }
  .how-steps { grid-template-columns: 1fr; gap: 10px; margin-top: 14px; }
  .language-inner { grid-template-columns: 1fr; gap: 48px; padding-block: 64px; }
  .language-copy p:not(.eyebrow) { font-size: 16px; max-width: 480px; margin-top: 18px; }
  .language-wall { transform: none; max-width: 520px; width: 100%; margin: 0 auto; }
  .language-wall > span { min-height: 100px; font-size: 22px; }
  .language-wall > span:nth-child(3n+2) { transform: none; }
  .privacy-section { padding-block: 72px; gap: 36px; grid-template-columns: 1fr; }
  .privacy-heading { position: static; }
  .privacy-points p { max-width: none; }
  .pricing-section { padding-block: 64px 72px; }
  .plans { grid-template-columns: 1fr; gap: 22px; max-width: 500px; margin: auto; }
  .plan { padding: 30px 26px; }
  .faq-section { padding-block: 72px 64px; }
  .faq summary { font-size: 17px; padding-block: 18px; }
  .closing-section { padding-bottom: 56px; }
  .closing { padding: 44px 20px 36px; border-radius: 20px; }
  .closing h2 { font-size: 30px; }
  .closing > img { width: 48px; height: 48px; border-radius: 13px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px 24px; padding-bottom: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .prose { padding-top: 44px; padding-bottom: 64px; }
  .prose .lead { font-size: 18px; }
}
@media (max-width: 480px) {
  .header-cta .arrow { display: none; }
  .hero h1 { letter-spacing: -0.04em; }
  .hero-copy { font-size: 16px; }
  .demo-stage { padding: 12px 8px 8px; }
  .demo-heading { margin-inline: 4px; }
  .journal-page { padding-inline: 16px; }
  .journal-nav { padding-block: 13px 11px; }
  .journal-name { font-size: 18px; }
  .journal-issue { font-size: 8px; }
  .journal-article { grid-template-columns: 1fr; gap: 20px; padding: 20px 0 18px; min-height: 0; }
  .journal-copy h2 { font-size: 30px; min-height: 0; max-width: 280px; }
  .article-category { font-size: 10px; }
  .article-intro { font-size: 14px; max-width: 300px; }
  .article-body { font-size: 13px; max-width: 320px; }
  .article-more { font-size: 12px; }
  .journal-photo > img { height: 200px; min-height: 0; object-position: center 60%; }
  .journal-photo figcaption { font-size: 10px; }
  .journal-photo figcaption span:last-child { display: inline; }
  .journal-bottom { font-size: 10.5px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-wide { grid-column: auto; }
  .feature h3 { font-size: 22px; }
  .stream-preview { font-size: 20px; }
  .language-wall { gap: 9px; }
  .language-wall > span { font-size: 19px; min-height: 90px; }
  .language-wall > span > span { font-size: 11px; }
  .section-heading h2, .language-copy h2, .privacy-heading h2 { font-size: 32px; }
  .closing h2 { font-size: 27px; }
  .prose table { display: block; overflow-x: auto; }
}

/* Upgrade page: message after returning from Stripe Checkout. */
.checkout-status { margin: 0 0 24px; padding: 14px 18px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-deep); font-weight: 550; }
