@view-transition { navigation: auto; }
:root {
  --paper: #ffffff; --panel: #ffffff; --soft: #f1f3fb; --ink: #0a0e1f; --ink-2: #454c60;
  --line: #dde1ee; --line-soft: #e9ecf5; --accent: #1d36f0; --accent-dark: #1224b8; --mark: #e3e7ff;
  --pass: #0b7a45; --fail: #a32a1a; --r: 14px;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18.5px/1.6 var(--sans); }
figure, blockquote, dl, dd { margin: 0; }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 1.5rem + 3.4vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 1.35rem + 1.5vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 30; }
.skip:focus { top: 12px; color: #fff; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); margin-inline: auto; }
section { padding: clamp(44px, 6vw, 84px) 0; }
section.intro { padding-block: 18px 0; }
.soft { background: var(--soft); border-block: 1px solid var(--line-soft); }
.lead { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); color: var(--ink-2); max-width: 44em; }

.site-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: baseline; gap: 2px; color: var(--ink); font-weight: 800; font-size: 1.25rem; text-decoration: none; letter-spacing: -.02em; flex-shrink: 0; }
.brand sup { color: var(--accent); font: 700 14.5px var(--mono); }
.nav { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 11px; color: var(--ink-2); font-size: 15.5px; font-weight: 600; text-decoration: none; border-radius: 8px; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); background: var(--soft); }
.nav .btn-primary { margin-left: 8px; color: #fff; }
.nav .btn-primary:hover { color: #fff; background: var(--accent-dark); }
.menu-btn { display: none; min-height: 44px; padding: 0 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font: 600 15.5px var(--sans); cursor: pointer; }
.menu-pop { inset: 76px 16px auto auto; width: min(320px, calc(100vw - 32px)); margin: 0; padding: 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); box-shadow: 0 18px 44px -18px rgba(10, 14, 31, .4); }
.menu-pop a { display: flex; align-items: center; min-height: 46px; padding: 0 12px; color: var(--ink); font-weight: 600; text-decoration: none; border-radius: 8px; }
.menu-pop a:hover { background: var(--soft); }
@media (max-width: 1159px) { .nav { display: none; } .menu-btn { display: inline-flex; align-items: center; } }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 11px; font-weight: 700; font-size: 16.5px; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: var(--sans); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.reply { margin: 14px 0 0; color: var(--ink-2); font-size: 15.5px; }

mark { background: var(--mark); color: inherit; padding: 0 .12em; border-radius: 3px; }
.cite { font: 700 14.5px var(--mono); vertical-align: super; line-height: 0; text-decoration: none; margin-left: 2px; color: var(--accent); }
.cite:hover { text-decoration: underline; }

.gate-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: 0 1px 2px rgba(10, 14, 31, .05), 0 22px 44px -30px rgba(10, 14, 31, .4); }
.gate-card header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 14px 22px; background: var(--ink); color: #fff; font: 600 15px var(--mono); }
.gate-card ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); }
.gate-card li { display: flex; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--line-soft); font-size: 16.5px; }
.tick { flex: none; width: 24px; height: 24px; margin-top: 2px; color: var(--pass); }
.gate-card span.num, .num { font-variant-numeric: tabular-nums; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin: 0; padding: 0; list-style: none; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.card p, .card li { font-size: 17px; color: var(--ink-2); }
.card p:last-child { margin-bottom: 0; }
.steps { counter-reset: s; list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 58px 1fr; gap: 2px 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: "[" counter(s) "]"; grid-row: span 2; color: var(--accent); font: 700 17px/1.5 var(--mono); }
.steps h3 { margin: 0 0 4px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 17px; max-width: 46em; }

.table-wrap { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
table { width: 100%; border-collapse: collapse; font-size: 16.5px; }
caption { text-align: left; padding: 16px 20px 0; font-weight: 700; }
th, td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
thead th { color: var(--ink-2); font-size: 15px; }
tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  table thead { position: absolute; clip: rect(0 0 0 0); }
  table tr { display: grid; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  table td { border: 0; padding: 4px 20px; }
  table td::before { content: attr(data-label); display: block; color: var(--ink-2); font-size: 15px; }
}

details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
summary { display: flex; align-items: center; min-height: 54px; padding: 12px 20px; font-weight: 700; cursor: pointer; }
details > div { padding: 0 20px 16px; color: var(--ink-2); }
details > div p:last-child { margin: 0; }

.tiers { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); align-items: stretch; }
.tier { display: flex; flex-direction: column; gap: 4px; padding: 28px; }
.tier h2 { font-size: 1.5rem; margin: 0 0 6px; }
.tier .btn { margin-top: auto; align-self: flex-start; }
.pick { border: 2px solid var(--accent); }
.card p.big { font-size: clamp(2.6rem, 2rem + 2vw, 3.4rem); font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--ink) !important; margin: 0 0 8px; font-variant-numeric: tabular-nums; }
.big span { font-size: 1.05rem; font-weight: 600; letter-spacing: 0; color: var(--ink-2); }
.pace { font-weight: 700; color: var(--ink) !important; font-size: 1.1rem !important; margin-bottom: 4px; }
.year { margin-bottom: 18px; }
.owner-grid { display: grid; gap: 24px; align-items: center; }
.owner-grid img { border-radius: var(--r); width: 200px; }
@media (min-width: 760px) { .owner-grid { grid-template-columns: 200px 1fr; } }

form.stack { display: grid; gap: 16px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 16px; }
input, textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #8f8a7a; border-radius: 10px; background: #fff; color: var(--ink); font: 400 17px var(--sans); field-sizing: content; }
textarea { min-height: 130px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 18px; border: 1px solid var(--fail); border-radius: 10px; color: var(--fail); background: #fff; font-weight: 600; margin-bottom: 16px; }
#try-out { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
#try-out li { padding: 12px 16px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); font-size: 16.5px; }
#try-out .pass { border-color: var(--pass); color: var(--pass); }
#try-out .fail { border-color: var(--fail); color: var(--fail); }

.sources { font-size: 16px; color: var(--ink-2); padding-left: 1.4em; margin: 0; }
.sources li:target { background: var(--mark); border-radius: 4px; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.crumbs { font-size: 15px; color: var(--ink-2); margin: 0 0 14px; }

.gmap-section { padding-block: 0 clamp(44px, 6vw, 72px); }
.gmap-card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.gmap-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; padding: 22px 24px 18px; border-bottom: 1px solid var(--line-soft); }
.gmap-head h2 { margin: 0; font-size: 1.5rem; }
.gmap-line { margin: 8px 0 0; color: var(--ink-2); font-size: 16px; }
.gmap-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.gmap-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--ink); border-radius: 999px; color: var(--ink); background: var(--panel); font-size: 15px; font-weight: 600; text-decoration: none; }
.gmap-btn:hover { background: var(--ink); color: #fff; }
.gmap-frame { position: relative; aspect-ratio: 16 / 6; background-color: var(--soft); background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px); background-size: 40px 40px; }
.gmap-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .4s ease; }
.gmap-frame.is-loaded iframe, .gmap-frame noscript iframe { opacity: 1; }
.gmap-facade { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; width: 100%; border: 0; background: transparent; color: var(--ink-2); font: 600 15px var(--sans); cursor: pointer; }
.gmap-frame.is-loaded .gmap-facade { display: none; }
@media (max-width: 700px) { .gmap-frame { aspect-ratio: 4 / 3; } .gmap-actions { width: 100%; } .gmap-btn { flex: 1 1 auto; justify-content: center; } }

.foot { background: var(--ink); color: #dfe4e8; padding: 44px 0 30px; font-size: 16px; }
.foot a { color: #fff; }
.foot-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.foot h2 { color: #fff; font-size: 1.05rem; margin: 0 0 10px; letter-spacing: 0; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li a { display: inline-flex; align-items: center; min-height: 34px; }
.foot-note { margin: 26px 0 0; font-size: 15px; color: #c3cbd2; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } @view-transition { navigation: none; } }

/* Two column hero with the moving finder card */
.hero-grid { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.finder-card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: 0 18px 40px rgba(10, 14, 31, .08); }
.finder-card header { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; font-weight: 700; color: var(--ink-2); margin-bottom: 14px; }
.msg { margin: 0 0 10px; padding: 10px 14px; border-radius: 14px; font-size: 16.5px; max-width: 92%; width: fit-content; }
.msg.me { background: var(--accent); color: #fff; margin-left: auto; }
.msg.bot { background: var(--soft); color: var(--ink); }
.msg.wait { color: var(--ink-2); }
.finder-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--line-soft); border-radius: 10px; margin-top: 8px; font-size: 15.5px; }
.finder-row b { font-weight: 700; }
.finder-row span { color: var(--ink-2); white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .finder-card .msg, .finder-card .finder-row { animation: finder-in .5s ease both; }
  .finder-card .msg.bot { animation-delay: .7s; }
  .finder-card .finder-row:nth-of-type(1) { animation-delay: 1.2s; }
  .finder-card .finder-row:nth-of-type(2) { animation-delay: 1.5s; }
  .finder-card .finder-row:nth-of-type(3) { animation-delay: 1.8s; }
  @keyframes finder-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
.promise { background: var(--accent); color: #fff; border-radius: var(--r); padding: 20px 24px; font-size: 1.15rem; font-weight: 700; }

/* Logged in app */
.app-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.chat { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
#chat-log { min-height: 120px; max-height: 340px; overflow-y: auto; margin-bottom: 14px; }
.chat-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
@media (max-width: 520px) { .chat-row { grid-template-columns: minmax(0, 1fr); } }
.site-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.site-table th, .site-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line-soft); overflow-wrap: anywhere; }
.site-table input { width: 22px; min-height: 22px; height: 22px; }
@media (max-width: 640px) { .site-table th:nth-child(3), .site-table td:nth-child(3), .site-table th:nth-child(4), .site-table td:nth-child(4) { display: none; } }

/* ===== Media first design, 2026-11-05. White, near black and loud cobalt. Real posts carry the page. ===== */
@font-face { font-family: "Inter"; src: url("/i/font/inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

/* Sections */
section.tight { padding-top: clamp(40px, 5vw, 72px); }
.sec-head { max-width: 800px; margin-bottom: clamp(24px, 3vw, 40px); }
.sec-head .lead { margin-bottom: 0; }
.split { display: grid; gap: clamp(28px, 5vw, 72px); grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* Hero, a moving wall of real posts */
.hero { position: relative; overflow: hidden; padding: 0; min-height: clamp(640px, 82vh, 880px); display: flex; align-items: center; background: #fff; border-bottom: 1px solid var(--line); }
.hero-copy { position: relative; z-index: 2; padding-block: clamp(44px, 6vw, 80px); }
.hero h1 { max-width: 8.6em; font-size: clamp(2.6rem, 1.6rem + 3.3vw, 4.7rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; }
.hero h1 span { color: var(--accent); }
.hero .lead { max-width: 25em; color: #2b3244; }
.wall { position: absolute; inset: 0; overflow: hidden; }
.wall::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0, #fff 40%, rgba(255, 255, 255, .7) 48%, rgba(255, 255, 255, 0) 58%); }
.wall-tilt { position: absolute; top: -16%; right: -6%; width: 62%; height: 132%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; transform: perspective(1500px) rotateY(-13deg) rotateX(7deg) rotateZ(4deg); transform-origin: 70% 50%; }
.wall-col { overflow: visible; min-width: 0; }
.wall-col:nth-child(2) { margin-top: -90px; }
.wall-col:nth-child(4) { margin-top: -160px; }
.wall-group { display: grid; gap: 20px; padding-bottom: 20px; }
.wall-card { border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 2px 4px rgba(10, 14, 31, .12), 0 26px 50px -18px rgba(10, 14, 31, .45); outline: 1px solid rgba(10, 14, 31, .08); }
.wall-card img { width: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .wall-track { animation: wall-drift 110s linear infinite; }
  .wall-col.up .wall-track { animation-direction: reverse; animation-duration: 130s; }
  @keyframes wall-drift { from { transform: translateY(0); } to { transform: translateY(-33.333%); } }
}

/* The small live card under the buttons */
.live-card { margin-top: 28px; max-width: 420px; padding: 12px; background: rgba(255, 255, 255, .78); backdrop-filter: blur(14px) saturate(1.3); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 44px -22px rgba(10, 14, 31, .45); }
.live-card header { padding: 4px 8px 8px; font-size: 14.5px; font-weight: 700; color: var(--ink-2); }
.live-row { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 10px; border-radius: 10px; color: var(--ink); font-size: 16px; font-weight: 600; text-decoration: none; }
.live-row:hover { background: var(--soft); color: var(--ink); }
.live-row i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--pass); }
.live-row span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.live-row b { font-size: 14.5px; color: var(--accent); font-weight: 700; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .live-row i { animation: live-pulse 2.4s ease-out infinite; }
  .live-row:nth-of-type(2) i { animation-delay: .8s; }
  .live-row:nth-of-type(3) i { animation-delay: 1.6s; }
  @keyframes live-pulse { 0% { box-shadow: 0 0 0 0 rgba(10, 138, 79, .5); } 70%, 100% { box-shadow: 0 0 0 9px rgba(10, 138, 79, 0); } }
}

/* Phone hero, posts on top and the words under them */
@media (max-width: 860px) {
  .hero { display: block; min-height: 0; }
  .wall { position: relative; inset: auto; height: 250px; }
  .wall::after { background: linear-gradient(0deg, #fff 0, rgba(255, 255, 255, 0) 45%); }
  .wall-tilt { top: -30%; right: -18%; width: 136%; height: 170%; gap: 12px; }
  .wall-group { gap: 12px; padding-bottom: 12px; }
  .hero-copy { padding-block: 4px 40px; }
  .hero h1 { font-size: clamp(2.5rem, 11.5vw, 4rem); }
}

/* Browser frames holding real posts */
/* Edge to edge, no gutters and no gaps. Flex so every row fills the screen whatever the count. */
section.flush { padding-bottom: 0; }
.posts { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); }
.post { flex: 1 1 min(100%, 400px); display: flex; flex-direction: column; min-width: 0; background: #fff; color: var(--ink); text-decoration: none; box-shadow: inset -1px -1px 0 var(--line); }
.post:hover { color: var(--ink); }
.post:hover .post-view.is-on img, .post:focus-visible .post-view.is-on img { animation-play-state: paused; }
.post-bar { display: flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 14px; background: #f3f4f9; border-bottom: 1px solid var(--line); }
.post-bar i { width: 10px; height: 10px; border-radius: 50%; background: #c9cedd; flex: none; }
.post-bar span { flex: 1; min-width: 0; margin-left: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); overflow-wrap: anywhere; }
.post-bar b { font-size: 14.5px; font-weight: 700; color: #0a7a46; }
.post-view { --view: clamp(440px, 68vh, 720px); position: relative; height: var(--view); overflow: hidden; background: #f3f4f9; }
.post-view img { width: 100%; max-width: none; will-change: transform; }
.post-view.is-on img { animation: post-read var(--time, 40s) ease-in-out infinite alternate; }
@keyframes post-read { 0%, 4% { transform: translateY(0); } 96%, 100% { transform: translateY(calc(var(--view) - 100%)); } }
.post-meta { padding: 18px 20px 20px; border-top: 1px solid var(--line); }
.post-meta h3 { font-size: 1.15rem; line-height: 1.25; margin-bottom: 10px; }
.post-meta p { font-size: 16px; color: var(--ink-2); margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.chips li { padding: 4px 10px; border-radius: 7px; background: var(--soft); color: var(--ink); font-size: 14.5px; font-weight: 600; }
.chips .chip-dr { background: var(--accent); color: #fff; }

/* Large guest post rows on the examples page */
.features { display: grid; border-top: 1px solid var(--line); }
.feature { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; border-bottom: 1px solid var(--line); }
.feature > div { padding: clamp(24px, 4vw, 64px); }
.feature .post-meta { display: none; }
.feature .post-view { --view: clamp(420px, 72vh, 760px); }
.feature h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); letter-spacing: -.02em; overflow-wrap: anywhere; }
.feature > div > p { font-size: 1.1rem; color: var(--ink-2); }
.feature .chips { margin-bottom: 20px; }
.feature:nth-child(even) > .post { order: 2; }
@media (max-width: 860px) { .feature { grid-template-columns: minmax(0, 1fr); } .feature:nth-child(even) > .post { order: 0; } }

/* Masonry of real pieces, columns read top to bottom and never scroll sideways */
.mediawall { columns: 4 250px; column-gap: 16px; list-style: none; margin: 0; padding: 0; }
.mediawall li { break-inside: avoid; margin-bottom: 16px; }
.mediawall a { display: block; color: var(--ink); text-decoration: none; }
.mediawall figure { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.mediawall a:hover figure { transform: translateY(-3px); box-shadow: 0 26px 44px -28px rgba(10, 14, 31, .6); }
.mediawall img { width: 100%; }
.mediawall figcaption { display: grid; gap: 2px; padding: 11px 14px 13px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.35; }
.mediawall b { color: var(--accent); font-size: 14.5px; }
.mediawall small { color: var(--ink-2); font-size: 14.5px; overflow-wrap: anywhere; }
@media (max-width: 560px) { .mediawall { columns: 1; } }

/* What goes inside */
.inside { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); list-style: none; margin: 0; padding: 0; }
.inside-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.inside-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; border-bottom: 1px solid var(--line); }
.inside-card div { padding: 18px 20px 6px; }
.inside-card p { font-size: 16.5px; color: var(--ink-2); }

/* Cobalt band */
.band { background: var(--accent); color: #fff; overflow: hidden; }
.band h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); letter-spacing: -.03em; line-height: 1.05; }
.band p { font-size: 1.15rem; color: #fff; max-width: 32em; }
.band-grid { display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.band-shots { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.band-shots img { border-radius: 12px; box-shadow: 0 30px 50px -26px rgba(0, 0, 0, .7); align-self: center; }
.band-shots img:first-child { transform: rotate(-2.5deg); }
.band-shots img:last-child { transform: rotate(2deg) translateY(10px); }
.btn-white { background: #fff; color: var(--accent); }
.btn-white:hover { background: var(--ink); color: #fff; }
.btn-line { background: transparent; color: #fff; border-color: #fff; }
.btn-line:hover { background: #fff; color: var(--accent); }
@media (max-width: 860px) { .band-grid { grid-template-columns: minmax(0, 1fr); } }

/* Inner page heads carry a real post */
section.head { padding: clamp(20px, 3vw, 40px) 0 0; overflow: hidden; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--soft)); }
.head-grid { display: grid; gap: clamp(20px, 4vw, 56px); grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; }
.head h1 { font-size: clamp(2.5rem, 1.6rem + 3.2vw, 4.4rem); letter-spacing: -.035em; line-height: 1.03; }
.head-grid > div:first-child { padding-bottom: clamp(24px, 4vw, 48px); }
.head-shot { height: clamp(240px, 30vw, 400px); overflow: hidden; align-self: end; border-radius: 14px 14px 0 0; border: 1px solid var(--line); border-bottom: 0; box-shadow: 0 26px 50px -24px rgba(10, 14, 31, .5); background: #fff; }
.head-shot img { width: 100%; object-fit: cover; object-position: top; }
@media (max-width: 800px) { .head-grid { grid-template-columns: minmax(0, 1fr); } }

/* Every end of an article, added 2026-11-07 */
.ends, .writers, .socials, .tts, .writer ul, .tt-card ul { list-style: none; margin: 0; padding: 0; }
.ends { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.ends > li, .socials > li, .tts > li { min-width: 0; display: flex; }
.end-card, .social-card, .tt-card { display: flex; flex-direction: column; width: 100%; background: #fff; color: var(--ink); text-decoration: none; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.end-card:hover, .social-card:hover, .tt-card:hover { border-color: var(--accent); color: var(--ink); }
.end-shot { aspect-ratio: 4 / 3; overflow: hidden; background: #f3f4f9; border-bottom: 1px solid var(--line); }
.end-shot img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: top; display: block; }
.end-copy { padding: 16px; }
.end-copy small { display: block; color: var(--accent); font-size: 14.5px; font-weight: 700; }
.end-copy h3 { margin: 4px 0 6px; font-size: 18px; }
.end-copy p { margin: 0; font-size: 16px; }
.writers { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.writer { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; min-width: 0; }
.writer h3 { margin: 0; font-size: 19px; }
.writer h3 a { color: var(--ink); }
.writer > p { margin: 2px 0 10px; font-size: 15px; }
.writer ul a { display: block; padding: 9px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 600; }
.writer ul a:hover span { color: var(--accent); }
.writer ul small { display: block; font-size: 14.5px; font-weight: 500; color: var(--accent); }
.socials { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: start; max-width: 1040px; }
.social-card img { width: 100%; height: auto; display: block; }
.social-card span { display: block; padding: 12px 16px; font-size: 15px; border-top: 1px solid var(--line); }
.social-card b { display: block; color: var(--accent); }
.tts { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin-bottom: 8px; }
.tt-card > img { width: 100%; height: auto; aspect-ratio: 9 / 13; object-fit: cover; object-position: top; display: block; }
.tt-card > div { padding: 16px; }
.tt-card h3 { margin: 0 0 12px; font-size: 18px; }
.tt-card ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; font-size: 14.5px; }
.tt-card ul b { display: block; font-size: 22px; color: var(--accent); }

/* Trade verticals on /app/ */
.trade-pick { margin: 0 0 16px; }
.trade-pick label { display: block; font-weight: 600; margin-bottom: 6px; }
.trade-all { margin-top: 10px; }
.trade-all summary { cursor: pointer; font-weight: 600; color: var(--accent, #1d4ed8); padding: 6px 0; }
.trade-group h3 { font-size: 15px; margin: 14px 0 6px; }
.trade-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.trade-chip { font: inherit; font-size: 14px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: inherit; cursor: pointer; }
.trade-chip[aria-pressed="true"] { border-color: currentColor; font-weight: 600; }
.site-table td.trade-hit::after { content: " Writes About Your Trade"; font-size: 14px; font-weight: 600; }
