@import url("assets/brand/tokens.css");
/* Ondrel front page comp · v1 (Design Engineer). Inter + Space Grotesk load from local/installed fonts in the comp;
   Prototyper: self-host Inter 400/500/600 alongside the brand Space Grotesk Medium. */

:root {
  --wrap: 1200px;
  --gutter: 40px;
  --band-y: 128px;          /* section padding top/bottom, desktop */
  --radius: 8px;
  --radius-lg: 20px;
  --line-night: rgba(246, 243, 236, 0.1);
  --line-paper: rgba(11, 18, 32, 0.1);
  --paper-2: #fbf9f4;       /* card on Paper (tint of Paper) */
  --night-2: #111a2b;       /* card on Night (tint of Night) */
  --muted-night: rgba(246, 243, 236, 0.72);
}
@media (max-width: 1024px) { :root { --band-y: 104px; --gutter: 32px; } }
@media (max-width: 640px)  { :root { --band-y: 72px;  --gutter: 20px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 18px/1.6 var(--font-body); color: var(--night); background: var(--night); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.band { padding: var(--band-y) 0; position: relative; }
.band--night { background: var(--night); color: var(--paper); }
.band--paper { background: var(--paper); color: var(--night); }
.band--teal  { background: var(--deep-teal); color: var(--paper); }

/* Type */
.eyebrow { font: 600 13px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; text-wrap: balance; }
.band--night .eyebrow { color: var(--signal); }
.band--paper .eyebrow { color: var(--deep-teal); }
.display { font: 500 68px/1.02 var(--font-display); letter-spacing: -0.025em; }
.h2 { font: 500 48px/1.08 var(--font-display); letter-spacing: -0.02em; max-width: 20ch; text-wrap: balance; }
.h2--narrow { max-width: 14ch; }
h3 { font: 500 21px/1.3 var(--font-display); letter-spacing: -0.005em; }
.lede { font-size: 20px; line-height: 1.6; color: var(--muted-night); max-width: 34em; }
.body-l { font-size: 19px; line-height: 1.65; max-width: 34em; text-wrap: pretty; }
.band--paper .body-l { color: #3d4650; }
.band--night .body-l, .band--teal .body-l { color: var(--muted-night); }
.fine { font-size: 14px; line-height: 1.5; color: var(--muted-night); }
/* Icons */
.ic { width: 28px; height: 28px; flex: none; }
.ic--sm { width: 18px; height: 18px; }

/* Buttons & links */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 28px; border-radius: var(--radius);
  background: var(--signal); color: var(--night); font: 600 16px/1 var(--font-body); letter-spacing: -.005em; text-decoration: none;
  transition: background-color .15s ease, transform .15s ease; white-space: nowrap; }
.btn:hover { background: #6adcdf; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14.5px; }
.textlink { display: inline-flex; align-items: center; gap: 8px; font: 500 16px/1 var(--font-body); color: var(--paper); text-decoration: none; padding: 8px 0; border-bottom: 1px solid rgba(246,243,236,.3); }
.textlink:hover { border-color: var(--signal); }
.inline { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.band--night .inline, .band--teal .inline { text-decoration-color: var(--signal); }
.band--paper .inline { text-decoration-color: rgba(20,77,83,.5); }

/* Header */
.site-header { background: var(--night); color: var(--paper); position: relative; z-index: 2; border-bottom: 1px solid var(--line-night); }
.site-header__inner { display: flex; align-items: center; gap: 40px; height: 80px; }
.brand img { width: 132px; }
.brand--sm img { width: 104px; }
.site-nav { display: flex; gap: 32px; margin-left: auto; }
.site-nav a { font: 500 15px/1 var(--font-body); color: var(--muted-night); text-decoration: none; }
.site-nav a:hover { color: var(--paper); }

/* Hero */
.hero { padding: 64px 0 104px; overflow: hidden; }
.hero__orbit { position: absolute; width: 900px; height: 900px; right: -260px; top: -150px; border-radius: 50%;
  border: 1px solid rgba(63,208,212,.12);
  background: radial-gradient(closest-side, rgba(20,77,83,.55), rgba(20,77,83,.18) 60%, rgba(11,18,32,0) 100%); pointer-events: none; }
.hero__orbit::after { content: ""; position: absolute; inset: 150px; border-radius: 50%; border: 1px solid rgba(246,243,236,.06); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 64px; align-items: center; position: relative; }
.hero__copy .display { margin-bottom: 28px; max-width: none; text-wrap: balance; }
.hero__copy .lede { margin-bottom: 40px; }
.hero__actions { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.hero__visual { position: relative; justify-self: end; margin-right: 100px; width: 290px; }
.hero__phone { position: relative; width: 290px; filter: drop-shadow(0 40px 60px rgba(0,0,0,.45)); }
.hero__scene { position: absolute; width: 500px; max-width: none; left: -330px; bottom: -6px; }
.hero__toolbox { position: absolute; width: 130px; right: -98px; bottom: -4px; }
.hero__card { position: absolute; width: 260px; left: -214px; top: 96px; }
.hero__visual figcaption { position: absolute; left: 0; right: 0; bottom: -34px; text-align: center; font-size: 12px; color: rgba(246,243,236,.5); }

/* Section intro (eyebrow + h2 + optional lead) */
.intro { margin-bottom: 64px; max-width: 760px; }
.intro .h2 { margin-bottom: 24px; }
.intro .h2:last-child { margin-bottom: 0; }

/* #who: audience tiles */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.tile { background: var(--paper-2); border: 1px solid var(--line-paper); border-radius: var(--radius-lg); padding: 28px 26px 32px; }
.tile__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(20,77,83,.09); color: var(--deep-teal); margin-bottom: 36px; }
.tile h3 { margin-bottom: 10px; }
.tile p { font-size: 16px; line-height: 1.6; color: #3d4650; }

/* How */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; counter-reset: s; }
.step { background: var(--night-2); border: 1px solid var(--line-night); border-radius: var(--radius-lg); padding: 28px 26px 32px; }
.step__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.step__n { font: 500 14px/1 var(--font-display); color: var(--signal); width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(63,208,212,.4); display: grid; place-items: center; }
.step .ic { color: var(--signal); }
.step h3 { margin-bottom: 12px; }
.step p { font-size: 16px; line-height: 1.6; color: var(--muted-night); }

/* Split layouts */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: start; }
.split__lead .h2 { margin-bottom: 28px; }

/* Field */
.features { border-top: 1px solid var(--line-paper); }
.features li { display: flex; gap: 20px; align-items: flex-start; padding: 24px 0; border-bottom: 1px solid var(--line-paper); }
.features .ic { color: var(--deep-teal); margin-top: 1px; }
.features h3 { font-size: 19px; margin-bottom: 4px; }
.features p { font-size: 16px; color: var(--slate); }

/* #first */
.split--first { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); margin-bottom: 64px; align-items: end; }
.split--first .h2 { margin-bottom: 0; max-width: 14ch; }
.flow { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 32px; border-top: 1px solid var(--line-night); padding-top: 32px; }
.flow li { display: flex; gap: 18px; align-items: flex-start; }
.flow .ic { color: var(--signal); }
.flow h3 { font-size: 19px; margin-bottom: 4px; }
.flow p { font-size: 16px; color: var(--muted-night); }
.pricing-line { display: flex; gap: 12px; align-items: center; margin-top: 48px; padding: 18px 22px; border: 1px solid var(--line-night); border-radius: 12px; font-size: 16px; color: var(--paper); max-width: max-content; }
.pricing-line .ic { color: var(--signal); }

/* #studio */
.split--studio { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.split--studio .h2 { max-width: 12ch; }
.studio-note { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line-paper); font-size: 16px; font-weight: 500; color: var(--deep-teal); max-width: 34em; }
.studio-note .inline { text-decoration-color: rgba(20,77,83,.45); }

/* Status */
.status-cols { display: grid; gap: 20px; align-self: stretch; }
.status-cols .status-card { height: 100%; }
.status-card { background: var(--night-2); border: 1px solid var(--line-night); border-radius: var(--radius-lg); padding: 30px 32px; }
.status-card h3 { font-size: 13px; font-family: var(--font-body); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--signal); margin-bottom: 18px; }
.ticks li { display: flex; gap: 12px; align-items: center; font-size: 17px; padding: 9px 0; }
.ticks .ic { color: var(--signal); }

/* FAQ */
.split--faq { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.faq > div { padding: 26px 0; border-bottom: 1px solid var(--line-paper); }
.faq > div:first-child { border-top: 1px solid var(--line-paper); }
.faq dt { font: 500 20px/1.35 var(--font-display); margin-bottom: 8px; }
.faq dd { font-size: 17px; color: #3d4650; max-width: 38em; }

/* Access */
.access { text-align: center; overflow: hidden; }
.access::before { content: ""; position: absolute; width: 720px; height: 720px; left: 50%; top: 50%; transform: translate(-50%,-50%); border-radius: 50%; border: 1px solid rgba(246,243,236,.08); }
.access__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.access .h2 { max-width: 18ch; margin-bottom: 20px; }
.access .body-l { margin-bottom: 40px; text-wrap: balance; }
.access .fine { margin-top: 20px; color: rgba(246,243,236,.8); }

/* Footer */
.site-footer { background: var(--night); color: var(--paper); padding: 56px 0 64px; }
.site-footer__inner { display: grid; grid-template-columns: auto 1fr; gap: 28px 40px; align-items: center; }
.footer-nav { display: flex; gap: 28px; justify-content: flex-end; flex-wrap: wrap; }
.footer-nav a { font-size: 15px; color: var(--muted-night); text-decoration: none; }
.footer-nav a:hover { color: var(--paper); }
.legal { grid-column: 1 / -1; font-size: 13.5px; color: rgba(246,243,236,.55); padding-top: 28px; border-top: 1px solid var(--line-night); }

/* ---------- Tablet ≤1024 ---------- */
@media (max-width: 1024px) {
  .display { font-size: 56px; }
  .h2 { font-size: 40px; }
  .site-nav { gap: 24px; }
  .hero__grid { gap: 40px; }
  .steps, .tiles { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .split { gap: 56px; }
  .hero__card { left: -150px; }
}

/* ---------- Small tablet ≤860: stack ---------- */
@media (max-width: 860px) {
  .site-nav { display: none; }
  .site-header__inner { justify-content: space-between; }
  .hero__grid, .split, .split--faq { grid-template-columns: 1fr; }
  .hero__visual { margin-top: 24px; }
  .split--first { margin-bottom: 48px; }
  .flow { grid-template-columns: 1fr; gap: 24px; }
  .intro { margin-bottom: 48px; }
}

/* ---------- Mobile ≤640 ---------- */
@media (max-width: 640px) {
  body { font-size: 17px; }
  .site-header__inner { height: 68px; gap: 16px; }
  .brand img { width: 108px; }
  .btn--sm { height: 38px; padding: 0 14px; font-size: 13.5px; }
  .hero { padding: 56px 0 88px; }
  .hero__orbit { width: 560px; height: 560px; right: -300px; top: -120px; }
  .hero__orbit::after { inset: 90px; }
  .eyebrow { font-size: 11.5px; letter-spacing: .1em; line-height: 1.4; margin-bottom: 14px; }
  .hero__card, .hero__scene { display: none; }
  .split--first, .split--studio { gap: 20px; }
  .split--first .split__lead .h2, .split--studio .split__lead .h2 { margin-bottom: 0; }
  .display { font-size: 42px; line-height: 1.05; }
  .hero__copy .display { margin-bottom: 20px; }
  .lede { font-size: 17.5px; }
  .hero__copy .lede { margin-bottom: 32px; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 16px; }
  .hero__actions .btn { width: 100%; }
  .hero__actions .textlink { align-self: center; }
  .hero__copy .fine { text-align: center; }
  .hero__visual { width: 250px; margin-top: 40px; }
  .hero__phone { width: 250px; }
  .hero__card { width: 220px; left: -40px; bottom: 110px; }
  .h2 { font-size: 32px; line-height: 1.12; }
  .intro { margin-bottom: 40px; }
  .intro .h2 { margin-bottom: 18px; }
  .steps, .tiles { grid-template-columns: 1fr; gap: 14px; }
  .tile { padding: 22px; display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; }
  .tile__ic { width: 44px; height: 44px; margin: 0; grid-row: span 2; }
  .tile h3 { margin: 10px 0 6px; }
  .pricing-line { align-items: flex-start; margin-top: 36px; padding: 16px 18px; font-size: 15px; }
  .pricing-line .ic { margin-top: 2px; }
  .hero__scene { width: 380px; left: -150px; bottom: -6px; }
  .hero__toolbox { width: 100px; right: -76px; }
  .step { padding: 24px 22px 26px; }
  .step__top { margin-bottom: 24px; }
  .body-l { font-size: 17px; }
  .split { gap: 40px; }
  .split__lead .h2 { margin-bottom: 20px; }
  .features li { padding: 20px 0; gap: 16px; }
  .status-card { padding: 24px 22px; }
  .ticks li { font-size: 16px; align-items: flex-start; }
  .ticks .ic { margin-top: 3px; }
  .faq dt { font-size: 18px; }
  .faq dd { font-size: 16px; }
  .access::before { width: 460px; height: 460px; }
  .access .btn { width: 100%; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; gap: 20px; }
  h3 { font-size: 19px; }
}

/* Radek overrides (deliberate diffs from comp source) */
.btn--burn { background: var(--burn); color: var(--night); }
.btn--burn:hover { background: #f0881a; }
.btn--burn:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
.header-cta { font: 600 15px/1 var(--font-body); color: var(--signal); text-decoration: none; white-space: nowrap; padding: 8px 0; flex-shrink: 0; }
.header-cta:hover { color: #6adcdf; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) {
  .hero__visual { justify-self: center; margin-right: 0; }
}
