/* Spilno marketing site. Light and quiet: warm paper, ink, one accent (emerald) and the amber dot from the mark.
   Same palette and type as the app (static/style.css). */

@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(inter-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(inter-cyrillic-wght-normal.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  --ink: #161c1b;
  --ink-2: #454f4d;
  --muted: #6b7472;
  --line: #e7e5df;
  --bg: #f7f6f2;
  --surface: #ffffff;
  --brand: #0E7C73;
  --brand-dark: #0a615a;
  --brand-soft: #e7f2ef;
  --spark: #EE9B2D;
  --spark-soft: #fdf1df;
  /* status colours, used only inside the app mockups */
  --violet: #6d4ac9;
  --violet-soft: #f1ecfb;
  --warn: #b7791f;
  --bad: #c2413a;
  --bad-soft: #fdecea;
  --ok: #1f8a4c;
  --ok-soft: #e6f5ec;
  --amber: var(--spark);
  --amber-soft: var(--spark-soft);
  --coral: #e2584d;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(22 28 27 / .04), 0 16px 40px -20px rgb(22 28 27 / .16);
  --max: 1120px;
}

* { box-sizing: border-box; }
/* keyboard focus: always visible, never on mouse clicks */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 50; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--surface);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
/* small label above headings, with the three dots of the mark */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 650; letter-spacing: .02em; color: var(--ink-2); }
.eyebrow::before { content: ""; flex: none; width: 22px; height: 6px;
  background: radial-gradient(circle at 3px 3px, var(--brand) 2.6px, transparent 3px), radial-gradient(circle at 11px 3px, var(--brand) 2.6px, transparent 3px),
    radial-gradient(circle at 19px 3px, var(--spark) 2.6px, transparent 3px); }
.grad { color: var(--brand); }
.lead { font-size: 19px; color: var(--ink-2); }
.muted { color: var(--muted); }

/* ---- buttons ---- */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px;
  border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 600;
  font-size: 16px; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
.btn:hover { border-color: #cfccc4; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-dark); }
.btn.small { min-height: 40px; padding: 8px 16px; font-size: 15px; }

/* ---- header ---- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgb(255 255 255 / .86); backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-color: var(--line); }
.nav { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: 20px; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.nav-links { display: flex; gap: 2px; margin: 0 auto; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.nav-links a { white-space: nowrap; color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: 14.5px; padding: 7px 15px; border-radius: 999px;
  transition: background .15s, color .15s; }
.nav-links a:hover { background: var(--bg); color: var(--ink); }
.nav-links a.active { background: var(--brand-soft); color: var(--brand); }
.nav-end { display: flex; align-items: center; gap: 6px; }
.lang { font-size: 12.5px; font-weight: 650; letter-spacing: .04em; color: var(--muted); text-decoration: none; padding: 4px 8px; border: 1px solid var(--line); border-radius: 7px; }
.lang:hover { color: var(--ink); border-color: #cfccc4; }
.signin { white-space: nowrap; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; margin-left: 8px; border-left: 1px solid var(--line); }
.signin:hover { color: var(--brand); }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: 20px; }

/* the wordmark: "spılno" with an amber dot (from the mark) over the i */
.wordmark { white-space: nowrap; }
.wordmark .wm-i { position: relative; display: inline-block; }
.wordmark .wm-lms { margin-left: .28em; font-size: .62em; font-weight: 650; letter-spacing: .06em; color: var(--muted); vertical-align: .12em; }
.wordmark .wm-i::after { content: ""; position: absolute; left: 50%; top: var(--wm-dot-top, .34em); width: .18em; height: .18em; transform: translateX(-50%);
  background: url("dot.svg") center / contain no-repeat; }

/* ---- hero: light, with a faint dot grid ---- */
.hero { position: relative; overflow: hidden; padding: 88px 0 104px; background: var(--bg); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(rgb(14 124 115 / .16) 1.4px, transparent 1.8px) 0 0 / 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 78% 45%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse 60% 70% at 78% 45%, #000 0%, transparent 70%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(42px, 5.4vw, 68px); font-weight: 760; margin: 22px 0 22px; letter-spacing: -.035em; }
.hero h1 .accent { color: var(--brand); }
.hero .lead { max-width: 540px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 14px; }
.note { font-size: 14px; color: var(--muted); }

/* the mockup in the hero, with a few live events around it */
.hero-visual { position: relative; }
.toast { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 12px; background: #fff; color: var(--ink);
  border: 1px solid var(--line); font-size: 13px; line-height: 1.3; box-shadow: var(--shadow); animation: bob 7s ease-in-out infinite; white-space: nowrap; }
.toast small { display: block; color: var(--muted); font-size: 11.5px; }
.toast .t-ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 15px; flex: none; background: var(--bg); }
.toast.t1 { left: 14%; top: -24px; }
.toast.t1 .t-ico { background: var(--violet-soft); color: var(--violet); }
.toast.t2 { right: -22px; bottom: 16%; animation-delay: -2.5s; }
.toast.t3 { left: 8%; bottom: -26px; animation-delay: -5s; }

@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ---- app mockups (pure HTML/CSS, the real app's look) ---- */
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px -30px rgb(22 28 27 / .28);
  overflow: hidden; font-size: 13px; line-height: 1.45; color: var(--ink); text-align: left; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: #fcfbf9; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #e4e1da; }
.mock-bar span { margin-left: 10px; font-size: 12px; color: var(--muted); }
.mock-body { padding: 18px; display: grid; gap: 12px; }
.mock-title { font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tile { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.tile b { display: block; font-size: 22px; letter-spacing: -.02em; margin: 2px 0; }
.tile small { color: var(--muted); font-size: 11.5px; }
.tile.bad b { color: var(--bad); }
.row-item { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.row-item:first-child { border-top: 0; }
.row-item .grow { flex: 1; min-width: 0; }
.row-item .sub { color: var(--muted); font-size: 12px; }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 99px; font-size: 11.5px; font-weight: 600; background: var(--bg); color: var(--muted); white-space: nowrap; }
.chip.bad { background: var(--bad-soft); color: var(--bad); }
.chip.ok { background: var(--ok-soft); color: var(--ok); }
.chip.ai { background: var(--violet-soft); color: var(--violet); }
.chip.brand { background: var(--brand-soft); color: var(--brand); }
.chip.warm { background: var(--amber-soft); color: #a45f0b; }
.mbtn { border: 1px solid var(--line); border-radius: 9px; padding: 5px 10px; font-weight: 600; font-size: 12px; background: var(--surface); white-space: nowrap; }
.mbtn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.mbtn.ai { color: var(--violet); border-color: #d6c9f3; }
.card-in { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.bars { display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; align-items: end; height: 46px; }
.bars span { background: var(--brand); border-radius: 3px 3px 0 0; opacity: .85; }
.ring { --p: 60; width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 11px; font-weight: 700;
  background: radial-gradient(closest-side, #fff 76%, transparent 78% 100%), conic-gradient(var(--brand) calc(var(--p) * 1%), #e8eeec 0); }
.opt { display: flex; align-items: center; gap: 8px; padding: 3px 0; }
.opt.right { color: var(--ok); font-weight: 600; }
.cond { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.cond .sel { border: 1px solid var(--line); border-radius: 8px; padding: 3px 8px; font-weight: 600; background: var(--bg); }
.match { border: 1px dashed #c9d5d2; border-radius: 10px; padding: 9px 10px; background: #fbfcfc; }
.cover { height: 86px; border-radius: 12px; position: relative; overflow: hidden; background: var(--brand-soft)
  radial-gradient(rgb(14 124 115 / .22) 1.4px, transparent 1.8px) 0 0 / 14px 14px; }
.progress { height: 7px; border-radius: 99px; background: #e8eeec; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--brand); border-radius: 99px; }

/* ---- sections ---- */
section { padding: 104px 0; }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 740; margin: 14px 0 14px; letter-spacing: -.03em; }
.strip { padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.strip ul { list-style: none; margin: 0 auto; padding: 0 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; color: var(--ink-2); font-weight: 600; font-size: 14.5px; }
.strip li { padding: 6px 12px; }
.strip li::before { content: "✓"; color: var(--brand); margin-right: 8px; font-weight: 800; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.steps { position: relative; }
.step { position: relative; padding: 30px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: border-color .2s; }
.step:hover { border-color: #cfccc4; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  color: var(--brand); background: var(--brand-soft); font-weight: 700; font-size: 16px; margin-bottom: 22px; }
.step:last-child::before { color: #9a5a0c; background: var(--spark-soft); }
.step h3 { font-size: 20px; margin-bottom: 8px; }

.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding: 40px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.flip .feature-text { order: 2; }
.feature h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 750; margin: 10px 0 14px; }
.stage { position: relative; padding: 32px; border-radius: 20px; overflow: hidden; background: var(--bg); border: 1px solid var(--line); }
.stage::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(rgb(14 124 115 / .12) 1.2px, transparent 1.6px) 0 0 / 22px 22px; }
.stage > .mock { position: relative; }
.ai-next { margin-top: 20px; padding: 14px 16px; border-radius: 12px; background: var(--violet-soft); color: var(--ink-2); font-size: 15.5px; }
.ai-next b { color: var(--violet); }
.feature ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.feature li { padding-left: 28px; position: relative; color: var(--ink-2); }
.feature li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E7C73' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 11px no-repeat; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fcard { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: border-color .2s; }
.fcard:hover { border-color: #cfccc4; }
.fcard .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 18px; }
.fcard .ico svg { width: 21px; height: 21px; }
.fcard h3 { font-size: 18px; margin-bottom: 8px; }
.fcard p { color: var(--ink-2); font-size: 15.5px; }
.bg-soft { background: var(--bg); }

/* ---- icons in small places ---- */
.strip li { display: inline-flex; align-items: center; gap: 8px; }
.strip li::before { content: none; }
.strip li svg { width: 17px; height: 17px; color: var(--brand); }
.chip.lg { padding: 5px 12px; font-size: 13px; gap: 6px; }
.s-ico { position: absolute; top: 26px; right: 26px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--bg); color: var(--ink-2); }
.s-ico svg { width: 20px; height: 20px; }
section { position: relative; }
section > .wrap { position: relative; z-index: 1; }

/* ---- infographic: a new hire's first week ---- */
.journey-sec { background: var(--surface); }
.journey { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.journey::before { content: ""; position: absolute; left: 7%; right: 7%; top: 27px; border-top: 1.5px dashed #d5d2ca; }
.j-step { position: relative; text-align: center; }
.j-ico { position: relative; width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--brand);
  border: 1px solid var(--line); box-shadow: 0 0 0 8px var(--surface); }
.j-step:last-child .j-ico { color: #9a5a0c; background: var(--spark-soft); border-color: transparent; }
.j-ico svg { width: 24px; height: 24px; }
.j-when { display: inline-block; font-size: 12px; font-weight: 650; color: var(--muted); }
.j-step b { display: block; font-size: 15px; line-height: 1.3; margin: 4px 0 6px; }
.j-step p { font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.journey-foot { display: flex; align-items: center; justify-content: center; gap: 12px; width: fit-content; margin: 44px auto 0; padding: 8px 8px 8px 20px;
  border-radius: 99px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; }
.journey-foot b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 18px; }

/* ---- infographic: manual vs automatic ---- */
.compare { max-width: 980px; margin: 0 auto; display: grid; gap: 10px; }
.c-row { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 10px; align-items: stretch; }
.c-row > div { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-radius: 14px; }
.c-task { font-weight: 650; background: var(--surface); border: 1px solid var(--line); }
.c-old { background: var(--bg); color: var(--muted); text-decoration: line-through; text-decoration-color: #c9c5bc; }
.c-new { background: var(--brand-soft); color: var(--brand-dark); font-weight: 650; position: relative; }
.c-row:not(.c-head) .c-new::before { content: "→"; position: absolute; left: -17px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 13px; font-weight: 700; box-shadow: 0 0 0 4px var(--surface); }
.c-row:not(.c-head) .c-new { padding-left: 24px; }
.c-badge { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgb(255 255 255 / .7); text-decoration: none; }
.c-head > div { padding: 6px 18px; background: none; border: 0; font-size: 13px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.c-head .c-old { color: var(--muted); text-decoration: none; }
.c-head .c-new { color: var(--brand); }
.c-head svg, .c-head img { width: 18px; height: 18px; }

/* ---- pricing ---- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 14px; padding: 30px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); position: relative; }
.plan.pop { border: 1.5px solid var(--brand); box-shadow: var(--shadow); }
.plan .tag { position: absolute; top: -12px; left: 28px; background: var(--spark); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 11px; border-radius: 99px; }
.plan h3 { font-size: 22px; }
.plan .price { font-size: 34px; font-weight: 780; letter-spacing: -.02em; }
.plan .price.ask { font-size: 26px; }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; color: var(--ink-2); font-size: 15.5px; flex: 1; }
.plan li::before { content: "✓"; color: var(--brand); font-weight: 700; margin-right: 9px; }
.plan .btn { width: 100%; }
.trial-banner { margin-top: 26px; text-align: center; color: var(--ink-2); }

/* ---- faq ---- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 650; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; color: var(--ink-2); }

/* ---- final cta & footer ---- */
.final { text-align: center; background: var(--bg); border: 1px solid var(--line); border-radius: 24px; padding: 64px 32px; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(rgb(14 124 115 / .14) 1.4px, transparent 1.8px) 0 0 / 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%); }
.final > * { position: relative; }
.final h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 760; margin-bottom: 14px; }
.final p { color: var(--ink-2); font-size: 18px; }
.final .cta-row { justify-content: center; }
.final img { position: absolute; width: 44px; right: 24px; top: 24px; }
footer { padding: 48px 0 56px; color: var(--muted); font-size: 14px; }
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.foot .brand { font-size: 17px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; margin-left: auto; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--brand); }

/* ---- reveal on scroll (skipped when motion is reduced) ---- */
/* Hidden only when scripts run (the "js" class is set in <head>): without JavaScript everything is visible. */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } .btn { transition: none; }
  *, *::before, *::after { animation: none !important; } }

/* ---- small screens ---- */
@media (max-width: 960px) {
  .hero-grid, .feature { grid-template-columns: 1fr; gap: 36px; }
  .feature.flip .feature-text { order: 0; }
  .steps, .grid3, .plans { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .toast.t1 { left: -8px; } .toast.t2 { right: -8px; }
  .journey { grid-template-columns: 1fr; gap: 22px; max-width: 520px; margin: 0 auto; }
  .journey::before { left: 27px; right: auto; top: 10px; bottom: 10px; width: 0; height: auto; border-top: 0; border-left: 1.5px dashed #d5d2ca; }
  .j-step { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; text-align: left; align-items: start; }
  .j-ico { grid-row: span 3; margin: 0; }
  .grid3 { grid-template-columns: repeat(2, 1fr); }
  section { padding: 72px 0; }
  .plans { max-width: 480px; margin: 0 auto; }
}
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav-links { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; }
  .nav-links a { padding: 10px 0; border-radius: 0; }
  .signin { margin-left: 0; border-left: 0; padding-left: 0; }
  .nav { flex-wrap: wrap; gap: 0; }
  .nav-links, .nav-end { display: none; width: 100%; }
  .site-header.open .nav-links { display: grid; gap: 4px; margin: 6px 0 0; padding: 8px 0; border-top: 1px solid var(--line); }
  .site-header.open .nav-links a { padding: 10px 0; font-size: 16px; }
  .site-header.open .nav-end { display: flex; flex-wrap: wrap; margin: 0 0 14px; }
  /* without JavaScript the ☰ button can't open the menu: show the links instead */
  html:not(.js) .menu-btn { display: none; }
  html:not(.js) .nav-links { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 8px 0; border-top: 1px solid var(--line); }
  html:not(.js) .nav-end { display: flex; flex-wrap: wrap; margin: 0 0 12px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .hero { padding: 40px 0 64px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tiles .tile:last-child { display: none; }
  .grid3 { grid-template-columns: 1fr; }
  .c-row { grid-template-columns: 1fr 1fr; }
  .c-task { grid-column: 1 / -1; }
  .c-head .c-task, .c-head > div:first-child { display: none; }
  .c-row > div { padding: 12px 14px; font-size: 14.5px; }
  .c-badge { display: none; }
  .s-ico { top: 22px; right: 22px; }
  .stage { padding: 18px; border-radius: 18px; }
  .toast { font-size: 12px; } .toast.t3 { display: none; }
  .final img { width: 44px; top: 16px; right: 16px; }
  .final { border-radius: 18px; padding: 48px 22px; }
  .foot nav { margin-left: 0; }
}

/* ---- mockups of the current app: Today, My day, learning paths ---- */
.todo { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-top: 1px solid var(--line); }
.todo:first-child { border-top: 0; padding-top: 0; }
.todo .grow { flex: 1; min-width: 0; }
.todo .sub, .m-step .sub { color: var(--muted); font-size: 12px; }
.m-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; margin-top: 4px; background: #cfd6d3; }
.m-dot.bad { background: var(--coral); } .m-dot.warn { background: #ee9b2d; } .m-dot.ok { background: var(--brand); }
.m-acts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 7px; }
.m-pulse { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.m-pulse i { width: 9px; height: 9px; border-radius: 50%; background: #d6dcda; }
.m-pulse i.ok { background: var(--brand); } .m-pulse i.busy { background: #ee9b2d; } .m-pulse i.late { background: var(--coral); }
.m-legend { display: flex; gap: 10px; flex-wrap: wrap; font-size: 11.5px; color: var(--muted); }
.m-legend span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 5px; background: #d6dcda; }
.m-legend .ok::before { background: var(--brand); } .m-legend .busy::before { background: #ee9b2d; } .m-legend .late::before { background: var(--coral); }
.m-kick { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 650; color: #b26a12; }
.m-kick::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ee9b2d; box-shadow: 0 0 0 3px #fdf1df; }
.m-step { display: flex; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); }
.m-step:first-child { border-top: 0; }
.m-step .n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; flex: none; background: #eef2f0; color: var(--muted); }
.m-step.done .n { background: var(--ok-soft); color: var(--ok); }
.m-step.current { background: var(--brand-soft); margin: 0 -10px; padding: 9px 10px; border-radius: 10px; border-top-color: transparent; }
.m-step.current .n { background: #ee9b2d; color: #fff; }
.m-step.locked { color: var(--muted); }
.m-step .grow { flex: 1; min-width: 0; }
.m-dots { display: inline-flex; gap: 5px; }
.m-dots i { width: 10px; height: 10px; border-radius: 50%; background: #d6dcda; }
.m-dots i.done { background: var(--brand); } .m-dots i.cur { background: #ee9b2d; box-shadow: 0 0 0 3px #fdf1df; } .m-dots i.lock { background: none; box-shadow: inset 0 0 0 1.5px #c8d0cd; }

/* ---- call to action in the middle of the page ---- */
.mid-cta { margin: 44px auto 0; max-width: 760px; text-align: center; }
.mid-cta p { color: var(--ink-2); font-size: 17px; }
.mid-cta .cta-row { justify-content: center; margin: 18px 0 0; }

/* ---- security and data ---- */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tcard { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.tcard h3 { font-size: 17px; margin: 14px 0 8px; }
.tcard p { color: var(--ink-2); font-size: 15px; }
.tcard a { color: var(--brand); }
.tdot { display: block; width: 22px; height: 6px;
  background: radial-gradient(circle at 3px 3px, var(--brand) 2.6px, transparent 3px), radial-gradient(circle at 11px 3px, var(--brand) 2.6px, transparent 3px),
    radial-gradient(circle at 19px 3px, var(--spark) 2.6px, transparent 3px); }

/* ---- final block: trial + demo form ---- */
.final.demo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; text-align: left; padding: 52px; }
.demo-pitch img { position: static; width: 44px; margin-bottom: 18px; }
.demo-pitch .cta-row { justify-content: flex-start; }
.demo-form, .demo-thanks { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 26px; display: grid; gap: 12px; }
.demo-form h3, .demo-thanks h3 { font-size: 20px; margin: 0 0 4px; }
.demo-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.demo-form input, .demo-form select, .demo-form textarea { font: inherit; font-weight: 400; font-size: 15px; color: var(--ink); padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--surface); width: 100%; }
.demo-form input:focus, .demo-form select:focus, .demo-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.demo-form textarea { resize: vertical; }
.demo-form textarea::placeholder { color: var(--muted); opacity: .8; }
.demo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.demo-form .btn { justify-self: start; }
.demo-form .note a { color: var(--muted); }
.demo-error { color: var(--bad); font-size: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* bots fill it, people never see it */
.demo-grid { position: relative; }

@media (max-width: 960px) {
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .final.demo-grid { grid-template-columns: 1fr; gap: 28px; padding: 36px 24px; }
}
@media (max-width: 760px) {
  .grid4, .demo-row { grid-template-columns: 1fr; }
  .final.demo-grid { padding: 28px 18px; }
  .demo-form, .demo-thanks { padding: 20px; }
}
.demo-form[hidden], .demo-thanks[hidden], .demo-error[hidden] { display: none; } /* display: grid above would win over [hidden] */
.demo-form .note { font-size: 13px; line-height: 1.5; margin: 0; }
.demo-form .demo-error { font-size: 14px; margin: 0; }
.demo-thanks p { font-size: 15px; }

/* ---- before the app is live (SITE.launched = false; build.py sets <html class="prelaunch">) ---- */
html.prelaunch [data-when="launched"], html:not(.prelaunch) [data-when="prelaunch"] { display: none !important; }
.soon-note { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }
.soon-note a { color: var(--brand); font-weight: 600; }
.soon-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--spark); box-shadow: 0 0 0 4px var(--spark-soft); flex: none; }
dialog.soon { max-width: 440px; width: calc(100% - 32px); padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
dialog.soon::backdrop { background: rgb(22 28 27 / .35); }
dialog.soon h3 { font-size: 22px; margin: 14px 0 8px; }
dialog.soon p { color: var(--ink-2); }
dialog.soon .cta-row { margin: 22px 0 0; }
.soon-dots { display: block; width: 22px; height: 6px;
  background: radial-gradient(circle at 3px 3px, var(--brand) 2.6px, transparent 3px), radial-gradient(circle at 11px 3px, var(--brand) 2.6px, transparent 3px),
    radial-gradient(circle at 19px 3px, var(--spark) 2.6px, transparent 3px); }
