/* ==========================================================================
   FXCB DRAW — design tokens
   Signature: the GMT bezel ring, used as a countdown/progress device
   ========================================================================== */

:root{
  --bg: #0A0D13;
  --bg-elevated: #10141D;
  --bg-card: #131824;
  --line: rgba(232,230,224,0.09);
  --line-strong: rgba(232,230,224,0.16);

  --text: #E9E7E0;
  --text-dim: #8B93A3;
  --text-faint: #565E6E;

  --blue: #2451D6;      /* GMT day */
  --blue-bright: #4C7CFF;
  --red: #C4213C;       /* GMT night / urgency */
  --gold: #C6A24D;      /* case / marker accent */
  --steel: #AAB4C4;

  --radius: 2px;
  --radius-lg: 6px;

  --display: 'Fraunces', 'Iowan Old Style', serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before{
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 82% -10%, rgba(36,81,214,0.16), transparent 45%),
    radial-gradient(circle at -10% 60%, rgba(196,33,60,0.08), transparent 40%);
}

a{ color: inherit; }

.wrap{
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

.eyebrow{
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before{
  content: '';
  width: 16px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

h1,h2,h3{
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}

h1{ font-size: clamp(38px, 6vw, 68px); line-height: 1.03; }
h2{ font-size: clamp(26px, 3.6vw, 38px); line-height: 1.1; }
h3{ font-size: 19px; }

p{ color: var(--text-dim); margin: 0; }

.mono{ font-family: var(--mono); }

/* ---------- nav ---------- */
.nav{
  position: sticky; top: 0; z-index: 20;
  background: rgba(10,13,19,0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap{
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand{
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--text);
}
.brand b{ color: var(--gold); font-weight: 600; }

.btn{
  font-family: var(--body);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  padding: 11px 20px;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:hover{ border-color: var(--steel); transform: translateY(-1px); }
.btn-primary{
  background: linear-gradient(180deg, var(--blue-bright), var(--blue));
  border-color: transparent;
  color: #fff;
}
.btn-primary:hover{ filter: brightness(1.08); }
.btn-gold{
  background: linear-gradient(180deg, #DDBB63, var(--gold));
  border-color: transparent;
  color: #14110a;
}
.btn-block{ width: 100%; justify-content: center; }
.btn-sm{ padding: 8px 14px; font-size: 13px; }

/* ---------- hero ---------- */
.hero{
  position: relative;
  padding: 120px 0 90px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
}
.hero-bg{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  z-index: 0;
}
.hero-overlay{
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(6,8,12,0.55) 0%, rgba(6,8,12,0.35) 30%, rgba(6,8,12,0.88) 78%, var(--bg) 100%),
    linear-gradient(90deg, rgba(6,8,12,0.75) 0%, rgba(6,8,12,0.15) 55%, rgba(6,8,12,0.55) 100%);
}
.hero-content{ position: relative; z-index: 1; }
.hero h1{ margin: 18px 0 20px; text-shadow: 0 2px 24px rgba(0,0,0,0.5); }
.hero .lede{ font-size: 17px; max-width: 46ch; }
.hero-actions{ display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

.countdown{
  margin-top: 40px;
  display: flex;
  gap: 22px;
}
.countdown .seg{ text-align: left; }
.countdown .num{
  font-family: var(--mono);
  font-size: 30px;
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.countdown .lbl{
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ---------- bezel ring (signature component) ---------- */
.bezel-ring{ position: relative; display: inline-flex; }
.bezel-ring svg{ transform: rotate(-90deg); }
.bezel-ring .center{
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.bezel-ring .center .n{
  font-family: var(--mono); font-size: 28px; font-weight: 600; color: var(--text);
  font-variant-numeric: tabular-nums;
}
.bezel-ring .center .d{
  font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint);
}

/* ---------- sections ---------- */
section{ padding: 80px 0; border-bottom: 1px solid var(--line); }
.section-head{ max-width: 56ch; margin-bottom: 44px; }
.section-head h2{ margin-top: 14px; }
.section-head p{ margin-top: 12px; font-size: 15.5px; }

.steps{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.step{
  background: var(--bg);
  padding: 30px 26px;
}
.step .idx{
  font-family: var(--mono);
  color: var(--gold);
  font-size: 13px;
}
.step h3{ margin: 14px 0 8px; }
.step p{ font-size: 14.5px; }

.split{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.spec-sheet{
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.spec-row{
  display: flex;
  justify-content: space-between;
  padding: 15px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.spec-row:last-child{ border-bottom: none; }
.spec-row .k{ color: var(--text-faint); font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.spec-row .v{ color: var(--text); text-align: right; }

.faq-item{ padding: 22px 0; border-bottom: 1px solid var(--line); }
.faq-item:last-child{ border-bottom: none; }
.faq-item h3{ font-size: 16px; margin-bottom: 8px; }
.faq-item p{ font-size: 14.5px; }

.legal{
  font-size: 12.5px;
  color: var(--text-faint);
  line-height: 1.7;
}

footer{ padding: 40px 0; }
footer .wrap{ display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
footer p{ font-size: 13px; }
.footer-grid{ display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.contact-links{ display: flex; gap: 20px; flex-wrap: wrap; }
.contact-links a{ font-size: 12.5px; color: var(--text-dim); text-decoration: none; }
.contact-links a:hover{ color: var(--blue-bright); }

/* ---------- auth modal ---------- */
.modal-backdrop{
  position: fixed; inset: 0; background: rgba(6,8,12,0.78);
  display: none; align-items: center; justify-content: center; z-index: 50; padding: 20px;
}
.modal-backdrop.open{ display: flex; }
.modal{
  width: 100%; max-width: 380px;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.modal h3{ font-family: var(--display); font-size: 24px; margin-bottom: 6px; }
.modal .sub{ font-size: 13.5px; margin-bottom: 24px; }
.field{ margin-bottom: 14px; }
.field label{ display: block; font-size: 12px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.field input, .field select{
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--line-strong);
  color: var(--text);
  padding: 11px 12px;
  border-radius: var(--radius);
  font-family: var(--body);
  font-size: 14px;
}
.field input:focus, .field select:focus{ outline: 2px solid var(--blue-bright); outline-offset: 1px; }
.modal-toggle{ text-align: center; margin-top: 16px; font-size: 13.5px; }
.modal-toggle button{ background: none; border: none; color: var(--blue-bright); cursor: pointer; font-size: 13.5px; text-decoration: underline; padding: 0; }
.modal-close{ position: absolute; top: 18px; right: 18px; background: none; border: none; color: var(--text-faint); font-size: 20px; cursor: pointer; }
.modal-wrap{ position: relative; }
.msg{ font-size: 13px; margin-top: 12px; }
.msg.err{ color: var(--red); }
.msg.ok{ color: #6FC98A; }

@media (max-width: 860px){
  .hero{ min-height: 560px; padding: 90px 0 56px; align-items: flex-end; }
  .hero-bg{ background-position: center 20%; }
  .hero-overlay{
    background:
      linear-gradient(180deg, rgba(6,8,12,0.45) 0%, rgba(6,8,12,0.5) 35%, rgba(6,8,12,0.95) 82%, var(--bg) 100%);
  }
  .split{ grid-template-columns: 1fr; gap: 32px; }
  .steps{ grid-template-columns: 1fr; }
  .countdown{ flex-wrap: wrap; }
}

@media (max-width: 480px){
  .hero{ min-height: 480px; padding: 76px 0 44px; }
  .hero h1{ font-size: 40px; }
  .hero-actions{ flex-direction: column; align-items: stretch; }
  .hero-actions .btn{ width: 100%; text-align: center; justify-content: center; }
  .countdown{ gap: 14px; justify-content: space-between; }
  .countdown .num{ font-size: 24px; }
}
