/* Layout: crisp white (light) or OLED black (dark) ground, baby-pink mark. Awareness bar, header, two-column hero (copy | live 3D mark), then stacked sections on a 1120px column. */
:root {
  --bg: #FFFFFF;
  --fg: #1C1016;
  --muted: #6B5560;        /* 6.8:1 on white */
  --line: #F2DEE6;
  --panel: #FFF7FA;
  --accent: #B8336A;       /* deep rose for links, labels, numbers: 5.6:1 on white */
  --edge: #D46E95;         /* button outlines */
  --dot: #EC9BB6;          /* background particles */
  --pink-1: #FAD3E0;       /* the mark: top card */
  --pink-2: #F5B8CC;       /* left card, buttons */
  --pink-3: #EC9BB6;       /* right card */
  --on-pink: #1C1016;      /* text on pink */
  --on-pink-2: #8E1F4D;    /* labels on pink: 6.3:1 */
  --moon: block;
  --sun: none;
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000; --fg: #F7EEF2; --muted: #B9A6AF; --line: #2A1C22; --panel: #0A0507;
    --accent: #F5B8CC; --edge: #F5B8CC; --dot: #F5B8CC; --moon: none; --sun: block; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #000000; --fg: #F7EEF2; --muted: #B9A6AF; --line: #2A1C22; --panel: #0A0507;
  --accent: #F5B8CC; --edge: #F5B8CC; --dot: #F5B8CC; --moon: none; --sun: block; color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; }
#sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; pointer-events: none; }
a { color: var(--accent); }
a:hover { color: var(--fg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: 1120px; margin-inline: auto; padding-inline: 20px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.08; }
h2 { font-size: clamp(1.45rem, 3.2vw, 2.2rem); line-height: 1.15; }
h3 { font-size: 1.05rem; line-height: 1.3; }
p { margin: 0; }
.label { font: 500 0.75rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }
.btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 3px; font: 500 0.95rem/1 var(--body); text-decoration: none; border: 1.5px solid var(--edge); }
.btn.primary { background: var(--pink-2); color: var(--on-pink); }
.btn.primary:hover { background: var(--pink-1); color: var(--on-pink); }
.btn.ghost { color: var(--fg); background: transparent; }
.btn.ghost:hover { background: color-mix(in srgb, var(--pink-2) 20%, transparent); color: var(--fg); }

/* awareness bar */
.aware { background: var(--pink-1); color: var(--on-pink); }
.aware .wrap { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; padding-block: 10px; font-size: 0.92rem; line-height: 1.4; }
.aware a { color: var(--on-pink-2); font-weight: 500; }
.aware a:hover { color: var(--on-pink); }
.ribbon { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--on-pink-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* header */
header { padding-block: 18px; }
.bar { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); }
.brand svg { width: 36px; height: auto; display: block; }
.brand span { font: 500 1.05rem/1 var(--display); letter-spacing: 0.12em; }
nav { display: flex; gap: 22px; margin-left: auto; overflow-x: auto; }
nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; white-space: nowrap; padding-block: 10px; }
nav a:hover { color: var(--fg); }
.bar .btn { min-height: 40px; }
.mode { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border: 1.5px solid var(--line); border-radius: 50%; background: transparent; color: var(--fg); cursor: pointer; padding: 0; }
.mode:hover { border-color: var(--edge); }
.mode svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mode .moon { display: var(--moon); }
.mode .sun { display: var(--sun); }
@media (max-width: 760px) {
  .bar { gap: 10px 12px; }
  .mode { margin-left: auto; }
  nav { order: 3; width: 100%; margin-left: 0; gap: 18px; }
}
@media (max-width: 520px) { .bar .btn { display: none; } }   /* the same button sits in the hero */

/* hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding-block: 48px 72px; }
.hero > div { min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero .lede { color: var(--muted); max-width: 34em; font-size: 1.1rem; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; padding-block: 24px 56px; gap: 28px; } }

/* the live mark */
.stage { position: relative; width: 100%; max-width: 560px; margin-inline: auto; aspect-ratio: 1 / 1; }
#shape { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; display: block; }
#shape:active { cursor: grabbing; }
.fallback { position: absolute; inset: 12%; display: grid; place-items: center; }
.fallback svg { width: 100%; height: auto; }
#ring { position: absolute; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; border: 2px solid var(--accent); pointer-events: none; animation: hold 650ms linear forwards; }
@keyframes hold { from { transform: scale(0.3); opacity: 0.2; } to { transform: scale(1); opacity: 1; } }

/* the card that comes out */
.pop { position: absolute; left: 50%; top: 50%; width: min(340px, 90%); transform: translate(-50%, -50%); background: var(--dust, none), var(--pink-1); background-size: 260px auto, auto; color: var(--on-pink); padding: 24px 22px 22px; border-radius: 2px; box-shadow: 0 24px 60px rgba(60, 10, 30, 0.28); display: flex; flex-direction: column; gap: 12px; animation: deal 320ms cubic-bezier(.2, .8, .2, 1); }
.pop .label { color: var(--on-pink-2); }
.pop h3 { font-size: 1.3rem; }
.pop ul { margin: 0; padding-left: 1.1em; display: flex; flex-direction: column; gap: 6px; font-size: 0.97rem; line-height: 1.45; }
.pop .fit { font-size: 0.88rem; border-top: 1px solid rgba(28, 16, 22, 0.2); padding-top: 10px; }
.pop button { position: absolute; top: 6px; right: 6px; width: 44px; height: 44px; border: 0; background: none; color: var(--on-pink); font: 400 1.5rem/1 var(--body); cursor: pointer; border-radius: 3px; }
@keyframes deal { from { transform: translate(-50%, -40%) scale(0.92); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pop, #ring { animation: none; } html { scroll-behavior: auto; } }

/* sections */
section { padding-block: 64px; border-top: 1px solid var(--line); }
.head { display: flex; flex-direction: column; gap: 12px; max-width: 40em; margin-bottom: 36px; }
.head p { color: var(--muted); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 48px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 860px) { .grid3, .grid4 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } }
.service { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 2px solid var(--pink-3); }
.service p { color: var(--muted); }
.service .fit { font-size: 0.92rem; color: var(--fg); }
ol.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; flex-direction: column; gap: 8px; }
.steps .n { font: 500 0.8rem/1 var(--mono); color: var(--accent); letter-spacing: 0.1em; }
.steps p { color: var(--muted); font-size: 0.98rem; }
.tier { border: 1px solid var(--line); background: var(--panel); padding: 26px 24px; display: flex; flex-direction: column; gap: 14px; border-radius: 3px; }
.price { font: 500 2rem/1 var(--mono); font-variant-numeric: tabular-nums; color: var(--fg); }
.price small { font-size: 0.85rem; color: var(--muted); font-weight: 400; }
.tier ul { margin: 0; padding-left: 1.1em; color: var(--muted); display: flex; flex-direction: column; gap: 6px; font-size: 0.97rem; }
.fees { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.fees div { display: flex; flex-direction: column; gap: 6px; }
.fees dt { font: 500 1rem/1.3 var(--display); }
.fees dd { margin: 0; color: var(--muted); font-size: 0.95rem; }
.amt { font-family: var(--mono); color: var(--fg); font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .fees { grid-template-columns: 1fr; } }
.note { color: var(--muted); margin-top: 18px; font-size: 0.95rem; }
.partners { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: end; }
.partners > div { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 860px) { .partners { grid-template-columns: 1fr; } }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding-block: 18px; font: 500 1rem/1.4 var(--body); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--mono); color: var(--accent); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); padding-bottom: 18px; max-width: 46em; }
.contact { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.mail { font: 500 clamp(1.1rem, 3vw, 1.5rem)/1.3 var(--mono); color: var(--fg); user-select: all; word-break: break-all; }
footer { border-top: 1px solid var(--line); padding-block: 28px 40px; }
footer .wrap { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; justify-content: space-between; color: var(--muted); font-size: 0.9rem; }
footer .support { display: inline-flex; align-items: center; gap: 8px; }
footer .ribbon { width: 18px; height: 18px; stroke: var(--accent); }
.more { font-weight: 500; font-size: 0.95rem; text-underline-offset: 3px; align-self: flex-start; padding-block: 6px; }
.more::after { content: " \2192"; }
.links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-left: 0; }
.links a { color: var(--muted); text-decoration: none; padding-block: 8px; }
.links a:hover { color: var(--fg); text-decoration: underline; }

/* service pages */
.doc { padding-block: 32px 56px; border-top: 0; }
.doc .wrap { display: flex; flex-direction: column; gap: 20px; }
.doc h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); max-width: 18em; }
.doc .lede { color: var(--muted); max-width: 38em; font-size: 1.1rem; }
.crumb { font-size: 0.9rem; color: var(--muted); }
.crumb a { color: var(--muted); }
.prose { display: flex; flex-direction: column; gap: 14px; max-width: 44em; }
.prose + .prose { margin-top: 36px; }
.prose p, .prose li { color: var(--muted); }
.prose ul, .prose ol { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 8px; }
.related ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
