/* ==========================================================================
   MakeMyTools — design system
   Direction: established software services firm.
   Light canvas, white cards, one deep blue used as mass, real product UI.
   Type: Archivo (display + UI) · Archivo Narrow (numerals) · JetBrains Mono (data)
   ========================================================================== */

/* ---------- fonts (self-hosted, latin subset) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2");
  font-weight: 400 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo Narrow";
  src: url("../fonts/archivo-narrow.woff2") format("woff2");
  font-weight: 500 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrainsmono-roman.woff2") format("woff2");
  font-weight: 400 500; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- tokens ---------- */
:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #eef1f6;

  --ink: #0d1420;
  --ink-2: #45505f;
  --muted: #64707f;

  --line: #e2e7ee;
  --line-2: #cbd3de;

  --brand: #16428f;
  --brand-2: #1f56b8;
  --brand-tint: #eaf0fb;
  --brand-soft: #9dbdf5;

  --ok: #127a4a;
  --ok-tint: #e6f4ec;
  --warn: #9a6412;
  --warn-tint: #fbf1de;

  --navy: #0d1a2b;
  --navy-2: #081320;
  --on-dark: #eef2f8;
  --on-dark-dim: rgba(238, 242, 248, .74);
  --on-dark-line: rgba(255, 255, 255, .14);

  --sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --narrow: "Archivo Narrow", "Archivo", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(13, 20, 32, .05);
  --shadow: 0 1px 2px rgba(13, 20, 32, .04), 0 14px 34px -20px rgba(13, 20, 32, .35);
  --shadow-lg: 0 2px 4px rgba(13, 20, 32, .05), 0 30px 60px -28px rgba(13, 20, 32, .45);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 7rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  border-top: 3px solid var(--brand);
}
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--brand); color: #fff; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 14px; height: 14px; flex: none; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: fixed; top: .5rem; left: .5rem; z-index: 1000;
  padding: .7rem 1rem; background: var(--brand); color: #fff;
  font-family: var(--mono); font-size: .75rem; text-decoration: none;
  transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: translateY(0); }

.wrap {
  width: min(var(--wrap), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

/* ==========================================================================
   utility bar + header
   ========================================================================== */
.topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono); font-size: .6875rem; letter-spacing: .03em;
}
.topbar-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 36px; padding-block: .3rem;
}
.topbar-in a { color: var(--ink-2); text-decoration: none; }
.topbar-in a:hover { color: var(--brand); }
.topbar-r { display: flex; align-items: center; gap: .5rem; }

.head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.head-in { display: flex; align-items: center; gap: 2rem; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 21px; height: 21px; color: var(--brand); }
.brand-name { font-size: 1.125rem; font-weight: 700; letter-spacing: -.04em; }
.brand-dot { color: var(--brand); }

.nav { display: flex; gap: 1.9rem; margin-left: auto; }
.nav a {
  position: relative; padding: .4rem 0;
  font-size: .875rem; font-weight: 500; text-decoration: none; color: var(--ink-2);
  transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--brand); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
.nav a[aria-current="true"] { color: var(--ink); }

.burger {
  display: none; margin-left: auto;
  width: 44px; height: 44px; padding: 0;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 6px;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0 0 0 0; z-index: 99;
  background: var(--surface); padding: 1.25rem var(--gutter) 2rem;
  overflow-y: auto;
  display: flex; flex-direction: column; justify-content: space-between;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  display: flex; align-items: baseline; gap: .9rem;
  font-size: 1.3rem; font-weight: 600; letter-spacing: -.03em;
  text-decoration: none; padding: 1rem 0; border-bottom: 1px solid var(--line);
}
.mobile-nav a span { font-family: var(--mono); font-size: .5625rem; letter-spacing: .1em; color: var(--muted); }
.mobile-nav .mobile-cta {
  margin-top: 1.5rem; border: 0; padding: 1rem 1.25rem;
  background: var(--brand); color: #fff; font-weight: 600;
  justify-content: center; border-radius: var(--radius);
}
.mobile-nav-foot { margin-top: 2.5rem; font-family: var(--mono); font-size: .625rem; color: var(--muted); }
body.nav-open { overflow: hidden; }

/* ==========================================================================
   buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1.3rem;
  font-size: .9375rem; font-weight: 600; letter-spacing: -.01em; line-height: 1;
  border: 1px solid transparent; border-radius: 7px;
  text-decoration: none; cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translate(2px, -2px); }
.btn-sm { padding: .65rem .95rem; font-size: .8125rem; }

.btn-primary { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: 0 6px 16px -8px rgba(22, 66, 143, .6); }
.btn-primary:hover { background: var(--brand-2); border-color: var(--brand-2); }

.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover { border-color: var(--ink-2); background: var(--surface-2); }

.btn-accent { background: #fff; color: var(--brand); border-color: #fff; }
.btn-accent:hover { background: var(--brand-tint); border-color: var(--brand-tint); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--ink-2); }

/* ==========================================================================
   hero
   ========================================================================== */
.hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2.75rem, 5vw, 4.5rem) clamp(2.75rem, 5vw, 4.25rem);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(2rem, 4.5vw, 4rem); align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: .6875rem; letter-spacing: .09em;
  text-transform: uppercase; color: var(--ink-2);
  background: var(--surface-2); border-radius: 100px;
  padding: .4rem .8rem; margin-bottom: 1.5rem;
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-tint); }

.hero-h1 {
  font-size: clamp(2.1rem, 3.5vw, 3.1rem);
  font-weight: 650; line-height: 1.06; letter-spacing: -.03em;
  margin-bottom: 1.25rem;
}
.h1-line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.js .hero-h1 .h1-line > span { display: block; animation: h1-rise .8s var(--ease) both; }
.js .hero-h1 .h1-line:nth-child(1) > span { animation-delay: .05s; }
.js .hero-h1 .h1-line:nth-child(2) > span { animation-delay: .12s; }
@keyframes h1-rise {
  from { transform: translateY(105%); }
  to { transform: translateY(0); }
}

.hero-sub { max-width: 46ch; font-size: 1.0625rem; line-height: 1.6; color: var(--ink-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.85rem; }
.hero-assurances {
  display: flex; flex-wrap: wrap; gap: .5rem 1.4rem;
  margin-top: 1.6rem; padding-top: 1.35rem; border-top: 1px solid var(--line);
}
.hero-assurances li { display: flex; align-items: center; gap: .4rem; font-size: .8125rem; color: var(--ink-2); }
.hero-assurances .icon { color: var(--ok); width: 13px; height: 13px; }

/* ---------- illustrative product UI ---------- */
.hero-side { position: relative; }
.app {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.app:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(13, 20, 32, .05), 0 40px 70px -30px rgba(13, 20, 32, .5); }

.app-bar {
  display: flex; align-items: center; gap: .6rem;
  padding: .7rem .9rem; background: #f8f9fb; border-bottom: 1px solid var(--line);
}
.app-dots { display: flex; gap: 4px; }
.app-dots i { width: 7px; height: 7px; border-radius: 50%; background: #d5dbe4; }
.app-title { font-size: .75rem; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.app-live {
  display: inline-flex; align-items: center; gap: .3rem; margin-left: auto;
  font-family: var(--mono); font-size: .5rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ok); background: var(--ok-tint);
  border-radius: 3px; padding: .2rem .4rem;
}
.app-live i { width: 4px; height: 4px; border-radius: 50%; background: var(--ok); }

.app-tabs { display: flex; gap: 1.1rem; padding: .55rem .9rem 0; border-bottom: 1px solid var(--line); }
.app-tab {
  font-size: .6875rem; font-weight: 500; color: var(--muted);
  padding: 0 0 .5rem; border-bottom: 2px solid transparent;
}
.app-tab.is-on { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; }

.app-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; padding: .8rem .9rem; }
.app-kpi { display: flex; flex-direction: column; gap: .1rem; }
.app-kpi .k { font-family: var(--narrow); font-size: 1.5rem; font-weight: 700; line-height: 1; color: var(--ink); }
.app-kpi .l { font-family: var(--mono); font-size: .5rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.app-table { border-top: 1px solid var(--line); }
.app-row {
  display: grid; grid-template-columns: .8fr 1.3fr .7fr auto;
  gap: .6rem; align-items: center;
  padding: .5rem .9rem; border-bottom: 1px solid var(--line);
  font-size: .6875rem; color: var(--ink-2);
}
.app-row:last-child { border-bottom: 0; }
.app-head {
  font-family: var(--mono); font-size: .5rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); background: #fbfcfd;
}
.app-row .mono { font-family: var(--mono); font-size: .625rem; color: var(--ink); }

.pill {
  display: inline-flex; align-items: center; gap: .28rem; justify-self: start;
  font-family: var(--mono); font-size: .5rem; letter-spacing: .04em;
  padding: .22rem .4rem; border-radius: 3px;
  background: var(--surface-2); color: var(--muted);
}
.pill::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.pill.ok { background: var(--ok-tint); color: var(--ok); }
.pill.warn { background: var(--warn-tint); color: var(--warn); }

.app-foot {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .55rem .9rem; background: #f8f9fb; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: .5rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted);
}
.app-caption { margin-top: .8rem; font-size: .75rem; color: var(--muted); text-align: center; }

/* ==========================================================================
   stat band
   ========================================================================== */
.statband { background: var(--surface); border-bottom: 1px solid var(--line); }
.statband-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { display: flex; flex-direction: column; gap: .3rem; padding: 1.5rem 0 1.4rem; }
.stat + .stat { border-left: 1px solid var(--line); padding-left: 1.75rem; }
.stat-v {
  font-family: var(--narrow); font-size: clamp(1.9rem, 2.8vw, 2.5rem);
  font-weight: 700; line-height: .92; letter-spacing: -.01em; color: var(--brand);
}
.stat-k { font-family: var(--mono); font-size: .5625rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ==========================================================================
   section shell
   ========================================================================== */
.section { padding-block: clamp(3.25rem, 5.5vw, 5rem); background: var(--surface); }
.section-alt { background: var(--bg); border-block: 1px solid var(--line); }
.section-brand { background: var(--brand); color: #fff; }

.sec-head { margin-bottom: clamp(2rem, 3.5vw, 2.75rem); max-width: 860px; }
.kicker { display: flex; align-items: baseline; gap: .75rem; margin-bottom: 1rem; }
.kicker-num {
  font-family: var(--narrow); font-size: 1.5rem; font-weight: 700;
  line-height: 1; letter-spacing: -.01em; color: var(--brand);
}
.kicker-txt {
  font-family: var(--mono); font-size: .625rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.kicker-invert .kicker-num { color: var(--brand-soft); }
.kicker-invert .kicker-txt { color: rgba(255, 255, 255, .72); }

.sec-title {
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  font-weight: 650; line-height: 1.12; letter-spacing: -.03em;
  max-width: 26ch; text-wrap: balance;
}
.sec-lede { margin-top: .9rem; max-width: 62ch; font-size: 1rem; line-height: 1.65; color: var(--ink-2); }
.section-brand .sec-title { color: #fff; }
.section-brand .sec-lede { color: rgba(255, 255, 255, .8); }

.lede { font-size: 1rem; line-height: 1.7; color: var(--ink-2); max-width: 58ch; }
.lede + .lede { margin-top: 1rem; }

/* ==========================================================================
   01 · services
   ========================================================================== */
.svc { border-top: 1px solid var(--line-2); }
.svc-item {
  position: relative;
  display: grid; grid-template-columns: 3rem minmax(0, 1fr) 7rem;
  gap: 1.75rem; align-items: start;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  transition: background .2s var(--ease);
}
.svc-item:hover { background: var(--bg); }
.svc-item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--brand); transform: scaleY(0); transform-origin: top;
  transition: transform .3s var(--ease);
}
.svc-item:hover::before { transform: scaleY(1); }
.svc-num { font-family: var(--mono); font-size: .6875rem; color: var(--muted); padding-top: .5rem; }
.svc-item:hover .svc-num { color: var(--brand); }
.svc-name { font-size: 1.1875rem; font-weight: 650; letter-spacing: -.02em; line-height: 1.3; margin-bottom: .45rem; }
.svc-desc { font-size: .9375rem; line-height: 1.62; color: var(--ink-2); max-width: 66ch; }
.svc-deliver { display: flex; flex-wrap: wrap; gap: .3rem .6rem; margin-top: .8rem; font-size: .8125rem; color: var(--ink-2); }
.svc-deliver span {
  font-family: var(--mono); font-size: .5625rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); padding-top: .2em;
}
.svc-time { font-family: var(--mono); font-size: .6875rem; color: var(--ink); padding-top: .5rem; text-align: right; white-space: nowrap; }

/* ==========================================================================
   02 · process (brand band)
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.25rem, 2.4vw, 2rem); }
.step { display: flex; flex-direction: column; padding-top: 1.25rem; border-top: 2px solid rgba(255, 255, 255, .25); }
.step-num {
  font-family: var(--narrow); font-size: 1.75rem; font-weight: 700;
  line-height: 1; color: var(--brand-soft); margin-bottom: .85rem;
}
.step-name { font-size: 1.0625rem; font-weight: 650; letter-spacing: -.02em; line-height: 1.3; margin-bottom: .55rem; color: #fff; }
.step-desc { font-size: .875rem; line-height: 1.6; color: rgba(255, 255, 255, .82); }
.step-out {
  margin-top: auto; padding-top: .9rem; border-top: 1px solid rgba(255, 255, 255, .22);
  font-size: .75rem; line-height: 1.5; color: rgba(255, 255, 255, .82);
}
.step-out span {
  display: block; font-family: var(--mono); font-size: .5rem; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255, 255, 255, .55); margin-bottom: .3rem;
}

/* ==========================================================================
   03 · work
   ========================================================================== */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

.card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.35rem;
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.card:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: var(--shadow); }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.tag { font-family: var(--mono); font-size: .5625rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.tag-time { font-family: var(--mono); font-size: .5625rem; color: var(--muted); }

.work-title { font-size: 1.3125rem; font-weight: 650; letter-spacing: -.025em; line-height: 1.15; margin: .55rem 0 1rem; }
.work-dl { border-top: 1px solid var(--line); }
.work-dl > div { padding: .65rem 0; border-bottom: 1px solid var(--line); }
.work-dl dt {
  font-family: var(--mono); font-size: .5rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: .22rem;
}
.work-dl dd { font-size: .84375rem; line-height: 1.55; color: var(--ink-2); }
.quote { margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.quote p { font-size: .875rem; line-height: 1.55; color: var(--ink); }
.quote footer { margin-top: .45rem; font-family: var(--mono); font-size: .5625rem; color: var(--muted); }

/* mini product thumbnails */
.thumb {
  background: #fff; border: 1px solid var(--line-2);
  border-radius: 7px; padding: .55rem;
  margin-bottom: 1rem; height: 112px; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.thumb-bar { display: flex; align-items: center; gap: .3rem; margin-bottom: .5rem; padding-bottom: .45rem; border-bottom: 1px solid var(--line); }
.thumb-bar i { display: block; height: 6px; border-radius: 2px; background: #c6d0dd; }
.thumb-bar i:first-child { width: 30px; }
.thumb-bar i:last-child { width: 14px; margin-left: auto; background: #e0e6ee; }

.thumb-rows { display: grid; gap: .32rem; }
.tr {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  background: #fbfcfd; border: 1px solid var(--line); border-radius: 4px; padding: .3rem .4rem;
}
.tr-b { display: block; height: 5px; border-radius: 2px; background: #ccd6e2; width: 78%; }
.tr-b.short { width: 52%; }
.tr-pill { display: block; width: 20px; height: 9px; border-radius: 2px; background: #d5dce6; }
.tr-pill.ok { background: #7cc7a0; }
.tr-pill.warn { background: #e0b364; }

.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal i { display: block; height: 15px; border-radius: 2px; background: #f2f5f9; border: 1px solid #dde3ec; }
.cal i.on { background: var(--brand); border-color: var(--brand); }

.doc { display: grid; gap: .35rem; }
.doc-l { display: block; height: 5px; border-radius: 2px; background: #ccd6e2; }
.doc-l.w80 { width: 80%; }
.doc-l.w60 { width: 60%; }
.doc-l.w70 { width: 70%; }
.doc-box { display: block; height: 24px; border-radius: 4px; background: var(--brand-tint); border: 1.5px solid var(--brand); }

/* ==========================================================================
   04 · security
   ========================================================================== */
.assurances { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.assurance {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.3rem 1.35rem;
  box-shadow: var(--shadow-sm);
}
.assurance h3 { font-size: .9375rem; font-weight: 650; letter-spacing: -.015em; margin-bottom: .4rem; }
.assurance p { font-size: .84375rem; line-height: 1.6; color: var(--ink-2); }
.assurances-note { margin-top: 1.4rem; font-size: .875rem; color: var(--muted); }
.assurances-note a { color: var(--brand); text-underline-offset: 3px; }

/* ==========================================================================
   05 · engagement
   ========================================================================== */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: start; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.55rem 1.4rem 1.3rem;
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.plan:hover { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.plan-featured { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: var(--shadow); }
.plan-featured:hover { border-color: var(--brand); }
.plan-flag {
  position: absolute; top: 1rem; right: 1.15rem;
  font-family: var(--mono); font-size: .5rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--brand); background: #fff;
  border-radius: 3px; padding: .25rem .45rem;
}
.plan-k { font-family: var(--mono); font-size: .5625rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.plan-featured .plan-k { color: rgba(255, 255, 255, .72); }
.plan-name { font-size: 1.625rem; font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.plan-featured .plan-name { color: #fff; }
.plan-dur { font-family: var(--mono); font-size: .6875rem; color: var(--ink-2); margin-top: .45rem; }
.plan-featured .plan-dur { color: rgba(255, 255, 255, .8); }
.plan-price { margin-top: .85rem; font-family: var(--narrow); font-size: 1.3rem; font-weight: 700; color: var(--ink); }
.plan-featured .plan-price { color: #fff; }
.plan-desc { font-size: .875rem; line-height: 1.6; color: var(--ink-2); margin-top: .65rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.plan-featured .plan-desc { color: rgba(255, 255, 255, .82); border-bottom-color: rgba(255, 255, 255, .22); }
.plan-list { padding: .9rem 0; display: grid; gap: .45rem; }
.plan-list li { position: relative; padding-left: 1.2rem; font-size: .84375rem; line-height: 1.5; color: var(--ink-2); }
.plan-list li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 6px; height: 6px; border-left: 1.6px solid var(--ok); border-bottom: 1.6px solid var(--ok);
  transform: rotate(-45deg);
}
.plan-featured .plan-list li { color: rgba(255, 255, 255, .88); }
.plan-featured .plan-list li::before { border-color: #fff; }
.plan-for { margin-top: auto; padding-top: .8rem; border-top: 1px solid var(--line); font-size: .78125rem; line-height: 1.45; color: var(--muted); }
.plan-featured .plan-for { color: rgba(255, 255, 255, .8); border-top-color: rgba(255, 255, 255, .22); }
.plan-for span {
  display: block; font-family: var(--mono); font-size: .5rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: .22rem;
}
.plan-featured .plan-for span { color: rgba(255, 255, 255, .55); }
.plans-foot { margin-top: 1.6rem; font-size: .8125rem; line-height: 1.6; color: var(--muted); max-width: 72ch; }

/* ==========================================================================
   06 · company
   ========================================================================== */
.company-grid {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr);
  gap: clamp(2rem, 4.5vw, 4rem); align-items: start;
}
.company-main .sec-title { margin-bottom: 1.15rem; }
.facts {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.3rem 1.35rem .4rem;
  box-shadow: var(--shadow-sm);
}
.facts-k { font-family: var(--mono); font-size: .5625rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem; }
.facts dl > div {
  display: grid; grid-template-columns: 6rem 1fr; gap: 1rem;
  padding: .65rem 0; border-top: 1px solid var(--line);
}
.facts dt { font-family: var(--mono); font-size: .5625rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); padding-top: .18rem; }
.facts dd { font-size: .84375rem; line-height: 1.45; color: var(--ink); }

/* ==========================================================================
   07 · faq
   ========================================================================== */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.faq-wrap .sec-head { margin-bottom: 0; position: sticky; top: 7.5rem; }
.faq-wrap .sec-title { font-size: clamp(1.5rem, 2.4vw, 1.95rem); max-width: 18ch; }
.faq-note { margin-top: 1.1rem; font-size: .875rem; color: var(--muted); }
.faq-note a { color: var(--brand); text-underline-offset: 3px; }

.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 1.15rem 0; cursor: pointer; list-style: none;
  font-size: 1rem; font-weight: 600; letter-spacing: -.015em; transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brand); }
.fx { position: relative; width: 13px; height: 13px; flex: none; }
.fx::before, .fx::after { content: ""; position: absolute; background: var(--ink-2); transition: transform .3s var(--ease), background .2s; }
.fx::before { left: 0; right: 0; top: 6px; height: 1.6px; }
.fx::after { top: 0; bottom: 0; left: 6px; width: 1.6px; }
.faq details[open] .fx::after { transform: scaleY(0); }
.faq details[open] .fx::before { background: var(--brand); }

.faq-body { display: grid; grid-template-rows: 0fr; }
.faq details[open] .faq-body { animation: faq-open .36s var(--ease) both; }
@keyframes faq-open {
  from { grid-template-rows: 0fr; }
  to { grid-template-rows: 1fr; }
}
.faq-body > p {
  overflow: hidden; min-height: 0; padding-bottom: 1.15rem; max-width: 68ch;
  font-size: .9375rem; line-height: 1.65; color: var(--ink-2);
}

/* ==========================================================================
   08 · contact
   ========================================================================== */
.contact { background: var(--navy); color: var(--on-dark); padding-block: clamp(3.25rem, 6vw, 5.5rem); }
.contact-grid {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4.5vw, 4rem); align-items: start;
}
.contact-h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 700; line-height: 1.06; letter-spacing: -.03em;
  color: #fff; margin: .6rem 0 1rem;
}
.contact-sub { max-width: 42ch; font-size: 1rem; line-height: 1.65; color: var(--on-dark-dim); }
.contact-list { margin-top: 2rem; max-width: 30rem; }
.contact-list li {
  display: grid; grid-template-columns: 5.25rem 1fr; gap: 1rem; align-items: baseline;
  padding: .75rem 0; border-top: 1px solid var(--on-dark-line);
}
.contact-list span {
  font-family: var(--mono); font-size: .5625rem; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255, 255, 255, .5);
}
.contact-list a, .contact-list p { font-size: .9375rem; color: var(--on-dark); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.brief { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem 1.35rem; }
.field { display: flex; flex-direction: column; }
.field-wide { grid-column: 1 / -1; }
.field label {
  font-family: var(--mono); font-size: .5625rem; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-bottom: .45rem;
}
.field input, .field textarea, .field select {
  width: 100%; background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .2); border-radius: 7px;
  padding: .7rem .8rem; color: var(--on-dark); font-size: .9375rem;
  transition: border-color .2s var(--ease), background .2s var(--ease);
  appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 6.5rem; line-height: 1.55; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23aebccd' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .75rem center;
  padding-right: 2rem; cursor: pointer;
}
.field select option { background: var(--navy); color: var(--on-dark); }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .34); }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--brand-soft); background: rgba(255, 255, 255, .1); outline: none;
}
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible {
  outline: 2px solid #fff; outline-offset: 2px;
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #e0755a; }

.btn-submit { width: 100%; margin-top: .2rem; }
.form-note { margin-top: .8rem; font-size: .75rem; line-height: 1.6; color: rgba(255, 255, 255, .5); }
.form-error { margin-top: .65rem; font-size: .8125rem; color: #f0a08c; }
.form-done {
  grid-column: 1 / -1; border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius); padding: 1rem 1.1rem; background: rgba(255, 255, 255, .06);
}
.form-done[hidden] { display: none; }
.form-done-k { font-family: var(--mono); font-size: .5625rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-soft); margin-bottom: .35rem; }
.form-done-txt { font-size: .875rem; line-height: 1.55; color: var(--on-dark-dim); }
.form-done-txt a { color: #fff; }
.form-done-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .9rem; }
.contact .btn-ghost { color: var(--on-dark); border-color: rgba(255, 255, 255, .3); }
.contact .btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }

/* ==========================================================================
   footer
   ========================================================================== */
.foot { background: var(--navy-2); color: rgba(238, 242, 248, .6); border-top: 1px solid var(--on-dark-line); padding: 2.75rem 0 1.75rem; }
.foot-top { display: flex; justify-content: space-between; gap: 3rem; flex-wrap: wrap; }
.foot .brand { color: var(--on-dark); }
.foot .brand-mark { color: var(--brand-soft); }
.foot .brand-dot { color: var(--brand-soft); }
.foot-brand p { margin-top: .75rem; font-size: .8125rem; line-height: 1.6; }
.foot-nav { display: grid; grid-template-columns: repeat(3, minmax(8rem, auto)); gap: 2.5rem; }
.foot-k { font-family: var(--mono); font-size: .5rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .45); margin-bottom: .65rem; }
.foot-nav a { display: block; width: fit-content; padding: .2rem 0; font-size: .8125rem; text-decoration: none; color: var(--on-dark-dim); transition: color .2s; }
.foot-nav a:hover { color: #fff; }
.foot-bottom {
  display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  margin-top: 2.25rem; padding-top: 1.15rem; border-top: 1px solid var(--on-dark-line);
  font-family: var(--mono); font-size: .5625rem; color: rgba(255, 255, 255, .5);
}

/* ==========================================================================
   reveal
   ========================================================================== */
.js .reveal {
  opacity: 0;
  translate: 0 12px;
  transition:
    opacity .5s var(--ease),
    translate .5s var(--ease),
    transform .2s var(--ease),
    border-color .2s var(--ease),
    box-shadow .2s var(--ease),
    background-color .2s var(--ease),
    color .2s var(--ease);
}
.js .reveal.is-in { opacity: 1; translate: 0 0; }

/* ==========================================================================
   responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-side { max-width: 520px; }
  .hero-h1 { font-size: clamp(2.1rem, 4.6vw, 2.9rem); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .work-grid > :nth-child(3) { grid-column: 1 / -1; }
  .assurances { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 620px; }
  .plan-featured { order: -1; }
  .faq-wrap { grid-template-columns: 1fr; gap: 1.75rem; }
  .faq-wrap .sec-head { position: static; }
  .company-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.25rem; }
}

@media (max-width: 900px) {
  .nav, .head-cta { display: none; }
  .burger { display: flex; }
  .svc-item { grid-template-columns: 2.25rem minmax(0, 1fr); grid-template-areas: "num body" ". time"; gap: .4rem 1rem; }
  .svc-num { grid-area: num; }
  .svc-body { grid-area: body; }
  .svc-time { grid-area: time; text-align: left; padding-top: .5rem; }
  .statband-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat:nth-child(even) { border-left: 1px solid var(--line); padding-left: 1.5rem; }
  .stat:nth-child(odd) { padding-left: 0; }
}

@media (max-width: 720px) {
  .topbar { display: none; }
  .hero-h1 { font-size: clamp(1.95rem, 7.4vw, 2.4rem); }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .work-grid { grid-template-columns: 1fr; }
  .work-grid > :nth-child(3) { grid-column: auto; }
  .assurances { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .brief { grid-template-columns: 1fr; }
  .foot-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem; }
  .contact-h2 { font-size: clamp(1.8rem, 8vw, 2.3rem); }
  .contact-list li { grid-template-columns: 4.5rem 1fr; }
  .foot-bottom { flex-direction: column; gap: .5rem; }
  .app-kpis { grid-template-columns: repeat(3, 1fr); gap: .3rem; }
  .app-kpi .k { font-size: 1.2rem; }
  .app-row { grid-template-columns: .9fr 1.4fr auto; font-size: .625rem; }
  .app-row span:nth-child(3) { display: none; }
  .app-head span:nth-child(3) { display: none; }
  .facts dl > div { grid-template-columns: 5rem 1fr; }
}

/* ==========================================================================
   motion preferences
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; translate: none; }
}

/* ==========================================================================
   legal page
   ========================================================================== */
.legal-back { margin-left: auto; font-size: .875rem; }
.legal-back a { color: var(--ink-2); text-decoration: none; }
.legal-back a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.legal { max-width: 840px; padding-block: clamp(2.5rem, 5vw, 3.5rem) clamp(3rem, 5vw, 4.5rem); }
.legal-head { border-bottom: 1px solid var(--line); padding-bottom: 1.5rem; margin-bottom: 2rem; }
.legal h1 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); font-weight: 700; line-height: 1.05; letter-spacing: -.035em; }
.legal-meta { margin-top: .55rem; font-family: var(--mono); font-size: .625rem; color: var(--muted); }
.legal h2 { font-size: 1.2rem; font-weight: 650; letter-spacing: -.02em; margin: 2.25rem 0 .7rem; }
.legal h3 { font-size: .9375rem; font-weight: 650; margin: 1.5rem 0 .35rem; }
.legal p, .legal li { font-size: .9375rem; line-height: 1.7; color: var(--ink-2); max-width: 72ch; }
.legal ul { list-style: disc; padding-left: 1.15rem; margin: .45rem 0; }
.legal li { margin: .3rem 0; }
.legal a { color: var(--brand); text-underline-offset: 3px; }
.legal-contact { margin-top: 2.25rem; padding-top: 1.35rem; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
