/* YourAI Build: shared stylesheet */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --paper: #f4f1ea;
  --paper-2: #ebe6da;
  --card: #fbfaf6;
  --ink: #14213d;
  --ink-2: #3c4860;
  --ink-3: #5a6478;
  --line: rgba(20, 33, 61, 0.14);
  --line-strong: rgba(20, 33, 61, 0.28);
  --grid: rgba(31, 78, 140, 0.075);
  --blue: #1f4e8c;
  --accent: #c2410c;
  --accent-hover: #9a3412;
  --accent-tint: #f6e3d6;
  --navy: #14213d;
  --navy-2: #1c2c4f;
  --on-navy: #f4f1ea;
  --on-navy-2: #c5cbd8;

  --font: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: var(--font);

  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --text-lg: clamp(1.1875rem, 1.05rem + 0.5vw, 1.375rem);
  --text-xl: clamp(1.625rem, 1.2rem + 1.6vw, 2.375rem);
  --text-2xl: clamp(2.125rem, 1.4rem + 3vw, 3.5rem);
  --text-hero: clamp(2.75rem, 1.4rem + 5.6vw, 5.75rem);

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;

  --wrap: 1200px;
  --gutter: clamp(1.125rem, 4vw, 2.5rem);
  --header-h: 72px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
figure { margin: 0; }
[hidden] { display: none !important; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; font-weight: 750; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: var(--text-2xl); }
h2 { font-size: var(--text-xl); }
h3 { font-size: var(--text-lg); letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--accent); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 0.75rem 1rem; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: var(--paper); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }

/* Blueprint grid backgrounds */
.grid-bg {
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -1px -1px;
}

/* Labels */
.label {
  font-family: var(--mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex; align-items: center; gap: 0.6em;
}
.label::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.label--plain::before { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.75rem 1.35rem;
  font: 650 var(--text-sm)/1 var(--font);
  letter-spacing: 0.005em;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--sm { min-height: 42px; padding: 0.6rem 1rem; }
.btn .arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.text-link {
  font-weight: 650; color: var(--ink); text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.4em;
  border-bottom: 1.5px solid var(--accent); padding-bottom: 2px;
}
.text-link:hover { color: var(--accent-hover); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 241, 234, 0.92);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1.5rem; }
.wordmark {
  display: inline-flex; align-items: baseline; gap: 0.28em;
  font-weight: 800; font-size: 1.3rem; letter-spacing: -0.025em; font-stretch: 90%;
  color: var(--ink); text-decoration: none; line-height: 1; white-space: nowrap;
}
.wordmark:hover { color: var(--ink); }
.wordmark .wm-build {
  color: var(--accent);
  position: relative;
}
.wordmark .wm-build::after { display: none;
  content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 9px);
}
.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav-list { display: flex; list-style: none; gap: 0.15rem; }
.nav-list a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.8rem;
  color: var(--ink-2); text-decoration: none; font-size: var(--text-sm); font-weight: 550;
  border-radius: var(--radius-sm);
}
.nav-list a:hover { color: var(--ink); background: rgba(20,33,61,0.05); }
.nav-list a[aria-current="page"], .nav-list a.is-section { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.nav .btn { margin-left: 0.75rem; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  background: transparent; color: var(--ink); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle-bars { position: relative; width: 20px; height: 2px; background: currentColor; transition: background 0.2s; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; transition: transform 0.25s var(--ease); }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 0.75rem var(--gutter) 1.5rem;
    box-shadow: 0 18px 30px -18px rgba(20,33,61,0.25);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav-list { flex-direction: column; width: 100%; }
  .nav-list a { display: flex; width: 100%; min-height: 52px; font-size: var(--text-base); border-bottom: 1px solid var(--line); border-radius: 0; padding: 0 0.25rem; }
  .nav-list a[aria-current="page"], .nav-list a.is-section { box-shadow: inset 3px 0 0 var(--accent); padding-left: 0.85rem; }
  .nav .btn { margin: 1rem 0 0; }
}

/* Sections */
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section--tight { padding-block: clamp(3rem, 5vw, 4.5rem); }
.section--alt { background: var(--paper-2); }
.section--line { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); max-width: 720px; }
.section-head p { color: var(--ink-2); font-size: var(--text-base); max-width: 60ch; }
.section-head--split { max-width: none; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.1fr 1fr; gap: 3rem; }
}
.lead { font-size: var(--text-lg); color: var(--ink-2); line-height: 1.5; max-width: 58ch; }
.prose p + p { margin-top: 1rem; }
.prose { max-width: 66ch; color: var(--ink-2); }
.prose strong { color: var(--ink); }

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; gap: clamp(2.5rem, 5vw, 4rem); padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(3.5rem, 7vw, 5.5rem); align-items: center; }
@media (min-width: 1000px) { .hero .wrap { grid-template-columns: 1fr 1fr; } }
.hero h1 { font-size: var(--text-hero); font-stretch: 92%; letter-spacing: -0.03em; line-height: 1; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { margin-top: 1.5rem; }
.hero .btn-row { margin-top: 2.25rem; }
.hero-meta { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-family: var(--mono); font-size: var(--text-xs); color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.05em; }
.hero-meta span { display: inline-flex; align-items: center; gap: 0.5em; }
.hero-meta span::before { content: ""; width: 7px; height: 7px; background: var(--accent); }

.blueprint { position: relative; }
.blueprint svg { width: 100%; height: auto; }
.blueprint figcaption { margin-top: 0.75rem; font-family: var(--mono); font-size: var(--text-xs); color: var(--ink-3); letter-spacing: 0.04em; }

/* Page header (interior) */
.page-head { border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.75rem, 5vw, 4rem); display: grid; gap: 1.25rem; }
.page-head h1 { max-width: 18ch; }
.page-head .lead { margin-top: 0.25rem; }
.page-head .btn-row { margin-top: 1rem; }
.breadcrumb { font-family: var(--mono); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.4rem; color: var(--line-strong); }
.breadcrumb a { color: var(--blue); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* Problem strip */
.strip { background: var(--navy); color: var(--on-navy); position: relative; overflow: hidden; }
.strip::before { display: none;
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(244,241,234,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(244,241,234,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
}
.strip .wrap { position: relative; display: grid; gap: 1.5rem; padding-block: clamp(2.75rem, 6vw, 4.25rem); align-items: center; }
@media (min-width: 900px) { .strip .wrap { grid-template-columns: 1fr auto; gap: 3rem; } }
.strip p { font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.5rem); font-weight: 700; font-stretch: 88%; line-height: 1.15; letter-spacing: -0.02em; max-width: 26ch; }
.strip p span { color: #ff9a5c; }

/* Service spec list (What we build) */
.spec-grid { display: grid; grid-template-columns: 1fr; border-top: 2px solid var(--ink); }
@media (min-width: 700px) { .spec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .spec-grid { grid-template-columns: repeat(4, 1fr); } }
.spec {
  position: relative; display: flex; flex-direction: column; gap: 0.85rem;
  padding: 1.75rem 1.5rem 1.75rem 0; border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit;
}
@media (min-width: 700px) {
  .spec { padding: 1.75rem 1.5rem; border-right: 1px solid var(--line); }
  .spec:nth-child(2n) { border-right: 0; }
}
@media (min-width: 1100px) {
  .spec { border-right: 1px solid var(--line); border-bottom: 0; }
  .spec:nth-child(2n) { border-right: 1px solid var(--line); }
  .spec:first-child { padding-left: 0; }
  .spec:last-child { border-right: 0; }
}
.spec-num { font-family: var(--mono); font-size: var(--text-xs); color: var(--accent); letter-spacing: 0.06em; }
.spec h3 { font-size: 1.6rem; font-stretch: 86%; }
.spec p { color: var(--ink-2); font-size: var(--text-sm); flex: 1; }
.spec .spec-offer { font-family: var(--mono); font-size: var(--text-xs); color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.05em; }
.spec .spec-go { font-weight: 650; font-size: var(--text-sm); color: var(--ink); display: inline-flex; gap: 0.4em; align-items: center; }
.spec .spec-go span { transition: transform 0.2s var(--ease); color: var(--accent); }
.spec:hover .spec-go span { transform: translateX(4px); }
.spec:hover h3 { color: var(--accent-hover); }

/* Screenshot placeholder frame */
.frame {
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--card); overflow: hidden;
  box-shadow: 0 1px 0 rgba(20,33,61,0.04), 0 18px 40px -28px rgba(20,33,61,0.35);
}
.frame-bar { display: flex; align-items: center; gap: 6px; padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(20,33,61,0.18); }
.frame-bar .frame-url { margin-left: 0.6rem; flex: 1; height: 18px; border-radius: 3px; background: rgba(20,33,61,0.07); font-family: var(--mono); font-size: 0.6875rem; color: var(--ink-3); line-height: 18px; padding-left: 0.5rem; overflow: hidden; white-space: nowrap; }
.frame-body {
  position: relative; aspect-ratio: 16 / 10; display: grid; grid-template-columns: 22% 1fr; gap: 0;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 20px 20px;
}
.frame-side { border-right: 1px dashed var(--line-strong); padding: 10% 12%; display: flex; flex-direction: column; gap: 9%; }
.frame-side i, .frame-main i { display: block; height: 7px; border-radius: 2px; background: rgba(20,33,61,0.1); }
.frame-side i:first-child { background: rgba(194,65,12,0.35); width: 70%; }
.frame-main { padding: 6% 7%; display: grid; grid-template-rows: auto auto 1fr; gap: 7%; }
.frame-main .fm-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6%; }
.frame-main .fm-row b { display: block; aspect-ratio: 2.2 / 1; border: 1px dashed var(--line-strong); border-radius: 3px; }
.frame-main .fm-chart { border: 1px dashed var(--line-strong); border-radius: 3px; }
.frame-tag {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-family: var(--mono); font-size: var(--text-xs); letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--card); color: var(--ink); border: 1px solid var(--ink); padding: 0.45rem 0.75rem; border-radius: 2px; white-space: nowrap;
}

/* Builds grid */
.builds { display: grid; gap: 1.5rem; }
@media (min-width: 900px) {
  .builds--home { grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; }
  .builds--home .build:first-child { grid-row: span 2; }
}
.build { display: flex; flex-direction: column; gap: 1.1rem; }
.build-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); border: 1px solid var(--line-strong); padding: 0.2rem 0.5rem; border-radius: 2px; }
.build h3 { font-size: 1.5rem; font-stretch: 88%; }
.build p { color: var(--ink-2); font-size: var(--text-sm); max-width: 56ch; }
.builds--home .build:not(:first-child) .frame-body { aspect-ratio: 16 / 7; }

/* Build detail (builds page) */
.build-detail { display: grid; gap: 2rem; padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); align-items: start; }
.build-detail:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 950px) {
  .build-detail { grid-template-columns: 1fr 1.15fr; gap: 4rem; }
  .build-detail:nth-of-type(even) .build-detail-media { order: -1; }
}
.build-detail h2 { margin: 0.75rem 0 1rem; }
.build-detail .prose { margin-top: 0.5rem; }
.checks { list-style: none; display: grid; gap: 0.6rem; margin-top: 1.5rem; }
.checks li { position: relative; padding-left: 1.75rem; color: var(--ink-2); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.5em; width: 12px; height: 7px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
.checks strong { color: var(--ink); }

/* Process */
.process { list-style: none; display: grid; gap: 0; counter-reset: step; position: relative; }
@media (min-width: 900px) {
  .process { grid-template-columns: repeat(4, 1fr); }
  .process::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; border-top: 1px solid var(--line); }
}
.process li { position: relative; padding: 0 1.5rem 2rem 0; display: grid; gap: 0.75rem; align-content: start; }
@media (max-width: 899px) {
  .process li { padding: 0 0 2rem 3.75rem; }
  .process li::after { content: ""; position: absolute; left: 22px; top: 44px; bottom: 0; border-left: 1px solid var(--line); }
  .process li:last-child::after { display: none; }
  .process .step-no { position: absolute; left: 0; top: 0; }
}
.step-no {
  position: relative; z-index: 1; width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--paper); border: 1.5px solid var(--ink); border-radius: 50%;
  font-family: var(--mono); font-size: var(--text-sm); color: var(--ink);
}
.section--alt .step-no { background: var(--paper-2); }
.process li:first-child .step-no { background: var(--accent); border-color: var(--accent); color: #fff; }
.process h3 { font-size: 1.5rem; font-stretch: 86%; margin-top: 0.5rem; }
.process p { color: var(--ink-2); font-size: var(--text-sm); }

/* Detailed steps (how we build) */
.steps-detail { display: grid; gap: 0; }
.step-row { display: grid; gap: 1.25rem; padding-block: clamp(2.25rem, 4vw, 3.25rem); border-top: 1px solid var(--line); }
.step-row:first-child { border-top: 2px solid var(--ink); }
@media (min-width: 900px) { .step-row { grid-template-columns: 90px 1fr 1fr; gap: 2.5rem; } }
.step-row .step-big { font-family: var(--mono); font-size: 2rem; color: var(--accent); line-height: 1; }
.step-row h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.step-row h2 + p { margin-top: 0.85rem; color: var(--ink-2); }
.step-row .checks { margin-top: 0; }
.step-row .duration { margin-top: 1rem; font-family: var(--mono); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-3); }

/* Cards */
.cards { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .cards--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 760px) and (max-width: 999px) { .cards--3 { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 2.5vw, 2rem); display: flex; flex-direction: column; gap: 0.8rem; }
.card h3 { font-size: 1.3rem; }
.card p { color: var(--ink-2); font-size: var(--text-sm); }
.card .text-link { margin-top: auto; align-self: flex-start; font-size: var(--text-sm); }
a.card { text-decoration: none; color: inherit; transition: border-color 0.2s var(--ease), transform 0.2s var(--ease); }
a.card:hover { border-color: var(--ink); transform: translateY(-2px); }
.card--feature { background: var(--navy); color: var(--on-navy); border-color: var(--navy); }
.card--feature p { color: var(--on-navy-2); }
.card--feature .label { color: #ff9a5c; }
.card--feature .text-link { color: var(--on-navy); }

/* Offer panel */
.offer { display: grid; gap: 2rem; background: var(--card); border: 1.5px solid var(--ink); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 3rem); position: relative; }
@media (min-width: 900px) { .offer { grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; } }
.offer h2 { margin: 0.75rem 0 1rem; }
.offer p { color: var(--ink-2); }
.offer-facts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.offer-facts div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); font-size: var(--text-sm); }
.offer-facts dt { font-family: var(--mono); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-3); padding-top: 0.15em; }
.offer-facts dd { margin: 0; font-weight: 650; text-align: right; }
.offer .btn-row { margin-top: 1.5rem; }

/* Two column content */
.split { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .split { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; } .split--even { grid-template-columns: 1fr 1fr; } }
.split h2 + p, .split h2 + .prose { margin-top: 1rem; }

/* Q&A blocks (answer-engine friendly) */
.qa-list { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.qa { padding-block: 1.75rem; border-bottom: 1px solid var(--line); display: grid; gap: 0.75rem; }
@media (min-width: 900px) { .qa { grid-template-columns: 0.9fr 1.1fr; gap: 3rem; } }
.qa h2, .qa h3 { font-size: 1.3rem; letter-spacing: -0.01em; font-stretch: 95%; line-height: 1.25; }
.qa p { color: var(--ink-2); }
.qa p + p { margin-top: 0.75rem; }

/* FAQ accordion */
.faq { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.35rem 0; font-weight: 650; font-size: var(--text-lg); line-height: 1.3; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background: linear-gradient(var(--accent), var(--accent)) center/14px 2px no-repeat, linear-gradient(var(--accent), var(--accent)) center/2px 14px no-repeat;
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent-hover); }
.faq .faq-a { padding: 0 0 1.5rem; color: var(--ink-2); max-width: 68ch; }
.faq .faq-a p + p { margin-top: 0.75rem; }
.faq h2, .faq h3 { font: inherit; letter-spacing: inherit; margin: 0; }

/* CTA band */
.cta-band { background: var(--navy); color: var(--on-navy); position: relative; overflow: hidden; }
.cta-band::before { display: none;
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(244,241,234,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(244,241,234,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
}
.cta-band .wrap { position: relative; padding-block: clamp(4rem, 8vw, 6.5rem); display: grid; gap: 2rem; }
@media (min-width: 900px) { .cta-band .wrap { grid-template-columns: 1.4fr 1fr; align-items: end; gap: 4rem; } }
.cta-band h2 { font-size: var(--text-2xl); font-stretch: 84%; letter-spacing: -0.03em; }
.cta-band p { color: var(--on-navy-2); margin-top: 1rem; max-width: 52ch; }
.cta-band .label { color: #ff9a5c; }
.cta-band .btn-row { justify-content: flex-start; }
@media (min-width: 900px) { .cta-band .btn-row { justify-content: flex-end; } }
.cta-band .btn--ghost { color: var(--on-navy); border-color: rgba(244,241,234,0.6); }
.cta-band .btn--ghost:hover { background: var(--on-navy); color: var(--navy); }

/* About */
.portrait { position: relative; }
.portrait-frame {
  aspect-ratio: 4 / 5; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--card);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px; display: grid; place-items: center; position: relative; overflow: hidden;
}
.portrait-frame svg { width: 46%; color: rgba(20,33,61,0.2); }
.portrait-frame .frame-tag { top: auto; bottom: 1.25rem; transform: translateX(-50%); }
.portrait figcaption { margin-top: 0.75rem; font-family: var(--mono); font-size: var(--text-xs); color: var(--ink-3); letter-spacing: 0.04em; }

.sibling-list { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.sibling { display: grid; gap: 0.4rem 2rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
@media (min-width: 800px) { .sibling { grid-template-columns: 1fr 1.6fr auto; align-items: center; } }
.sibling h3 { font-size: 1.35rem; }
.sibling p { color: var(--ink-2); font-size: var(--text-sm); }
.sibling .ext { font-family: var(--mono); font-size: var(--text-xs); color: var(--blue); letter-spacing: 0.03em; }
.sibling:hover h3 { color: var(--accent-hover); }

/* Callout */
.note { background: var(--accent-tint); border-radius: var(--radius); padding: 1.25rem 1.5rem; color: var(--ink); font-size: var(--text-sm); }
.note a { color: var(--accent-hover); font-weight: 650; }

/* Fit list */
.fit-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.fit-list li { border: 1px solid var(--line-strong); background: var(--card); padding: 0.45rem 0.85rem; border-radius: 2px; font-size: var(--text-sm); font-weight: 550; }

/* Start page */
.start-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 1000px) { .start-grid { grid-template-columns: 1fr 1.1fr; gap: 3.5rem; } }
.embed-slot {
  border: 1.5px dashed var(--blue); border-radius: var(--radius); background: var(--card);
  min-height: clamp(340px, 50vw, 520px); display: grid; place-items: center; text-align: center; padding: 2rem;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
}
.embed-slot-inner { display: grid; gap: 0.75rem; justify-items: center; max-width: 34ch; }
.embed-slot-inner p { color: var(--ink-2); font-size: var(--text-sm); }
.embed-slot h3 { font-size: 1.25rem; }
.panel { background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3.5vw, 2.5rem); }
.panel h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.panel > p { color: var(--ink-2); margin-top: 0.6rem; }

.form { display: grid; gap: 1.15rem; margin-top: 1.75rem; }
.form-row { display: grid; gap: 1.15rem; }
@media (min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label, .field legend { font-weight: 650; font-size: var(--text-sm); color: var(--ink); }
.field .opt { font-weight: 450; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem; min-height: 48px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(194,65,12,0.2); }
.field [aria-invalid="true"] { border-color: #b42318; }
.field .err { color: #b42318; font-size: var(--text-xs); font-weight: 600; min-height: 0; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.15rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0.5rem 0.95rem;
  border: 1.5px solid var(--line-strong); border-radius: 2px; background: #fff; cursor: pointer; font-size: var(--text-sm); font-weight: 550;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.choice span:hover { border-color: var(--ink); }
.choice input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; justify-content: space-between; margin-top: 0.5rem; }
.form-foot small { color: var(--ink-3); font-size: var(--text-xs); max-width: 38ch; }
.form-success {
  margin-top: 1.75rem; border: 1.5px solid #1e6b45; background: #e7f2ea; color: #133d29;
  border-radius: var(--radius); padding: 1.5rem; display: grid; gap: 0.5rem;
}
.form-success h3 { font-size: 1.25rem; color: #133d29; }
.form-success:focus { outline: 3px solid #1e6b45; outline-offset: 3px; }

/* Footer */
.site-footer { background: var(--paper-2); border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; font-size: var(--text-sm); }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-brand p { color: var(--ink-2); margin-top: 1.1rem; max-width: 34ch; }
.footer-brand .footer-email { display: inline-block; margin-top: 1rem; font-weight: 650; color: var(--ink); }
.footer-col h2 { font-family: var(--mono); font-size: var(--text-xs); font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); margin-bottom: 0.9rem; }
.footer-col ul { list-style: none; display: grid; gap: 0.15rem; }
.footer-col a { color: var(--ink); text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.footer-col a:hover { color: var(--accent-hover); text-decoration: underline; }
.footer-base { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between; color: var(--ink-3); font-size: var(--text-xs); }

/* Cookie consent placeholder */
.cookie-consent { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 60; max-width: 560px; }

/* 404 */
.notfound { min-height: 60vh; display: grid; align-items: center; }
.notfound .code { font-family: var(--mono); font-size: clamp(4rem, 12vw, 8rem); color: var(--accent); line-height: 1; }

/* Utilities */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.center { text-align: center; }


/* ---- Simplified look ---- */
.grid-bg { background-image: none; }
.label { font-family: var(--font); font-size: var(--text-sm); font-weight: 650; text-transform: none; letter-spacing: 0; color: var(--accent-hover); }
.label::before { display: none; }
.cta-band .label, .card--feature .label { color: #ffb085; }
.breadcrumb, .spec-num, .spec .spec-offer, .tag, .offer-facts dt, .step-row .duration, .footer-col h2, .frame-tag, .portrait figcaption, .hero-meta, .step-no {
  font-family: var(--font); text-transform: none; letter-spacing: 0;
}
.breadcrumb { font-size: var(--text-sm); }
.spec-num { font-size: var(--text-sm); font-weight: 650; color: var(--accent-hover); }
.footer-col h2 { font-size: var(--text-sm); font-weight: 700; color: var(--ink); }
.offer-facts dt { font-size: var(--text-sm); color: var(--ink-3); padding-top: 0; }
.step-no { font-weight: 700; }
.step-row .step-big { font-family: var(--font); font-weight: 750; font-size: 2.25rem; }
.step-row .duration { font-size: var(--text-sm); color: var(--ink-3); font-weight: 600; }
.tag { font-size: var(--text-xs); border-radius: 999px; padding: 0.2rem 0.65rem; border-color: var(--line); background: var(--card); }
.spec-grid, .qa-list, .faq, .sibling-list, .step-row:first-child { border-top: 1px solid var(--line-strong); }
.offer { border: 1px solid var(--line-strong); }

.hero-meta { list-style: none; padding: 0; font-size: var(--text-sm); color: var(--ink-2); gap: 0.5rem 1.5rem; }
.hero-meta li { display: inline-flex; align-items: center; gap: 0.5em; }
.hero-meta li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Hero promise card */
.promise { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: 0 24px 50px -36px rgba(20,33,61,0.35); }
.promise-title { font-weight: 700; font-size: var(--text-lg); margin-bottom: 1.25rem; }
.promise ul { list-style: none; display: grid; gap: 0; }
.promise li { display: grid; grid-template-columns: 36px 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); align-items: start; }
.promise li:first-child { border-top: 0; padding-top: 0; }
.promise-n { width: 32px; height: 32px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-hover); display: grid; place-items: center; font-weight: 700; font-size: var(--text-sm); }
.promise strong { display: block; font-size: var(--text-base); }
.promise li span:not(.promise-n) { display: block; color: var(--ink-2); font-size: var(--text-sm); margin-top: 0.15rem; }

/* Simple screenshot frame */
.frame { border-color: var(--line); box-shadow: 0 20px 44px -34px rgba(20,33,61,0.4); }
.frame-bar { background: var(--card); }
.frame-bar i { width: 8px; height: 8px; }
.frame-body { display: grid; place-items: center; background: var(--paper-2); background-image: none; grid-template-columns: 1fr; }
.frame-tag { position: static; transform: none; font-size: var(--text-sm); font-weight: 600; color: var(--ink-2); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem 1rem; }

.portrait-frame { background-image: none; background: var(--paper-2); border-color: var(--line); }
.portrait-frame .frame-tag { position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%); }
.embed-slot { background-image: none; border: 1px solid var(--line-strong); background: var(--paper-2); }
.notfound .code { font-family: var(--font); font-weight: 800; }

/* Real screenshots in frames */
.frame-body.frame-body--shot{display:block;padding:0;background:#111;background-image:none}
.frame-body--shot img{display:block;width:100%;height:100%;object-fit:cover;object-position:top center}
.cookie-consent:not([hidden]) { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; justify-content: space-between; background: var(--card); color: var(--ink); border: 1px solid var(--line-strong); border-top: 3px solid var(--accent); border-radius: 6px; padding: 1rem 1.25rem; box-shadow: 0 8px 24px rgba(20,33,61,.12); font-size: var(--text-xs); }
.cookie-consent p { margin: 0; flex: 1 1 260px; }
.cookie-consent .cc-btns { display: flex; gap: .5rem; }
.cookie-consent .btn { padding: .5rem 1rem; }
/* Booking embed */
#book { scroll-margin-top: 90px; }
.booking-embed { border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; background: #fff; }
.booking-embed iframe { display: block; width: 100%; height: 650px; border: 0; }
@media (max-width: 720px) { .booking-embed iframe { height: 760px; } }
.booking-fallback { margin-top: .75rem; font-size: var(--text-xs); }
