:root {
  --coral: #e2513d;
  --coral-strong: #c23e2b;
  --orange: #f08a2c;
  --green: #5e9160;
  --green-strong: #3f6f42;
  --cream: #fbf6ee;
  --paper: #ffffff;
  --sand: #f3eadc;
  --ink: #2a211c;
  --ink-soft: #5d5148;
  --line: #e6dccd;
  --bubble-tutor: #ffffff;
  --bubble-learner: #fde3d6;
  --radius: 22px;
  --font: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --coral: #ff7a63;
    --coral-strong: #ff9480;
    --orange: #ffa652;
    --green: #8cc28e;
    --green-strong: #a6d4a8;
    --cream: #1d1714;
    --paper: #2a221d;
    --sand: #241d19;
    --ink: #f6eee6;
    --ink-soft: #c9bbae;
    --line: #3d332c;
    --bubble-tutor: #322923;
    --bubble-learner: #4a2c24;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--coral-strong); text-underline-offset: 3px; }
a:hover { color: var(--coral); }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 32px); margin-inline: auto; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--paper); padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { padding: 18px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 22px; letter-spacing: -0.01em; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand:hover { color: var(--ink); }
.lang { font-weight: 700; font-size: 16px; text-decoration: none; padding: 8px 14px; border: 2px solid var(--line); border-radius: 999px; color: var(--ink); }
.lang:hover { border-color: var(--coral); color: var(--ink); }

/* Hero */
.hero { padding: 32px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 15px; font-weight: 700; color: var(--green-strong); background: color-mix(in srgb, var(--green) 16%, transparent); padding: 6px 12px; border-radius: 999px; margin: 0 0 18px; }
h1 { font-size: clamp(38px, 6vw, 62px); line-height: 1.05; letter-spacing: -0.025em; margin: 0 0 20px; font-weight: 800; }
h1 em { font-style: normal; color: var(--coral); }
.lead { font-size: clamp(19px, 2.2vw, 22px); color: var(--ink-soft); margin: 0 0 28px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--coral); color: #fff; font-weight: 800; font-size: 18px; text-decoration: none; }
.button:hover { background: var(--coral-strong); color: #fff; }
@media (prefers-color-scheme: dark) { .button, .button:hover { color: #23140f; } }
.note { font-size: 15px; color: var(--ink-soft); margin: 14px 0 0; }
.hero-art { position: relative; }
.hero-art img { border-radius: 36px; box-shadow: 0 24px 60px -24px rgb(120 60 30 / 0.45); }
.hero-bubble { position: absolute; background: var(--paper); color: var(--ink); border-radius: 20px; padding: 12px 16px; font-weight: 700; font-size: 17px; box-shadow: 0 10px 30px -12px rgb(0 0 0 / 0.3); max-width: 70%; }
.hero-bubble.one { left: -20px; top: -22px; border-bottom-left-radius: 6px; }
.hero-bubble.two { right: -14px; bottom: 30px; background: var(--green); color: #fff; border-bottom-right-radius: 6px; }
@media (prefers-color-scheme: dark) { .hero-bubble.two { color: #102112; } }

/* Sections */
section { padding: 64px 0; }
.section-alt { background: var(--sand); }
h2 { font-size: clamp(30px, 4vw, 40px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 12px; font-weight: 800; }
.section-lead { color: var(--ink-soft); margin: 0 0 36px; max-width: 38em; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; padding: 0; margin: 0; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; margin-bottom: 18px; }
.step-num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--coral); color: #fff; font-weight: 800; font-size: 16px; margin-bottom: 10px; }
@media (prefers-color-scheme: dark) { .step-num { color: #23140f; } }
.step h3 { margin: 0 0 6px; font-size: 22px; }
.step p { margin: 0; color: var(--ink-soft); }

/* Transcript */
.chat { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.msg { max-width: 85%; padding: 14px 18px; border-radius: 22px; }
.msg .who { display: block; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; color: var(--ink-soft); }
.msg.learner { align-self: flex-end; background: var(--bubble-learner); border-bottom-right-radius: 6px; }
.msg.tutor { align-self: flex-start; background: var(--bubble-tutor); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg p { margin: 0; }
.msg p + p { margin-top: 6px; }
.chat-note { font-size: 15px; color: var(--ink-soft); margin-top: 18px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 760px; }
.plan { background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); padding: 28px; }
.plan.best { border-color: var(--green); }
.plan h3 { margin: 0; font-size: 20px; }
.price { font-size: 44px; font-weight: 800; letter-spacing: -0.02em; margin: 6px 0 2px; }
.price span { font-size: 18px; font-weight: 700; color: var(--ink-soft); }
.tag { display: inline-block; font-size: 14px; font-weight: 800; background: var(--green); color: #fff; padding: 3px 10px; border-radius: 999px; margin-top: 8px; }
@media (prefers-color-scheme: dark) { .tag { color: #102112; } }
.included { list-style: none; padding: 0; margin: 28px 0 0; max-width: 760px; display: grid; gap: 10px; }
.included li { padding-left: 32px; position: relative; }
.included li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 14px; height: 8px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }

/* FAQ */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 800; font-size: 20px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--coral); font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--ink-soft); }

/* Closing band */
.closing { text-align: center; }
.closing img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 18px; }
.closing .cta-row { justify-content: center; }

/* Document pages */
.doc { padding: 24px 0 72px; }
.doc h1 { font-size: clamp(34px, 5vw, 46px); }
.doc h2 { font-size: 24px; margin-top: 36px; }
.doc p, .doc li { color: var(--ink); }
.doc .updated { color: var(--ink-soft); font-size: 16px; }
.doc .callout { background: var(--sand); border-radius: 16px; padding: 16px 20px; }
.press-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; list-style: none; padding: 0; }
.press-grid a { display: block; text-decoration: none; font-size: 15px; font-weight: 700; }
.press-grid img { border-radius: 16px; margin-bottom: 8px; aspect-ratio: 1; object-fit: cover; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 16px; color: var(--ink-soft); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: var(--coral); }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { max-width: 440px; margin-inline: auto; width: 100%; }
  .hero-bubble.one { left: -6px; top: -26px; }
  .hero-art { margin-top: 20px; }
  .hero-bubble.two { right: -6px; }
  .steps { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  body { font-size: 17px; }
  .hero { padding-top: 12px; }
  section { padding: 48px 0; }
  .msg { max-width: 92%; }
}

@media (prefers-reduced-motion: no-preference) {
  .button, .lang { transition: background-color 0.15s, border-color 0.15s; }
}
