/* ==========================================================================
   DropYourAI — "Open Sky" design system
   Light, airy, editorial. Sky blue + cloud white + meadow green + coral.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Neutrals (cool, never beige) */
  --bg: #ffffff;
  --surface: #f5f8fb;
  --surface-2: #edf2f7;
  --line: #e2e8ef;
  --line-strong: #cfd8e2;
  --ink: #121a21;
  --ink-2: #384450;
  --muted: #5f6b78;
  --subtle: #8a95a1;

  /* Sky — primary brand hue */
  --sky-50: #f2f7fd;
  --sky-100: #e2eefb;
  --sky-200: #c7ddf6;
  --sky-300: #9cc3ee;
  --sky-400: #6aa4e3;
  --sky-500: #3f85d6;
  --sky-600: #2c6bbd;
  --sky-700: #22569a;

  /* Coral — energy, "new", highlights */
  --coral-50: #fff3ee;
  --coral-100: #ffe1d5;
  --coral-500: #f06b41;
  --coral-600: #c9481f;

  /* Meadow — free / positive */
  --meadow-50: #eef6e9;
  --meadow-100: #dbedd0;
  --meadow-400: #8dbb68;
  --meadow-500: #6fa04a;
  --meadow-700: #3b6a22;

  /* Sun — ratings, freemium */
  --sun-50: #fff7e3;
  --sun-100: #ffecbf;
  --sun-400: #f5b73b;
  --sun-700: #8a5a00;

  /* Cloud cream — illustration only */
  --cloud: #fffaf2;

  /* Shape */
  --r-xs: 6px;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --pill: 999px;

  /* Elevation */
  --shadow-xs: 0 1px 2px rgba(18, 26, 33, .05);
  --shadow-sm: 0 1px 2px rgba(18, 26, 33, .04), 0 2px 8px -2px rgba(18, 26, 33, .06);
  --shadow: 0 1px 2px rgba(18, 26, 33, .04), 0 10px 28px -12px rgba(28, 58, 96, .18);
  --shadow-lg: 0 2px 4px rgba(18, 26, 33, .04), 0 28px 60px -20px rgba(28, 58, 96, .28);

  /* Type */
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout */
  --container: 1240px;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; }
img, video { max-width: 100%; }
svg { flex-shrink: 0; }
.mock-body > svg, .fcard-visual svg { width: 100%; height: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.15; font-weight: 600; letter-spacing: -0.015em; }
p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
mark { background: var(--sun-100); color: inherit; border-radius: 2px; padding: 0; box-shadow: 0 0 0 2px var(--sun-100); }
::selection { background: var(--sky-200); }
:focus-visible { outline: 2px solid var(--sky-500); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container-narrow { max-width: 860px; }
@media (max-width: 640px) { .container { padding-inline: 16px; } }

.visually-hidden { 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-link { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; }

/* ---------- 3. Typography ---------- */
.display { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.012em; line-height: 1.04; }
.display em { font-style: italic; color: var(--sky-600); }
.t-hero { font-size: clamp(2.6rem, 1.6rem + 4vw, 4.6rem); }
.t-h1 { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.5rem); }
.t-h2 { font-size: clamp(1.9rem, 1.45rem + 1.7vw, 2.75rem); }
.t-h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
.t-h4 { font-size: 1.0625rem; font-weight: 600; }
.lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); color: var(--ink-2); line-height: 1.6; }
.muted { color: var(--muted); }
.subtle { color: var(--subtle); }
.small { font-size: .875rem; }
.xsmall { font-size: .8125rem; }
.mono { font-family: var(--font-mono); }
.nowrap { white-space: nowrap; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8125rem; font-weight: 500; color: var(--sky-700); letter-spacing: .01em;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--coral-500); }
.eyebrow--plain::before { display: none; }
.link { color: var(--sky-600); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.link:hover { color: var(--sky-700); }
.arrow-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: .9375rem; color: var(--ink); }
.arrow-link svg { transition: transform .2s var(--ease); }
.arrow-link:hover { color: var(--sky-700); }
.arrow-link:hover svg { transform: translateX(3px); }

.prose { color: var(--ink-2); font-size: 1.0625rem; line-height: 1.7; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-family: var(--font-serif); font-weight: 400; font-size: 2rem; color: var(--ink); margin-top: 1.6em; letter-spacing: -0.01em; }
.prose h3 { font-size: 1.1875rem; color: var(--ink); margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; list-style: disc; }
.prose ol { padding-left: 1.2em; list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--sky-600); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose strong { color: var(--ink); font-weight: 600; }

/* ---------- 4. Buttons ---------- */
.btn {
  --h: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 18px;
  border-radius: var(--pill); border: 1px solid transparent;
  font-size: .9375rem; font-weight: 500; line-height: 1; white-space: nowrap;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
  user-select: none;
}
.btn:active { transform: translateY(1px); }
.btn svg { flex: none; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; box-shadow: 0 6px 16px -6px rgba(18, 26, 33, .45); }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-sky { background: var(--sky-600); color: #fff; }
.btn-sky:hover { background: var(--sky-700); }
.btn-soft { background: var(--surface-2); color: var(--ink); }
.btn-soft:hover { background: var(--sky-100); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--surface-2); color: var(--ink); }
.btn-sm { --h: 36px; padding: 0 14px; font-size: .875rem; }
.btn-xs { --h: 30px; padding: 0 11px; font-size: .8125rem; gap: 6px; }
.btn-lg { --h: 52px; padding: 0 24px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-icon { width: var(--h); padding: 0; }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }

/* ---------- 5. Chips & badges ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  height: 36px; padding: 0 14px;
  border-radius: var(--pill); border: 1px solid var(--line);
  background: #fff; color: var(--ink-2);
  font-size: .875rem; font-weight: 500; white-space: nowrap;
  transition: border-color .15s, background-color .15s, color .15s;
}
.chip:hover { border-color: var(--line-strong); color: var(--ink); }
.chip .count { color: var(--subtle); font-weight: 400; font-variant-numeric: tabular-nums; }
.chip svg { color: var(--sky-600); }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.is-active .count, .chip[aria-pressed="true"] .count { color: rgba(255, 255, 255, .6); }
.chip.is-active svg, .chip[aria-pressed="true"] svg { color: #fff; }
.chip-sm { height: 30px; padding: 0 11px; font-size: .8125rem; }
.chip-remove { padding-right: 8px; background: var(--sky-50); border-color: var(--sky-200); color: var(--sky-700); }
.chip-remove svg { color: var(--sky-600); }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip-scroll {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
}
.chip-scroll::-webkit-scrollbar { display: none; }

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  height: 24px; padding: 0 9px; border-radius: var(--r-xs);
  font-size: .75rem; font-weight: 600; letter-spacing: .005em; white-space: nowrap;
  background: var(--surface-2); color: var(--ink-2);
}
.badge--free { background: var(--meadow-50); color: var(--meadow-700); }
.badge--freemium { background: var(--sun-50); color: var(--sun-700); }
.badge--trial { background: var(--sky-50); color: var(--sky-700); }
.badge--paid { background: var(--surface-2); color: var(--ink-2); }
.badge--new { background: var(--coral-50); color: var(--coral-600); }
.badge--sponsored { background: transparent; color: var(--muted); border: 1px solid var(--line); font-weight: 500; }
.badge--verified { background: var(--sky-50); color: var(--sky-700); }
.badge--ink { background: var(--ink); color: #fff; }

.kbd { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 6px; border: 1px solid var(--line-strong); border-bottom-width: 2px; font-family: var(--font-mono); font-size: .75rem; color: var(--muted); background: #fff; }

/* ---------- 6. Forms ---------- */
.field { display: grid; gap: 7px; }
.field + .field { margin-top: 18px; }
.label { font-size: .875rem; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 12px; }
.label .opt { font-weight: 400; color: var(--subtle); }
.help { font-size: .8125rem; color: var(--muted); }
.error-text { font-size: .8125rem; color: var(--coral-600); }
.input, .select, .textarea {
  width: 100%; height: 46px; padding: 0 14px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: #fff;
  font-size: .9375rem; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.textarea { height: auto; min-height: 140px; padding: 12px 14px; line-height: 1.55; resize: vertical; }
.select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235f6b78' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.input::placeholder, .textarea::placeholder { color: var(--subtle); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--subtle); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--sky-500); box-shadow: 0 0 0 4px var(--sky-100); }
.input.is-invalid, .textarea.is-invalid, .select.is-invalid { border-color: var(--coral-500); box-shadow: 0 0 0 4px var(--coral-50); }
.input-group { position: relative; display: flex; align-items: center; }
.input-group > svg { position: absolute; left: 14px; color: var(--subtle); pointer-events: none; }
.input-group .input { padding-left: 42px; }
.input-affix { display: flex; }
.input-affix .affix { display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line-strong); border-right: 0; border-radius: var(--r-sm) 0 0 var(--r-sm); background: var(--surface); color: var(--muted); font-size: .875rem; }
.input-affix .input { border-radius: 0 var(--r-sm) var(--r-sm) 0; }

.check { display: flex; align-items: center; gap: 10px; font-size: .9375rem; color: var(--ink-2); cursor: pointer; padding: 5px 0; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 18px; height: 18px; border: 1.5px solid var(--line-strong); border-radius: 5px; background: #fff; display: grid; place-items: center; transition: background-color .15s, border-color .15s; cursor: pointer; margin: 0; }
.check input[type="radio"] { border-radius: 50%; }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { content: ""; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.check input[type="radio"]:checked::after { width: 6px; height: 6px; border: 0; border-radius: 50%; background: #fff; transform: none; }
.check input:focus-visible { outline: 2px solid var(--sky-500); outline-offset: 2px; }
.check .count { margin-left: auto; color: var(--subtle); font-size: .8125rem; font-variant-numeric: tabular-nums; }

.segmented { display: inline-flex; padding: 4px; gap: 2px; border-radius: var(--pill); background: var(--surface-2); }
.segmented button, .segmented label {
  display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px;
  border-radius: var(--pill); font-size: .875rem; font-weight: 500; color: var(--muted); cursor: pointer; white-space: nowrap;
  transition: background-color .15s, color .15s, box-shadow .15s;
}
.segmented button:hover, .segmented label:hover { color: var(--ink); }
.segmented [aria-selected="true"], .segmented [aria-pressed="true"], .segmented label:has(input:checked) { background: #fff; color: var(--ink); box-shadow: var(--shadow-xs), 0 0 0 1px var(--line); }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented--block { display: flex; border-radius: var(--r-sm); }
.segmented--block button, .segmented--block label { flex: 1; justify-content: center; border-radius: 8px; }

/* ---------- 7. Surfaces ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.card-pad { padding: 24px; }
.card-hover { transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
.card-hover:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.panel { background: var(--surface); border-radius: var(--r-lg); padding: 24px; }

.section { padding-block: clamp(56px, 4rem + 2vw, 96px); }
.section-sm { padding-block: clamp(40px, 3rem + 1vw, 64px); }
.section-alt { background: var(--surface); }
:is(.section, .section-sm):not(.section-alt) + :is(.section, .section-sm):not(.section-alt) { padding-top: 16px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.sec-head > div { display: grid; gap: 10px; max-width: 680px; }
.sec-head p { color: var(--muted); }

.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
@media (max-width: 1080px) { .grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }

.stack-xs > * + * { margin-top: 6px; }
.stack-sm > * + * { margin-top: 12px; }
.stack > * + * { margin-top: 20px; }
.stack-lg > * + * { margin-top: 32px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.divider-dot::before { content: "·"; margin: 0 6px; color: var(--subtle); }

/* ---------- 8. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background-color .2s;
}
.site-header.is-scrolled, .site-header--solid { border-bottom-color: var(--line); }
.site-header--over-sky:not(.is-scrolled) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 650; font-size: 1.125rem; letter-spacing: -0.02em; flex: none; }
.brand-mark { width: 28px; height: 28px; }
.brand-name b { font-weight: 650; color: var(--sky-600); }
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a { padding: 8px 12px; border-radius: var(--pill); font-size: .9375rem; font-weight: 500; color: var(--ink-2); transition: color .15s, background-color .15s; }
.main-nav a:hover { color: var(--ink); background: rgba(18, 26, 33, .05); }
.main-nav a[aria-current="page"] { color: var(--ink); background: rgba(18, 26, 33, .06); }
.header-search { flex: 1; max-width: 380px; margin-left: auto; position: relative; }
.header-search .input { height: 40px; border-radius: var(--pill); padding-left: 40px; padding-right: 40px; background: var(--surface); border-color: var(--line); font-size: .875rem; }
.header-search .input:focus { background: #fff; }
.header-search > svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--subtle); pointer-events: none; }
.header-search .kbd { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); }
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.header-search + .header-actions { margin-left: 0; }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: var(--r-sm); place-items: center; }
.nav-toggle:hover { background: var(--surface-2); }
.mobile-nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; padding: 20px 16px 32px; overflow-y: auto; z-index: 49; border-top: 1px solid var(--line); }
.mobile-nav nav a { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; font-size: 1.125rem; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-nav .stack-sm { margin-top: 20px; }

@media (max-width: 1080px) {
  .header-search { max-width: 280px; }
  .main-nav a { padding: 8px 9px; }
}
@media (max-width: 900px) {
  .main-nav, .header-actions .hide-md, .header-search { display: none; }
  .nav-toggle { display: grid; }
  .header-actions, .header-search + .header-actions { margin-left: auto; }
}

/* ---------- 9. Upvotes, verified mark, category dot ----------
   No logos and no ratings: the database has neither. Upvotes show only when > 0. */
.cat-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--dot, var(--sky-600)); flex: none; }
.vmark { display: inline-flex; color: var(--sky-600); flex: none; position: relative; z-index: 2; }

.upvote {
  position: relative; z-index: 2; flex: none;
  display: inline-flex; align-items: center; gap: 3px;
  height: 30px; padding: 0 10px 0 7px;
  border: 1px solid var(--line); border-radius: var(--pill); background: #fff;
  font-size: .8125rem; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums;
  transition: border-color .15s, background-color .15s, color .15s;
}
.upvote:hover { border-color: var(--coral-500); color: var(--coral-600); }
.upvote.is-on, .upvote-btn.is-on { border-color: var(--coral-500); background: var(--coral-50); color: var(--coral-600); }
.upvote-btn .upvote-n { margin-left: 2px; padding-left: 9px; border-left: 1px solid var(--line-strong); font-variant-numeric: tabular-nums; }
.upvote-btn.is-on .upvote-n { border-left-color: rgba(201, 72, 31, .3); }

/* ---------- 10. Tool card ---------- */
.tcard {
  position: relative; display: grid; gap: 10px 12px;
  grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr auto;
  grid-template-areas: "id up" "tag tag" "foot foot";
  padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.tcard:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.tcard-id { grid-area: id; min-width: 0; }
.tcard > .upvote { grid-area: up; align-self: start; }
.tcard-title { display: flex; align-items: center; gap: 6px; font-size: 1.125rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
.tcard-title a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tcard-title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.tcard-title a:focus-visible { outline: none; }
.tcard:has(.tcard-title a:focus-visible) { outline: 2px solid var(--sky-500); outline-offset: 2px; }
.tcard-meta { display: flex; align-items: center; gap: 7px; font-size: .8125rem; color: var(--muted); margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tcard-tagline { grid-area: tag; font-size: .9375rem; color: var(--ink-2); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3em; }
.tcard-foot { grid-area: foot; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.tcard-price { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; color: var(--muted); min-width: 0; white-space: nowrap; }
.price { color: var(--ink); font-weight: 600; font-size: .875rem; font-variant-numeric: tabular-nums; }
.tcard-go { color: var(--subtle); display: inline-flex; transition: transform .2s var(--ease), color .2s; }
.tcard:hover .tcard-go { color: var(--ink); transform: translateX(3px); }
.tcard-flag { position: absolute; top: -9px; left: 16px; z-index: 2; }
.tcard-flag.badge--sponsored { background: #fff; }
.tcard--sponsored { background: linear-gradient(180deg, var(--sky-50), #fff 60%); border-color: var(--sky-200); }
.tcard--preview { pointer-events: none; }

/* list view */
.results.is-list { grid-template-columns: minmax(0, 1fr) !important; gap: 10px; }
.results.is-list .tcard {
  align-items: center; gap: 4px 22px; padding: 14px 18px;
  grid-template-columns: minmax(170px, 250px) minmax(0, 1fr) auto auto; grid-template-rows: auto;
  grid-template-areas: "id tag foot up";
}
.results.is-list .tcard-tagline { min-height: 0; }
.results.is-list .tcard-meta { margin-bottom: 2px; }
.results.is-list .tcard-foot { border-top: 0; padding-top: 0; }
.results.is-list .tcard-go { display: none; }
.results.is-list .tcard > .upvote { align-self: center; }
.results.is-list .tcard:hover { transform: none; }
.results.is-list .tcard-flag { display: none; }
@media (max-width: 860px) {
  .results.is-list .tcard { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "id up" "tag tag" "foot foot"; }
}

/* ---------- 11. Breadcrumb, tabs, pagination ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .8125rem; color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: ""; width: 5px; height: 5px; border-top: 1.5px solid var(--subtle); border-right: 1.5px solid var(--subtle); transform: rotate(45deg); margin-right: 4px; }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 500; }

.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 40px; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-sm); font-size: .9375rem; font-weight: 500; color: var(--ink-2); padding: 0 10px; }
.pagination a:hover { background: var(--surface-2); color: var(--ink); }
.pagination [aria-current="page"] { background: var(--ink); color: #fff; }
.pagination .gap { color: var(--subtle); }

/* ---------- 12. FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 2px; font-size: 1.0625rem; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); transition: transform .25s var(--ease), background-color .2s; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--sky-100); color: var(--sky-700); }
.faq summary:hover { color: var(--sky-700); }
.faq .faq-a { padding: 0 48px 22px 2px; color: var(--ink-2); line-height: 1.7; }

/* ---------- 13. Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; -webkit-overflow-scrolling: touch; }
.ctable { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .9375rem; min-width: 640px; }
.ctable th, .ctable td { padding: 14px 18px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.ctable thead th { background: var(--surface); font-size: .8125rem; font-weight: 600; color: var(--muted); vertical-align: bottom; }
.ctable tbody th { font-weight: 500; color: var(--ink-2); white-space: nowrap; font-size: .875rem; width: 1%; }
.ctable tbody tr:last-child > * { border-bottom: 0; }
.ctable tbody tr:hover > * { background: var(--sky-50); }
.ctable .is-hl { background: var(--sky-50); }
.ctable thead .is-hl { background: var(--sky-100); }
.ctable .sticky-col { position: sticky; left: 0; background: #fff; z-index: 1; }
.ctable thead .sticky-col { background: var(--surface); }
.yes, .no, .part { display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; }
.yes { color: var(--meadow-700); }
.no { color: var(--subtle); }
.part { color: var(--sun-700); }
.yes svg, .no svg, .part svg { flex: none; }

/* ---------- 14. Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; z-index: 90; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--pill); font-size: .875rem; font-weight: 500; box-shadow: var(--shadow-lg); transition: opacity .25s, transform .25s var(--ease); pointer-events: none; display: flex; align-items: center; gap: 8px; }
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 15. Sky + clouds (signature) ---------- */
.sky { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(255, 255, 255, .7), transparent 60%),
    linear-gradient(180deg, #bfdaf6 0%, #d6e8fa 38%, #ecf4fc 70%, #ffffff 100%);
}
.cloud { position: absolute; color: #fff; filter: drop-shadow(0 10px 18px rgba(64, 120, 190, .12)); animation: drift 60s linear infinite alternate; }
.cloud--soft { opacity: .75; filter: blur(1px); }
@keyframes drift { from { transform: translateX(-20px); } to { transform: translateX(30px); } }
@media (prefers-reduced-motion: reduce) { .cloud { animation: none; } html { scroll-behavior: auto; } }

/* ---------- 16. Footer ---------- */
.site-footer { position: relative; margin-top: 0; background: linear-gradient(180deg, #eef5fc 0%, #d6e7f8 100%); color: var(--ink); overflow: hidden; }
.footer-top { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; padding-top: 72px; padding-bottom: 32px; }
.footer-brand p { color: var(--ink-2); font-size: .9375rem; max-width: 320px; margin-top: 14px; }
.footer-col h2 { font-size: .8125rem; font-weight: 600; color: var(--ink); margin-bottom: 14px; letter-spacing: .02em; }
.footer-col li + li { margin-top: 9px; }
.footer-col a { font-size: .9375rem; color: var(--ink-2); }
.footer-col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-news { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; max-width: 380px; }
.footer-news .input { flex: 1 1 200px; width: auto; background: rgba(255, 255, 255, .85); border-color: rgba(18, 26, 33, .12); border-radius: var(--pill); height: 44px; }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .7); color: var(--ink); transition: background-color .15s, transform .15s; }
.socials a:hover { background: #fff; transform: translateY(-2px); }
.footer-bottom { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid rgba(18, 26, 33, .08); font-size: .8125rem; color: var(--ink-2); }
/* painted scene closes every page (user-supplied illustration) */
.footer-scene { position: relative; height: clamp(190px, 30vw, 460px); overflow: hidden; margin-top: -40px; }
.footer-scene-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 34%); mask-image: linear-gradient(180deg, transparent 0%, #000 34%); }
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1180px) { .footer-top { grid-template-columns: repeat(4, 1fr); } .footer-brand { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; align-items: start; } .footer-brand > .brand, .footer-brand > p { grid-column: 1; } .footer-brand .footer-news { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; } .footer-brand .socials { grid-column: 2; margin-top: 0; } }
@media (max-width: 800px) { .footer-top { grid-template-columns: repeat(2, 1fr); } .footer-brand { display: block; } .footer-brand .footer-news { margin-top: 22px; } .footer-brand .socials { margin-top: 20px; } }
@media (max-width: 640px) { .footer-top { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; padding-top: 56px; } .footer-scene { margin-top: -24px; } .footer-scene-img { object-position: 30% 62%; } }

/* header sitting on the painted hero: white until the page scrolls */
.site-header--over-image:not(.is-scrolled) .brand,
.site-header--over-image:not(.is-scrolled) .main-nav a,
.site-header--over-image:not(.is-scrolled) .btn-ghost,
.site-header--over-image:not(.is-scrolled) .nav-toggle { color: #fff; }
.site-header--over-image:not(.is-scrolled) .brand-name b { color: #d4e8ff; }
.site-header--over-image:not(.is-scrolled) .main-nav a:hover,
.site-header--over-image:not(.is-scrolled) .main-nav a[aria-current="page"],
.site-header--over-image:not(.is-scrolled) .btn-ghost:hover,
.site-header--over-image:not(.is-scrolled) .nav-toggle:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.site-header--over-image:not(.is-scrolled) .btn-primary { background: #fff; color: var(--ink); }
.site-header--over-image:not(.is-scrolled) .btn-primary:hover { background: #f2f7fd; }

/* ==========================================================================
   PAGES
   ========================================================================== */

/* ---------- Home: hero ---------- */
.hero { position: relative; margin-top: calc(var(--header-h) * -1); padding-top: calc(var(--header-h) + 56px); padding-bottom: 40px; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 48px; align-items: start; }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px 0 5px; border-radius: var(--pill); background: rgba(255, 255, 255, .75); border: 1px solid rgba(255, 255, 255, .9); font-size: .8125rem; font-weight: 500; color: var(--ink-2); box-shadow: var(--shadow-xs); }
.hero-pill .badge { height: 24px; border-radius: var(--pill); }
.hero-pill:hover { background: #fff; }
.hero-title { margin-top: 22px; }
.hero-sub { margin-top: 18px; max-width: 560px; }
.hero-search { margin-top: 30px; background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(18, 26, 33, .05); padding: 8px; transition: box-shadow .2s; }
.hero-search:focus-within { box-shadow: var(--shadow-lg), 0 0 0 4px var(--sky-200); }
.hs-field { display: flex; align-items: center; gap: 12px; padding: 12px 14px 8px; }
.hs-field svg { color: var(--sky-600); flex: none; }
.hs-field input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 1.125rem; padding: 6px 0; }
.hs-field input::placeholder { color: var(--subtle); }
.hs-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 6px 6px 14px; border-top: 1px solid var(--line); margin-top: 6px; }
.hs-hints { display: flex; align-items: center; gap: 6px; min-width: 0; overflow-x: auto; scrollbar-width: none; font-size: .8125rem; color: var(--muted); }
.hs-hints::-webkit-scrollbar { display: none; }
.hs-hints a { flex: none; padding: 5px 10px; border-radius: var(--pill); background: var(--surface); color: var(--ink-2); font-weight: 500; }
.hs-hints a:hover { background: var(--sky-100); color: var(--sky-700); }
.hs-lang { display: inline-flex; align-items: center; gap: 6px; flex: none; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; font-size: .875rem; color: var(--ink-2); }
.hero-trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { color: var(--meadow-500); }

@media (max-width: 980px) { .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 32px; } .hero { padding-top: calc(var(--header-h) + 32px); } }
@media (max-width: 640px) { .hs-field input { font-size: 1rem; } .hs-bottom .hs-hints { display: none; } .hs-bottom { justify-content: flex-end; } }

/* painted hero (user-supplied illustration) — copy sits on the open sky at the left */
.hero--scene { isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: min(780px, 100vh); padding-top: calc(var(--header-h) + 64px); padding-bottom: 88px; background: #5683bf; }
.hero--scene .hero-inner { display: block; width: 100%; }
.hero-scene { position: absolute; inset: 0; z-index: -1; }
.hero-scene-img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 62%; }
.hero-scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 38, 78, .66) 0%, rgba(14, 38, 78, .44) 34%, rgba(14, 38, 78, .08) 62%, rgba(14, 38, 78, 0) 75%), linear-gradient(180deg, rgba(14, 38, 78, .38) 0%, rgba(14, 38, 78, 0) 24%); }
.hero-copy { max-width: 640px; }
.hero--scene .hero-title { color: #fff; text-shadow: 0 2px 28px rgba(8, 24, 52, .35); }
.hero--scene .hero-title em { color: #ffe0bd; }
.hero--scene .hero-sub { color: rgba(255, 255, 255, .92); text-shadow: 0 1px 14px rgba(8, 24, 52, .35); }
.hero--scene .hero-pill { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .38); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: none; }
.hero--scene .hero-pill:hover { background: rgba(255, 255, 255, .26); }
.hero--scene .hero-search { box-shadow: 0 30px 60px -24px rgba(8, 24, 52, .55), 0 0 0 1px rgba(255, 255, 255, .5); }
.hero--scene .hero-trust { color: #fff; text-shadow: 0 1px 10px rgba(8, 24, 52, .4); }
.hero--scene .hero-trust svg { color: #c7f0a8; }
@media (max-width: 760px) {
  .hero--scene { min-height: 0; padding-top: calc(var(--header-h) + 36px); padding-bottom: 64px; }
  .hero-scene-img { object-position: 76% 70%; }
  .hero-scene::after { background: linear-gradient(180deg, rgba(14, 38, 78, .62) 0%, rgba(14, 38, 78, .46) 55%, rgba(14, 38, 78, .3) 100%); }
}

/* category bar */
.catbar { position: relative; z-index: 1; padding-top: 12px; padding-bottom: 8px; }
.catbar .chip { height: 40px; background: #fff; }

/* featured (sponsored) */
.fcard { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-xl); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.fcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.fcard-visual { position: relative; aspect-ratio: 16 / 9; background: var(--fc-bg, var(--sky-100)); overflow: hidden; }
.fcard-body { padding: 18px 20px 20px; display: grid; gap: 8px; }
.fcard-body h3 { font-size: 1.25rem; display: flex; align-items: center; gap: 7px; }
.fcard-body .tcard-meta { margin: 0; }
.sec-note { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: .8125rem; color: var(--muted); }
.sec-note svg { color: var(--sky-600); }
.fcard-body h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.fcard-body p { color: var(--ink-2); font-size: .9375rem; }
.fcard-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; }
.fcard .badge--sponsored { position: absolute; top: 12px; left: 12px; z-index: 2; background: rgba(255, 255, 255, .85); border-color: transparent; }

/* mock screens inside visuals */
.mock { position: absolute; inset: 14% 8% -6% 8%; background: #fff; border-radius: 12px 12px 0 0; box-shadow: 0 20px 40px -18px rgba(18, 26, 33, .35); overflow: hidden; }
.mock-bar { height: 22px; display: flex; align-items: center; gap: 5px; padding: 0 10px; border-bottom: 1px solid var(--line); background: #fafbfc; }
.mock-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.mock-body { position: absolute; inset: 22px 0 0 0; }

/* discover tabs on home */
.discover-tabs { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }

/* categories index (editorial rows) */
.cat-index { border-top: 1px solid var(--line); }
.cat-row { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr) minmax(0, 250px) auto 40px; align-items: center; gap: 20px; padding: 18px 4px; border-bottom: 1px solid var(--line); transition: background-color .2s; }
.cat-row:hover { background: linear-gradient(90deg, var(--sky-50), transparent); }
.cat-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--ci-bg, var(--sky-100)); color: var(--ci-fg, var(--sky-700)); }
.cat-popular { font-size: .8125rem; color: var(--ink-2); line-height: 1.4; }
.cat-popular span { display: block; font-size: .75rem; color: var(--subtle); }
.cat-name { font-family: var(--font-serif); font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.6rem); line-height: 1.1; color: var(--ink-2); transition: color .2s, transform .25s var(--ease); }
.cat-name a::after { content: ""; position: absolute; inset: 0; }
.cat-row:hover .cat-name { color: var(--ink); transform: translateX(6px); }
.cat-subs { font-size: .8125rem; color: var(--muted); margin-top: 4px; font-family: var(--font-sans); }
.cat-count { font-size: .875rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cat-go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--ink); transition: background-color .2s, color .2s, border-color .2s; }
.cat-row:hover .cat-go { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (max-width: 960px) { .cat-popular { display: none; } .cat-row { grid-template-columns: 48px minmax(0, 1fr) auto 40px; } }
@media (max-width: 760px) { .cat-row { grid-template-columns: 40px minmax(0, 1fr) 40px; gap: 4px 14px; } .cat-icon { width: 40px; height: 40px; border-radius: 12px; grid-row: 1 / span 2; } .cat-count { grid-column: 2; grid-row: 2; } .cat-go { grid-row: 1 / span 2; grid-column: 3; } }

/* curated packs (Best of) */
.avatar { --av: 38px; width: var(--av); height: var(--av); border-radius: 50%; display: grid; place-items: center; font-size: calc(var(--av) * .34); font-weight: 600; letter-spacing: .02em; background: var(--av-bg, var(--sky-100)); color: var(--av-fg, var(--sky-700)); flex: none; box-shadow: inset 0 0 0 1px rgba(18, 26, 33, .06); }
.pack-cover { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; background: var(--pc-bg, var(--sky-100)); color: var(--pc-ink, var(--ink)); }
.pack-count { position: absolute; top: 14px; left: 16px; font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: var(--pill); background: rgba(255, 255, 255, .78); color: #1d2a36; }
.pack-pills { display: grid; justify-items: center; padding: 34px 16px 18px; }
.pack-pills li { --rot: calc((var(--i) - 1.5) * 2.2deg); margin-top: -7px; padding: 8px 16px; border-radius: 12px; background: #fff; color: var(--ink); font-weight: 600; font-size: .9375rem; white-space: nowrap; box-shadow: 0 10px 22px -12px rgba(18, 26, 33, .4), 0 0 0 1px rgba(18, 26, 33, .06); transform: rotate(var(--rot)) translateX(calc((var(--i) - 1.5) * 9px)); }
.pack-pills li.more { margin-top: 6px; padding: 2px 8px; background: transparent; box-shadow: none; color: var(--pc-ink); font-weight: 500; font-size: .8125rem; transform: none; }
.pcard { position: relative; display: flex; flex-direction: column; border-radius: var(--r-xl); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.pcard-body { flex: 1; display: grid; grid-template-rows: auto auto 1fr auto; gap: 8px; padding: 18px 20px 18px; }
.pcard-kicker { font-size: .75rem; font-weight: 600; color: var(--sky-700); letter-spacing: .01em; }
.pcard h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.65rem; line-height: 1.08; letter-spacing: -0.01em; }
.pcard h3 a::after { content: ""; position: absolute; inset: 0; }
.pcard-intro { font-size: .9375rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--line); }
.pcard-stat { font-size: .75rem; font-weight: 600; color: var(--meadow-700); background: var(--meadow-50); padding: 4px 9px; border-radius: var(--pill); white-space: nowrap; }
.pcard--cta { background: var(--surface); border-style: dashed; border-color: var(--line-strong); }
.pcard--cta .pcard-body { grid-template-rows: none; align-content: center; gap: 12px; padding: 28px; }
.pcard--cta h3 { font-size: 1.9rem; }
.curator-chip { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.curator-chip b { display: block; font-size: .8125rem; }
.curator-chip small { display: block; font-size: .75rem; color: var(--muted); }
.pcard-open { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 600; color: var(--sky-700); }
.pcard-open svg { flex: none; transition: transform .2s var(--ease); }
.pcard:hover .pcard-open svg { transform: translateX(3px); }

/* how it works */
.step { display: grid; gap: 14px; }
.step-visual { height: 180px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; display: grid; place-items: center; }
.step h3 { font-size: 1.0625rem; }
.step p { color: var(--muted); font-size: .9375rem; }
.step-n { font-family: var(--font-serif); font-size: 1.5rem; color: var(--sky-600); margin-right: 6px; }
.mini-search { width: 78%; height: 46px; background: #fff; border-radius: 14px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px; padding: 0 14px; font-size: .8125rem; color: var(--ink-2); }
.mini-search svg { color: var(--sky-600); }
.mini-search .caret { width: 1.5px; height: 16px; background: var(--sky-600); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.mini-table { width: 80%; background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 10px; display: grid; gap: 6px; font-size: .75rem; }
.mini-table div { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 6px; align-items: center; padding: 4px 6px; border-radius: 6px; }
.mini-table div:first-child { color: var(--muted); }
.mini-table div:nth-child(2) { background: var(--sky-50); }
.mini-table .yes, .mini-table .no { font-size: .75rem; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 28px 24px; display: grid; gap: 6px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); line-height: 1; letter-spacing: -0.02em; }
.stat span { font-size: .875rem; color: var(--muted); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* maker cta */
.maker-cta { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; isolation: isolate; }
.maker-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: linear-gradient(120deg, #f6e7a8 0%, #bfe6dc 38%, #f6c6cf 70%, #fbe4e2 100%); }
.maker-bg-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.maker-cta--plain { background: var(--sky-50); border: 1px solid var(--sky-100); }
.maker-cta h2 { max-width: 560px; }
.maker-cta p { margin-top: 14px; color: var(--ink-2); max-width: 520px; }
.maker-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.maker-stats div { background: rgba(255, 255, 255, .8); border-radius: var(--r); padding: 16px 18px; }
.maker-stats b { display: block; font-family: var(--font-serif); font-weight: 400; font-size: 2rem; line-height: 1.05; }
.maker-stats span { font-size: .8125rem; color: var(--muted); }
@media (max-width: 860px) { .maker-cta { grid-template-columns: 1fr; } }

/* ---------- Inner page head ---------- */
.page-head { position: relative; padding-top: 36px; padding-bottom: 32px; background: linear-gradient(180deg, var(--sky-50) 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.page-head h1 { margin-top: 14px; }
.page-head .lead { margin-top: 12px; max-width: 680px; }
.page-head--plain { background: #fff; border-bottom: 0; }

/* ---------- Explore ---------- */
.explore-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 26px; }
.explore-layout { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 36px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; padding-right: 6px; scrollbar-width: thin; }
.filters-head { display: none; }
.filter-group { padding: 18px 0; border-bottom: 1px solid var(--line); }
.filter-group:first-of-type { padding-top: 4px; }
.filter-group h3 { font-size: .8125rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; letter-spacing: .01em; }
.filter-group .check { font-size: .875rem; padding: 4px 0; }
.filter-sub { margin: 2px 0 6px 28px; }
.filter-sub .check { font-size: .8125rem; color: var(--muted); }
.results-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.results-count { font-size: .9375rem; color: var(--muted); }
.results-count b { color: var(--ink); font-weight: 600; }
.toolbar-right { display: flex; align-items: center; gap: 8px; }
.toolbar-right .select { height: 38px; width: auto; border-radius: var(--pill); font-size: .875rem; padding-left: 14px; }
.view-toggle { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--pill); padding: 3px; }
.view-toggle button { width: 32px; height: 30px; border-radius: var(--pill); display: grid; place-items: center; color: var(--muted); }
.view-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.active-filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.active-filters:empty { display: none; }
.filters-btn { display: none; }
.empty-state { text-align: center; padding: 56px 24px; border: 1px dashed var(--line-strong); border-radius: var(--r-lg); background: var(--surface); }
.empty-state h3 { font-size: 1.125rem; margin-top: 12px; }
.empty-state p { color: var(--muted); margin-top: 6px; }
.seo-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.link-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 960px) {
  .explore-layout { grid-template-columns: minmax(0, 1fr); }
  .filters { position: fixed; inset: 0; z-index: 70; max-height: none; background: #fff; padding: 0 20px 100px; transform: translateX(-100%); transition: transform .3s var(--ease); }
  .filters.is-open { transform: none; }
  .filters-head { display: flex; position: sticky; top: 0; background: #fff; z-index: 1; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
  .filters-apply { position: fixed; left: 20px; right: 20px; bottom: 20px; }
  .filters-btn { display: inline-flex; }
  .seo-block { grid-template-columns: 1fr; }
}
@media (min-width: 961px) { .filters-apply { display: none; } }

/* ---------- Search ---------- */
.search-hero { padding-top: 36px; padding-bottom: 28px; background: linear-gradient(180deg, var(--sky-50), #fff); }
.search-big { position: relative; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line-strong); border-radius: 18px; padding: 8px 8px 8px 18px; box-shadow: var(--shadow); max-width: 820px; }
.search-big:focus-within { border-color: var(--sky-500); box-shadow: var(--shadow), 0 0 0 4px var(--sky-100); }
.search-big svg { color: var(--sky-600); flex: none; }
.search-big input { flex: 1; min-width: 0; border: 0; outline: none; font-size: 1.25rem; padding: 8px 0; background: transparent; }
.search-summary { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: .9375rem; color: var(--muted); }
.search-summary b { color: var(--ink); }
.intent { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; font-size: .875rem; color: var(--muted); }
.best-matches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bm-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: box-shadow .2s, transform .2s; }
.bm-card:first-child { border-color: var(--sky-300); background: linear-gradient(180deg, var(--sky-50), #fff 55%); }
.bm-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.bm-rank { position: absolute; top: 16px; right: 18px; font-family: var(--font-serif); font-size: 2.2rem; line-height: 1; color: var(--sky-300); }
.bm-card h3 { font-size: 1.125rem; }
.bm-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.bm-why { font-size: .8125rem; color: var(--ink-2); background: var(--surface); border-radius: var(--r-sm); padding: 10px 12px; }
.bm-why b { display: block; font-size: .75rem; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.bm-actions { display: flex; gap: 8px; margin-top: auto; position: relative; z-index: 2; }
@media (max-width: 900px) { .best-matches { grid-template-columns: 1fr; } }
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.filter-bar .select { width: auto; height: 36px; border-radius: var(--pill); font-size: .875rem; padding-left: 14px; padding-right: 36px; background-position: right 12px center; background-color: #fff; }
.filter-bar .select.is-set { border-color: var(--ink); background-color: var(--ink); color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.result-list > li { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 8px; border-bottom: 1px solid var(--line); }
.result-list > li:hover { background: var(--surface); }
.result-list h3 { font-size: 1.0625rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.result-list h3 a::after { content: ""; position: absolute; inset: 0; }
.result-list p { font-size: .9375rem; color: var(--ink-2); margin-top: 3px; }
.result-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; font-size: .8125rem; color: var(--muted); }
.result-side { display: flex; align-items: center; gap: 10px; position: relative; z-index: 2; }
.compare-check { position: relative; z-index: 2; }
.compare-check input { width: 18px; height: 18px; }
@media (max-width: 700px) { .result-list > li { grid-template-columns: auto minmax(0, 1fr); } .result-side { grid-column: 2 / -1; } }
.compare-tray { position: fixed; left: 50%; bottom: 20px; z-index: 60; transform: translate(-50%, 140%); transition: transform .3s var(--ease); display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 18px; background: var(--ink); color: #fff; border-radius: var(--pill); box-shadow: var(--shadow-lg); max-width: calc(100vw - 32px); }
.compare-tray.is-shown { transform: translate(-50%, 0); }
.tray-names { display: flex; gap: 6px; min-width: 0; }
.tray-names span { max-width: 130px; padding: 4px 10px; border-radius: var(--pill); background: rgba(255, 255, 255, .14); font-size: .8125rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 560px) { .tray-names { display: none; } }
.compare-tray .btn-secondary { border-color: #fff; }

/* ---------- Categories hub ---------- */
.catcard { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: box-shadow .2s, border-color .2s; }
.catcard:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.catcard-head { display: flex; align-items: center; gap: 14px; }
.catcard-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--ci-bg, var(--sky-100)); color: var(--ci-fg, var(--sky-700)); flex: none; }
.catcard h2 { font-size: 1.25rem; }
.catcard h2 a:hover { color: var(--sky-700); }
.catcard-count { font-size: .8125rem; color: var(--muted); }
.catcard ul { display: grid; gap: 2px; }
.catcard li a { display: flex; justify-content: space-between; gap: 10px; padding: 7px 10px; margin: 0 -10px; border-radius: var(--r-sm); font-size: .9375rem; color: var(--ink-2); }
.catcard li a:hover { background: var(--surface); color: var(--ink); }
.catcard li a span { color: var(--subtle); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.catcard-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 8px 14px; flex-wrap: wrap; }
.catcard-popular { font-size: .8125rem; color: var(--muted); }
.catcard-popular a { color: var(--ink-2); font-weight: 500; }
.catcard-popular a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Category landing ---------- */
.cat-hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.cat-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 18px; font-size: .875rem; color: var(--muted); }
.cat-meta span { display: inline-flex; align-items: center; gap: 6px; }
.glance { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 8px; box-shadow: var(--shadow-sm); }
.glance h2 { font-size: .8125rem; font-weight: 600; color: var(--muted); padding: 12px 12px 8px; }
.glance li { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r); }
.glance li:hover { background: var(--surface); }
.glance li a::after { content: ""; position: absolute; inset: 0; }
.glance .why { font-size: .75rem; color: var(--muted); }
.glance-n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--surface-2); font-size: .75rem; font-weight: 600; color: var(--ink-2); }
.glance li:first-child .glance-n { background: var(--ink); color: #fff; }
.glance b { font-size: .9375rem; }
@media (max-width: 900px) { .cat-hero { grid-template-columns: 1fr; } }
.picks { display: grid; gap: 16px; counter-reset: pick; }
.pick { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr) 230px; gap: 22px; padding: 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); align-items: start; }
.pick:first-child { border-color: var(--sky-300); box-shadow: 0 0 0 4px var(--sky-50); }
.pick-num { font-family: var(--font-serif); font-size: 3.4rem; line-height: .9; color: var(--sky-300); }
.pick-label { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 600; color: var(--coral-600); background: var(--coral-50); padding: 4px 10px; border-radius: var(--pill); }
.pick h3 { font-size: 1.375rem; margin-top: 8px; display: flex; align-items: center; gap: 8px; }
.pick h3 a:hover { color: var(--sky-700); }
.pick-verdict { color: var(--ink-2); margin-top: 8px; }
.pick-pros { display: grid; gap: 6px; margin-top: 14px; font-size: .9375rem; color: var(--ink-2); }
.pick-pros li { display: flex; gap: 8px; align-items: flex-start; }
.pick-pros svg { color: var(--meadow-500); margin-top: 4px; flex: none; }
.pick-side { display: grid; gap: 10px; padding: 16px; border-radius: var(--r); background: var(--surface); }
.pick-side .row-between { font-size: .875rem; }
@media (max-width: 960px) { .pick { grid-template-columns: 52px minmax(0, 1fr); padding: 20px; } .pick-num { font-size: 2.6rem; } .pick-side { grid-column: 1 / -1; } }

/* ---------- Tool detail ---------- */
.tool-hero { padding-top: 28px; padding-bottom: 30px; background: linear-gradient(180deg, var(--sky-50), #fff); }
.tool-id { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; margin-top: 22px; }
.tool-kicker { display: flex; align-items: center; gap: 7px; font-size: .875rem; color: var(--muted); }
.tool-kicker a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.tool-id h1 { margin-top: 8px; font-size: clamp(2.2rem, 1.6rem + 2.2vw, 3.2rem); font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.015em; line-height: 1.05; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tool-id h1 .badge { font-family: var(--font-sans); letter-spacing: 0; }
.tool-tagline { font-size: 1.125rem; color: var(--ink-2); margin-top: 8px; max-width: 720px; }
.tool-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 14px; font-size: .875rem; color: var(--muted); }
.tool-quick a:hover { color: var(--ink); }
.tool-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 860px) { .tool-id { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 18px; } .tool-actions { justify-content: flex-start; } .tool-actions .btn-lg { flex: 1; } }
.subnav { position: sticky; top: var(--header-h); z-index: 40; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav-inner { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; height: 52px; }
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 8px 12px; border-radius: var(--pill); font-size: .875rem; font-weight: 500; color: var(--muted); }
.subnav a:hover { color: var(--ink); }
.subnav a.is-active { color: var(--ink); background: var(--surface-2); }
.subnav-cta { margin-left: auto; flex: none; opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; pointer-events: none; }
.subnav.is-stuck .subnav-cta { opacity: 1; transform: none; pointer-events: auto; }
.tool-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; padding-top: 32px; }
.tool-main > section { padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.tool-main > section:last-child { border-bottom: 0; }
.tool-main h2 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem); letter-spacing: -0.01em; margin-bottom: 18px; }
.tool-aside { position: sticky; top: calc(var(--header-h) + 72px); display: grid; gap: 16px; }
@media (max-width: 1000px) { .tool-layout { grid-template-columns: minmax(0, 1fr); } .tool-aside { position: static; } }
.tool-media { margin: 0; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--sky-100); }
.best-for { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; align-items: center; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.pros-cons > div { padding: 20px; border-radius: var(--r-lg); }
.pros-cons .pros { background: var(--meadow-50); }
.pros-cons .cons { background: var(--coral-50); }
.pros-cons h3 { font-size: .9375rem; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.pros-cons li { display: flex; gap: 10px; font-size: .9375rem; color: var(--ink-2); }
.pros-cons li + li { margin-top: 8px; }
.pros-cons li svg { flex: none; margin-top: 4px; }
.pros svg { color: var(--meadow-700); }
.cons svg { color: var(--coral-600); }
@media (max-width: 640px) { .pros-cons { grid-template-columns: 1fr; } }
.feature { display: grid; gap: 8px; padding: 20px; border-radius: var(--r-lg); border: 1px solid var(--line); align-content: start; }
.feature-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--sky-50); color: var(--sky-700); }
.feature h3 { font-size: 1rem; margin-top: 4px; }
.feature p { font-size: .9375rem; color: var(--muted); }

/* starting price (DB: price + currency + pricingTerm + trialPeriod) */
.price-card { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.price-main { padding: 24px; background: var(--surface); display: grid; gap: 4px; align-content: start; }
.price-eyebrow { font-size: .8125rem; font-weight: 600; color: var(--muted); }
.price-big { font-family: var(--font-serif); font-size: 3.4rem; line-height: 1; letter-spacing: -0.02em; margin-top: 6px; }
.price-big small { font-family: var(--font-sans); font-size: 1rem; color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.price-sub { font-size: .875rem; color: var(--muted); }
.price-facts { margin-top: 12px; display: grid; gap: 6px; }
.price-facts li { display: flex; align-items: center; gap: 8px; font-size: .9375rem; font-weight: 500; }
.price-context { padding: 24px; display: grid; align-content: start; gap: 2px; color: var(--ink-2); }
.price-scale { position: relative; height: 64px; margin-top: 18px; }
.ps-track { position: absolute; left: 0; right: 0; top: 30px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--meadow-100), var(--sky-200), var(--coral-100)); }
.ps-median, .ps-this { position: absolute; top: 0; bottom: 0; left: var(--x); width: 0; }
.ps-median i, .ps-this i { position: absolute; left: 0; transform: translateX(-50%); font-style: normal; white-space: nowrap; }
.ps-median i { top: 46px; font-size: .6875rem; color: var(--muted); }
.ps-this i { top: 0; font-size: .75rem; font-weight: 600; color: var(--ink); background: #fff; padding: 2px 8px; border-radius: var(--pill); box-shadow: 0 0 0 1px var(--line); }
.ps-median::after { content: ""; position: absolute; left: -1px; top: 26px; width: 2px; height: 16px; border-radius: 1px; background: var(--muted); }
.ps-this::after { content: ""; position: absolute; left: -8px; top: 26px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--ink); }
.ps-median[data-edge="start"] i, .ps-this[data-edge="start"] i { transform: translateX(-10px); }
.ps-median[data-edge="end"] i, .ps-this[data-edge="end"] i { transform: translateX(calc(-100% + 10px)); }
.ps-ends { display: flex; justify-content: space-between; font-size: .75rem; color: var(--subtle); }
@media (max-width: 700px) { .price-card { grid-template-columns: 1fr; } }

.video-facade { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: #0f1a24; color: #fff; text-align: left; }
.video-facade svg.poster { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .85; }
.video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow-lg); transition: transform .2s var(--ease); }
.video-facade:hover .video-play { transform: translate(-50%, -50%) scale(1.06); }
.video-cap { position: absolute; left: 20px; bottom: 18px; right: 20px; display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.video-cap b { font-size: 1.0625rem; }
.video-cap span { font-size: .8125rem; opacity: .85; }
.compare-head { display: grid; gap: 8px; }
.compare-head .select { height: 34px; min-width: 140px; font-size: .8125rem; border-radius: var(--pill); padding-left: 12px; background-color: #fff; }
.compare-head b { font-size: .9375rem; color: var(--ink); }
.ctable .row-group th { background: var(--surface); font-size: .6875rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding-top: 10px; padding-bottom: 10px; }
.ctable tbody tr.row-group:hover > * { background: var(--surface); }
.ctable .win { display: inline-flex; margin-left: 6px; font-size: .6875rem; font-weight: 600; color: var(--meadow-700); background: var(--meadow-50); padding: 2px 6px; border-radius: 5px; }
.facts { padding: 20px; }
.facts dl { display: grid; gap: 0; }
.facts dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .875rem; }
.facts dl > div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { font-weight: 500; text-align: right; }
.badge-embed { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 14px; background: #fff; }
.badge-embed .brand-mark { width: 30px; height: 30px; }
.badge-embed small { display: block; font-size: .6875rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.badge-embed b { font-size: 1rem; }

/* ---------- Pricing ---------- */
.pricing-hero { position: relative; padding-top: calc(var(--header-h) + 64px); margin-top: calc(var(--header-h) * -1); padding-bottom: 56px; text-align: center; }
.pricing-hero .container { position: relative; z-index: 1; }
.pricing-hero .lead { margin: 18px auto 0; max-width: 640px; }
.audience { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 920px; margin: 36px auto 0; }
.audience div { background: rgba(255, 255, 255, .8); border: 1px solid rgba(255, 255, 255, .95); border-radius: var(--r); padding: 16px; text-align: left; }
.audience b { display: block; font-family: var(--font-serif); font-weight: 400; font-size: 2rem; line-height: 1.05; }
.audience span { font-size: .8125rem; color: var(--muted); }
@media (max-width: 760px) { .audience { grid-template-columns: repeat(2, 1fr); } }
.step-title { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.step-title .n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: .8125rem; font-weight: 600; }
.plans-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); }
.plan.is-popular { border: 0; box-shadow: var(--shadow-lg), 0 0 0 2px var(--ink); }
.plan-flag { position: absolute; top: -12px; left: 28px; }
.plan h3 { font-size: 1.125rem; }
.plan-desc { color: var(--muted); font-size: .9375rem; min-height: 3em; }
.plan-price { display: flex; align-items: baseline; gap: 8px; }
.plan-price b { font-family: var(--font-serif); font-weight: 400; font-size: 3.4rem; line-height: 1; letter-spacing: -0.02em; }
.plan-price span { color: var(--muted); font-size: .875rem; }
.plan-list { display: grid; gap: 10px; font-size: .9375rem; color: var(--ink-2); }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; }
.plan-list svg { flex: none; margin-top: 3px; color: var(--meadow-500); }
.plan-list .plus { font-weight: 600; color: var(--ink); }
.plan .btn { margin-top: auto; }
.plan-sla { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--surface); font-size: .8125rem; color: var(--ink-2); }
.plan-sla svg { color: var(--sky-600); }
@media (max-width: 960px) { .plans-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.boost { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; }
.boost-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--bi-bg, var(--sky-50)); color: var(--bi-fg, var(--sky-700)); }
.boost h3 { font-size: 1rem; }
.boost p { font-size: .875rem; color: var(--muted); margin-top: 2px; }
.boost-price { text-align: right; }
.boost-price b { font-size: 1.25rem; font-weight: 600; }
.boost-price span { display: block; font-size: .75rem; color: var(--muted); }
.promise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.promise > div { padding: 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.promise svg { color: var(--sky-600); }
.promise h3 { font-size: 1.0625rem; }
.promise p { font-size: .9375rem; color: var(--muted); }
@media (max-width: 860px) { .promise { grid-template-columns: 1fr; } }

.plan-worth { align-self: center; font-size: .75rem; font-weight: 600; color: var(--meadow-700); background: var(--meadow-50); padding: 3px 9px; border-radius: var(--pill); margin-left: 4px; }
.pay-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.pay-flow li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-lg); background: var(--surface); }
.pay-flow li > span { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--sky-700); box-shadow: var(--shadow-xs); flex: none; }
.pay-flow b { display: block; font-size: .9375rem; }
.pay-flow small { display: block; font-size: .8125rem; color: var(--muted); }
@media (max-width: 960px) { .pay-flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pay-flow { grid-template-columns: 1fr; } }
.boost-inc { display: inline-flex !important; align-items: center; gap: 5px; margin-top: 8px !important; font-size: .75rem !important; font-weight: 600; color: var(--meadow-700) !important; background: var(--meadow-50); padding: 3px 9px; border-radius: var(--pill); }
.boost--ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.boost--ink p { color: rgba(255, 255, 255, .7); }

/* ---------- Modals (submit wizard, boost, checkout) ---------- */
body.has-modal { overflow: hidden; }
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(14, 26, 42, .5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: m-fade .2s ease; }
.modal-panel { position: relative; width: 100%; max-height: calc(100vh - 48px); display: flex; flex-direction: column; background: #fff; border-radius: var(--r-xl); box-shadow: 0 40px 100px -30px rgba(8, 20, 40, .55); overflow: hidden; overflow: clip; animation: m-pop .28s var(--ease); }
.modal-panel:focus { outline: none; }
.modal-panel--wizard { max-width: 1100px; height: min(880px, calc(100vh - 48px)); }
.modal-panel--md { max-width: 900px; }
.modal-panel--sm { max-width: 460px; }
@keyframes m-pop { from { opacity: 0; transform: translateY(14px) scale(.985); } }
@keyframes m-fade { from { opacity: 0; } }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px 26px 14px; }
.modal-title h2 { font-family: var(--font-serif); font-weight: 400; font-size: 2rem; letter-spacing: -0.01em; line-height: 1.1; }
.modal-title p { font-size: .875rem; color: var(--muted); margin-top: 4px; }
.modal-x { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; color: var(--ink-2); }
.modal-x:hover { background: var(--surface-2); color: var(--ink); }
.modal-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.modal-foot { display: flex; align-items: center; gap: 12px; padding: 14px 26px; border-top: 1px solid var(--line); background: #fff; }
.modal-foot [data-next], .modal-foot [data-pay], .modal-foot [data-boost-pay] { margin-left: auto; }
.foot-total { display: none; align-items: baseline; gap: 8px; margin-left: auto; font-size: .8125rem; color: var(--muted); }
.foot-total b { font-size: 1.125rem; color: var(--ink); }
.foot-note { display: flex; align-items: center; gap: 8px; font-size: .8125rem; color: var(--muted); }
@media (max-width: 1000px) { .foot-total { display: inline-flex; } .foot-total ~ [data-next], .foot-total ~ [data-pay] { margin-left: 0; } }
@media (max-width: 640px) {
  .modal { padding: 0; place-items: end stretch; }
  .modal-panel, .modal-panel--wizard { max-height: 100vh; height: 100%; border-radius: 0; }
  .modal-panel--sm { height: auto; border-radius: 22px 22px 0 0; }
  .modal-head { padding: 16px 16px 10px; }
  .modal-title h2 { font-size: 1.6rem; }
  .modal-title p { display: none; }
  .modal-foot { padding: 12px 16px; }
  .foot-note { display: none; }
}

/* wizard */
.modal .stepper { display: flex; gap: 6px; margin: 0; padding: 0 26px 16px; border-bottom: 1px solid var(--line); }
.stepper li { flex: 1; min-width: 0; }
.stepper button { width: 100%; display: grid; gap: 8px; text-align: left; font-size: .8125rem; font-weight: 500; color: var(--subtle); }
.stepper button::before { content: ""; height: 4px; border-radius: 2px; background: var(--line); transition: background-color .3s; }
.stepper button:disabled { cursor: default; }
.stepper button:not(:disabled):hover { color: var(--ink); }
.stepper .st-n::after { content: "."; }
.stepper button span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stepper button { grid-template-columns: auto minmax(0, 1fr); column-gap: 4px; }
.stepper button::before { grid-column: 1 / -1; }
.stepper .is-done button { color: var(--sky-700); }
.stepper .is-done button::before { background: var(--sky-500); }
.stepper .is-current button { color: var(--ink); }
.stepper .is-current button::before { background: var(--ink); }
@media (max-width: 640px) { .modal .stepper { padding: 0 16px 12px; } .stepper .st-l { display: none; } .stepper .is-current .st-l { display: inline; } }
.wizard-body { display: grid; grid-template-columns: minmax(0, 1fr) 330px; background: linear-gradient(90deg, #fff 0, #fff calc(100% - 331px), var(--line) calc(100% - 331px), var(--line) calc(100% - 330px), var(--surface) calc(100% - 330px)); }
.wizard { padding: 26px; min-width: 0; }
.wizard-aside { position: sticky; top: 0; align-self: start; display: grid; gap: 14px; align-content: start; padding: 26px 22px; }
.aside-label { display: flex; align-items: center; gap: 6px; }
@media (max-width: 1000px) { .wizard-body { grid-template-columns: minmax(0, 1fr); background: #fff; } .wizard-aside { display: none; } }
@media (max-width: 640px) { .wizard { padding: 18px 16px 24px; } }
.step-panel > header { margin-bottom: 22px; }
.step-panel > header h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.8rem; letter-spacing: -0.01em; line-height: 1.1; }
.step-panel > header p { color: var(--muted); margin-top: 6px; }
.fieldset { border: 0; padding: 0; margin: 18px 0 0; min-width: 0; }
.fieldset > legend { width: 100%; margin-bottom: 8px; padding: 0; }
.fetch-row { display: flex; gap: 8px; }
.fetch-row .input-group { flex: 1; }
@media (max-width: 520px) { .fetch-row { flex-direction: column; } }
.fetched { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r); background: var(--meadow-50); color: var(--meadow-700); font-size: .875rem; margin-top: 12px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.two-col .field + .field { margin-top: 0; }
.two-col + .field, .field + .two-col, .two-col + .two-col { margin-top: 18px; }
@media (max-width: 640px) { .two-col { grid-template-columns: 1fr; } }
.price-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 200px); gap: 16px; margin-top: 14px; }
.price-row .field + .field { margin-top: 0; }
@media (max-width: 520px) { .price-row { grid-template-columns: 1fr; } }
.affix-select { appearance: none; -webkit-appearance: none; height: 46px; padding: 0 12px; cursor: pointer; font-weight: 500; color: var(--ink-2); }
.affix-select:focus { outline: 2px solid var(--sky-500); outline-offset: -2px; }
.dropzone { display: grid; place-items: center; gap: 8px; text-align: center; padding: 28px 20px; border: 1.5px dashed var(--line-strong); border-radius: var(--r-lg); background: var(--surface); color: var(--muted); font-size: .875rem; cursor: pointer; transition: border-color .15s, background-color .15s; }
.dropzone:hover, .dropzone.is-over { border-color: var(--sky-500); background: var(--sky-50); }
.dropzone svg { color: var(--sky-600); }
.dropzone b { color: var(--ink); font-weight: 600; }
.cover-preview { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-lg); }
.cover-img { width: 136px; aspect-ratio: 16 / 9; border-radius: var(--r-sm); background: var(--sky-100) center / cover no-repeat; border: 1px solid var(--line); flex: none; }
.cover-preview b { display: block; font-size: .875rem; word-break: break-all; }
.cover-preview .xsmall { display: block; }
.locked-note { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; margin-top: 8px; border-radius: var(--r); background: var(--sun-50); color: var(--sun-700); font-size: .875rem; }
.locked-note .link { color: var(--sun-700); font-weight: 600; }
.input-group.is-locked .input { background: var(--surface); color: var(--subtle); }
.plan-radio { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 16px 18px; border-radius: var(--r-lg); border: 1px solid var(--line-strong); cursor: pointer; transition: border-color .15s, box-shadow .15s, background-color .15s; }
.plan-radio + .plan-radio { margin-top: 10px; }
.plan-radio:hover { border-color: var(--subtle); }
.plan-radio:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); background: var(--sky-50); }
.plan-radio input { margin-top: 3px; }
.plan-radio-name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 1rem; }
.plan-radio small { display: block; font-size: .8125rem; color: var(--muted); margin-top: 3px; }
.plan-radio .pr { font-size: 1.25rem; font-weight: 600; white-space: nowrap; }
.included-box { margin-top: 16px; padding: 16px 18px; border-radius: var(--r-lg); background: var(--meadow-50); }
.included-title { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9375rem; color: var(--meadow-700); }
.included-box ul { display: grid; gap: 6px; margin-top: 10px; font-size: .875rem; color: var(--ink-2); }
.included-box li { display: flex; gap: 8px; }
.included-box li svg { flex: none; margin-top: 3px; color: var(--meadow-500); }
.included-box li.is-covered { margin-top: 6px; padding-top: 10px; border-top: 1px solid rgba(59, 106, 34, .15); color: var(--meadow-700); }
.included-box li.is-covered svg { color: var(--meadow-700); }
.check input.is-invalid { border-color: var(--coral-500); box-shadow: 0 0 0 3px var(--coral-50); }
.addons-title { font-size: 1rem; margin: 26px 0 10px; }
.addons-title span { font-weight: 400; font-size: .875rem; color: var(--muted); }
.addon { display: grid; grid-template-columns: auto 34px minmax(0, 1fr) auto 64px; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--r); border: 1px solid var(--line); transition: border-color .15s, background-color .15s; }
.addon + .addon { margin-top: 8px; }
.addon:has(input:checked) { border-color: var(--sky-500); background: var(--sky-50); }
.addon-text { min-width: 0; }
.addon-text b { display: block; font-size: .9375rem; font-weight: 600; }
.addon-text small { display: block; font-size: .8125rem; color: var(--muted); }
.addon-qty .select { height: 34px; width: auto; padding: 0 30px 0 12px; border-radius: var(--pill); font-size: .8125rem; background-position: right 10px center; }
.addon-qty .select:disabled { opacity: .5; cursor: not-allowed; }
.addon-price { text-align: right; font-size: .9375rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.boost-icon--sm { width: 34px; height: 34px; border-radius: 10px; }
@media (max-width: 640px) {
  .addon { grid-template-columns: auto minmax(0, 1fr) auto; row-gap: 8px; }
  .addon .boost-icon { display: none; }
  .addon-qty { grid-column: 2; grid-row: 2; }
  .addon-price { grid-column: 3; grid-row: 1; }
}
.upgrade-hint { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; margin-top: 14px; padding: 14px 16px; border-radius: var(--r-lg); background: var(--sky-50); border: 1px solid var(--sky-200); font-size: .875rem; color: var(--ink-2); }
.upgrade-hint > svg { color: var(--sky-600); flex: none; }
.upgrade-hint b { color: var(--ink); }
@media (max-width: 640px) { .upgrade-hint { grid-template-columns: auto minmax(0, 1fr); } .upgrade-hint .btn { grid-column: 1 / -1; } }
.review-list { display: grid; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.review-list > div { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 16px; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: .9375rem; align-items: start; }
.review-list > div:last-child { border-bottom: 0; }
.review-list dt { color: var(--muted); font-size: .875rem; }
.review-list dd { color: var(--ink); word-break: break-word; }
.review-list button { font-size: .8125rem; color: var(--sky-600); font-weight: 500; }
@media (max-width: 640px) { .review-list > div { grid-template-columns: 1fr auto; } .review-list dd { grid-column: 1 / -1; grid-row: 2; } }
.stripe-box { display: flex; gap: 14px; margin-top: 18px; padding: 16px 18px; border-radius: var(--r-lg); background: var(--sky-50); border: 1px solid var(--sky-200); }
.stripe-box-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: #fff; color: var(--sky-700); box-shadow: var(--shadow-xs); }
.stripe-box b { font-size: .9375rem; }
.stripe-box p { font-size: .875rem; color: var(--ink-2); margin-top: 4px; }
.summary { padding: 20px; }
.summary h3 { font-size: .9375rem; margin-bottom: 10px; }
.summary-line { display: flex; justify-content: space-between; gap: 12px; font-size: .875rem; padding: 5px 0; color: var(--ink-2); }
.summary-line.is-inc { color: var(--meadow-700); }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; margin-top: 8px; border-top: 1px solid var(--line); font-weight: 600; }
.summary-total b { font-family: var(--font-serif); font-weight: 400; font-size: 2rem; }
.summary-secure { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: .75rem; color: var(--muted); }

/* boost modal */
.boost-body { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: start; padding: 6px 26px 26px; }
.boost-form .field + .field, .boost-form .field + .two-col { margin-top: 20px; }
.boost-summary { position: sticky; top: 0; }
@media (max-width: 820px) { .boost-body { grid-template-columns: minmax(0, 1fr); } .boost-summary { position: static; } }
@media (max-width: 640px) { .boost-body { padding: 4px 16px 20px; } }
.combo { position: relative; }
.combo-list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 5; max-height: 260px; overflow-y: auto; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); }
.combo-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: var(--r-sm); cursor: pointer; font-size: .9375rem; }
.combo-list li:hover, .combo-list li[aria-selected="true"] { background: var(--sky-50); }
.combo-list small { color: var(--muted); font-size: .8125rem; white-space: nowrap; }
.combo-list .empty { color: var(--muted); cursor: default; }
.boost-picked { display: flex; align-items: center; gap: 12px; margin-top: 8px; padding: 12px 14px; border-radius: var(--r); border: 1px solid var(--sky-300); background: var(--sky-50); }
.boost-picked b { display: block; }
.boost-picked small { font-size: .8125rem; color: var(--muted); }
.boost-picked button { margin-left: auto; }

/* checkout redirect */
.modal--center { place-items: center; }
.checkout-panel { padding: 34px 28px 24px; text-align: center; display: grid; gap: 12px; justify-items: center; }
.co-spinner { position: relative; width: 76px; height: 76px; display: grid; place-items: center; color: var(--sky-700); }
.co-ring { position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--sky-100); border-top-color: var(--sky-600); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.checkout-panel h2 { font-family: var(--font-serif); font-weight: 400; font-size: 2rem; line-height: 1.1; }
.checkout-panel > p { max-width: 360px; font-size: .9375rem; color: var(--muted); }
.co-steps { display: grid; gap: 9px; width: 100%; max-width: 300px; margin-top: 6px; text-align: left; font-size: .875rem; color: var(--subtle); }
.co-steps li { display: flex; align-items: center; gap: 10px; transition: color .2s; }
.co-dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-strong); flex: none; display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.co-steps li.is-active { color: var(--ink); }
.co-steps li.is-active .co-dot { border-color: var(--sky-500); border-right-color: transparent; animation: spin .8s linear infinite; }
.co-steps li.is-done { color: var(--ink-2); }
.co-steps li.is-done .co-dot { background: var(--meadow-500); border-color: var(--meadow-500); }
.co-steps li.is-done .co-dot::after { content: ""; width: 7px; height: 4px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.co-secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 6px; font-size: .75rem; color: var(--muted); }
.proto-box { width: 100%; margin-top: 8px; padding: 12px; display: grid; gap: 8px; border: 1px dashed var(--line-strong); border-radius: var(--r); background: var(--surface); font-size: .75rem; color: var(--muted); text-align: center; }
.proto-box--wide { max-width: 640px; margin-inline: auto; }
@media (prefers-reduced-motion: reduce) { .co-ring, .co-steps li.is-active .co-dot { animation: none; } }

/* ---------- Checkout result & tracking pages ---------- */
.result-hero { padding: 56px 0 44px; text-align: center; background: linear-gradient(180deg, var(--meadow-50), #fff); border-bottom: 1px solid var(--line); }
.result-hero--failed { background: linear-gradient(180deg, var(--sun-50), #fff); }
.result-icon { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--meadow-500); color: #fff; box-shadow: 0 0 0 10px var(--meadow-100); }
.result-icon--warn { background: var(--sun-400); box-shadow: 0 0 0 10px var(--sun-100); }
.result-kicker { display: inline-block; font-weight: 600; color: var(--ink-2); }
.result-hero h1 { margin-top: 10px; }
.result-hero .lead { max-width: 640px; margin: 14px auto 0; }
.result-actions { justify-content: center; margin-top: 26px; }
.result-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; text-align: left; }
.result-note > svg { flex: none; }
.track-box { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; max-width: 720px; margin: 28px auto 0; padding: 10px 10px 10px 18px; text-align: left; background: #fff; border: 1px solid var(--line-strong); border-radius: 18px; box-shadow: var(--shadow); }
.track-box-main { flex: 1; min-width: 200px; display: grid; }
.track-box code { font-family: var(--font-mono); font-size: .9375rem; color: var(--ink); word-break: break-all; }
.result-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
@media (max-width: 900px) { .result-grid { grid-template-columns: minmax(0, 1fr); } }
.status-steps { display: grid; margin-top: 18px; }
.status-steps li { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding-bottom: 20px; }
.status-steps li::before { content: ""; position: absolute; left: 13px; top: 30px; bottom: 2px; width: 2px; background: var(--line); }
.status-steps li:last-child { padding-bottom: 0; }
.status-steps li:last-child::before { display: none; }
.ss-dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line-strong); background: #fff; color: #fff; }
.status-steps .is-done .ss-dot { background: var(--meadow-500); border-color: var(--meadow-500); }
.status-steps .is-done::before { background: var(--meadow-400); }
.status-steps .is-current .ss-dot { border-color: var(--sky-500); box-shadow: 0 0 0 5px var(--sky-100); }
.status-steps .is-current .ss-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sky-500); }
.status-steps b { font-size: .9375rem; }
.status-steps p { margin-top: 2px; font-size: .875rem; color: var(--muted); }
.order-lines { margin-top: 12px; }
.order-meta { display: grid; margin-top: 14px; border-top: 1px solid var(--line); }
.order-meta div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .8125rem; }
.order-meta dt { color: var(--muted); }
.order-meta dd { font-weight: 500; text-align: right; word-break: break-all; }
/* read-only listing details on the confirmation page */
.listing-card { padding: clamp(20px, 3vw, 32px); }
.listing-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.listing-head p { margin-top: 4px; }
.listing-lock { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: var(--pill); font-size: .75rem; font-weight: 600; color: var(--ink-2); background: var(--surface-2); white-space: nowrap; }
.listing-grid { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 22px; }
.listing-cover { display: grid; gap: 8px; margin: 0; }
.listing-cover figcaption { font-size: .75rem; color: var(--muted); overflow-wrap: anywhere; }
.listing-media { aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.listing-media > img, .listing-media > svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.listing-media-empty { display: grid; justify-items: center; gap: 6px; font-size: .8125rem; color: var(--muted); }
.listing-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; border-top: 1px solid var(--line); }
.listing-list > div { min-width: 0; padding: 11px 0; border-bottom: 1px solid var(--line); }
.listing-list > .is-wide { grid-column: 1 / -1; }
.listing-list dt { font-size: .75rem; font-weight: 600; color: var(--muted); }
.listing-list dd { margin: 3px 0 0; font-size: .9375rem; color: var(--ink); overflow-wrap: anywhere; }
.listing-desc { white-space: pre-line; color: var(--ink-2); line-height: 1.55; }
.listing-note { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 14px 16px; border-radius: var(--r); background: var(--sky-50); border: 1px solid var(--sky-100); }
.listing-note > svg { flex: none; color: var(--sky-700); }
.listing-note p { flex: 1; min-width: 0; font-size: .875rem; color: var(--ink-2); }
.listing-note .btn { flex: none; }
.listing-note [data-o="ref"] { white-space: nowrap; }
@media (max-width: 760px) { .listing-grid, .listing-list { grid-template-columns: minmax(0, 1fr); } .listing-head { flex-direction: column; gap: 10px; } .listing-note { flex-wrap: wrap; align-items: flex-start; } .listing-note p { flex-basis: calc(100% - 30px); } .listing-note .btn { margin-left: 30px; } }
.reasons { display: grid; gap: 10px; margin-top: 16px; }
.reasons li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 14px; border-radius: var(--r); transition: background-color .2s; }
.reasons li.is-likely { background: var(--sun-50); box-shadow: inset 0 0 0 1px var(--sun-100); }
.reason-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--ink-2); }
.reasons b { font-size: .9375rem; }
.reasons p { margin-top: 2px; font-size: .875rem; color: var(--muted); }
.likely { margin-left: 8px; font-size: .6875rem; font-weight: 600; color: var(--sun-700); background: #fff; padding: 2px 7px; border-radius: var(--pill); vertical-align: 1px; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 13px; border-radius: var(--pill); font-size: .8125rem; font-weight: 600; white-space: nowrap; }
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.order-card .status-pill { height: 24px; padding: 0 9px; font-size: .75rem; }
.status-pill--unpaid { background: var(--sun-50); color: var(--sun-700); }
.status-pill--review { background: var(--sky-50); color: var(--sky-700); }
.status-pill--changes { background: var(--coral-50); color: var(--coral-600); }
.status-pill--live { background: var(--meadow-50); color: var(--meadow-700); }
.track-head-wrap { padding-bottom: 28px; }
.track-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.track-head h1 { margin-top: 6px; }
.track-head .muted { margin-top: 6px; }
.track-lookup { max-width: 560px; margin-top: 18px; }
.track-form { display: grid; gap: 14px; margin-top: 22px; }
.track-form .field + .field { margin-top: 0; }
.track-form .btn { justify-self: start; }
.track-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
@media (max-width: 900px) { .track-layout { grid-template-columns: minmax(0, 1fr); } }
.track-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.track-steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 7px; row-gap: 8px; font-size: .8125rem; color: var(--subtle); }
.track-steps li::before { content: ""; grid-column: 1 / -1; height: 4px; border-radius: 2px; background: var(--line); }
.ts-dot { width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: transparent; }
.ts-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ts-time { grid-column: 1 / -1; margin-top: -4px; font-size: .75rem; }
.track-steps .is-done::before { background: var(--meadow-500); }
.track-steps .is-done .ts-dot { background: var(--meadow-500); color: #fff; }
.track-steps .is-current::before { background: var(--sky-500); }
.track-steps .is-current .ts-dot { background: var(--sky-500); box-shadow: 0 0 0 4px var(--sky-100); }
.track-steps .is-done .ts-label, .track-steps .is-current .ts-label { color: var(--ink); font-weight: 500; }
.track-steps .is-skipped { display: none; }
@media (max-width: 640px) { .track-steps { grid-template-columns: repeat(5, minmax(86px, 1fr)); overflow-x: auto; padding-bottom: 6px; } }
.state-card { border-left: 4px solid var(--sky-500); }
.state-card--unpaid { border-left-color: var(--sun-400); }
.state-card--changes { border-left-color: var(--coral-500); }
.state-card--live { border-left-color: var(--meadow-500); }
.state-card > p { margin-top: 6px; }
.state-card > .state-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 14px; }
.state-note > svg { flex: none; margin-top: 2px; }
.state-note b { white-space: nowrap; }
.eta-bar { height: 8px; margin-top: 16px; border-radius: 4px; overflow: hidden; background: var(--surface-2); }
.eta-bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--sky-400), var(--sky-600)); }
.editor-note { display: flex; gap: 12px; margin-top: 14px; padding: 14px 16px; border-radius: var(--r); background: var(--sun-50); }
.editor-note p { margin-top: 2px; font-size: .9375rem; color: var(--ink-2); }
.activity li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .875rem; }
.activity li:last-child { border-bottom: 0; }
.activity time { font-size: .8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }

/* email preview */
.email-page { background: var(--surface); }
.email { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.email-meta { display: grid; gap: 4px; padding: 14px 20px; border-bottom: 1px solid var(--line); background: #fbfcfd; font-size: .8125rem; }
.email-meta div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px; }
.email-meta span { color: var(--muted); }
.email-meta b { font-weight: 500; }
.email-body { max-width: 560px; margin: 0 auto; padding: 32px 24px 28px; font-size: .9375rem; line-height: 1.65; color: var(--ink-2); }
.email-body > * + * { margin-top: 14px; }
.email-brand { display: flex; align-items: center; gap: 8px; font-weight: 650; color: var(--ink); }
.email-brand .brand-mark { width: 26px; height: 26px; }
.email-brand b { color: var(--sky-600); font-weight: 650; }
.email-body h2 { margin-top: 22px; font-family: var(--font-serif); font-weight: 400; font-size: 1.9rem; line-height: 1.15; color: var(--ink); }
.email-btn { display: inline-block; padding: 14px 26px; border-radius: var(--pill); background: var(--ink); color: #fff; font-weight: 600; }
.email-btn:hover { background: #000; }
.email-box { padding: 14px 16px; border-radius: var(--r); background: var(--surface); }
.email-foot { margin-top: 24px !important; padding-top: 16px; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--muted); }
.email-foot a { color: var(--sky-600); }

/* ---------- Best of hub & pack pages ---------- */
.best-head { padding-bottom: 40px; }
.best-hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.best-hero h1 { margin-top: 12px; }
.curator-faces { display: grid; gap: 12px; justify-items: start; padding: 20px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.faces { display: flex; }
.faces .avatar { box-shadow: 0 0 0 3px #fff; }
.faces .avatar + .avatar { margin-left: -12px; }
@media (max-width: 900px) { .best-hero { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.pack-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: var(--r-xl); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.pack-feature .pack-cover { aspect-ratio: auto; min-height: 340px; }
.pack-feature .pack-pills li { font-size: 1.0625rem; padding: 10px 20px; }
.pack-feature-body { display: grid; gap: 14px; align-content: center; padding: clamp(24px, 4vw, 44px); }
.pack-feature-body h2 a:hover { color: var(--sky-700); }
.pack-feature-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pack-feature-tools li { display: grid; font-size: .9375rem; }
.pack-feature-tools span { font-size: .8125rem; color: var(--muted); }
@media (max-width: 860px) { .pack-feature { grid-template-columns: minmax(0, 1fr); } .pack-feature .pack-cover { min-height: 240px; } }
.pack-hero { padding: 28px 0 44px; background: linear-gradient(180deg, var(--sky-50), #fff); border-bottom: 1px solid var(--line); }
.pack-hero h1 { margin-top: 12px; }
.pack-hero .lead { margin-top: 14px; max-width: 620px; }
.pack-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.pack-hero-side .pack-cover { border-radius: var(--r-xl); box-shadow: var(--shadow); }
@media (max-width: 900px) { .pack-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.curator-line { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.curator-line b { display: block; font-size: .9375rem; }
.curator-line small { display: block; font-size: .8125rem; color: var(--muted); }
.pack-byline { display: flex; align-items: center; gap: 8px; margin-top: 22px; font-size: .875rem; font-weight: 500; color: var(--ink-2); }
.pack-byline svg { color: var(--sky-600); flex: none; }
.pack-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.pack-stats div { padding: 12px 14px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.pack-stats dt { font-size: .75rem; color: var(--muted); }
.pack-stats dd { font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.15; }
.pack-strip { position: sticky; top: var(--header-h); z-index: 30; padding: 10px 0; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.pack-strip .chip { height: 34px; }
.pack-strip-n { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-size: .6875rem; font-weight: 600; color: var(--ink-2); }
.pack-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.pack-aside { position: sticky; top: calc(var(--header-h) + 76px); display: grid; gap: 16px; }
@media (max-width: 1000px) { .pack-layout { grid-template-columns: minmax(0, 1fr); } .pack-aside { position: static; } }
.pack-list { display: grid; gap: 16px; }
.pack-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 20px; padding: 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 72px); }
.pi-num { font-family: var(--font-serif); font-size: 2.8rem; line-height: .9; color: var(--sky-300); }
.pi-role { display: inline-flex; padding: 4px 10px; border-radius: var(--pill); font-size: .75rem; font-weight: 600; color: var(--coral-600); background: var(--coral-50); }
.pi-name { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 1.375rem; }
.pi-name a:hover { color: var(--sky-700); }
.pi-tagline { margin-top: 4px; color: var(--ink-2); }
.pi-note { margin: 14px 0 0; padding: 14px 16px; border-radius: var(--r); background: var(--surface); border-left: 3px solid var(--sky-300); }
.pi-note p { font-family: var(--font-serif); font-size: 1.1875rem; line-height: 1.4; color: var(--ink); }
.pi-note cite { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-style: normal; font-size: .8125rem; color: var(--muted); }
.pi-note-label { display: block; margin-bottom: 6px; font-size: .75rem; font-weight: 600; letter-spacing: .02em; color: var(--sky-700); }
.pi-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 14px; font-size: .8125rem; color: var(--muted); }
.pi-actions { display: grid; gap: 8px; align-content: start; }
@media (max-width: 700px) { .pack-item { grid-template-columns: 40px minmax(0, 1fr); padding: 18px; gap: 14px; } .pi-num { font-size: 2rem; } .pi-actions { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; } }
.cost-table { width: 100%; margin-top: 10px; border-collapse: collapse; font-size: .875rem; }
.cost-table th { padding: 7px 0; text-align: left; font-weight: 500; border-bottom: 1px solid var(--line); }
.cost-table th a:hover { color: var(--sky-700); }
.cost-table td { padding: 7px 0; text-align: right; font-weight: 600; white-space: nowrap; border-bottom: 1px solid var(--line); }
.cost-table small { display: block; font-size: .6875rem; font-weight: 500; color: var(--sky-700); }
.cost-sum { margin-top: 12px; }
.curator-promise, .pack-promise { display: flex; align-items: center; gap: 6px; margin-top: 12px; }
.flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.flow li { padding: 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.flow-n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: .8125rem; font-weight: 600; }
.flow h3 { margin-top: 14px; font-size: 1.0625rem; }
.flow p { margin-top: 6px; font-size: .9375rem; color: var(--muted); }

/* ---------- About ---------- */
.about-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding: 12px; border-radius: var(--r-xl); background: #fff; }
.about-copy { padding: clamp(24px, 5vw, 64px); display: grid; align-content: center; gap: 18px; }
.about-copy ul { display: grid; gap: 8px; color: var(--ink-2); }
.about-copy li { display: flex; gap: 10px; }
.about-copy li svg { color: var(--meadow-500); margin-top: 4px; flex: none; }
.about-visual { position: relative; min-height: 460px; border-radius: 22px; overflow: hidden; isolation: isolate; background: #f4c9a8; }
.about-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
@media (max-width: 900px) { .about-hero { grid-template-columns: 1fr; } .about-visual { min-height: 0; aspect-ratio: 4 / 3; max-height: 560px; } .about-visual img { object-position: 50% 30%; } }
@media (max-width: 560px) { .about-visual { aspect-ratio: 5 / 6; max-height: none; } }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.contact-ways { display: grid; gap: 10px; }
.contact-ways > a, .contact-ways > div { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; transition: border-color .15s, box-shadow .15s; }
.contact-ways > a:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.contact-ways .socials a { background: var(--sky-50); }
.contact-ways .socials a:hover { background: var(--sky-100); }
.contact-ways .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--sky-50); color: var(--sky-700); }
.contact-ways b { font-size: .9375rem; }
.contact-ways small { display: block; color: var(--muted); font-size: .8125rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Design system page ---------- */
.ds-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.swatch { border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; background: #fff; }
.swatch i { display: block; height: 76px; }
.swatch div { padding: 10px 12px; font-size: .8125rem; }
.swatch b { display: block; font-weight: 600; }
.swatch code { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); }
.ds-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.ds-block { padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.ds-block + .ds-block { margin-top: 16px; }
.ds-label { font-size: .75rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.ds-icons { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.ds-icons div { display: grid; place-items: center; gap: 8px; padding: 14px 6px; border-radius: var(--r-sm); background: var(--surface); font-size: .6875rem; color: var(--muted); text-align: center; }
.ds-type > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 20px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ds-type > div:last-child { border-bottom: 0; }
@media (max-width: 640px) { .ds-type > div { grid-template-columns: 1fr; gap: 4px; } }

/* proto ribbon */
.proto-note { background: var(--ink); color: rgba(255, 255, 255, .85); font-size: .75rem; text-align: center; padding: 7px 16px; }
.proto-note a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

.track-head .eyebrow { display: inline-block; }
