/* Evade Templates. Graphite scale and type follow the Evade family tokens
   (@evade/ui); colour identity lives in --accent. The templates are the only
   saturated things on the page. */

@font-face {
  font-family: "Archivo";
  src: url("/static/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 500 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/static/fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --bg: #0a0b0d;
  --surface: #14161a;
  --surface-2: #1c1f25;
  --line: #5a6474;
  --line-soft: #2a2f37;
  --text: #f2f4f7;
  --muted: #a3aab6;
  --faint: #828b99;
  --accent: #ff8f6b;
  --accent-ink: #0a0b0d;
  --good: #4ade80;
  --warn: #fbbf24;
  --display: "Archivo", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, sans-serif;
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(20px, 4vw, 48px);
  color-scheme: dark;
  accent-color: var(--accent);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--line) var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  caret-color: var(--accent);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; display: block; }
a { color: var(--text); text-decoration-color: var(--line); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--accent); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.04; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1.2; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 46ch; text-wrap: pretty; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 0.875rem; }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--surface-2); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* ---------------------------------------------------------------- chrome */

.site-header { border-bottom: 1px solid var(--line-soft); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: inline-flex; align-items: baseline; gap: 0; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand span { font-weight: 500; color: var(--muted); }
.site-nav { display: flex; gap: 24px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.site-nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 0.95rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }
.site-nav .btn, .site-nav .btn:hover { color: var(--accent-ink); }
@media (max-width: 760px) {
  .site-header .wrap { flex-wrap: wrap; gap: 6px 20px; padding-block: 14px; }
  .site-nav { margin-left: 0; gap: 18px; width: 100%; }
  .site-nav .btn { display: none; }
}

.site-footer { border-top: 1px solid var(--line-soft); margin-top: clamp(80px, 10vw, 140px); padding-block: 56px 40px; color: var(--muted); font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-grid h2 { font-size: 0.95rem; letter-spacing: 0; color: var(--text); margin-bottom: 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--text); }
.footer-note { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.875rem; color: var(--faint); }
.footer-note a { color: var(--faint); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------- controls */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s ease;
}
.btn:hover { background: #ffa385; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 0.95rem; }
.btn-quiet { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn-quiet:hover { background: var(--surface-2); }
.btn-wide { width: 100%; }
.btn-link { background: none; border: 0; padding: 0; color: var(--muted); font: inherit; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; cursor: pointer; }
.btn-link:hover { color: var(--text); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.tag { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 0.8rem; font-weight: 600; white-space: nowrap; }
.tag-accent { background: color-mix(in srgb, var(--accent) 16%, var(--surface)); color: var(--accent); }

form { margin: 0; }
.stack { display: grid; gap: 18px; max-width: 440px; }
.stack label { display: grid; gap: 8px; font-weight: 500; }
input, select {
  font: inherit; color: inherit; background: var(--surface-2);
  border: 1px solid var(--line); border-radius: 10px; min-height: 48px; padding: 0 14px;
}
input::placeholder { color: var(--faint); }
input:focus-visible, select:focus-visible { outline-offset: 1px; border-color: var(--accent); }
input[type="checkbox"] { min-height: 0; width: 20px; height: 20px; margin: 2px 0 0; }
.stack label.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; color: var(--muted); }
.notice { padding: 14px 18px; border-radius: 12px; background: color-mix(in srgb, var(--warn) 12%, var(--surface)); color: #fde7b0; }

/* ---------------------------------------------------------------- hero */

.hero { padding-block: clamp(44px, 7vw, 96px) clamp(56px, 8vw, 110px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { max-width: 11ch; margin-bottom: 22px; }
.hero .lead { margin-bottom: 30px; }
.hero .actions { margin-bottom: 36px; }
.price-note { color: var(--muted); font-size: 0.95rem; }
.price-note strong { color: var(--text); font-family: var(--display); font-size: 1.15rem; letter-spacing: -0.01em; }

.palettes { border: 0; padding: 0; margin: 0; }
.palettes legend { font-weight: 600; margin-bottom: 12px; padding: 0; }
.palette-options { display: flex; flex-wrap: wrap; gap: 8px; }
.palette-options input { position: absolute; opacity: 0; pointer-events: none; }
.palette-options label {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px 0 9px;
  border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-soft);
  cursor: pointer; font-weight: 500; font-size: 0.9rem; color: var(--muted);
  transition: box-shadow 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.palette-options label:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.palette-options input:checked + label { color: var(--text); background: var(--surface-2); box-shadow: inset 0 0 0 1.5px var(--text); }
.palette-options input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.swatch { display: inline-flex; }
.swatch i { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--surface); margin-left: -4px; }
.swatch i:first-child { margin-left: 0; }

.stage { position: relative; aspect-ratio: 6 / 5; margin: 0; }
.stage .slot { position: absolute; margin: 0; border-radius: 10px; overflow: hidden; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.95), 0 2px 6px rgba(0, 0, 0, 0.35); background: var(--surface); }
.stage .slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.26s var(--ease); }
.stage .slot img:first-child { position: relative; }
.slot-post { left: 0; top: 10%; width: 36%; aspect-ratio: 4 / 5; transform: rotate(-2deg); z-index: 2; }
.slot-pin { left: 31%; top: 0; width: 30%; aspect-ratio: 2 / 3; transform: rotate(1.2deg); z-index: 3; }
.slot-kit { right: 0; top: 4%; width: 30%; aspect-ratio: 794 / 1123; transform: rotate(2deg); z-index: 1; }
.slot-thumb { left: 10%; top: 62%; width: 54%; aspect-ratio: 16 / 9; transform: rotate(-0.8deg); z-index: 4; }
.stage figcaption { position: absolute; right: 0; bottom: 4%; max-width: 26%; color: var(--faint); font-size: 0.85rem; line-height: 1.4; }
/* Narrow screens: offer and action first, then the templates, then the palettes that drive them. */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { display: contents; }
  .hero h1 { order: 1; }
  .hero .lead { order: 2; }
  .hero .actions { order: 3; margin-bottom: 40px; }
  .hero .stage { order: 4; max-width: 620px; width: 100%; margin-bottom: 28px; }
  .hero .palettes { order: 5; }
  .stage figcaption { display: none; }
}

/* ---------------------------------------------------------------- sections */

.section { padding-block: clamp(64px, 9vw, 120px); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { color: var(--muted); max-width: 52ch; margin: 0; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }
.rule { border: 0; border-top: 1px solid var(--line-soft); margin: 0; }

/* Format rows: one per platform, templates at true proportions */
.format { display: grid; grid-template-columns: minmax(200px, 260px) minmax(0, 1fr); gap: 32px; padding-block: 36px; border-top: 1px solid var(--line-soft); }
.format:last-child { border-bottom: 1px solid var(--line-soft); }
.format-meta h3 { margin-bottom: 8px; }
.format-meta p { color: var(--muted); font-size: 0.95rem; margin-bottom: 14px; }
.format-meta .num { color: var(--faint); font-size: 0.875rem; }
.strip { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 14px; margin: 0; list-style: none; padding-left: 0; scrollbar-width: thin; }
.strip li { flex: none; scroll-snap-align: start; }
.strip img { height: var(--strip-h, 260px); width: auto; border-radius: 8px; background: var(--surface); }
.strip span { display: block; margin-top: 8px; font-size: 0.85rem; color: var(--muted); }
.format[data-format="youtube"] .strip { --strip-h: 170px; }
@media (max-width: 760px) {
  .format { grid-template-columns: 1fr; gap: 18px; }
  .strip { --strip-h: 210px; }
  .format[data-format="youtube"] .strip { --strip-h: 140px; }
}

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps > li { padding-top: 22px; border-top: 2px solid var(--text); }
.steps > li::before { counter-increment: step; content: counter(step); display: block; font-family: var(--display); font-weight: 800; font-size: 3.4rem; line-height: 1; letter-spacing: -0.04em; color: var(--accent); margin-bottom: 18px; }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--muted); }
.path { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; font-weight: 600; color: var(--text); }
.path svg { width: 16px; height: 16px; color: var(--muted); }
.path kbd { font: inherit; padding: 2px 10px; border-radius: 8px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-soft); }
.files { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; font-size: 0.9rem; color: var(--muted); }
.files li { display: flex; gap: 10px; align-items: center; overflow-wrap: anywhere; }
.files svg { flex: none; width: 16px; height: 16px; color: var(--faint); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Pricing */
.offer { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 0; background: var(--surface); border-radius: 20px; overflow: hidden; }
.offer-body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 18px; }
.offer-body .price { font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 4.5vw, 3.6rem); letter-spacing: -0.03em; line-height: 1; }
.offer-body .price small { font: 500 1rem var(--body); color: var(--muted); letter-spacing: 0; margin-left: 8px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--accent); }
.offer-art { position: relative; background: var(--surface-2); min-height: 320px; overflow: hidden; }
.offer-art img { position: absolute; border-radius: 8px; box-shadow: 0 24px 48px -24px #000; }
.offer-art img:nth-child(1) { left: 8%; top: 12%; width: 40%; transform: rotate(-3deg); }
.offer-art img:nth-child(2) { left: 44%; top: 6%; width: 36%; transform: rotate(2deg); }
.offer-art img:nth-child(3) { left: 20%; top: 56%; width: 62%; transform: rotate(-1deg); }
@media (max-width: 860px) { .offer { grid-template-columns: 1fr; } .offer-art { min-height: 300px; order: -1; } }

.soon-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.soon { padding: 24px 28px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line-soft); display: grid; gap: 8px; align-content: start; }
.soon header { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.soon p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.soon a { font-weight: 600; font-size: 0.95rem; }
@media (max-width: 760px) { .soon-list { grid-template-columns: 1fr; } }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.plan { padding: clamp(24px, 3vw, 36px); border-radius: 18px; background: var(--surface); display: flex; flex-direction: column; gap: 16px; }
.plan-featured { box-shadow: inset 0 0 0 1.5px var(--accent); }
.plan header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan .price { font-family: var(--display); font-weight: 800; font-size: 2.6rem; letter-spacing: -0.03em; line-height: 1; }
.plan .price small { font: 500 1rem var(--body); color: var(--muted); letter-spacing: 0; }
.plan form { margin-top: auto; }
.plan .contents { border-top: 1px solid var(--line-soft); padding-top: 14px; font-size: 0.95rem; }
.plan .contents h4 { margin: 0 0 8px; font: 600 0.9rem var(--body); color: var(--muted); }
.plan .contents ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.plan .contents li { display: flex; justify-content: space-between; gap: 12px; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

.band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: 20px; background: var(--surface); margin-top: 16px; }
.band h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-bottom: 8px; }
.band p { color: var(--muted); margin: 0; max-width: 60ch; }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line-soft); }
.faq details:last-child { border-bottom: 1px solid var(--line-soft); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 22px 0; font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; width: 20px; height: 20px; color: var(--muted); transition: transform 0.25s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .answer { padding: 0 48px 22px 0; color: var(--muted); max-width: 68ch; }
.faq .answer p:last-child { margin-bottom: 0; }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group h2 { font-size: 1.5rem; margin-bottom: 14px; }

/* Closing */
.closing { text-align: center; padding-block: clamp(72px, 10vw, 130px) 0; }
.closing h2 { font-size: clamp(2.2rem, 5vw, 4rem); max-width: 16ch; margin: 0 auto 18px; }
.closing p { color: var(--muted); margin: 0 auto 30px; max-width: 46ch; }
.closing .actions { justify-content: center; }

/* ---------------------------------------------------------------- product */

.product-hero { padding-block: clamp(40px, 6vw, 80px) clamp(48px, 7vw, 90px); }
.product-hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.product-hero h1 { margin-bottom: 18px; max-width: 13ch; }
.product-hero .lead { margin-bottom: 26px; }
.buy-box { display: grid; gap: 14px; max-width: 420px; }
.buy-box .price { font-family: var(--display); font-weight: 800; font-size: 2.8rem; letter-spacing: -0.03em; line-height: 1; }
.buy-box .small { color: var(--muted); margin: 0; }
@media (max-width: 960px) { .product-hero .wrap { grid-template-columns: 1fr; } .product-hero .stage { max-width: 620px; } }

.gallery-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.gallery-nav a { text-decoration: none; padding: 8px 16px; border-radius: 999px; background: var(--surface); color: var(--muted); font-weight: 500; font-size: 0.95rem; }
.gallery-nav a:hover { color: var(--text); background: var(--surface-2); }
.gallery { scroll-margin-top: 24px; }
.gallery + .gallery { margin-top: 72px; }
.gallery header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 24px; }
.gallery header p { margin: 0; color: var(--faint); }
.grid-templates { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px 20px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.gallery[data-format="youtube"] .grid-templates { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid-templates figure { margin: 0; }
.grid-templates img { width: 100%; height: auto; border-radius: 8px; background: var(--surface); box-shadow: 0 18px 40px -26px #000; }
.grid-templates figcaption { margin-top: 10px; font-size: 0.9rem; color: var(--muted); display: flex; gap: 8px; }
.grid-templates figcaption .num { color: var(--faint); }

.soon-hero { padding-block: clamp(56px, 8vw, 110px); }
.soon-hero h1 { max-width: 14ch; margin: 18px 0 20px; }
.soon-hero .lead { margin-bottom: 28px; }
.soon-hero .detail { max-width: 62ch; color: var(--muted); margin-bottom: 32px; }

/* ---------------------------------------------------------------- pages */

.page { padding-block: clamp(40px, 6vw, 80px) 0; }
.page-narrow { max-width: 760px; }
.page h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin-bottom: 18px; }
.page-head { margin-bottom: 40px; }
.panel { background: var(--surface); border-radius: 18px; padding: clamp(24px, 4vw, 40px); }
.centered { max-width: 520px; margin: 0 auto; }

.prose { max-width: 68ch; }
.prose h2 { font-size: 1.5rem; margin: 2em 0 0.6em; }
.prose h3 { margin: 1.6em 0 0.5em; }
.prose p, .prose li { color: #d3d8e0; }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }
.prose img { border-radius: 12px; margin: 1.6em 0; }
.prose blockquote { margin: 1.4em 0; padding-left: 18px; box-shadow: inset 1px 0 0 var(--line); color: var(--muted); }
.prose code { font-size: 0.9em; padding: 2px 6px; border-radius: 6px; background: var(--surface-2); }

.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line-soft); }
.rows li:last-child { border-bottom: 1px solid var(--line-soft); }
.rows .what { display: grid; gap: 2px; min-width: 0; }
.rows .what strong { font-weight: 600; overflow-wrap: anywhere; }
.rows .what span { color: var(--faint); font-size: 0.875rem; }

.status { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; margin-bottom: 40px; }
.status p { margin: 0; }
.signed-in { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; color: var(--muted); margin-bottom: 28px; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 28px 0 40px; }
.stat { background: var(--surface); border-radius: 14px; padding: 18px 20px; display: grid; gap: 4px; }
.stat span { color: var(--muted); font-size: 0.9rem; }
.stat strong { font-family: var(--display); font-weight: 700; font-size: 1.8rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat small { color: var(--faint); }
.copy-field { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.copy-field input { flex: 1 1 320px; font-variant-numeric: tabular-nums; }

.terms { display: grid; gap: 0; margin: 0 0 40px; }
.terms div { display: grid; grid-template-columns: minmax(140px, 220px) minmax(0, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid var(--line-soft); }
.terms div:last-child { border-bottom: 1px solid var(--line-soft); }
.terms dt { font-weight: 600; }
.terms dd { margin: 0; color: var(--muted); }
@media (max-width: 600px) { .terms div { grid-template-columns: 1fr; gap: 4px; } }

.table-scroll { overflow-x: auto; margin: 16px 0 40px; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; font-variant-numeric: tabular-nums; }
th { text-align: left; font-weight: 600; color: var(--muted); padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.admin h2 { font-size: 1.4rem; margin-top: 24px; }

.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li { padding: 24px 0; border-top: 1px solid var(--line-soft); }
.post-list a { text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.015em; }
.post-list p { color: var(--muted); margin: 6px 0 0; }
.post-meta { color: var(--faint); font-size: 0.9rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
