/* ==========================================================
   AXYRON — site styles
   Monochrome system: white canvas, black ink, grey support.
   ========================================================== */

:root {
  --white: #ffffff;
  --paper: #fafafa;
  --soft: #f3f3f3;
  --line: #e7e7e7;
  --line-strong: #d4d4d4;
  --muted: #6e6e6e;
  --ink-2: #2a2a2a;
  --ink: #0a0a0a;

  --dark-line: #222222;
  --dark-muted: #9a9a9a;

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(80px, 11vw, 140px);

  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--white); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.section--dark :focus-visible, .footer :focus-visible { outline-color: var(--white); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--white);
  padding: 10px 16px; border-radius: 8px; font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
h1 { font-size: clamp(44px, 7.4vw, 96px); letter-spacing: -0.05em; line-height: .98; }
h2 { font-size: clamp(34px, 4.8vw, 60px); letter-spacing: -0.045em; }
h3 { font-size: 20px; letter-spacing: -0.02em; line-height: 1.25; }
p { margin: 0; }

.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.section--dark .eyebrow { color: var(--dark-muted); }

.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); line-height: 1.55; max-width: 620px; }
.section--dark .lead { color: var(--dark-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.98); }

.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #262626; box-shadow: 0 10px 30px -10px rgba(0,0,0,.45); }
.btn--light { background: var(--white); color: var(--ink); border-color: var(--line-strong); }
.btn--light:hover { border-color: var(--ink); }
.btn--white { background: var(--white); color: var(--ink); }
.btn--white:hover { background: #e9e9e9; }
.btn--ghost-dark { background: transparent; color: var(--white); border-color: #3a3a3a; }
.btn--ghost-dark:hover { border-color: var(--white); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: .18em; }
.logo__mark { width: 30px; height: 30px; flex: none; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative; padding: 8px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--muted);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav a:hover { color: var(--ink); background: var(--soft); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px;
  margin-left: -2px; border-radius: 50%; background: var(--ink);
}
.header__cta { display: flex; align-items: center; gap: 12px; }

.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--white); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative;
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; inset: 76px 0 0 0; z-index: 99;
  background: var(--white); padding: 24px var(--gutter) 40px;
  flex-direction: column; gap: 4px; overflow-y: auto;
}
.mobile-menu a.mobile-link {
  font-size: 32px; font-weight: 600; letter-spacing: -0.04em; padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 24px; }
.menu-open .mobile-menu { display: flex; }
.menu-open { overflow: hidden; }

@media (max-width: 900px) {
  .nav, .header__cta .btn { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * .6) 0; }
.section--paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark { background: var(--ink); color: var(--white); }

.section-head { display: grid; gap: 20px; margin-bottom: clamp(48px, 6vw, 72px); }
.section-head--split { grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; }
.section-head--center { text-align: center; justify-items: center; }
.section-head--center .lead { margin: 0 auto; }
@media (max-width: 900px) { .section-head--split { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(56px, 8vw, 110px) 0 clamp(72px, 9vw, 120px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(to right, rgba(0,0,0,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero__copy { display: grid; gap: 28px; }
.hero h1 .serif { font-size: 1.04em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--muted); }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 16px; height: 16px; }

.status-pill {
  display: inline-flex; align-items: center; gap: 10px; width: fit-content;
  padding: 6px 14px 6px 8px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--white); font-size: 13px; font-weight: 500; color: var(--ink-2);
}
.status-pill__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.status-pill__dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--ink);
  animation: ping 2s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }

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

/* Hero console */
.console {
  position: relative; background: var(--ink); color: var(--white);
  border-radius: var(--radius-lg); padding: 22px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.9);
}
.console__bar { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--dark-line); margin-bottom: 14px; }
.console__dots { display: flex; gap: 6px; }
.console__dots i { width: 9px; height: 9px; border-radius: 50%; background: #333; }
.console__title { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--dark-muted); }
.console__live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--white); }
.console__live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: .25; } }

.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.flow__step {
  display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center;
  padding: 14px; border-radius: 12px; border: 1px solid transparent;
  transition: background-color .5s var(--ease), border-color .5s var(--ease);
}
.flow__icon {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: #161616; border: 1px solid var(--dark-line);
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
.flow__icon svg { width: 18px; height: 18px; }
.flow__text strong { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.flow__text span { display: block; font-size: 13px; color: var(--dark-muted); }
.flow__state { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #555; transition: color .5s var(--ease); }
.flow__step.is-done .flow__state { color: var(--dark-muted); }
.flow__step.is-active { background: #151515; border-color: #2c2c2c; }
.flow__step.is-active .flow__icon { background: var(--white); color: var(--ink); }
.flow__step.is-active .flow__state { color: var(--white); }

.console__foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--dark-line); }
.console__stat strong { display: block; font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.console__stat span { font-size: 12px; color: var(--dark-muted); }
.console__note { margin-top: 14px; font-size: 12px; color: var(--muted); text-align: center; }

/* ---------- Marquee ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; overflow: hidden; }
.marquee__label { text-align: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; gap: 56px; padding-right: 56px; }
.marquee__item { font-size: 20px; font-weight: 600; letter-spacing: -0.03em; color: #9b9b9b; white-space: nowrap; transition: color .2s; }
.marquee__item:hover { color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } .marquee__group[aria-hidden] { display: none; } }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service {
  position: relative; padding: 36px 32px 40px; display: grid; gap: 16px; align-content: start;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--white); transition: background-color .35s var(--ease), color .35s var(--ease);
}
.service__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.service__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); transition: border-color .35s var(--ease), background-color .35s var(--ease);
}
.service__icon svg { width: 22px; height: 22px; }
.service__num { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; transition: color .35s; }
.service p { color: var(--muted); transition: color .35s; }
.service__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.service__tags span { font-size: 12px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); transition: border-color .35s, color .35s; }
.service:hover { background: var(--ink); color: var(--white); }
.service:hover p, .service:hover .service__num { color: var(--dark-muted); }
.service:hover .service__icon { border-color: #3a3a3a; background: #151515; }
.service:hover .service__tags span { border-color: #333; color: var(--dark-muted); }
@media (max-width: 980px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services { grid-template-columns: 1fr; } .service { padding: 28px 24px 32px; } }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; }
.process__step { position: relative; padding: 32px 24px 8px 0; border-top: 1px solid #333; }
.process__step::before {
  content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%;
  background: var(--white); box-shadow: 0 0 0 4px var(--ink);
}
.process__num { font-family: var(--font-serif); font-style: italic; font-size: 44px; line-height: 1; color: var(--white); margin-bottom: 18px; display: block; }
.process__step h3 { color: var(--white); margin-bottom: 10px; }
.process__step p { color: var(--dark-muted); font-size: 15px; }
@media (max-width: 980px) {
  .process { grid-template-columns: 1fr; gap: 0; }
  .process__step { padding: 28px 0 28px 40px; border-top: 0; border-left: 1px solid #333; }
  .process__step::before { top: 34px; left: -5px; }
  .process__num { font-size: 36px; }
}

/* ---------- Concepts ---------- */
.concepts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.concept {
  display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--white); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.concept:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.25); border-color: var(--line-strong); }
.concept__visual { aspect-ratio: 16 / 10; background: var(--paper); border-bottom: 1px solid var(--line); display: grid; place-items: center; padding: 24px; }
.concept__visual svg { width: 100%; height: 100%; }
.concept__body { padding: 26px 26px 30px; display: grid; gap: 10px; align-content: start; }
.concept__tag { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.concept__body p { color: var(--muted); font-size: 15px; }
.disclaimer { margin-top: 28px; font-size: 13px; color: var(--muted); text-align: center; }
@media (max-width: 980px) { .concepts { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 22px;
  padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.plan:hover { border-color: var(--ink); }
.plan__name { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plan__name h3 { font-size: 18px; }
.plan__badge { white-space: nowrap; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--soft); color: var(--ink-2); }
.plan__desc { font-size: 14px; color: var(--muted); min-height: 66px; }
.plan__price { display: flex; align-items: baseline; gap: 6px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.plan__price strong { font-size: 46px; font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.plan__price span { font-size: 14px; color: var(--muted); }
.plan__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; flex: 1; }
.plan__list li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.plan__list svg { width: 18px; height: 18px; margin-top: 1px; }

.plan--featured { background: var(--ink); color: var(--white); border-color: var(--ink); transform: translateY(-8px); box-shadow: 0 40px 70px -35px rgba(0,0,0,.5); }
.plan--featured:hover { border-color: var(--ink); }
.plan--featured .plan__badge { background: var(--white); color: var(--ink); }
.plan--featured .plan__desc, .plan--featured .plan__price span { color: var(--dark-muted); }
.plan--featured .plan__price { border-color: var(--dark-line); }
.plan--featured .plan__list li { color: #e6e6e6; }

.pricing-note {
  margin-top: 36px; padding: 22px 26px; border: 1px dashed var(--line-strong); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.pricing-note p { color: var(--muted); font-size: 15px; max-width: 760px; }
.pricing-note strong { color: var(--ink); }
@media (max-width: 1100px) { .pricing { grid-template-columns: repeat(2, 1fr); } .plan--featured { transform: none; } }
@media (max-width: 640px) { .pricing { grid-template-columns: 1fr; } .plan__desc { min-height: 0; } }

/* ---------- Values ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.value { background: var(--white); padding: 36px 32px; display: grid; gap: 12px; align-content: start; }
.value__num { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; margin-bottom: 14px; }
.value p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .values { grid-template-columns: 1fr; } }

/* ---------- Audience ---------- */
.audience { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.audience span {
  padding: 14px 24px; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 17px; font-weight: 500; letter-spacing: -0.01em; background: var(--white);
  transition: background-color .25s, color .25s, border-color .25s;
}
.audience span:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-layout .section-head { position: sticky; top: 120px; margin: 0; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 26px 0; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-size: 19px; font-weight: 600; letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 32px; height: 32px; flex: none; border-radius: 50%; border: 1px solid var(--line-strong); transition: background-color .3s, border-color .3s, transform .3s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--ink); transition: transform .3s var(--ease), background-color .3s; }
.faq__icon::after { transform: rotate(90deg); }
.faq details[open] .faq__icon { background: var(--ink); border-color: var(--ink); transform: rotate(180deg); }
.faq details[open] .faq__icon::before, .faq details[open] .faq__icon::after { background: var(--white); }
.faq details[open] .faq__icon::after { transform: rotate(0deg); }
.faq__answer { padding: 0 56px 28px 0; color: var(--muted); font-size: 16px; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } .faq-layout .section-head { position: static; } .faq__answer { padding-right: 0; } }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; border-radius: 32px; background: var(--ink); color: var(--white); padding: clamp(56px, 8vw, 100px) clamp(28px, 6vw, 80px); text-align: center; }
.cta::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 20%, transparent 75%);
}
.cta > * { position: relative; }
.cta h2 { max-width: 820px; margin: 0 auto 20px; }
.cta .lead { margin: 0 auto 36px; color: var(--dark-muted); }
.cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* ---------- Page hero ---------- */
.page-hero { padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(to right, rgba(0,0,0,.04) 1px, transparent 1px), linear-gradient(to bottom, rgba(0,0,0,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 90%);
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
}
.page-hero__inner { display: grid; gap: 24px; max-width: 900px; }
.page-hero h1 { font-size: clamp(44px, 6.6vw, 84px); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.breadcrumbs { display: flex; gap: 8px; font-size: 13px; color: var(--muted); }
.breadcrumbs a:hover { color: var(--ink); }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.split__body { display: grid; gap: 20px; font-size: 18px; color: var(--ink-2); line-height: 1.65; }
.principles { display: grid; gap: 0; border-top: 1px solid var(--line); }
.principle { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.principle__num { font-family: var(--font-serif); font-style: italic; font-size: 34px; line-height: 1; }
.principle h3 { margin-bottom: 8px; }
.principle p { color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--dark-line); }
.stat { padding: 36px 24px 0 0; }
.stat strong { display: block; font-size: clamp(40px, 5vw, 64px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; margin-bottom: 10px; }
.stat span { color: var(--dark-muted); font-size: 15px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .stats { grid-template-columns: 1fr 1fr; row-gap: 12px; } }

.info-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; display: grid; gap: 18px; background: var(--white); }
.info-card h3 { font-size: 18px; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.info-list li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; color: var(--ink-2); font-size: 15px; }
.info-list svg { width: 18px; height: 18px; margin-top: 2px; color: var(--muted); }
.info-list a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.info-list a:hover { text-decoration-color: var(--ink); }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-aside { display: grid; gap: 20px; position: sticky; top: 110px; }
@media (max-width: 960px) { .contact-layout { grid-template-columns: 1fr; } .contact-aside { position: static; } }

.form-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); background: var(--white); box-shadow: 0 30px 60px -45px rgba(0,0,0,.3); }
.form-card__head { display: grid; gap: 10px; margin-bottom: 30px; }
.form-card__head h2 { font-size: clamp(28px, 3vw, 36px); }
.form-card__head p { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; transition: border-color .2s, background-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%230a0a0a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; cursor: pointer;
}
.field input::placeholder, .field textarea::placeholder { color: #a3a3a3; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-strong); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--white); box-shadow: 0 0 0 4px rgba(0,0,0,.06); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b00020; }
.field__error { font-size: 13px; color: #b00020; display: none; }
.field.has-error .field__error { display: block; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: 14px; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); }
.consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.form-foot small { color: var(--muted); font-size: 13px; }
.btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading::after { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { display: none; margin-top: 20px; padding: 16px 18px; border-radius: 12px; font-size: 15px; }
.form-status.is-visible { display: block; }
.form-status--ok { background: var(--ink); color: var(--white); }
.form-status--err { background: #fff1f2; color: #8a0018; border: 1px solid #ffd5da; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.steps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.steps-list li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.steps-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.steps-list b { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; font-size: 13px; }
.steps-list strong { display: block; font-size: 15px; }
.steps-list span { font-size: 14px; color: var(--muted); }

/* ---------- Legal ---------- */
.legal { display: grid; grid-template-columns: 240px 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.legal__toc { position: sticky; top: 110px; display: grid; gap: 4px; }
.legal__toc p { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.legal__toc a { font-size: 14px; color: var(--muted); padding: 6px 0; }
.legal__toc a:hover, .legal__toc a[aria-current="page"] { color: var(--ink); }
.legal__toc a[aria-current="page"] { font-weight: 600; }
.prose { max-width: 740px; font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.prose h2 { font-size: 26px; letter-spacing: -0.03em; margin: 48px 0 14px; line-height: 1.2; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin: 0 0 16px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose .updated { font-size: 14px; color: var(--muted); margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
@media (max-width: 900px) { .legal { grid-template-columns: 1fr; } .legal__toc { position: static; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }

/* ---------- 404 / thanks ---------- */
.center-page { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 100px 0; }
.center-page__inner { display: grid; gap: 20px; justify-items: center; max-width: 620px; }
.big-mark { font-size: clamp(110px, 20vw, 220px); font-weight: 600; letter-spacing: -0.07em; line-height: .85; }
.check-mark { width: 76px; height: 76px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; }
.check-mark svg { width: 34px; height: 34px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--white); padding: clamp(64px, 8vw, 100px) 0 36px; margin-top: var(--section); }
.footer--flush { margin-top: 0; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--dark-line); }
.footer .logo { color: var(--white); }
.footer__about { display: grid; gap: 20px; align-content: start; }
.footer__about p { color: var(--dark-muted); font-size: 15px; max-width: 320px; }
.footer h4 { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--dark-muted); margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { color: #d9d9d9; font-size: 15px; transition: color .2s; }
.footer ul a:hover { color: var(--white); }
.footer address { font-style: normal; color: #d9d9d9; font-size: 15px; line-height: 1.7; }
.footer address a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer__wordmark { font-size: clamp(64px, 17vw, 240px); font-weight: 700; letter-spacing: -0.06em; line-height: .8; color: #161616; text-align: center; padding: 48px 0 28px; user-select: none; overflow: hidden; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--dark-muted); }
.footer__bottom a:hover { color: var(--white); }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }
.js .reveal[data-delay="4"] { transition-delay: .32s; }
.js .reveal[data-delay="5"] { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
