/* saybest landing page (/). Same palette and fonts as the panel; no scripts (the CSP allows none). */
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("/panel/static/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("/panel/static/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 800; font-display: swap; src: url("/panel/static/fonts/inter-latin-800-normal.woff2") format("woff2"); }

:root {
  --ink: #111827; --ink-2: #374151; --muted: #667085; --line: #e3e8e6; --bg: #ffffff; --soft: #f4f6f5;
  --accent: #0f9f8c; --accent-strong: #0b7f70; --accent-soft: #e3f5f2; --mint: #5eead4; --amber: #f5b83d;
  --dark: #0b1220; --dark-2: #111827;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(15, 18, 34, 0.04), 0 12px 32px -16px rgba(15, 18, 34, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.12; }
p { margin: 0; }
.sprite { display: none; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }
.muted { color: var(--muted); }

/* --- buttons ------------------------------------------------------------------------------ */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 14px; background: var(--amber); color: #111827; font-weight: 700; text-decoration: none; box-shadow: 0 10px 24px -12px rgba(245, 184, 61, 0.9); transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); background: #f7c457; }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }
.btn.sm { padding: 9px 16px; border-radius: 11px; font-size: .92rem; }
.btn.ghost { background: rgba(255, 255, 255, 0.08); color: #fff; box-shadow: none; border: 1px solid rgba(255, 255, 255, 0.18); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.14); }
.btn.ghost.dark { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost.dark:hover { border-color: var(--accent); color: var(--accent-strong); }

/* --- top bar ------------------------------------------------------------------------------ */
.top { position: sticky; top: 0; z-index: 10; background: rgba(11, 18, 32, 0.86); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.top-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.03em; }
.brand b { color: var(--mint); }
.mark { width: 32px; height: 32px; }
.top nav { display: flex; gap: 24px; margin-left: 12px; }
.top nav a { color: #cbd5e1; text-decoration: none; font-size: .94rem; font-weight: 600; }
.top nav a:hover { color: #fff; }
.top-cta { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.top-cta .link { color: #e2e8f0; text-decoration: none; font-weight: 600; font-size: .94rem; }
.top-cta .link:hover { color: #fff; }

/* --- hero --------------------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(900px 520px at 85% 10%, rgba(20, 184, 166, 0.35), transparent 60%), radial-gradient(700px 480px at 0% 100%, rgba(15, 159, 140, 0.22), transparent 60%), linear-gradient(180deg, var(--dark) 0%, #0f1a24 100%); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(45, 212, 191, 0.12); border: 1px solid rgba(45, 212, 191, 0.25); color: var(--mint); font-size: .82rem; font-weight: 700; letter-spacing: .02em; }
.eyebrow .ic { width: 16px; height: 16px; }
.hero h1 { margin: 22px 0 20px; font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 800; letter-spacing: -0.045em; }
.hero h1 em, .final h2 em { font-style: normal; background: linear-gradient(90deg, #5eead4, #2dd4bf 50%, #f5b83d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.15rem; color: #cbd5e1; max-width: 560px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.trust { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: #cbd5e1; font-size: .92rem; }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust .ic { width: 17px; height: 17px; color: var(--mint); }

/* phone mockup */
.phone { justify-self: center; width: 100%; max-width: 360px; border-radius: 36px; padding: 10px; background: #0a0f1a; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 8px rgba(255, 255, 255, 0.03); transform: rotate(1.5deg); }
.phone-top { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 28px 28px 0 0; background: #1f2c34; }
.phone-top .av .mark { width: 36px; height: 36px; }
.phone-top b { display: block; font-size: .95rem; }
.phone-top small { color: #8fa3ad; font-size: .76rem; }
.chat { display: flex; flex-direction: column; gap: 8px; padding: 14px 12px 18px; border-radius: 0 0 28px 28px; background: #0b141a; background-image: radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px); background-size: 16px 16px; }
.msg { max-width: 84%; padding: 8px 10px; border-radius: 12px; font-size: .9rem; line-height: 1.4; }
.msg.tutor { align-self: flex-start; background: #202c33; color: #e9edef; border-top-left-radius: 4px; }
.msg.me { align-self: flex-end; background: #005c4b; color: #e9edef; border-top-right-radius: 4px; }
.msg.voice { display: flex; align-items: center; gap: 8px; min-width: 200px; }
.msg small { color: #8fa3ad; font-size: .72rem; }
.play { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.1); }
.play .ic { width: 14px; height: 14px; fill: #e9edef; stroke: none; }
.wave { flex: 1; display: flex; align-items: center; gap: 3px; height: 24px; }
.wave i { flex: 1; max-width: 4px; border-radius: 3px; background: #8fa3ad; height: 30%; }
.me .wave i { background: #9fe0d2; }
.wave i:nth-child(3n+1) { height: 55%; } .wave i:nth-child(4n+2) { height: 85%; } .wave i:nth-child(5n+3) { height: 40%; } .wave i:nth-child(7n) { height: 100%; }
.msg.card { padding: 4px; }
.msg.card img { border-radius: 9px; max-height: 250px; width: 190px; object-fit: cover; object-position: top; }
.msg.card span { display: block; padding: 6px 6px 2px; font-size: .84rem; }

/* --- sections ----------------------------------------------------------------------------- */
.section { padding: 96px 0; }
.section.alt { background: var(--soft); }
.head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.kicker { display: inline-block; margin-bottom: 12px; color: var(--accent); font-weight: 700; font-size: .84rem; letter-spacing: .08em; text-transform: uppercase; }
.head h2, .split-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
.head p { margin-top: 14px; color: var(--muted); font-size: 1.08rem; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { position: relative; padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.steps .num { position: absolute; top: 22px; right: 24px; font-size: 2.6rem; font-weight: 800; color: var(--accent-soft); line-height: 1; }
.steps .ic, .feat .ic, .panel-band .ic { width: 24px; height: 24px; padding: 11px; box-sizing: content-box; border-radius: 14px; color: var(--accent); background: var(--accent-soft); }
.steps h3, .feat h3 { margin: 18px 0 8px; font-size: 1.14rem; font-weight: 700; }
.steps p, .feat p { color: var(--muted); }

.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: center; }
.shot { max-height: 620px; overflow: hidden; border-radius: 24px; box-shadow: 0 30px 60px -30px rgba(17, 24, 39, 0.45); position: relative; }
.shot::after { content: ""; position: absolute; inset: auto 0 0 0; height: 120px; background: linear-gradient(transparent, var(--soft)); }
.split-copy h2 { margin-bottom: 26px; }
.checks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 16px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-size: 1.04rem; }
.checks .ic { margin-top: 2px; color: #fff; background: var(--accent); border-radius: 50%; padding: 3px; width: 16px; height: 16px; box-sizing: content-box; stroke-width: 2.6; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .15s, transform .15s; }
.feat:hover { border-color: #b6e5dc; transform: translateY(-2px); }
.panel-band { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 32px; border-radius: var(--radius); background: linear-gradient(135deg, var(--accent-soft), #f1faf8); border: 1px solid #cdeee7; }
.panel-band > div { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; align-items: center; }
.panel-band .ic { grid-row: span 2; background: #fff; }
.panel-band h3 { font-size: 1.14rem; }
.panel-band p { color: var(--ink-2); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 32px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.plan.featured { background: linear-gradient(180deg, #0f1a24, var(--dark)); color: #fff; border-color: transparent; box-shadow: 0 30px 60px -30px rgba(15, 159, 140, 0.6); }
.plan.soon { background: transparent; box-shadow: none; border-style: dashed; }
.tag { align-self: flex-start; padding: 5px 11px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: rgba(45, 212, 191, 0.16); color: var(--mint); }
.muted-tag { background: var(--soft); color: var(--muted); }
.plan h3 { margin: 18px 0 6px; font-size: 1.4rem; }
.price { color: var(--muted); margin-bottom: 22px; }
.price b { font-size: 2rem; font-weight: 800; color: var(--ink); letter-spacing: -0.04em; }
.featured .price { color: #94a3b8; }
.featured .price b { color: #fff; }
.soon .price b { font-size: 1.05rem; letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; flex: 1; align-content: start; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li .ic { width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }
.featured li .ic { color: var(--mint); }
.plan .btn { justify-content: center; }

.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 0 22px; transition: border-color .15s; }
.faq details[open] { border-color: #b6e5dc; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; font-weight: 700; font-size: 1.04rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 22px; color: var(--ink-2); }

.final { color: #fff; text-align: center; background: radial-gradient(700px 360px at 50% 0%, rgba(20, 184, 166, 0.35), transparent 70%), var(--dark); }
.final-in { padding-top: 96px; padding-bottom: 96px; }
.final h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; max-width: 760px; margin: 0 auto; }
.final p { margin: 16px 0 32px; color: #cbd5e1; font-size: 1.1rem; }

.foot { background: #070b14; color: #94a3b8; }
.foot-in { display: flex; align-items: center; gap: 28px; padding-top: 32px; padding-bottom: 32px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 22px; }
.foot nav a { color: #cbd5e1; text-decoration: none; font-size: .92rem; }
.foot nav a:hover { color: #fff; }
.foot small { margin-left: auto; }

/* --- responsive --------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .top nav { display: none; }
  .hero-in, .split { grid-template-columns: 1fr; gap: 48px; }
  .hero-in { padding-top: 48px; padding-bottom: 64px; }
  .phone { transform: none; }
  .steps, .grid, .plans { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .shot { max-width: 420px; margin: 0 auto; }
  .panel-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .top-in { gap: 12px; }
  .top-cta { gap: 12px; }
  .section { padding: 64px 0; }
  .grid { grid-template-columns: 1fr; }
  .cta .btn { flex: 1 1 100%; justify-content: center; }
  .head { margin-bottom: 36px; }
  .foot small { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .feat { transition: none; }
}
