/* ==========================================================================
   Ontivum. Layout, type scale, palette and motion follow the measured design of x.ai
   (2026-11-17): near-black page, #1a1a1a cards at 16px, white and #202020 pill buttons,
   60/60 headline at weight 450, 250ms spring hovers. Fonts are Geist (open) in place of x.ai's own.
   The only change to a measured value: 30% white labels are 50% white here, for contrast.
   ========================================================================== */

:root {
  color-scheme: dark;   /* native form controls and scrollbars match the page */
  --ink: #101010;       /* brand ink and paper (brand/rebrand-2026-11/kit/guidelines.md, section 4) */
  --paper: #F5F4F0;
  --bg: var(--ink);
  --card: #1a1a19;
  --surface: #232321;
  --fg: var(--paper);
  --fg-70: rgb(245 244 240 / 0.7);
  --fg-60: rgb(245 244 240 / 0.6);
  --fg-50: rgb(245 244 240 / 0.5);
  --line: rgb(245 244 240 / 0.1);
  --code: #8d867e;
  caret-color: var(--paper);
  accent-color: var(--paper);
  scrollbar-color: rgb(245 244 240 / 0.28) var(--ink);

  --f-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;   /* brand headline face, weight 300 */
  --f-sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --r: 12px;            /* concept previews */
  --gutter: 16px;
  --max: 80rem;
}
@media (min-width: 64rem) { :root { --gutter: 24px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; background: var(--bg); }
html.menu-open { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--f-sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: 16px; z-index: 100; padding: 10px 18px; border-radius: 999px; background: var(--paper); color: #101010; font-weight: 500; transform: translateY(-200%); }
.skip:focus-visible { transform: none; outline-color: #101010; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.small { font-size: 13px; color: var(--fg-60); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 12px 20px; border: 0; border-radius: 999px; font-size: 14px; font-weight: 500; line-height: 20px; white-space: nowrap; transition: background-color 0.25s var(--ease), color 0.25s var(--ease); }
.btn--sm { height: 40px; padding: 10px 18px; }
.btn--light { background: var(--paper); color: #101010; }
.btn--dark { background: var(--surface); color: var(--paper); }
@media (hover: hover) {
  .btn--light:hover { background: rgb(245 244 240 / 0.85); }
  .btn--dark:hover { background: #2e2e2e; }
}

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; }
.hdr::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(16 16 16 / 0.85); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.hdr::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); }
.hdr__in { display: flex; align-items: center; gap: 8px; min-height: 84px; padding-block: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }
.wordmark { height: 20px; width: auto; fill: currentColor; }   /* drawn logo; the link's aria-label carries the name */
/* Load: a light drop-down. The header slides down from the top edge and the hero drops into place
   in a short stagger. CSS only, transform and opacity, nothing to download or run. */
@keyframes drop-bar { from { transform: translateY(-100%); } }
@keyframes drop { from { opacity: 0; transform: translateY(-14px); } }
.hdr { animation: drop-bar 0.55s var(--ease) both; }
.hero .chip { animation: drop 0.6s var(--ease) 0.05s both; }
/* the subtitle is the largest text on phones: it slides but never fades, so it paints on the first frame */
@keyframes drop-move { from { transform: translateY(-14px); } }
.hero .hero__sub { animation: drop-move 0.6s var(--ease) both; }
.hero > .wrap > .hero__actions { animation: drop 0.6s var(--ease) 0.38s both; }
.hdr__nav { display: none; }
.hdr__cta { display: flex; gap: 8px; margin-left: auto; }
.hdr__ghost { display: none; }
.menu-btn { position: relative; width: 52px; height: 52px; flex: none; border: 0; border-radius: 50%; background: var(--surface); }
.menu-btn i { position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px; background: var(--paper); transform: translate(-50%, -4px); transition: transform 0.25s var(--ease); }
.menu-btn i + i { transform: translate(-50%, 3px); }
.menu-btn[aria-expanded="true"] i { transform: translate(-50%, -50%) rotate(45deg); }
.menu-btn[aria-expanded="true"] i + i { transform: translate(-50%, -50%) rotate(-45deg); }
@media (min-width: 48rem) { .hdr__ghost { display: inline-flex; } }
@media (min-width: 64rem) {
  .hdr__in { min-height: 64px; padding-block: 0; gap: 24px; }
  .hdr__nav { display: flex; gap: 2px; margin-right: auto; }
  .hdr__nav a { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; line-height: 19.5px; transition: background-color 0.25s var(--ease); }
  .hdr__nav a:hover { background: var(--surface); }
  .hdr__cta { margin-left: 0; }
  .menu-btn { display: none; }
}
.menu { position: fixed; inset: 0; z-index: 45; display: grid; align-content: center; padding: 96px var(--gutter) 48px; background: var(--bg); opacity: 0; visibility: hidden; transition: opacity 0.25s var(--ease), visibility 0s linear 0.25s; }
.menu.is-open { opacity: 1; visibility: visible; transition: opacity 0.25s var(--ease); }
.menu a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 30px; line-height: 36px; font-weight: 500; letter-spacing: -0.01em; }
@media (min-width: 64rem) { .menu { display: none; } }

/* ---------- hero ---------- */
.hero { padding: 100px 0 64px; text-align: center; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; background: var(--card); font-size: 13px; font-weight: 500; line-height: 19.5px; transition: background-color 0.25s var(--ease); }
.chip b { padding: 4px 10px; border-radius: 999px; background: #2a2a2a; font-weight: 500; }
.chip svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .chip:hover { background: var(--surface); } }
.hero__title { max-width: 768px; margin: 30px auto 0; font-size: 36px; line-height: 39.6px; font-weight: 450; letter-spacing: -0.01em; text-wrap: balance; }
.w { display: inline-block; }
.rot { display: inline-block; position: relative; }
/* the word's letters sit in a clipped box that stops 0.08em under the line, and the bar starts lower than
   that, so a letter can never touch the bar on its way in or out. Every word leaves upward. */
.rot__w { display: inline-block; clip-path: inset(-0.6em -0.25em -0.08em -0.25em); }
.rot__l { display: inline-block; }
.rot__bar { position: absolute; left: 0; right: 0; bottom: -0.2em; height: 3px; border-radius: 999px; background-image: linear-gradient(90deg, rgb(245 244 240 / 0.25) 0%, rgb(245 244 240 / 0.25) 35%, #F5F4F0 40%, #F5F4F0 45%, #F5F4F0 50%, #F5F4F0 55%, #F5F4F0 60%, rgb(245 244 240 / 0.25) 65%, rgb(245 244 240 / 0.25) 100%); background-size: 400% 100%; animation: hero-shimmer 3s linear 0.4s 1 both; }
.hero__sub { max-width: 768px; margin: 20px auto 0; font-size: 18px; line-height: 29.25px; color: var(--fg-70); text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.hero__actions--left { justify-content: flex-start; margin-top: 32px; }
@media (min-width: 48rem) {
  .hero { padding-top: 148px; padding-bottom: 96px; }
  .hero__title { margin-top: 38px; font-size: 48px; line-height: 48px; }
}
@media (min-width: 64rem) { .hero__title { font-size: 60px; line-height: 60px; } }

/* hero headline: each word drops into place in turn. Hidden only while JS is about to run. */
.js .hero__title .w, .js .hero__title .rot { opacity: 0; transform: translateY(-0.3em); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); transition-delay: calc(var(--i) * 70ms + 0.12s); animation: rescue 0s 2.5s forwards; }
.js .hero.is-in .hero__title .w, .js .hero.is-in .hero__title .rot { opacity: 1; transform: none; }
@keyframes rescue { to { opacity: 1; transform: none; } }

.pcard svg { flex: none; width: 14px; height: 14px; fill: none; stroke: #4ade80; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@keyframes hero-shimmer { 0% { background-position: 150% center; } 100% { background-position: -150% center; } }

/* ---------- developer-style sections ---------- */
.dev { padding-block: 64px; }
.dev__grid { display: grid; gap: 24px; align-items: start; }
.eyebrow { font-size: 14px; font-weight: 500; line-height: 20px; color: var(--fg-60); }
.dev h2 { margin-top: 0; font-size: 36px; line-height: 40px; font-weight: 500; letter-spacing: -0.01em; }
.dev__p { max-width: 448px; margin-top: 0; font-size: 16px; line-height: 26px; color: var(--fg-70); }
@media (min-width: 48rem) { .dev h2 { font-size: 48px; line-height: 48px; } }
@media (min-width: 64rem) {
  .dev { padding-block: 120px 96px; }
  .dev__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 96px; row-gap: 16px; }
}

/* ---------- standards and steps ---------- */
.std { padding-top: 64px; }
.ledger { overflow: hidden; border-radius: 16px; background: var(--card); }
.ledger__head { display: flex; justify-content: space-between; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 500; color: var(--fg-60); }
.ledger li { display: grid; gap: 2px; padding: 14px 20px; border-top: 1px solid var(--line); font-size: 14px; line-height: 20px; }
.ledger li:first-child { border-top: 0; }
.ledger b { font-weight: 500; }
.ledger li span { color: var(--fg-60); }
.how { padding-block: 64px 0; }
.steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 32px; }
.steps li { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 16px; background: var(--card); }
.steps span { font-size: 14px; color: var(--fg-50); }
.steps b { font-size: 16px; line-height: 22px; font-weight: 500; letter-spacing: -0.01em; }
.steps p { font-size: 14px; line-height: 20px; color: var(--fg-60); }
@media (min-width: 48rem) { .steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .steps--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .std { padding-top: 96px; } .how { padding-top: 96px; } .steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ---------- concept sites (x.ai's news row) ---------- */
.news { padding-block: 64px 0; }
.h30 { font-size: 24px; line-height: 32px; font-weight: 500; letter-spacing: -0.01em; }
@media (min-width: 48rem) { .h30 { font-size: 30px; line-height: 36px; letter-spacing: -0.3px; } }
.news__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.more { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 500; line-height: 20px; }
.more svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s var(--ease); }
@media (hover: hover) { .more:hover svg { transform: translateX(3px); } }
.news__note { margin-top: 8px; font-size: 14px; color: var(--fg-60); }
.news__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 32px; }
@media (min-width: 40rem) { .news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .news__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .news__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ncard { display: block; position: relative; }
.ncard h3 a::after { content: ""; position: absolute; inset: 0; }   /* the whole card follows the title link */
/* live preview: the real concept page at 1440 x 900, scaled by main.js (--s), over a still poster */
.live { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: var(--r); background: var(--card); }
.live img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.live iframe { position: absolute; left: 0; top: 0; width: 1440px; height: 900px; border: 0; pointer-events: none; opacity: 0; transform: scale(var(--s, 0.25)); transform-origin: 0 0; transition: opacity 0.6s var(--ease); }
.live.is-live iframe { opacity: 1; }
.live video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.6s var(--ease); }   /* phones: a recording of the preview */
.live.is-live video { opacity: 1; }
.ncard .live { transition: transform 0.5s var(--ease); }
@media (hover: hover) { .ncard:hover .live { transform: scale(1.015); } }
.ncard__meta { margin-top: 12px; font-size: 13px; line-height: 19.5px; color: var(--fg-60); }
.ncard h3 { margin-top: 4px; font-size: 16px; line-height: 22px; font-weight: 500; letter-spacing: -0.01em; }

/* ---------- get started ---------- */
.start { padding-block: 64px; }
.start__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 32px; }
@media (min-width: 64rem) { .start__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pcard { display: flex; flex-direction: column; align-items: flex-start; padding: 32px; border-radius: 16px; background: var(--card); }
@media (min-width: 48rem) { .pcard { padding: 40px; } }
.pcard h3 { font-size: 24px; line-height: 32px; font-weight: 500; letter-spacing: -0.24px; }
.pcard p { margin-top: 12px; font-size: 16px; line-height: 24px; color: var(--fg-70); }
.pcard ul { display: grid; gap: 12px; margin: 24px 0 32px; }
.pcard li { display: flex; gap: 10px; font-size: 14px; line-height: 20px; }
.pcard li svg { margin-top: 3px; }
.pcard .btn { margin-top: auto; }
.pcard .pcard__price { margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--fg-60); }
.pcard__price b { font-size: 30px; line-height: 36px; font-weight: 500; letter-spacing: -0.3px; color: var(--paper); }
.start__note { max-width: 640px; margin-top: 24px; font-size: 13px; line-height: 20px; color: var(--fg-60); }

/* ---------- footer ---------- */
.ftr { margin-top: 32px; padding-block: 64px 32px; border-top: 1px solid var(--line); }
.ftr__top { display: grid; gap: 48px; }
@media (min-width: 64rem) { .ftr__top { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 96px; align-items: start; } }
.ftr__contact { display: grid; gap: 16px; align-content: start; max-width: 768px; }
.ftr__lead { max-width: 30rem; font-size: 16px; line-height: 26px; color: var(--fg-70); }
.ftr__mail { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.mail { font-size: clamp(24px, 6vw, 48px); line-height: 1.1; font-weight: 500; letter-spacing: -0.01em; overflow-wrap: anywhere; border-bottom: 1px solid var(--line); transition: border-color 0.25s var(--ease); }
@media (hover: hover) { .mail:hover { border-color: var(--paper); } }
.ftr__where { max-width: 560px; font-size: 14px; line-height: 22px; color: var(--fg-60); }
.ftr__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 64px; }
@media (min-width: 48rem) { .ftr__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ftr__cols h3 { margin-bottom: 12px; font-size: 13px; line-height: 19.5px; font-weight: 500; color: var(--fg-60); }
.ftr__cols a { display: block; padding-block: 2px; font-size: 13px; line-height: 21px; transition: color 0.25s var(--ease); overflow-wrap: anywhere; }
@media (hover: hover) { .ftr__cols a:hover { color: var(--fg-60); } }
.ftr__fine { margin-top: 56px; font-size: 12px; color: var(--fg-50); }

.status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; line-height: 20px; color: var(--fg-70); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; }
.status--soon::before { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }

.hero--page { padding-bottom: 48px; }
.svcnav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 32px; }
.svcnav a { padding: 8px 14px; border-radius: 999px; background: var(--surface); font-size: 13px; font-weight: 500; line-height: 19.5px; transition: background-color 0.25s var(--ease); }
@media (hover: hover) { .svcnav a:hover { background: #2e2e2e; } }
.svc { padding-block: 64px; border-top: 1px solid var(--line); }
.svc__grid { display: grid; gap: 32px; }
.svc h2 { margin-top: 12px; max-width: 22em; }
.svc__p { max-width: 34rem; margin-top: 16px; font-size: 16px; line-height: 26px; color: var(--fg-70); }
.svc__p b { font-weight: 500; color: var(--paper); }
.svc__note { max-width: 34rem; margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: var(--card); font-size: 14px; line-height: 22px; color: var(--fg-70); }
.svc__status { margin: 24px 0 16px; }
.svc__list { align-self: start; padding: 24px; border-radius: 16px; background: var(--card); }
.svc__list h3, .svc__list h4 { margin-bottom: 8px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--fg-60); }
.svc__list li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 22px; }
.svc__list li:first-child { border-top: 0; }
.svc--end .btn { margin-top: 24px; }
@media (min-width: 64rem) {
  .svc { padding-block: 96px; }
  .svc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 96px; }
  .svc__list { padding: 32px; }
}

/* services page: three groups, each a heading band over its services */
.svc-group { padding-block: 64px 0; border-top: 1px solid var(--line); }
.svc-group h2 { margin-top: 12px; font-size: 36px; line-height: 40px; font-weight: 500; letter-spacing: -0.01em; }
.svc-group + .svc { border-top: 0; padding-top: 40px; }
@media (min-width: 48rem) { .svc-group h2 { font-size: 48px; line-height: 48px; } }
@media (min-width: 64rem) { .svc-group { padding-top: 96px; } }

/* header: the page you are on */
.hdr__nav a[aria-current="page"] { background: var(--surface); }
.menu a[aria-current="page"] { color: var(--fg-60); }

/* ---------- inquiry form (footer) ---------- */
.form { display: grid; gap: 16px; padding: 24px; border-radius: 16px; background: var(--card); }
@media (min-width: 48rem) { .form { padding: 32px; } }
.form__row { display: grid; gap: 16px; }
@media (min-width: 40rem) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 6px; font-size: 13px; font-weight: 500; line-height: 19.5px; color: var(--fg-70); }
.field i { font-style: normal; font-weight: 400; color: var(--fg-60); }
/* 16px text stops iOS zooming in; the 36% white border keeps 3:1 against the card (WCAG 1.4.11) */
.field input, .field select, .field textarea { width: 100%; min-height: 44px; margin: 0; padding: 10px 14px; border: 1px solid rgb(245 244 240 / 0.36); border-radius: 12px; background: var(--bg); color: var(--paper); font: 400 16px/22px var(--f-sans); transition: border-color 0.25s var(--ease); }
.field textarea { min-height: 128px; resize: vertical; }
.field select { appearance: none; padding-right: 40px; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 14px; }
.field option { background: var(--card); color: var(--paper); }
.field ::placeholder { color: var(--fg-50); }
@media (hover: hover) { .field input:hover, .field select:hover, .field textarea:hover { border-color: rgb(245 244 240 / 0.6); } }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--paper); outline-offset: 2px; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__end { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form__end .btn:disabled { opacity: 0.6; cursor: progress; }
.form__fine { font-size: 13px; line-height: 20px; color: var(--fg-60); }
.form__fine a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.form__status { font-size: 14px; line-height: 22px; color: var(--fg-70); }
.form__status.is-err { color: #ff9b8f; }
.form__status a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* ---------- concept work page ---------- */
.work { padding-block: 64px; border-top: 1px solid var(--line); }
.work__grid { display: grid; gap: 32px; align-items: center; }
.work__frame { display: block; position: relative; border-radius: 16px; }
/* A cover over the live preview, as the home cards have (.ncard h3 a::after). Without it, on iPhones a
   finger on the preview scrolls the concept page inside it (or an open sheet in it), not this page. */
.work__frame::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.work__frame .live { border-radius: 16px; }
.work__end { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.work__h { margin-top: 24px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--fg-60); }
.work__h + .svc__p { margin-top: 6px; }
@media (min-width: 64rem) {
  .work { padding-block: 96px; }
  .work__grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); column-gap: 64px; }
}

/* ---------- privacy page ---------- */
.prose { max-width: 44rem; }
.prose h2 { margin-top: 40px; font-size: 20px; line-height: 28px; font-weight: 500; letter-spacing: -0.01em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { margin-top: 12px; font-size: 16px; line-height: 26px; color: var(--fg-70); }
.prose ul { display: grid; gap: 4px; }
.prose li { padding-left: 18px; position: relative; }
.prose li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--fg-50); }
.prose b { font-weight: 500; color: var(--paper); }
.prose a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.prose ol { counter-reset: n; display: grid; gap: 4px; }
.prose ol > li::before { counter-increment: n; content: counter(n) "."; width: auto; height: auto; top: 0; border-radius: 0; background: none; color: var(--fg-50); }

/* a service named in running text links to where that service is explained */
.tlink { color: var(--paper); text-decoration: underline; text-decoration-color: rgb(245 244 240 / 0.35); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: text-decoration-color 0.2s var(--ease); }
@media (hover: hover) { .tlink:hover { text-decoration-color: var(--paper); } }
.pcard h3 .tlink { text-decoration-color: rgb(245 244 240 / 0.25); }

/* ---------- FAQ: native <details>, so it works without JavaScript ---------- */
.faq { max-width: 48rem; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; cursor: pointer; list-style: none;
  font-size: 18px; line-height: 26px; font-weight: 500; letter-spacing: -0.01em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; flex: none; width: 12px; height: 12px; margin-right: 4px;
  background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
  transition: transform 0.3s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:focus-visible { outline-offset: 4px; }
.faq__a { padding: 0 40px 24px 0; }
.faq__a p { font-size: 16px; line-height: 26px; color: var(--fg-70); }
.faq__a b { font-weight: 500; color: var(--paper); }
.faq__a b .tlink { color: inherit; }
@media (hover: hover) { .faq__item summary:hover { color: var(--fg-70); } }

/* ---------- inquiry form: confirmation after sending ---------- */
.form__done { display: none; gap: 12px; justify-items: start; align-content: center; min-height: 240px; }
.form__done svg { width: 28px; height: 28px; fill: none; stroke: #4ade80; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.form__done h3 { font-size: 24px; line-height: 30px; font-weight: 500; letter-spacing: -0.01em; }
.form__done p { max-width: 26rem; font-size: 16px; line-height: 26px; color: var(--fg-70); }
.form__done:focus { outline: none; }
.form.is-sent > :not(.form__done) { display: none; }
.form.is-sent .form__done { display: grid; animation: drop 0.5s var(--ease) both; }

/* Reduce Motion: no sequences, no word cascade, no shimmer, no transitions. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; transition-delay: 0s !important; }
  .js .hero__title .w, .js .hero__title .rot { opacity: 1; transform: none; }
}

/* ---------- brand layer (Impeccable polish, 2026-11-17) ----------
   Ties the page to the Ontivum identity: Fraunces 300 for headlines, Geist for everything else,
   ink and paper as the only two colours, and one paper tile for rhythm (the price cards). */
.hero__title, .dev h2, .svc-group h2, .h30, .pcard h3, .form__done h3 { font-family: var(--f-serif); font-weight: 300; letter-spacing: -0.02em; text-wrap: balance; }
.hero__title { line-height: 1.08; }
@media (min-width: 48rem) { .hero__title { line-height: 1.04; } }
.dev h2, .svc-group h2 { line-height: 1.08; }
.h30 { line-height: 1.15; }
.pcard__price b { font-family: var(--f-serif); font-weight: 300; letter-spacing: -0.02em; }
.mail { font-family: var(--f-serif); font-weight: 300; letter-spacing: -0.02em; font-size: clamp(22px, 3.1vw, 40px); }   /* Fraunces runs wider than Geist: smaller clamp so the address stays on one line */
::selection { background: var(--paper); color: var(--ink); }

/* paper tile: pricing sits on brand paper, so the dark page has a light beat before the footer */
.start--paper { padding-block: 80px 96px; background: var(--paper); color: var(--ink); }
.start--paper ::selection { background: var(--ink); color: var(--paper); }
.start--paper :focus-visible { outline-color: var(--ink); }
.start--paper .small, .start--paper .start__note, .start--paper .pcard p, .start--paper .pcard__price { color: rgb(16 16 16 / 0.7); }
.start--paper .pcard { background: #E9E8E2; }
.start--paper .pcard__price b, .start--paper .tlink { color: var(--ink); }
.start--paper .tlink { text-decoration-color: rgb(16 16 16 / 0.35); }
.start--paper .pcard svg { stroke: var(--ink); }
.start--paper .btn--light { background: var(--ink); color: var(--paper); }
.start--paper .btn--dark { background: #D8D7D0; color: var(--ink); }
@media (hover: hover) {
  .start--paper .btn--light:hover { background: #2a2a28; }
  .start--paper .btn--dark:hover { background: #CDCCC4; }
  .start--paper .tlink:hover { text-decoration-color: var(--ink); }
}
body:has(.start--paper) .ftr { margin-top: 0; border-top: 0; }

/* ---------- simpler home and small touches (round 17) ---------- */
.svcs { padding-bottom: 64px; }
.svcs__list { display: grid; grid-template-columns: minmax(0, 1fr); }
.svcs__list a { display: grid; grid-template-rows: auto 1fr auto; gap: 8px; height: 100%; padding: 28px 0; border-top: 1px solid var(--line); }
.svcs__t { font-family: var(--f-serif); font-weight: 300; font-size: 26px; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.svcs__list p { max-width: 28rem; font-size: 15px; line-height: 24px; color: var(--fg-70); text-wrap: pretty; }
.svcs__meta { margin-top: 8px; font-size: 13px; line-height: 20px; font-weight: 500; color: var(--fg-60); }
.svcs__meta i { display: inline-block; font-style: normal; transition: transform 0.25s var(--ease); }
@media (hover: hover) {
  .svcs__list a:hover .svcs__meta i { transform: translateX(4px); }
  .svcs__list a:hover .svcs__t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: rgb(245 244 240 / 0.4); }
}
@media (min-width: 48rem) { .svcs__list { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 48px; } .svcs__list a { padding: 32px 0 0; } .svcs__t { min-height: 2.3em; } }
@media (min-width: 64rem) { .svcs { padding-bottom: 32px; } }

/* steps read as a ruled list, not boxes */
.steps { gap: 28px; }
.steps li { padding: 20px 0 0; border-top: 1px solid var(--line); border-radius: 0; background: none; }
@media (min-width: 48rem) { .steps { column-gap: 40px; } }

/* paper tile rises like a sheet; footer signs off with the wordmark; buttons press; pages cross-fade */
.start--paper { margin-top: 32px; border-radius: 28px 28px 0 0; }
.ftr__mark { width: min(100%, 520px); height: auto; margin-top: 64px; }
.ftr__mark + .ftr__fine { margin-top: 32px; }
.btn { transition: background-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.2s var(--ease); }
.btn:active { transform: scale(0.97); }
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .hdr { view-transition-name: site-header; }
}
