/* Pixul — the pages Pixul itself shows (marketing, gallery, viewer, billing, update, legal, 404).
   Visual language: the 2026-11 prototype (Base44-inspired): warm off-white ground, white header, one orange,
   large tight headlines, quiet cards. Archivo is the one family; ux/DESIGN-SYSTEM.md has the reasoning and the
   measured contrast for every color role. */

:root {
  /* grounds */
  --bg: #f6f4f0;            /* page */
  --bg-soft: #faf9f7;       /* inner pages, the builder */
  --surface: #ffffff;       /* header, cards, fields */
  --sunken: #f1f1ef;        /* wells, the editor workspace */
  --tray: #e9e7e4;          /* the suggestion tray under the idea box */
  /* text (all AA on --bg and --surface) */
  --text: #191919;          /* 16.0:1 on --bg */
  --text-2: #4f4f4f;        /* body copy, 8.2:1 */
  --muted: #6b6b6b;         /* hints, captions, 4.85:1 on --bg, 5.3:1 on white */
  /* lines */
  --line: #e6e3de;          /* dividers, card edges (decorative) */
  --line-2: #dedbd7;        /* stronger divider */
  --line-field: #949088;    /* form field borders, 3.2:1 on white */
  /* accent and status */
  --orange: #ff6200;        /* the brand orange: fills, marks, rules, focus */
  --orange-hover: #ec5a00;
  --on-orange: #191919;     /* text on orange: 5.9:1. White would be 3.0:1 (fails AA for 15px text). */
  --orange-text: #b84400;   /* orange words on light grounds, 4.95:1 */
  --dark: #191919;
  --green: #1f8a4c;
  --amber: #96702f;
  --red: #b3261e;
  /* shape, depth, motion */
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 14px;
  --shadow: 0 8px 23px rgba(0, 0, 0, .05);
  --shadow-pop: 0 12px 32px rgba(0, 0, 0, .12);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t: .16s;
  /* layout */
  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 78px;
  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Aliases kept for the builder stylesheet until its slices move to the names above. */
  --ink: #0b0b0a; --ink-2: #151513; --ink-3: #242421; --ink-line: rgba(244, 241, 234, .14);
  --paper: #f4f1ea; --paper-2: #ebe7dd; --orange-deep: #b84400; --dim: #3a3a36;
  --muted-dark: #a6a299; --radius: 4px; --display: var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg-soft);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--orange); color: var(--on-orange); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--dark); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.ic { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- type ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5vw, 3.625rem); letter-spacing: -0.055em; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -0.05em; }
h3 { font-size: 1.1875rem; letter-spacing: -0.03em; line-height: 1.25; }
p { margin: 0; text-wrap: pretty; }
.eyebrow { display: inline-block; font-size: 0.875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.eyebrow.orange, .orange-text { color: var(--orange-text); }
.lede { font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); line-height: 1.5; color: var(--text-2); max-width: 40em; }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--orange); --fg: var(--on-orange);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 0 22px;
  background: var(--bg); color: var(--fg);
  border: 1px solid transparent; border-radius: var(--r);
  font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background var(--t), border-color var(--t), color var(--t);
}
.btn:hover { --bg: var(--orange-hover); }
.btn .ic { width: 17px; height: 17px; }
.btn--dark, .btn--ink { --bg: var(--dark); --fg: #fff; }
.btn--dark:hover, .btn--ink:hover { --bg: #333331; }
.btn--ghost, .btn--outline { --bg: var(--surface); --fg: var(--text); border-color: var(--line-2); }
.btn--ghost:hover, .btn--outline:hover { --bg: var(--surface); border-color: var(--text); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 0.875rem; border-radius: 8px; }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 1rem; }
.btn:disabled, .btn[aria-disabled="true"] { --bg: var(--sunken); --fg: #8a8780; border-color: transparent; cursor: default; }
.btn[aria-busy="true"] { pointer-events: none; opacity: .8; }
.btn[aria-busy="true"] .arrow, .btn[aria-busy="true"] .ic { display: none; }
.btn .spin { display: none; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.btn[aria-busy="true"] .spin { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.linkbtn, .tlink { border: 0; background: none; padding: 2px 0; font: inherit; font-weight: 600; color: inherit; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 1.5px; text-underline-offset: 5px; cursor: pointer; }
.linkbtn:hover, .tlink:hover { text-decoration-color: currentColor; }

/* ---------- the mark ---------- */
/* The 4×4 pixel mark: lit cells in orange, the rest in faint orange. */
.mark { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; width: 26px; aspect-ratio: 1; flex: none; }
.mark i { background: var(--orange); opacity: .28; }
.mark i.on { opacity: 1; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 1.875rem; letter-spacing: -0.06em; line-height: 1; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header .wrap { position: relative; display: flex; align-items: center; gap: 24px; height: var(--header-h); max-width: none; padding-inline: 3.8%; }
.nav { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 30px; white-space: nowrap; }
.nav > a, .nav-drop > summary { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-size: 1rem; letter-spacing: -0.02em; text-decoration: none; color: var(--text); cursor: pointer; }
.nav > a:hover, .nav-drop > summary:hover { color: var(--orange-text); }
.nav > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--orange); }
.nav-drop { position: relative; }
.nav-drop > summary { list-style: none; }
.nav-drop > summary::-webkit-details-marker { display: none; }
.nav-drop > summary .ic { width: 14px; height: 14px; transition: transform var(--t); }
.nav-drop[open] > summary .ic { transform: rotate(180deg); }
.nav-menu { position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%); min-width: 250px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-pop); display: grid; }
.nav-menu a { display: grid; gap: 1px; padding: 10px 12px; border-radius: 8px; text-decoration: none; font-size: 0.9375rem; font-weight: 600; }
.nav-menu a small { font-weight: 400; font-size: 0.8125rem; color: var(--muted); }
.nav-menu a:hover, .nav-menu a:focus-visible { background: var(--bg); outline-offset: -2px; }
.nav-menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.header-link { font-size: 1rem; letter-spacing: -0.02em; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.header-link:hover { color: var(--orange-text); }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; padding: 0; border: 0; background: none; align-items: center; justify-content: center; color: var(--text); }
.menu-btn .ic { width: 26px; height: 26px; }
.mmenu { position: absolute; left: 12px; right: 12px; top: calc(100% - 6px); display: grid; gap: 2px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-pop); }
.mmenu a { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 12px; border-radius: 8px; text-decoration: none; font-size: 1rem; }
.mmenu a:hover { background: var(--bg); }
.mmenu .btn { margin-top: 6px; }
@media (max-width: 1080px) { .nav { gap: 20px; } .nav > a, .nav-drop > summary, .header-link { font-size: 0.9375rem; } .header-cta { gap: 18px; } }
@media (max-width: 900px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 600px) {
  :root { --header-h: 72px; }
  .site-header .wrap { padding-inline: 20px; }
  .brand { font-size: 1.6875rem; gap: 9px; }
}

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head .eyebrow { grid-column: 1 / -1; }
.section-head p { color: var(--text-2); font-size: 1.0625rem; max-width: 32em; }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- homepage: hero ---------- */
.home { background: var(--bg); }
.home main { overflow-x: clip; }
.home-hero { text-align: center; padding: 60px 20px 0; }
.home-hero h1 { font-size: clamp(3.5rem, 7vw, 6.25rem); line-height: 1.015; letter-spacing: -0.055em; word-spacing: 0.04em; font-weight: 700; }
.hero-sub { font-size: 1.3125rem; line-height: 1.5; letter-spacing: -0.02em; color: var(--text-2); margin: 34px auto 37px; max-width: 34em; }
.h-mobile { display: none; }

/* the idea box (homepage and the builder's first step) */
.prompt-wrap { max-width: 788px; margin: 0 auto; text-align: left; }
.prompt { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: 213px; padding: 26px 28px 23px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.home .prompt { border-color: transparent; }
.prompt:focus-within { border-color: var(--line-field); }
.prompt textarea { flex: 1; width: 100%; min-height: 104px; resize: none; border: 0; background: transparent; padding: 0; font-size: 1.25rem; line-height: 1.35; color: var(--text); outline: none; }
.prompt textarea::placeholder { color: var(--muted); }
.prompt-tools { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 10px; }
.prompt-tools .tools { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.tool { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0; border: 0; background: none; font-size: 0.875rem; color: #414141; text-decoration: none; }
.tool:hover { color: var(--text); }
.tool .ic { width: 17px; height: 17px; }
.tool[aria-pressed="true"] { color: var(--orange-text); }
.go { display: inline-grid; place-items: center; width: 50px; height: 50px; padding: 0; border: 0; border-radius: var(--r); background: var(--orange); color: #fff; flex: none; }
.go:hover { background: var(--orange-hover); }
.go .ic { width: 24px; height: 24px; stroke-width: 2.4; }
.url-field { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 6px 6px 6px 12px; border: 1px solid var(--line-field); border-radius: 8px; }
.url-field .ic { width: 16px; height: 16px; color: var(--muted); }
.url-field input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 0.9375rem; padding: 6px 0; }
.url-field button { width: 32px; height: 32px; border: 0; background: none; border-radius: 6px; display: grid; place-items: center; color: var(--muted); }
.url-field button:hover { background: var(--bg); color: var(--text); }
.suggestions { display: flex; flex-wrap: wrap; justify-content: center; gap: 11px; padding: 11px 12px 13px; background: var(--tray); border-radius: 0 0 13px 13px; margin: 0 6px; }
.suggestions button { min-height: 44px; padding: 0 16px; border: 0; border-radius: 4px; background: var(--surface); font-size: 0.875rem; white-space: nowrap; }
.suggestions button:hover { box-shadow: inset 0 0 0 1px var(--line-field); }
.price-note { margin-top: 24px; font-size: 0.875rem; color: var(--muted); text-align: center; }

/* the rail of real designs under the hero */

@media (min-width: 601px) and (max-width: 1100px) { .home-hero h1 { font-size: clamp(3.5rem, 9vw, 6rem); } }
@media (max-width: 600px) {
  .home { background-color: #f8f7f3; background-image: radial-gradient(#cec9c0 .45px, transparent .45px); background-size: 5px 5px; }
  .home .site-header { background: transparent; }
  .home-hero { padding: 44px 20px 0; }
  .h-desk { display: none; }
  .h-mobile { display: block; }
  .home-hero h1 { font-size: 2.875rem; line-height: 1.115; letter-spacing: -0.05em; }
  .hero-sub { font-size: 1rem; letter-spacing: 0; margin: 25px auto 26px; color: #484848; }
  .prompt { min-height: 213px; padding: 19px 20px 16px; border-color: #e5e1db; border-radius: 15px; box-shadow: 0 2px 5px rgba(0,0,0,.02); }
  .prompt textarea { font-size: 1rem; min-height: 120px; }
  .prompt-tools .tools { gap: 17px; }
  .go { width: 46px; height: 46px; }
  .suggestions { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0; padding: 10px 2px 2px; background: none; }
  .suggestions::-webkit-scrollbar { display: none; }
  .suggestions button { border: 1px solid var(--line-2); border-radius: 999px; }
  .price-note { font-size: 0.75rem; margin-top: 18px; }
}

/* ---------- homepage: how it works ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 28px; display: grid; gap: 12px; align-content: start; }
.step .num { font-size: 0.8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.step h3 { font-size: 1.375rem; }
.step p { color: var(--text-2); font-size: 0.9375rem; line-height: 1.55; }
.step .tag { justify-self: start; margin-top: 4px; font-size: 0.8125rem; font-weight: 600; color: var(--orange-text); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.callout { margin-top: 32px; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 20px 24px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--orange); border-radius: 0 12px 12px 0; max-width: 820px; }
.callout .ic { width: 22px; height: 22px; margin-top: 2px; color: var(--orange-text); }
.callout p { color: var(--text-2); font-size: 0.9375rem; }

/* ---------- design cards (homepage + gallery) ---------- */
.tgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
@media (max-width: 1000px) { .tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; } }
@media (max-width: 600px) { .tgrid { grid-template-columns: 1fr; gap: 34px; } }
.tcard[hidden] { display: none; }
.tcard-shot { display: block; aspect-ratio: 16 / 11.2; overflow: hidden; border: 1px solid var(--line-2); border-radius: 8px; background: #f7f1eb; }
.tcard-shot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform .5s var(--ease); }
@media (hover: hover) { .tcard:hover .tcard-shot img { transform: scale(1.015); } }
.tcard-cap { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.tcard-cap h3 { font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.03em; }
.tcard-cap h3 a { text-decoration: none; }
.tcard-cap h3 small { font-weight: 400; color: var(--muted); font-size: 0.875rem; letter-spacing: 0; margin-left: 4px; }
.tcard-preview { display: inline-flex; align-items: center; gap: 4px; font-size: 0.875rem; color: var(--muted); text-decoration: none; white-space: nowrap; min-height: 44px; }
.tcard-preview:hover { color: var(--text); }
.tcard-preview .ic { width: 13px; height: 13px; }
.tcard-for { font-size: 0.875rem; color: var(--muted); margin-top: 2px; }
.tcard-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; margin-top: 4px; }
.tcard-fav { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; border: 0; background: none; font-size: 0.8125rem; color: var(--muted); }
.tcard-fav .ic { width: 15px; height: 15px; }
.tcard-fav[aria-pressed="true"] { color: var(--orange-text); }
.tcard-fav[aria-pressed="true"] .ic { fill: currentColor; }
.tcard-start { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.8125rem; font-weight: 600; text-underline-offset: 4px; }
.tcard-tag { display: inline-block; font-size: 0.75rem; font-weight: 600; padding: 3px 8px; border-radius: 4px; background: var(--sunken); color: var(--text-2); }
.tpl-more { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 48px; }
.tpl-more p { color: var(--muted); max-width: 34em; font-size: 0.9375rem; }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }
.plan h3 { font-size: 1.5rem; }
.plan-price { font-size: 2.375rem; font-weight: 600; letter-spacing: -0.04em; margin: 14px 0 6px; font-variant-numeric: tabular-nums; }
.plan-price span { font-size: 1rem; font-weight: 400; color: var(--muted); letter-spacing: -0.02em; }
.plan-price s { font-size: 1.125rem; font-weight: 400; color: var(--muted); margin-left: 10px; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.ticks { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 12px; font-size: 0.9375rem; color: var(--text-2); }
.ticks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.ticks .ic { width: 18px; height: 18px; color: var(--orange-text); margin-top: 2px; stroke-width: 2.4; }
.ticks b { color: var(--text); font-weight: 600; }
.paysheet { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 28px 30px; }
.paysheet h3 { font-size: 1.1875rem; margin-bottom: 8px; }
.paysheet dl { margin: 0; }
.paysheet dl > div { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 0.9375rem; }
.paysheet dt { font-weight: 600; }
.paysheet dt small, .paysheet dd small { display: block; font-weight: 400; font-size: 0.8125rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.paysheet dd { margin: 0; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.paysheet .total { border-top: 1px solid var(--text); }
.paysheet .total dd { font-size: 1.25rem; }
.paysheet .fine { margin-top: 10px; font-size: 0.8125rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 40px clamp(40px, 7vw, 100px); align-items: start; }
.faq-grid .side { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-grid .side p { margin-top: 20px; color: var(--text-2); max-width: 22em; }
.faq-grid .side a { font-weight: 600; text-underline-offset: 4px; text-decoration-color: var(--orange); }
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 24px; gap: 20px; align-items: center; padding: 22px 0; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { position: relative; width: 24px; height: 24px; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: currentColor; transform: translate(-50%, -50%); transition: transform var(--t) var(--ease); }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq summary:hover { color: var(--orange-text); }
.faq .a { padding: 0 44px 24px 0; color: var(--text-2); max-width: 40em; }
.faq .a p + p { margin-top: 12px; }
.faq .a a { font-weight: 600; text-underline-offset: 3px; text-decoration-color: var(--orange); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .side { position: static; } .faq .a { padding-right: 0; } }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px clamp(40px, 7vw, 100px); align-items: start; }
.form-grid--update { grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr); }
.form-grid--update .side-card { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 900px) { .form-grid, .form-grid--update { grid-template-columns: 1fr; } .form-grid--update .side-card { position: static; } }
.next { list-style: none; padding: 0; margin: 30px 0 0; counter-reset: n; border-top: 1px solid var(--line-2); }
.next li { counter-increment: n; display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-2); color: var(--text-2); }
.next li::before { content: "0" counter(n); font-weight: 600; color: var(--orange-text); font-variant-numeric: tabular-nums; }
.next li b { color: var(--text); font-weight: 600; }
.direct { margin-top: 28px; display: grid; gap: 8px; color: var(--muted); }
.direct a { color: var(--text); font-weight: 600; text-underline-offset: 4px; text-decoration-color: var(--orange); }

.card-form { background: var(--surface); padding: clamp(24px, 3.4vw, 36px); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; align-content: start; }
.field.full { grid-column: 1 / -1; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }
.field label, .field legend, .field .label { font-size: 0.875rem; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 46px; border: 1px solid var(--line-field); background: var(--surface); border-radius: 8px;
  padding: 11px 13px; font-size: 1rem; outline: none; transition: border-color var(--t), box-shadow var(--t);
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--text-2); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--text); box-shadow: 0 0 0 3px rgba(255, 98, 0, .25); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field .hint { font-size: 0.8125rem; color: var(--muted); }
.field .hint a { color: var(--text); font-weight: 600; text-decoration-color: var(--orange); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field .ferr { font-size: 0.8125rem; font-weight: 600; color: var(--red); }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.field legend { padding: 0; margin-bottom: 9px; }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--text); border-bottom: 2px solid var(--text); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-field); border-radius: 999px; background: var(--surface); font-size: 0.9375rem; font-weight: 500; transition: background var(--t), border-color var(--t), color var(--t); }
.chip input:hover + span { border-color: var(--text); }
.chip input:checked + span { background: var(--dark); border-color: var(--dark); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 3px; }
.drop { position: relative; display: grid; place-items: center; text-align: center; gap: 6px; padding: 26px 18px; border: 1px dashed var(--line-field); border-radius: 10px; background: var(--surface); transition: border-color var(--t), background var(--t); }
.drop:focus-within { outline: 2px solid var(--orange); outline-offset: 3px; }
.drop.over { border-color: var(--orange); background: #fff6f0; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop strong { font-weight: 600; }
.drop strong u { text-decoration-color: var(--orange); text-underline-offset: 3px; }
.drop small { color: var(--muted); font-size: 0.8125rem; }
.files { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.files li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: var(--bg); border-radius: 8px; font-size: 0.875rem; }
.files li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.files li em { font-style: normal; color: var(--muted); font-size: 0.8125rem; }
.files button { width: 32px; height: 32px; border: 0; background: none; border-radius: 6px; font-size: 1.1rem; line-height: 1; color: var(--muted); }
.files button:hover { color: var(--text); background: var(--sunken); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 24px; }
.form-foot .btn { min-width: 200px; }
.form-foot p { font-size: 0.8125rem; color: var(--muted); flex: 1; min-width: 200px; }
.field-err { margin-top: 6px; color: var(--red); font-size: 0.8125rem; font-weight: 600; line-height: 1.4; }
.btn svg.arrow { width: 18px; height: 18px; flex: none; }
.form-error { margin-top: 16px; padding: 12px 14px; background: #fdecea; color: #8e1a10; border-radius: 8px; font-size: 0.9375rem; }
.form-error a { font-weight: 600; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sent { display: grid; gap: 14px; justify-items: start; padding: 8px 0; }
.sent h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.sent p { color: var(--text-2); max-width: 30em; }

/* pixel progress grid (used by the sent/welcome panels) */
.px { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; aspect-ratio: 1; width: 40px; }
.px i { background: var(--orange); opacity: .15; transition: opacity .25s; }
.px i.on { opacity: 1; }

/* ---------- inner pages ---------- */
.page-hero { background: var(--bg); padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-hero h1 { margin: 18px 0 20px; max-width: 14em; }
.page-hero .lede { color: var(--text-2); }
.welcome { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; margin-top: 28px; max-width: 40em; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--orange); border-radius: 0 12px 12px 0; outline: none; }
.welcome .px { width: 32px; }
.welcome b { font-size: 1.125rem; }
.welcome p { margin: 6px 0 0; color: var(--text-2); }
.side-card { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.side-card h3 { margin-bottom: 12px; }
.side-card ul { list-style: none; margin: 0; padding: 0; }
.side-card li { padding: 14px 0; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.side-card li span { font-size: 0.75rem; color: var(--muted); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.side-card li a { font-weight: 600; font-size: 1.0625rem; text-decoration: none; }
.side-card li a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; }
.side-card .note { margin-top: 16px; font-size: 0.875rem; color: var(--muted); }
.bill-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 820px) { .bill-grid { grid-template-columns: 1fr; } }
.bill { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; padding: clamp(24px, 3.4vw, 36px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.bill.primary { border-color: var(--line-field); box-shadow: var(--shadow); }
.bill h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.bill p { color: var(--text-2); max-width: 30em; }
.bill .btn { margin-top: 8px; }
.bill .bill-alt { font-size: 0.875rem; color: var(--muted); }
.bill .amount { font-size: 2.75rem; font-weight: 600; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.bill .amount small { font-size: .38em; color: var(--muted); letter-spacing: 0; font-weight: 400; }
.amount-was { font-size: .4em; font-weight: 400; color: var(--muted); text-decoration-color: var(--orange); text-decoration-thickness: 2px; margin-left: 6px; vertical-align: middle; }
.special { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--text-2); font-size: 0.9375rem; }
.special b { color: var(--text); font-weight: 600; }
.plan-yearly { margin-top: 10px; color: var(--text-2); font-size: 0.9375rem; }
.bill .plan-yearly { margin-top: 0; }
.special-tag { display: inline-flex; align-items: center; padding: 5px 10px; background: #fff1e8; color: var(--orange-text); font-size: 0.75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-radius: 4px; line-height: 1; }
.bill-foot { margin-top: 32px; display: grid; gap: 10px; color: var(--muted); max-width: 46em; }
.bill-foot a { color: var(--text); font-weight: 600; text-decoration-color: var(--orange); text-underline-offset: 3px; }

/* ---------- gallery ---------- */
.gallery { padding: clamp(48px, 7vw, 84px) 0 clamp(72px, 9vw, 110px); }
.gallery h1 { font-size: clamp(2.9rem, 5.6vw, 4.625rem); font-weight: 500; letter-spacing: -0.065em; margin-top: 22px; }
.gallery .lede { margin-top: 22px; color: var(--text-2); }
.filter-tabs { display: flex; gap: 32px; margin-top: 48px; border-bottom: 1px solid var(--line-2); overflow-x: auto; scrollbar-width: none; }
.filter-tabs::-webkit-scrollbar { display: none; }
.filter-tabs button { position: relative; flex: none; min-height: 44px; padding: 7px 0 16px; border: 0; background: none; font-size: 1rem; white-space: nowrap; color: var(--text-2); }
.filter-tabs button:hover { color: var(--text); }
.filter-tabs button[aria-pressed="true"] { font-weight: 600; color: var(--text); }
.filter-tabs button[aria-pressed="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange); }
.tpl-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin: 24px 0 32px; }
.tpl-count { font-size: 0.875rem; color: var(--muted); }
.tpl-search { display: flex; align-items: center; gap: 8px; min-width: min(100%, 300px); padding: 0 14px; min-height: 44px; background: var(--surface); border: 1px solid var(--line-field); border-radius: 8px; }
.tpl-search:focus-within { border-color: var(--text); box-shadow: 0 0 0 3px rgba(255, 98, 0, .25); }
.tpl-search .ic { width: 17px; height: 17px; color: var(--muted); }
.tpl-search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 0.9375rem; padding: 10px 0; }
.tpl-search input::placeholder { color: var(--muted); }
.tpl-empty { padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; max-width: 720px; }
.tpl-empty h3 { font-size: 1.4rem; }
.tpl-empty p { margin-top: 10px; color: var(--text-2); }
.tpl-empty-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.gallery-continue { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 48px; }
.gallery-continue p { color: var(--muted); font-size: 0.9375rem; max-width: 36em; }
@media (max-width: 600px) { .filter-tabs { gap: 25px; margin-top: 30px; } .filter-tabs button { font-size: 0.9375rem; } }

/* ---------- viewer (/templates/<slug>) ---------- */
body.viewer { height: 100vh; height: 100dvh; display: flex; flex-direction: column; overflow: hidden; background: var(--sunken); }
.vbar { flex: none; display: flex; align-items: center; gap: 16px; height: 70px; padding: 0 16px 0 10px; background: var(--surface); border-bottom: 1px solid var(--line); }
.vback { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 10px; border-radius: 8px; text-decoration: none; color: var(--muted); }
.vback:hover { background: var(--bg); color: var(--text); }
.vback .ic { width: 20px; height: 20px; }
.vback .mark { width: 22px; }
.vtitle { min-width: 0; display: grid; line-height: 1.2; padding-left: 14px; border-left: 1px solid var(--line-2); }
.vtitle h1 { font-size: 1.0625rem; letter-spacing: -0.02em; line-height: 1.2; }
.vtitle span { font-size: 0.8125rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vdevices { display: flex; gap: 2px; margin-left: auto; padding: 3px; background: var(--sunken); border-radius: 8px; }
.vdevices button { display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 12px; border: 0; border-radius: 6px; background: none; color: var(--muted); font-size: 0.875rem; }
.vdevices button .ic { width: 18px; height: 18px; }
.vdevices button:hover { color: var(--text); }
.vdevices button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.vnav { display: flex; gap: 2px; }
.vnav a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; color: var(--muted); }
.vnav a:hover { background: var(--bg); color: var(--text); }
.vnav .ic { width: 18px; height: 18px; }
.vopen { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 0.875rem; color: var(--muted); text-decoration: none; white-space: nowrap; }
.vopen:hover { color: var(--text); }
.vopen .ic { width: 15px; height: 15px; }
.vstart { flex: none; min-height: 44px; }
.vstart .short { display: none; }
.vnote { flex: none; display: flex; justify-content: space-between; gap: 6px 24px; flex-wrap: wrap; padding: 9px 18px; background: #fff6f0; border-bottom: 1px solid #f4dccb; color: var(--text-2); font-size: 0.8125rem; }
.vnote b { color: var(--text); font-weight: 600; }
.vnote a { font-weight: 600; text-decoration-color: var(--orange); }
.vnote-sample { color: var(--muted); }
.vstage { flex: 1; min-height: 0; display: flex; justify-content: center; overflow: hidden; }
.vframe { --w: 100%; width: var(--w); max-width: 100%; height: 100%; background: #fff; transition: width .3s var(--ease); }
.vframe iframe { display: block; width: 100%; height: 100%; border: 0; }
.vframe[data-size="820"], .vframe[data-size="390"] { margin: 20px 0; height: calc(100% - 40px); border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 10px #191919, 0 24px 60px rgba(0,0,0,.25); }
.vframe[data-size="390"] { border-radius: 30px; }
@media (max-width: 1100px) { .vopen { display: none; } }
@media (max-width: 900px) { .vdevices button span { display: none; } }
@media (max-width: 760px) {
  .vbar { gap: 8px; padding-right: 10px; }
  .vdevices, .vnav { display: none; }
  .vtitle { flex: 1; }
  .vstart .long { display: none; }
  .vstart .short { display: inline; }
  .vnote-sample { display: none; }
  .vframe, .vframe[data-size] { width: 100%; margin: 0; height: 100%; border-radius: 0; box-shadow: none; }
}

/* ---------- legal pages ---------- */
.draft-note { display: inline-block; font-size: 0.875rem; color: var(--muted); }
.legal-grid { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 44rem); gap: 40px clamp(40px, 7vw, 100px); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 32px); }
.legal-toc ol { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line-2); display: grid; gap: 9px; font-size: 0.9375rem; }
.legal-toc a { color: var(--muted); text-decoration: none; }
.legal-toc a:hover { color: var(--text); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; }
.legal { color: var(--text-2); min-width: 0; }
.legal p, .legal li { max-width: 65ch; }
.legal > section + section { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.legal h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); letter-spacing: -0.03em; color: var(--text); margin-bottom: 14px; }
.legal h3 { font-size: 1.0625rem; margin: 22px 0 8px; color: var(--text); }
.legal p + p, .legal p + ul, .legal ul + p, .legal dl + p { margin-top: 12px; }
.legal ul { margin: 12px 0 0; padding-left: 1.2em; display: grid; gap: 8px; }
.legal li::marker { color: var(--orange-text); }
.legal a { color: var(--text); font-weight: 600; text-decoration-color: var(--orange); text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal strong { color: var(--text); font-weight: 600; }
.legal .short { padding: clamp(20px, 3vw, 28px); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.legal dl { margin: 14px 0 0; border-top: 1px solid var(--line-2); }
.legal dl div { display: grid; grid-template-columns: 10em minmax(0, 1fr); gap: 4px 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.legal dt { font-weight: 600; color: var(--text); }
.legal dd { margin: 0; }
@media (max-width: 860px) { .legal-grid { grid-template-columns: 1fr; } .legal-toc { display: none; } }
@media (max-width: 520px) { .legal dl div { grid-template-columns: 1fr; } }

/* ---------- help center (/help, /help/<slug>; pages built by scripts/build_templates.py) ---------- */
.help-wrap { display: grid; gap: clamp(40px, 6vw, 72px); }
.help-group { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 24px clamp(40px, 7vw, 100px); align-items: start; }
.help-group-h h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); letter-spacing: -0.03em; }
.help-group-h p { margin-top: 10px; color: var(--text-2); max-width: 24em; }
.help-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.help-list li { border-bottom: 1px solid var(--line-2); }
.help-item { display: grid; gap: 4px; padding: 18px 0; min-height: 44px; text-decoration: none; color: inherit; }
.help-item b { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; color: var(--text); }
.help-item span { color: var(--text-2); font-size: 0.9375rem; max-width: 46em; }
.help-item:hover b { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; }
.help-more { color: var(--text-2); }
.help-more a, .help-back { font-weight: 600; text-decoration-color: var(--orange); text-underline-offset: 3px; }
a.help-back { text-decoration: none; padding: 12px 0; margin: -12px 0; }
a.help-back::before { content: "\2190\00a0"; }
a.help-back:hover { color: var(--text); }
.help-article .help-steps { margin: 12px 0 0; padding-left: 1.4em; display: grid; gap: 10px; }
.help-article .help-steps li::marker { color: var(--orange-text); font-weight: 700; }
.help-article ol + p, .help-article p + ol { margin-top: 12px; }
.help-article .help-note { margin-top: 14px; padding: 12px 14px; border-left: 4px solid var(--orange); background: var(--surface); border-radius: var(--r-sm); font-size: 0.9375rem; }
.help-article code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; padding: 1px 5px; background: var(--sunken); border-radius: 4px; color: var(--text); overflow-wrap: anywhere; }
.help-end ul { list-style: none; padding-left: 0; }
@media (max-width: 860px) { .help-group { grid-template-columns: 1fr; } }

/* Contact us: the three closest help articles, shown before a message is sent (assets/help.js). */
.suggest { margin-top: 4px; padding: 16px 18px; background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r); }
.suggest h3 { font-size: 1rem; font-weight: 650; letter-spacing: -0.01em; }
.suggest > p { margin-top: 4px; font-size: 0.875rem; color: var(--muted); }
.suggest ul { list-style: none; margin: 10px 0 0; padding: 0; border-top: 1px solid var(--line-2); }
.suggest li { border-bottom: 1px solid var(--line-2); }
.suggest li a { display: grid; gap: 2px; padding: 12px 0; min-height: 44px; text-decoration: none; color: inherit; }
.suggest li b { font-weight: 600; color: var(--text); }
.suggest li span { font-size: 0.875rem; color: var(--text-2); }
.suggest li a:hover b { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; }
.suggest:focus { outline: 2px solid var(--orange); outline-offset: 2px; }

/* ---------- footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 72px) 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(2, 1fr); gap: 32px; }
.foot-grid h2 { margin: 0 0 14px; font-size: 0.8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; }
.foot-grid ul a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--text-2); font-size: 0.9375rem; }
.foot-grid ul a:hover { color: var(--text); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; }
.foot-grid .brand { font-size: 1.6rem; }
.foot-grid .pitch { color: var(--muted); max-width: 22em; margin-top: 16px; font-size: 0.9375rem; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 22px; margin-top: 44px; border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--muted); }
.foot-base a { color: inherit; text-decoration: none; }
.foot-base a:hover { color: var(--text); text-decoration: underline; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- homepage: the design showcase under the idea box ---------- */
.showcase { padding: 28px 0 80px; }
.show-in { max-width: 1440px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 56px); }
.show-head { max-width: 680px; margin: 0 auto 28px; text-align: center; }
.show-head h2 { font-size: clamp(1.75rem, 3vw, 2.375rem); letter-spacing: -0.045em; }
.show-head p { margin-top: 12px; color: var(--text-2); font-size: 1.0625rem; line-height: 1.5; }
.show-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.show-tabs { display: flex; gap: 2px; padding: 4px; border-radius: 12px; background: var(--sunken); overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.show-tabs::-webkit-scrollbar { display: none; }
.show-tabs button { flex: none; min-height: 40px; padding: 0 14px; border: 0; border-radius: 9px; background: none; color: var(--text-2); font: inherit; font-size: 0.9375rem; font-weight: 500; cursor: pointer; }
.show-tabs button:hover { color: var(--text); }
.show-tabs button[aria-pressed="true"] { background: var(--surface); color: var(--text); font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.show-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 24px; }
.scard[hidden] { display: none; }
.scard-shot { position: relative; display: block; aspect-ratio: 4 / 3; padding: 14px; border-radius: 16px; background: var(--tray); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.scard-shot img, .scard-shot iframe { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,.12); background: var(--surface); }
.scard-shot iframe { position: absolute; left: 14px; top: 14px; width: auto; height: auto; border: 0; transform-origin: 0 0; pointer-events: none; opacity: 0; transition: opacity .3s; }
.scard-shot iframe.on { opacity: 1; }
.scard-shot:hover, .scard-shot:focus-visible { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.08); }
.scard-shot:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.scard-hint { position: absolute; right: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 99px; background: rgba(25,25,25,.86); color: #fff; font-size: 0.8125rem; font-weight: 600; opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; }
.scard-hint .ic { width: 14px; height: 14px; }
.scard-shot:hover .scard-hint, .scard-shot:focus-visible .scard-hint { opacity: 1; transform: none; }
.scard.picked .scard-shot { box-shadow: 0 0 0 3px var(--orange); }
.scard-cap { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-top: 14px; }
.scard-t { min-width: 0; }
.scard-t h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
.scard-tag { padding: 2px 8px; border-radius: 6px; background: var(--sunken); color: var(--muted); font-size: 0.75rem; font-weight: 500; letter-spacing: 0; }
.scard-t p { margin-top: 3px; color: var(--muted); font-size: 0.9375rem; }
.scard-pick { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 10px; background: var(--sunken); color: var(--text); font: inherit; font-size: 0.9375rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .15s; }
.scard-pick:hover { background: var(--tray); }
.scard-pick .ic { width: 17px; height: 17px; }
.scard-pick[aria-pressed="true"] { background: var(--orange); color: var(--on-orange); }
.scard-pick[aria-pressed="true"] .ic { fill: currentColor; }
.scard-pick.ghost { color: var(--text-2); font-weight: 500; }
.show-more { margin-top: 28px; text-align: center; }
.show-more [hidden] { display: none; }
.show-note { margin-top: 18px; text-align: center; color: var(--muted); font-size: 0.9375rem; }
.show-note a { color: var(--text); }
/* the picks, inside the idea box */
.picks { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.picks[hidden] { display: none; }
.picks.landed .pchip { animation: pchip-in .7s ease-out; }
@keyframes pchip-in { 0% { transform: translateY(14px) scale(.92); box-shadow: 0 0 0 0 rgba(255,106,26,.55); } 60% { transform: none; box-shadow: 0 0 0 8px rgba(255,106,26,0); } 100% { transform: none; box-shadow: none; } }
@media (prefers-reduced-motion: reduce) { .picks.landed .pchip { animation: none; } }
.picks-l { margin-right: 4px; color: var(--muted); font-size: 0.8125rem; }
.pchip { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 4px 0 12px; border: 0; border-radius: 99px; background: #fff1e8; color: var(--text); font: inherit; font-size: 0.875rem; font-weight: 600; cursor: pointer; }
.pchip .ic { width: 28px; height: 28px; padding: 7px; border-radius: 50%; }
.pchip:hover .ic { background: rgba(0,0,0,.06); }
@media (max-width: 1200px) { .show-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .show-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; } }
@media (max-width: 600px) {
  .showcase { padding: 20px 0 56px; }
  .show-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .show-grid.collapsed .scard:not([hidden]):nth-child(n+7) { display: none; }
  .show-bar { justify-content: flex-start; }
  .show-head p { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .scard-shot, .scard-hint { transition: none; } .scard-shot:hover { transform: none; } }
