/* Pauta's public site. Same palette as the app (pauta/src/pauta/static/style.css): warm
   paper, ink, one electric accent, and the logo's violet-to-orange gradient. Light and dark
   follow the system. No web fonts, no third-party anything. */
:root {
  --bg: #f6f5f2;
  --surface: #ffffff;
  --surface-2: #faf9f7;
  --ink: #17161c;
  --ink-2: #3a3843;
  --muted: #6e6b78;
  --faint: #a3a0ab;
  --line: #e8e5df;
  --line-2: #f0eee9;
  --accent: #5b45ff;
  --accent-ink: #ffffff;
  --accent-soft: #eeebff;
  --warm: #ff6a3d;
  --grad: linear-gradient(135deg, #7b5cff, #ff6a3d);
  --shadow: 0 1px 2px rgba(23, 22, 28, .04), 0 4px 16px rgba(23, 22, 28, .05);
  --shadow-lg: 0 10px 40px rgba(23, 22, 28, .14);
  --radius: 14px;
  --radius-sm: 10px;
  --s-todo: #64748b;   --s-todo-bg: #eef1f5;
  --s-doing: #2563eb;  --s-doing-bg: #e8effd;
  --s-waiting: #c2610c; --s-waiting-bg: #fdf1e3;
  --s-done: #15803d;   --s-done-bg: #e5f5ea;
  --font: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e12;
    --surface: #17171d;
    --surface-2: #1c1c23;
    --ink: #ededf2;
    --ink-2: #c9c8d2;
    --muted: #9896a3;
    --faint: #6a6875;
    --line: #2a2a33;
    --line-2: #22222a;
    --accent: #8b7bff;
    --accent-ink: #0e0e12;
    --accent-soft: #24203f;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 16px rgba(0, 0, 0, .25);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, .5);
    --s-todo: #a3b1c6;   --s-todo-bg: #232831;
    --s-doing: #7aa7ff;  --s-doing-bg: #1b2540;
    --s-waiting: #f5a65b; --s-waiting-bg: #35261a;
    --s-done: #5fd38b;   --s-done-bg: #17301f;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01";
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; letter-spacing: -.025em; line-height: 1.15; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
svg.i { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 10; background: var(--surface); padding: 8px 12px;
  border-radius: 8px; }

/* ---- buttons ------------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 12px; font-weight: 650; font-size: 15px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  box-shadow: var(--shadow); white-space: nowrap; transition: transform .12s, box-shadow .12s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.big { height: 52px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn.small { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; }

/* ---- top bar ------------------------------------------------------------------------ */
.top {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line-2);
}
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink);
  font-weight: 800; font-size: 22px; letter-spacing: -.04em; }
.brand:hover { text-decoration: none; }
.logo { width: 30px; height: 30px; border-radius: 9px; flex: none;
  background: url(/icon.svg) center / cover; }
.top nav { display: flex; gap: 22px; margin-left: auto; }
.top nav a { color: var(--ink-2); font-weight: 550; font-size: 15px; }
.top .btn { margin-left: 4px; }

/* ---- hero --------------------------------------------------------------------------- */
.hero { padding: 72px 0 40px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650;
  color: var(--accent); background: var(--accent-soft); border-radius: 999px;
  padding: 5px 12px; margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--warm); }
.hero h1 { font-size: clamp(38px, 4.6vw, 58px); font-weight: 800; letter-spacing: -.04em; }
.hero h1 .g { background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; }
.lead { font-size: 19px; color: var(--ink-2); margin-top: 20px; max-width: 34em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .note { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* the board mockup: the app's own cards and status pills */
.board {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  padding: 16px; border-radius: 20px; background: var(--surface-2);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.board::before {
  content: ""; position: absolute; inset: -40px -60px auto auto; width: 280px; height: 280px;
  background: radial-gradient(closest-side, rgba(255, 106, 61, .22), transparent);
  z-index: -1;
}
.board::after {
  content: ""; position: absolute; inset: auto auto -50px -60px; width: 300px; height: 300px;
  background: radial-gradient(closest-side, rgba(123, 92, 255, .22), transparent);
  z-index: -1;
}
.col h4 { margin: 2px 4px 10px; font-size: 12px; font-weight: 650; color: var(--muted);
  display: flex; align-items: center; gap: 6px; }
.col h4 b { font-weight: 650; color: var(--faint); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 11px 12px; margin-bottom: 10px; box-shadow: var(--shadow);
}
.card .who { display: flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 600;
  color: var(--muted); }
.av { width: 18px; height: 18px; border-radius: 6px; display: grid; place-items: center;
  font-size: 9px; font-weight: 750; color: #fff; flex: none; }
.card .what { font-size: 13.5px; font-weight: 650; margin: 6px 0 8px; line-height: 1.3; }
.card .meta { flex-wrap: wrap; display: flex; align-items: center; justify-content: space-between; gap: 6px;
  font-size: 11.5px; color: var(--muted); }
.due-hot { color: var(--s-waiting); font-weight: 650; }
.pill { white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px 2px 7px;
  border-radius: 999px; font-size: 11px; font-weight: 650; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.p-todo { color: var(--s-todo); background: var(--s-todo-bg); }
.p-doing { color: var(--s-doing); background: var(--s-doing-bg); }
.p-waiting { color: var(--s-waiting); background: var(--s-waiting-bg); }
.p-done { color: var(--s-done); background: var(--s-done-bg); }
.card.tilt { transform: rotate(-1.5deg); box-shadow: var(--shadow-lg); border-color: var(--accent); }

/* ---- sections ----------------------------------------------------------------------- */
section { padding: 80px 0; }
.sec-head { max-width: 640px; margin-bottom: 44px; }
.sec-head .k { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--warm); margin-bottom: 10px; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.sec-head p { margin-top: 14px; font-size: 18px; color: var(--ink-2); }
.alt { background: var(--surface-2); border-block: 1px solid var(--line-2); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { padding: 26px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 10px; background: var(--grad); color: #fff;
  font-weight: 800; margin-bottom: 16px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--ink-2); }
.flow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; align-items: center;
  font-size: 14px; color: var(--muted); }
.flow .pill { font-size: 13px; padding: 4px 11px 4px 9px; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feat { padding: 24px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); }
.feat .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 16px; }
.feat h3 { font-size: 17px; margin-bottom: 6px; }
.feat p { font-size: 15px; color: var(--ink-2); line-height: 1.55; }

.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.trust div { border-top: 2px solid var(--line); padding-top: 18px; }
.trust h3 { font-size: 17px; margin-bottom: 6px; }
.trust p { color: var(--ink-2); font-size: 15px; }

/* ---- pricing ------------------------------------------------------------------------ */
.draft-tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--s-waiting);
  background: var(--s-waiting-bg); border-radius: 999px; padding: 3px 10px; margin-left: 8px;
  vertical-align: middle; letter-spacing: 0; text-transform: none; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 28px;
  border-radius: 18px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow); }
.plan.hl { border: 2px solid var(--accent); box-shadow: var(--shadow-lg); }
.plan .badge { position: absolute; top: -13px; left: 28px; font-size: 12px; font-weight: 700;
  color: #fff; background: var(--grad); border-radius: 999px; padding: 4px 12px; }
.plan h3 { font-size: 20px; }
.plan .for { color: var(--muted); font-size: 15px; margin-top: 4px; min-height: 48px; }
.price { margin: 18px 0 4px; font-size: 44px; font-weight: 800; letter-spacing: -.04em; }
.price small { font-size: 16px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.yearly { font-size: 14px; color: var(--muted); min-height: 22px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); }
.plan li svg { color: var(--s-done); margin-top: 2px; width: 18px; height: 18px; }
.plan .btn { margin-top: auto; }
.plans-note { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  font-size: 14px; color: var(--muted); }
.plans-note b { color: var(--ink-2); }

/* ---- beta CTA ----------------------------------------------------------------------- */
.beta { padding: 0 0 80px; }
.beta-box { position: relative; overflow: hidden; border-radius: 24px; padding: 56px;
  background: #17161c; color: #f2f2f7; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px;
  align-items: center; }
.beta-box::before { content: ""; position: absolute; inset: -120px auto auto -120px; width: 420px;
  height: 420px; background: radial-gradient(closest-side, rgba(123, 92, 255, .45), transparent); }
.beta-box::after { content: ""; position: absolute; inset: auto -100px -160px auto; width: 460px;
  height: 460px; background: radial-gradient(closest-side, rgba(255, 106, 61, .35), transparent); }
.beta-box > * { position: relative; z-index: 1; }
.beta-box h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.beta-box p { color: #c8c7d2; font-size: 18px; margin-top: 14px; }
.beta-box ul { margin: 18px 0 0; padding-left: 20px; color: #c8c7d2; }
.beta-box .ctas { flex-direction: column; align-items: stretch; margin: 0; }
.beta-box .btn { background: #fff; color: #17161c; border-color: #fff; }
.beta-box .btn.ghost { background: transparent; color: #f2f2f7; border-color: #4a4856;
  box-shadow: none; }
.beta-box .fine { font-size: 13px; color: #9896a3; text-align: center; }

/* ---- FAQ ---------------------------------------------------------------------------- */
.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 650; font-size: 17px; list-style: none;
  display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 22px;
  line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--ink-2); }

/* ---- footer ------------------------------------------------------------------------- */
footer { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 14px;
  color: var(--muted); }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
footer .brand { font-size: 18px; margin-bottom: 10px; }
footer .brand .logo { width: 24px; height: 24px; border-radius: 7px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: flex-end;
  align-content: start; }
footer nav a { color: var(--ink-2); }

/* ---- legal pages -------------------------------------------------------------------- */
.legal { padding: 56px 0 80px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: 38px; font-weight: 800; }
.legal h2 { font-size: 21px; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal .upd { color: var(--muted); margin-top: 8px; font-size: 14px; }
.draft {
  margin: 24px 0 8px; padding: 14px 16px; border-radius: 12px; font-size: 15px;
  background: var(--s-waiting-bg); color: var(--s-waiting); border: 1px solid currentColor;
}
.draft b { font-weight: 750; }
.todo { background: var(--s-waiting-bg); color: var(--s-waiting); border-radius: 4px;
  padding: 0 4px; font-weight: 600; }

/* ---- responsive --------------------------------------------------------------------- */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .plans, .plans-note { grid-template-columns: 1fr; max-width: 480px; }
  .plan.hl { order: -1; }
  .beta-box { grid-template-columns: 1fr; padding: 40px 28px; }
}
@media (max-width: 720px) {
  .top nav a:not(.btn) { display: none; }
  .hero { padding: 40px 0 24px; }
  .lead { font-size: 17px; }
  .ctas .btn { flex: 1 1 100%; }
  .board { grid-template-columns: 1fr; }
  .board .col .card:nth-of-type(n+2) { display: none; }
  .board .col h4 { margin-top: 4px; }
  section { padding: 56px 0; }
  .steps, .trust { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; gap: 12px; }
  .feat { display: grid; grid-template-columns: 42px 1fr; column-gap: 16px; padding: 18px; }
  .feat .ic { grid-row: span 2; margin: 0; }
  .board .col h4.more { display: none; }
  .beta-box .ctas .btn { flex: none; }
  footer .wrap { grid-template-columns: 1fr; }
  footer nav { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
