:root {
  --forest: #123b35;
  --forest-deep: #092722;
  --paper: #f7f5ef;
  --white: #ffffff;
  --ink: #172421;
  --muted: #66736f;
  --line: #d9ddd7;
  --coral: #ec6b43;
  --coral-dark: #c94f2c;
  --yellow: #f2c14f;
  --aqua: #50b7ae;
  --blue: #267aa8;
  --radius: 6px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 600; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
svg { width: 20px; height: 20px; stroke-width: 1.8; }

.section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.site-header { height: 72px; padding: 0 30px; display: flex; align-items: center; gap: 26px; position: sticky; top: 0; z-index: 50; background: rgba(247,245,239,.94); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(18,59,53,.14); }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--forest); min-width: max-content; }
.brand-logo { width: 58px; height: 58px; display: block; object-fit: contain; }
.brand-product { padding-left: 9px; border-left: 1px solid rgba(18,59,53,.25); color: var(--coral-dark); font-size: 11px; font-weight: 850; line-height: 1; text-transform: uppercase; }
.site-header nav { margin-left: auto; display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 700; color: var(--forest); }
.site-header nav a:hover { color: var(--coral-dark); }
.site-header .nav-demo { padding: 9px 15px; background: var(--forest); color: white; border-radius: var(--radius); }
.site-header .nav-demo:hover { color: white; background: var(--coral-dark); }
.language-toggle { display: flex; border: 1px solid var(--line); border-radius: var(--radius); padding: 3px; background: white; }
.language-toggle button { width: 36px; height: 30px; border: 0; color: var(--forest); background: transparent; border-radius: 3px; font-size: 12px; font-weight: 800; cursor: pointer; }
.language-toggle button.active { background: var(--coral); color: white; }

.hero { min-height: min(780px, calc(100svh - 72px)); display: flex; align-items: center; position: relative; color: white; background: linear-gradient(90deg, rgba(6,31,28,.82) 0%, rgba(6,31,28,.62) 42%, rgba(6,31,28,.1) 70%), url('/img/hero-translation.png') center center / cover no-repeat; overflow: hidden; }
.hero-content { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 82px 0 96px; position: relative; z-index: 2; }
.hero-content > p { max-width: 590px; font-size: 20px; color: rgba(255,255,255,.88); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 11px; margin-bottom: 22px; border: 1px solid rgba(255,255,255,.36); border-radius: var(--radius); background: rgba(9,39,34,.34); font-size: 13px; font-weight: 750; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff7a59; box-shadow: 0 0 0 5px rgba(255,122,89,.2); }
.hero h1 { max-width: 760px; margin-bottom: 24px; font-size: 72px; text-shadow: 0 2px 24px rgba(0,0,0,.3); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 32px 0 34px; }
.button { min-height: 48px; padding: 12px 20px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: var(--radius); font-weight: 800; transition: transform .16s ease, background .16s ease, color .16s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: white; background: var(--coral); }
.button.primary:hover { background: var(--coral-dark); }
.button.secondary { border-color: rgba(255,255,255,.65); color: white; background: rgba(9,39,34,.28); }
.button.secondary:hover { background: white; color: var(--forest); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 22px; color: rgba(255,255,255,.82); font-size: 13px; font-weight: 700; }
.hero-proof > span { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof > span > span { display: inline; }

.promise { padding: 100px 0; display: grid; grid-template-columns: 1.05fr .95fr; gap: 100px; align-items: end; }
.kicker { display: block; margin-bottom: 12px; color: var(--coral-dark); font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: 0; }
.kicker.light { color: var(--yellow); }
.promise h2, .use-head h2, .journey h2, .demo h2, .closing h2 { margin-bottom: 0; color: var(--forest); font-size: 48px; }
.promise-copy { padding-left: 28px; border-left: 3px solid var(--coral); }
.promise-copy .lead { color: var(--forest); font-size: 23px; font-family: Georgia, serif; line-height: 1.35; }
.promise-copy p:last-child { margin-bottom: 0; color: var(--muted); }

.use-cases { padding: 88px 0 100px; background: white; }
.use-head { display: flex; align-items: end; justify-content: space-between; gap: 60px; margin-bottom: 38px; }
.use-head > p { max-width: 450px; margin: 0; color: var(--muted); }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case { min-height: 370px; position: relative; display: flex; align-items: end; overflow: hidden; border-radius: var(--radius); background: var(--forest); color: white; }
.case.featured { grid-column: span 2; }
.case img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,27,24,.94), rgba(4,27,24,.06) 70%); }
.case-copy { position: relative; z-index: 2; padding: 28px; max-width: 560px; }
.case-copy > svg { color: var(--yellow); margin-bottom: 10px; }
.case h3 { margin-bottom: 9px; font-size: 23px; }
.case p { margin: 0; color: rgba(255,255,255,.78); font-size: 14px; }

.journey { padding: 110px 0; display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.journey-title { position: sticky; top: 112px; align-self: start; }
.journey-title p { max-width: 380px; margin-top: 22px; color: var(--muted); font-size: 18px; }
.journey-steps { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.journey-steps li { display: grid; grid-template-columns: 72px 1fr; gap: 22px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.journey-steps li > span { color: var(--coral); font-family: Georgia, serif; font-size: 31px; }
.journey-steps h3 { margin-bottom: 8px; color: var(--forest); font-size: 22px; }
.journey-steps p { margin: 0; color: var(--muted); }

.technology { padding: 94px 0; background: var(--forest-deep); color: white; }
.tech-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; }
.tech-copy h2 { margin-bottom: 20px; font-size: 49px; }
.tech-copy p { margin: 0; color: rgba(255,255,255,.7); }
.signal-flow { display: grid; grid-template-columns: 1fr 32px 1fr 32px 1fr 32px 1fr; align-items: center; gap: 6px; }
.signal-flow > div { min-height: 132px; padding: 18px 12px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 13px; text-align: center; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); background: rgba(255,255,255,.06); font-size: 13px; font-weight: 700; }
.signal-flow > div svg { width: 28px; height: 28px; color: var(--yellow); }
.flow-arrow { color: var(--aqua); }

.demo { padding: 110px 0; }
.demo-intro { max-width: 760px; margin-bottom: 44px; }
.demo-intro p { max-width: 660px; margin-top: 20px; color: var(--muted); font-size: 18px; }
.translator { overflow: hidden; border: 1px solid #cbd2cc; border-radius: var(--radius); background: white; box-shadow: 0 26px 70px rgba(18,59,53,.12); }
.translator-head { min-height: 108px; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 26px; border-bottom: 1px solid var(--line); }
.language-pair { flex: 1; display: grid; grid-template-columns: 1fr 48px 1fr; gap: 14px; align-items: end; }
.language-pair label { display: flex; flex-direction: column; gap: 7px; color: var(--muted); font-size: 12px; font-weight: 800; }
.language-pair select { width: 100%; height: 48px; padding: 0 40px 0 13px; border: 1px solid #c8d0ca; border-radius: var(--radius); background: white; color: var(--forest); font-weight: 750; cursor: pointer; }
.icon-button { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid #c8d0ca; border-radius: var(--radius); color: var(--forest); background: var(--paper); cursor: pointer; }
.icon-button:hover { background: #e9eee9; }
.session-time { width: 72px; text-align: right; }
.session-time span { display: block; color: var(--forest); font-family: ui-monospace, SFMono-Regular, monospace; font-size: 21px; font-weight: 800; }
.session-time small { color: var(--muted); font-size: 10px; }
.translator-stage { min-height: 286px; padding: 34px 24px 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--forest); color: white; }
.status-line { display: flex; align-items: center; gap: 9px; min-height: 24px; margin-bottom: 15px; font-size: 14px; font-weight: 750; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); }
.translator.live .status-dot { background: #6ee7a1; animation: statusPulse 1.5s infinite; }
.translator.error .status-dot { background: #ff8f70; }
@keyframes statusPulse { 50% { opacity: .35; } }
.audio-bars { width: 300px; height: 58px; display: flex; align-items: center; justify-content: center; gap: 5px; margin-bottom: 18px; }
.audio-bars i { width: 5px; height: 6px; display: block; border-radius: 3px; background: var(--aqua); transition: height .08s linear; }
.record-button, .stop-button { min-width: 220px; height: 52px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: var(--radius); font-weight: 850; cursor: pointer; }
.record-button { color: white; background: var(--coral); }
.record-button:hover { background: var(--coral-dark); }
.stop-button { color: var(--forest); background: white; }
.record-button:disabled { opacity: .6; cursor: wait; }
.privacy-note { max-width: 620px; margin: 19px 0 0; display: flex; gap: 8px; align-items: center; color: rgba(255,255,255,.62); text-align: center; font-size: 12px; }
.privacy-note svg { flex: none; width: 16px; }
.transcripts { display: grid; grid-template-columns: 1fr 1fr; min-height: 240px; }
.transcripts section { padding: 28px; }
.transcripts section + section { border-left: 1px solid var(--line); background: #f1f7f3; }
.transcript-label { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.transcript-label > span { width: 34px; height: 26px; display: grid; place-items: center; border-radius: 3px; color: white; background: var(--forest); font-size: 10px; font-weight: 900; }
.transcript-label.translated > span { background: var(--coral); }
.transcript-label h3 { margin: 0; color: var(--forest); font-size: 15px; }
.transcripts p { min-height: 92px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.6; white-space: pre-wrap; }
.transcripts section + section p { color: var(--forest); font-weight: 650; }
.demo-disclaimer { max-width: 780px; margin: 18px auto 0; color: var(--muted); text-align: center; font-size: 12px; }

.closing { padding: 82px 0; background: var(--blue); color: white; }
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.closing h2 { max-width: 650px; color: white; }
.closing .button { flex: none; }
footer { padding: 34px 0; background: var(--forest-deep); color: rgba(255,255,255,.62); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; font-size: 13px; }
.footer-inner p { margin: 0; }
.footer-brand { color: white; }
.footer-brand .brand-logo { filter: invert(1); }
.footer-brand .brand-product { border-color: rgba(255,255,255,.3); color: var(--yellow); }

@media (max-width: 900px) {
  .site-header nav { display: none; }
  .language-toggle { margin-left: auto; }
  .hero h1 { font-size: 57px; }
  .promise, .journey, .tech-layout { grid-template-columns: 1fr; gap: 42px; }
  .promise { align-items: start; }
  .journey-title { position: static; }
  .case-grid { grid-template-columns: 1fr 1fr; }
  .case.featured { grid-column: span 2; }
  .signal-flow { grid-template-columns: 1fr 24px 1fr; row-gap: 18px; }
  .signal-flow .flow-arrow:nth-of-type(2) { display: none; }
  .closing-inner { align-items: start; flex-direction: column; }
}

@media (max-width: 620px) {
  .section { width: min(100% - 32px, 1180px); }
  .site-header { height: 64px; padding: 0 16px; }
  .brand-logo { width: 52px; height: 52px; }
  .brand-product { padding-left: 7px; font-size: 9px; }
  .language-toggle button { width: 32px; }
  .hero { min-height: min(680px, calc(100svh - 64px)); align-items: end; background-position: 61% center; }
  .hero::before { content: ''; position: absolute; inset: 0; background: rgba(6,31,28,.35); }
  .hero-content { width: calc(100% - 32px); padding: 74px 0 58px; }
  .hero h1 { max-width: 350px; font-size: 43px; }
  .hero-content > p { font-size: 17px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-proof { gap: 12px 18px; }
  .promise { padding: 72px 0; gap: 32px; }
  .promise h2, .use-head h2, .journey h2, .demo h2, .closing h2 { font-size: 37px; }
  .promise-copy { padding-left: 18px; }
  .use-cases { padding: 70px 0; }
  .use-head { align-items: start; flex-direction: column; gap: 18px; }
  .case-grid { grid-template-columns: 1fr; }
  .case.featured { grid-column: span 1; }
  .case { min-height: 340px; }
  .journey { padding: 76px 0; }
  .journey-steps li { grid-template-columns: 55px 1fr; }
  .technology { padding: 70px 0; }
  .tech-copy h2 { font-size: 39px; }
  .signal-flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); margin: 0 auto; }
  .signal-flow .flow-arrow:nth-of-type(2) { display: block; }
  .signal-flow > div { min-height: 104px; }
  .demo { padding: 76px 0; }
  .translator-head { align-items: stretch; flex-direction: column; }
  .language-pair { grid-template-columns: 1fr 44px 1fr; gap: 8px; }
  .icon-button { width: 44px; height: 48px; }
  .session-time { width: auto; display: flex; align-items: baseline; justify-content: center; gap: 8px; text-align: center; }
  .translator-stage { min-height: 300px; }
  .audio-bars { width: 260px; }
  .transcripts { grid-template-columns: 1fr; }
  .transcripts section + section { border-left: 0; border-top: 1px solid var(--line); }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
