@font-face {
  font-family: "Be Vietnam Pro";
  src: url("assets/fonts/BeVietnamPro-Regular.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Be Vietnam Pro";
  src: url("assets/fonts/BeVietnamPro-Medium.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Be Vietnam Pro";
  src: url("assets/fonts/BeVietnamPro-SemiBold.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: "Be Vietnam Pro";
  src: url("assets/fonts/BeVietnamPro-ExtraBold.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 800;
}

:root {
  color-scheme: light;
  --surface: #edf2f7;
  --surface-raised: #fbfdff;
  --surface-soft: #dde6f0;
  --ink: #0e1826;
  --muted: #536277;
  --line: #bfccda;
  --accent: #1764cc;
  --accent-strong: #0f53af;
  --accent-text: #f7faff;
  --shadow: 0 30px 90px rgb(38 59 88 / 0.17);
  --radius: 18px;
  --page: min(1320px, calc(100% - 48px));
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --surface: #091019;
  --surface-raised: #111b27;
  --surface-soft: #192637;
  --ink: #eef5ff;
  --muted: #a2b1c4;
  --line: #2b3b4e;
  --accent: #73a7ef;
  --accent-strong: #73a7ef;
  --accent-text: #071527;
  --shadow: 0 32px 96px rgb(0 0 0 / 0.38);
}

:root[data-theme="dark"] .hero .button-secondary { color: #10233d; border-color: #e8f2ff; background: #e8f2ff; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 110px; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: "Be Vietnam Pro", "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; text-rendering: optimizeLegibility; }
button, a { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: var(--page); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(22px) saturate(140%); }
.nav-shell { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 18px; font-weight: 800; letter-spacing: -0.025em; text-decoration: none; white-space: nowrap; }
.brand img { width: 34px; height: 34px; }
.nav-links, .nav-tools, .language-switch { display: flex; align-items: center; }
.nav-links { gap: 28px; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav-tools { gap: 8px; }
.language-switch { padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.language-switch button, .theme-toggle { border: 0; color: var(--muted); background: transparent; cursor: pointer; font-size: 12px; font-weight: 600; }
.language-switch button { min-width: 34px; padding: 6px 8px; border-radius: 999px; }
.language-switch button[aria-pressed="true"] { color: var(--surface); background: var(--ink); }
.theme-toggle { min-width: 48px; padding: 8px 10px; }

.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; font-size: 14px; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap; transition: transform 180ms ease, background 180ms ease, border-color 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(1px) scale(0.99); }
.button-small { min-height: 40px; padding-inline: 17px; font-size: 13px; }
.button-primary { color: var(--accent-text); background: var(--accent-strong); }
.button-secondary { color: var(--ink); border-color: var(--line); background: var(--surface-raised); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 52%, transparent); outline-offset: 3px; }

.hero { min-height: auto; position: relative; isolation: isolate; display: grid; align-items: center; overflow: hidden; padding: clamp(36px, 4vw, 60px) 0; background: radial-gradient(circle at 18% 24%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 34%), var(--surface); }
.hero-layout { width: min(1480px, calc(100% - 48px)); display: grid; grid-template-columns: minmax(360px, .68fr) minmax(0, 1.32fr); gap: clamp(28px, 3vw, 44px); align-items: center; }
.hero-copy { max-width: 520px; position: relative; z-index: 1; }
.hero h1 { max-width: 590px; margin: 0; color: var(--ink); font-size: clamp(54px, 4.5vw, 64px); font-weight: 600; line-height: .98; letter-spacing: -0.04em; text-wrap: balance; }
.hero h1 .accent { color: var(--accent-strong); font-weight: 800; }
.hero-lead { max-width: 560px; margin: 28px 0 32px; color: var(--muted); font-size: clamp(18px, 1.55vw, 21px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .button-primary { color: var(--accent-text); background: var(--accent-strong); box-shadow: 0 16px 34px color-mix(in srgb, var(--accent) 24%, transparent); }
.hero-visual { min-width: 0; position: relative; }
.hero-media { display: block; overflow: hidden; aspect-ratio: 1.48; border-radius: 16px; background: var(--surface-soft); box-shadow: 0 32px 80px rgb(31 63 99 / .2); }
.hero-background { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% center; }
.translation-key { display: grid; grid-template-columns: auto minmax(44px, 1fr) auto; gap: 12px; align-items: center; margin-top: 14px; color: var(--muted); font-size: 12px; font-weight: 600; }
.translation-key i { height: 1px; position: relative; background: linear-gradient(90deg, var(--line), var(--accent-strong)); }
.translation-key i::after { content: ""; width: 7px; height: 7px; position: absolute; top: 50%; right: 0; border-radius: 50%; background: var(--accent-strong); transform: translateY(-50%); }

.proof-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--surface-raised) 58%, var(--surface)); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.proof-grid > div { min-height: 148px; display: grid; place-content: center; gap: 3px; text-align: center; }
.proof-grid > div + div { border-left: 1px solid var(--line); }
.proof-grid strong { font-size: clamp(36px, 4vw, 58px); line-height: 1; letter-spacing: -0.055em; }
.proof-grid span { color: var(--muted); font-size: 14px; }

.demo-section, .promise, .pricing-section, .faq-section { padding-block: clamp(92px, 11vw, 154px); }
.section-heading { max-width: 820px; margin-bottom: 50px; }
.section-heading h2, .promise > h2, .flow-copy h2, .faq-section > h2, .final-cta h2 { margin: 0; font-size: clamp(40px, 4.6vw, 64px); font-weight: 600; line-height: 1.08; letter-spacing: -0.035em; text-wrap: balance; }
.section-heading p, .section-lead, .flow-copy p { max-width: 660px; margin: 22px 0 0; color: var(--muted); font-size: 18px; line-height: 1.65; }

.product-stage { position: relative; padding: clamp(12px, 2vw, 24px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-raised); box-shadow: var(--shadow); }
.product-stage > img { width: 100%; height: auto; border-radius: calc(var(--radius) - 7px); }
.audio-demo { width: min(620px, calc(100% - 44px)); min-height: 72px; display: flex; align-items: center; gap: 14px; position: absolute; left: 50%; bottom: -36px; transform: translateX(-50%); padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: color-mix(in srgb, var(--surface-raised) 92%, transparent); box-shadow: inset 0 1px 0 rgb(255 255 255 / .48), 0 18px 52px color-mix(in srgb, var(--ink) 15%, transparent); backdrop-filter: blur(24px) saturate(145%); }
.wave { height: 28px; display: inline-flex; align-items: center; gap: 3px; }
.wave i { width: 3px; height: 9px; border-radius: 3px; background: var(--accent-strong); transform-origin: center; }
.wave i:nth-child(2), .wave i:nth-child(6) { height: 18px; }
.wave i:nth-child(3), .wave i:nth-child(5) { height: 25px; }
[data-state="running"] .wave i { animation: wave 680ms ease-in-out infinite alternate; }
.wave i:nth-child(2) { animation-delay: 100ms; }.wave i:nth-child(3) { animation-delay: 210ms; }.wave i:nth-child(5) { animation-delay: 250ms; }.wave i:nth-child(6) { animation-delay: 140ms; }
@keyframes wave { to { transform: scaleY(.44); } }
.audio-copy { min-width: 0; display: grid; gap: 1px; }
.audio-copy strong { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 13px; }
.audio-copy span { color: var(--muted); font-size: 12px; }
.audio-action { margin-left: auto; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: transparent; cursor: pointer; font-size: 12px; font-weight: 600; white-space: nowrap; }

.promise > h2 { max-width: 820px; }
.feature-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(190px, auto); gap: 14px; margin-top: 54px; }
.feature { grid-column: span 3; min-height: 210px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-raised); }
.feature-primary { grid-column: span 6; grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; color: var(--accent-text); background: var(--accent-strong); }
.feature-primary strong { font-size: clamp(80px, 10vw, 140px); line-height: .8; letter-spacing: -.085em; }
.feature-photo { grid-column: span 3; grid-row: span 2; overflow: hidden; padding: 0; }
.feature-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 53% center; }
.feature-wide { grid-column: span 12; background: color-mix(in srgb, var(--accent) 8%, var(--surface-raised)); }
.feature h3 { margin: 0 0 12px; font-size: 24px; font-weight: 600; line-height: 1.18; letter-spacing: -.025em; }
.feature p { max-width: 430px; margin: 0; color: var(--muted); font-size: 15px; }
.feature-primary p { color: color-mix(in srgb, var(--accent-text) 78%, transparent); }

.flow-section { padding-block: clamp(92px, 11vw, 150px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--surface-raised) 52%, var(--surface)); }
.flow-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(520px, 1.15fr); gap: clamp(50px, 9vw, 130px); align-items: start; }
.flow-copy { position: sticky; top: 120px; }
.flow-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.flow-list li { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.flow-list li:first-child { padding-top: 8px; }
.flow-list b { color: var(--accent-strong); font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 32px; line-height: 1; }
.flow-list h3 { margin: 0 0 8px; font-size: 26px; font-weight: 600; letter-spacing: -.025em; }
.flow-list p { margin: 0; color: var(--muted); }

.pricing-intro { max-width: 880px; margin-bottom: 54px; }
.pricing-intro h2 { margin: 0; font-size: clamp(40px, 4.6vw, 64px); font-weight: 600; line-height: 1.08; letter-spacing: -0.035em; text-wrap: balance; }
.pricing-intro p { max-width: 720px; margin: 22px 0 0; color: var(--muted); font-size: 18px; }
.pricing-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 18px; align-items: stretch; }
.plan { min-height: 560px; display: flex; flex-direction: column; padding: clamp(32px, 4vw, 54px); border-radius: 16px; }
.plan-free { border: 1px solid var(--line); background: var(--surface-raised); }
.plan-member { color: #f3f7fd; background: #102744; box-shadow: 0 30px 80px rgb(22 54 91 / .22); }
.plan h3 { margin: 0; font-size: 22px; font-weight: 600; }
.price { display: flex; align-items: baseline; gap: 11px; margin: 14px 0 18px; }
.price strong { font-size: clamp(62px, 7vw, 92px); font-weight: 800; line-height: .94; letter-spacing: -.04em; }
.price span { color: var(--muted); }
.plan-summary { max-width: 480px; min-height: 54px; margin: 0 0 28px; color: var(--muted); font-size: 16px; }
.plan .button { width: max-content; }
.plan-free .button { border-color: var(--line); }
.button-member { color: #0c2747; background: #e8f2ff; }
.plan-includes { margin: 34px 0 12px; color: rgb(224 235 248 / .72); font-size: 13px; font-weight: 600; }
.plan ul { display: grid; gap: 13px; margin: auto 0 0; padding-left: 1.15em; }
.plan li { padding-left: 5px; color: var(--muted); }
.plan li::marker { color: var(--accent-strong); }
.plan-member .price span, .plan-member .plan-summary, .plan-member li { color: rgb(232 240 250 / .74); }
.plan-member li::marker { color: #9bc4ff; }

.faq-section > h2 { max-width: 680px; margin-bottom: 42px; }
.faq-list { max-width: 900px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 26px 42px 26px 0; cursor: pointer; font-size: 19px; font-weight: 600; letter-spacing: -.015em; }
.faq-list p { max-width: 680px; margin: -8px 0 26px; color: var(--muted); }

.final-cta { min-height: 520px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; text-align: center; }
.final-cta h2 { max-width: 900px; }
.footer { padding: 36px 0 46px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 13px; }
.footer-inner > div { display: flex; gap: 18px; }
.footer a { text-decoration: none; }

html.reveal-ready [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms cubic-bezier(.16,1,.3,1), transform 700ms cubic-bezier(.16,1,.3,1); }
html.reveal-ready [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .feature { grid-column: span 6; }
  .feature-primary { grid-column: span 8; }
  .feature-wide { grid-column: span 12; }
  .feature-photo { grid-column: span 4; }
  .flow-layout { grid-template-columns: 1fr; }
  .flow-copy { position: static; }
}

@media (max-width: 1024px) and (min-width: 768px) {
  .hero { min-height: auto; }
  .hero-layout { grid-template-columns: 1fr; gap: 32px; }
  .hero-copy { max-width: 620px; }
  .hero-media { aspect-ratio: 1.55; }
}

@media (max-width: 767px) {
  :root { --page: calc(100% - 32px); }
  .site-header { position: static; }
  .nav-shell { min-height: 64px; }
  .nav-cta { display: none; }
  .nav-tools { gap: 2px; }
  .theme-toggle { min-width: auto; }
  .hero { min-height: auto; padding: 32px 0 40px; }
  .hero-layout { width: var(--page); grid-template-columns: 1fr; gap: 24px; }
  .hero-copy { max-width: none; }
  .hero h1 { max-width: 360px; font-size: clamp(46px, 12.8vw, 54px); line-height: 1; letter-spacing: -.04em; }
  .hero-lead { max-width: 34ch; margin: 20px 0 24px; font-size: 16px; }
  .hero-actions .button { flex: 1 1 140px; }
  .hero-media { aspect-ratio: 4 / 5; border-radius: 14px; box-shadow: 0 20px 52px rgb(31 63 99 / .18); }
  .hero-background { object-position: center 72%; transform: scale(1.12); transform-origin: 52% 88%; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid > div { min-height: 120px; }
  .proof-grid > div + div { border-left: 1px solid var(--line); }
  .proof-grid > div:last-child { grid-column: 1 / -1; border-top: 1px solid var(--line); border-left: 0; }
  .demo-section, .promise, .pricing-section, .faq-section { padding-block: 88px; }
  .section-heading { margin-bottom: 34px; }
  .section-heading h2, .promise > h2, .flow-copy h2, .faq-section > h2, .final-cta h2 { font-size: clamp(38px, 10.5vw, 48px); line-height: 1.02; }
  .section-heading p, .section-lead, .flow-copy p { font-size: 16px; }
  .product-stage { padding: 8px; }
  .audio-demo { width: calc(100% - 16px); min-height: 68px; bottom: -48px; padding: 12px; }
  .audio-action { padding: 8px 10px; font-size: 11px; }
  .feature-grid { display: flex; flex-direction: column; margin-top: 36px; }
  .feature { min-height: 190px; }
  .feature-primary { min-height: 340px; }
  .feature-photo { min-height: 420px; }
  .feature-wide { min-height: 220px; }
  .flow-section { padding-block: 88px; }
  .flow-list li { grid-template-columns: 46px 1fr; gap: 14px; padding-block: 28px; }
  .flow-list h3 { font-size: 22px; }
  .pricing-intro { margin-bottom: 34px; }
  .pricing-intro h2 { font-size: clamp(38px, 10.5vw, 48px); line-height: 1.02; }
  .pricing-intro p { font-size: 16px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .plan { min-height: 0; padding: 30px; }
  .plan-summary { min-height: 0; }
  .plan ul { margin-top: 28px; }
  .final-cta { min-height: 440px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html.reveal-ready [data-reveal] { opacity: 1; transform: none; }
}

.legal-main { padding: clamp(56px, 7vw, 96px) 0 clamp(80px, 10vw, 140px); }
.legal-shell { width: min(860px, calc(100% - 48px)); margin-inline: auto; }
.legal-back { display: inline-flex; margin-bottom: 48px; color: var(--accent-strong); font-weight: 700; }
.legal-main h1 { max-width: 12ch; margin: 0 0 24px; font-size: clamp(48px, 7vw, 78px); line-height: 1; letter-spacing: -.045em; }
.legal-intro { max-width: 62ch; margin: 0 0 64px; color: var(--muted); font-size: 19px; line-height: 1.65; }
.legal-section { padding: 34px 0; border-top: 1px solid var(--line); }
.legal-section h2 { margin: 0 0 16px; font-size: clamp(24px, 3vw, 32px); letter-spacing: -.025em; }
.legal-section p, .legal-section li { color: var(--muted); line-height: 1.7; }
.legal-section ul { display: grid; gap: 10px; padding-left: 22px; }
.legal-note { padding: 18px 20px; border-radius: 14px; background: var(--surface-soft); color: var(--ink); }
.legal-updated { margin-top: 48px; color: var(--muted); font-size: 14px; }
@media (max-width: 767px) { .legal-shell { width: min(100% - 32px, 860px); } .legal-back { margin-bottom: 32px; } .legal-intro { margin-bottom: 42px; } }

@media (prefers-reduced-transparency: reduce) {
  .site-header, .audio-demo { background: var(--surface-raised); backdrop-filter: none; }
}
