/* Next Titan Group — ink & aqua. Hand-authored; edit freely.
   No webfonts by design: system UI stack for prose, monospace for labels.
   The look is band-based (full-bleed dark/paper alternation), not page-with-rules. */

/* ── Tokens ────────────────────────────────────────────────────────── */
:root {
  --ink: #0a1120;
  --ink-2: #0f1a2e;
  --ink-3: #16233c;
  --ink-line: rgba(255, 255, 255, .13);
  --ink-line-2: rgba(255, 255, 255, .26);

  --aqua: #3fdcc4;
  --aqua-dim: #2bb8a3;
  --aqua-deep: #0d7f72;
  --aqua-wash: #e2f7f3;

  --sand: #e8c99b;

  --paper: #f4f7fa;
  --paper-2: #e7edf4;
  --line: #d5dee8;
  --line-2: #b9c6d5;

  --on-dark: #dbe3f0;
  --on-dark-mute: #8b9cb8;
  --body: #47536a;
  --head: #0d1626;

  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;

  --r: 4px;
  --r-lg: 8px;

  --edge: clamp(20px, 5vw, 64px);
  --max: 1180px;
  --band: clamp(56px, 7vw, 104px);
  --gap: 22px;
  --stack: 28px;
}

/* ── Base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 27px;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
h1, h2, h3 { color: var(--head); font-weight: 800; letter-spacing: -0.022em; margin: 0; }
p { margin: 0 0 12px; }
a { color: var(--aqua-deep); text-underline-offset: 3px; }

.inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--edge); }

/* Mono label — the site's signature tic, used everywhere a kicker would go. */
.tag {
  display: block;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 16px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--aqua-deep);
  margin: 0 0 14px;
}
.tag::before { content: "// "; opacity: .55; }

/* ── Bands ─────────────────────────────────────────────────────────── */
.band { padding: var(--band) 0; }
.band--dark { background: var(--ink); color: var(--on-dark); }
.band--dark h2, .band--dark h3 { color: #fff; }
.band--dark .tag { color: var(--aqua); }
.band--paper { background: var(--paper); }
.band--tint { background: var(--paper-2); }

/* ── Top bar ───────────────────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 17, 32, .93);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--ink-line);
}
.bar {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--edge);
  font-size: 14px;
}
.bar a { color: var(--on-dark-mute); text-decoration: none; }
.bar a:hover { color: var(--aqua); }
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.brand:hover { color: #fff; }
.brand small {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 12px;
  letter-spacing: 0.18em;
  color: var(--aqua);
  font-weight: 400;
  text-transform: uppercase;
}

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: var(--r);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
/* `.bar a` (0,1,1) outranks `.btn-*` (0,1,0) — restate colours for bar buttons. */
.btn-aqua, .bar a.btn-aqua { background: var(--aqua); color: #05221e; border-color: var(--aqua); }
.btn-aqua:hover, .bar a.btn-aqua:hover { background: #63e7d3; border-color: #63e7d3; color: #05221e; }
.btn-ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-ink:hover { background: var(--ink-3); border-color: var(--ink-3); color: #fff; }
.btn-line { background: transparent; color: var(--head); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--aqua-deep); color: var(--aqua-deep); }
/* Dark surfaces are not all `.band--dark` — the hero and the CTA card are their
   own contexts, and without them listed here .btn-line renders ink-on-ink. */
.band--dark .btn-line, .hero .btn-line, .cta-card .btn-line { color: var(--on-dark); border-color: var(--ink-line-2); }
.band--dark .btn-line:hover, .hero .btn-line:hover, .cta-card .btn-line:hover { color: var(--aqua); border-color: var(--aqua); }
.btn:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 30px; }

/* ── Hero ──────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 82% -10%, rgba(63, 220, 196, .16), transparent 58%),
    radial-gradient(90% 70% at 8% 110%, rgba(232, 201, 155, .09), transparent 60%),
    var(--ink);
  color: var(--on-dark);
  overflow: hidden;
  padding: clamp(52px, 8vw, 104px) 0 0;
}
.hero-inner { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding: 0 var(--edge); }
.display {
  color: #fff;
  font-size: clamp(38px, 6.4vw, 76px);
  line-height: 1.03;
  letter-spacing: -0.032em;
  margin: 0 0 20px;
  max-width: 15ch;
}
.display em { font-style: normal; color: var(--aqua); }
.lede { font-size: 18px; line-height: 30px; max-width: 56ch; color: var(--on-dark); }

/* Qualitative rail — deliberately no invented figures. */
.rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(40px, 6vw, 68px);
  background: var(--ink-line);
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
}
.rail div { background: var(--ink); padding: 20px 20px 22px; }
.rail dt {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--aqua);
  margin: 0 0 7px;
}
.rail dd { margin: 0; font-size: 15px; line-height: 23px; color: #fff; font-weight: 600; }

.hero-skyline { display: block; width: 100%; height: auto; margin-top: clamp(28px, 4vw, 44px); }

/* ── Section heads ─────────────────────────────────────────────────── */
.head { max-width: 62ch; margin-bottom: clamp(34px, 4.5vw, 56px); }
.h-section { font-size: clamp(27px, 3.6vw, 44px); line-height: 1.08; margin: 0 0 14px; }
.h-sub { font-size: 17px; line-height: 29px; }
.band--dark .h-sub { color: var(--on-dark-mute); }

/* ── Services: stacked ledger rows (not cards) ─────────────────────── */
.ledger { border-top: 1px solid var(--line); }
.band--dark .ledger { border-top-color: var(--ink-line); }
.row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) minmax(0, 300px);
  gap: var(--gap) clamp(20px, 4vw, 56px);
  align-items: start;
  padding: clamp(26px, 3.4vw, 40px) 0;
  border-bottom: 1px solid var(--line);
}
.band--dark .row { border-bottom-color: var(--ink-line); }
.row-num {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--aqua-deep);
  margin: 0;
  padding-top: 6px;
}
.band--dark .row-num { color: var(--aqua); }
.row-title { font-size: clamp(21px, 2.4vw, 27px); line-height: 1.15; margin: 0 0 10px; }
.row-copy { font-size: 16px; line-height: 27px; margin: 0; max-width: 54ch; }
.row-list { list-style: none; margin: 0; padding: 0; font-size: 14px; line-height: 22px; }
.row-list li { position: relative; padding: 7px 0 7px 18px; border-top: 1px solid var(--line); }
.band--dark .row-list li { border-top-color: var(--ink-line); color: var(--on-dark-mute); }
.row-list li:first-child { border-top: 0; }
.row-list li::before {
  content: ""; position: absolute; left: 0; top: 16px;
  width: 7px; height: 7px; border: 1px solid var(--aqua-deep); transform: rotate(45deg);
}
.band--dark .row-list li::before { border-color: var(--aqua); }

/* ── Approach: 2×2 steps ───────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.step { background: var(--paper); padding: clamp(24px, 3vw, 34px); }
.step-num {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--aqua-deep); margin: 0 0 12px;
}
.step-title { font-size: 21px; line-height: 1.2; margin: 0 0 8px; }
.step-copy { font-size: 15.5px; line-height: 26px; margin: 0; }

/* ── About ─────────────────────────────────────────────────────────── */
.about { max-width: 74ch; }
.about p { font-size: 17px; line-height: 30px; }
.pull {
  margin: var(--stack) 0 0;
  padding: 26px 0 0;
  border-top: 2px solid var(--aqua);
}
.pull blockquote { margin: 0 0 14px; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.35; font-weight: 700; color: var(--head); letter-spacing: -0.015em; }
.band--dark .pull blockquote { color: #fff; }
.pull figcaption { font-size: 14px; line-height: 22px; }

.marks { list-style: none; margin: var(--stack) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px var(--gap); }
.marks li { position: relative; padding-left: 26px; font-size: 15.5px; line-height: 25px; }
.marks li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 11px; height: 6px; border-left: 2px solid var(--aqua-deep); border-bottom: 2px solid var(--aqua-deep);
  transform: rotate(-45deg);
}
.band--dark .marks li::before { border-color: var(--aqua); }

.about-figure { margin: clamp(34px, 4.5vw, 56px) 0 0; }
.about-figure img { display: block; width: 100%; height: auto; border-radius: var(--r-lg); }

/* ── Stats (placeholder-ready) ─────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.stat-num { font-size: clamp(32px, 4vw, 46px); line-height: 1.02; color: var(--head); font-weight: 800; letter-spacing: -0.03em; margin: 0 0 6px; }
.stat-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; line-height: 18px; margin: 0; }

/* ── Contact / CTA ─────────────────────────────────────────────────── */
.cta-card {
  background: var(--ink);
  color: var(--on-dark);
  border-radius: var(--r-lg);
  padding: clamp(30px, 4.4vw, 56px);
}
.cta-card h2 { color: #fff; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.08; margin: 0 0 12px; }
.cta-card .tag { color: var(--aqua); }
.cta-card p { color: var(--on-dark-mute); font-size: 17px; line-height: 29px; max-width: 52ch; }
.contacts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--ink-line);
  font-size: 15px;
  line-height: 25px;
}
.contacts dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-mute); margin: 0 0 8px; }
.contacts dd { margin: 0; color: #fff; }
.contacts a { color: var(--aqua); text-decoration: none; }
.contacts a:hover { text-decoration: underline; }

/* ── Footer ────────────────────────────────────────────────────────── */
.foot {
  background: var(--ink-2);
  color: var(--on-dark-mute);
  font-size: 13.5px;
  line-height: 23px;
  border-top: 1px solid var(--ink-line);
}
.foot-in {
  max-width: var(--max);
  margin: 0 auto;
  padding: 30px var(--edge);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  justify-content: space-between;
}
.foot a { color: var(--on-dark-mute); }
.foot a:hover { color: var(--aqua); }
.foot-legal { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; }

/* ── Page header (interior pages) ──────────────────────────────────── */
.pagehead { background: var(--ink); color: var(--on-dark); padding: clamp(44px, 6vw, 76px) 0 clamp(36px, 5vw, 60px); }
.pagehead h1 { color: #fff; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.05; margin: 0 0 12px; }
.pagehead .tag { color: var(--aqua); }
.pagehead p { color: var(--on-dark-mute); font-size: 17px; line-height: 29px; max-width: 58ch; margin: 0; }
.stamp { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-mute); margin: 14px 0 0; }

/* ── Legal pages ───────────────────────────────────────────────────── */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(44px, 6vw, 72px) var(--edge); }
.legal h2 {
  font-size: 21px; line-height: 29px; margin: 40px 0 12px;
  padding-top: 26px; border-top: 1px solid var(--line);
}
.legal h2:first-of-type { margin-top: 26px; }
.legal p, .legal li { font-size: 15.5px; line-height: 27px; }
.legal ul { margin: 0 0 12px; padding-left: 22px; }

/* ── Apply form ────────────────────────────────────────────────────── */
.apply { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 64px); align-items: start; }
.assure { list-style: none; margin: var(--stack) 0 0; padding: 0; }
.assure li { position: relative; padding-left: 26px; font-size: 15.5px; line-height: 26px; margin-bottom: 10px; }
.assure li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 11px; height: 6px; border-left: 2px solid var(--aqua-deep); border-bottom: 2px solid var(--aqua-deep);
  transform: rotate(-45deg);
}
.side-note { margin-top: var(--stack); padding: 18px 20px; background: var(--aqua-wash); border-left: 3px solid var(--aqua-deep); border-radius: 0 var(--r) var(--r) 0; font-size: 14.5px; line-height: 24px; }
.side-note p:last-child { margin-bottom: 0; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); }
form { display: grid; gap: var(--gap); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px var(--gap); }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--mono); font-size: 10.5px; font-weight: 400; letter-spacing: 0.13em; text-transform: uppercase; color: var(--head); }
.req { color: var(--aqua-deep); }
.input {
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 24px;
  color: var(--head);
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 11px 13px;
  width: 100%;
}
.input:focus { outline: 2px solid var(--aqua-deep); outline-offset: 1px; border-color: var(--aqua-deep); background: #fff; }
textarea.input { min-height: 116px; resize: vertical; }

fieldset { border: 0; margin: 0; padding: 0; }
fieldset legend { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--head); margin-bottom: 10px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; cursor: pointer; border: 1px solid var(--line-2); border-radius: var(--r); padding: 9px 14px; background: var(--paper); }
.chip:hover { border-color: var(--aqua-deep); }
.chip:has(input:checked) { border-color: var(--aqua-deep); background: var(--aqua-wash); }
.chip input { appearance: none; width: 13px; height: 13px; margin: 0; border: 1px solid var(--line-2); border-radius: 50%; background: #fff; cursor: pointer; flex: none; }
.chip input:checked { background: var(--aqua-deep); border-color: var(--aqua-deep); box-shadow: inset 0 0 0 3px #fff; }
.chip input:focus-visible { outline: 2px solid var(--aqua-deep); outline-offset: 2px; }

.consent { display: grid; grid-template-columns: 17px 1fr; gap: 12px; font-size: 12.5px; line-height: 20px; color: #5a6579; }
.consent input { appearance: none; width: 17px; height: 17px; margin: 2px 0 0; border: 1px solid var(--line-2); border-radius: 3px; background: #fff; cursor: pointer; }
.consent input:checked { background: var(--aqua-deep); border-color: var(--aqua-deep); }
.consent input:focus-visible { outline: 2px solid var(--aqua-deep); outline-offset: 2px; }
.fine { font-size: 12.5px; line-height: 20px; color: #78839a; margin: 0; }
.sent { display: none; border: 1px solid var(--aqua-deep); background: var(--aqua-wash); border-radius: var(--r); padding: 14px 18px; font-size: 15px; line-height: 25px; color: var(--head); }

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row { grid-template-columns: 60px minmax(0, 1fr); }
  .row-list { grid-column: 2; }
  .steps, .apply, .contacts { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .marks { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .duo { grid-template-columns: 1fr; }
  .bar { gap: 16px; }
  .brand { width: 100%; margin-right: 0; }
  .rail { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
