/* ---------------------------------------------------
   Swift Line — design tokens
--------------------------------------------------- */
:root{
  --navy-900:#0A1220;
  --navy-800:#111D31;
  --navy-700:#1C2C45;
  --navy-600:#2B3F5C;
  --amber:#FFB020;
  --amber-dim:#E89A0C;
  --paper:#EDEFF3;
  --paper-dim:#9CA9BE;
  --green:#3ECF8E;
  --radius:14px;
  --max:1120px;
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--navy-900);
  color:var(--paper);
  font-family:'Inter',system-ui,-apple-system,sans-serif;
  -webkit-font-smoothing:antialiased;
  line-height:1.5;
}

h1,h2,h3,h4{
  font-family:'Space Grotesk',sans-serif;
  font-weight:600;
  margin:0;
  letter-spacing:-0.01em;
}

.mono{
  font-family:'IBM Plex Mono',monospace;
}

a{color:inherit;}
img{max-width:100%;display:block;}

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

/* focus states */
a:focus-visible,button:focus-visible{
  outline:2px solid var(--amber);
  outline-offset:3px;
  border-radius:4px;
}

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

/* ---------------- Nav ---------------- */
.nav{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(10,18,32,0.85);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--navy-700);
}
.nav .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:72px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-family:'Space Grotesk',sans-serif;
  font-weight:700;
  font-size:1.15rem;
  text-decoration:none;
}
.brand-mark{
  width:28px;height:28px;
  border-radius:8px;
  background:var(--amber);
  position:relative;
  flex-shrink:0;
}
.brand-mark::after{
  content:"";
  position:absolute;
  inset:0;
  margin:auto;
  width:10px;height:10px;
  background:var(--navy-900);
  clip-path:polygon(0 0,100% 50%,0 100%);
  left:9px;
}
.nav-links{
  display:flex;
  gap:32px;
  list-style:none;
  margin:0;padding:0;
  font-size:0.92rem;
}
.nav-links a{
  text-decoration:none;
  color:var(--paper-dim);
  transition:color .15s;
}
.nav-links a:hover{color:var(--paper);}

.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:11px 22px;
  border-radius:999px;
  font-weight:600;
  font-size:0.92rem;
  text-decoration:none;
  border:none;
  cursor:pointer;
  font-family:'Inter',sans-serif;
  transition:transform .15s, background .15s, box-shadow .15s;
}
.btn-amber{
  background:var(--amber);
  color:var(--navy-900);
  box-shadow:0 0 0 0 rgba(255,176,32,0);
}
.btn-amber:hover{
  background:var(--amber-dim);
  transform:translateY(-1px);
  box-shadow:0 8px 24px -8px rgba(255,176,32,.55);
}
.btn-ghost{
  background:transparent;
  color:var(--paper);
  border:1px solid var(--navy-600);
}
.btn-ghost:hover{border-color:var(--paper-dim);}

/* ---------------- Hero ---------------- */
.hero{
  padding:96px 0 80px;
  position:relative;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute;
  top:-200px; right:-200px;
  width:600px;height:600px;
  background:radial-gradient(circle,rgba(255,176,32,.10),transparent 70%);
  pointer-events:none;
}
.hero-grid{
  display:grid;
  grid-template-columns:1.05fr 0.95fr;
  gap:56px;
  align-items:center;
}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:'IBM Plex Mono',monospace;
  font-size:0.78rem;
  color:var(--amber);
  background:rgba(255,176,32,0.08);
  border:1px solid rgba(255,176,32,0.25);
  padding:6px 12px;
  border-radius:999px;
  margin-bottom:22px;
  letter-spacing:0.02em;
}
.eyebrow .dot{
  width:6px;height:6px;border-radius:50%;
  background:var(--amber);
  animation:pulse 1.6s infinite;
}
@keyframes pulse{
  0%,100%{opacity:1;}
  50%{opacity:.35;}
}
.hero h1{
  font-size:clamp(2.2rem,4.6vw,3.4rem);
  line-height:1.08;
  margin-bottom:20px;
}
.hero h1 .accent{color:var(--amber);}
.hero p.lead{
  font-size:1.1rem;
  color:var(--paper-dim);
  max-width:46ch;
  margin-bottom:32px;
}
.hero-ctas{display:flex; gap:14px; flex-wrap:wrap; margin-bottom:28px;}
.hero-note{
  font-size:0.85rem;
  color:var(--paper-dim);
  display:flex;
  align-items:center;
  gap:8px;
}
.hero-note b{color:var(--paper);}

/* ------------- Phone mockup / signature animation ------------- */
.phone{
  position:relative;
  margin:0 auto;
  width:290px;
  height:590px;
  background:linear-gradient(180deg,#0D1728,#0A121F);
  border:10px solid #060B14;
  border-radius:44px;
  box-shadow:0 40px 80px -30px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,0.03);
  overflow:hidden;
}
.phone::before{
  content:"";
  position:absolute;
  top:0;left:50%;
  transform:translateX(-50%);
  width:120px;height:22px;
  background:#060B14;
  border-radius:0 0 16px 16px;
  z-index:5;
}
.phone-screen{
  position:absolute; inset:0;
  display:flex; flex-direction:column;
}

/* Ringing state */
.call-stage{
  position:absolute; inset:0;
  display:flex; flex-direction:column; align-items:center;
  justify-content:center;
  padding-top:40px;
  opacity:1;
  transition:opacity .5s ease;
}
.call-stage.hide{opacity:0; pointer-events:none;}
.caller-ring{
  width:96px;height:96px;
  border-radius:50%;
  background:var(--navy-700);
  display:flex;align-items:center;justify-content:center;
  font-family:'Space Grotesk';
  font-size:2rem;
  margin-bottom:18px;
  position:relative;
}
.caller-ring::before,.caller-ring::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:50%;
  border:2px solid var(--amber);
  animation:ringwave 1.6s ease-out infinite;
  opacity:0;
}
.caller-ring::after{animation-delay:.5s;}
@keyframes ringwave{
  0%{transform:scale(1); opacity:.7;}
  100%{transform:scale(1.9); opacity:0;}
}
.caller-name{font-family:'Space Grotesk'; font-size:1.15rem; margin-bottom:4px;}
.caller-num{font-family:'IBM Plex Mono'; font-size:0.85rem; color:var(--paper-dim);}
.call-status{
  margin-top:8px;
  font-size:0.85rem;
  color:var(--paper-dim);
}
.call-missed-badge{
  margin-top:14px;
  font-family:'IBM Plex Mono';
  font-size:0.72rem;
  color:#FF6B6B;
  background:rgba(255,107,107,0.1);
  border:1px solid rgba(255,107,107,0.3);
  padding:4px 10px;
  border-radius:999px;
  opacity:0;
  transition:opacity .3s;
}
.call-missed-badge.show{opacity:1;}

/* Text stage */
.text-stage{
  position:absolute; inset:0;
  display:flex; flex-direction:column;
  opacity:0;
  transition:opacity .5s ease;
  pointer-events:none;
}
.text-stage.show{opacity:1; pointer-events:auto;}
.text-header{
  padding:44px 18px 14px;
  border-bottom:1px solid var(--navy-700);
  display:flex; align-items:center; gap:10px;
}
.text-avatar{
  width:34px;height:34px;border-radius:50%;
  background:var(--navy-700);
  display:flex;align-items:center;justify-content:center;
  font-size:0.85rem; font-family:'Space Grotesk';
}
.text-title{font-size:0.92rem; font-weight:600;}
.text-sub{font-family:'IBM Plex Mono'; font-size:0.7rem; color:var(--paper-dim);}
.text-body{
  flex:1;
  padding:16px 14px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:8px;
}
.bubble{
  max-width:82%;
  padding:10px 13px;
  border-radius:16px;
  font-size:0.82rem;
  line-height:1.4;
  opacity:0;
  transform:translateY(6px);
  transition:opacity .3s, transform .3s;
}
.bubble.in{
  align-self:flex-start;
  background:var(--navy-700);
  border-bottom-left-radius:4px;
}
.bubble.out{
  align-self:flex-end;
  background:var(--amber);
  color:var(--navy-900);
  border-bottom-right-radius:4px;
}
.bubble.visible{opacity:1; transform:translateY(0);}
.bubble .ts{
  display:block;
  font-family:'IBM Plex Mono';
  font-size:0.62rem;
  opacity:0.6;
  margin-top:4px;
}
.timer-pill{
  position:absolute;
  bottom:18px; left:50%;
  transform:translateX(-50%);
  font-family:'IBM Plex Mono';
  font-size:0.68rem;
  background:rgba(62,207,142,0.12);
  border:1px solid rgba(62,207,142,0.35);
  color:var(--green);
  padding:5px 12px;
  border-radius:999px;
  opacity:0;
  transition:opacity .3s;
  white-space:nowrap;
}
.timer-pill.show{opacity:1;}

/* ---------------- Sections ---------------- */
section{padding:88px 0;}
.section-head{
  max-width:640px;
  margin-bottom:52px;
}
.section-head .eyebrow{margin-bottom:16px;}
.section-head h2{
  font-size:clamp(1.7rem,3vw,2.3rem);
  margin-bottom:14px;
}
.section-head p{
  color:var(--paper-dim);
  font-size:1.02rem;
}

/* How it works — real sequence, numbered */
.steps{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1px;
  background:var(--navy-700);
  border:1px solid var(--navy-700);
  border-radius:var(--radius);
  overflow:hidden;
}
.step{
  background:var(--navy-900);
  padding:32px 28px;
}
.step-num{
  font-family:'IBM Plex Mono';
  color:var(--amber);
  font-size:0.85rem;
  margin-bottom:16px;
  display:block;
}
.step h3{font-size:1.15rem; margin-bottom:10px;}
.step p{color:var(--paper-dim); font-size:0.92rem;}

/* Feature grid */
.features{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}
.feature{
  background:var(--navy-800);
  border:1px solid var(--navy-700);
  border-radius:var(--radius);
  padding:26px;
}
.feature-icon{
  width:38px;height:38px;
  border-radius:10px;
  background:rgba(255,176,32,0.1);
  color:var(--amber);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:16px;
  font-family:'Space Grotesk';
  font-weight:700;
}
.feature h3{font-size:1.02rem; margin-bottom:8px;}
.feature p{font-size:0.9rem; color:var(--paper-dim);}

/* Trade strip */
.trade-strip{
  border-top:1px solid var(--navy-700);
  border-bottom:1px solid var(--navy-700);
  padding:28px 0;
}
.trade-strip .wrap{
  display:flex;
  gap:40px;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:center;
  font-family:'IBM Plex Mono';
  font-size:0.85rem;
  color:var(--paper-dim);
}

/* Pricing */
.price-card{
  background:var(--navy-800);
  border:1px solid var(--navy-700);
  border-radius:var(--radius);
  padding:40px;
  display:grid;
  grid-template-columns:1fr auto;
  gap:24px;
  align-items:center;
}
.price-card .amount{
  font-family:'Space Grotesk';
  font-size:2.6rem;
}
.price-card .amount span{
  font-size:1rem;
  color:var(--paper-dim);
  font-family:'Inter';
}
.price-list{
  list-style:none;
  padding:0;margin:14px 0 0;
  font-size:0.9rem;
  color:var(--paper-dim);
}
.price-list li{
  padding:4px 0;
  padding-left:20px;
  position:relative;
}
.price-list li::before{
  content:"✓";
  position:absolute; left:0;
  color:var(--green);
}

/* CTA band */
.cta-band{
  background:linear-gradient(135deg,var(--navy-800),var(--navy-900));
  border:1px solid var(--navy-700);
  border-radius:24px;
  padding:56px;
  text-align:center;
}
.cta-band h2{font-size:clamp(1.6rem,3vw,2.1rem); margin-bottom:14px;}
.cta-band p{color:var(--paper-dim); margin-bottom:28px;}

/* Footer */
footer{
  border-top:1px solid var(--navy-700);
  padding:48px 0 32px;
}
.footer-grid{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:24px;
  margin-bottom:32px;
}
.footer-links{
  display:flex;
  gap:24px;
  list-style:none;
  padding:0;margin:0;
  font-size:0.88rem;
  color:var(--paper-dim);
}
.footer-links a{text-decoration:none;}
.footer-links a:hover{color:var(--paper);}
.footer-bottom{
  font-size:0.8rem;
  color:var(--paper-dim);
  font-family:'IBM Plex Mono';
}

/* Legal pages */
.legal{
  padding:64px 0 96px;
}
.legal h1{
  font-size:2rem;
  margin-bottom:8px;
}
.legal .updated{
  font-family:'IBM Plex Mono';
  font-size:0.8rem;
  color:var(--paper-dim);
  margin-bottom:40px;
  display:block;
}
.legal h2{
  font-size:1.2rem;
  margin-top:40px;
  margin-bottom:12px;
  color:var(--amber);
}
.legal p, .legal li{
  color:var(--paper-dim);
  font-size:0.96rem;
  line-height:1.7;
}
.legal ul{padding-left:20px;}
.legal a{color:var(--amber); text-decoration:underline;}
.legal-nav{
  background:var(--navy-800);
  border:1px solid var(--navy-700);
  border-radius:var(--radius);
  padding:18px 22px;
  margin-bottom:8px;
  font-size:0.88rem;
}
.legal-nav a{color:var(--paper-dim); text-decoration:none; margin-right:20px;}
.legal-nav a:hover{color:var(--paper);}

/* Responsive */
@media (max-width:880px){
  .hero-grid{grid-template-columns:1fr;}
  .phone{width:250px; height:510px;}
  .steps{grid-template-columns:1fr;}
  .features{grid-template-columns:1fr;}
  .price-card{grid-template-columns:1fr;}
  .nav-links{display:none;}
  .cta-band{padding:36px 24px;}
}
