/* Self-hosted fonts (Archivo, DM Mono — SIL Open Font License). No calls to Google. */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 900; font-stretch: 100% 125%; font-display: swap; src: url(fonts/archivo-latin.woff2) format('woff2'); }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/dmmono-400-latin.woff2) format('woff2'); }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/dmmono-500-latin.woff2) format('woff2'); }

/* Radagon — editorial wide type, navy ink on cool paper, one blue accent.
   Single light look by design (matches the original Claude Design brief). */
:root {
  --paper: #F6F7FA;
  --ink: #0B1630;
  --accent: #2F6BFF;
  --accent-soft: #7FA2FF;
  --muted: #4A5470;
  --rule: #D5DAE4;
  --line: #E6E9F0;
  --navy-line: #24345A;
  --navy-muted: #B5BED2;
  --white: #FFFFFF;
  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'DM Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(80px, 10vw, 140px);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--display);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 4px; }

/* Type roles */
.eyebrow, .label { font: 500 14px/1.4 var(--mono); color: var(--muted); }
.mega {
  font: 900 clamp(34px, 8.6vw, 124px)/0.88 var(--display);
  font-stretch: 125%; letter-spacing: -.04em; text-transform: uppercase; overflow-wrap: break-word;
}
.big { font: 900 clamp(36px, 10vw, 120px)/0.88 var(--display); font-stretch: 125%; letter-spacing: -.04em; text-transform: uppercase; overflow-wrap: break-word; }
.h3 { font: 800 clamp(26px, 3vw, 40px)/1.05 var(--display); font-stretch: 115%; letter-spacing: -.02em; }
.lede { font: 400 clamp(18px, 1.6vw, 21px)/1.5 var(--display); max-width: 580px; }
.statement { font: 600 clamp(28px, 3.4vw, 42px)/1.18 var(--display); letter-spacing: -.02em; }
.body-muted { color: var(--muted); }
.dot { color: var(--accent); }
.mega .dot { margin-left: .08em; }
.fine { font: 400 13px/1.4 var(--mono); color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 16px 28px; border-radius: 999px;
  font: 700 17px/1.1 var(--display); text-align: center; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .12s var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost-light { border-color: var(--paper); color: var(--paper); background: transparent; }
.btn-sm { min-height: 44px; padding: 12px 22px; font-size: 15px; font-weight: 600; }
.btn[disabled] { opacity: .6; cursor: progress; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover, .btn-ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
  .btn-dark:hover { background: var(--accent); color: var(--white); }
  .on-blue .btn-dark:hover { background: var(--white); color: var(--ink); }
  .btn-ghost-light:hover { background: var(--paper); color: var(--ink); }
  .link-arrow:hover, .nav a:hover { color: var(--accent); }
  .foot a:hover { color: var(--accent-soft); }
}
.cta-stack { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-head {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.logo { font: 800 24px var(--display); font-stretch: 125%; letter-spacing: -.01em; color: var(--ink); }
.nav { display: flex; gap: 32px; font: 500 15px var(--display); }
.nav a { color: var(--ink); transition: color .2s ease; }
.head-actions { display: flex; align-items: center; gap: 28px; }
.menu-btn {
  display: none; background: transparent; border: 1.5px solid var(--ink); color: var(--ink);
  padding: 10px 18px; border-radius: 999px; font: 600 14px var(--display); cursor: pointer; min-height: 44px;
}
.mobile-nav { display: none; }
@media (max-width: 899px) {
  .nav, .head-actions .btn { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .mobile-nav.open { display: flex; flex-direction: column; gap: 4px; padding: 8px 0 24px; border-top: 1px solid var(--line); }
  .mobile-nav a:not(.btn) { color: var(--ink); font: 600 20px var(--display); padding: 12px 0; }
  .mobile-nav .btn { margin-top: 12px; align-self: flex-start; }
}

/* Hero */
.hero .wrap { padding-top: clamp(56px, 9vw, 120px); display: flex; flex-direction: column; gap: clamp(28px, 4vw, 48px); }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }
.hero-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 32px;
  padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 2px solid var(--ink);
}
.frameworks { font: 500 15px/1.5 var(--mono); color: var(--muted); }

/* Who we help */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(24px, 4vw, 56px); padding-top: var(--section); padding-bottom: var(--section); }
.split > :last-child { grid-column: span 2; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
@media (max-width: 640px) { .split > :last-child { grid-column: auto; } }

/* Services list */
.section-rule { border-top: 2px solid var(--ink); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; padding-top: var(--section); padding-bottom: clamp(48px, 6vw, 72px); }
.sec-head p { max-width: 440px; font-size: 18px; color: var(--muted); }
.svc {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 40px);
  padding: clamp(28px, 3.5vw, 44px) 0; border-top: 1px solid var(--rule);
}
.svc:last-of-type { border-bottom: 1px solid var(--rule); }
.svc-title { display: flex; gap: 20px; align-items: baseline; }
.svc-title .code { font: 500 14px var(--mono); color: var(--accent); flex: none; }
.svc h3 { font: 700 clamp(22px, 2.4vw, 30px)/1.15 var(--display); font-stretch: 110%; letter-spacing: -.015em; }
.svc-body { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.svc-body p { color: var(--muted); }
.price-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-top: 6px; }
.price { font: 500 16px var(--mono); color: var(--ink); font-variant-numeric: tabular-nums; }
.price strong { font-weight: 500; font-size: 22px; }
.link-arrow { font: 600 16px var(--display); color: var(--ink); transition: color .2s ease; min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 760px) { .svc { grid-template-columns: 1fr; } }

.later {
  display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: baseline;
  padding-top: clamp(40px, 5vw, 56px); padding-bottom: clamp(40px, 5vw, 56px);
}
.later p { color: var(--muted); }
.later a { color: var(--ink); border-bottom: 1.5px solid var(--ink); }

/* AI agent band */
.band { background: var(--ink); color: var(--paper); }
.band .wrap { padding-top: var(--section); padding-bottom: var(--section); display: flex; flex-direction: column; gap: clamp(40px, 5vw, 64px); }
.band .label { color: var(--accent-soft); }
.band-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(28px, 4vw, 56px); align-items: end; }
.band-head .quote { font: 800 clamp(32px, 4.6vw, 64px)/1.02 var(--display); font-stretch: 115%; letter-spacing: -.03em; }
.band-head p { color: var(--navy-muted); font-size: 18px; max-width: 520px; }
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); border-top: 1px solid var(--navy-line); }
.checks li { padding: 28px 28px 28px 0; display: flex; flex-direction: column; gap: 10px; border-bottom: 1px solid var(--navy-line); }
.checks h3 { font: 700 20px/1.2 var(--display); font-stretch: 110%; }
.checks p { color: var(--navy-muted); font-size: 16px; }
.band-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.band-foot .price { color: var(--paper); }
.band-foot .fine { color: var(--navy-muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); border-top: 2px solid var(--ink); counter-reset: s; }
.steps li { padding: 32px 32px 32px 0; display: flex; flex-direction: column; gap: 12px; }
.steps .n { font: 500 14px var(--mono); color: var(--accent); }
.steps h3 { font: 800 clamp(22px, 2.2vw, 28px) var(--display); font-stretch: 115%; letter-spacing: -.01em; }
.steps p { color: var(--muted); font-size: 16px; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.about-grid .statement { max-width: 18ch; }
.about-text { display: flex; flex-direction: column; gap: 24px; }
.about-text p { font-size: 18px; color: var(--muted); max-width: 62ch; }
.creds { border-top: 1px solid var(--rule); }
.creds li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.creds .name { font: 600 17px var(--display); }
.creds .code { font: 400 15px var(--mono); color: var(--muted); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); border-top: 2px solid var(--ink); }
.values div { padding: 28px 28px 28px 0; display: flex; flex-direction: column; gap: 10px; }
.values h3 { font: 700 22px var(--display); font-stretch: 110%; }
.values p { color: var(--muted); font-size: 16px; }

/* Contact */
.on-blue { background: var(--accent); color: var(--white); }
.on-blue .wrap { padding-top: var(--section); padding-bottom: var(--section); display: flex; flex-direction: column; gap: clamp(48px, 6vw, 80px); }
.on-blue .label, .on-blue .fine { color: var(--white); }
.next { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 28px; }
.next li { display: flex; flex-direction: column; gap: 14px; }
.next .n {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--white);
  display: flex; align-items: center; justify-content: center; font: 500 15px var(--mono);
}
.next h3 { font: 800 clamp(22px, 2.2vw, 28px) var(--display); font-stretch: 115%; letter-spacing: -.01em; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-copy { display: flex; flex-direction: column; gap: 24px; }
.contact-copy h2 { font: 900 clamp(32px, 6vw, 88px)/0.9 var(--display); font-stretch: 125%; letter-spacing: -.04em; text-transform: uppercase; overflow-wrap: break-word; }
.contact-copy p.lede { font-size: 19px; }
.wa-link {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; color: var(--white);
  font: 600 16px var(--display); padding: 10px 0; border-bottom: 1.5px solid var(--white); transition: color .2s ease, border-color .2s ease;
}
@media (hover: hover) and (pointer: fine) { .wa-link:hover { color: var(--ink); border-color: var(--ink); } }

.form-card { background: var(--paper); color: var(--ink); padding: clamp(24px, 4vw, 48px); border-radius: 4px; }
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; }
.form label { display: flex; flex-direction: column; gap: 8px; font: 600 14px var(--display); }
.form .opt { font-weight: 400; color: var(--muted); }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--navy-muted); border-radius: 4px; background: var(--white);
  color: var(--ink); font: 400 16px/1.4 var(--display); outline: none; transition: border-color .2s ease, box-shadow .2s ease;
}
.form textarea { resize: vertical; min-height: 130px; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form .hp { display: none; }
.form-foot { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.form-error { color: #B42318; font: 500 15px/1.45 var(--display); }
.form-error a { color: inherit; text-decoration: underline; }
.consent { font: 400 14px/1.5 var(--display); color: var(--muted); }
.consent a { color: var(--ink); text-decoration: underline; }
.sent { display: flex; flex-direction: column; gap: 20px; }
.sent .tick { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--accent); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.sent h3 { font: 800 clamp(26px, 3vw, 36px)/1.1 var(--display); font-stretch: 115%; letter-spacing: -.02em; }
.sent p { color: var(--muted); }

/* Footer */
.foot { background: var(--ink); color: var(--paper); }
.foot .wrap { padding-top: clamp(56px, 7vw, 96px); padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 48px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px 40px; }
.foot .logo { color: var(--paper); font-size: 32px; }
.foot .logo .dot { color: var(--accent-soft); }
.foot nav { display: flex; flex-wrap: wrap; gap: 14px 32px; font: 500 15px var(--display); }
.foot a { color: var(--paper); transition: color .2s ease; }
.foot .mono { font: 400 15px var(--mono); }
.foot-bottom { padding-top: 24px; border-top: 1px solid var(--navy-line); font: 400 14px/1.6 var(--mono); color: var(--navy-muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-right: 72px; }
.foot-bottom a { color: var(--navy-muted); text-decoration: underline; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; z-index: 60;
  right: calc(clamp(16px, 2.5vw, 28px) + env(safe-area-inset-right, 0px));
  bottom: calc(clamp(16px, 2.5vw, 28px) + env(safe-area-inset-bottom, 0px));
  width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--white);
  display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--paper);
  box-shadow: 0 8px 24px rgba(11, 22, 48, .22), 0 1px 3px rgba(11, 22, 48, .2);
  transition: background-color .2s ease, transform .12s var(--ease-out);
}
.wa-float:active { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) { .wa-float:hover { background: var(--accent); } }

/* Legal page */
.legal .wrap { padding-top: clamp(48px, 7vw, 96px); padding-bottom: var(--section); }
.legal article { max-width: 70ch; display: flex; flex-direction: column; gap: 18px; }
.legal h1 { font: 900 clamp(34px, 6vw, 72px)/0.95 var(--display); font-stretch: 125%; letter-spacing: -.03em; text-transform: uppercase; }
.legal h2 { font: 800 22px var(--display); font-stretch: 110%; padding-top: 16px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .wa-float { transition: background-color .2s ease, color .2s ease; }
  .btn:active, .wa-float:active { transform: none; }
}
