/* 9und3 IT & Security – styles.css (no external resources) */

/* Geist + Geist Mono, self-hosted (SIL Open Font License) – keine Verbindung zu Google */
@font-face { font-family: Geist; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/geist-400.woff2") format("woff2"); }
@font-face { font-family: Geist; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/geist-500.woff2") format("woff2"); }
@font-face { font-family: Geist; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/geist-600.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/geist-mono-400.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/geist-mono-500.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/instrument-serif-italic.woff2") format("woff2"); }

:root {
  --bg: #f7f7f5;
  --ink: #111;
  --mute: #8a8a85;
  --sub: #6b6b66;
  --line: #e4e4e0;
  --card: #fbfbf9;
  --dots: #0d0d0d;
  --font: Geist, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, canvas { display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: #111; color: #fff; }
.pill::selection { background: #fff; color: #111; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.row:focus-visible { outline-offset: -2px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #111; color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; font-size: 13.5px; }
.skip:focus { top: 12px; }

.muted { color: var(--sub); }
p, li, dd { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }

/* ---------- Brand ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -.01em;
}
.mark { width: auto; height: 24px; flex: none; }

/* ---------- Label ---------- */
.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Geist Mono", ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sub);
  margin-bottom: 18px;
}
.label::before {
  content: "";
  width: 14px;
  height: 1px;
  border-radius: 0;
  background: var(--ink);
  flex: none;
}

/* ---------- Pills & links ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  background: #111;
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.2;
  padding: 11px 20px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .3s ease, background-color .3s ease;
}
.pill:hover { background: #2a2a2a; }
.pill:active, .cta .pill:active, .btn:active { transform: scale(.97); transition-duration: .08s; }

.cta, .pill--glow {
  position: relative;
  display: inline-flex;
  isolation: isolate;
}
.cta::before, .pill--glow::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -6px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(90deg, #ffcf5a, #7dffa8, #5ad7ff, #9b7bff, #ff6fd8, #ffb36b);
  filter: blur(9px);
  opacity: .85;
  z-index: -1;
  pointer-events: none;
  transition: opacity .3s ease, filter .3s ease, bottom .3s ease;
}
.cta:hover::before, .cta:focus-within::before,
.pill--glow:hover::before, .pill--glow:focus-within::before {
  opacity: 1;
  filter: blur(12px);
  bottom: -9px;
}
.cta:hover .pill, .cta:focus-within .pill,
.pill--glow:hover .pill, .pill--glow:focus-within .pill { transform: translateY(-1px); }

.textlink {
  color: var(--sub);
  font-size: 13.5px;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: color .3s ease, text-decoration-color .3s ease;
}
.textlink:hover, .textlink:focus-visible { color: var(--ink); text-decoration-color: currentColor; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 2.6vw, 40px);
  padding: 28px 24px 14px;
  font-size: 13.5px;
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease, padding .3s ease;
}
.nav.scrolled {
  background: rgba(247, 247, 245, .85);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
  padding-top: 14px;
}
.nav-links { display: flex; gap: clamp(18px, 2.6vw, 40px); }
.nav-links a { color: #3a3a3a; text-decoration: none; transition: color .2s ease; }
.nav-links a:hover, .nav-links a:focus-visible { color: #000; }
@media (pointer: coarse) {
  .nav-links a, .textlink { display: inline-block; padding: 12px 4px; margin: -12px -4px; }
  .footer nav a { display: inline-block; padding: 6px 0; }
  .pill, .btn { min-height: 44px; }
}

/* Subpage header */
.nav--solid {
  justify-content: space-between;
  padding: 14px max(24px, calc((100% - var(--max)) / 2));
  background: rgba(247, 247, 245, .92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

@media (max-width: 760px) {
  .nav { justify-content: space-between; padding: 18px; }
  .nav.scrolled { padding: 12px 18px; }
  .nav-links { margin-left: auto; margin-right: 14px; }
  .nav-links a:not([href="#preise"]) { display: none; }
  .nav--solid { padding: 12px 18px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 660px;
  overflow: hidden;
}
#dots {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.copy {
  position: absolute;
  left: 50%;
  top: 31%;
  transform: translateX(-50%);
  width: min(92vw, 720px);
  text-align: center;
  z-index: 3;
}
.copy h1 {
  font-size: clamp(42px, 5vw, 84px);
  font-weight: 600;
  letter-spacing: -.05em;
  line-height: .98;
}
.copy h1 .grey { display: block; color: var(--mute); font-weight: 500; }
/* editorial accent: serif italic word */
.copy h1 em, .section h2 em {
  font-family: "Instrument Serif", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.02em;
  font-size: 1.12em;
  line-height: 0;
  padding-right: .04em;
}
.copy p {
  max-width: 540px;
  margin: 22px auto 0;
  color: var(--sub);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.55;
}
.hero-cta {
  margin-top: clamp(34px, 3.6vw, 52px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.trust {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(24px, 5vh, 56px);
  z-index: 3;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(22px, 4vw, 56px);
  padding: 0 20px;
  color: var(--sub);
  font-size: 13px;
  font-weight: 400;
}
.trust li { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.trust svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

@media (max-width: 760px) {
  .copy { top: 20%; }
  .trust { gap: 10px 20px; font-size: 12.5px; }
}

/* ---------- Error hero ---------- */
.hero--error { height: 100vh; height: 100svh; min-height: 560px; }
.error-copy {
  position: absolute;
  left: 50%;
  top: 64%;
  transform: translateX(-50%);
  width: min(92vw, 560px);
  text-align: center;
  z-index: 3;
}
.error-copy h1 {
  font-size: clamp(30px, 3.2vw, 50px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.06;
}
.error-copy p:not(.label) {
  margin: 14px auto 0;
  max-width: 420px;
  color: var(--sub);
  font-size: 15px;
}
.error-copy .label { margin-bottom: 14px; }
.error-copy .cta { margin: 28px 14px 0 0; vertical-align: middle; }
.error-copy .textlink { display: inline-block; margin-top: 28px; vertical-align: middle; }
@media (orientation: portrait) { .error-copy { top: 60%; } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vh, 128px) 20px; }
.inner { max-width: var(--max); margin: 0 auto; }
.section + .section { border-top: 1px solid var(--line); }
.section h2 {
  font-size: clamp(32px, 3.6vw, 54px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.06;
  max-width: 16ch;
}
.section h2 .grey { color: var(--mute); display: block; }
.section-head h2 { max-width: none; }
.section-head h2 .grey { display: block; }
.lead { color: var(--sub); font-size: clamp(15px, 1.1vw, 17px); line-height: 1.55; max-width: 440px; }

.section-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px 64px;
  align-items: last baseline;
  margin-bottom: clamp(48px, 7vh, 80px);
}
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* Mono kicker: "01  LEISTUNGEN" */
.kicker {
  font-family: "Geist Mono", ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sub);
  margin-bottom: 22px;
  display: flex;
  gap: 14px;
}
.kicker::before { content: ""; width: 14px; height: 1px; background: var(--ink); align-self: center; }
.fig {
  font-family: "Geist Mono", ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  font-size: 10.5px;
  letter-spacing: .14em;
  color: #b4b4ae;
}

/* Hairline grid: cells share 1px borders, square corners, no gaps */
.grid {
  display: grid;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid > * {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(24px, 2.6vw, 40px);
}
@media (max-width: 1000px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .grid--3 { grid-template-columns: 1fr; } }

/* Service cells */
.cell { display: flex; flex-direction: column; transition: background-color .4s ease; }
.cell:hover { background: #fbfbf9; }
.cell-art { flex: none; height: clamp(220px, 20vw, 270px); display: grid; place-items: center; margin-bottom: 12px; }
.cell h3 { font-size: clamp(22px, 2vw, 26px); font-weight: 500; letter-spacing: -.025em; }
.cell > p:last-child { margin-top: 8px; color: var(--sub); font-size: 15px; line-height: 1.55; max-width: 34ch; }
.dot-icon { width: 72px; height: 72px; }
.dot-icon--fig { width: 168px; height: 168px; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.cell:hover .dot-icon--fig { transform: scale(1.04); }
@media (max-width: 1000px) { .cell { min-height: 360px; } .grid--3 > .cell:last-child { grid-column: 1 / -1; } }
@media (max-width: 640px)  { .grid--3 > .cell:last-child { grid-column: auto; } }

/* Plans (Vercel-style) */
.plan { display: flex; flex-direction: column; transition: background-color .4s ease; }
.plan:hover { background: #fbfbf9; }
.plan h3 { font-size: 15px; font-weight: 500; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tag {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 999px;
  background: #ebebe7;
  color: #3a3a3a;
}
.price {
  margin-top: 22px;
  font-size: clamp(34px, 3vw, 46px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1;
  white-space: nowrap;
}
.price span, .price small { font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--sub); }
.plan .desc {
  margin-top: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  color: var(--sub);
  font-size: 15px;
}
.checks { list-style: none; margin: 26px 0 0; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 11px; font-size: 14px; line-height: 1.45; color: #2a2a2a; }
.checks li { position: relative; padding-left: 24px; }
.checks li::before {
  /* drawn check mark (no image, CSP-safe) */
  content: "";
  position: absolute;
  left: 2px;
  top: .34em;
  width: 9px;
  height: 5px;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
}
.plan .note { margin-top: 18px; font-size: 12.5px; color: var(--sub); }
.plans-note { margin-top: 18px; font-size: 12.5px; color: var(--sub); }
.plan > .btn, .plan > .cta { margin-top: auto; align-self: flex-start; }
.plan > :nth-last-child(2) { margin-bottom: 32px; }
.plan--featured { background: #fff; box-shadow: inset 0 0 0 1px #d6d6d1; }
.plan--featured:hover { background: #fff; }
.cell, .plan { position: relative; isolation: isolate; }
.cell::after, .plan::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .4s ease; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(17, 17, 17, .045), transparent 70%); }
.cell:hover::after, .plan:hover::after { opacity: 1; }

.btn {
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 10px 19px;
  border-radius: 999px;
  border: 1px solid #d6d6d1;
  background: transparent;
  transition: border-color .25s ease, background-color .25s ease, transform .25s cubic-bezier(.2, .7, .2, 1);
}
.btn:hover { border-color: var(--ink); background: #fff; }

/* Rows under the plans */
.rows { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px 32px;
  padding: 24px clamp(24px, 2.6vw, 40px);
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: background-color .3s ease;
}
a.row:hover { background: #fbfbf9; }
.row-title { font-weight: 500; }
.row-desc { color: var(--sub); font-size: 14px; }
.row-value { font-size: 20px; font-weight: 500; letter-spacing: -.02em; white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.arrow { display: inline-block; transition: transform .3s ease; }
a.row:hover .arrow { transform: translateX(4px); }
@media (max-width: 420px) { .row { grid-template-columns: 1fr; } .row-value { text-align: left; font-size: 18px; } }

/* Process: sticky head + scroll-driven timeline */
.process { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.process-head { position: sticky; top: 120px; }
.process-head .lead { margin-top: 22px; }
.timeline { list-style: none; position: relative; --p: 1; }
.timeline::before, .timeline::after {
  content: "";
  position: absolute;
  left: 27px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}
.timeline::after {
  background: var(--ink);
  transform-origin: top;
  transform: scaleY(var(--p));
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 28px;
  padding: 0 0 clamp(56px, 9vh, 96px);
}
.step:last-child { padding-bottom: 0; }
.step:last-child::after { content: ""; position: absolute; z-index: 1; left: 0; top: 28px; bottom: -8px; width: 56px; background: var(--bg); }
.step .step-num { z-index: 2; }
.step-num {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg);
  font-family: "Geist Mono", ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  color: #b4b4ae;
  transition: background-color .5s ease, color .5s ease, border-color .5s ease;
}
.step h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -.025em; line-height: 1.2; padding-top: 12px; color: var(--ink); transition: color .5s ease; }
.step p { margin-top: 10px; color: var(--sub); font-size: 15.5px; line-height: 1.6; max-width: 46ch; transition: color .5s ease; }
.step .step-meta {
  margin-top: 16px;
  font-family: "Geist Mono", ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.step-num { background: var(--ink); border-color: var(--ink); color: #fff; }
.js .step:not(.is-active) .step-num { background: var(--bg); border-color: var(--line); color: var(--mute); }
.js .step:not(.is-active) h3 { color: var(--sub); }
@media (max-width: 860px) {
  .process { grid-template-columns: 1fr; }
  .process-head { position: static; }
  .step { grid-template-columns: 44px 1fr; gap: 20px; }
  .step-num { width: 44px; height: 44px; font-size: 12px; }
  .timeline::before, .timeline::after { left: 21px; }
  .step h3 { padding-top: 7px; }
}

/* Reveal on scroll (only when JS is active and motion allowed) */
.js [data-reveal] { opacity: 0; transform: translateY(10px); transition: opacity .6s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.grid > [data-reveal]:nth-child(3n+2) { transition-delay: .08s; }
.grid > [data-reveal]:nth-child(3n+3) { transition-delay: .16s; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.contact-text > p:not(.kicker):not(.muted) { margin-top: 22px; color: var(--sub); max-width: 380px; }
.contact-mail {
  display: inline-block;
  margin-top: 32px;
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 500;
  letter-spacing: -.03em;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .5s cubic-bezier(.2, .7, .2, 1);
}
.contact-mail:hover { background-size: 100% 1px; }
.contact-text .muted { margin-top: 12px; font-size: 14px; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; border-top: 1px solid var(--line); }
.field { display: flex; flex-direction: column; gap: 4px; padding: 20px 0 6px; border-bottom: 1px solid #8a8a85; transition: border-color .3s ease, box-shadow .3s ease; }
.field:focus-within { border-bottom-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.field textarea::placeholder { color: #71716c; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 500; color: var(--sub); }
.field label .muted { font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 6px 0 10px;
  font-size: 17px;
  line-height: 1.4;
  outline: 2px solid transparent;
  outline-offset: 2px;
  color: var(--ink);
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 28px;
  background-image: linear-gradient(45deg, transparent 50%, #7b7b7b 50%), linear-gradient(135deg, #7b7b7b 50%, transparent 50%);
  background-position: calc(100% - 10px) 50%, calc(100% - 5px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.field:has(:user-invalid) { border-bottom-color: #b33; }
.form-actions { display: flex; align-items: center; gap: 20px 28px; flex-wrap: wrap; padding-top: 32px; }
.form-actions .pill { padding: 13px 26px; }
.form-note { font-size: 13px; }
.form-actions [hidden] { display: none; }

@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); interpolate-size: allow-keywords; }
.faq details::details-content { height: 0; overflow: clip; transition: height .35s cubic-bezier(.2, .7, .2, 1), content-visibility .35s allow-discrete; }
.faq details[open]::details-content { height: auto; }
.faq details p a { color: inherit; text-underline-offset: 3px; }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 500;
  letter-spacing: -.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  content: "+" / "";
  font-weight: 300;
  font-size: 26px;
  line-height: 1;
  color: var(--sub);
  transition: transform .3s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover::after { color: var(--ink); }
.faq details p { padding: 0 0 28px; color: var(--sub); max-width: 680px; line-height: 1.6; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* ---------- Legal pages ---------- */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 140px 20px 100px;
}
.legal h1 {
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.06;
  margin-bottom: 28px;
}
.legal h2 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.3;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  margin-bottom: 10px;
}
.legal h3 { font-size: 16px; font-weight: 600; margin-top: 24px; margin-bottom: 6px; }
.legal p, .legal ul, .legal ol, .legal dl { margin-top: 12px; color: #2a2a2a; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li + li { margin-top: 4px; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #b9b9b4; }
.legal a:hover { text-decoration-color: currentColor; }
.legal a.pill { color: #fff; text-decoration: none; }
.legal dl { display: grid; grid-template-columns: 1fr; gap: 2px 24px; }
.legal dt { font-weight: 600; }
.legal dd { margin-bottom: 10px; }
@media (min-width: 641px) {
  .legal dl { grid-template-columns: minmax(140px, 200px) 1fr; gap: 10px 24px; }
  .legal dd { margin-bottom: 0; }
}
.legal .muted { color: var(--sub); }
p, li, dd { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
.placeholder {
  background: #fff3b0;
  padding: 1px 5px;
  border-radius: 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 20px 56px; font-size: 13px; color: var(--sub); }
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
}
.footer .brand { font-size: 13.5px; }
.footer .mark { height: 20px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-left: auto; }
.footer nav a { color: var(--sub); text-decoration: none; transition: color .2s ease; }
.footer nav a:hover { color: var(--ink); }
@media (max-width: 760px) {
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer nav { margin-left: 0; }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .cta .pill, .pill--glow .pill { transform: none !important; }
}

/* ---------- Small phones: hero in normal flow (no overlap, reflow-safe) ---------- */
@media (max-width: 560px) {
  .copy p { font-size: 15px; }
  .hero:not(.hero--error) { display: flex; flex-direction: column; justify-content: center; height: auto; min-height: max(100svh, 620px); padding: 96px 0 56px; }
  .hero:not(.hero--error) .copy { position: relative; left: auto; top: auto; transform: none; margin: 0 auto; }
  .hero:not(.hero--error) .trust { position: relative; bottom: auto; margin-top: 48px; }
}

/* Footer: security standard of this site */
.footer-spec { flex-basis: 100%; padding-top: 16px; border-top: 1px solid var(--line); font-family: "Geist Mono", ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--sub); }
.footer-spec a { color: inherit; }
.plans-note a { color: inherit; text-underline-offset: 3px; }

/* Phones held sideways: hero in normal flow so the CTA stays visible */
@media (max-height: 500px) and (orientation: landscape) {
  .hero:not(.hero--error) { height: auto; min-height: 100svh; padding: 92px 0 40px; }
  .hero:not(.hero--error) .copy { position: relative; left: auto; top: auto; transform: none; margin: 0 auto; }
}

@media print {
  body { background: #fff; }
  .nav, .skip, #dots, .hero-cta, .form, .cta::before, .footer-spec { display: none !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero { height: auto !important; min-height: 0 !important; }
  .copy { position: static; transform: none; width: auto; text-align: left; }
  .section { padding: 24px 0; break-inside: avoid-page; }
  .process-head { position: static; }
  .legal { padding-top: 0; }
  .grid > *, .plan--featured { background: none; box-shadow: none; }
}

/* ---------- Phones: keep the compact desktop feel ---------- */
@media (max-width: 640px) {
  /* services: icon beside the text instead of a tall art block */
  .grid--3:not(.plans) > .cell { display: grid; grid-template-columns: 84px 1fr; column-gap: 18px; align-items: start; align-content: start; min-height: 0; padding: 24px 20px; }
  .grid--3:not(.plans) > .cell .cell-art { grid-row: 1 / span 2; height: auto; margin: 0; padding: 0; }
  .grid--3:not(.plans) .dot-icon--fig { width: 84px; height: 84px; }
  .cell h3 { font-size: 20px; }
  .cell > p:last-child { margin-top: 6px; font-size: 14.5px; }

  /* pricing: swipeable cards like on the desktop grid */
  .plans { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; margin-right: -20px; scrollbar-width: none; }
  .plans::-webkit-scrollbar { display: none; }
  .plans > .plan { flex: 0 0 82%; scroll-snap-align: start; }
  .plans > .plan:last-child { margin-right: 20px; }
}

/* Phones: narrower, smaller copy so the 9 and 3 fit left and right like on desktop */
@media (max-width: 560px) {
  .hero:not(.hero--error) .copy { width: 50vw; }
  .hero:not(.hero--error) .copy h1 { font-size: clamp(19px, 5.9vw, 28px); letter-spacing: -.04em; }
  .hero:not(.hero--error) .copy p { font-size: 12px; margin-top: 12px; }
  .hero:not(.hero--error) .hero-cta { margin-top: 26px; gap: 12px; }
  .hero:not(.hero--error) .hero-cta .pill { font-size: 12.5px; padding: 10px 16px; }
  .hero:not(.hero--error) .textlink { font-size: 12px; }
}

.contact-person { margin-top: 14px; font-weight: 500; }
.contact-person a { color: var(--sub); margin-left: 10px; font-weight: 400; text-underline-offset: 3px; }
