/* ScreenDev public site */
:root {
  --ink: #15131d;
  --ink-2: #221f2d;
  --paper: #fbf9f5;
  --paper-2: #f3efe8;
  --card: #ffffff;
  --text: #1a1822;
  --muted: #5f5a68;
  --faint: #8d8896;
  --line: #e8e2d8;
  --coral: #ff5b2e;
  --coral-2: #ff825c;
  --coral-soft: #ffe9e1;
  --lilac: #b6a4ff;
  --mint: #34c38f;
  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 1px 2px rgba(21, 19, 29, 0.05), 0 8px 24px -8px rgba(21, 19, 29, 0.1);
  --shadow-lg: 0 2px 4px rgba(21, 19, 29, 0.05), 0 24px 60px -20px rgba(21, 19, 29, 0.25);
  --display: 'Bricolage Grotesque', 'Geist', system-ui, sans-serif;
  --body: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.025em; line-height: 1.08; margin: 0; font-weight: 700; }
h1 { font-size: clamp(38px, 6vw, 72px); }
h2 { font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: 20px; letter-spacing: -0.015em; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 40px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 6px; }

/* buttons */
.b { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; font: 600 15px/1 var(--body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform 0.15s, background 0.15s, box-shadow 0.15s; white-space: nowrap; }
.b:hover { transform: translateY(-1px); }
.b-lg { height: 54px; padding: 0 28px; font-size: 16px; }
.b-full { width: 100%; }
.b-primary { background: var(--coral); color: #fff; box-shadow: 0 8px 24px -8px rgba(255, 91, 46, 0.7); }
.b-primary:hover { background: #ff4a18; }
.b-dark { background: var(--ink); color: #fff; }
.b-light { background: #fff; color: var(--ink); }
.b-ghost { background: transparent; color: inherit; border-color: color-mix(in srgb, currentColor 22%, transparent); }
.b-ghost:hover { background: color-mix(in srgb, currentColor 6%, transparent); }
.b-outline { background: var(--card); border-color: var(--line); color: var(--text); }
.b-outline:hover { border-color: var(--text); }
.textlink { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--coral); text-decoration: none; }
.textlink:hover { text-decoration: underline; }
.eyebrow { display: inline-block; font: 600 13px/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral); margin-bottom: 16px; }
.dark .eyebrow { color: var(--coral-2); }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 82%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 20px/1 var(--display); letter-spacing: -0.02em; text-decoration: none; color: var(--ink); }
.brand.light { color: #fff; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-links > a, .dd-btn { font: 500 15px/1 var(--body); color: var(--text); text-decoration: none; padding: 10px 14px; border-radius: 999px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.nav-links > a:hover, .dd-btn:hover, .dd.open .dd-btn { background: rgba(21, 19, 29, 0.06); }
.dd { position: relative; }
.dd-btn svg { transition: transform 0.2s; }
.dd.open .dd-btn svg { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 12px); left: -24px; width: min(860px, calc(100vw - 48px)); background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 10px; display: grid; grid-template-columns: 250px 1fr; gap: 10px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.18s, transform 0.18s, visibility 0.18s; }
.dd.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-promo { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px; padding: 22px 20px 20px; border-radius: 14px; background: var(--ink); color: #f5f2ec; text-decoration: none; }
.mega-promo::before { content: ''; position: absolute; inset: auto -40px -60px auto; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 91, 46, 0.45), transparent); pointer-events: none; }
.mp-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral-2); }
.mega-promo b { font-family: var(--display); font-size: 22px; letter-spacing: -0.02em; }
.mp-text { font-size: 13px; line-height: 1.45; color: #bdb7c6; }
.mp-shots { position: relative; display: flex; gap: 6px; margin: 14px 0 12px; }
.mp-shots img { width: 33%; border-radius: 8px; transition: transform 0.25s; }
.mp-shots img:nth-child(2) { transform: translateY(-8px); }
.mega-promo:hover .mp-shots img:nth-child(1) { transform: rotate(-3deg); }
.mega-promo:hover .mp-shots img:nth-child(3) { transform: rotate(3deg); }
.mp-go { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: #fff; }
.mega-dir { display: flex; flex-direction: column; padding: 8px 8px 4px; }
.mega-grp { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.mega-tag { align-self: start; justify-self: start; margin-top: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--coral); background: var(--coral-soft); padding: 4px 9px; border-radius: 6px; }
.mega-links { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; }
.mega-link { display: flex; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 9px; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--text); }
.mega-link svg { flex: none; color: var(--faint); transition: color 0.15s; }
.mega-link:hover { background: var(--paper-2); }
.mega-link:hover svg { color: var(--coral); }
.mega-foot { display: flex; gap: 18px; padding: 14px 10px 6px; font-size: 14px; font-weight: 600; }
.mega-foot a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--muted); }
.mega-foot a:first-child { color: var(--coral); }
.mega-foot a:hover { color: var(--text); }
.mini-ic { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--coral-soft); color: var(--coral); }
.dd.open .mega { opacity: 1; visibility: visible; transform: none; }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-login { font-weight: 500; font-size: 15px; text-decoration: none; padding: 10px 14px; border-radius: 999px; }
.nav-login:hover { background: rgba(21, 19, 29, 0.06); }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); align-items: center; justify-content: center; cursor: pointer; color: var(--text); }
.burger .i-close, .nav.menu-open .burger .i-open { display: none; }
.nav.menu-open .burger .i-close { display: block; }
.mobile-menu { display: none; }
@media (max-width: 920px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: inline-flex; }
  .nav.menu-open { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav.menu-open .mobile-menu { display: block; position: fixed; top: 70px; left: 0; right: 0; bottom: 0; overflow-y: auto; background: var(--paper); padding: 12px 0 40px; border-top: 1px solid var(--line); }
  .mm-head { display: block; font-size: 13px; color: var(--muted); margin: 8px 0 10px; }
  .mm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
  .mm-grid a { display: flex; gap: 8px; align-items: center; padding: 10px 8px; border-radius: 10px; text-decoration: none; font-size: 15px; }
  .mm-grid a svg { color: var(--coral); flex: none; }
  .mm-links { display: flex; flex-direction: column; margin: 18px 0; border-top: 1px solid var(--line); }
  .mm-links a { padding: 16px 8px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 17px; text-decoration: none; }
  .mobile-menu .b { width: 100%; }
}
@media (max-width: 480px) { .mm-grid { grid-template-columns: 1fr; } }

/* hero */
.dark { background: var(--ink); color: #f5f2ec; }
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); }
.hero-in { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
.hero-copy { max-width: 560px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.hk-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px var(--coral-soft); flex: none; }
.hero h1 { font-size: clamp(40px, 5.4vw, 68px); font-weight: 760; }
.hero h1 .hl { position: relative; white-space: nowrap; z-index: 0; }
.hero h1 .hl::after { content: ''; position: absolute; left: -4px; right: -4px; bottom: 0.08em; height: 0.36em; background: var(--coral); opacity: 0.28; border-radius: 4px; z-index: -1; transform: skewX(-8deg); }
.hero-lede { font-size: clamp(17px, 1.8vw, 19px); color: var(--muted); margin-top: 22px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; align-items: center; }
.hero-cta.center { justify-content: center; }
.hero-notes { list-style: none; padding: 0; margin: 22px 0 0; display: flex; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.hero-notes li { display: inline-flex; gap: 6px; align-items: center; }
.hero-notes svg { color: var(--mint); }

.stage { position: relative; min-height: 500px; border-radius: 28px; background: linear-gradient(150deg, #fff 0%, #f6efe6 100%); border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 36px 28px; display: flex; align-items: center; gap: 18px; }
.stage-grid { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background-image: radial-gradient(rgba(21, 19, 29, 0.12) 1px, transparent 1px); background-size: 18px 18px; -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent); }
.stage-raw { position: relative; margin: 0; flex: none; width: 118px; transform: rotate(-4deg); }
.stage-raw img { border-radius: 16px; box-shadow: var(--shadow); border: 1px solid var(--line); filter: saturate(0.6); }
.stage-raw figcaption { position: absolute; top: -12px; left: 10px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.stage-arrow { position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--coral); color: #fff; box-shadow: 0 8px 20px -6px rgba(255, 91, 46, 0.7); }
.listing { position: relative; flex: 1; min-width: 0; background: #fff; border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 16px; }
.listing-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.listing-icon { width: 44px; height: 44px; border-radius: 12px; flex: none; background: linear-gradient(135deg, var(--coral), var(--lilac)); }
.listing-meta { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.listing-meta b { font-size: 15px; }
.listing-meta small { color: var(--faint); font-size: 12px; display: inline-flex; gap: 4px; align-items: center; }
.listing-meta small svg { color: #f5a623; fill: #f5a623; }
.listing-get { margin-left: auto; background: var(--mint); color: #fff; font-size: 13px; font-weight: 700; padding: 7px 16px; border-radius: 999px; }
.listing-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.listing-row img { width: 100%; border-radius: 10px; }
.chip { position: absolute; display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 999px; padding: 7px 13px; font-size: 13px; font-weight: 600; white-space: nowrap; animation: bob 6s ease-in-out infinite; z-index: 3; }
.chip svg { color: var(--coral); }
.chip.c1 { top: 26px; right: 30px; }
.chip.c2 { bottom: 28px; left: 24px; animation-delay: -2s; }
.chip.c2 svg { color: var(--mint); }
.chip.c3 { bottom: 28px; right: 30px; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .chip { animation: none; } }
@media (max-width: 960px) { .hero-in { grid-template-columns: 1fr; } .hero-copy { max-width: 640px; } }
@media (max-width: 560px) {
  .hero { padding: 48px 0 56px; }
  .stage { min-height: 0; padding: 56px 14px 64px; gap: 10px; }
  .stage-raw { width: 70px; }
  .stage-arrow { width: 28px; height: 28px; }
  .stage-arrow svg { width: 14px; }
  .listing { padding: 10px; }
  .listing-get { display: none; }
  .chip { font-size: 12px; padding: 5px 10px; }
  .chip.c1 { top: 14px; right: 14px; }
  .chip.c2 { bottom: 16px; left: 14px; }
  .chip.c3 { bottom: 16px; right: 14px; }
}

.wall { padding: 8px 0 0; overflow: hidden; }
.marquee { position: relative; height: 400px; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent); mask-image: linear-gradient(to bottom, #000 55%, transparent); }
.marquee-tilt { position: absolute; left: 50%; top: 20px; width: 2400px; transform: translateX(-50%) perspective(1600px) rotateX(28deg) rotateZ(-8deg); display: flex; flex-direction: column; gap: 18px; }
.mq-row { display: flex; width: max-content; animation: mq 70s linear infinite; }
.mq-row.rev { animation-direction: reverse; animation-duration: 85s; }
.mq-track { display: flex; gap: 18px; padding-right: 18px; }
.mq-track img { width: 150px; border-radius: 14px; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6); }
@keyframes mq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .mq-row { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 700px) { .marquee { height: 320px; } .mq-track img { width: 110px; } }

/* stats */
.stats { background: var(--ink); color: #fff; padding: 0 0 60px; }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 36px; }
.stat { text-align: center; }
.stat b { display: block; font: 700 clamp(34px, 4vw, 52px)/1 var(--display); letter-spacing: -0.03em; }
.stat span { color: #a29daa; font-size: 15px; }
@media (max-width: 640px) { .stats-in { grid-template-columns: 1fr 1fr; row-gap: 28px; } }

/* sections */
.sec { padding: 110px 0; }
.sec.tight { padding: 60px 0; }
.sec.alt { background: var(--paper-2); }
.sec-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.sec-head p, .lede { color: var(--muted); font-size: 18px; margin-top: 18px; }
.dark .sec-head p, .dark .lede { color: #b5b0bc; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.two .lede { margin-bottom: 8px; }
.narrowish { max-width: 1100px; align-items: start; }
@media (max-width: 900px) { .sec { padding: 72px 0; } .two { grid-template-columns: 1fr; gap: 40px; } }

/* before / after */
.ba { display: grid; grid-template-columns: 1fr auto 1.3fr; align-items: center; gap: 28px; max-width: 980px; margin: 0 auto; }
.ba-before, .ba-after { position: relative; display: flex; justify-content: center; gap: 12px; padding: 34px 20px 52px; border-radius: var(--r-lg); }
.ba-before { background: var(--paper-2); }
.ba-before img { width: 30%; max-width: 110px; border-radius: 10px; border: 1px solid var(--line); filter: grayscale(0.3); }
.ba-after { background: var(--ink); }
.ba-after img { width: 31%; max-width: 150px; border-radius: 12px; box-shadow: 0 16px 30px -10px rgba(0, 0, 0, 0.6); }
.ba-label { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-size: 13px; font-weight: 600; color: var(--muted); }
.ba-after .ba-label { color: #bdb7c5; }
.ba-mid span { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--coral); color: #fff; box-shadow: 0 10px 30px -6px rgba(255, 91, 46, 0.7); }
@media (max-width: 760px) { .ba { grid-template-columns: 1fr; } .ba-mid { display: grid; place-items: center; transform: rotate(90deg); } }
.steps3 { list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps3 li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.sec.alt .steps3 li { background: var(--card); }
.step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 18px; }
.steps3 b { display: block; font: 700 20px/1.25 var(--display); letter-spacing: -0.01em; margin-bottom: 8px; }
.steps3 p { color: var(--muted); }
@media (max-width: 800px) { .steps3 { grid-template-columns: 1fr; } }

/* bento */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.bento-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; }
.bento-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.bento-card.wide { grid-column: 1 / -1; flex-direction: row; }
.bento-card.wide .bento-vis { flex: 1.3; min-height: 360px; }
.bento-card.wide .bento-copy { flex: 1; align-self: center; }
.bento-vis { position: relative; min-height: 300px; background: linear-gradient(160deg, #f7f3ec, #efe8dd); display: grid; place-items: center; overflow: hidden; padding: 24px; }
.bento-copy { padding: 28px 32px 32px; }
.bento-copy h3 { font-size: 26px; margin-bottom: 10px; }
.bento-copy p { color: var(--muted); }
.more { display: inline-flex; gap: 6px; align-items: center; margin-top: 16px; font-weight: 600; color: var(--coral); font-size: 15px; }
.minis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.mini { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: center; padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; transition: border-color 0.15s; }
.mini:hover { border-color: var(--coral); }
.mini .mini-ic { grid-row: span 2; }
.mini b { font-weight: 600; }
.mini span:last-child { color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr; } .bento-card.wide { flex-direction: column; } .minis { grid-template-columns: 1fr; } }
@media (min-width: 600px) and (max-width: 900px) { .minis { grid-template-columns: 1fr 1fr; } }

/* showcase */
.showcase { position: relative; overflow: hidden; }
.showcase::before { content: ''; position: absolute; inset: auto -20% -40% -20%; height: 70%; background: radial-gradient(closest-side, rgba(255, 91, 46, 0.25), transparent); pointer-events: none; }
.v-tgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; position: relative; }
.v-tgrid img { width: 100%; border-radius: 12px; box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.45); transition: transform 0.25s; }
.v-tgrid img:nth-child(even) { transform: translateY(28px); }
.v-tgrid img:hover { transform: translateY(-6px) scale(1.03); }
@media (max-width: 800px) { .v-tgrid { grid-template-columns: repeat(3, 1fr); } }

/* stores */
.stores { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.stores > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.stores b { display: flex; gap: 8px; align-items: center; margin-bottom: 4px; }
.stores b svg { color: var(--coral); }
.stores span { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 15px; }
.stores span svg { color: var(--mint); flex: none; }
.row-links { display: flex; gap: 22px; flex-wrap: wrap; }
.row-links a { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; color: var(--coral); text-decoration: none; }
@media (max-width: 500px) { .stores { grid-template-columns: 1fr; } }

/* pricing mini */
.pricemini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pm { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: transform 0.2s; }
.pm:hover { transform: translateY(-3px); }
.pm.pop { background: var(--ink); color: #fff; border-color: var(--ink); }
.pm-flag { position: absolute; top: -11px; left: 22px; background: var(--coral); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.pm b { font: 700 20px/1 var(--display); }
.pm-price { font: 700 36px/1 var(--display); letter-spacing: -0.03em; margin-top: 6px; }
.pm-price small { display: block; font: 400 13px/1.4 var(--body); letter-spacing: 0; color: var(--muted); margin-top: 6px; }
.pm.pop .pm-price small, .pm.pop .pm-tag { color: #b8b2c0; }
.pm-tag { color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .pricemini { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pricemini { grid-template-columns: 1fr; } }

/* faq */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font: 600 18px/1.35 var(--display); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq-x { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--paper-2); }
.faq-x::before, .faq-x::after { content: ''; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.2s; }
.faq-x::after { transform: rotate(90deg); }
.faq details[open] .faq-x::after { transform: rotate(0); }
.faq details p { padding: 0 48px 22px 0; color: var(--muted); }
.faq-title { margin-bottom: 8px; }

/* cta band */
.cta-band { padding: 0 24px 100px; }
.cta-in { position: relative; overflow: hidden; background: var(--ink); color: #fff; border-radius: 32px; padding: 90px 32px; text-align: center; }
.cta-glow { position: absolute; inset: 0; background: radial-gradient(500px 300px at 20% 0%, rgba(255, 91, 46, 0.4), transparent 70%), radial-gradient(500px 300px at 90% 100%, rgba(182, 164, 255, 0.3), transparent 70%); }
.cta-in > * { position: relative; }
.cta-in p { color: #c2bdc8; font-size: 18px; max-width: 560px; margin: 18px auto 0; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

/* page heroes */
.phero { padding: 90px 0 40px; }
.phero h1 { max-width: 900px; margin: 0 auto; }
.phero .lede { max-width: 640px; margin-left: auto; margin-right: auto; }
.fhero { padding: 64px 0 40px; overflow: hidden; }
.fhero-in { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.fhero h1 { font-size: clamp(36px, 5vw, 60px); }
.fhero-vis { position: relative; min-height: 420px; display: grid; place-items: center; background: radial-gradient(closest-side, rgba(255, 91, 46, 0.12), transparent), linear-gradient(160deg, #f6f1e9, #ece4d7); border-radius: 28px; padding: 30px; overflow: hidden; }
.crumbs { font-size: 14px; color: var(--faint); margin-bottom: 22px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--coral); }
.crumbs span { margin: 0 6px; }
.plantag { display: inline-flex; gap: 6px; align-items: center; margin-top: 22px; font-size: 14px; font-weight: 600; color: var(--mint); background: #e6f8f0; padding: 6px 12px; border-radius: 999px; }
@media (max-width: 900px) { .fhero-in { grid-template-columns: 1fr; } .fhero-vis { min-height: 340px; } }
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.point-ic { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--coral-soft); color: var(--coral); margin-bottom: 16px; }
.point h3 { margin-bottom: 8px; }
.point p { color: var(--muted); }
@media (max-width: 800px) { .points { grid-template-columns: 1fr; gap: 24px; } }
.group-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.group-head h2 { font-size: 32px; }
.group-head span { color: var(--muted); }
.fcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fcard { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; }
.fcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.fcard h3 { margin-top: 6px; }
.fcard p { color: var(--muted); font-size: 15px; flex: 1; }
.fcard .more { margin-top: 4px; }
@media (max-width: 900px) { .fcards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .fcards { grid-template-columns: 1fr; } }

/* templates page */
.filters, .cycle { display: inline-flex; gap: 4px; margin-top: 32px; padding: 5px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; }
.filters button, .cycle button { border: 0; background: none; font: 600 14px/1 var(--body); padding: 11px 18px; border-radius: 999px; cursor: pointer; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }
.filters button.on, .cycle button.on { background: var(--ink); color: #fff; }
.cycle button span { background: var(--mint); color: #fff; font-size: 11px; padding: 3px 7px; border-radius: 999px; }
.tlist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.tcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.tcard[hidden] { display: none; }
.tstrip { display: flex; gap: 8px; padding: 22px; background: var(--paper-2); overflow: hidden; }
.tstrip img { width: calc((100% - 32px) / 5); border-radius: 8px; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.35); }
.tstrip.joined { gap: 0; }
.tstrip.joined img { border-radius: 0; width: 20%; box-shadow: none; }
.tstrip.joined img:first-child { border-radius: 8px 0 0 8px; }
.tstrip.joined img:last-child { border-radius: 0 8px 8px 0; }
.tbody { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; }
.tbody h2 { font-size: 22px; }
.tbody p { color: var(--muted); font-size: 15px; }
.trow { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tplan { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--coral-soft); color: var(--coral); }
.tplan.free { background: #e6f8f0; color: var(--mint); }
.tswatches { display: flex; gap: 6px; }
.tswatches i { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); }
@media (max-width: 900px) { .tlist { grid-template-columns: 1fr; } }

/* pricing page */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px 24px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.plan.pop { border: 2px solid var(--coral); box-shadow: 0 20px 50px -24px rgba(255, 91, 46, 0.5); }
.plan-flag { position: absolute; top: -12px; left: 24px; display: inline-flex; gap: 5px; align-items: center; background: var(--coral); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; }
.plan h2 { font-size: 24px; }
.plan-tag { color: var(--muted); font-size: 14px; min-height: 42px; }
.plan-price b { display: block; font: 700 44px/1 var(--display); letter-spacing: -0.03em; }
.plan-price small { display: block; color: var(--muted); font-size: 13px; margin-top: 6px; min-height: 36px; }
.plan ul { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.plan li { display: flex; gap: 8px; align-items: flex-start; }
.plan li svg { color: var(--mint); flex: none; margin-top: 3px; }
.plan li.builds { font-weight: 600; }
.fine { color: var(--faint); font-size: 14px; margin-top: 20px; }
@media (max-width: 1000px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }
.ctable-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); }
.ctable { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 15px; }
.ctable th, .ctable td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: center; }
.ctable th[scope='row'] { text-align: left; font-weight: 400; }
.ctable th[scope='row'] small { display: block; color: var(--faint); font-size: 13px; }
.ctable thead th { font: 700 17px/1 var(--display); position: sticky; top: 0; background: var(--card); }
.ctable .cgroup th { text-align: left; background: var(--paper); font: 600 13px/1 var(--body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.ctable .pop { background: color-mix(in srgb, var(--coral) 5%, transparent); }
.ctable .yes { color: var(--mint); margin: 0 auto; }
.ctable .no { color: #cfc9d4; margin: 0 auto; }

/* legal and contact */
.legal { padding: 80px 0 100px; }
.legal header { margin-bottom: 40px; }
.legal h1 { font-size: clamp(36px, 5vw, 54px); }
.legal h2 { font-size: 24px; margin: 40px 0 12px; }
.legal h3 { font-size: 17px; margin: 24px 0 8px; font-family: var(--body); font-weight: 600; letter-spacing: 0; }
.legal p, .legal li { color: #3e3a46; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.legal a:not(.b) { color: var(--coral); }
.legal-summary { display: flex; gap: 14px; padding: 22px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.legal-summary svg { color: var(--mint); flex: none; margin-top: 2px; }
.legal-summary p { margin-top: 6px; }
.contact { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form fieldset { border: 0; padding: 0; margin: 0; }
.contact-form legend { font-weight: 600; margin-bottom: 10px; }
.topics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.topic { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); cursor: pointer; }
.topic:has(input:checked) { border-color: var(--coral); box-shadow: 0 0 0 1px var(--coral); }
.topic input { position: absolute; opacity: 0; }
.topic svg { color: var(--coral); flex: none; margin-top: 2px; }
.topic b { display: block; font-size: 15px; }
.topic small { color: var(--muted); font-size: 13px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
.field small { font-weight: 400; color: var(--faint); }
.field input, .field textarea { font: 16px/1.5 var(--body); padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--text); resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px var(--coral-soft); }
.contact-form .b { align-self: flex-start; }
.notice-box { padding: 14px 16px; background: #fff6e5; color: #8a4b00; border-radius: 12px; }
.contact-side { display: flex; flex-direction: column; gap: 16px; }
.contact-side > div { padding: 20px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; }
.contact-side svg { color: var(--coral); grid-row: span 2; margin-top: 3px; }
.contact-side p { color: var(--muted); font-size: 14px; }
@media (max-width: 800px) { .contact { grid-template-columns: 1fr; } .topics { grid-template-columns: 1fr; } }

/* footer */
.foot { background: var(--ink); color: #c8c3ce; padding: 80px 0 40px; }
.foot-top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.foot-brand p { margin: 16px 0 22px; max-width: 300px; color: #a39eab; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col b { color: #fff; font-weight: 600; margin-bottom: 4px; }
.foot-col a { color: #a39eab; text-decoration: none; font-size: 15px; }
.foot-col a:hover { color: #fff; }
.foot-co { flex-basis: 100%; color: #6f6a78; }
.foot-base { margin-top: 60px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: #8a8492; }
@media (max-width: 960px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ───────── feature visuals ───────── */
.v-fan { position: relative; display: flex; justify-content: center; align-items: flex-start; padding: 10px 0 40px; }
.v-fan img { width: 22%; max-width: 160px; border-radius: 12px; margin: 0 -2.5%; box-shadow: 0 20px 40px -14px rgba(21, 19, 29, 0.45); }
.v-devices { position: relative; width: 100%; max-width: 520px; aspect-ratio: 5 / 4; }
.v-ipad { position: absolute; left: 0; top: 4%; width: 66%; border-radius: 18px; box-shadow: var(--shadow-lg); }
.v-p1, .v-p2 { position: absolute; width: 30%; border-radius: 14px; box-shadow: var(--shadow-lg); }
.v-p1 { right: 14%; top: 18%; transform: rotate(-4deg); }
.v-p2 { right: 0; top: 30%; transform: rotate(5deg); }
.v-feature { position: relative; width: 100%; max-width: 560px; }
.v-feature > img { width: 100%; border-radius: 14px; box-shadow: var(--shadow-lg); }
.v-dim { position: absolute; top: 12px; right: 12px; background: rgba(21, 19, 29, 0.8); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; }
.v-feature-row { display: flex; gap: 10px; margin-top: 18px; justify-content: center; }
.v-feature-row img { width: 22%; border-radius: 9px; box-shadow: var(--shadow); }
.v-langs { position: relative; width: 100%; max-width: 480px; aspect-ratio: 1; display: grid; place-items: center; }
.v-langs-shot { width: 40%; border-radius: 14px; box-shadow: var(--shadow-lg); }
.v-chip { --r: 175px; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(var(--a)) translateY(calc(var(--r) * -1)) rotate(calc(var(--a) * -1)); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 999px; padding: 7px 13px; font-size: 14px; font-weight: 500; white-space: nowrap; display: inline-flex; gap: 6px; }
.v-ai { display: flex; align-items: center; gap: 18px; width: 100%; max-width: 560px; justify-content: center; }
.v-raw { width: 24%; border-radius: 10px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.v-ai-card { flex: 1; max-width: 220px; background: var(--card); border-radius: 16px; padding: 16px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 8px; }
.v-ai-head { display: flex; gap: 6px; align-items: center; font-weight: 600; font-size: 14px; color: var(--coral); }
.v-ai-opt { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: 600 15px/1.2 var(--display); }
.v-ai-opt small { display: block; font: 500 11px/1 var(--body); color: var(--faint); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 5px; }
.v-ai-opt.on { border-color: var(--coral); background: var(--coral-soft); }
.v-ai-out { width: 28%; border-radius: 12px; box-shadow: var(--shadow-lg); }
.v-import { width: 100%; max-width: 540px; display: flex; flex-direction: column; gap: 22px; }
.v-url { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 8px 8px 18px; font-size: 14px; color: var(--muted); box-shadow: var(--shadow); }
.v-url-btn { margin-left: auto; background: var(--coral); color: #fff; font-weight: 600; padding: 8px 14px; border-radius: 999px; }
.v-import-row { display: flex; align-items: center; justify-content: center; gap: 12px; }
.v-old, .v-new { position: relative; display: flex; gap: 6px; padding-bottom: 26px; }
.v-old img { width: 56px; border-radius: 6px; border: 1px solid var(--line); filter: grayscale(0.4); }
.v-new img { width: 78px; border-radius: 8px; box-shadow: var(--shadow); }
.v-old span, .v-new span { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; font-size: 12px; font-weight: 600; color: var(--muted); }
.v-arrow { color: var(--coral); flex: none; }
.v-check { display: flex; align-items: center; gap: 22px; }
.v-check > img { width: 40%; max-width: 200px; border-radius: 14px; box-shadow: var(--shadow-lg); }
.v-check-card { background: var(--card); border-radius: 16px; padding: 18px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 10px; font-size: 14px; max-width: 260px; }
.v-check-row { display: flex; gap: 8px; align-items: center; }
.v-tick { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--mint); color: #fff; display: grid; place-items: center; }
.v-editor { width: 100%; max-width: 560px; }
.v-win { background: var(--card); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); }
.v-win-bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.v-win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e3ddd3; }
.v-win-body { display: grid; grid-template-columns: 110px 1fr 90px; min-height: 300px; }
.v-layers { border-right: 1px solid var(--line); padding: 10px 8px; display: flex; flex-direction: column; gap: 4px; font-size: 12px; }
.v-side-h { display: flex; gap: 5px; align-items: center; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.v-layers span:not(.v-side-h) { padding: 5px 8px; border-radius: 6px; }
.v-layers span.on { background: var(--coral-soft); color: var(--coral); font-weight: 600; }
.v-stage { position: relative; display: grid; place-items: center; background: repeating-conic-gradient(#f4f0ea 0% 25%, #faf8f4 0% 50%) 0 0 / 16px 16px; padding: 18px; }
.v-stage img { width: 62%; max-width: 160px; border-radius: 10px; box-shadow: var(--shadow); }
.v-sel { position: absolute; left: 44%; top: 46%; width: 26%; height: 18%; border: 2px solid var(--coral); border-radius: 4px; }
.v-insp { border-left: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 12px; }
.v-insp span { height: 8px; border-radius: 4px; background: var(--paper-2); }
.v-pano { display: flex; width: 100%; max-width: 600px; }
.v-pano img { width: 20%; }
.v-pano img:first-child { border-radius: 12px 0 0 12px; }
.v-pano img:last-child { border-radius: 0 12px 12px 0; }
.v-pano { box-shadow: var(--shadow-lg); border-radius: 12px; }
.v-pano.v-gap { gap: 10px; box-shadow: none; }
.v-pano.v-gap img { width: 33%; border-radius: 12px; box-shadow: var(--shadow-lg); }
.v-photos { width: 100%; max-width: 540px; display: flex; flex-direction: column; gap: 20px; }
.v-cloud { display: flex; align-items: center; gap: 16px; }
.v-laptop, .v-phone-dev { background: var(--card); border-radius: 14px; padding: 10px; box-shadow: var(--shadow-lg); }
.v-dev-ic { color: var(--muted); margin-bottom: 6px; }
.v-laptop-screen { display: flex; gap: 6px; }
.v-laptop-screen img { width: 64px; border-radius: 6px; }
.v-laptop-screen.v-col img { width: 50px; }
.v-sync { width: 46px; height: 46px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 10px 24px -8px rgba(255, 91, 46, 0.8); }
.v-wizard, .v-zip { display: flex; align-items: center; gap: 20px; width: 100%; max-width: 560px; }
.v-wizard .v-fan, .v-zip .v-fan { flex: 1; }
.v-wizard .v-fan img, .v-zip .v-fan img { width: 38%; }
.v-steps, .v-tree { background: var(--card); border-radius: 16px; padding: 16px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 9px; font-size: 13px; flex: none; }
.v-step { display: flex; gap: 8px; align-items: center; }
.v-step span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; background: var(--paper-2); }
.v-step.done span { background: var(--mint); color: #fff; }
.v-step.now span { background: var(--coral); color: #fff; }
.v-timer { display: inline-flex; gap: 6px; align-items: center; color: var(--coral); font-weight: 600; margin-top: 4px; }
.v-tree { font-family: ui-monospace, Menlo, monospace; font-size: 12px; gap: 5px; }
.v-tree div { display: flex; gap: 6px; align-items: center; white-space: nowrap; }
.v-tree svg { color: var(--coral); flex: none; }
.bento-vis .v-zip .v-fan, .bento-vis .v-wizard .v-fan { display: none; }
.bento-vis .v-zip { justify-content: center; }
@media (max-width: 520px) {
  .v-ai { flex-wrap: wrap; }
  .v-check { flex-direction: column; }
  .v-zip .v-fan, .v-wizard .v-fan { display: none; }
  .v-chip { font-size: 12px; padding: 5px 9px; --r: 120px; }
}

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* features page */
.fx-hero { padding-bottom: 24px; }
.fx-hero h1, .fx-hero .lede { margin-left: 0; margin-right: 0; max-width: 820px; }
.fx-hero .lede { margin-top: 18px; }
.byline { margin-top: 18px; font-size: 14px; color: var(--faint); }
.byline a { color: var(--muted); }
.toc { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); }
.toc-grp { display: flex; flex-direction: column; gap: 4px; }
.toc-grp b { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--coral); margin-bottom: 6px; }
.toc-grp a { font-size: 15px; text-decoration: none; padding: 3px 0; color: var(--text); }
.toc-grp a:hover { color: var(--coral); }
.deep { padding: 72px 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.deep.flip { background: var(--paper-2); }
.deep-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.deep-head h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 10px; }
.deep-body.two { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: start; }
.deep.flip .deep-body.two { grid-template-columns: 0.85fr 1.15fr; }
.deep.flip .deep-body.two .deep-vis { order: -1; }
.deep-vis { position: sticky; top: 96px; min-height: 380px; display: grid; place-items: center; background: radial-gradient(closest-side, rgba(255, 91, 46, 0.1), transparent), linear-gradient(160deg, #f6f1e9, #ece4d7); border-radius: 24px; padding: 24px; overflow: hidden; }
.prose { max-width: 720px; font-size: 17px; }
.prose > * + * { margin-top: 16px; }
.prose h3 { margin-top: 28px; font-size: 20px; }
.prose a:not(.b) { color: var(--coral); }
.facts { padding-left: 20px; }
.facts li { margin: 6px 0; }
.src { font-size: 14px; color: var(--faint); }
.spec-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.spec { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec th, .spec td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec thead th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); background: var(--paper); }
.spec tbody th { font-weight: 600; }
.spec tbody tr:last-child > * { border-bottom: 0; }
.spec td:nth-child(2) { font-variant-numeric: tabular-nums; white-space: nowrap; }
.callout { scroll-margin-top: 80px; padding: 18px 20px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--coral); }
.callout p { margin: 6px 0 10px; }
.langs { border: 1px solid var(--line); border-radius: var(--r); padding: 12px 16px; background: var(--card); }
.langs summary { cursor: pointer; font-weight: 600; }
.langs p { margin-top: 10px; font-size: 14px; color: var(--muted); }
.xcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.xcard { scroll-margin-top: 90px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.xcard:target { border-color: var(--coral); box-shadow: 0 0 0 3px var(--coral-soft); }
.xcard-top { display: flex; justify-content: space-between; align-items: center; }
.xcard-grp { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.xcard p { color: var(--muted); font-size: 15px; }
.xcard ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.xcard li { display: flex; gap: 8px; align-items: flex-start; }
.xcard li svg { flex: none; margin-top: 4px; color: var(--mint); }
.xcard .plantag { margin-top: auto; }
.xnote { color: var(--faint); font-size: 13px; }
@media (max-width: 900px) {
  .toc { grid-template-columns: 1fr 1fr; }
  .deep-body.two, .deep.flip .deep-body.two { grid-template-columns: 1fr; }
  .deep.flip .deep-body.two .deep-vis { order: 0; }
  .deep-vis { position: static; min-height: 300px; }
}
@media (max-width: 560px) { .toc { grid-template-columns: 1fr; } .deep { padding: 52px 0; } .spec td:nth-child(2) { white-space: normal; } }
.deep-head .plantag { margin-top: 0; }

/* size guides */
.guide { max-width: 900px; }
.wrap.guide.prose { font-size: 17px; }
.prose h2 { margin-top: 48px; font-size: clamp(24px, 3vw, 30px); }
.prose > h2:first-child { margin-top: 0; }
.callout.answer { margin-top: 28px; font-size: 17px; }
.callout.answer p { margin-bottom: 0; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related a { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--text); font-weight: 600; }
.related a:hover { border-color: var(--coral); }
.related small { font-size: 12px; font-weight: 500; color: var(--faint); text-transform: uppercase; letter-spacing: 0.05em; }
@media (max-width: 720px) { .related { grid-template-columns: 1fr; } }
