/* ===========================================================
   ASTORIA PRIMES — core stylesheet
   Design tokens: ink navy + magenta + champagne gold
   Type: Fraunces (display) / Inter (ui, body)
=========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500;600;700&display=swap');

:root{
  /* Core palette */
  --ink:        #0a0d18;
  --ink-2:      #101524;
  --ink-3:      #171d33;
  --hairline:   rgba(233, 231, 226, 0.10);
  --hairline-2: rgba(233, 231, 226, 0.16);

  --paper:      #f7f4ee;
  --paper-dim:  #ece7dc;

  --text-hi:    #f3f1ea;
  --text-lo:    #a7adc0;
  --text-ink:   #201c2b;
  --text-ink-lo:#5a5568;

  --magenta:      #e12f7c;
  --magenta-deep: #97124f;
  --magenta-glow: rgba(225, 47, 124, 0.35);

  --gold:       #c9a44c;
  --gold-hi:    #e6c877;

  --up:   #35c98d;
  --down: #ef5f6f;

  /* Type */
  --f-display: 'Fraunces', ui-serif, Georgia, serif;
  --f-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --maxw: 1180px;
  --radius-sm: 4px;
  --radius-md: 10px;
  --ease: cubic-bezier(.16,.8,.28,1);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--ink);
  color: var(--text-hi);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family: var(--f-display); font-weight: 500; margin:0; letter-spacing: -0.01em; }
p{ margin:0; }

.wrap{ max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

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

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

/* ---------------------------------------------------------
   Ticker bar
--------------------------------------------------------- */
.ticker-bar{
  background: var(--ink-2);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
  position: relative;
  height: 42px;
}
.ticker-bar::before,
.ticker-bar::after{
  content:"";
  position:absolute; top:0; bottom:0; width:56px; z-index:2;
  pointer-events:none;
}
.ticker-bar::before{ left:0; background: linear-gradient(90deg, var(--ink-2), transparent); }
.ticker-bar::after{ right:0; background: linear-gradient(270deg, var(--ink-2), transparent); }
.ticker-track{
  display:flex;
  align-items:center;
  gap: 40px;
  height:100%;
  width: max-content;
  animation: scroll-ticker 38s linear infinite;
}
.ticker-bar:hover .ticker-track{ animation-play-state: paused; }
@keyframes scroll-ticker{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
.tick{
  display:flex; align-items:baseline; gap:8px;
  font-size: 12.5px; white-space: nowrap;
  color: var(--text-lo);
}
.tick b{ color: var(--text-hi); font-weight: 600; }
.tick .val{ color: var(--text-hi); }
.tick .up{ color: var(--up); }
.tick .down{ color: var(--down); }

/* ---------------------------------------------------------
   Header / nav
--------------------------------------------------------- */
.site-header{
  position: sticky; top:0; z-index: 50;
  background: rgba(10,13,24,0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  height: 78px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-family: var(--f-display);
  font-size: 21px;
  font-weight: 500;
  color: var(--text-hi);
}
.brand .mark{
  width: 30px; height:30px; border-radius: 50%;
  background: conic-gradient(from 220deg, var(--magenta), var(--gold), var(--magenta));
  position: relative;
  flex-shrink:0;
}
.brand .mark::after{
  content:""; position:absolute; inset:4px; border-radius:50%;
  background: var(--ink);
}
.brand em{ font-style: normal; color: var(--gold-hi); }

.nav-links{ display:flex; align-items:center; gap: 36px; }
.nav-links a{
  font-size: 14.5px; color: var(--text-lo); font-weight: 500;
  position: relative; padding: 6px 0;
  transition: color .2s var(--ease);
}
.nav-links a:hover{ color: var(--text-hi); }
.nav-links a.active{ color: var(--text-hi); }
.nav-links a.active::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:2px;
  background: linear-gradient(90deg, var(--magenta), var(--gold));
  border-radius: 2px;
}
.nav-cta{ display:flex; align-items:center; gap: 14px; }

.hamburger{
  display:none; width:40px; height:40px; border-radius:50%;
  border:1px solid var(--hairline-2); background:transparent;
  flex-direction:column; align-items:center; justify-content:center; gap:5px;
  cursor:pointer;
}
.hamburger span{ width:16px; height:1.5px; background: var(--text-hi); }

.mobile-panel{
  display:none;
  position: fixed; inset: 78px 0 0 0; z-index: 49;
  background: var(--ink);
  padding: 30px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
@media (max-width: 720px){ .mobile-panel{ display:block; } }
.mobile-panel.open{ opacity:1; transform:none; pointer-events:auto; }
.mobile-panel a{ display:block; padding: 16px 0; font-size: 18px; color: var(--text-hi); border-bottom: 1px solid var(--hairline); }
.mobile-panel .mp-ctas{ display:flex; gap:12px; margin-top: 26px; }

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 12px 24px; font-size: 14.5px; font-weight: 600;
  border-radius: var(--radius-sm);
  cursor:pointer; border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn-ghost{
  color: var(--text-hi);
  border-color: var(--hairline-2);
  background: transparent;
}
.btn-ghost:hover{ border-color: var(--text-lo); background: rgba(255,255,255,0.03); }
.btn-primary{
  color: #fff;
  background: linear-gradient(135deg, var(--magenta) 0%, var(--magenta-deep) 100%);
  box-shadow: 0 8px 24px -8px var(--magenta-glow);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 14px 30px -8px var(--magenta-glow); }
.btn-gold{
  color: #221a06;
  background: linear-gradient(135deg, var(--gold-hi), var(--gold));
}
.btn-gold:hover{ transform: translateY(-2px); box-shadow: 0 14px 26px -10px rgba(201,164,76,0.45); }
.btn-block{ width:100%; }
.btn-lg{ padding: 15px 30px; font-size: 15.5px; }

/* ---------------------------------------------------------
   Hero
--------------------------------------------------------- */
.hero{
  position: relative;
  overflow: hidden;
  padding: 108px 0 96px;
  background:
    radial-gradient(60% 55% at 82% 8%, rgba(225,47,124,0.16), transparent 60%),
    radial-gradient(45% 45% at 8% 90%, rgba(201,164,76,0.10), transparent 60%),
    var(--ink);
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items:center;
}
.eyebrow-line{
  display:flex; align-items:center; gap:10px;
  color: var(--text-lo); font-size: 13.5px; margin-bottom: 22px;
}
.eyebrow-line .dot{
  width:7px; height:7px; border-radius:50%;
  background: var(--up);
  box-shadow: 0 0 0 4px rgba(53,201,141,0.16);
}
.hero h1{
  font-size: clamp(40px, 5vw, 62px);
  line-height: 1.06;
  color: var(--text-hi);
  max-width: 12ch;
}
.hero h1 .line{
  display:block;
  opacity:0;
  transform: translateY(22px);
  animation: rise .9s var(--ease) forwards;
}
.hero h1 .line:nth-child(1){ animation-delay: .05s; }
.hero h1 .line:nth-child(2){ animation-delay: .18s; }
.hero h1 .line:nth-child(3){ animation-delay: .31s; color: var(--gold-hi); font-style: italic; }
@keyframes rise{ to{ opacity:1; transform:none; } }

.hero p.lead{
  margin-top: 26px;
  font-size: 17.5px;
  color: var(--text-lo);
  max-width: 46ch;
  opacity:0;
  animation: rise .9s var(--ease) forwards;
  animation-delay: .42s;
}
.hero-ctas{
  display:flex; gap:14px; margin-top: 36px;
  opacity:0;
  animation: rise .9s var(--ease) forwards;
  animation-delay: .55s;
}
.hero-stats{
  display:flex; gap: 40px; margin-top: 56px;
  opacity:0;
  animation: rise .9s var(--ease) forwards;
  animation-delay: .68s;
}
.hero-stats div b{
  display:block; font-family: var(--f-display); font-size: 26px; color: var(--text-hi);
}
.hero-stats div span{ font-size: 13px; color: var(--text-lo); }

/* Hero visual: animated market panel */
.hero-visual{
  position:relative;
  border-radius: var(--radius-md);
  border: 1px solid var(--hairline-2);
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01));
  padding: 26px;
  opacity:0;
  animation: fadein 1.1s var(--ease) forwards;
  animation-delay: .3s;
}
@keyframes fadein{ to{opacity:1;} }
.panel-head{
  display:flex; justify-content:space-between; align-items:center;
  margin-bottom: 18px;
}
.panel-head b{ font-family: var(--f-display); font-size: 17px; }
.panel-head span{ font-size: 12px; color: var(--up); background: rgba(53,201,141,0.12); padding:4px 10px; border-radius:20px; }
.chart-svg{ width:100%; height: 190px; }
.chart-line{
  fill:none; stroke: url(#chartGrad); stroke-width: 2.4;
  stroke-dasharray: 900; stroke-dashoffset: 900;
  animation: draw 2.1s var(--ease) forwards;
  animation-delay: .5s;
}
@keyframes draw{ to{ stroke-dashoffset:0; } }
.chart-fill{ opacity:0; animation: fadein 1.5s ease forwards; animation-delay: 1.6s; }
.panel-foot{
  display:grid; grid-template-columns: repeat(3,1fr);
  gap: 12px; margin-top: 20px;
  border-top: 1px solid var(--hairline); padding-top: 18px;
}
.panel-foot div span{ display:block; font-size: 11.5px; color: var(--text-lo); }
.panel-foot div b{ font-size: 14.5px; }

/* ---------------------------------------------------------
   Section basics
--------------------------------------------------------- */
section{ padding: 100px 0; }
.section-dark{ background: var(--ink); }
.section-light{
  background: var(--paper);
  color: var(--text-ink);
}
.section-light h2, .section-light h3{ color: var(--text-ink); }
.section-light .muted{ color: var(--text-ink-lo); }
.section-ink2{ background: var(--ink-2); }

.section-head{
  display:flex; justify-content:space-between; align-items: flex-end;
  gap: 40px; margin-bottom: 56px;
}
.section-head h2{
  font-size: clamp(28px, 3.4vw, 40px);
  max-width: 16ch;
}
.section-head p{ max-width: 38ch; color: var(--text-lo); font-size: 15.5px; }
.section-light .section-head p{ color: var(--text-ink-lo); }

.muted{ color: var(--text-lo); }

/* ---------------------------------------------------------
   Process steps (genuine sequence — numbered)
--------------------------------------------------------- */
.steps{
  display:grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--hairline);
}
.step{
  padding: 34px 26px 0 0;
  border-right: 1px solid var(--hairline);
  position: relative;
}
.step:last-child{ border-right:none; }
.step .num{
  font-family: var(--f-display); font-style: italic;
  font-size: 15px; color: var(--gold-hi);
  display:flex; align-items:center; gap:8px;
}
.step .num::before{
  content:""; width: 26px; height:1px; background: var(--hairline-2);
}
.step h4{ margin-top: 16px; font-size: 19px; color: var(--text-hi); }
.step p{ margin-top: 10px; font-size: 14.5px; color: var(--text-lo); max-width: 30ch; }

/* ---------------------------------------------------------
   Why us — feature list, asymmetric
--------------------------------------------------------- */
.why-grid{
  display:grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start;
}
.feature-row{
  display:grid; grid-template-columns: 44px 1fr; gap:20px;
  padding: 26px 0; border-top: 1px solid var(--hairline);
}
.feature-row:last-child{ border-bottom: 1px solid var(--hairline); }
.feature-row .ic{
  width:44px; height:44px; border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, rgba(225,47,124,0.16), rgba(201,164,76,0.10));
  border: 1px solid var(--hairline-2);
}
.feature-row .ic svg{ width:20px; height:20px; stroke: var(--gold-hi); }
.feature-row h4{ font-size: 17px; color: var(--text-hi); }
.feature-row p{ margin-top: 6px; font-size: 14.5px; color: var(--text-lo); max-width: 50ch; }

/* ---------------------------------------------------------
   Photo band — people, real and unposed
--------------------------------------------------------- */
.photo-band{
  position: relative;
  min-height: 560px;
  display:flex; align-items:flex-end;
  background-size: cover;
  background-position: center 22%;
  overflow: hidden;
}
.photo-band::before{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(0deg, var(--ink) 0%, rgba(10,13,24,0.55) 42%, rgba(10,13,24,0.15) 70%, rgba(10,13,24,0.35) 100%),
    linear-gradient(100deg, rgba(10,13,24,0.75) 0%, rgba(10,13,24,0.15) 48%, transparent 70%);
}
.photo-band .wrap{ position:relative; padding-bottom: 64px; padding-top: 64px; width:100%; }
.photo-band .tag-eyebrow{ color: var(--gold-hi); font-size: 13.5px; margin-bottom: 16px; }
.photo-band h2{ font-size: clamp(28px,3.6vw,42px); max-width: 16ch; color: var(--text-hi); }
.photo-band p{ margin-top: 18px; max-width: 46ch; color: var(--text-lo); font-size: 16px; }
.photo-band .hero-ctas{ margin-top: 30px; opacity:1; animation:none; }

.photo-split{
  display:grid; grid-template-columns: 1fr 1fr; align-items:stretch;
  border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
}
.photo-split figure{ margin:0; position:relative; min-height: 460px; background-size:cover; background-position:center; }
.photo-split figure::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(90deg, transparent 60%, var(--ink) 100%);
}
.photo-split .copy{ padding: 64px 60px; display:flex; flex-direction:column; justify-content:center; }
.photo-split .copy .tag-eyebrow{ color: var(--gold-hi); font-size: 13.5px; margin-bottom: 16px; }
.photo-split .copy h3{ font-size: clamp(24px,2.6vw,32px); max-width:15ch; }
.photo-split .copy p{ margin-top: 16px; color: var(--text-lo); font-size: 15.5px; max-width: 42ch; }
.photo-split.reverse{ direction: rtl; }
.photo-split.reverse .copy{ direction: ltr; }
.photo-split.reverse figure::after{ background: linear-gradient(270deg, transparent 60%, var(--ink) 100%); }

.quote-band{
  display:grid; grid-template-columns: 0.85fr 1.15fr;
  align-items: stretch;
}
.quote-photo{ background-size:cover; background-position:center; min-height: 420px; }
.quote-copy{ padding: 70px 64px; display:flex; flex-direction:column; justify-content:center; background: var(--ink-2); }
.quote-copy .mark-quote{ font-family: var(--f-display); font-style:italic; font-size: 52px; color: var(--gold-hi); line-height:1; margin-bottom: 10px; }
.quote-copy p.quote-text{ font-family: var(--f-display); font-size: 25px; line-height:1.5; color: var(--text-hi); max-width: 22ch; }
.quote-copy .attribution{ margin-top: 26px; font-size: 14px; color: var(--text-lo); }
.quote-copy .attribution b{ color: var(--text-hi); font-weight:600; }

.people-grid{
  display:grid; grid-template-columns: repeat(4,1fr); gap: 22px; margin-top: 40px;
}
.people-card{ border-radius: var(--radius-md); overflow:hidden; border: 1px solid var(--hairline-2); }
.people-card .photo{ height: 220px; background-size:cover; background-position: center; }
.people-card .cap{ padding: 18px 18px 22px; }
.people-card .cap h5{ font-size: 15px; color: var(--text-hi); font-weight:600; }
.people-card .cap span{ font-size: 13px; color: var(--text-lo); display:block; margin-top:4px; }

@media (max-width: 980px){
  .photo-split, .quote-band{ grid-template-columns: 1fr; }
  .photo-split figure, .quote-photo{ min-height: 300px; }
  .photo-split .copy, .quote-copy{ padding: 44px 28px; }
  .people-grid{ grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 720px){
  .people-grid{ grid-template-columns: 1fr 1fr; gap:14px; }
  .photo-band{ min-height: 460px; }
}

/* ---------------------------------------------------------
   Markets grid
--------------------------------------------------------- */
.markets-grid{
  display:grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  overflow:hidden;
}
.market-card{
  background: var(--ink);
  padding: 30px 26px;
  transition: background .3s var(--ease);
}
.market-card:hover{ background: var(--ink-3); }
.market-card .tag{ font-size: 12.5px; color: var(--gold-hi); }
.market-card h4{ margin-top: 10px; font-size: 20px; }
.market-card p{ margin-top: 10px; font-size: 13.5px; color: var(--text-lo); line-height: 1.6; }
.market-card .count{ margin-top: 18px; font-size: 13px; color: var(--text-lo); border-top: 1px solid var(--hairline); padding-top: 14px; }
.market-card .count b{ color: var(--text-hi); }

/* ---------------------------------------------------------
   Stats band
--------------------------------------------------------- */
.stats-band{
  display:grid; grid-template-columns: repeat(4,1fr);
  border-top: 1px solid var(--hairline-2);
  border-bottom: 1px solid var(--hairline-2);
}
.stat-cell{
  padding: 40px 30px; border-right: 1px solid var(--hairline);
}
.stat-cell:last-child{ border-right:none; }
.stat-cell b{ font-family: var(--f-display); font-size: 34px; display:block;
  background: linear-gradient(135deg, var(--gold-hi), var(--magenta));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.stat-cell span{ font-size: 13.5px; color: var(--text-lo); }

/* ---------------------------------------------------------
   CTA band
--------------------------------------------------------- */
.cta-band{
  position:relative; overflow:hidden;
  padding: 90px 0;
  background: linear-gradient(120deg, #170a17 0%, #2a0f22 45%, #1a1024 100%);
  text-align:center;
}
.cta-band::before{
  content:""; position:absolute; inset:0;
  background: radial-gradient(50% 80% at 50% 0%, rgba(225,47,124,0.22), transparent 70%);
}
.cta-band .wrap{ position:relative; }
.cta-band h2{ font-size: clamp(30px,4vw,46px); max-width: 20ch; margin: 0 auto; }
.cta-band p{ margin-top: 18px; color: var(--text-lo); }
.cta-band .hero-ctas{ justify-content:center; margin-top: 34px; opacity:1; animation:none; }

/* ---------------------------------------------------------
   Footer
--------------------------------------------------------- */
footer{
  background: var(--ink-2);
  border-top: 1px solid var(--hairline);
  padding: 70px 0 30px;
}
.foot-grid{
  display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 50px;
}
.foot-grid p{ color: var(--text-lo); font-size: 14px; margin-top: 16px; max-width: 32ch; }
.foot-col h5{ font-size: 13px; color: var(--text-hi); margin-bottom: 18px; font-weight:600; }
.foot-col ul li{ margin-bottom: 12px; }
.foot-col ul a{ font-size: 14px; color: var(--text-lo); transition: color .2s; }
.foot-col ul a:hover{ color: var(--text-hi); }
.foot-bottom{
  margin-top: 60px; padding-top: 26px; border-top: 1px solid var(--hairline);
  display:flex; justify-content:space-between; align-items:center;
  font-size: 13px; color: var(--text-lo);
  flex-wrap: wrap; gap: 14px;
}
.risk-note{
  font-size: 12.5px; color: var(--text-lo); opacity:.75; margin-top: 26px; line-height:1.7; max-width: 900px;
}

/* ---------------------------------------------------------
   Inner page hero (About / Why / Contact / Legal)
--------------------------------------------------------- */
.page-hero{
  padding: 76px 0 64px;
  background:
    radial-gradient(50% 70% at 90% 0%, rgba(225,47,124,0.14), transparent 60%),
    var(--ink);
  border-bottom: 1px solid var(--hairline);
}
.page-hero .kicker{ color: var(--gold-hi); font-size: 13.5px; margin-bottom: 14px; }
.page-hero h1{ font-size: clamp(34px,4.4vw,52px); max-width: 18ch; }
.page-hero p{ margin-top: 18px; color: var(--text-lo); max-width: 56ch; font-size: 16.5px; }

/* Content blocks reused on About/Legal */
.prose h2{ font-size: 24px; color: var(--text-hi); margin: 46px 0 16px; }
.prose h2:first-child{ margin-top:0; }
.prose p{ color: var(--text-lo); font-size: 15.5px; margin-bottom: 14px; max-width: 74ch; }
.prose ul{ margin: 16px 0 22px; }
.prose li{ color: var(--text-lo); font-size: 15.5px; padding-left: 20px; position:relative; margin-bottom:10px; max-width: 72ch; }
.prose li::before{ content:""; position:absolute; left:0; top:9px; width:6px; height:6px; border-radius:50%; background: var(--gold-hi); }
.legal-shell{ display:grid; grid-template-columns: 240px 1fr; gap: 60px; }
.legal-nav{ position:sticky; top: 100px; align-self:start; }
.legal-nav a{ display:block; padding: 9px 0; font-size: 14px; color: var(--text-lo); border-left: 2px solid transparent; padding-left: 14px; }
.legal-nav a:hover, .legal-nav a.active{ color: var(--text-hi); border-color: var(--gold-hi); }
.updated-badge{
  display:inline-block; font-size:12.5px; color: var(--text-lo);
  border:1px solid var(--hairline-2); padding: 6px 14px; border-radius: 20px;
}

/* Values grid (About) */
.values-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 20px; }
.value-card{
  border: 1px solid var(--hairline-2); border-radius: var(--radius-md);
  padding: 30px; background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
}
.value-card .letter{
  font-family: var(--f-display); font-style: italic; font-size: 30px; color: var(--gold-hi);
}
.value-card h4{ margin-top: 14px; font-size: 18px; }
.value-card p{ margin-top: 10px; font-size: 14.5px; color: var(--text-lo); }

/* Team-less about band: leadership principles list */
.timeline{ margin-top: 30px; }
.tl-row{ display:grid; grid-template-columns: 140px 1fr; gap: 30px; padding: 22px 0; border-top: 1px solid var(--hairline); }
.tl-row:last-child{ border-bottom: 1px solid var(--hairline); }
.tl-row .yr{ font-family: var(--f-display); font-style: italic; color: var(--gold-hi); font-size: 17px; }
.tl-row h4{ font-size: 16.5px; }
.tl-row p{ margin-top: 6px; font-size: 14.5px; color: var(--text-lo); max-width: 60ch; }

/* Why-us comparison table */
.compare{
  width:100%; border-collapse: collapse; margin-top: 10px;
  border: 1px solid var(--hairline-2); border-radius: var(--radius-md); overflow:hidden;
}
.compare th, .compare td{ padding: 16px 20px; text-align:left; font-size: 14.5px; border-bottom: 1px solid var(--hairline); }
.compare th{ font-weight:600; color: var(--text-hi); background: var(--ink-3); font-size:13px; }
.compare td{ color: var(--text-lo); }
.compare td.yes{ color: var(--up); font-weight:600; }
.compare tr:last-child td{ border-bottom:none; }

/* ---------------------------------------------------------
   Contact page
--------------------------------------------------------- */
.contact-grid{ display:grid; grid-template-columns: 1fr 1.1fr; gap: 64px; }
.contact-card{
  border: 1px solid var(--hairline-2); border-radius: var(--radius-md);
  padding: 26px; margin-bottom: 16px;
  display:flex; gap: 16px; align-items:flex-start;
}
.contact-card .ic{ width:40px; height:40px; border-radius:50%; flex-shrink:0;
  background: linear-gradient(135deg, rgba(225,47,124,0.18), rgba(201,164,76,0.12));
  display:flex; align-items:center; justify-content:center; }
.contact-card .ic svg{ width:18px; height:18px; stroke: var(--gold-hi); }
.contact-card h4{ font-size: 15.5px; color: var(--text-hi); }
.contact-card p{ margin-top:6px; font-size: 14px; color: var(--text-lo); }

.form-shell{
  border: 1px solid var(--hairline-2); border-radius: var(--radius-md);
  padding: 36px; background: linear-gradient(180deg, rgba(255,255,255,0.025), transparent);
}
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.field{ display:flex; flex-direction:column; gap:8px; }
.field.full{ grid-column: 1 / -1; }
.field label{ font-size: 13px; color: var(--text-lo); }
.field input, .field select, .field textarea{
  background: var(--ink-2); border: 1px solid var(--hairline-2); border-radius: var(--radius-sm);
  color: var(--text-hi); padding: 13px 14px; font-family: var(--f-body); font-size: 14.5px;
  transition: border-color .2s;
}
.field textarea{ resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color: var(--gold-hi);
}
.form-note{ font-size: 12.5px; color: var(--text-lo); margin-top: 14px; }

/* Map-esque static block */
.office-strip{ display:flex; gap:10px; margin-top: 26px; flex-wrap:wrap; }
.office-pill{ font-size: 12.5px; color: var(--text-lo); border:1px solid var(--hairline-2); padding:7px 14px; border-radius: 20px; }

/* ---------------------------------------------------------
   Auth teaser panels (link out to external login/register)
--------------------------------------------------------- */
.auth-teaser{
  display:grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.auth-card{
  border: 1px solid var(--hairline-2); border-radius: var(--radius-md);
  padding: 36px; position:relative; overflow:hidden;
}
.auth-card.login{ background: linear-gradient(160deg, rgba(225,47,124,0.10), transparent 70%); }
.auth-card.register{ background: linear-gradient(160deg, rgba(201,164,76,0.10), transparent 70%); }
.auth-card h3{ font-size: 22px; }
.auth-card p{ margin-top:10px; font-size:14.5px; color: var(--text-lo); max-width: 34ch; }
.auth-card .btn{ margin-top: 22px; }

/* ---------------------------------------------------------
   Responsive
--------------------------------------------------------- */
@media (max-width: 980px){
  .hero-grid, .why-grid, .contact-grid, .legal-shell{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: repeat(2,1fr); }
  .step{ border-bottom: 1px solid var(--hairline); padding-bottom: 30px; }
  .markets-grid{ grid-template-columns: repeat(2,1fr); }
  .stats-band{ grid-template-columns: repeat(2,1fr); }
  .stat-cell{ border-bottom: 1px solid var(--hairline); }
  .foot-grid{ grid-template-columns: 1fr 1fr; }
  .values-grid{ grid-template-columns: 1fr; }
  .auth-teaser{ grid-template-columns: 1fr; }
  .legal-nav{ position:static; display:flex; flex-wrap:wrap; gap: 4px 18px; margin-bottom: 30px; }
}
@media (max-width: 720px){
  .nav-links, .nav-cta{ display:none; }
  .hamburger{ display:flex; }
  .form-row{ grid-template-columns: 1fr; }
  .foot-grid{ grid-template-columns: 1fr; gap: 34px; }
  .foot-bottom{ flex-direction:column; align-items:flex-start; }
  .wrap{ padding: 0 20px; }
  section{ padding: 70px 0; }
}
