/* CUSTOS public site. Black / charcoal / smoked neutrals, deep navy, restrained cyan; red only as a small signal. */
@font-face { font-family: "Geist"; src: url("/assets/Geist-Variable-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/GeistMono-Variable-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #050608; --bg-2: #0a0c10; --panel: #0e1116; --line: rgba(255, 255, 255, 0.08); --line-hi: rgba(255, 255, 255, 0.16);
  --text: #eef1f6; --muted: #a3acbb; --dim: #6f7889; --navy: #0d1a33; --cyan: #7cc8ff; --cyan-dim: rgba(124, 200, 255, 0.14); --red: #ff4d5e;
  --max: 1180px; --gutter: clamp(16px, 4vw, 40px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; }
.skip:focus { left: 12px; z-index: 100; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(5, 6, 8, 0.86); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px); }
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; letter-spacing: 0.32em; font-size: 14px; }
.brand img { width: 30px; height: 30px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--muted); font-size: 14px; padding: 10px 12px; border-radius: 8px; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav .cta { color: #05070a; background: var(--text); font-weight: 600; margin-left: 8px; }
.nav .cta:hover { background: #fff; color: #05070a; }
.menu { display: none; margin-left: auto; background: none; border: 1px solid var(--line-hi); color: var(--text); border-radius: 10px; min-height: 44px; padding: 0 14px; font: inherit; font-size: 14px; }
@media (max-width: 860px) {
  .menu { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 16px;
    background: rgba(5, 6, 8, 0.97); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .cta { margin: 12px 0 0; justify-content: center; border-radius: 10px; border-bottom: 0; }
}

/* type */
.eyebrow { font: 500 12px/1.4 "Geist Mono", ui-monospace, monospace; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan); margin: 0 0 18px; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; }
h1 { font-size: clamp(40px, 7vw, 84px); letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 4.4vw, 52px); }
h3 { font-size: 22px; letter-spacing: -0.01em; line-height: 1.2; }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 640px; margin: 24px 0 0; }
p { margin: 0 0 14px; }
.muted { color: var(--muted); }
.mono { font-family: "Geist Mono", ui-monospace, monospace; }

/* hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: min(780px, 90vw); aspect-ratio: 1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(124, 200, 255, 0.22), rgba(37, 77, 170, 0.12) 45%, transparent 72%); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); }
.hero .wrap { position: relative; z-index: 1; padding-top: clamp(72px, 12vw, 148px); padding-bottom: clamp(64px, 10vw, 120px); }
.hero h1 span { color: var(--dim); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; text-decoration: none;
  font-weight: 600; font-size: 15px; border: 1px solid var(--line-hi); transition: background 0.2s, border-color 0.2s; }
.btn.primary { background: var(--text); color: #05070a; border-color: var(--text); }
.btn.primary:hover { background: #fff; }
.btn.ghost:hover { border-color: rgba(255, 255, 255, 0.4); }

/* sections */
section.block { padding: clamp(72px, 10vw, 128px) 0; border-bottom: 1px solid var(--line); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.lines > li { border-bottom: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 8px 24px; align-items: baseline; padding: 28px 0; text-decoration: none; }
.svc .n { font: 500 13px "Geist Mono", ui-monospace, monospace; color: var(--dim); }
.svc h3 { transition: color 0.2s; }
.svc p { grid-column: 2; margin: 6px 0 0; color: var(--muted); max-width: 640px; }
.svc .go { color: var(--dim); font-size: 14px; white-space: nowrap; }
.svc:hover h3 { color: var(--cyan); }
@media (max-width: 640px) { .svc { grid-template-columns: 40px minmax(0, 1fr); } .svc .go { display: none; } }

.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.principles > div { padding: 28px 28px 28px 0; border-right: 1px solid var(--line); }
.principles > div + div { padding-left: 28px; }
.principles > div:last-child { border-right: 0; }
@media (max-width: 860px) { .principles { grid-template-columns: 1fr; } .principles > div, .principles > div + div { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); } }

/* service detail */
.service { padding: clamp(56px, 8vw, 96px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.packages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-top: 32px; }
.packages > div { background: var(--panel); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.packages .price { font-size: 26px; font-weight: 600; letter-spacing: -0.01em; margin-top: 4px; }
.packages .price small { font-size: 14px; font-weight: 400; color: var(--muted); }
.packages ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .packages { grid-template-columns: 1fr; } }
.note { font-size: 14px; color: var(--dim); margin-top: 16px; }

/* prose pages (policies) */
.prose { max-width: 760px; padding: clamp(48px, 8vw, 96px) 0; }
.prose h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 12px; }
.prose h2 { font-size: 24px; margin: 40px 0 12px; letter-spacing: -0.01em; }
.prose p, .prose li { color: #cfd5df; }
.prose ul { padding-left: 20px; }
.prose .updated { font: 500 12px "Geist Mono", ui-monospace, monospace; color: var(--dim); letter-spacing: 0.08em; text-transform: uppercase; }

/* form */
form.contact { display: grid; gap: 16px; max-width: 640px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; color: var(--text); background: var(--panel); border: 1px solid var(--line-hi); border-radius: 10px;
  min-height: 48px; padding: 10px 14px; width: 100%; }
.field textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line-hi); background: var(--panel); }
.status.ok { border-color: rgba(124, 200, 255, 0.4); }
.status.err { border-color: rgba(255, 77, 94, 0.5); }

/* footer */
footer { padding: 56px 0 40px; color: var(--muted); font-size: 14px; }
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
footer h4 { margin: 0 0 12px; font: 500 12px "Geist Mono", ui-monospace, monospace; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
footer a { text-decoration: none; color: var(--muted); display: inline-flex; min-height: 32px; align-items: center; }
footer a:hover { color: var(--text); }
footer .legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }
@media (max-width: 860px) { footer .cols { grid-template-columns: 1fr 1fr; } footer a { min-height: 44px; } }

/* motion: content is NEVER hidden waiting for scroll (crawlers, reviewers' screenshot tools and print must see every section).
   The only motion is a light lift on links and buttons. */
.btn, .svc h3 { transition: background 0.2s, border-color 0.2s, color 0.2s; }
.lede-top { margin-top: 0; } .mt16 { margin-top: 16px; } .mt40 { margin-top: 40px; } .h-wide { max-width: 820px; }
.feats { margin-top: 20px; padding-left: 20px; } .bullets { padding-left: 20px; } .foot-about { margin-top: 14px; max-width: 360px; }
.brand { min-height: 44px; }
