:root {
  --orange: #ff5a1f;
  --orange-dark: #df3f08;
  --ink: #12110f;
  --paper: #f5f1e8;
  --muted: #756f65;
  --line: rgba(18, 17, 15, .14);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
  width: min(1240px, calc(100% - 32px));
  height: 74px;
  margin: 14px auto 0;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 14px;
  z-index: 20;
  background: rgba(245, 241, 232, .86);
  border: 1px solid var(--line);
  border-radius: 18px;
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 850; letter-spacing: -.04em; font-size: 19px; }
.brand img { border-radius: 8px; }
nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 650; }
nav a:not(.nav-cta) { color: var(--muted); }
.nav-cta { padding: 10px 16px; color: #fff; background: var(--ink); border-radius: 10px; }

.hero { min-height: 720px; padding: 96px 0 86px; display: grid; grid-template-columns: .98fr 1.02fr; align-items: center; gap: 60px; }
.eyebrow, .section-index { font-size: 11px; line-height: 1; letter-spacing: .15em; font-weight: 850; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--muted); }
.eyebrow span { width: 8px; height: 8px; background: var(--orange); border-radius: 50%; box-shadow: 0 0 0 5px rgba(255,90,31,.13); }
h1 { margin: 25px 0 24px; font-size: clamp(54px, 6vw, 82px); line-height: .91; letter-spacing: -.065em; font-weight: 880; }
h1 em { color: var(--orange); font-style: normal; }
.hero-lead { max-width: 600px; margin: 0; color: #514c44; font-size: 19px; line-height: 1.55; letter-spacing: -.018em; }
kbd { display: inline-block; padding: 2px 7px; color: var(--ink); background: #fff; border: 1px solid #d3ccc0; border-bottom-width: 3px; border-radius: 7px; font: 700 14px ui-monospace, SFMono-Regular, Menlo, monospace; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 32px; }
.button { min-height: 52px; padding: 0 21px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; font-size: 14px; font-weight: 780; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: #fff; background: var(--orange); box-shadow: 0 9px 24px rgba(223,63,8,.24); }
.button.primary:hover { background: var(--orange-dark); box-shadow: 0 13px 30px rgba(223,63,8,.32); }
.button.secondary { background: rgba(255,255,255,.55); border: 1px solid var(--line); }
.apple { font-size: 9px; margin-right: 8px; border: 2px solid currentColor; width: 16px; height: 16px; border-radius: 50%; color: #fff; }
.microcopy { color: var(--muted); font-size: 12px; margin: 12px 0 0 3px; }

.hero-product { min-height: 520px; position: relative; display: grid; place-items: center; }
.source-window { width: 91%; min-height: 284px; padding: 0 34px 34px; background: #171614; color: #eee9df; border: 1px solid rgba(255,255,255,.11); border-radius: 24px; transform: rotate(2.5deg); box-shadow: 0 36px 80px rgba(29,24,18,.25); }
.window-bar { height: 58px; display: flex; align-items: center; gap: 7px; color: #817a70; font-size: 11px; }
.window-bar i { width: 9px; height: 9px; background: #4a4640; border-radius: 50%; }
.window-bar span { margin-left: auto; }
.source-window p { margin: 35px 0 0; font: 520 27px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -.035em; }
mark { color: #fff; background: var(--orange); border-radius: 4px; padding: 2px 3px; }
.selection-label { display: inline-block; margin-top: 26px; padding: 7px 10px; color: #ffbea8; background: rgba(255,90,31,.14); border: 1px solid rgba(255,90,31,.3); border-radius: 8px; font: 700 11px ui-monospace, monospace; }
.capture-card { width: 380px; padding: 17px; position: absolute; right: -2%; bottom: 16px; z-index: 3; background: rgba(250,248,243,.96); border: 1px solid rgba(18,17,15,.13); border-radius: 17px; box-shadow: 0 25px 70px rgba(18,17,15,.3); transform: rotate(-2deg); }
.capture-head { display: flex; align-items: center; gap: 10px; }
.capture-head img { border-radius: 7px; }
.capture-head strong { font-size: 17px; letter-spacing: -.025em; }
.capture-head button { margin-left: auto; border: 0; background: transparent; color: var(--muted); font-weight: 800; }
.capture-card label { display: block; margin: 16px 0 7px; color: #8b8479; font-size: 8px; letter-spacing: .08em; font-weight: 850; }
.translation { padding: 13px; background: #fff; border: 1px solid var(--line); border-radius: 9px; font-weight: 700; letter-spacing: -.02em; }
.capture-actions { margin-top: 14px; display: flex; align-items: center; gap: 13px; color: #746e65; font-size: 11px; font-weight: 750; }
.capture-actions b { margin-left: auto; padding: 8px 10px; color: #fff; background: var(--orange); border-radius: 8px; }
.orbit { position: absolute; border: 1px solid rgba(255,90,31,.2); border-radius: 50%; pointer-events: none; }
.orbit-one { width: 430px; height: 430px; }
.orbit-two { width: 540px; height: 540px; }

.proof-strip { padding: 28px max(24px, calc((100vw - 1180px) / 2)); display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; color: #fff; background: var(--orange); }
.proof-strip div { min-height: 70px; padding: 8px 28px; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid rgba(255,255,255,.27); }
.proof-strip div:first-child { border-left: 0; }
.proof-strip strong { font-size: 27px; letter-spacing: -.04em; }
.proof-strip span { margin-top: 5px; color: #ffdace; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }

.flow, .features { padding-block: 126px; }
.section-index { color: var(--orange); }
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
.section-heading h2 { width: 66%; margin: -8px 0 0; font-size: clamp(38px, 5vw, 61px); line-height: 1.02; letter-spacing: -.055em; }
.steps { margin-top: 68px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.step { padding: 36px 34px 12px 0; position: relative; border-right: 1px solid var(--line); }
.step + .step { padding-left: 34px; }
.step:last-child { border-right: 0; }
.step-number { position: absolute; top: -20px; left: 0; padding: 5px 9px; background: var(--paper); color: var(--muted); font: 700 10px ui-monospace, monospace; }
.step + .step .step-number { left: 34px; }
.step-icon { width: 62px; height: 62px; display: grid; place-items: center; color: #fff; background: var(--ink); border-radius: 16px; font: 800 17px ui-monospace, monospace; }
.step:nth-child(2) .step-icon { color: #fff; background: var(--orange); }
.step h3, .feature h3 { margin: 24px 0 12px; font-size: 25px; line-height: 1.05; letter-spacing: -.04em; }
.step p, .feature p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

.active-section { padding-block: 120px; color: #f7f2e8; background: var(--ink); overflow: hidden; }
.active-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 100px; }
.section-index.light { color: #ff9d7a; }
.active-copy h2 { margin: 23px 0; font-size: clamp(43px, 5vw, 64px); line-height: .98; letter-spacing: -.055em; }
.active-copy > p { color: #aaa398; font-size: 17px; line-height: 1.6; }
.active-copy ul { margin: 35px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.active-copy li { display: flex; align-items: center; gap: 11px; color: #d9d2c7; font-size: 14px; }
.active-copy li i { width: 24px; height: 24px; display: grid; place-items: center; color: var(--ink); background: var(--orange); border-radius: 50%; font-style: normal; font-weight: 900; }
.game-stack { min-height: 480px; position: relative; display: grid; place-items: center; }
.game-card { width: min(520px, 90%); height: 350px; padding: 30px; position: absolute; border-radius: 24px; }
.back-card { background: #3b352e; transform: translate(50px,-35px) rotate(8deg); color: #82796d; }
.middle-card { background: #6e301b; transform: translate(25px,-17px) rotate(4deg); color: #b86647; }
.front-card { background: var(--orange); box-shadow: 0 35px 85px rgba(0,0,0,.4); }
.game-top { display: flex; justify-content: space-between; color: #ffcfbe; font-size: 10px; letter-spacing: .09em; font-weight: 800; }
.prompt { margin: 51px 0 36px; font-size: 30px; line-height: 1.05; letter-spacing: -.04em; font-weight: 780; }
.answer { padding: 16px; color: var(--ink); background: #fff; border-radius: 10px; font-weight: 780; }
.voice-answer { min-height: 52px; display: flex; align-items: center; gap: 5px; }
.voice-answer i { width: 4px; height: 13px; display: block; background: var(--orange); border-radius: 3px; animation: voice-wave .8s ease-in-out infinite alternate; }
.voice-answer i:nth-of-type(2), .voice-answer i:nth-of-type(4) { height: 25px; animation-delay: -.35s; }
.voice-answer i:nth-of-type(3) { height: 34px; animation-delay: -.6s; }
.voice-answer strong { margin-left: 8px; font-size: 13px; }
.voice-dot { width: 10px; height: 10px; margin-right: 6px; background: var(--orange); border-radius: 50%; box-shadow: 0 0 0 7px rgba(255,90,31,.14); }
@keyframes voice-wave { to { transform: scaleY(.38); opacity: .55; } }
.cursor { display: inline-block; width: 2px; height: 17px; margin-left: 3px; vertical-align: -3px; background: var(--orange); animation: blink 1s step-end infinite; }
.game-status { margin-top: 25px; display: flex; justify-content: space-between; color: #ffd4c5; font: 750 10px ui-monospace, monospace; }
.game-status span { padding-left: 15px; position: relative; }
.game-status span:before { content: ""; width: 7px; height: 7px; position: absolute; left: 0; top: 2px; background: #fff; border-radius: 50%; }
@keyframes blink { 50% { opacity: 0; } }

.feature-grid { margin-top: 68px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature { min-height: 385px; padding: 36px; position: relative; overflow: hidden; background: rgba(255,255,255,.52); border: 1px solid var(--line); border-radius: var(--radius); }
.feature.large { grid-row: span 1; }
.feature h3 { max-width: 470px; margin-top: 75px; font-size: 33px; }
.feature p { max-width: 460px; }
.feature-kicker { font-size: 10px; letter-spacing: .12em; font-weight: 850; color: var(--muted); }
.feature.tutor { min-height: 430px; scroll-margin-top: 105px; grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; color: #fff; background: radial-gradient(circle at 77% 45%, #793016 0, #2a1913 34%, var(--ink) 70%); border-color: transparent; }
.feature.tutor .feature-kicker { color: #ff9d7a; }
.feature.tutor h3 { margin-top: 34px; font-size: clamp(36px, 4vw, 54px); }
.feature.tutor p { color: #aaa398; font-size: 16px; }
.tutor-copy { position: relative; z-index: 2; }
.tutor-status { width: fit-content; margin-top: 32px; padding: 10px 13px; color: #ffb89e; background: rgba(255,90,31,.12); border: 1px solid rgba(255,123,74,.28); border-radius: 999px; font: 800 10px ui-monospace, monospace; letter-spacing: .07em; }
.tutor-status span { width: 8px; height: 8px; display: inline-block; margin-right: 6px; background: var(--orange); border-radius: 50%; box-shadow: 0 0 0 5px rgba(255,90,31,.15); animation: tutor-pulse 1.2s ease-in-out infinite; }
.tutor-portrait { justify-self: center; position: relative; }
.tutor-portrait img { width: 310px; height: 310px; display: block; object-fit: cover; border: 3px solid rgba(255,132,88,.55); border-radius: 34px; box-shadow: 0 28px 80px rgba(0,0,0,.42), 0 0 55px rgba(255,90,31,.18); animation: tutor-breathe 2.2s ease-in-out infinite alternate; }
.sound-bars { height: 43px; padding: 7px 12px; position: absolute; right: -18px; bottom: 21px; display: flex; align-items: center; gap: 4px; background: var(--orange); border-radius: 15px; box-shadow: 0 14px 32px rgba(0,0,0,.3); }
.sound-bars i { width: 4px; height: 24px; display: block; background: #fff; border-radius: 4px; animation: tutor-wave .65s ease-in-out infinite alternate; }
.sound-bars i:nth-child(2), .sound-bars i:nth-child(4) { height: 14px; animation-delay: -.3s; }
.sound-bars i:nth-child(3) { height: 30px; animation-delay: -.5s; }
@keyframes tutor-wave { to { transform: scaleY(.36); opacity: .62; } }
@keyframes tutor-breathe { to { transform: translateY(-4px) scale(1.012); } }
@keyframes tutor-pulse { 50% { opacity: .45; } }
.deck-pills { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px; }
.deck-pills span { padding: 9px 12px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 11px; font-weight: 700; }
.browser-feature { background: linear-gradient(145deg, rgba(255,255,255,.7), rgba(255,225,212,.55)); }
.browser-feature h3 { margin-top: 36px; }
.browser-demo { width: min(390px, 100%); margin: 34px 0 0 auto; padding: 24px 20px 17px; position: relative; color: #ded8cf; background: var(--ink); border-radius: 15px; font: 600 14px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; box-shadow: 0 19px 40px rgba(18,17,15,.2); }
.browser-demo mark { color: #fff; }
.browser-demo b { padding: 9px 13px; position: absolute; left: 50%; bottom: 45px; color: #fff; background: #242327; border: 1px solid rgba(255,255,255,.13); border-radius: 10px; font: 750 13px/1.2 Inter, sans-serif; box-shadow: 0 10px 25px rgba(0,0,0,.35); transform: translateX(-50%); }
.feature.orange { color: #fff; background: var(--orange); border-color: transparent; }
.feature.orange .feature-kicker { color: #ffc5af; }
.feature.orange h3 { margin-top: 36px; }
.telegram-bubble { max-width: 370px; margin: 38px 0 0 auto; padding: 18px; color: var(--ink); background: #fff; border-radius: 17px 17px 5px 17px; font-size: 14px; line-height: 1.6; transform: rotate(-2deg); box-shadow: 0 18px 45px rgba(105,27,0,.22); }
.telegram-bubble strong { color: var(--orange); }
.telegram-bubble small { display: inline-block; margin-top: 7px; color: var(--muted); }
.feature.dark { color: #fff; background: var(--ink); }
.feature.dark .feature-kicker, .feature.dark p { color: #958e83; }
.privacy-ring { width: 160px; height: 160px; position: absolute; right: 32px; bottom: 22px; display: grid; place-items: center; border: 24px solid var(--orange); border-radius: 50%; font: 900 18px/1 var(--ink); color: var(--paper); }
.privacy-ring span { display: block; margin-top: -55px; color: #888177; font-size: 9px; letter-spacing: .16em; }

.final-cta { padding: 110px 20px 130px; text-align: center; }
.final-cta > img { margin-bottom: 30px; border-radius: 21px; box-shadow: 0 15px 40px rgba(223,63,8,.22); }
.final-cta h2 { margin: 19px auto; font-size: clamp(48px, 6vw, 76px); line-height: .94; letter-spacing: -.06em; }
.final-cta p { color: var(--muted); font-size: 17px; }
.centered { justify-content: center; }

footer { min-height: 105px; padding: 24px max(24px, calc((100vw - 1180px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #aaa297; background: var(--ink); font-size: 12px; }
footer .brand { color: #fff; }
footer p { margin: 0; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  nav a:not(.nav-cta) { display: none; }
  .hero { padding-top: 70px; grid-template-columns: 1fr; gap: 30px; }
  .hero-copy { text-align: center; }
  .eyebrow, .hero-actions { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .hero-product { min-height: 500px; }
  .proof-strip { grid-template-columns: repeat(2, 1fr); }
  .proof-strip div:nth-child(3) { border-left: 0; }
  .section-heading { display: block; }
  .section-heading h2 { width: 100%; margin-top: 22px; }
  .active-grid { grid-template-columns: 1fr; gap: 60px; }
  .game-stack { min-height: 430px; }
}

@media (max-width: 640px) {
  .wrap { width: min(100% - 28px, 1180px); }
  .site-header { height: 64px; top: 8px; margin-top: 8px; padding-inline: 14px; }
  .brand span { font-size: 17px; }
  h1 { font-size: 49px; }
  .hero { min-height: auto; padding: 62px 0 65px; }
  .hero-lead { font-size: 16px; }
  .hero-actions .button { width: 100%; }
  .hero-product { min-height: 410px; }
  .source-window { width: 100%; min-height: 240px; padding-inline: 20px; }
  .source-window p { margin-top: 22px; font-size: 19px; }
  .capture-card { width: 92%; right: 1%; bottom: 0; }
  .capture-actions { gap: 8px; }
  .orbit-two { width: 390px; height: 390px; }
  .orbit-one { width: 310px; height: 310px; }
  .proof-strip { padding-inline: 14px; }
  .proof-strip div { padding: 12px 16px; }
  .proof-strip strong { font-size: 22px; }
  .flow, .features { padding-block: 85px; }
  .section-heading h2 { font-size: 41px; }
  .steps { grid-template-columns: 1fr; border-top: 0; gap: 30px; }
  .step, .step + .step { padding: 24px 0 0; border-top: 1px solid var(--line); border-right: 0; }
  .step-number, .step + .step .step-number { left: auto; right: 0; top: 8px; }
  .active-section { padding-block: 85px; }
  .active-copy h2 { font-size: 43px; }
  .game-stack { min-height: 360px; }
  .game-card { width: 94%; height: 305px; padding: 22px; }
  .prompt { margin: 42px 0 28px; font-size: 26px; }
  .back-card { transform: translate(17px,-22px) rotate(5deg); }
  .middle-card { transform: translate(9px,-10px) rotate(3deg); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature.tutor { grid-column: auto; grid-template-columns: 1fr; gap: 32px; }
  .tutor-portrait img { width: min(310px, 78vw); height: min(310px, 78vw); }
  .feature { min-height: 355px; padding: 28px; }
  .feature h3 { margin-top: 55px; font-size: 29px; }
  .privacy-ring { width: 125px; height: 125px; border-width: 18px; }
  .final-cta { padding-block: 90px 100px; }
  .final-cta h2 { font-size: 49px; }
  footer { flex-direction: column; text-align: center; padding-block: 35px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
