/* ============================================================
   ArxSetup — Design System
   Luxury aesthetic · Bone / Charcoal / Brass · Editorial
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400;1,500&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400&display=swap');

:root {
  /* Palette — no blue, no navy. Bone + warm charcoal + antique brass. */
  --bone:         #F4EFE6;
  --bone-soft:    #FAF6EE;
  --bone-warm:    #ECE4D2;
  --bone-deep:    #E0D6C0;
  --ink:          #1A1A1A;
  --ink-soft:     #2E2A24;
  --ink-muted:    #6B6258;
  --ink-faint:    #8F857A;
  --brass:        #8B7355;
  --brass-soft:   #A68A66;
  --brass-deep:   #6B5840;
  --line:         #D6CDB8;
  --line-strong:  #B8AC93;
  --line-faint:   #E5DECB;
  --shell:        #FFFFFF;
  --ok:           #4A6B3A;
  --danger:       #7A2828;

  /* Type */
  --font-display: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  /* Motion */
  --ease:         cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast:     280ms;
  --dur-slow:     600ms;

  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }

::selection { background: var(--ink); color: var(--bone); }

/* ============================================================
   TYPE
   ============================================================ */

.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.02;
}
.display em, .italic-serif { font-style: italic; font-weight: 400; color: var(--ink-soft); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-muted);
  font-weight: 400;
  max-width: 56ch;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.kicker::before, .kicker::after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--line-strong);
}

.serif-mark {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--brass);
}

/* ============================================================
   LAYOUT
   ============================================================ */

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.wrap-tight { max-width: 1040px; margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 780px; margin: 0 auto; padding: 0 28px; }

.section { padding: 120px 0; }
.section-tight { padding: 80px 0; }
.section-deep { padding: 160px 0; }

@media (max-width: 768px) {
  .wrap, .wrap-tight, .wrap-narrow { padding: 0 20px; }
  .section { padding: 80px 0; }
  .section-deep { padding: 100px 0; }
}

.hairline { border-color: var(--line); }
.hairline-strong { border-color: var(--line-strong); }

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 239, 230, 0.78);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 76px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.brand-mark {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-dot { color: var(--brass); font-size: 26px; line-height: 1; }
.brand-sub {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid var(--line-strong);
  align-self: center;
  display: inline-block;
}
@media (max-width: 768px) { .brand-sub { display: none; } }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 13.5px;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color var(--dur-fast) var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-fast) var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }

@media (max-width: 900px) { .nav-links { display: none; } }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--bone);
  font-size: 13px;
  font-weight: 500;
  padding: 0 22px;
  height: 44px;
  border: 1px solid var(--ink);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.nav-cta:hover { background: var(--ink-soft); }

.nav-burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--line-strong);
}
@media (max-width: 900px) { .nav-burger { display: inline-flex; } }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--bone);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 18px 28px;
  font-size: 16px;
  border-bottom: 1px solid var(--line-faint);
  color: var(--ink-soft);
}
.mobile-menu a:hover { background: var(--bone-soft); }

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 28px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  border: 1px solid transparent;
  transition: all var(--dur-fast) var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}
.btn-primary:hover { background: var(--ink-soft); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--bone-soft); }
.btn-brass {
  background: var(--brass);
  color: var(--bone);
  border-color: var(--brass);
}
.btn-brass:hover { background: var(--brass-deep); border-color: var(--brass-deep); }
.btn-light {
  background: var(--bone);
  color: var(--ink);
  border-color: var(--bone);
}
.btn-light:hover { background: var(--bone-soft); }

.btn-arrow {
  display: inline-block;
  width: 14px; height: 14px;
  vertical-align: middle;
}

.link-quiet {
  color: var(--ink);
  font-size: 14px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--brass);
  transition: color var(--dur-fast) var(--ease);
}
.link-quiet:hover { color: var(--brass); }

/* ============================================================
   FORMS
   ============================================================ */

.field { display: block; margin-bottom: 22px; }
.field-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 8px;
}
.field-input,
.field-select,
.field-textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  padding: 12px 0 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color var(--dur-fast) var(--ease);
  border-radius: 0;
}
.field-input::placeholder, .field-textarea::placeholder { color: var(--ink-faint); }
.field-input:focus,
.field-select:focus,
.field-textarea:focus { border-color: var(--ink); }
.field-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 3l4 4 4-4' stroke='%236B6258' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 24px;
}
.field-textarea { min-height: 96px; resize: vertical; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

.field-help {
  font-size: 12px;
  color: var(--ink-faint);
  margin-top: 8px;
}

.field-radio-group { display: grid; gap: 10px; }
.field-radio {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.field-radio:hover { border-color: var(--line-strong); background: var(--bone-soft); }
.field-radio input { margin-top: 4px; accent-color: var(--ink); }
.field-radio-text { font-size: 14px; }
.field-radio-sub { font-size: 12.5px; color: var(--ink-muted); margin-top: 2px; }

/* ============================================================
   CARDS
   ============================================================ */

.card {
  background: var(--bone-soft);
  border: 1px solid var(--line);
  padding: 36px;
  transition: border-color var(--dur-slow) var(--ease), background var(--dur-slow) var(--ease);
}
.card-quiet { background: var(--bone); }
.card:hover { border-color: var(--line-strong); }

.card-h {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.card-p { color: var(--ink-muted); font-size: 14.5px; line-height: 1.65; }

/* ============================================================
   STAT / SPEC ROW
   ============================================================ */

.spec-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.spec dt {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 4px;
}
.spec dd {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink);
}

/* ============================================================
   TABLE
   ============================================================ */

.cmp-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bone-soft);
}
.cmp-table th, .cmp-table td { padding: 22px 20px; text-align: left; vertical-align: top; }
.cmp-table thead th {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 400;
  background: var(--bone-warm);
  border-bottom: 1px solid var(--line-strong);
}
.cmp-table tbody td { font-size: 14px; border-top: 1px solid var(--line); }
.cmp-table tbody tr:hover { background: var(--bone-warm); }
.cmp-table .feat { color: var(--ink-muted); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.cmp-table .yes { color: var(--ok); }
.cmp-table .no { color: var(--danger); }
.cmp-table .fee { font-family: var(--font-display); font-size: 18px; font-weight: 500; }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */

details.faq { border-bottom: 1px solid var(--line); padding: 28px 0; }
details.faq[open] { padding-bottom: 36px; }
details.faq > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
details.faq > summary::-webkit-details-marker { display: none; }
.faq-q {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
  flex: 1;
}
.faq-chev {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  margin-top: 4px;
}
details.faq[open] .faq-chev { transform: rotate(45deg); border-color: var(--ink); }
.faq-a {
  margin-top: 16px;
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 70ch;
}
.faq-a p + p { margin-top: 12px; }

/* ============================================================
   FOOTER
   ============================================================ */

.footer { background: var(--bone-warm); border-top: 1px solid var(--line); padding: 80px 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 60px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
.footer h4 {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 22px;
  font-weight: 400;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 12px; }
.footer a { font-size: 13.5px; color: var(--ink-soft); transition: color var(--dur-fast) var(--ease); }
.footer a:hover { color: var(--brass); }
.footer-bottom {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 12px;
  color: var(--ink-muted);
}
.footer-legal { display: flex; gap: 28px; flex-wrap: wrap; }

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */

.reveal { opacity: 0; transform: translateY(12px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 80ms; }
.reveal-d2 { transition-delay: 160ms; }
.reveal-d3 { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   UTILITIES
   ============================================================ */

.divider {
  display: flex; align-items: center; justify-content: center;
  gap: 16px;
  margin: 24px 0;
}
.divider::before, .divider::after {
  content: ''; height: 1px; background: var(--line-strong); flex: 1; max-width: 80px;
}
.divider-mark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--brass);
}

.bg-bone-warm { background: var(--bone-warm); }
.bg-bone-soft { background: var(--bone-soft); }
.bg-ink { background: var(--ink); color: var(--bone); }
.bg-ink .lead, .bg-ink p { color: rgba(244, 239, 230, 0.78); }
.bg-ink .eyebrow { color: rgba(244, 239, 230, 0.55); }

.text-brass { color: var(--brass); }
.text-muted { color: var(--ink-muted); }
.text-faint { color: var(--ink-faint); }

.divider-line { height: 1px; background: var(--line); margin: 0; border: 0; }

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

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--bone);
  padding: 12px 16px; z-index: 999; font-size: 13px;
}
.skip:focus { left: 16px; top: 16px; }

/* Small helpers used inline */
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-6 { gap: 24px; }
.mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; } .mt-10 { margin-top: 40px; } .mt-12 { margin-top: 48px; } .mt-16 { margin-top: 64px; } .mt-20 { margin-top: 80px; }
.mb-2 { margin-bottom: 8px; } .mb-4 { margin-bottom: 16px; } .mb-6 { margin-bottom: 24px; } .mb-8 { margin-bottom: 32px; } .mb-10 { margin-bottom: 40px; } .mb-12 { margin-bottom: 48px; } .mb-16 { margin-bottom: 64px; }
.text-sm { font-size: 13px; } .text-xs { font-size: 12px; }
.uppercase { text-transform: uppercase; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-cols-3, .grid-cols-4 { grid-template-columns: 1fr; }
  .md-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-cols-2, .md-grid-cols-2 { grid-template-columns: 1fr; }
}

/* Hero-specific shared */
.hero-h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
.hero-h1 em { color: var(--ink-soft); }

/* Quiet pricing tag */
.price-tag {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--ink);
}
.price-from {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

/* ============================================================
   PAGE-SPECIFIC LAYOUTS (homepage + reusable)
   ============================================================ */

/* Hero */
.hero-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 96px;
  align-items: end;
}
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; gap: 64px; } }

.regulator-row { display: flex; gap: 56px; flex-wrap: wrap; margin-top: 64px; }
.regulator-row .label-block { max-width: 260px; }
.regulator-row .reg-label {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.35;
  color: var(--ink);
  margin-top: 6px;
}
.regulator-row .reg-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 2px;
}

.recent-matters { padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }
.recent-matters li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.recent-matters li:last-child { border-bottom: none; }
.recent-matters .matter-no { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-muted); }
.recent-matters .matter-title { font-family: var(--font-display); font-size: 21px; line-height: 1.3; margin-top: 6px; }
.recent-matters .matter-meta { font-size: 13px; color: var(--ink-muted); margin-top: 6px; }

/* Trust strip — flex wrap, always tidy */
.trust-strip-row {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid var(--line);
  background: var(--bone-soft);
}
.trust-strip-row .trust-cell {
  flex: 1 1 16%;
  min-width: 140px;
  padding: 22px 16px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink-soft);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.trust-strip-row .trust-cell:last-child { border-right: none; }
@media (max-width: 1000px) {
  .trust-strip-row .trust-cell { flex: 1 1 25%; font-size: 19px; }
}
@media (max-width: 640px) {
  .trust-strip-row .trust-cell { flex: 1 1 50%; font-size: 18px; padding: 18px 12px; }
}

/* Stats row */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-row .stat-cell {
  padding: 56px 24px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.stat-row .stat-cell:last-child { border-right: none; }
.stat-row .stat-num { font-family: var(--font-display); font-size: 60px; line-height: 1; color: var(--ink); }
.stat-row .stat-num .text-brass { color: var(--brass); }
.stat-row .stat-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-muted); margin-top: 14px; }
@media (max-width: 900px) {
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .stat-row .stat-cell { padding: 40px 16px; }
  .stat-row .stat-cell:nth-child(odd) { border-right: 1px solid var(--line); }
  .stat-row .stat-cell:nth-child(even) { border-right: none; }
  .stat-row .stat-cell:nth-child(1), .stat-row .stat-cell:nth-child(2) { border-bottom: 1px solid var(--line); }
  .stat-row .stat-num { font-size: 48px; }
}

/* Process */
.process-grid { display: grid; grid-template-columns: 1fr 1.45fr; gap: 96px; }
@media (max-width: 1000px) { .process-grid { grid-template-columns: 1fr; gap: 56px; } }
.process-list { list-style: none; padding: 0; margin: 0; }
.process-list li { padding: 32px 0; border-top: 1px solid var(--line); }
.process-list li:last-child { border-bottom: 1px solid var(--line); }
.process-row { display: flex; gap: 32px; align-items: baseline; }
.process-num { font-family: var(--font-display); font-size: 34px; color: var(--brass); min-width: 60px; }
.process-title { font-family: var(--font-display); font-size: 26px; font-weight: 500; line-height: 1.15; color: var(--ink); margin: 0; }
.process-text { color: var(--ink-muted); font-size: 14.5px; line-height: 1.65; margin: 12px 0 0; max-width: 56ch; }

/* Tabs */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab-btn {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  font-size: 13px;
  padding: 0 18px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--dur-fast) var(--ease);
  font-family: var(--font-body);
}
.tab-btn:hover { border-color: var(--ink); color: var(--ink); }
.tab-btn[aria-selected="true"] { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.tab-btn .count { color: var(--ink-faint); font-size: 12px; }
.tab-btn[aria-selected="true"] .count { color: rgba(244,239,230,0.55); }

/* Jurisdiction grid */
.jurisdiction-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.j-card {
  display: flex;
  flex-direction: column;
  background: var(--bone-soft);
  padding: 36px;
  color: var(--ink);
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease);
}
.j-card:hover { background: var(--bone-warm); }
.j-card-foot {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
@media (max-width: 1000px) { .jurisdiction-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .jurisdiction-grid { grid-template-columns: 1fr; } }

/* Section title + tabs row */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

/* Fees retainers */
.fees-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.retainer { display: flex; flex-direction: column; padding: 40px; background: var(--bone-soft); }
.retainer.dark { background: var(--ink); color: var(--bone); position: relative; }
.retainer.dark .eyebrow,
.retainer.dark .price-from { color: rgba(244,239,230,0.55); }
.retainer .retainer-price-block { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.retainer.dark .retainer-price-block { border-top-color: rgba(244,239,230,0.18); }
.retainer .retainer-fee { font-family: var(--font-display); font-size: 48px; line-height: 1; margin-top: 8px; }
.retainer .retainer-feature-list { list-style: none; padding: 0; margin: 32px 0 0; flex: 1; }
.retainer .retainer-feature-list li { padding: 14px 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.5; }
.retainer .retainer-feature-list li:last-child { border-bottom: 1px solid var(--line); }
.retainer.dark .retainer-feature-list li { border-top-color: rgba(244,239,230,0.18); color: var(--bone); }
.retainer.dark .retainer-feature-list li:last-child { border-bottom-color: rgba(244,239,230,0.18); }
.retainer .retainer-cta { margin-top: 32px; }
@media (max-width: 1000px) { .fees-grid { grid-template-columns: 1fr; } }

/* Banking */
.banking-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 96px; align-items: start; }
@media (max-width: 1000px) { .banking-grid { grid-template-columns: 1fr; gap: 56px; } }
.banking-feature-list { list-style: none; padding: 0; margin: 32px 0 0; }
.banking-feature-list li { padding: 16px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.banking-feature-list li:last-child { border-bottom: 1px solid var(--line); }
.bank-tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.bank-tile {
  background: var(--bone-soft);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 1.4 / 1;
}
.bank-tile .bank-name { font-family: var(--font-display); font-size: 24px; line-height: 1.1; }
@media (max-width: 700px) { .bank-tile-grid { grid-template-columns: repeat(2, 1fr); } }

/* Services / Add-on retainers */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-col { background: var(--bone-soft); padding: 40px; display: flex; flex-direction: column; }
.service-col-head { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.service-col-h { font-family: var(--font-display); font-size: 30px; font-weight: 500; line-height: 1.15; }
.service-col-sub { color: var(--ink-muted); font-size: 13.5px; margin-top: 8px; }
.service-list { list-style: none; padding: 0; margin: 0; flex: 1; }
.service-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
}
.service-list li:last-child { border-bottom: none; }
.service-name { font-size: 14.5px; color: var(--ink); flex: 1; line-height: 1.4; }
.service-meta { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); white-space: nowrap; }
.service-foot { padding-top: 24px; border-top: 1px solid var(--line); margin-top: 24px; font-size: 13px; color: var(--ink-muted); }
@media (max-width: 1000px) { .services-grid { grid-template-columns: 1fr; } }

/* Testimonials */
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.t-fig { padding-top: 32px; border-top: 1px solid var(--line); }
.t-quote-mark { display: block; font-family: var(--font-display); font-style: italic; color: var(--brass); font-size: 42px; line-height: 1; margin-bottom: 8px; }
.t-quote { font-family: var(--font-display); font-size: 24px; line-height: 1.4; margin: 0; }
.t-cite { display: flex; align-items: center; gap: 14px; padding-top: 24px; margin-top: 32px; border-top: 1px solid var(--line); }
.t-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--bone-warm); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 15px; }
.t-name { font-size: 14px; font-weight: 500; }
.t-role { font-size: 12px; color: var(--ink-muted); margin-top: 2px; }
@media (max-width: 1000px) { .t-grid { grid-template-columns: 1fr; gap: 32px; } }

/* FAQ section grid */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 96px; }
@media (max-width: 1000px) { .faq-grid { grid-template-columns: 1fr; gap: 56px; } }

/* Final CTA */
.cta-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 96px; align-items: end; }
@media (max-width: 1000px) { .cta-grid { grid-template-columns: 1fr; gap: 64px; } }
.cta-office {
  border: 1px solid rgba(244,239,230,0.18);
  padding: 40px;
  background: rgba(244,239,230,0.03);
}
.cta-office .cta-office-h { font-family: var(--font-display); font-size: 22px; color: var(--bone); line-height: 1.3; }
.cta-office .cta-office-note { margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(244,239,230,0.18); font-size: 13px; color: rgba(244,239,230,0.65); line-height: 1.7; }
.cta-office .cta-office-licence { margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(244,239,230,0.18); font-size: 11px; color: rgba(244,239,230,0.5); font-family: var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; }
.cta-contact-row { display: flex; gap: 56px; flex-wrap: wrap; margin-top: 48px; }
.cta-contact-row a { font-family: var(--font-display); font-size: 22px; color: var(--bone); }

/* Hero h1 italics tag inside helper */
.hero-h1 .text-brass { color: var(--brass); }


/* Mobile touch / scroll quality */
html { -webkit-tap-highlight-color: rgba(139, 115, 85, 0.18); scroll-padding-top: 96px; }
body { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* Prevent CSS-grid items from blowing out tracks via long words / form controls.
   This is the standard "min-width: 0" CSS-grid fix applied across every named grid in this site. */
.calc-grid > *, .contact-grid > *, .sitemap-grid > *, .grid > *,
.hero-grid > *, .banking-grid > *, .process-grid > *,
.jurisdiction-grid > *, .fees-grid > *, .services-grid > *,
.t-grid > *, .faq-grid > *, .cta-grid > *, .footer-grid > *,
.bvi-patterns > *, .bvi-guides > *, .ind-shortlist > *,
.partners-grid > *, .howework-grid > *, .home-backing-grid > *,
.backing-grid > *, .reg-grid > *, .bvi-featured-grid > *,
.cmp-grid > *, .md-stack > *, .jur-grid > *,
[class*="grid"] > * { min-width: 0; }
/* Wrap long URLs / emails inside narrow containers on mobile */
@media (max-width: 640px) {
  a[href^="mailto:"], a[href^="tel:"], code, pre { overflow-wrap: anywhere; word-break: break-word; }
  /* Tighten extreme display headings on small screens */
  .display { word-break: normal; }
}
/* iOS form-input zoom guard — ensure form inputs render >=16px to prevent iOS Safari autozoom on focus.
   !important because some inline-style inputs would otherwise win and trigger the zoom. */
@media (max-width: 640px) {
  input, select, textarea, .field-input { font-size: 16px !important; }
}
input, select, textarea, .field-input { font-size: 16px; }
/* Smooth scroll into anchors */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
