/* ==========================================================================
   Frag & Frame UAE
   Hand-written stylesheet. No framework, no runtime CSS generation — the page
   is styled on first paint, which is what Core Web Vitals actually rewards.
   ========================================================================== */

:root {
  --bg:            #05070f;
  --bg-raised:     #0b0f19;
  --bg-sunken:     #03040a;
  --border:        rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --indigo:        #6366f1;
  --indigo-light:  #818cf8;
  --indigo-dark:   #4f46e5;
  --teal:          #00d4e6;
  --emerald:       #10b981;
  --gold:          #f59e0b;
  --purple:        #a855f7;
  --red:           #f87171;

  --text:          #e7ecf5;
  --text-muted:    #9aa6bd;
  --text-dim:      #6b7791;

  --wrap:          1180px;
  --radius:        14px;
  --radius-sm:     9px;

  --font-body:     'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display:  'Sora', 'Outfit', system-ui, sans-serif;

  --shadow:        0 20px 50px -20px rgba(0, 0, 0, 0.9);
  --ease:          cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Ambient background glow. Painted once, fixed, never reflows. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(52vw 52vw at 8% -6%,  rgba(99, 102, 241, 0.16), transparent 62%),
    radial-gradient(46vw 46vw at 96% 12%, rgba(0, 212, 230, 0.09),  transparent 60%),
    radial-gradient(60vw 60vw at 50% 108%, rgba(99, 102, 241, 0.10), transparent 62%);
}

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  color: #fff;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); }
h4 { font-size: 1.0625rem; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--indigo-light); text-decoration: none; }
a:hover { color: #fff; }

strong { color: #fff; font-weight: 600; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--indigo);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 1.35rem;
}

.icon    { width: 1.5rem;  height: 1.5rem;  flex: none; }
.icon-sm { width: 1.05rem; height: 1.05rem; flex: none; }
.icon-lg { width: 1.9rem;  height: 1.9rem;  flex: none; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 7, 15, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 72px;
}

.brand { display: inline-flex; align-items: center; gap: 0.7rem; color: inherit; }

.brand-mark {
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--indigo), var(--indigo-dark));
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  letter-spacing: -0.06em;
  box-shadow: 0 0 22px rgba(99, 102, 241, 0.35);
}
.brand-mark span { color: rgba(255, 255, 255, 0.55); }

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  color: #fff;
}
.brand-sub {
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
}

.nav-desktop ul,
.nav-mobile ul,
.social-list,
.footer-col ul,
.footer-contact,
.footer-bottom ul,
.breadcrumbs ol,
.check-list,
.plain-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desktop { display: none; }
.nav-desktop ul { display: flex; align-items: center; gap: 1.5rem; }
.nav-desktop a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-desktop a:hover { color: #fff; }
.nav-desktop a[aria-current="page"] { color: #fff; border-bottom-color: var(--indigo); }

.header-actions { display: none; }

.nav-toggle {
  display: grid;
  place-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  border-top: 1px solid var(--border);
  padding: 1rem 1.35rem 1.6rem;
  background: rgba(5, 7, 15, 0.97);
}
.nav-mobile[hidden] { display: none; }
.nav-mobile ul { display: flex; flex-direction: column; margin-bottom: 1rem; }
.nav-mobile a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 600;
}
.nav-mobile a[aria-current="page"] { color: var(--indigo-light); }

@media (min-width: 940px) {
  .nav-desktop, .header-actions { display: flex; align-items: center; gap: 1rem; }
  .nav-toggle, .nav-mobile { display: none !important; }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s var(--ease), color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 0.6rem 1.05rem; font-size: 0.78rem; }
.btn-block { display: flex; width: 100%; }

.btn-primary {
  background: var(--indigo);
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(99, 102, 241, 0.9);
}
.btn-primary:hover { background: var(--indigo-light); color: #fff; }

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--indigo-light); color: #fff; }

/* --------------------------------------------------------------------------
   Breadcrumbs
   -------------------------------------------------------------------------- */

.breadcrumbs { border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, 0.015); }
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-block: 0.7rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}
.breadcrumbs li + li::before { content: '/'; margin-right: 0.5rem; color: var(--text-dim); }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs [aria-current="page"] { color: var(--text); }

/* --------------------------------------------------------------------------
   Sections & layout primitives
   -------------------------------------------------------------------------- */

.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 3.75rem); }
.section-alt { background: rgba(255, 255, 255, 0.018); border-block: 1px solid var(--border); }

.section-head { max-width: 46rem; margin-bottom: 2.75rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--text-muted); font-size: 1.075rem; margin-bottom: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.1);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--indigo-light);
}
.eyebrow.teal    { background: rgba(0, 212, 230, 0.1);  color: var(--teal);    }
.eyebrow.gold    { background: rgba(245, 158, 11, 0.1); color: var(--gold);    }
.eyebrow.emerald { background: rgba(16, 185, 129, 0.1); color: var(--emerald); }
.eyebrow.red     { background: rgba(248, 113, 113, 0.1);color: var(--red);     }

.grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px)  { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 640px)  { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px)  { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px)  { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.split { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 940px) { .split { grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; } }

.prose { max-width: 44rem; }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 1.9rem; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text-muted); }
.prose li { margin-bottom: 0.55rem; }
.prose ul, .prose ol { padding-left: 1.15rem; margin-bottom: 1.3rem; }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

.card {
  position: relative;
  padding: 1.6rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.card h3 { margin-bottom: 0.5rem; }
.card p  { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0; }

.card-icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 1.1rem;
  border-radius: 11px;
  border: 1px solid rgba(99, 102, 241, 0.3);
  background: rgba(99, 102, 241, 0.12);
  color: var(--indigo-light);
}
.card-icon.teal    { border-color: rgba(0, 212, 230, 0.3);  background: rgba(0, 212, 230, 0.1);  color: var(--teal); }
.card-icon.gold    { border-color: rgba(245, 158, 11, 0.3); background: rgba(245, 158, 11, 0.1); color: var(--gold); }
.card-icon.purple  { border-color: rgba(168, 85, 247, 0.3); background: rgba(168, 85, 247, 0.1); color: var(--purple); }
.card-icon.emerald { border-color: rgba(16, 185, 129, 0.3); background: rgba(16, 185, 129, 0.1); color: var(--emerald); }

/* Cards in a grid stretch to equal height; this pushes the link to the bottom
   so a row of cards has its call-to-action on a single baseline. */
.card:has(.card-link) { display: flex; flex-direction: column; }
.card:has(.card-link) p { flex: 1; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--indigo-light);
}
.card-link svg { transition: transform 0.25s var(--ease); }
.card:hover .card-link svg { transform: translateX(4px); }

/* Whole-card click target without nesting interactive elements. */
.card-stretch::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero { padding-block: clamp(3rem, 8vw, 5.5rem) clamp(3rem, 7vw, 5rem); }
.hero-lead {
  font-size: clamp(1.05rem, 2.1vw, 1.25rem);
  color: var(--text-muted);
  max-width: 36rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.hero-stats dt {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.hero-stats dd {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.45;
}

/* Chat mock — decorative illustration of the compliant channel. */
.chat-mock {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(11, 15, 25, 0.96), rgba(3, 4, 10, 0.96));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.chat-mock-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.78rem;
  color: var(--text-muted);
}
.chat-mock-bar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); flex: none; }
.chat-mock-bar .residency {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald);
  font-weight: 700;
}
.chat-mock-body { padding: 1.1rem; display: flex; flex-direction: column; gap: 0.7rem; }
.bubble {
  max-width: 82%;
  padding: 0.7rem 0.95rem;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text-muted);
}
.bubble.out {
  align-self: flex-end;
  background: rgba(99, 102, 241, 0.18);
  border-color: rgba(99, 102, 241, 0.35);
  color: #e8eaff;
}
.bubble .meta {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.chat-mock-foot {
  padding: 0.75rem 1.1rem;
  border-top: 1px solid var(--border);
  font-size: 0.72rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

/* --------------------------------------------------------------------------
   Alert / callout blocks
   -------------------------------------------------------------------------- */

.callout {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-left-width: 3px;
  border-left-color: var(--gold);
  border-radius: var(--radius-sm);
  background: rgba(245, 158, 11, 0.06);
}
.callout svg { color: var(--gold); margin-top: 0.15rem; }
.callout p { font-size: 0.95rem; color: var(--text-muted); }
.callout.indigo { border-color: rgba(99, 102, 241, 0.3); border-left-color: var(--indigo); background: rgba(99, 102, 241, 0.07); }
.callout.indigo svg { color: var(--indigo-light); }

/* --------------------------------------------------------------------------
   Comparison table
   -------------------------------------------------------------------------- */

.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 0.93rem; }
caption { text-align: left; padding: 1rem 1.15rem 0; color: var(--text-dim); font-size: 0.85rem; }
th, td { padding: 0.9rem 1.15rem; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
thead th {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.03);
}
tbody th { font-weight: 600; color: #fff; }
tbody td { color: var(--text-muted); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.cell-yes { color: var(--emerald); display: inline-flex; align-items: center; gap: 0.4rem; }
.cell-no  { color: var(--red);     display: inline-flex; align-items: center; gap: 0.4rem; }

/* --------------------------------------------------------------------------
   Timeline
   -------------------------------------------------------------------------- */

.timeline { position: relative; margin: 0; padding: 0 0 0 1.8rem; list-style: none; }
.timeline::before {
  content: '';
  position: absolute;
  left: 6px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--indigo), rgba(99, 102, 241, 0.08));
}
.timeline > li { position: relative; padding-bottom: 2.25rem; }
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li::before {
  content: '';
  position: absolute;
  left: -1.8rem; top: 8px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--indigo);
}
.timeline-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-bottom: 0.5rem; }
.timeline-date { font-family: var(--font-display); font-size: 0.82rem; font-weight: 700; color: #fff; }
.tag {
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.timeline h3 { font-size: 1.1rem; margin-bottom: 0.45rem; }
.timeline p { color: var(--text-muted); font-size: 0.95rem; }
.timeline-impact {
  margin-top: 0.7rem;
  padding-left: 0.85rem;
  border-left: 2px solid rgba(99, 102, 241, 0.45);
  color: var(--text) !important;
  font-size: 0.9rem !important;
}
.timeline-source { font-size: 0.78rem !important; color: var(--text-dim) !important; margin-top: 0.6rem; }

/* --------------------------------------------------------------------------
   Check lists / steps
   -------------------------------------------------------------------------- */

.check-list li {
  display: flex;
  gap: 0.7rem;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.check-list svg { color: var(--emerald); margin-top: 0.28rem; }

.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.steps > li {
  counter-increment: step;
  position: relative;
  padding: 1.4rem 1.5rem 1.4rem 3.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.022);
}
.steps > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 1.4rem; top: 1.35rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--indigo-light);
}
.steps h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.steps p  { color: var(--text-muted); font-size: 0.94rem; margin-bottom: 0; }

/* Interactive checklist */
.checkgroup { margin-bottom: 1.75rem; }
.checkgroup h3 { display: flex; align-items: baseline; gap: 0.6rem; }
.checkgroup .count { font-family: var(--font-body); font-size: 0.8rem; font-weight: 500; color: var(--text-dim); }
.checkitem {
  display: flex;
  gap: 0.85rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.022);
  margin-bottom: 0.6rem;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: border-color 0.2s, background 0.2s;
}
.checkitem:hover { border-color: var(--border-strong); }
.checkitem input { margin-top: 0.28rem; width: 1.05rem; height: 1.05rem; accent-color: var(--indigo); flex: none; cursor: pointer; }
.checkitem:has(input:checked) { border-color: rgba(16, 185, 129, 0.35); background: rgba(16, 185, 129, 0.06); }
.checkitem:has(input:checked) span { color: var(--text-dim); text-decoration: line-through; }

.progress-bar {
  position: sticky;
  top: 76px;
  z-index: 20;
  margin-bottom: 2rem;
  padding: 0.9rem 1.15rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: rgba(11, 15, 25, 0.94);
  backdrop-filter: blur(10px);
}
.progress-bar p { margin: 0 0 0.55rem; font-size: 0.85rem; color: var(--text-muted); }
.progress-track { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.09); overflow: hidden; }
.progress-fill { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--indigo), var(--emerald)); transition: width 0.3s var(--ease); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq { display: grid; gap: 0.75rem; max-width: 50rem; }
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.022);
  overflow: hidden;
}
.faq details[open] { border-color: var(--border-strong); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  width: 9px; height: 9px;
  flex: none;
  border-right: 2px solid var(--indigo-light);
  border-bottom: 2px solid var(--indigo-light);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq .faq-body { padding: 0 1.25rem 1.25rem; color: var(--text-muted); font-size: 0.96rem; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.field .hint { font-size: 0.78rem; color: var(--text-dim); }
.field .req { color: var(--indigo-light); }

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
}
input::placeholder, textarea::placeholder { color: var(--text-dim); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--indigo);
  background: rgba(99, 102, 241, 0.06);
}
textarea { min-height: 140px; resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }

.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-status { padding: 0.9rem 1.15rem; border-radius: var(--radius-sm); font-size: 0.92rem; }
.form-status[hidden] { display: none; }
.form-status.ok   { border: 1px solid rgba(16, 185, 129, 0.4);  background: rgba(16, 185, 129, 0.08);  color: #a7f3d0; }
.form-status.err  { border: 1px solid rgba(248, 113, 113, 0.4); background: rgba(248, 113, 113, 0.08); color: #fecaca; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  padding: clamp(2.5rem, 6vw, 3.75rem);
  border: 1px solid rgba(99, 102, 241, 0.32);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(99, 102, 241, 0.16), rgba(0, 212, 230, 0.05));
  text-align: center;
}
.cta-band h2 { margin-bottom: 0.75rem; }
.cta-band p { max-width: 40rem; margin-inline: auto; color: var(--text-muted); }
.cta-band .hero-actions { justify-content: center; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  margin-top: clamp(3rem, 7vw, 5rem);
  border-top: 1px solid var(--border);
  background: var(--bg-sunken);
  padding-block: clamp(2.75rem, 6vw, 4rem) 2rem;
  font-size: 0.92rem;
}
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 720px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 3rem; } }

.footer-brand p { color: var(--text-muted); font-size: 0.9rem; margin-top: 1.1rem; }
.footer-residency {
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.07);
  color: var(--emerald) !important;
  font-size: 0.76rem !important;
  font-weight: 600;
}

.footer-col h2 {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.05rem;
}
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { color: var(--text-muted); font-size: 0.9rem; }
.footer-col a:hover { color: var(--indigo-light); }

.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--text-muted); }
.footer-contact svg { color: var(--indigo-light); margin-top: 0.2rem; }
.footer-col .btn { margin-top: 0.75rem; }

.social-list { display: flex; gap: 0.6rem; margin-top: 1.1rem; }
.social-list a {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--text-muted);
}
.social-list a:hover { border-color: var(--indigo); color: var(--indigo-light); }

.footer-disclaimer {
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-dim);
}
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; gap: 1.25rem; }
.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: var(--indigo-light); }

/* --------------------------------------------------------------------------
   Back to top
   -------------------------------------------------------------------------- */

.to-top {
  position: fixed;
  right: 1.1rem; bottom: 1.1rem;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--indigo);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
}
.to-top.visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--indigo-light); color: #fff; }

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */

.text-center { text-align: center; }
.mt-lg { margin-top: 2.5rem; }
.mb-lg { margin-bottom: 2.5rem; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  body::before, .site-header, .site-footer, .to-top, .breadcrumbs, .cta-band { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
}
