/* The Next Digital Media LLC. One stylesheet, no external assets. */
:root {
  --bg: #fbfaf8; --surface: #ffffff; --surface-2: #f3f1ec; --ink: #14161a; --muted: #5a606b;
  --line: #e4e1da; --accent: #cf410e; --accent-ink: #ffffff; --accent-soft: #fdece3; --link: #b3360a;
  --shadow: 0 1px 2px rgba(20,22,26,.05), 0 12px 32px -12px rgba(20,22,26,.16);
  --radius: 16px; --max: 1120px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0f12; --surface: #15181d; --surface-2: #1c2027; --ink: #f2f3f5; --muted: #a3aab6;
    --line: #282d36; --accent: #ff7d47; --accent-ink: #1c0d05; --accent-soft: #2b1a11; --link: #ff9769;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 16px 36px -14px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
img, svg { max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(36px, 5.6vw, 62px); font-weight: 750; }
h2 { font-size: clamp(27px, 3.4vw, 40px); font-weight: 720; }
h3 { font-size: 19px; letter-spacing: -.01em; line-height: 1.3; font-weight: 680; }
p { margin: 0; }
.wrap { max-width: var(--max); margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { top: 12px; }

/* SVG paint classes, so every graphic follows the theme */
.f-bg { fill: var(--bg); } .f-surface { fill: var(--surface); } .f-surface2 { fill: var(--surface-2); }
.f-line { fill: var(--line); } .f-ink { fill: var(--ink); } .f-muted { fill: var(--muted); }
.f-accent { fill: var(--accent); } .f-soft { fill: var(--accent-soft); } .f-onaccent { fill: var(--accent-ink); } .f-none { fill: none; }
.s-line { stroke: var(--line); } .s-ink { stroke: var(--ink); } .s-muted { stroke: var(--muted); } .s-accent { stroke: var(--accent); } .s-onaccent { stroke: var(--accent-ink); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-weight: 720; letter-spacing: -.015em; font-size: 17px; white-space: nowrap; }
.brand svg { width: 34px; height: 34px; flex: none; }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15.5px; font-weight: 550; padding: 9px 13px; border-radius: 10px; }
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a.btn { color: var(--accent-ink); margin-left: 6px; }
.menu-btn { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
@media (max-width: 860px) {
  .js .menu-btn { display: inline-flex; }
  .js .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 4px 0 16px; }
  .js .site-header[data-open] .nav { display: flex; }
  .js .nav a { padding: 13px 12px; font-size: 17px; }
  .js .nav a.btn { margin: 8px 0 0; text-align: center; }
  html:not(.js) .nav { padding-bottom: 10px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 650 16px/1 var(--sans); padding: 14px 20px; border-radius: 12px; text-decoration: none; border: 1px solid transparent; background: var(--accent); color: var(--accent-ink); transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); text-decoration: none; }
.btn.ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn.small { padding: 10px 15px; font-size: 15px; }
.btn svg { width: 17px; height: 17px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
.band { padding-block: clamp(56px, 8vw, 104px); }
.band.tint { background: var(--surface-2); border-block: 1px solid var(--line); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--link); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent); border-radius: 2px; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 60ch; line-height: 1.55; }
.head { display: grid; gap: 14px; max-width: 720px; margin-bottom: clamp(32px, 5vw, 52px); }
.muted { color: var(--muted); }

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(620px 380px at 88% 8%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 70%),
    radial-gradient(520px 340px at 4% 96%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 44px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 44px 100%;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 0%, #000 0%, rgba(0,0,0,.35) 55%, transparent 85%);
  mask-image: radial-gradient(120% 90% at 70% 0%, #000 0%, rgba(0,0,0,.35) 55%, transparent 85%);
  opacity: .8; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(52px, 8vw, 108px); }
.hero-copy { display: grid; gap: 22px; justify-items: start; min-width: 0; }
.hero-art { min-width: 0; }
.hero-art svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 28px 44px rgba(20,22,26,.16)); }
.facts { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 6px 0 0; padding: 0; list-style: none; }
.facts li { font-size: 13.5px; font-weight: 600; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero-art { max-width: 560px; } }
.page-hero { border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(560px 300px at 92% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%); }
.page-hero .wrap { position: relative; padding-block: clamp(48px, 7vw, 88px); display: grid; gap: 18px; }
.page-hero h1 { font-size: clamp(33px, 4.8vw, 52px); max-width: 18ch; }

/* Cards and grids */
.grid { display: grid; gap: 20px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid.three, .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid.three, .grid.two, .grid.four { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.card p { color: var(--muted); font-size: 16px; }
.card .more { font-weight: 650; font-size: 15px; margin-top: 4px; text-decoration: none; }
.card .more:hover { text-decoration: underline; }
.icon { width: 46px; height: 46px; border-radius: 13px; background: var(--accent-soft); display: grid; place-items: center; margin-bottom: 6px; }
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Split layouts */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.top { align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
.stack { display: grid; gap: 18px; justify-items: start; }
.points { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 16px; }
.points li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; align-items: start; }
.points svg { width: 26px; height: 26px; margin-top: 2px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.points strong { display: block; }
.points span { color: var(--muted); font-size: 16px; }
.note { font-size: 15px; color: var(--muted); border-left: 3px solid var(--accent); padding: 4px 0 4px 14px; }
.art svg { display: block; width: 100%; height: auto; }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 2px; background: var(--line); }
.steps li { position: relative; display: grid; gap: 10px; align-content: start; counter-increment: step; }
.steps li::before { content: counter(step); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 750; background: var(--surface); border: 2px solid var(--accent); color: var(--link); position: relative; z-index: 1; }
.steps p { color: var(--muted); font-size: 16px; }
@media (max-width: 860px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .steps::before { left: 22px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; }
  .steps li { grid-template-columns: 46px minmax(0, 1fr); column-gap: 16px; }
  .steps li::before { grid-row: 1 / span 2; }
  .steps li > * { grid-column: 2; }
}

/* Platforms */
.platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 640px) { .platforms { grid-template-columns: minmax(0, 1fr); } }
.platform { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 8px; justify-items: start; }
.platform svg { width: 40px; height: 40px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.status { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.status.live { background: var(--accent-soft); color: var(--link); }

/* Lists and prose */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; color: var(--ink); font-size: 16.5px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 15px; height: 8px; border-left: 2.2px solid var(--accent); border-bottom: 2.2px solid var(--accent); transform: rotate(-45deg); }
.prose { max-width: 72ch; display: grid; gap: 16px; }
.prose h2 { font-size: clamp(22px, 2.4vw, 27px); margin-top: 22px; }
.prose ul { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.prose p, .prose li { color: var(--ink); }
.prose .meta { color: var(--muted); font-size: 15px; }
.service { padding-block: clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); scroll-margin-top: 88px; }
.service:last-of-type { border-bottom: 0; }
.facts-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: block; }
.facts-table tbody { display: block; }
.facts-table tr { display: grid; grid-template-columns: minmax(104px, 140px) minmax(0, 1fr); gap: 12px; padding: 15px 22px; border-bottom: 1px solid var(--line); }
.facts-table tr:last-child { border-bottom: 0; }
.facts-table th { text-align: left; font-weight: 600; color: var(--muted); font-size: 15px; }
.facts-table td { font-weight: 550; }
@media (max-width: 520px) { .facts-table tr { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 6px; }
.contact-card .big { font-size: clamp(19px, 2.6vw, 24px); font-weight: 700; letter-spacing: -.01em; }
.contact-card a.big { font-size: clamp(14.5px, 4.1vw, 22px); }
.facts-table td a { font-size: 15.5px; }
a[href^="mailto:"] { overflow-wrap: anywhere; }
.label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* Call to action */
.cta { background: var(--ink); color: var(--bg); border-radius: 24px; padding: clamp(32px, 6vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(480px 260px at 100% 0%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 70%); opacity: .55; pointer-events: none; }
.cta > * { position: relative; }
.cta p { color: color-mix(in srgb, var(--bg) 78%, var(--ink)); margin-top: 12px; max-width: 52ch; }
.cta .btn.ghost { background: transparent; color: var(--bg); border-color: color-mix(in srgb, var(--bg) 40%, transparent); }
@media (max-width: 760px) { .cta { grid-template-columns: minmax(0, 1fr); } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--surface-2); padding-block: 56px 36px; font-size: 15.5px; }
.foot { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
@media (max-width: 860px) { .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .foot { grid-template-columns: minmax(0, 1fr); } }
.foot h2 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { color: var(--ink); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot .blurb { color: var(--muted); margin-top: 14px; max-width: 36ch; }
.legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .16s; } .rise.d3 { animation-delay: .24s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  .card { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
  a.card:hover, .card.lift:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
}
@media (prefers-reduced-motion: reduce) { .btn, .card { transition: none; } .btn:hover { transform: none; } }
.float { filter: drop-shadow(0 10px 18px rgba(20,22,26,.14)); }
@media (prefers-color-scheme: dark) { .float { filter: drop-shadow(0 10px 20px rgba(0,0,0,.55)); } .hero-art svg { filter: drop-shadow(0 28px 44px rgba(0,0,0,.5)); } }
.hero-copy .eyebrow, .page-hero .eyebrow, .stack .eyebrow, .head .eyebrow { margin: 0; }
.btn svg, .more svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.more { display: inline-flex; align-items: center; gap: 6px; }
.more svg { width: 16px; height: 16px; }
.center { text-align: center; justify-items: center; margin-inline: auto; }
