/* The landing page — design/landing/README.md, drawn in
   design/landing/Tucan Landing.dc.html. The legal pages keep styles.css. */

@font-face { font-family: "Baloo 2"; font-weight: 700; font-display: swap; src: url(fonts/baloo2-700.woff2) format("woff2"); }
@font-face { font-family: "Baloo 2"; font-weight: 800; font-display: swap; src: url(fonts/baloo2-800.woff2) format("woff2"); }
@font-face { font-family: Geist; font-weight: 400; font-display: swap; src: url(fonts/geist-400.woff2) format("woff2"); }
@font-face { font-family: Geist; font-weight: 500; font-display: swap; src: url(fonts/geist-500.woff2) format("woff2"); }
@font-face { font-family: Geist; font-weight: 600; font-display: swap; src: url(fonts/geist-600.woff2) format("woff2"); }
@font-face { font-family: "Geist Mono"; font-weight: 400 500; font-display: swap; src: url(fonts/geistmono-400.woff2) format("woff2"); }

:root {
  --yellow: #FFC42D;
  --graphite: #353535;
  --bg: #F1F2F4;
  --card: #FFFFFF;
  --bd: #ECEEF1;
  --bd2: #E2E3E7;
  --sel: #E3E4E9;
  --hov: #F2F3F5;
  --ink: #18181B;
  --fg2: #3F3F46;
  --body: #52525B;
  /* The design's #71717A is 4.3:1 on the page's grey, under the 4.5 small
     text needs; this is the nearest grey that clears it. */
  --muted: #6B6B74;
  --seg-off: #63636B;
  --muted2: #A1A1AA;
  --now: #DC2626;
  --ok: #3F8F5A;
  --hatch: repeating-linear-gradient(135deg, transparent 0 6px, #ECEEF1 6px 7px), #F1F2F4;
  --title: #353535;
  --pri: #18181B;
  --pri-fg: #FAFAFA;
  --logo-patch: #FFC42D;
  --logo-body: #353535;
  --header-bg: rgba(241, 242, 244, .85);
  --frame: #DFE0E4;
  --tint: 16%;
  --featured: #353535;
  --featured-line: #4A4A4A;
  --featured-muted: #B4B4B8;
  --shadow-frame: 0 40px 80px -30px rgba(24, 24, 27, .25);
  color-scheme: light;
  --brand: "Baloo 2", system-ui, sans-serif;
  --ui: Geist, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* The dark theme: the app's own dark tokens. Followed from the system until
   the visitor picks one with the button in the header (landing.js), which
   is kept in localStorage and set on <html> before the page paints. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B0B0D; --card: #151518; --bd: #232327; --bd2: #2A2A2F; --sel: #2A2A30; --hov: #1E1E22;
    --ink: #F4F4F5; --fg2: #D4D4D8; --body: #A1A1AA; --muted: #A1A1AA; --muted2: #8B8B94; --seg-off: #A1A1AA;
    --now: #EF4444; --ok: #7FC397; --title: #FAFAFA; --pri: #FAFAFA; --pri-fg: #18181B;
    --logo-body: #FAFAFA; --header-bg: rgba(11, 11, 13, .85); --frame: #1E1E22; --tint: 26%;
    --featured: #1E1E22; --featured-line: #34343A; --featured-muted: #A1A1AA;
    --shadow-frame: 0 40px 80px -30px rgba(0, 0, 0, .7);
    --hatch: repeating-linear-gradient(135deg, transparent 0 6px, #232327 6px 7px), #151518;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0B0B0D; --card: #151518; --bd: #232327; --bd2: #2A2A2F; --sel: #2A2A30; --hov: #1E1E22;
  --ink: #F4F4F5; --fg2: #D4D4D8; --body: #A1A1AA; --muted: #A1A1AA; --muted2: #8B8B94; --seg-off: #A1A1AA;
  --now: #EF4444; --ok: #7FC397; --title: #FAFAFA; --pri: #FAFAFA; --pri-fg: #18181B;
  --logo-body: #FAFAFA; --header-bg: rgba(11, 11, 13, .85); --frame: #1E1E22; --tint: 26%;
  --featured: #1E1E22; --featured-line: #34343A; --featured-muted: #A1A1AA;
  --shadow-frame: 0 40px 80px -30px rgba(0, 0, 0, .7);
  --hatch: repeating-linear-gradient(135deg, transparent 0 6px, #232327 6px 7px), #151518;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ui);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-decoration: none; transition: color .15s ease, background-color .15s ease; }
a:hover { color: var(--fg2); }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
section[id] { scroll-margin-top: 80px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.tinted { background: color-mix(in srgb, var(--c) var(--tint), var(--card)); }

/* The name, wherever it is drawn: the symbol and "Tucan" in Baloo 2, with
   the 0.12em Baloo's tall ascent needs back on top. */
.logo { display: flex; align-items: center; gap: 8px; }
.logo .mark { display: block; width: 36px; height: 36px; margin: -3px 0; flex: none; }
.wordmark {
  font-family: var(--brand); font-weight: 800; font-size: 24px;
  letter-spacing: -.01em; line-height: .8; padding-top: .12em; color: var(--title);
}

/* Header */
.top {
  position: sticky; top: 0; z-index: 20;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.top .wrap { padding-top: 14px; padding-bottom: 14px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.nav { display: flex; gap: 22px; font-size: 14px; flex-wrap: wrap; }
.nav a { color: var(--fg2); }
.nav a:hover { color: var(--ink); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; white-space: nowrap;
}
.pill-ghost { height: 36px; padding: 0 14px; font-size: 14px; color: var(--fg2); }
.pill-ghost:hover { background: var(--hov); color: var(--ink); }
.pill-dark { height: 36px; padding: 0 16px; font-size: 14px; font-weight: 500; background: var(--graphite); color: #FAFAFA; }
.pill-dark:hover { background: #2A2A2A; color: #FAFAFA; }
/* In the dark the graphite button would sink into the page: it turns light. */
:root[data-theme="dark"] .top .pill-dark { background: var(--pri); color: var(--pri-fg); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .top .pill-dark { background: var(--pri); color: var(--pri-fg); } }

/* Language and theme, beside the account buttons. */
.lang {
  height: 36px; padding: 0 28px 0 12px; border: 1px solid var(--bd2); border-radius: 999px; background: var(--card);
  color: var(--fg2); font: inherit; font-size: 13.5px; cursor: pointer; appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 15px) 16px, calc(100% - 11px) 16px; background-size: 4px 4px; background-repeat: no-repeat;
}
.lang:hover { border-color: var(--muted2); }
.theme {
  width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--bd2); background: var(--card); color: var(--fg2);
  display: grid; place-items: center; cursor: pointer; padding: 0; transition: background-color .15s ease;
}
.theme:hover { background: var(--hov); }
.theme svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme .sun { display: none; }
:root[data-theme="dark"] .theme .moon { display: none; }
:root[data-theme="dark"] .theme .sun { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme .moon { display: none; }
  :root:not([data-theme="light"]) .theme .sun { display: block; }
}

/* On a phone the menu keeps to one line that scrolls, so the sticky header
   stays one row of links instead of three. */
@media (max-width: 760px) {
  .top .wrap { gap: 10px 16px; }
  .nav { order: 3; width: 100%; flex-wrap: nowrap; overflow-x: auto; gap: 18px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
}
/* On a phone "Log in" goes: it is the same address as the button beside it. */
@media (max-width: 560px) {
  .top .pill-ghost { display: none; }
  .top-actions { gap: 6px; }
  .top .pill-dark { padding: 0 12px; }
}
@media (max-width: 400px) { .top .pill-dark { display: none; } }

/* Hero */
.hero { padding-top: 72px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.hero > * { margin: 0; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 6px;
  border-radius: 999px; background: var(--card); border: 1px solid var(--bd); font-size: 13px; color: var(--fg2);
}
/* On a narrow phone the line wraps: the pill grows with it instead of the
   text spilling out of a fixed 30px. */
@media (max-width: 480px) {
  .badge { height: auto; min-height: 30px; padding: 4px 12px 4px 6px; border-radius: 16px; text-align: left; }
  .badge b { flex: none; }
}
.badge b {
  height: 20px; padding: 0 8px; border-radius: 999px; background: var(--yellow); color: var(--graphite);
  font-size: 11.5px; font-weight: 600; display: inline-flex; align-items: center;
}
.display {
  margin: 0; font-family: var(--brand); font-weight: 800; font-size: clamp(46px, 7vw, 92px);
  line-height: .95; letter-spacing: -.01em; color: var(--title); max-width: 15ch; text-wrap: balance;
}
.lede { margin: 0; font-size: clamp(16px, 1.6vw, 19px); color: var(--body); max-width: 40rem; text-wrap: pretty; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; padding-top: 4px; }
.pill-yellow {
  height: 46px; padding: 0 22px; font-size: 15px; font-weight: 600; background: var(--yellow); color: var(--graphite);
  box-shadow: 0 6px 20px rgba(255, 196, 45, .35);
}
.pill-yellow:hover { background: #F5B91F; color: var(--graphite); }
.pill-white { height: 46px; padding: 0 22px; font-size: 15px; font-weight: 500; background: var(--card); color: var(--ink); border: 1px solid var(--bd2); }
.pill-white:hover { background: var(--hov); color: var(--ink); }
.note { font-size: 13px; color: var(--muted); }

/* The app, in a frame: drawn 1180 wide and scaled to fit (landing.js). The
   frame holds the drawing's proportions from the start, so nothing moves
   when the script arrives. */
.shot { max-width: 1240px; margin: 0 auto; padding: 56px 24px 0; }
.shot { margin: 0 auto; }
.shot-frame { border-radius: 22px; background: var(--frame); padding: 10px; box-shadow: var(--shadow-frame); }
.shot-wrap { position: relative; overflow: hidden; border-radius: 16px; aspect-ratio: 1180 / 876; }
.shot-wrap > .app { position: absolute; left: 0; top: 0; transform-origin: 0 0; transform: scale(var(--s, 1)); }

/* Sections */
.section { padding-top: 140px; }
.stack { display: flex; flex-direction: column; gap: 40px; }
.sec-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px 64px; align-items: end; }
.sec-head > div { display: flex; flex-direction: column; gap: 14px; }
.eyebrow {
  font-size: 13px; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: .06em;
  display: flex; align-items: center; gap: 8px; margin: 0;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.title {
  margin: 0; font-family: var(--brand); font-weight: 800; font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1; letter-spacing: -.01em; color: var(--title); text-wrap: balance;
}
.sec-lede { margin: 0; font-size: 17px; color: var(--body); text-wrap: pretty; }
.card { background: var(--card); border: 1px solid var(--bd); border-radius: 20px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 48px 72px; align-items: center; }
.split > .copy { display: flex; flex-direction: column; gap: 20px; }

/* Segmented control */
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--sel); gap: 2px; }
.seg > * {
  height: 30px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--seg-off);
  font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.seg > [aria-selected="true"], .seg > [aria-pressed="true"], .seg > .on {
  background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
}
.seg > button:hover { color: var(--ink); }

/* Calendar */
.cal { overflow: hidden; }
.cal-bar { display: flex; align-items: center; gap: 12px; padding: 14px 16px; flex-wrap: wrap; }
.cal-caption { font-size: 13px; color: var(--muted); }
.scroll-x { overflow-x: auto; }
.week { min-width: 900px; display: flex; gap: 6px; padding: 0 10px 10px; }
.day { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; background: var(--bg); border-radius: 12px; padding: 8px; min-height: 340px; }
.day.off { background: var(--hatch); }
.day-head { display: flex; align-items: center; gap: 6px; padding: 2px 2px 4px; }
.day-head .dow { font-size: 11px; font-weight: 500; color: var(--muted); }
.day-head .num { min-width: 24px; height: 24px; padding: 0 4px; border-radius: 999px; display: grid; place-items: center; font-size: 13px; font-weight: 500; }
.day.today .dow { color: var(--ink); }
.day.today .num { background: var(--pri); color: var(--pri-fg); }
.task { display: flex; align-items: center; gap: 6px; padding: 7px 9px; border-radius: 10px; background: var(--card); font-size: 11.5px; }
.task::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--muted); flex: none; }
.post { background: var(--card); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.post-top { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); }
.post-top span:first-child { flex: 1; }
.post-title { font-size: 12.5px; font-weight: 500; line-height: 1.3; }
.chips { display: flex; flex-wrap: wrap; gap: 4px; }
.chip { font-size: 10.5px; padding: 2px 7px; border-radius: 999px; color: var(--fg2); display: inline-flex; align-items: center; gap: 4px; }
.chip.tinted { color: var(--fg2); }
.chip-state { background: var(--hov); color: var(--ink); }
.dot { width: 6px; height: 6px; border-radius: 50%; flex: none; display: inline-block; }
.av { border-radius: 50%; color: #fff; font-weight: 600; display: grid; place-items: center; flex: none; }
.av-20 { width: 20px; height: 20px; font-size: 8.5px; }
.av-22 { width: 22px; height: 22px; font-size: 9px; }
.av-24 { width: 24px; height: 24px; font-size: 9px; }
.av-18 { width: 18px; height: 18px; font-size: 7.5px; }

.month { min-width: 760px; padding: 0 12px 12px; }
.month-dow, .month-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.month-dow { padding-bottom: 6px; }
.month-dow span { font-size: 11px; font-weight: 500; color: var(--muted); padding-left: 8px; }
.cell { border-radius: 10px; background: var(--bg); padding: 6px; display: flex; flex-direction: column; gap: 3px; overflow: hidden; min-height: 96px; }
.cell.out { opacity: .45; }
.cell-n { font-size: 12px; font-weight: 500; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; }
.cell.today .cell-n { background: var(--pri); color: var(--pri-fg); }
.cell-chip { font-size: 11px; padding: 3px 7px; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.list { min-width: 820px; padding-bottom: 10px; }
.list-row { display: grid; grid-template-columns: minmax(0, 2.2fr) 1.3fr 1.2fr 1.1fr 1.2fr 64px; align-items: center; }
.list-head { padding: 0 24px; font-size: 11.5px; color: var(--muted); font-weight: 500; height: 32px; }
.list-body { padding: 0 8px; display: flex; flex-direction: column; gap: 2px; }
.list-body .list-row { padding: 0 16px; height: 46px; border-radius: 10px; font-size: 12.5px; background: var(--card); transition: background-color .15s ease; }
.list-body .list-row:hover { background: var(--hov); }
.list-row .subject { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 12px; }
.list-row .when { color: var(--fg2); }
.list-row .fmt { font-size: 11.5px; padding: 3px 9px; border-radius: 999px; }
.list-row .with { display: flex; align-items: center; gap: 7px; }
.list-row .state { display: flex; align-items: center; gap: 6px; }
.list-row .media { color: var(--muted); }

/* Review */
.steps { display: flex; flex-direction: column; border-top: 1px solid var(--bd2); margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 36px 1fr; gap: 4px 10px; padding: 16px 0; border-bottom: 1px solid var(--bd2); }
.steps .n { font-family: var(--mono); font-size: 13px; color: var(--muted); padding-top: 2px; }
.steps h3 { margin: 0; font-size: 15px; font-weight: 500; }
.steps p { margin: 0; font-size: 14px; color: var(--muted); }
.viewer { background: #141416; color: #F4F4F5; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(24, 24, 27, .4); font-size: 13px; }
.viewer-top { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.viewer-top .name { font-weight: 600; }
.viewer-top .where { font-size: 11.5px; color: #A1A1AA; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }
.viewer-top .btn { height: 28px; padding: 0 12px; border-radius: 999px; background: #2A2A30; font-size: 12px; display: inline-flex; align-items: center; }
.viewer-top .x { width: 28px; height: 28px; border-radius: 50%; background: #2A2A30; display: grid; place-items: center; font-size: 12px; }
.viewer-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.viewer-media { padding: 6px 16px 18px; display: grid; place-items: center; }
.video {
  width: 100%; max-width: 230px; aspect-ratio: 9 / 16; border-radius: 12px; position: relative; display: grid; place-items: center;
  background: repeating-linear-gradient(135deg, #1E1E22 0 6px, #26262B 6px 7px), #1B1B1F; color: #6B6B74; font-size: 12px;
}
.video .bar { position: absolute; left: 10px; right: 10px; bottom: 10px; height: 3px; border-radius: 2px; background: #3A3A40; }
.video .bar::before { content: ""; position: absolute; inset: 0 78% 0 0; border-radius: 2px; background: #F4F4F5; }
.video .bar::after { content: ""; position: absolute; left: 22%; top: -3px; width: 9px; height: 9px; margin-left: -4px; border-radius: 50%; background: #F4F4F5; }
.viewer-side { padding: 6px 16px 18px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.viewer-side .sent { font-size: 12px; color: #A1A1AA; }
.verdicts { display: flex; gap: 6px; flex-wrap: wrap; }
.verdicts span { flex: 1; min-width: 96px; height: 36px; border-radius: 999px; font-weight: 500; display: grid; place-items: center; }
.verdicts .ok { background: #7FC397; color: #0B0B0D; }
.verdicts .ask { border: 1px solid #3A3A40; }
.viewer-side .head { font-size: 12px; font-weight: 500; color: #D4D4D8; }
.comment { display: flex; gap: 9px; }
.comment .who { font-size: 12px; }
.comment .who b { font-weight: 600; }
.comment .at { color: #7FC397; }
.comment .ago { color: #A1A1AA; }
.comment p { margin: 0; font-size: 12.5px; color: #D4D4D8; }
.viewer-foot { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #1B1B1F; font-size: 12px; color: #D4D4D8; }
@media (max-width: 480px) { .viewer-body { grid-template-columns: 1fr; } }

/* Ideas */
.ideas-card { padding: 20px; display: flex; flex-direction: column; gap: 14px; font-size: 13px; line-height: 1.4; }
.board-title { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.board-sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.jot { height: 38px; border-radius: 12px; background: var(--bg); display: flex; align-items: center; gap: 10px; padding: 0 12px; color: var(--muted); font-size: 12.5px; }
.jot svg { width: 15px; height: 15px; flex: none; }
.jot span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kbd { font-size: 10.5px; border: 1px solid var(--bd2); border-radius: 5px; padding: 1px 5px; background: var(--card); white-space: nowrap; color: var(--muted); }
.masonry { columns: 2 180px; column-gap: 10px; }
.idea { break-inside: avoid; margin-bottom: 10px; background: var(--bg); border-radius: 14px; padding: 8px; display: flex; flex-direction: column; gap: 8px; }
.idea-cover { border-radius: 10px; background: var(--sel); position: relative; }
.idea-src {
  position: absolute; left: 8px; top: 8px; font-size: 10.5px; font-weight: 500; padding: 2px 8px 2px 6px; border-radius: 999px;
  background: var(--card); display: inline-flex; align-items: center; gap: 5px;
}
.idea-body { padding: 0 4px 4px; display: flex; flex-direction: column; gap: 6px; }
.idea-body .chips span { font-size: 10.5px; padding: 2px 8px; border-radius: 999px; background: var(--card); }
.idea-title { font-size: 13.5px; font-weight: 600; line-height: 1.3; margin: 0; }
.idea-text { font-size: 12px; color: var(--fg2); margin: 0; }
.idea-by { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); }
.idea-by span:nth-child(2) { flex: 1; }

/* Gallery */
.gallery-card { padding: 22px 24px; font-size: 13px; line-height: 1.4; }
.gallery-head { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.gallery-head > div:first-child { flex: 1; min-width: 200px; }
.gallery-head .seg > * { height: 28px; padding: 0 12px; font-size: 12px; cursor: default; }
.month-group { margin-bottom: 18px; }
.month-group h3 { font-size: 12.5px; font-weight: 500; color: var(--muted); margin: 0 0 10px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 12px; }
.tile { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tile-img { aspect-ratio: 4 / 5; border-radius: 12px; background: var(--hatch); position: relative; }
.tile-kind { position: absolute; left: 8px; top: 8px; font-size: 10.5px; font-weight: 500; padding: 2px 7px; border-radius: 999px; background: var(--card); }
.tile-ok { position: absolute; right: 8px; bottom: 8px; width: 18px; height: 18px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-size: 10px; }
.tile-name { font-size: 12px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-post { font-size: 11px; color: var(--muted); margin-top: -4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Pricing */
.pricing { display: flex; flex-direction: column; align-items: center; gap: 36px; }
.pricing-head { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.pricing-head .seg { margin-top: 8px; }
.pricing-head .seg > * { height: 32px; padding: 0 16px; font-size: 13.5px; }
.plans { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.plan { border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 20px; background: var(--card); color: var(--ink); border: 1px solid var(--bd); }
.plan-name { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 16px; margin: 0; }
.plan-badge { height: 22px; padding: 0 9px; border-radius: 999px; background: var(--yellow); color: var(--graphite); font-size: 11.5px; font-weight: 600; display: inline-flex; align-items: center; }
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-price .amount { font-size: 46px; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.plan-price .unit, .plan-desc, .plan-feats .tick { color: var(--muted); }
.plan-price .unit { font-size: 13.5px; }
.plan-desc { font-size: 14px; min-height: 42px; margin: 0; }
.plan-cta { height: 42px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 500; background: var(--card); color: var(--ink); border: 1px solid var(--bd2); }
.plan-cta:hover { background: var(--hov); color: var(--ink); }
.plan-feats { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--bd); padding: 18px 0 0; margin: 0; list-style: none; }
.plan-feats li { display: flex; gap: 10px; font-size: 14px; }
.plan.featured { background: var(--featured); color: #FAFAFA; border-color: var(--featured); }
.plan.featured .plan-price .unit, .plan.featured .plan-desc, .plan.featured .tick { color: var(--featured-muted); }
.plan.featured .plan-feats { border-top-color: var(--featured-line); }
.plan.featured .plan-cta { background: var(--yellow); color: var(--graphite); border-color: var(--yellow); }
.plan.featured .plan-cta:hover { background: #F5B91F; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.faq .title { text-align: center; }
.faq-list { overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--bd); }
.faq-item:last-child { border-bottom: 0; }
.faq-item h3 { margin: 0; }
.faq-q {
  width: 100%; border: 0; background: transparent; color: var(--ink); text-align: left; cursor: pointer;
  padding: 20px 22px; display: flex; align-items: center; gap: 16px; font-size: 16px; font-weight: 500;
}
.faq-q span:first-child { flex: 1; }
.faq-q .sign { width: 28px; height: 28px; flex: none; border-radius: 999px; background: var(--hov); display: grid; place-items: center; font-size: 16px; color: var(--fg2); transition: background-color .15s ease; }
.faq-q:hover .sign { background: var(--sel); }
.faq-q:focus-visible { outline-offset: -2px; border-radius: 0; }
.faq-a { padding: 0 66px 22px 22px; font-size: 15px; color: var(--body); text-wrap: pretty; margin: 0; }
@media (max-width: 480px) { .faq-a { padding-right: 22px; } }

/* The last call */
.cta {
  background: var(--yellow); color: var(--graphite); border-radius: 28px; padding: clamp(48px, 7vw, 96px) 24px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px;
}
.cta h2 {
  margin: 0; font-family: var(--brand); font-weight: 800; font-size: clamp(38px, 5.6vw, 72px);
  line-height: .95; letter-spacing: -.01em; max-width: 14ch; text-wrap: balance;
}
.cta p { margin: 0; font-size: 17px; color: #4A4A4A; max-width: 34rem; }
.cta .pill-dark { height: 48px; padding: 0 24px; font-size: 15px; margin-top: 6px; }

/* Footer */
.foot { padding: 56px 24px 40px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.foot .logo { gap: 6px; }
.foot .logo .mark { width: 28px; height: 28px; margin: 0; }
.foot .wordmark { font-size: 19px; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot .langs { margin-left: auto; }
.foot nav a { color: var(--muted); }
.foot nav a:hover { color: var(--ink); }
