:root{
  --bg:#0a0b0d;
  --panel:#15171b;
  --panel-alt:#1b1e23;
  --line:#2a2d33;
  --text:#edebe6;
  --text-muted:#8b8f98;
  --red:#ff3b30;
  --red-dim:#8c231e;
  --amber:#ffb020;
  --amber-dim:#8f621a;
  --display:'Oswald',sans-serif;
  --body:'Inter',sans-serif;
  --mono:'JetBrains Mono',monospace;
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  background:var(--bg);
  color:var(--text);
  font-family:var(--body);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img,svg{display:block; max-width:100%;}
a{color:inherit; text-decoration:none;}
ul{list-style:none;}

.wrap{max-width:1180px; margin:0 auto; padding:0 24px;}

h1,h2,h3{font-family:var(--display); text-transform:uppercase; letter-spacing:0.02em; line-height:1.05;}

.eyebrow{
  font-family:var(--mono);
  font-size:12px;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:var(--red);
}

/* ---------- Focus states ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline:2px solid var(--red);
  outline-offset:3px;
}

/* ---------- Nav ---------- */
header.nav{
  position:sticky; top:0; z-index:50;
  background:rgba(10,11,13,0.86);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:18px 0;
}
.logo{
  font-family:var(--display);
  font-weight:600;
  font-size:20px;
  letter-spacing:0.03em;
  display:flex; align-items:center; gap:10px;
}
.logo img{
  width:40px; height:40px;
  object-fit:contain;
  flex:none;
}
.btn{
  font-family:var(--mono);
  font-size:13px;
  letter-spacing:0.06em;
  text-transform:uppercase;
  padding:12px 22px;
  border-radius:2px;
  border:1px solid var(--red);
  background:var(--red);
  color:#0a0b0d;
  font-weight:600;
  cursor:pointer;
  transition:background .15s ease, color .15s ease, transform .15s ease;
  display:inline-block;
}
.btn:hover{background:transparent; color:var(--red); transform:translateY(-1px);}
.btn-ghost{
  background:transparent; color:var(--text); border-color:var(--line);
}
.btn-ghost:hover{border-color:var(--red); color:var(--red);}

/* ---------- Hero ---------- */
.hero{
  padding:88px 0 70px;
  border-bottom:1px solid var(--line);
  background:
    radial-gradient(ellipse 900px 500px at 80% -10%, rgba(255,59,48,0.10), transparent 60%);
}
.hero-grid{
  display:grid;
  grid-template-columns:1.1fr 0.9fr;
  gap:56px;
  align-items:center;
}
.hero h1{
  font-size:clamp(34px,5vw,58px);
  margin:16px 0 22px;
}
.hero h1 .accent{color:var(--red);}
.hero p.lead{
  font-size:17px;
  color:var(--text-muted);
  max-width:46ch;
  margin-bottom:32px;
}
.hero-ctas{display:flex; align-items:center; gap:18px; flex-wrap:wrap;}
.hero-note{
  font-family:var(--mono);
  font-size:12px;
  color:var(--text-muted);
  letter-spacing:0.05em;
}

/* ---------- Gauge ---------- */
.gauge-card{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:6px;
  padding:28px 24px 20px;
}
.gauge-figure{position:relative; width:100%; max-width:340px; margin:0 auto;}
.gauge-readout{
  position:absolute;
  left:50%; bottom:6px; transform:translateX(-50%);
  text-align:center;
}
.gauge-readout .num{
  font-family:var(--display);
  font-size:40px;
  font-weight:600;
  color:var(--red);
  line-height:1;
}
.gauge-readout .lbl{
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:0.14em;
  color:var(--text-muted);
  margin-top:4px;
}
#needle{
  transform-origin:150px 160px;
  transform:rotate(-90deg);
  transition:transform 2.1s cubic-bezier(.2,.9,.25,1);
}
.gauge-caption{
  font-family:var(--mono);
  font-size:11px;
  color:var(--text-muted);
  text-align:center;
  letter-spacing:0.1em;
  text-transform:uppercase;
  margin-top:10px;
}

/* ---------- Section shells ---------- */
section{padding:86px 0;}
section.tight{padding:70px 0;}
.section-head{max-width:640px; margin-bottom:44px;}
.section-head h2{font-size:clamp(26px,3.4vw,38px); margin-top:10px;}
.section-head p{color:var(--text-muted); margin-top:14px; font-size:16px;}
.border-b{border-bottom:1px solid var(--line);}
.panel-bg{background:var(--panel);}

/* ---------- Old way cards ---------- */
.old-way-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
  border-radius:6px;
  overflow:hidden;
}
.old-way-card{
  background:var(--panel);
  padding:30px 26px 34px;
}
.status-chip{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:var(--amber);
  border:1px solid var(--amber-dim);
  background:rgba(255,176,32,0.08);
  padding:5px 10px;
  border-radius:20px;
  margin-bottom:18px;
}
.status-chip .dot{width:6px; height:6px; border-radius:50%; background:var(--amber);}
.old-way-card h3{font-size:19px; margin-bottom:12px;}
.old-way-card p{color:var(--text-muted); font-size:14.5px;}

/* ---------- Difference cards ---------- */
.diff-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}
.diff-card{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:6px;
  padding:30px 26px;
}
.ring{
  width:74px; height:74px;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:20px;
  background:conic-gradient(var(--red) calc(var(--pct) * 1%), var(--panel-alt) 0);
}
.ring-inner{
  width:56px; height:56px;
  border-radius:50%;
  background:var(--panel);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--mono);
  font-size:13px;
  color:var(--red);
}
.diff-card h3{font-size:19px; margin-bottom:10px;}
.diff-card p{color:var(--text-muted); font-size:14.5px;}

/* ---------- Services ---------- */
.service-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}
.service-card{
  border:1px solid var(--line);
  border-radius:6px;
  padding:28px 24px;
  position:relative;
  transition:border-color .15s ease, transform .15s ease;
}
.service-card:hover{border-color:var(--red); transform:translateY(-2px);}
.service-index{
  font-family:var(--mono);
  color:var(--red);
  font-size:12px;
  letter-spacing:0.1em;
  margin-bottom:16px;
  display:block;
}
.service-card h3{font-size:20px; margin-bottom:10px;}
.service-card p{color:var(--text-muted); font-size:14.5px;}

/* ---------- Contact ---------- */
.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
  align-items:start;
}
.field{margin-bottom:18px;}
.field label{
  display:block;
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:var(--text-muted);
  margin-bottom:8px;
}
.field input, .field textarea{
  width:100%;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:4px;
  padding:13px 14px;
  color:var(--text);
  font-family:var(--body);
  font-size:15px;
}
.field input:focus, .field textarea:focus{border-color:var(--red); outline:none;}
.field textarea{min-height:120px; resize:vertical;}
.hp-field{position:absolute; left:-9999px; top:-9999px;}
.form-status{
  font-family:var(--mono);
  font-size:13px;
  margin-top:14px;
  min-height:18px;
}
.form-status.success{color:#33d17a;}
.form-status.error{color:var(--red);}
.contact-info{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:6px;
  padding:32px;
}
.contact-info h3{font-size:20px; margin-bottom:14px;}
.contact-info p{color:var(--text-muted); font-size:15px; margin-bottom:22px;}
.contact-line{
  font-family:var(--mono);
  font-size:14px;
  color:var(--text);
  margin-bottom:10px;
  display:flex; gap:10px;
}
.contact-line span.k{color:var(--text-muted); min-width:64px;}
.social-row{display:flex; gap:14px; margin-top:26px;}
.social-row a{
  width:38px; height:38px;
  border:1px solid var(--line);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-family:var(--mono);
  font-size:12px;
  color:var(--text-muted);
  transition:border-color .15s ease, color .15s ease;
}
.social-row a:hover{border-color:var(--red); color:var(--red);}

/* ---------- Footer ---------- */
footer{
  border-top:1px solid var(--line);
  padding:32px 0;
}
.footer-inner{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px;
}
footer p{font-family:var(--mono); font-size:12px; color:var(--text-muted); letter-spacing:0.05em;}

/* ---------- Reveal ---------- */
.reveal{opacity:0; transform:translateY(16px); transition:opacity .6s ease, transform .6s ease;}
.reveal.in{opacity:1; transform:none;}

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

@media (max-width:920px){
  .hero-grid{grid-template-columns:1fr;}
  .old-way-grid{grid-template-columns:1fr;}
  .diff-grid{grid-template-columns:1fr;}
  .service-grid{grid-template-columns:1fr;}
  .contact-grid{grid-template-columns:1fr;}
}
