/* Blue Collar Posts site styles. One self-hosted variable face, cool neutrals, one cobalt accent.
   Sample posts are pure type and colour, the way real brand templates look. */
@font-face {
  font-family: "Bricolage";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  src: url("/fonts/bricolage.woff2") format("woff2-variations"), url("/fonts/bricolage.woff2") format("woff2");
}

:root {
  --ink: #0e1726;
  --ink-2: #364152;
  --muted: #667085;
  --line: #e4e8ee;
  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --accent: #1f55ff;
  --accent-dark: #1240d6;
  --accent-soft: #e9efff;
  --night: #0a1020;
  --good: #129e57;
  --danger: #b42318;

  --face: "Bricolage", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --measure: 34rem;
  --wrap: 76rem;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --radius: 14px;
  --shadow-lg: 0 40px 80px -32px rgba(14, 23, 38, .38), 0 12px 24px -12px rgba(14, 23, 38, .18);
  --shadow-md: 0 18px 36px -18px rgba(14, 23, 38, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: #c3cad6 transparent; }
body {
  margin: 0;
  font-family: var(--face);
  font-optical-sizing: auto;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent); color: #fff; }
img, svg { display: block; }
a { color: var(--accent); text-decoration-thickness: .07em; text-underline-offset: .2em; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.75rem); font-weight: 760; line-height: .98; letter-spacing: -.04em; }
h2 { font-size: clamp(2rem, 3.9vw, 3.1rem); font-weight: 720; line-height: 1.03; letter-spacing: -.035em; margin-bottom: .5em; }
h3 { font-size: 1.15rem; font-weight: 650; line-height: 1.3; letter-spacing: -.01em; margin-bottom: .25em; }
p { margin: 0 0 1em; max-width: var(--measure); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--ink-2); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font: 650 1.03rem/1.1 var(--face);
  color: #fff; background: var(--accent);
  padding: 1rem 1.4rem; border: 0; border-radius: 999px;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 22px -10px rgba(31, 85, 255, .7);
  transition: background-color .18s, transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .18s;
}
.btn:hover { color: #fff; background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 14px 26px -12px rgba(31, 85, 255, .75); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: var(--bg-soft); color: var(--ink); box-shadow: inset 0 0 0 1.5px #cdd4de; }
.btn-sm { padding: .62rem 1rem; font-size: .95rem; box-shadow: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; font-weight: 740; font-size: 1.2rem; letter-spacing: -.02em; }
.brand-mark { width: 1.85rem; height: 1.85rem; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: .98rem; }
.nav a:not(.btn):hover { color: var(--ink); }
@media (max-width: 47.99rem) { .nav a:not(.btn) { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(ellipse 70% 60% at 85% 20%, #e7eeff 0%, rgba(231,238,255,0) 60%), linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: center; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 5.5rem); }
@media (min-width: 64rem) { .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 2rem; } }
.hero-copy .lead { margin-top: 1.35rem; max-width: 31rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.9rem; }
.assurances { list-style: none; padding: 0; margin: 1.9rem 0 0; display: flex; flex-wrap: wrap; gap: .65rem 1.4rem; color: var(--ink-2); font-size: .97rem; font-weight: 520; }
.assurances li { display: inline-flex; align-items: center; gap: .45rem; }
.assurances svg { width: 1.1rem; height: 1.1rem; color: var(--good); flex: none; }

/* Trade switcher */
.switcher { margin-bottom: 1.4rem; }
.switcher-label { display: block; font-size: .95rem; font-weight: 600; color: var(--ink-2); margin-bottom: .6rem; }
.chips { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; }
.chips::-webkit-scrollbar { display: none; }
@media (min-width: 64rem) { .chips { flex-wrap: wrap; overflow: visible; } }
.chip {
  font: 600 .95rem/1 var(--face); color: var(--ink-2); white-space: nowrap;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: .62rem .95rem; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.chip:hover { border-color: #c9d1dc; color: var(--ink); }
.chip[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Stage: phone with posts around it */
.stage { position: relative; display: grid; justify-items: center; }
.stage .float { position: absolute; width: min(42%, 15rem); box-shadow: var(--shadow-md); border-radius: 12px; display: none; }
@media (min-width: 64rem) {
  .stage .float { display: block; }
  .stage .float-a { left: 0; top: 14%; transform: rotate(-7deg); }
  .stage .float-b { right: 0; bottom: 10%; transform: rotate(6deg); }
}

/* Phone */
.phone {
  position: relative; z-index: 2;
  width: min(19.5rem, 82vw); aspect-ratio: 312 / 640;
  border-radius: 3rem; padding: .7rem;
  background: linear-gradient(145deg, #2a3140, #0a0e16 40%, #1b212c);
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255,255,255,.08);
}
.phone::after { content: ""; position: absolute; top: 1.3rem; left: 50%; translate: -50% 0; width: 5.4rem; height: 1.55rem; border-radius: 999px; background: #05070b; z-index: 3; }
.screen { position: relative; height: 100%; border-radius: 2.35rem; overflow: hidden; background: #eef0f4; display: flex; flex-direction: column; font-size: 13px; line-height: 1.35; }
.statusbar { height: 2.9rem; flex: none; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 1.55rem .45rem 1.75rem; background: #fff; font-weight: 650; font-size: 13px; }
.statusbar .icons { display: flex; gap: .3rem; align-items: center; }
.statusbar svg { height: 11px; width: auto; }
.appbar { flex: none; display: flex; align-items: center; gap: .6rem; padding: .45rem .9rem .6rem; background: #fff; font-weight: 650; font-size: 14px; }
.appbar svg { width: 18px; height: 18px; color: var(--ink-2); }
.appbar .grow { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.profile { flex: none; background: #fff; padding-bottom: .75rem; }
.cover { height: 4.6rem; background: var(--b1, #1d3f8f); position: relative; overflow: hidden; }
.cover::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 88% -30%, rgba(255,255,255,.3), transparent 55%), linear-gradient(115deg, transparent 0 52%, rgba(255,255,255,.09) 52% 68%, transparent 68%); }
.profile-row { display: flex; align-items: flex-end; gap: .6rem; padding: 0 .9rem; margin-top: -1.3rem; position: relative; }
.avatar { width: 3.6rem; height: 3.6rem; border-radius: 50%; border: 3px solid #fff; background: var(--b1); color: #fff; display: grid; place-items: center; font-weight: 750; font-size: 1.05rem; letter-spacing: -.02em; flex: none; }
.profile-name { padding-bottom: .15rem; }
.profile-name b { display: block; font-size: 15px; letter-spacing: -.01em; }
.profile-name span { color: var(--muted); font-size: 12px; }
.profile-actions { display: flex; gap: .4rem; padding: .7rem .9rem 0; }
.profile-actions span { flex: 1; text-align: center; border-radius: 8px; padding: .48rem 0; font-weight: 650; font-size: 12.5px; background: #e9ecf1; color: var(--ink); }
.profile-actions span:first-child { background: var(--b1); color: #fff; }
.feed { position: relative; flex: 1; overflow: hidden; }
.feed-track { animation: feed 16s cubic-bezier(.65,0,.35,1) 1.2s infinite; }
.phone:hover .feed-track { animation-play-state: paused; }
@keyframes feed {
  0%, 14% { transform: translateY(0); }
  33%, 47% { transform: translateY(-33.333%); }
  66%, 80% { transform: translateY(-66.666%); }
  100% { transform: translateY(0); }
}
.fpost { background: #fff; margin-top: .5rem; padding-bottom: .2rem; }
.fpost-head { display: flex; align-items: center; gap: .5rem; padding: .65rem .8rem .45rem; }
.fpost-head .avatar { width: 2.1rem; height: 2.1rem; border-width: 0; font-size: .7rem; }
.fpost-head b { display: block; font-size: 13px; }
.fpost-head span { color: var(--muted); font-size: 11.5px; }
.fpost-cap { margin: 0 .8rem .55rem; padding: 0; font-size: 12.5px; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fpost-actions { display: flex; justify-content: space-around; padding: .5rem .4rem .35rem; color: var(--muted); font-weight: 600; font-size: 11.5px; border-top: 1px solid #eef0f3; margin: 0 .6rem; }
.fpost-actions span { display: inline-flex; align-items: center; gap: .3rem; }
.fpost-actions svg { width: 14px; height: 14px; }
.screen.is-swapping .feed, .screen.is-swapping .profile { animation: swap .45s cubic-bezier(.2,.8,.2,1); }
@keyframes swap { from { opacity: 0; transform: translateY(10px); } }

/* Sample posts (square). Everything scales with the tile via container units. */
.tile {
  --b1: #1d3f8f; --b2: #ffc53d;
  container-type: inline-size;
  position: relative; aspect-ratio: 1; overflow: hidden;
  font-family: var(--face); color: var(--ink); background: #fff;
}
.tile > .in { position: absolute; inset: 0; display: flex; flex-direction: column; }
.lock { display: flex; align-items: center; gap: 2.4cqi; padding: 6cqi 6.5cqi 0; font-weight: 700; font-size: 4.3cqi; letter-spacing: -.01em; }
.lock i { width: 8.6cqi; height: 8.6cqi; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 760; font-size: 3.4cqi; background: var(--b1); color: #fff; flex: none; }
.big { font-weight: 780; font-stretch: 82%; font-size: 13.2cqi; line-height: .93; letter-spacing: -.02em; margin: 0; padding: 0 6.5cqi; }
.sub { font-weight: 550; font-size: 4.6cqi; line-height: 1.25; margin: 3.4cqi 6.5cqi 0; max-width: none; }
.bar { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 2cqi; padding: 4.4cqi 6.5cqi; font-weight: 650; font-size: 4.3cqi; white-space: nowrap; }
.bar b { font-weight: 760; }
.pill { display: inline-block; font-weight: 800; font-stretch: 85%; font-size: 8.6cqi; line-height: 1; letter-spacing: -.02em; padding: 2.6cqi 3.8cqi; border-radius: 2.4cqi; }

.t-promo { background: var(--b1); color: #fff; }
.t-promo .lock i { background: #fff; color: var(--b1); }
.t-promo .kick { margin: 7cqi 6.5cqi 3cqi; font-weight: 650; font-size: 4.6cqi; color: var(--b2); }
.t-promo .pill { background: var(--b2); color: var(--ink); margin: 5.5cqi 6.5cqi 0; align-self: flex-start; }
.t-promo .bar { background: #fff; color: var(--b1); }

.t-tip { background: #fff; }
.t-tip .tag { margin: 8cqi 6.5cqi 4cqi; align-self: flex-start; font-weight: 700; font-size: 4.2cqi; padding: 1.6cqi 3cqi; border-radius: 999px; background: var(--b2); color: var(--ink); }
.t-tip .big { font-size: 11.2cqi; line-height: .98; }
.t-tip .bar { background: var(--b1); color: #fff; }

.t-book { background: var(--b2); }
.t-book .lock i { background: var(--ink); }
.t-book .big { margin-top: 8cqi; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1.8cqi; margin: 6cqi 6.5cqi 0; }
.week span { aspect-ratio: .82; border-radius: 2cqi; display: grid; align-content: space-between; justify-items: center; padding: 1.8cqi 0; font-weight: 700; font-size: 3.4cqi; background: rgba(255,255,255,.75); }
.week span.taken { background: rgba(14, 23, 38, .12); color: rgba(14,23,38,.45); }
.week span svg { width: 4.4cqi; height: 4.4cqi; }
.week span.open svg { color: var(--good); }
.t-book .bar { background: var(--ink); color: #fff; }

.t-video { background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--b1) 70%, #fff) 0%, var(--b1) 35%, #070b16 100%); color: #fff; }
.t-video .lock i { background: var(--b2); color: var(--ink); }
.t-video .playrow { display: flex; align-items: center; gap: 4cqi; margin: 8cqi 6.5cqi 0; }
.t-video .play { width: 15cqi; height: 15cqi; border-radius: 50%; border: .9cqi solid rgba(255,255,255,.9); display: grid; place-items: center; flex: none; }
.t-video .play::after { content: ""; width: 4.6cqi; height: 5.4cqi; margin-left: 1cqi; background: #fff; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.t-video .big { font-size: 10.8cqi; padding: 0; }
.t-video .qr { position: absolute; right: 6.5cqi; bottom: 17cqi; width: 27cqi; background: #fff; border-radius: 2.4cqi; padding: 2.4cqi 2.4cqi 1.8cqi; color: var(--ink); text-align: center; }
.t-video .qr svg { width: 100%; height: auto; }
.t-video .qr span { display: block; font-weight: 700; font-size: 3.3cqi; margin-top: 1.4cqi; }
.t-video .bar { background: rgba(0,0,0,.35); color: #fff; }

/* Sections */
section { padding-block: clamp(4rem, 9vw, 7rem); }
.section-head { max-width: 40rem; margin-bottom: 2.75rem; }
.section-head p { color: var(--ink-2); font-size: 1.15rem; }

/* What you get */
.pack-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: center; }
@media (min-width: 64rem) { .pack-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.pack-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.6rem; }
.pack-list li { display: grid; grid-template-columns: 3.4rem 1fr; gap: 1rem; align-items: start; }
.qty { font-weight: 760; font-size: 2.3rem; line-height: 1; letter-spacing: -.04em; color: var(--accent); font-variant-numeric: tabular-nums; padding-top: .1rem; }
.pack-list p { color: var(--ink-2); margin: 0; }
.fan { position: relative; height: clamp(20rem, 42vw, 30rem); }
.fan .tile { position: absolute; width: 52%; border-radius: 14px; box-shadow: var(--shadow-md); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.fan .tile:nth-child(1) { left: 0; top: 16%; transform: rotate(-7deg); }
.fan .tile:nth-child(2) { left: 24%; top: 0; z-index: 2; transform: rotate(0deg); }
.fan .tile:nth-child(3) { right: 0; top: 20%; transform: rotate(7deg); }
.fan:hover .tile:nth-child(1) { transform: rotate(-11deg) translateX(-6%); }
.fan:hover .tile:nth-child(3) { transform: rotate(11deg) translateX(6%); }

/* How it works */
.how { background: var(--bg-soft); }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (min-width: 52rem) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.4rem 1.6rem; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 750; margin-bottom: 1.1rem; }
.steps p { color: var(--ink-2); margin: 0; font-size: 1rem; }

/* Video feature (dark) */
.video { background: var(--night); color: #e8ecf4; overflow: hidden; }
.video h2 { color: #fff; }
.video p { color: #b8c2d4; }
.video-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3.5rem; align-items: center; }
@media (min-width: 64rem) { .video-grid { grid-template-columns: 1fr 1fr; } }
.video-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .9rem; }
.video-list li { display: flex; gap: .7rem; align-items: flex-start; color: #d5dceb; }
.video-list svg { width: 1.2rem; height: 1.2rem; color: #7da2ff; flex: none; margin-top: .25rem; }
.video-stage { position: relative; display: grid; justify-items: center; }
@media (min-width: 64rem) { .video-stage { justify-items: end; padding-right: 8%; } }
.video-stage .tile { position: absolute; width: min(38%, 12.5rem); left: 0; top: 18%; border-radius: 12px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); transform: rotate(-6deg); z-index: 3; }
.player { background: #07090f; color: #fff; }
.player .vid { flex: none; aspect-ratio: 9 / 12; margin-top: 2.9rem; position: relative; background: radial-gradient(circle at 50% 35%, #8a1a30 0%, #3a0c18 45%, #07090f 100%); display: grid; place-items: center; }
.player .vid::before { content: ""; width: 3.6rem; height: 3.6rem; border-radius: 50%; background: rgba(255,255,255,.95); }
.player .vid::after { content: ""; position: absolute; width: 1.05rem; height: 1.25rem; margin-left: .25rem; background: #0a0e16; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.player .scrub { position: absolute; left: .8rem; right: .8rem; bottom: .8rem; height: 3px; background: rgba(255,255,255,.3); border-radius: 3px; }
.player .scrub::before { content: ""; position: absolute; inset: 0 62% 0 0; background: #fff; border-radius: 3px; }
.player .meta { padding: 1rem 1rem 0; }
.player .meta b { display: block; font-size: 17px; letter-spacing: -.01em; }
.player .meta span { color: #9aa6ba; font-size: 12.5px; }
.player .call { margin: 1rem; border-radius: 10px; background: #7a1426; text-align: center; padding: .7rem; font-weight: 700; font-size: 14px; }
.player .statusbar { background: transparent; color: #fff; position: absolute; inset: 0 0 auto 0; z-index: 2; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; align-items: stretch; }
@media (min-width: 60rem) { .pricing-grid { grid-template-columns: 1.35fr 1fr; } }
.price-card { border-radius: 20px; padding: clamp(1.6rem, 4vw, 2.6rem); border: 1px solid var(--line); background: #fff; }
.price-card.main { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow-lg); }
.price-card .plan { font-weight: 650; font-size: 1.05rem; color: var(--muted); margin: 0; }
.price-card.main .plan { color: #aab6cc; }
.amount { display: flex; align-items: baseline; gap: .6rem; margin: .5rem 0 1.4rem; }
.amount b { font-size: clamp(3.4rem, 7vw, 4.6rem); font-weight: 760; letter-spacing: -.05em; line-height: 1; }
.amount span { color: #aab6cc; font-weight: 550; }
.price-card:not(.main) .amount span { color: var(--muted); }
.price-card:not(.main) .amount b { font-size: clamp(2.4rem, 5vw, 3rem); }
.includes { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: .7rem; }
.includes li { display: flex; gap: .65rem; align-items: flex-start; }
.includes svg { width: 1.15rem; height: 1.15rem; flex: none; margin-top: .25rem; color: #6ee7a8; }
.price-card:not(.main) .includes svg { color: var(--good); }
.price-card .fine { font-size: .95rem; color: #aab6cc; margin: 1.1rem 0 0; }
.price-card:not(.main) .fine { color: var(--muted); }
.price-card.main .btn { width: 100%; padding-block: 1.1rem; font-size: 1.08rem; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
@media (min-width: 60rem) { .faq-grid { grid-template-columns: 1fr 1.5fr; gap: 4rem; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; font-weight: 620; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: .65rem; height: .65rem; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq details p { color: var(--ink-2); margin: 0 0 1.2rem; max-width: 40rem; }

/* Closing band */
.closer { padding-block: clamp(3.5rem, 8vw, 6rem); }
.closer-box { border-radius: 28px; padding: clamp(2rem, 6vw, 4rem); background: radial-gradient(ellipse 80% 120% at 100% 0%, #3c6bff 0%, var(--accent) 45%, #1238c4 100%); color: #fff; display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 60rem) { .closer-box { grid-template-columns: 1.4fr auto; } }
.closer-box h2 { color: #fff; margin-bottom: .3em; }
.closer-box p { color: #dbe4ff; margin: 0; }
.closer-box .btn { background: #fff; color: var(--accent); box-shadow: 0 12px 26px -12px rgba(0,0,0,.4); }
.closer-box .btn:hover { background: #eef2ff; color: var(--accent-dark); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 2.5rem 3rem; color: var(--muted); font-size: .97rem; }
.site-footer .wrap { display: grid; gap: 1rem; }
@media (min-width: 52rem) { .site-footer .wrap { grid-template-columns: 1fr auto; align-items: start; } }
.site-footer p { margin: .35rem 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; padding: 0; margin: 0; list-style: none; }
.footer-links a { color: var(--ink-2); text-decoration: none; font-weight: 550; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }

/* Simple pages: form, thanks, legal */
.page-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.page-head .site-header { position: static; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.page-head .title { padding-block: .5rem 2.5rem; }
.page-head h1 { font-size: clamp(2rem, 5vw, 3.2rem); max-width: 22ch; }
.prose { max-width: 44rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2.2rem; margin-bottom: .4rem; letter-spacing: -.02em; }
.prose ul { padding-left: 1.2rem; max-width: var(--measure); }

/* Form */
.form { max-width: 40rem; }
fieldset { border: 0; padding: 0; margin: 0 0 2.75rem; }
legend { font-weight: 720; font-size: 1.45rem; letter-spacing: -.025em; line-height: 1.1; margin-bottom: .55rem; padding: 0; }
.fieldset-hint { color: var(--ink-2); margin: 0 0 1.25rem; }
.field { margin-bottom: 1.2rem; }
.field label, .field .label { display: block; font-weight: 600; margin-bottom: .35rem; }
.hint { display: block; font-size: .93rem; color: var(--muted); font-weight: 450; margin-top: .15rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select, textarea {
  width: 100%;
  font: 450 1.05rem/1.35 var(--face);
  color: var(--ink);
  background: #fff;
  border: 1.5px solid #cfd6e0;
  border-radius: 10px;
  padding: .78rem .9rem;
  caret-color: var(--accent);
  transition: border-color .15s, box-shadow .15s;
}
input:hover, select:hover, textarea:hover { border-color: #b3bdca; }
textarea { min-height: 6rem; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 4px #fde8e6; }
.row-2 { display: grid; gap: 0 1rem; }
@media (min-width: 36rem) { .row-2 { grid-template-columns: 1fr 1fr; } }
.colors { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.colors label { display: flex; align-items: center; gap: .6rem; font-weight: 500; }
input[type="color"] { width: 3rem; height: 3rem; padding: .2rem; border: 1.5px solid #cfd6e0; border-radius: 10px; background: #fff; cursor: pointer; }
.pair { border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.1rem .4rem; margin-bottom: 1rem; background: var(--bg-soft); }
.pair-title { font-weight: 680; margin: 0 0 .7rem; }
input[type="file"] { font: inherit; font-size: .97rem; max-width: 100%; color: var(--ink-2); }
input[type="file"]::file-selector-button { font: 600 .92rem/1 var(--face); background: #fff; color: var(--ink); border: 1.5px solid #cfd6e0; border-radius: 999px; padding: .55rem .9rem; margin-right: .7rem; cursor: pointer; }
input[type="file"]::file-selector-button:hover { border-color: var(--accent); color: var(--accent); }
.check { display: grid; grid-template-columns: 1.5rem 1fr; gap: .6rem; align-items: start; font-weight: 500; }
.check input { width: 1.2rem; height: 1.2rem; margin-top: .22rem; accent-color: var(--accent); }
.error-text { color: var(--danger); font-weight: 600; font-size: .96rem; margin-top: .3rem; }
.status-box { border: 1px solid var(--line); background: var(--bg-soft); padding: 1rem 1.2rem; margin: 1.5rem 0; border-radius: 12px; }
.status-box.is-error { border-color: #f4c7c2; background: #fef3f2; }
progress { width: 100%; height: .6rem; accent-color: var(--accent); }
.submit-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .feed-track, .screen.is-swapping .feed, .screen.is-swapping .profile { animation: none; }
  .btn, .fan .tile, .chip { transition: none; }
}
