/* Saenztech — shared styles for every page. Visual direction: "Blueprint". */

:root {
  --bg: #07111F;
  --bg-band: #0A1628;
  --bg-raised: #0D1B2E;
  --bg-sunken: #050C17;
  --line: rgba(148, 178, 214, 0.14);
  --line-mid: rgba(148, 178, 214, 0.32);
  --line-strong: rgba(148, 178, 214, 0.55);
  --grid: rgba(148, 178, 214, 0.07);
  --text: #E8EEF6;
  --text-dim: #93A4BA;
  --navy: #12355B;
  --gold: #F2B33D;
  --gold-hover: #F6C463;
  --gold-soft: rgba(242, 179, 61, 0.1);
  --glow: 0 0 0 1px rgba(242, 179, 61, 0.45), 0 0 22px -4px rgba(242, 179, 61, 0.6);
  --red: #C8322F;
  --light: #F2F5F9;
  --ink: #0B1626;
  --ink-dim: #46556A;
  --error: #FF8A80;
  --focus: var(--gold);

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --r-ctl: 6px;
  --r-panel: 10px;
  --gutter: 16px;
  --max: 1180px;
  --header-h: 64px;
  color-scheme: dark;
}
@media (min-width: 600px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 40px; } }

/* While Spanish strings are being applied, keep the page hidden so English never flashes. */
.i18n-pending body { visibility: hidden; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; font-family: var(--font); font-weight: 600; color: var(--text); line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); }
h3 { font-size: 1.1875rem; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; max-width: 70ch; }
a { color: var(--text); text-decoration-color: rgba(242, 179, 61, 0.65); text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { text-decoration-color: var(--gold); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
::selection { background: rgba(242, 179, 61, 0.3); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: var(--r-ctl);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; outline-color: var(--text); }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: 72px; }
@media (min-width: 900px) { .section { padding-block: 112px; } }
.section--tight { padding-block: 56px; }
@media (min-width: 900px) { .section--tight { padding-block: 80px; } }
.section--surface { background: var(--bg-band); border-block: 1px solid var(--line); }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.section-head { max-width: 44rem; margin-bottom: 40px; }
.section-head p, .lede { margin-top: 14px; color: var(--text-dim); font-size: 1.125rem; max-width: 60ch; }
.more-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 32px;
  font-weight: 500; text-decoration: none;
}
.more-link:hover { color: var(--gold); }
.more-link svg { flex: 0 0 auto; color: var(--gold); transition: transform .15s ease; }
.more-link:hover svg { transform: translateX(3px); }

/* Blueprint grid behind page heroes, fading out toward the bottom. Static. */
.hero, .page-hero, .work-hero, .nf { position: relative; isolation: isolate; }
.hero::before, .page-hero::before, .work-hero::before, .nf::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: center top;
  -webkit-mask-image: linear-gradient(#000 35%, transparent 100%);
  mask-image: linear-gradient(#000 35%, transparent 100%);
}

/* ---------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  border: 1px solid transparent; border-radius: var(--r-ctl);
  font: 500 1rem/1.2 var(--font);
  text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--gold); border-color: var(--gold); color: var(--ink); font-weight: 600; }
.btn-primary:hover { background: var(--gold-hover); border-color: var(--gold-hover); box-shadow: var(--glow); }
.btn-primary:focus-visible { box-shadow: var(--glow); }
.btn-outline { background: transparent; border-color: var(--line-mid); color: var(--text); }
.btn-outline:hover { border-color: var(--gold); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .9375rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; box-shadow: none; }

/* ---------------------------------------------------------------- Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 17, 31, 0.94);
  border-bottom: 1px solid transparent;
  transition: border-color .15s ease;
}
@supports ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
  .site-header {
    background: rgba(7, 17, 31, 0.72);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 8px; height: var(--header-h); }
.wordmark {
  display: inline-flex; align-items: baseline; margin-right: auto;
  font-family: var(--font); font-size: 1.3125rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1;
  color: var(--text); text-decoration: none;
}
.wordmark .wm-tech { color: var(--gold); }
.wm-dot { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; padding: 0;
  background: transparent; color: var(--text);
  border: 1px solid var(--line-mid); border-radius: var(--r-ctl); cursor: pointer;
  transition: border-color .15s ease;
}
.icon-btn:hover { border-color: var(--gold); }
.q-short { display: none; }
@media (max-width: 519.98px) {
  .q-long { display: none; }
  .q-short { display: inline; }
}
@media (max-width: 419.98px) { .site-header .wordmark { font-size: 1.1875rem; } }
.header-call { display: none; }
@media (min-width: 480px) { .header-call { display: inline-flex; } }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
@media (min-width: 960px) {
  .site-nav { margin-right: 6px; }
  .site-nav ul { display: flex; gap: 2px; }
  .site-nav a {
    display: block; padding: 8px 12px;
    color: var(--text-dim); font-size: .9375rem; font-weight: 500; text-decoration: none;
    transition: color .15s ease;
  }
  .site-nav a:hover { color: var(--text); }
  .site-nav a[aria-current="page"] {
    color: var(--text);
    text-decoration: underline; text-decoration-color: var(--gold);
    text-decoration-thickness: 2px; text-underline-offset: 10px;
  }
  .menu-btn, .nav-call { display: none !important; }
}
@media (max-width: 959.98px) {
  .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    padding: 4px var(--gutter) 20px;
    background: var(--bg);
    border-block: 1px solid var(--line);
  }
  .site-nav.is-open { display: block; }
  .site-nav li a {
    display: flex; align-items: center; min-height: 52px; padding: 0 14px;
    border-bottom: 1px solid var(--line);
    font-size: 1.0625rem; font-weight: 500; color: var(--text); text-decoration: none;
  }
  .site-nav li a[aria-current="page"] { background: var(--bg-raised); box-shadow: inset 2px 0 0 var(--gold); }
  .nav-call { margin-top: 16px; width: 100%; }
}

.lang-toggle {
  display: inline-flex; gap: 2px; padding: 2px;
  border: 1px solid var(--line-mid); border-radius: var(--r-ctl);
}
.lang-toggle button {
  appearance: none; min-width: 34px; height: 30px; padding: 0 8px;
  border: 0; border-radius: 4px; background: transparent; color: var(--text-dim);
  font: 500 .8125rem/1 var(--mono); cursor: pointer;
  transition: color .15s ease, background-color .15s ease;
}
.lang-toggle button:hover { color: var(--text); }
.lang-toggle button[aria-pressed="true"] { background: var(--bg-raised); color: var(--gold); }

/* ---------------------------------------------------------------- Footer */
.site-footer { padding: 40px 0 32px; background: var(--bg); border-top: 1px solid var(--line); color: var(--text-dim); }
.footer-inner { display: grid; gap: 24px; }
@media (min-width: 800px) { .footer-inner { grid-template-columns: 1fr auto; align-items: end; } }
.site-footer .wordmark { font-size: 1.375rem; }
.footer-tagline { margin-top: 10px; max-width: 44ch; font-size: .9375rem; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 0 20px; margin: 14px 0 0; padding: 0; list-style: none; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 40px; color: var(--text-dim); font-size: .9375rem; text-decoration: none; transition: color .15s ease; }
.footer-nav a:hover { color: var(--text); }
.footer-legal { margin-top: 8px; font-size: .875rem; }

/* ---------------------------------------------------------------- Page heroes (calm pages) */
.page-hero { padding-block: 56px 48px; }
@media (min-width: 900px) { .page-hero { padding-block: 104px 80px; } }
.page-hero h1 { max-width: 18ch; font-size: clamp(2.25rem, 1.3rem + 3.6vw, 3.75rem); line-height: 1.05; }
.page-hero p { max-width: 54ch; margin-top: 20px; color: var(--text-dim); font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); }
.page-hero .rule { display: block; width: 40px; height: 2px; margin-bottom: 24px; background: var(--gold); }

/* ---------------------------------------------------------------- CTA band (the one light section per page) */
.cta-band { --focus: var(--ink); padding-block: 64px; background: var(--light); color: var(--ink-dim); }
@media (min-width: 900px) { .cta-band { padding-block: 88px; } }
.cta-band .container { display: grid; gap: 28px; }
@media (min-width: 800px) { .cta-band .container { grid-template-columns: 1fr auto; align-items: center; gap: 48px; } }
.cta-band h2 { color: var(--ink); max-width: 20ch; }
.cta-band p { margin-top: 12px; max-width: 48ch; font-size: 1.125rem; }
.cta-band .btn-primary:focus-visible { outline-color: var(--ink); }

/* ---------------------------------------------------------------- Home hero */
.hero { padding-block: 48px 72px; overflow: hidden; } /* keeps the hero glow from widening the page */
@media (min-width: 1024px) { .hero { padding-block: 96px 112px; } }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; } }
.hero-title { max-width: 13.5ch; font-size: clamp(2.5rem, 1.3rem + 4.4vw, 4.5rem); line-height: 1.03; }
.h-word {
  display: inline-block; overflow: hidden; vertical-align: top;
  padding: .04em .02em .14em; margin: -.04em -.02em -.14em;
}
.h-word > span {
  display: inline-block;
  transition: transform .26s cubic-bezier(.3, .7, .2, 1), opacity .26s ease;
  transition-delay: calc(var(--i, 0) * 30ms);
}
.is-leaving .h-word > span { transform: translateY(-105%); opacity: 0; }
.is-entering .h-word > span { transform: translateY(105%); opacity: 0; transition: none; }
.h-mark { box-shadow: inset 0 -.12em 0 var(--gold); }
@media (prefers-reduced-motion: reduce) { .h-word > span { transition: none; } }
.hero-sub { max-width: 46ch; margin-top: 24px; color: var(--text-dim); font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-actions .btn { flex: 1 1 auto; }
@media (min-width: 600px) { .hero-actions .btn { flex: 0 0 auto; } }
.hero-place { display: flex; align-items: flex-start; gap: 10px; margin-top: 28px; color: var(--text-dim); font-size: .9375rem; line-height: 1.5; }
.pin { flex: 0 0 auto; width: 8px; height: 8px; margin-top: .5em; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(200, 50, 47, .22); }

/* Hero visual: code becomes a website. Decorative; height is reserved so nothing shifts. */
.hero-visual { position: relative; display: grid; justify-items: center; }
.hero-visual::before {
  content: ""; position: absolute; z-index: -1; inset: -8% -12%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(242, 179, 61, 0.13), transparent);
}
.demo { position: relative; width: 100%; max-width: 520px; height: 460px; }
@media (min-width: 600px) { .demo { height: 480px; } }
.demo-editor {
  position: absolute; left: 0; top: 0; width: 90%;
  background: var(--bg-raised); border: 1px solid var(--line-mid); border-radius: var(--r-panel); overflow: hidden;
}
.demo-chrome { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; background: var(--bg-sunken); border-bottom: 1px solid var(--line); }
.demo-chrome i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-mid); }
.demo-file { margin-left: 8px; font-family: var(--mono); font-size: .75rem; color: var(--text-dim); }
.demo-code { margin: 0; padding: 14px 0; list-style: none; font-family: var(--mono); font-size: 12px; white-space: pre; overflow: hidden; }
.demo-code li { display: flex; height: 22px; line-height: 22px; }
@media (min-width: 600px) { .demo-code { font-size: 13px; } .demo-code li { height: 24px; line-height: 24px; } }
.demo-ln { flex: 0 0 34px; padding-right: 12px; text-align: right; color: rgba(147, 164, 186, 0.5); }
.tk-p { color: var(--text-dim); }
.tk-tag { color: var(--gold); }
.tk-attr { color: #8FB8E8; }
.tk-str { color: #C7D8EC; }
.tk-txt { color: var(--text); }
.demo-caret { display: inline-block; width: 7px; height: 14px; margin-left: 1px; vertical-align: -2px; background: var(--gold); }
.demo.is-done .demo-caret { display: none; }
@media (prefers-reduced-motion: no-preference) { .demo-caret { animation: caret 1s steps(1) infinite; } }
@keyframes caret { 50% { opacity: 0; } }

.demo-phone {
  position: absolute; right: 0; bottom: 0; width: 158px; aspect-ratio: 9 / 18.5; padding: 7px;
  background: var(--bg-sunken); border: 1px solid var(--line-strong); border-radius: 26px;
}
@media (min-width: 600px) { .demo-phone { width: 186px; padding: 8px; border-radius: 30px; } }
.demo-screen {
  display: flex; flex-direction: column; height: 100%; overflow: hidden;
  background: var(--light); color: var(--ink); border-radius: 20px; font-family: var(--font);
}
.demo-bar { padding: 20px 12px 9px; background: var(--ink); color: var(--light); font-size: 11px; font-weight: 600; letter-spacing: -0.01em; }
.demo-hero { margin: 8px; padding: 14px 11px; background: var(--navy); color: #fff; border-radius: 8px; }
.demo-title { font-size: 14px; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
.demo-btn { display: inline-block; margin-top: 10px; padding: 5px 9px; background: var(--gold); color: var(--ink); border-radius: 5px; font-size: 10px; font-weight: 600; }
.demo-menu-title { margin: 6px 11px 2px; font-size: 11px; font-weight: 600; }
.demo-menu { margin: 0; padding: 0 11px; list-style: none; }
.demo-menu li { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid #D5DCE6; font-size: 10.5px; }
.demo-menu li::after { content: "+"; color: var(--ink-dim); }
.demo [data-step] { opacity: 0; transform: translateY(6px); }
.demo [data-step].is-on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) { .demo [data-step] { transition: opacity .3s ease, transform .3s ease; } }
/* The HTML holds the finished state for no-JS visitors; with JS the code starts hidden until home.js takes over. */
html:not(.js) .demo [data-step] { opacity: 1; transform: none; }
.js .demo:not(.is-live) .demo-code { visibility: hidden; }
.replay {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; margin-top: 14px; padding: 0 12px;
  background: transparent; border: 0; border-radius: var(--r-ctl); color: var(--text-dim);
  font: 500 .875rem/1 var(--font); cursor: pointer; transition: color .15s ease;
}
.replay:hover { color: var(--text); }
.replay svg { color: var(--gold); }

/* ---------------------------------------------------------------- Home sections */
.why { padding-block: 24px 72px; }
@media (min-width: 900px) { .why { padding-block: 32px 112px; } }
.why-item { padding-block: 28px; border-top: 1px solid var(--line); }
.why-item:last-child { border-bottom: 1px solid var(--line); }
.why-item h3 { font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.125rem); line-height: 1.12; letter-spacing: -0.02em; }
.why-item p { margin-top: 10px; max-width: 52ch; color: var(--text-dim); }
@media (min-width: 800px) {
  .why-item { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: baseline; padding-block: 36px; }
  .why-item p { margin-top: 0; font-size: 1.0625rem; }
}
.why-close { display: flex; gap: 14px; max-width: 40ch; margin-top: 40px; font-size: clamp(1.1875rem, 1rem + .8vw, 1.5rem); font-weight: 500; line-height: 1.35; letter-spacing: -0.01em; }
.why-close::before { content: ""; flex: 0 0 auto; width: 24px; height: 2px; margin-top: .7em; background: var(--gold); }

/* Screens: browser + phone frames */
.frame { margin: 0; overflow: hidden; background: var(--bg-raised); border: 1px solid var(--line-mid); border-radius: var(--r-panel); }
.frame-bar { display: flex; gap: 6px; padding: 10px 12px; background: var(--bg-sunken); border-bottom: 1px solid var(--line); }
.frame-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-mid); }
.frame-screen {
  position: relative; aspect-ratio: 16 / 10;
  background-color: #0A1626;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
}
.frame-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; color: transparent; }
.frame.is-missing img { display: none; }
.frame-placeholder {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 20px;
  font-size: clamp(1.0625rem, .9rem + 1.2vw, 1.75rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15;
  text-align: center; color: var(--text-dim);
}
.frame--phone { width: min(100%, 220px); margin-inline: auto; padding: 8px; background: var(--bg-sunken); border-color: var(--line-strong); border-radius: 30px; }
.frame--phone .frame-screen { aspect-ratio: 9 / 19; border-radius: 22px; overflow: hidden; }
.frame--phone .frame-placeholder { font-size: 1.0625rem; }

.feat-list { display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; }
.feat { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 16px; align-items: center; }
.feat .frame { border-radius: 8px; }
.feat .frame-bar { padding: 6px 8px; gap: 4px; }
.feat .frame-bar i { width: 5px; height: 5px; }
.feat .frame-placeholder { font-size: .8125rem; padding: 8px; }
.feat h3 { font-size: 1.125rem; }
.feat-type { margin-top: 2px; color: var(--text-dim); font-size: .875rem; }
.feat-line { margin-top: 6px; color: var(--text-dim); font-size: .9375rem; }
@media (min-width: 800px) {
  .feat-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .feat { grid-template-columns: 1fr; align-items: start; }
  .feat .frame-placeholder { font-size: 1.125rem; }
  .feat h3 { margin-top: 6px; font-size: 1.25rem; }
  .feat-line { font-size: 1rem; }
}

.ledger { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.ledger li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline; padding-block: 20px; border-bottom: 1px solid var(--line); }
.ledger-name { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; }
.ledger-price { grid-row: 1; grid-column: 2; color: var(--text-dim); text-align: right; white-space: nowrap; font-size: .9375rem; }
.ledger-price strong { font-family: var(--mono); font-size: 1.25rem; font-weight: 500; color: var(--text); }
.ledger-line { grid-column: 1 / -1; color: var(--text-dim); }
.ledger-tag { display: inline-flex; align-items: center; gap: 6px; margin-left: 12px; vertical-align: middle; color: var(--gold); font-size: .8125rem; font-weight: 500; letter-spacing: 0; }
.ledger-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
@media (min-width: 800px) {
  .ledger li { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) auto; padding-block: 24px; }
  .ledger-line { grid-column: auto; }
  .ledger-price { grid-row: auto; grid-column: auto; }
}

.step-line { display: flex; flex-wrap: wrap; gap: 14px 0; margin: 0; padding: 0; list-style: none; }
.step-line li { display: flex; align-items: center; font-size: clamp(1.0625rem, 1rem + .6vw, 1.375rem); font-weight: 500; letter-spacing: -0.01em; }
.step-line li:not(:last-child)::after { content: ""; width: 28px; height: 1px; margin: 0 14px; background: var(--line-mid); }
.step-n { margin-right: 10px; font-family: var(--mono); font-size: .8125rem; font-weight: 500; color: var(--gold); }

/* ---------------------------------------------------------------- Work page */
.work-hero { padding-block: 64px 72px; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .work-hero { padding-block: 112px 96px; } }
.work-hero h1 { max-width: 14ch; font-size: clamp(2.5rem, 1.2rem + 5vw, 4.75rem); line-height: 1.02; }
.work-hero h1::after { content: ""; display: block; width: 48px; height: 2px; margin-top: 28px; background: var(--gold); }
.work-hero p { max-width: 50ch; margin-top: 24px; color: var(--text-dim); font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); }
.jump { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 28px 0 0; padding: 0; list-style: none; }
.jump a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 500; text-decoration: none; }
.jump a::before { content: "→"; font-family: var(--mono); color: var(--gold); }
.jump a:hover { color: var(--gold); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.chip {
  min-height: 38px; padding: 0 16px;
  background: transparent; color: var(--text-dim);
  border: 1px solid var(--line-mid); border-radius: 999px;
  font: 500 .9375rem/1 var(--font); cursor: pointer;
  transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}
.chip:hover { color: var(--text); border-color: var(--text-dim); }
.chip[aria-pressed="true"] { color: var(--gold); border-color: var(--gold); background: var(--gold-soft); }
.filter-status { margin-bottom: 36px; color: var(--text-dim); font-family: var(--mono); font-size: .8125rem; }

.cases { display: flex; flex-wrap: wrap; gap: 24px; }
.case {
  flex: 1 1 100%; container-type: inline-size;
  padding: 20px; background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--r-panel);
}
@media (min-width: 600px) { .case { padding: 28px; } }
.case--sm { flex: 1 1 calc(50% - 12px); min-width: min(100%, 320px); }
.cases > .case:first-child { border-color: var(--gold); }
.case-inner { display: grid; gap: 24px; }
@container (min-width: 700px) {
  .case-inner { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: center; }
  .case--rev .case-media { order: 2; }
  .case--dark .case-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
}
.case-head h3 { font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2rem); letter-spacing: -0.02em; }
.case-type { margin-top: 4px; color: var(--text-dim); font-size: .9375rem; }
.case-story { display: grid; gap: 14px; margin: 20px 0 0; }
.case-story div { padding-left: 14px; border-left: 1px solid var(--line-mid); }
.case-story div:last-child { border-left-color: var(--gold); }
.case-story dt { font-size: .875rem; font-weight: 600; color: var(--text); }
.case-story dd { margin: 2px 0 0; color: var(--text-dim); font-size: .9688rem; }
.case-story div:last-child dd { color: var(--text); }
.case .link-ext { margin-top: 12px; }
.link-ext { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 500; }
.link-ext svg { flex: 0 0 auto; color: var(--gold); }
.case--dark { background: var(--navy); border-color: rgba(148, 178, 214, 0.25); }
.case--dark .case-type, .case--dark .case-story dd { color: #C3D0E0; }
.case--dark .frame--phone { width: min(100%, 200px); }
@media (prefers-reduced-motion: no-preference) {
  .case.is-revealed { animation: case-in .15s ease both; }
  @keyframes case-in { from { opacity: 0; } to { opacity: 1; } }
}

.tabs { display: grid; gap: 24px; }
@media (min-width: 900px) { .tabs { grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; } }
.tablist {
  position: relative; display: flex; gap: 2px;
  margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter);
  overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line);
}
.tablist::-webkit-scrollbar { display: none; }
@media (min-width: 900px) {
  .tablist { flex-direction: column; margin: 0; padding: 0; overflow: visible; border-bottom: 0; border-left: 1px solid var(--line); }
}
/* Without JavaScript the tabs can't switch, so hide the tab buttons and show every panel. */
html:not(.js) .tablist { display: none; }
html:not(.js) .tabpanel[hidden] { display: block !important; }
.tab {
  flex: 0 0 auto; min-height: 48px; padding: 0 14px;
  background: transparent; color: var(--text-dim); border: 0;
  font: 500 .9688rem/1.2 var(--font); text-align: left; cursor: pointer; white-space: nowrap;
  transition: color .15s ease;
}
@media (min-width: 900px) { .tab { padding: 12px 20px; white-space: normal; } }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { color: var(--text); }
.tab-indicator { position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--gold); pointer-events: none; }
@media (min-width: 900px) { .tab-indicator { left: -1px; top: 0; bottom: auto; width: 2px; height: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .tab-indicator.is-ready { transition: transform .2s ease, width .2s ease, height .2s ease; }
}
.tabpanel { padding: 4px 0; }
html:not(.js) .tabpanel + .tabpanel { margin-top: 48px; }
.tabpanel h3 { font-size: clamp(1.25rem, 1.1rem + .8vw, 1.625rem); }
.build-list { display: grid; gap: 0 40px; margin: 20px 0 28px; padding: 0; list-style: none; }
@media (min-width: 700px) { .build-list { grid-template-columns: 1fr 1fr; } }
.build-list li { display: grid; grid-template-columns: 8px 1fr; gap: 0 14px; padding-block: 16px; border-top: 1px solid var(--line); }
.build-list li::before { content: ""; width: 6px; height: 6px; margin-top: .6em; background: var(--gold); border-radius: 1px; }
.build-list strong { font-weight: 600; }
.build-list span { grid-column: 2; color: var(--text-dim); }

.caps {
  display: grid; gap: 1px; margin: 0; padding: 0; list-style: none;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--r-panel); overflow: hidden;
}
@media (min-width: 600px) { .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; } }
@media (min-width: 960px) { .caps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cap { display: grid; align-content: start; gap: 8px; padding: 24px 22px; background: var(--bg-raised); }
.cap svg { width: 26px; height: 26px; color: var(--gold); stroke-width: 1.5; }
.cap h3 { font-size: 1.0625rem; }
.cap p { color: var(--text-dim); font-size: .9375rem; }
.cap--hero { padding: 32px 28px; background: var(--navy); }
.cap--hero svg { width: 40px; height: 40px; }
.cap--hero h3 { font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.125rem); }
.cap--hero p { color: #C3D0E0; font-size: 1.0625rem; max-width: 30ch; }
.cap--warm { background: #121A24; background: color-mix(in srgb, var(--gold) 6%, var(--bg)); }
.cap--plain { background: var(--bg); }
@media (min-width: 600px) { .cap--hero, .cap--wide { grid-column: span 2; } }
@media (min-width: 960px) { .cap--hero { grid-row: span 2; align-content: end; } }

.table-scroll { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-panel); }
.data-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.data-table caption { text-align: left; }
.data-table th, .data-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.data-table tbody tr:last-child > * { border-bottom: 0; }
.data-table thead th { color: var(--text-dim); font-size: .875rem; font-weight: 500; }
.data-table tbody th { font-weight: 500; color: var(--text); }
.compare-table { min-width: 560px; }
.compare-table .col-st { background: var(--bg-raised); color: var(--text); }
.compare-table thead .col-st { color: var(--gold); font-weight: 600; }
.compare-table .col-st svg { color: var(--gold); }
.compare-table .col-tpl { color: var(--text-dim); }
.mark { display: inline-flex; align-items: flex-start; gap: 8px; }
.mark svg { flex: 0 0 auto; margin-top: .2em; }

.testimonials { display: grid; gap: 24px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 800px) { .testimonials { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.testimonial blockquote { margin: 0; font-size: 1.25rem; line-height: 1.4; }
.testimonial figcaption { margin-top: 12px; color: var(--text-dim); }

/* ---------------------------------------------------------------- Packages */
.pkg-grid { display: grid; gap: 16px; }
@media (min-width: 960px) { .pkg-grid { grid-template-columns: 1fr 1.08fr 1fr; gap: 20px; padding-block: 16px; } }
.pkg { display: flex; flex-direction: column; padding: 28px 24px; background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--r-panel); }
.pkg-name { font-size: 1.5rem; }
.pkg-tag { order: -1; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 12px; color: var(--gold); font-size: .8125rem; font-weight: 500; }
.pkg-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.pkg-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 14px; color: var(--text-dim); font-size: .9375rem; }
.pkg-amount { font-family: var(--mono); font-size: 2.5rem; font-weight: 500; line-height: 1; letter-spacing: -0.04em; color: var(--text); }
.pkg-desc { margin-top: 16px; color: var(--text-dim); }
.pkg-list { display: grid; gap: 10px; margin: 20px 0 28px; padding: 18px 0 0; list-style: none; border-top: 1px solid var(--line); }
.pkg-list li { position: relative; padding-left: 26px; font-size: .9688rem; }
.pkg-list li::before {
  content: ""; position: absolute; left: 2px; top: .45em; width: 11px; height: 6px;
  border-left: 1.5px solid var(--text-dim); border-bottom: 1.5px solid var(--text-dim); transform: rotate(-45deg);
}
.pkg .btn { margin-top: auto; }
.pkg--grow { border-color: var(--gold); }
.pkg--grow .pkg-list li::before { border-color: var(--gold); }
@media (min-width: 960px) { .pkg--grow { margin-block: -16px; padding: 36px 30px; } }
.pkg--custom { background: transparent; border-style: dashed; border-color: var(--line-mid); }

.tier-table { min-width: 620px; }
.tier-table thead th:not(:first-child), .tier-table td { text-align: center; }
.tier-table thead th:not(:first-child) { color: var(--text); font-size: .9375rem; font-weight: 600; }
.tier-table .is-grow { background: var(--bg-raised); }
.tier-table thead .is-grow { color: var(--gold); }
.tier-table tfoot th, .tier-table tfoot td { border-top: 1px solid var(--line-mid); border-bottom: 0; }
.tier-table tfoot td { font-family: var(--mono); font-size: .8438rem; color: var(--text); }
.cell { display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: var(--text); }
.is-grow .cell { color: var(--gold); }
.cell--no, .is-grow .cell--no { color: var(--text-dim); }
.cell--soft, .is-grow .cell--soft { color: var(--text-dim); font-size: .875rem; }

.addons { display: grid; gap: 0 48px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 800px) { .addons { grid-template-columns: 1fr 1fr; } }
.addons li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding-block: 18px; border-top: 1px solid var(--line); }
.addons strong { font-size: 1.0938rem; font-weight: 600; }
.addons .addon-price { color: var(--text-dim); font-size: .8125rem; white-space: nowrap; }
.addons .addon-d { grid-column: 1 / -1; color: var(--text-dim); }

.faq { max-width: 50rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 60px; padding-block: 14px; cursor: pointer; list-style: none;
  font-size: 1.0938rem; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: 0 0 auto; width: 12px; height: 12px;
  background:
    linear-gradient(var(--gold), var(--gold)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) center / 1.5px 12px no-repeat;
}
.faq details[open] summary::after { background: linear-gradient(var(--gold), var(--gold)) center / 12px 1.5px no-repeat; }
.faq details p { max-width: 64ch; padding-bottom: 20px; color: var(--text-dim); }

/* ---------------------------------------------------------------- Process */
.steps-full { display: grid; margin: 0; padding: 0; list-style: none; }
.step-full { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 0 18px; padding-bottom: 44px; }
.step-full:last-child { padding-bottom: 0; }
.step-full::before { content: ""; position: absolute; left: 21px; top: 52px; bottom: 8px; width: 1px; background: var(--line-mid); }
.step-full:last-child::before { display: none; }
.step-big {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid rgba(242, 179, 61, 0.6); border-radius: 50%;
  font-family: var(--mono); font-size: .875rem; font-weight: 500; color: var(--gold);
}
.step-full h3 { padding-top: 8px; font-size: clamp(1.375rem, 1.15rem + .9vw, 1.75rem); }
.step-full .step-sum { margin-top: 6px; color: var(--text-dim); font-size: 1.0625rem; max-width: 56ch; }
.step-parts { display: grid; gap: 14px; margin: 20px 0 0; }
.step-parts div { padding-left: 14px; border-left: 1px solid var(--line-mid); }
.step-parts dt { font-size: .875rem; font-weight: 600; }
.step-parts dd { margin: 2px 0 0; color: var(--text-dim); font-size: .9688rem; }
@media (min-width: 1024px) {
  .steps-full { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .step-full, .step-full:last-child { display: block; padding: 0; }
  .step-full::before { left: 56px; right: -20px; top: 22px; bottom: auto; width: auto; height: 1px; }
  .step-full h3 { padding-top: 24px; }
}

.steps-note { max-width: none; display: flex; gap: 12px; align-items: baseline; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--text-dim); }
.steps-note::before { content: ""; flex: 0 0 auto; width: 6px; height: 6px; background: var(--gold); border-radius: 1px; transform: translateY(-2px); }
.checklist { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; max-width: 44rem; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.0625rem; }
.checklist li::before {
  content: ""; flex: 0 0 auto; width: 20px; height: 20px; margin-top: .2em;
  border: 1px solid var(--line-strong); border-radius: 4px;
  background: linear-gradient(var(--gold), var(--gold)) center / 8px 8px no-repeat;
}
.split { display: grid; gap: 32px; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 64px; align-items: start; } }
.after-list { display: grid; margin: 24px 0 0; padding: 0; list-style: none; }
.after-list li { padding-block: 14px; border-top: 1px solid var(--line); }
.after-list strong { display: block; font-size: 1.0938rem; font-weight: 600; }
.after-list span { color: var(--text-dim); }

/* ---------------------------------------------------------------- About */
.about-body { max-width: 62ch; font-size: 1.125rem; line-height: 1.65; }
.facts { display: grid; margin: 48px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.facts li { display: flex; gap: 12px; align-items: baseline; padding-block: 14px; border-bottom: 1px solid var(--line); font-size: 1rem; font-weight: 500; line-height: 1.35; }
.facts li::before { content: ""; flex: 0 0 auto; width: 6px; height: 6px; background: var(--gold); border-radius: 1px; transform: translateY(-2px); }
@media (min-width: 600px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
@media (min-width: 960px) {
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 0; border-bottom: 1px solid var(--line); }
  .facts li { flex-direction: column; gap: 14px; padding: 22px 24px 24px 0; border-bottom: 0; }
  .facts li + li { padding-left: 24px; border-left: 1px solid var(--line); }
}
.page-hero .facts li { color: var(--text); }
.values { display: grid; gap: 0 48px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 800px) { .values { grid-template-columns: 1fr 1fr; } }
.values li { padding-block: 24px; border-top: 1px solid var(--line-mid); }
.values h3 { font-size: clamp(1.25rem, 1.1rem + .7vw, 1.5rem); }
.values p { margin-top: 8px; color: var(--text-dim); max-width: 44ch; }
.area-body { max-width: 40ch; margin-top: 20px; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 500; line-height: 1.35; letter-spacing: -0.015em; }

/* ---------------------------------------------------------------- Contact */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 960px) {
  .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; }
  .contact-aside { position: sticky; top: calc(var(--header-h) + 24px); }
}
.contact-aside > p { color: var(--text-dim); max-width: 42ch; }
.direct { display: grid; gap: 4px; margin: 20px 0 0; padding: 0; list-style: none; }
.direct a { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; font-size: 1.0625rem; font-weight: 500; text-decoration: none; }
.direct svg { color: var(--gold); }
.direct a:hover span:last-child { text-decoration: underline; }
.aside-facts { margin: 24px 0 0; border-top: 1px solid var(--line); }
.aside-facts div { padding-block: 14px; border-bottom: 1px solid var(--line); }
.aside-facts dt { font-size: .875rem; font-weight: 600; }
.aside-facts dd { margin: 2px 0 0; color: var(--text-dim); }

.form { display: grid; gap: 22px; padding: 24px 20px; border: 1px solid var(--line); border-radius: var(--r-panel); }
@media (min-width: 600px) { .form { padding: 32px; } }
.form-row { display: grid; gap: 16px; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { padding: 0; color: var(--text); font-size: .9375rem; font-weight: 500; }
.field legend { margin-bottom: 6px; }
.optional { color: var(--text-dim); font-weight: 400; }
.req { color: var(--gold); }
.form-required { color: var(--text-dim); font-size: .875rem; }
.hint { color: var(--text-dim); font-size: .9375rem; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 12px;
  font: inherit; font-size: 1rem; color: var(--text);
  background: var(--bg-raised); border: 1px solid var(--line-strong); border-radius: var(--r-ctl);
  transition: border-color .15s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field textarea { min-height: 136px; resize: vertical; line-height: 1.5; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23F2B33D' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--text-dim); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-color: var(--gold); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: .9375rem; font-weight: 500; }
.counter { color: var(--text-dim); font-family: var(--mono); font-size: .75rem; text-align: right; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.radio { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 400; cursor: pointer; }
.radio input { width: 18px; height: 18px; margin: 0; accent-color: var(--gold); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 14px 16px; border-radius: var(--r-ctl); background: var(--bg-raised); font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-success { color: var(--text); border-left: 2px solid var(--gold); }
.form-status.is-error { color: var(--error); border-left: 2px solid var(--error); }

/* ---------------------------------------------------------------- 404 */
.nf { padding-block: 72px 96px; }
@media (min-width: 900px) { .nf { padding-block: 128px; } }
.nf p.nf-code { margin: 0; font-family: var(--mono); font-size: clamp(5rem, 3rem + 10vw, 10rem); font-weight: 400; line-height: .9; letter-spacing: -0.06em; color: var(--text-dim); }
.nf h1 { max-width: 16ch; margin-top: 20px; font-size: clamp(2rem, 1.3rem + 3vw, 3rem); }
.nf p { max-width: 48ch; margin-top: 16px; color: var(--text-dim); font-size: 1.125rem; }
.nf-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }

/* ---------------------------------------------------------------- v3: shared bits */
.page-hero--compact { padding-block: 48px 40px; }
@media (min-width: 900px) { .page-hero--compact { padding-block: 80px 56px; } }
.mini-title { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }
.credit-note { margin-top: 24px; color: var(--text-dim); font-size: .9375rem; }
.note { margin-top: 16px; color: var(--text-dim); font-size: .9375rem; max-width: 62ch; }
.link-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.link-row .more-link { margin-top: 16px; }
.link-row .link-ext { margin-top: 16px; }
.teaser-row { display: grid; gap: 20px; align-items: center; }
@media (min-width: 800px) { .teaser-row { grid-template-columns: 1fr auto; gap: 40px; } }
.teaser-text { max-width: 34ch; font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); font-weight: 500; line-height: 1.25; }
.field input[type="url"], .field input[type="number"] {
  width: 100%; min-height: 48px; padding: 11px 12px; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--bg-raised); border: 1px solid var(--line-strong); border-radius: var(--r-ctl);
}
.field input[type="url"]:focus-visible, .field input[type="number"]:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-color: var(--gold); }
.field input[type="url"] + input[type="url"] { margin-top: 8px; }
input[type="checkbox"] { accent-color: var(--gold); }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; cursor: pointer; }
.check input { flex: 0 0 auto; width: 20px; height: 20px; margin: .15em 0 0; }
.check a { font-weight: 500; }

/* ---------------------------------------------------------------- v3: packages */
.pkg-price strong { font-family: var(--mono); font-size: 2.25rem; font-weight: 500; letter-spacing: -0.04em; color: var(--text); line-height: 1; }
.pkg-note { margin-top: 8px; color: var(--gold); font-size: .875rem; }
.pkg-q { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 6px; color: var(--text-dim); font-size: .9375rem; }
.pkg-q:hover { color: var(--text); }
.svc-list { display: grid; gap: 1px; margin: 0; padding: 0; list-style: none; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-panel); overflow: hidden; }
@media (min-width: 700px) { .svc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .svc-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.svc { display: grid; grid-template-columns: 1fr auto; align-content: start; gap: 6px 16px; padding: 22px 20px; background: var(--bg-raised); }
.svc h3 { grid-column: 1; font-size: 1.0625rem; }
.svc-price { grid-column: 2; grid-row: 1; font-family: var(--mono); font-size: 1.125rem; color: var(--text); }
.svc-desc { grid-column: 1 / -1; color: var(--text-dim); font-size: .9375rem; }
.svc .btn { grid-column: 1 / -1; justify-self: start; margin-top: 8px; }
.svc-list > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 1024px) { .svc-list > li:last-child:nth-child(odd) { grid-column: auto; } .svc-list > li:last-child:nth-child(3n+1) { grid-column: 1 / -1; } }
.addons-sub { margin-top: 40px; font-size: 1.125rem; color: var(--text-dim); font-weight: 500; }
.addons .addon-avail { grid-column: 1 / -1; color: var(--gold); font-size: .8125rem; }
.addons .addon-price { font-family: var(--mono); color: var(--text); font-size: .9375rem; }
.addons .addon-price--quoted { font-family: var(--font); color: var(--text-dim); font-size: .8125rem; }
.tier-table { min-width: 520px; }
.tier-table tfoot td strong { font-weight: 500; }

/* ---------------------------------------------------------------- v3: software */
.software-hero .hero-actions { margin-top: 32px; }
.pricing-panel { display: grid; gap: 14px; padding: 28px 24px; background: var(--bg-raised); border: 1px solid var(--gold); border-radius: var(--r-panel); }
@media (min-width: 700px) { .pricing-panel { padding: 40px; } }
.pricing-line { font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); max-width: 62ch; }
.pricing-line + .pricing-line { color: var(--text-dim); }

/* ---------------------------------------------------------------- v3: start */
.start-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) {
  .start-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
  .start-aside { position: sticky; top: calc(var(--header-h) + 24px); }
}
.start-form { display: grid; gap: 20px; }
.start-block { display: grid; gap: 16px; margin: 0; padding: 22px 20px; min-width: 0; background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--r-panel); }
@media (min-width: 600px) { .start-block { padding: 28px; } }
.block-title { padding: 0; font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.01em; }
/* Float the legend so it sits inside the panel instead of on its border. */
.start-block > legend.block-title { float: left; width: 100%; margin: 0; }
.pick-row { display: grid; gap: 12px; }
@media (min-width: 600px) { .pick-row { grid-template-columns: 1fr 1fr; } }
.pick { position: relative; display: grid; gap: 4px; padding: 16px 16px 16px 48px; background: var(--bg); border: 1px solid var(--line-mid); border-radius: var(--r-panel); cursor: pointer; transition: border-color .15s ease; }
.pick:hover { border-color: var(--text-dim); }
.pick input { position: absolute; left: 16px; top: 19px; width: 18px; height: 18px; margin: 0; accent-color: var(--gold); }
.pick:has(input:checked) { border-color: var(--gold); }
.pick:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.pick-name { font-weight: 600; }
.pick-price { color: var(--text-dim); font-size: .9375rem; }
.pick-price strong { font-family: var(--mono); font-weight: 500; color: var(--text); }
.pick-included .pkg-list { margin: 10px 0 12px; }
.pick-links { color: var(--text-dim); font-size: .9375rem; }
.field-note { color: var(--gold); font-size: .9375rem; }
.field-note:empty { display: none; }
.extras { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.extra { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 4px 12px; align-items: start; padding-block: 14px; border-bottom: 1px solid var(--line); }
.extra > input { width: 20px; height: 20px; margin: .2em 0 0; }
.extra-label { display: grid; gap: 2px; cursor: pointer; }
.extra-name { font-weight: 500; }
.extra-desc { color: var(--text-dim); font-size: .9375rem; }
.extra-price { font-family: var(--mono); font-size: .9375rem; white-space: nowrap; }
.stepper { grid-column: 2 / -1; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; }
.step-btn { width: 40px; height: 40px; background: var(--bg); color: var(--text); border: 1px solid var(--line-strong); border-radius: var(--r-ctl); font: 500 1.125rem/1 var(--mono); cursor: pointer; }
.step-btn:disabled { opacity: .4; cursor: not-allowed; }
.step-qty { width: 64px !important; min-height: 40px !important; text-align: center; font-family: var(--mono); background: var(--bg-raised); color: var(--text); border: 1px solid var(--line-strong); border-radius: var(--r-ctl); }
.step-qty:disabled { opacity: .5; }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 600px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.svc-price-big { font-family: var(--mono); font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); font-weight: 500; letter-spacing: -0.04em; }
.start-pay { display: grid; gap: 12px; padding: 22px 20px; background: var(--bg-raised); border: 1px solid var(--gold); border-radius: var(--r-panel); }
@media (min-width: 600px) { .start-pay { padding: 28px; } }
.summary-line { margin-top: 6px; font-family: var(--mono); font-size: .9375rem; line-height: 1.6; color: var(--text); }
.trust { color: var(--text-dim); font-size: .875rem; }
.next-steps { display: grid; gap: 14px; margin: 14px 0 0; padding: 0; list-style: none; counter-reset: next; }
.next-steps li { position: relative; padding-left: 40px; color: var(--text-dim); counter-increment: next; }
.next-steps li::before { content: counter(next, decimal-leading-zero); position: absolute; left: 0; top: 0; font-family: var(--mono); font-size: .875rem; color: var(--gold); }

/* ---------------------------------------------------------------- v3: onboarding */
.ob-order { margin-top: 12px; font-family: var(--mono); font-size: .875rem; color: var(--gold); }
.ob-state { display: grid; gap: 12px; justify-items: start; padding: 32px 0; }
.ob-state-title { font-size: 1.375rem; font-weight: 500; }
.ob-state:empty { display: none; }
.ob-layout { display: grid; gap: 32px; }
@media (min-width: 1024px) { .ob-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; } .ob-nav { position: sticky; top: calc(var(--header-h) + 24px); } }
.ob-progress-text { font-family: var(--mono); font-size: .8125rem; color: var(--text-dim); }
.ob-bar { height: 4px; margin-top: 10px; background: var(--line); border-radius: 2px; overflow: hidden; }
.ob-bar span { display: block; height: 100%; width: 0; background: var(--gold); }
@media (prefers-reduced-motion: no-preference) { .ob-bar span { transition: width .15s ease; } }
.ob-steps { display: none; margin: 16px 0 0; padding: 0; list-style: none; }
@media (min-width: 1024px) { .ob-steps { display: grid; gap: 2px; } }
.ob-steps a { display: flex; align-items: center; gap: 8px; min-height: 36px; color: var(--text-dim); font-size: .9375rem; text-decoration: none; }
.ob-steps a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; border: 1px solid var(--line-strong); }
.ob-steps .is-started a { color: var(--text); }
.ob-steps .is-started a::before { background: var(--gold); border-color: var(--gold); }
.ob-saved { margin-top: 14px; min-height: 1.5em; font-size: .8125rem; color: var(--text-dim); }
.ob-form { display: grid; gap: 20px; min-width: 0; }
.ob-section { display: grid; gap: 18px; padding: 24px 20px; background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--r-panel); }
@media (min-width: 600px) { .ob-section { padding: 32px; } }
.ob-section h2 { display: flex; align-items: baseline; gap: 12px; font-size: 1.375rem; }
.ob-num { font-family: var(--mono); font-size: .875rem; font-weight: 500; color: var(--gold); }
.ob-intro, .ob-note { color: var(--text-dim); }
.ob-note { color: var(--gold); }
.ob-warn { padding: 12px 14px; border-left: 2px solid var(--gold); background: var(--bg); color: var(--text); font-size: .9375rem; }
.ob-conditional { display: grid; gap: 18px; }
.ob-conditional:empty { display: none; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-mid); border-radius: 999px; font-size: .9375rem; cursor: pointer; transition: border-color .15s ease; }
.choice:hover { border-color: var(--text-dim); }
.choice input { width: 16px; height: 16px; margin: 0; accent-color: var(--gold); }
.choice:has(input:checked) { border-color: var(--gold); color: var(--text); }
.choice:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.choice-suffix { color: var(--text-dim); }
.field--check { display: block; }
.uploader { display: grid; gap: 8px; padding: 18px; border: 1px dashed var(--line-strong); border-radius: var(--r-panel); }
.up-label { font-weight: 500; }
.up-input { max-width: 100%; color: var(--text-dim); font: inherit; font-size: .9375rem; }
.up-input::file-selector-button { margin-right: 12px; min-height: 40px; padding: 0 14px; background: transparent; color: var(--text); border: 1px solid var(--line-mid); border-radius: var(--r-ctl); font: 500 .9375rem var(--font); cursor: pointer; }
.up-input::file-selector-button:hover { border-color: var(--gold); }
.up-error:empty { display: none; }
.up-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.up-list:empty { display: none; }
.up-item { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 6px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-ctl); }
.up-item.is-uploading { grid-template-columns: minmax(0, 1fr) 120px; padding: 10px 12px; }
.up-thumb { width: 48px; height: 48px; object-fit: cover; border-radius: 4px; background: var(--bg-raised); }
.up-thumb--doc { display: grid; place-items: center; font-family: var(--mono); font-size: .6875rem; color: var(--text-dim); border: 1px solid var(--line); }
.up-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9375rem; }
.up-size { font-family: var(--mono); font-size: .75rem; color: var(--text-dim); }
.up-remove { min-height: 36px; padding: 0 10px; background: transparent; color: var(--text-dim); border: 1px solid var(--line-mid); border-radius: var(--r-ctl); font: 500 .8125rem var(--font); cursor: pointer; }
.up-remove:hover { color: var(--text); border-color: var(--error); }
.up-progress { width: 100%; accent-color: var(--gold); }
@media (max-width: 480px) { .up-item { grid-template-columns: 40px minmax(0, 1fr) auto; } .up-thumb { width: 40px; height: 40px; } .up-size { display: none; } }
.ob-submit { display: grid; gap: 10px; justify-items: start; }
.ob-thanks { display: grid; gap: 14px; justify-items: start; padding: 32px 0; }
.ob-thanks h2 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem); }
.ob-thanks p { color: var(--text-dim); font-size: 1.125rem; }

/* ---------------------------------------------------------------- v3: legal */
.legal-updated { font-family: var(--mono); font-size: .875rem !important; }
.legal { max-width: 70ch; }
.legal h2 { margin-top: 36px; font-size: 1.25rem; letter-spacing: -0.01em; }
.legal h2:first-child { margin-top: 0; }
.legal p { margin-top: 10px; color: var(--text-dim); }

/* ---------------------------------------------------------------- v3.2: Power Platform & Copilot */
.teaser-sub { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; margin: 0; color: var(--text-dim); }
.teaser-sub .more-link { margin-top: 0; color: var(--text); }
.build-more { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; margin-top: 24px; color: var(--text-dim); }
.build-more .more-link { margin-top: 0; color: var(--text); }
.cap-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 4px; font-size: .9375rem; font-weight: 500; color: var(--text); text-decoration: none; }
.cap-link svg { width: 14px; height: 14px; color: var(--gold); stroke-width: 2; transition: transform .15s ease; }
.cap-link:hover { color: var(--gold); }
.cap-link:hover svg { transform: translateX(3px); }

.pp-cred { max-width: none !important; display: inline-flex; align-items: center; gap: 10px; margin-top: 28px !important; padding: 8px 14px; border: 1px solid var(--line-mid); border-radius: 999px; font-family: var(--mono); font-size: .8125rem !important; color: var(--text) !important; }
.pp-cred svg { flex: 0 0 auto; color: var(--gold); }

/* Copilot section: the page's second highlight — deep navy band with a gold edge and grid. */
.pp-ai { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(160deg, #0F2A4A 0%, var(--bg-raised) 55%, var(--bg) 100%); border-block: 1px solid var(--gold); }
.pp-ai::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse at 85% 0%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 85% 0%, #000 0%, transparent 70%);
}
.pp-ai::after { content: ""; position: absolute; z-index: -1; top: -180px; right: -140px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 179, 61, 0.16), transparent 65%); pointer-events: none; }
.pp-ai-head { max-width: 46rem; margin-bottom: 48px; }
.pp-ai-head h2 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.25rem); line-height: 1.08; }
.pp-ai-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.pp-ai-tags span { padding: 4px 10px; border: 1px solid rgba(242, 179, 61, 0.45); border-radius: 999px; font-family: var(--mono); font-size: .75rem; color: var(--gold); }
.pp-ai-list { display: grid; gap: 1px; margin: 0; padding: 0; list-style: none; background: var(--line-mid); border: 1px solid var(--line-mid); border-radius: var(--r-panel); overflow: hidden; }
@media (min-width: 700px) { .pp-ai-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .pp-ai-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pp-ai-list li { display: grid; align-content: start; gap: 8px; padding: 26px 24px; background: rgba(7, 17, 31, 0.72); }
.pp-ai-n { font-family: var(--mono); font-size: .8125rem; color: var(--gold); }
.pp-ai-list h3 { font-size: 1.125rem; }
.pp-ai-list p { color: var(--text-dim); font-size: .9688rem; }
.pp-ai-note { display: flex; gap: 12px; align-items: baseline; margin-top: 28px; color: var(--text-dim); font-size: .9375rem; max-width: 70ch; }
.pp-ai-note::before { content: ""; flex: 0 0 auto; width: 6px; height: 6px; background: var(--gold); border-radius: 1px; transform: translateY(-2px); }

.pp-paths { display: grid; gap: 20px; }
@media (min-width: 900px) { .pp-paths { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 28px; align-items: stretch; } }
.pp-path { display: flex; flex-direction: column; gap: 14px; padding: 28px 24px; border-radius: var(--r-panel); }
@media (min-width: 600px) { .pp-path { padding: 36px; } }
.pp-path .btn { align-self: flex-start; margin-top: auto; }
.pp-path p { color: var(--text-dim); }
.pp-path h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.pp-path-when { font-family: var(--mono); font-size: .8125rem; color: var(--gold) !important; }
.pp-path--health { background: var(--bg-raised); border: 1px solid var(--gold); box-shadow: 0 24px 60px -36px rgba(242, 179, 61, 0.45); }
.pp-path-price strong { font-family: var(--mono); font-size: 2.5rem; font-weight: 500; letter-spacing: -0.04em; line-height: 1; color: var(--text); }
.pp-path-credit { font-size: .9375rem; }
.pp-path--health .pp-path-credit { padding-bottom: 8px; }
.pp-path--new { background: transparent; border: 1px dashed var(--line-strong); }
.pp-path-steps { display: grid; margin: 4px 0 0; padding: 0; list-style: none; counter-reset: pp; }
.pp-path-steps li { display: grid; grid-template-columns: 34px 1fr; align-items: baseline; padding-block: 12px; border-top: 1px solid var(--line); counter-increment: pp; font-weight: 500; }
.pp-path-steps li::before { content: counter(pp, decimal-leading-zero); font-family: var(--mono); font-size: .8125rem; font-weight: 400; color: var(--gold); }
.pp-path-steps li:last-child { border-bottom: 1px solid var(--line); }
.pp-path-line { margin-top: 6px; color: var(--text) !important; }
.pp-path-line strong { font-family: var(--mono); font-weight: 500; }
.pp-path--new .pp-path-credit { margin-top: -8px; padding-bottom: 8px; }
.pp-license { align-content: start; }

.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-outline { color: var(--ink); border-color: rgba(11, 22, 38, 0.35); }
.cta-band .btn-outline:hover { border-color: var(--ink); }
