/* www.tendspace.net. A night sky: each product is a named star (Altair, Sirius, Polaris, Procyon,
   Carina), drawn on the hero's canvas (site.js) and carried through as each section's accent
   (--a, set from the product's colour in the console). The pitch reads top to bottom like a
   letter: the promise, the three questions, the pain, one section per answer, next Monday, why
   us, the lab, objections, then the ask with a P.S. Fonts are served from here (OFL). */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/site/fonts/bricolage-grotesque-latin.woff2") format("woff2"); }
:root {
  color-scheme: dark;
  --night: #060a14; --night-2: #0a1120; --night-3: #0f1830;
  --panel: rgba(148, 170, 255, .045); --panel-2: rgba(148, 170, 255, .08); --line: rgba(160, 180, 255, .12); --line-2: rgba(160, 180, 255, .22);
  --fg: #eaf0ff; --muted: #9ba8c8; --dim: #6f7c9c;
  --teal: #3fe0c5; --peri: #8f9cff; --amber: #f6c15b; --rose: #ff7a90;
  --a: var(--teal);
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--fg); font: 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--display); line-height: 1.06; letter-spacing: -.025em; margin: 0; text-wrap: balance; font-weight: 700; }
h2 { font-size: clamp(32px, 4.4vw, 56px); }
h3 { font-size: 21px; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--fg); color: var(--night); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 12.5px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--a); margin-bottom: 18px; }
.star-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--a); box-shadow: 0 0 0 4px color-mix(in srgb, var(--a) 18%, transparent), 0 0 18px var(--a); }
.grad { background: linear-gradient(100deg, var(--teal) 0%, var(--peri) 45%, var(--amber) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn { --bg: var(--panel-2); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); color: var(--fg); font: 600 15.5px/1 var(--body); text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--a) 60%, transparent); }
.btn-primary { background: linear-gradient(135deg, color-mix(in srgb, var(--a) 92%, white), color-mix(in srgb, var(--a) 70%, #1e40af)); color: #04121a; border-color: transparent; box-shadow: 0 8px 30px -8px color-mix(in srgb, var(--a) 70%, transparent); }
.btn-primary:hover { box-shadow: 0 14px 40px -8px color-mix(in srgb, var(--a) 85%, transparent); }
.btn-ghost { background: transparent; }
.btn-big { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn span[aria-hidden] { transition: transform .25s var(--ease); }
.btn:hover span[aria-hidden] { transform: translateX(4px); }
.link { color: var(--a); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Header */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.top.scrolled, .page-doc .top { background: rgba(6, 10, 20, .72); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-color: var(--line); }
.top-row { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 21px/1 var(--display); letter-spacing: -.03em; text-decoration: none; }
.brand b { font-weight: 400; color: var(--muted); margin-left: 4px; }
.mark { width: 28px; height: 28px; }
.mark-ray { stroke: var(--teal); stroke-width: 1.6; stroke-linecap: round; opacity: .75; }
.mark-core { fill: var(--fg); filter: drop-shadow(0 0 6px var(--teal)); }
.brand:hover .mark { animation: spin 3s linear infinite; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font-size: 15px; color: var(--muted); text-decoration: none; transition: color .2s; }
.nav a:hover { color: var(--fg); }
.menu { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel); cursor: pointer; padding: 0; position: relative; }
.menu span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--fg); border-radius: 2px; transition: transform .25s; }
.menu span:first-child { top: 16px; } .menu span:last-child { top: 24px; }
.menu[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-nav { display: grid; padding: 8px 16px 20px; background: rgba(6, 10, 20, .96); border-bottom: 1px solid var(--line); }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.mobile-nav small { color: var(--muted); font-weight: 400; margin-left: 6px; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding: 120px 0 90px; isolation: isolate; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(1200px 700px at 78% 20%, rgba(80, 90, 200, .28), transparent 60%), radial-gradient(900px 600px at 10% 90%, rgba(30, 160, 150, .2), transparent 60%), linear-gradient(180deg, #050812, var(--night) 70%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 220px; z-index: -1; background: linear-gradient(180deg, transparent, var(--night)); pointer-events: none; }
.sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-copy { position: relative; max-width: 1200px; pointer-events: none; }
.hero-copy > * { pointer-events: auto; }
.hero h1 { font-size: clamp(42px, 6.6vw, 92px); max-width: 15ch; letter-spacing: -.035em; }
.hero h1 .grad { display: block; }
.lede { font-size: clamp(18px, 1.6vw, 22px); color: var(--muted); max-width: 46ch; margin-top: 26px; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.proof { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 38px 0 0; font-size: 14.5px; color: var(--muted); }
.proof li { display: inline-flex; align-items: center; gap: 9px; }
.proof li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); }
.scroll-hint { position: absolute; left: 50%; bottom: 28px; width: 24px; height: 38px; border: 1.5px solid var(--line-2); border-radius: 14px; transform: translateX(-50%); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--fg); animation: wheel 1.8s var(--ease) infinite; }

/* The three questions */
.questions { padding: 40px 0 120px; }
.questions h2 { font-size: clamp(28px, 3.4vw, 44px); max-width: 26ch; }
.questions h2 .muted { display: block; margin-top: 8px; }
.q-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.q-card { --mx: 50%; --my: 50%; position: relative; display: flex; flex-direction: column; gap: 18px; min-height: 260px; padding: 30px; border-radius: var(--r); border: 1px solid var(--line); background: radial-gradient(400px circle at var(--mx) var(--my), color-mix(in srgb, var(--a) 16%, transparent), transparent 60%), var(--panel); text-decoration: none; overflow: hidden; transition: transform .35s var(--ease), border-color .35s; }
.q-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--a) 55%, transparent); }
.q-num { font: 600 13px/1 var(--body); color: var(--a); letter-spacing: .14em; }
.q-text { font: 700 clamp(24px, 2.3vw, 30px)/1.12 var(--display); letter-spacing: -.02em; }
.q-answer { margin-top: auto; display: flex; align-items: baseline; gap: 10px; font-weight: 700; color: var(--a); }
.q-answer small { color: var(--muted); font-weight: 400; font-size: 14px; }
.q-answer::after { content: "→"; margin-left: auto; transition: transform .3s var(--ease); }
.q-card:hover .q-answer::after { transform: translateX(5px); }

/* Pain */
.pain { padding: 110px 0; border-block: 1px solid var(--line); background: linear-gradient(180deg, var(--night-2), var(--night)); }
.pain-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.pain h2 { font-size: clamp(30px, 3.6vw, 48px); margin-bottom: 22px; }
.pains { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pains li { padding: 22px 24px 22px 56px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); position: relative; }
.pains li::before { content: "!"; position: absolute; left: 20px; top: 22px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 700 13px/1 var(--body); color: var(--night); background: var(--rose); box-shadow: 0 0 16px rgba(255, 122, 144, .5); }
.pains b { display: block; font-size: 17.5px; margin-bottom: 4px; }
.pains span { color: var(--muted); font-size: 15.5px; }

/* Products */
.product { position: relative; padding: 130px 0; overflow: hidden; }
.product::before { content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: 50%; translate: 0 -50%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--a) 16%, transparent), transparent); pointer-events: none; }
.product.flip::before { right: auto; left: -300px; }
.product-grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.product.flip .product-copy { order: 2; }
.product h2 { margin-bottom: 14px; }
.tagline { font: 600 clamp(19px, 1.7vw, 23px)/1.3 var(--display); color: var(--a); margin-bottom: 18px; }
.product-copy > p:not(.eyebrow):not(.tagline) { color: var(--muted); max-width: 52ch; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: color-mix(in srgb, var(--a) 20%, transparent); border: 1px solid color-mix(in srgb, var(--a) 60%, transparent); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 5px; height: 9px; border: solid var(--a); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.product-art { position: relative; padding: 26px; border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(160deg, var(--panel-2), rgba(255, 255, 255, .01)); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06); }
.product-art::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, color-mix(in srgb, var(--a) 70%, transparent), transparent 40%, transparent 70%, color-mix(in srgb, var(--a) 40%, transparent)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }

/* Artwork shared */
.art { width: 100%; height: auto; overflow: visible; font-family: var(--body); }
.art text { fill: var(--fg); font-size: 13px; font-weight: 600; }
.art .dim, .art text.dim { fill: var(--muted); font-weight: 400; font-size: 11.5px; }
.art .mini { font-size: 11.5px; }
.art .caption { fill: var(--muted); font-size: 14px; font-weight: 500; }

/* Altair: one tick, three views */
.art-altair .panel rect:first-child { fill: rgba(255, 255, 255, .03); stroke: var(--line-2); }
.art-altair .slot { fill: rgba(255, 255, 255, .05); }
.art-altair .slot.hit { fill: color-mix(in srgb, var(--a) 22%, transparent); stroke: var(--a); stroke-width: 1; }
.art-altair .box { fill: none; stroke: var(--line-2); stroke-width: 1.5; }
.art-altair .box.done { fill: #43c58a; stroke: #43c58a; }
.art-altair .box.hit { stroke: var(--a); }
.art-altair .tick { fill: none; stroke: #04121a; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 14; stroke-dashoffset: 14; }
.art-altair .edge { fill: none; stroke: var(--line-2); stroke-width: 1.5; }
.art-altair .node { fill: var(--night-3); stroke: var(--line-2); stroke-width: 1.5; }
.art-altair .node.done { fill: #43c58a; stroke: #43c58a; }
.art-altair .node.hit { stroke: var(--a); }
.art-altair .sync { fill: none; stroke: var(--a); stroke-width: 1.5; stroke-dasharray: 4 6; opacity: 0; }
.art-altair.play .box.hit { animation: fill-green 6s infinite; }
.art-altair.play .tick { animation: draw-tick 6s infinite; }
.art-altair.play .sync { animation: sync 6s infinite; }
.art-altair.play .slot.hit { animation: slot-done 6s infinite; }
.art-altair.play .node.hit { animation: fill-green 6s infinite; animation-delay: .35s; }
@keyframes draw-tick { 0%, 18% { stroke-dashoffset: 14; } 26%, 88% { stroke-dashoffset: 0; } 96%, 100% { stroke-dashoffset: 14; } }
@keyframes fill-green { 0%, 20% { fill: transparent; stroke: var(--a); } 28%, 88% { fill: #43c58a; stroke: #43c58a; } 96%, 100% { fill: transparent; stroke: var(--a); } }
@keyframes sync { 0%, 22% { opacity: 0; stroke-dashoffset: 40; } 30% { opacity: 1; } 50% { opacity: .9; stroke-dashoffset: 0; } 62%, 100% { opacity: 0; stroke-dashoffset: 0; } }
@keyframes slot-done { 0%, 30% { fill: color-mix(in srgb, var(--a) 22%, transparent); stroke: var(--a); } 38%, 88% { fill: rgba(67, 197, 138, .25); stroke: #43c58a; } 96%, 100% { fill: color-mix(in srgb, var(--a) 22%, transparent); stroke: var(--a); } }

/* Sirius: Wi-Fi rings, geofence and an arriving phone */
.art-sirius .fence { fill: color-mix(in srgb, var(--a) 5%, transparent); stroke: var(--a); stroke-width: 1.2; stroke-dasharray: 3 7; opacity: .7; }
.art-sirius .waves circle { fill: none; stroke: var(--a); stroke-width: 1.4; opacity: 0; transform-origin: 250px 140px; }
.art-sirius.play .waves circle { animation: wave 3s var(--ease) infinite; }
.art-sirius.play .waves circle:nth-child(2) { animation-delay: 1s; }
.art-sirius.play .waves circle:nth-child(3) { animation-delay: 2s; }
.art-sirius.play .fence { animation: dash 18s linear infinite; }
.art-sirius .ap rect { fill: var(--a); }
.art-sirius .ap path { fill: none; stroke: #04121a; stroke-width: 2; stroke-linecap: round; }
.art-sirius .walk { fill: none; stroke: var(--line-2); stroke-width: 1.5; stroke-dasharray: 2 6; }
.art-sirius .phone rect { fill: var(--night-3); stroke: var(--fg); stroke-width: 1.6; }
.art-sirius .phone circle { fill: var(--fg); }
.art-sirius .stamp { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.art-sirius .stamp.on { opacity: 1; transform: none; }
.art-sirius .stamp rect { fill: rgba(10, 17, 32, .92); stroke: var(--a); }
.art-sirius .stamp circle { fill: #43c58a; }
.art-sirius .stamp path { fill: none; stroke: #04121a; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes wave { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.5); } }

/* Polaris: radar sweep, an alert, and a redacted context */
.art-polaris .rings circle, .art-polaris .rings path { fill: none; stroke: var(--line-2); stroke-width: 1; }
.art-polaris .sweep { fill: color-mix(in srgb, var(--a) 22%, transparent); transform-origin: 150px 150px; }
.art-polaris.play .sweep { animation: spin 4s linear infinite; }
.art-polaris .blip { fill: var(--rose); filter: drop-shadow(0 0 6px var(--rose)); }
.art-polaris .blip.calm { fill: var(--a); filter: none; opacity: .7; }
.art-polaris.play .blip:not(.calm) { animation: blip 4s infinite; }
.art-polaris .alert rect { fill: rgba(10, 17, 32, .92); stroke: var(--rose); }
.art-polaris .alert text:first-of-type { fill: var(--rose); }
.art-polaris.play .alert { animation: pop 4s infinite; }
.art-polaris .redact rect:first-child { fill: rgba(10, 17, 32, .92); stroke: var(--line-2); }
.art-polaris .bar { fill: var(--dim); opacity: .5; }
@keyframes blip { 0%, 8% { opacity: 0; } 12% { opacity: 1; } 70% { opacity: 1; } 85%, 100% { opacity: 0; } }
@keyframes pop { 0%, 12% { opacity: 0; transform: translateX(10px); } 18%, 76% { opacity: 1; transform: none; } 88%, 100% { opacity: 0; transform: translateX(10px); } }

/* Small artwork (the lab) */
.art-small { height: 110px; width: auto; margin-bottom: 16px; }
.art-procyon .coins circle { fill: var(--a); opacity: .85; stroke: #04121a; stroke-width: 2; }
.art-procyon.play .coins circle { animation: coin 2.4s var(--ease) infinite; }
.art-procyon.play .coins circle:nth-child(2) { animation-delay: .3s; }
.art-procyon.play .coins circle:nth-child(3) { animation-delay: .6s; }
.art-procyon .count { fill: var(--a); font: 700 30px var(--display); }
@keyframes coin { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 70% { transform: translateY(-60px); opacity: 0; } 100% { opacity: 0; } }
.art-carina .route { fill: none; stroke: var(--a); stroke-width: 2; stroke-dasharray: 5 6; opacity: .7; }
.art-carina .stop { fill: var(--night); stroke: var(--a); stroke-width: 2; }
.art-carina .truck { fill: var(--fg); filter: drop-shadow(0 0 6px var(--a)); }

/* Monday */
.monday { padding: 130px 0; border-top: 1px solid var(--line); background: radial-gradient(800px 400px at 50% 0%, rgba(143, 156, 255, .12), transparent 70%); }
.monday h2 { max-width: 20ch; }
.timeline { list-style: none; padding: 0; margin: 60px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 1px; background: linear-gradient(90deg, var(--teal), var(--peri), var(--amber), var(--teal)); opacity: .5; }
.timeline li { position: relative; padding-top: 44px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--night); border: 2px solid var(--peri); box-shadow: 0 0 14px var(--peri); }
.timeline time { display: block; font: 700 28px/1 var(--display); margin-bottom: 12px; }
.timeline p { color: var(--muted); font-size: 16px; }

/* Why */
.why { padding: 120px 0; background: linear-gradient(180deg, var(--night), var(--night-2)); }
.why h2 { max-width: 22ch; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 54px; }
.why-grid div { padding: 26px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); }
.why-grid h3 { margin-bottom: 10px; }
.why-grid p { color: var(--muted); font-size: 15.5px; }

/* Lab */
.lab { padding: 120px 0; border-top: 1px solid var(--line); }
.lab-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 50px; }
.lab-card { padding: 30px; border-radius: 20px; border: 1px solid var(--line); background: var(--panel); transition: border-color .3s, transform .3s var(--ease); }
.lab-card:hover { border-color: color-mix(in srgb, var(--a) 50%, transparent); transform: translateY(-4px); }
.lab-card h3 { font-size: 28px; margin-bottom: 10px; }
.lab-card p:not(.eyebrow) { color: var(--muted); margin-bottom: 18px; }
.lab-card .eyebrow { margin-bottom: 12px; }

/* FAQ */
.faq { padding: 120px 0; border-top: 1px solid var(--line); background: var(--night-2); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.faq h2 { margin-bottom: 16px; }
.faq a { color: var(--teal); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font: 600 19px/1.3 var(--display); position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 6px; top: 18px; font: 400 26px/1 var(--body); color: var(--teal); transition: transform .3s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--muted); padding: 0 0 22px; max-width: 62ch; }

/* Contact */
.contact { padding: 130px 0 140px; position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; left: 50%; top: 0; width: 1200px; height: 600px; translate: -50% -40%; background: radial-gradient(closest-side, rgba(63, 224, 197, .14), transparent); pointer-events: none; }
.contact-grid { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact h2 { font-size: clamp(30px, 3.4vw, 46px); margin-bottom: 18px; }
.ps { margin-top: 30px; padding: 20px 22px; border-left: 3px solid var(--amber); background: rgba(246, 193, 91, .06); border-radius: 0 12px 12px 0; color: var(--fg); font-size: 16.5px; }
.ps b { color: var(--amber); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 30px; border-radius: 22px; border: 1px solid var(--line-2); background: rgba(10, 17, 32, .75); backdrop-filter: blur(8px); }
.contact-form label { display: grid; gap: 7px; font-size: 14px; font-weight: 600; color: var(--muted); }
.contact-form .wide { grid-column: 1 / -1; }
.contact-form .opt { font-weight: 400; color: var(--dim); }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; font: 16px/1.4 var(--body); color: var(--fg); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s; }
.contact-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.contact-form select option { background: var(--night-2); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(63, 224, 197, .18); }
.contact-form [aria-invalid="true"] { border-color: var(--rose); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.form-status { font-size: 15px; color: var(--muted); }
.form-status.ok { color: var(--teal); }
.form-status.err { color: var(--rose); }
.fine { font-size: 13px; color: var(--dim); }
.fine a { color: var(--muted); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 64px 0 30px; background: #04070f; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.foot h3 { font: 600 12.5px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
.foot-grid a:not(.brand) { display: block; color: var(--muted); text-decoration: none; font-size: 15px; padding: 4px 0; overflow-wrap: anywhere; }
.foot-grid a:not(.brand):hover { color: var(--fg); }
.foot-note { color: var(--muted); font-size: 15px; margin-top: 16px; max-width: 34ch; }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 54px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13.5px; }
.to-top { color: var(--muted); text-decoration: none; }

/* The invoice pay page (/pay/<token>) */
.pay .pay-status { margin: 26px 0 8px; font-weight: 600; }
.pay .pay-status.paid { color: var(--teal); }
.pay .pay-status.overdue { color: #f6ad55; }
.pay .pay-notice { margin: 22px 0 0; padding: 12px 16px; border-radius: 12px; border: 1px solid #f6ad55; background: color-mix(in srgb, #f6ad55 10%, transparent); }
.pay-lines { width: 100%; margin: 18px 0 28px; border-collapse: collapse; font-size: 15px; }
.pay-lines th, .pay-lines td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.pay-lines th { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pay-lines .num { text-align: right; white-space: nowrap; }
.pay-lines tfoot td { border-bottom: 0; }
.pay-actions { display: grid; gap: 8px; justify-items: start; margin-bottom: 30px; }
.pay-actions .muted { margin: 0 0 14px; font-size: 14px; }
.pay-eft { padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); }
.pay-eft h2 { font-size: 18px; margin-bottom: 12px; }
.pay-eft dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0 0 12px; }
.pay-eft dt { color: var(--muted); }
.pay-eft dd { margin: 0; overflow-wrap: anywhere; }
.pay-foot { margin-top: 30px; font-size: 14px; }
@media (max-width: 520px) {
  .pay-lines th:nth-child(2), .pay-lines td:nth-child(2) { display: none; }
  .pay-eft dl { grid-template-columns: 1fr; gap: 2px; }
  .pay-eft dd { margin-bottom: 8px; }
}

/* The customer billing portal (/billing): sign in by email, then every account billed there */
.portal .lede { max-width: 60ch; }
.portal-form { display: grid; gap: 14px; max-width: 460px; margin-top: 28px; }
.portal-form label { display: grid; gap: 7px; font-size: 14px; font-weight: 600; color: var(--muted); }
.portal input { width: 100%; font: 16px/1.4 var(--body); color: var(--fg); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; color-scheme: dark; }
.portal input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(63, 224, 197, .18); }
.portal-form .btn { justify-self: start; }
.portal-form-inline { margin-top: 30px; }
.portal-note { margin-top: 18px; font-size: 14px; }
.portal-note a, .portal-account a:not(.btn) { color: var(--teal); }
.portal-who { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 22px 0 10px; }
.portal-product { margin-top: 44px; }
.portal-product > h2 { display: flex; align-items: center; gap: 12px; font-size: 30px; }
.portal-account { margin-top: 18px; padding: 22px 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); }
.portal-account h4 { margin: 24px 0 0; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.portal-account-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 30px; }
.portal-facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; }
.portal-facts dt { font-size: 12.5px; color: var(--muted); }
.portal-facts dd { margin: 0; font-weight: 600; }
.portal-owing { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding: 14px 16px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--a) 45%, transparent); background: color-mix(in srgb, var(--a) 8%, transparent); }
.portal-owing.overdue { border-color: #f6ad55; background: color-mix(in srgb, #f6ad55 10%, transparent); }
.portal-clear { margin-top: 16px; color: var(--teal); font-weight: 600; }
.portal-scroll { overflow-x: auto; }
.portal .pay-lines { margin: 10px 0 18px; font-size: 14.5px; }
.portal-statement { display: flex; flex-wrap: wrap; align-items: end; gap: 10px 14px; }
.portal-statement label { display: grid; gap: 5px; font-size: 13px; color: var(--muted); }
.portal-statement input { width: auto; padding: 8px 10px; font-size: 15px; }
.portal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
@media (max-width: 520px) {
  .portal .pay-lines th:nth-child(2), .portal .pay-lines td:nth-child(2) { display: table-cell; }
  .portal-docs th:nth-child(3), .portal-docs td:nth-child(3) { display: none; }
  .portal-account { padding: 18px 16px; }
}

/* Legal, support and 404 */
.doc { padding: 130px 0 100px; max-width: 820px; }
.doc h1 { font-size: clamp(36px, 5vw, 58px); }
.updated { color: var(--muted); margin-top: 12px; }
.doc-toc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 32px 0 8px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); }
.doc-toc p { width: 100%; font-size: 14px; color: var(--muted); }
.doc-toc a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; font-size: 14px; font-weight: 600; }
.doc-toc a:hover { border-color: var(--teal); }
.text { margin-top: 32px; color: #d4dcf2; }
.text h2 { font-size: 27px; margin: 46px 0 14px; letter-spacing: -.015em; }
.text h3 { font-size: 19.5px; margin: 30px 0 10px; }
.text p, .text ul { margin: 0 0 16px; }
.text ul { padding-left: 22px; }
.text li { margin: 6px 0; }
.text a { color: var(--teal); }
.text mark { background: rgba(246, 193, 91, .18); color: var(--amber); padding: 0 4px; border-radius: 4px; }
.doc-section { border-top: 1px solid var(--line); margin-top: 56px; padding-top: 8px; scroll-margin-top: 90px; }
.doc-section > h2 { font-size: 34px; color: var(--teal); }
.doc-contact { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
.doc-contact a { color: var(--teal); }
.support { max-width: 1040px; }
.support .lede { max-width: 60ch; }
.support-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 44px; }
.support-card { padding: 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); scroll-margin-top: 90px; }
.support-card h3 { display: flex; align-items: center; gap: 10px; }
.support-card ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; font-size: 15px; }
.support-card a { color: var(--a); text-decoration: none; overflow-wrap: anywhere; }
.support-card a:hover { text-decoration: underline; }
.support #delete { margin-top: 70px; max-width: 760px; scroll-margin-top: 90px; }
.support-form { margin-top: 60px; }
.support-form h2 { font-size: 30px; margin-bottom: 20px; }
.lost { min-height: 70vh; }
.lost a { color: var(--teal); }

/* Scroll reveal (site.js adds .in; without script everything is simply shown) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes dash { to { stroke-dashoffset: -200; } }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

@media (max-width: 1020px) {
  .nav, .top-row > .btn { display: none; }
  .menu { display: block; }
  .q-grid, .why-grid { grid-template-columns: 1fr 1fr; }
  .q-grid .q-card:last-child { grid-column: 1 / -1; }
  .pain-grid, .product-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .product.flip .product-copy { order: 0; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .timeline::before { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .product, .monday, .why, .lab, .faq, .contact { padding: 90px 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 110px 0 80px; min-height: 92svh; }
  .q-grid, .why-grid, .lab-grid, .timeline { grid-template-columns: 1fr; }
  .q-card { min-height: 0; }
  .contact-form { grid-template-columns: 1fr; padding: 22px; }
  .product-art { padding: 14px; }
  .foot-grid { grid-template-columns: 1fr; }
  .btn-big { min-height: 52px; padding: 0 22px; font-size: 16px; }
  .scroll-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Checkout (/subscribe/c/<id>, lib/checkout.js) */
.checkout-form { display: grid; gap: 26px; margin-top: 26px; }
.checkout-form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 14px; }
.checkout-form legend { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.checkout-form .field { display: grid; gap: 7px; font-size: 14px; font-weight: 600; color: var(--muted); }
.checkout-form .field .muted, .pay-method .muted { font-weight: 400; font-size: 13px; }
.checkout-form .opt { font-weight: 400; }
.checkout-form input:not([type=radio]):not([type=checkbox]), .checkout-form select, .checkout-form textarea { width: 100%; font: 16px/1.4 var(--body); color: var(--fg); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; color-scheme: dark; }
.checkout-form input:focus, .checkout-form select:focus, .checkout-form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(63, 224, 197, .18); }
.checkout-form select option { background: var(--night-2); }
.plan-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.plan-card { position: relative; display: grid; gap: 6px; align-content: start; padding: 18px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--panel); cursor: pointer; }
.plan-card input { position: absolute; inset: 14px 14px auto auto; accent-color: var(--teal); }
.plan-card:has(input:checked) { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(63, 224, 197, .18); }
.plan-card .plan-name { font-weight: 700; font-size: 17px; }
.plan-card .plan-price { font-size: 20px; color: var(--teal); }
.plan-card .plan-blurb { font-size: 14px; color: var(--muted); }
.plan-card ul { margin: 6px 0 0; padding-left: 18px; font-size: 13.5px; color: var(--muted); }
.plan-contact { cursor: default; }
.pay-method { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); cursor: pointer; }
.pay-method > span { display: grid; gap: 4px; }
.pay-method:has(input:checked) { border-color: var(--teal); }
.pay-method input, .agree input { accent-color: var(--teal); margin-top: 4px; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }

/* Tendspace account (/account, lib/account-web.js) */
.account-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.account-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-size: 14.5px; }
.account-nav a { color: var(--muted); }
.account-nav a:hover { color: var(--fg); }
.link-button { font: inherit; font-size: 14px; color: var(--teal); background: none; border: 0; padding: 0; cursor: pointer; }
.link-button.danger { color: #f6ad55; }
.account-section { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.account-section h2 { font-size: 22px; margin-bottom: 8px; }
.account-section h3 { font-size: 16px; margin: 22px 0 8px; }
.account-form { max-width: 620px; }
.account-form fieldset { border: 0; margin: 0 0 6px; padding: 0; display: grid; gap: 14px; min-width: 0; }
.account-form legend { padding: 0; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.portal-form .hint { font-weight: 400; font-size: 13px; color: var(--muted); }
.portal-form .opt { font-weight: 400; }
.portal select, .portal textarea { width: 100%; font: 16px/1.4 var(--body); color: var(--fg); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; color-scheme: dark; }
.portal select:focus, .portal textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(63, 224, 197, .18); }
.portal select option { background: var(--night-2); }
.form-row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); align-items: start; }
.portal .agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 400; color: var(--fg); }
.portal .agree input { width: auto; margin-top: 4px; accent-color: var(--teal); }
.portal .agree a { color: var(--teal); }
.pay-notice.ok { border-color: var(--teal); background: color-mix(in srgb, var(--teal) 10%, transparent); }
.choice-grid, .space-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 24px; }
.choice-card, .space-card { display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--panel); color: var(--fg); text-decoration: none; transition: border-color .2s; }
.choice-card:hover, .space-card:hover { border-color: var(--teal); }
.choice-title, .space-name { font-weight: 700; font-size: 19px; }
.choice-text { color: var(--muted); font-size: 14.5px; }
.choice-go { color: var(--teal); font-weight: 600; margin-top: 6px; }
.space-kind { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.account-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.invite-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border: 1px solid var(--line-2); border-radius: 12px; margin-top: 10px; }
.invite-row p { margin: 0; }
.inline-form { display: inline-flex; gap: 8px; align-items: center; }
.inline-form select { width: auto; padding: 6px 10px; font-size: 14px; }
.invite-form { grid-template-columns: 1fr 200px auto; align-items: end; max-width: 760px; }
@media (max-width: 640px) { .invite-form { grid-template-columns: 1fr; } }
.plain-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14.5px; }
.portal-facts.stacked { display: grid; gap: 10px; }
.totp-setup { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; margin: 22px 0; }
.totp-qr { border-radius: 12px; background: #fff; padding: 6px; }
.totp-key { font-family: ui-monospace, Consolas, monospace; font-size: 17px; letter-spacing: .06em; }
