/* LanternLines — shared styles. Plain CSS, no build step by design (see website/README.md). */

:root {
  --bg: #0a0a0b;
  --bg-alt: #131316;
  --bg-card: #17171b;
  --border: #232327;
  --text: #f5f5f4;
  --text-dim: #9a9a9e;
  --text-faint: #6b6b70;
  --orange: #ff7a29;
  --orange-dim: rgba(255, 122, 41, 0.14);
  --orange-line: rgba(255, 122, 41, 0.35);
  --green: #3ddc84;
  --radius: 12px;
  --max: 1120px;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---------- Header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--text);
}
.brand .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 12px var(--orange);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-dim);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-phone {
  font-size: 14px;
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: #100a06; }
.btn-primary:hover { background: #ff8c47; }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--orange-line); }
.btn-block { width: 100%; }

/* ---------- Sections / typography ---------- */
section { padding: 88px 0; }
section.tight { padding: 56px 0; }
.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-dim);
  border: 1px solid var(--orange-line);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}
h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
}
h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
}
h3 { font-size: 19px; margin: 0 0 8px; letter-spacing: -0.01em; }
.lede {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 0 34px;
}
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
p { color: var(--text-dim); margin: 0 0 16px; }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 60px; position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -160px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, var(--orange-dim), transparent 70%);
  pointer-events: none;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 720px;
}
.hero-stats div { background: var(--bg-alt); padding: 20px 22px; }
.hero-stats .num { font-size: 26px; font-weight: 700; color: var(--orange); letter-spacing: -0.02em; }
.hero-stats .lbl { font-size: 13px; color: var(--text-dim); margin-top: 4px; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.card .icon {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: var(--orange-dim);
  border: 1px solid var(--orange-line);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 16px;
}
.steps { counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
}
.step:first-child { border-top: none; }
.step-num {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--orange-line);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
}

/* ---------- Pricing ---------- */
.plan {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
}
.plan.featured { border-color: var(--orange-line); box-shadow: 0 0 0 1px var(--orange-line), 0 20px 60px -30px rgba(255,122,41,0.35); position: relative; }
.plan.featured .badge {
  position: absolute; top: -13px; left: 26px;
  background: var(--orange); color: #100a06;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em;
  padding: 4px 10px; border-radius: 999px; text-transform: uppercase;
}
.plan .price { font-size: 40px; font-weight: 700; letter-spacing: -0.02em; margin: 14px 0 2px; }
.plan .price span { font-size: 15px; color: var(--text-dim); font-weight: 500; }
.plan .cadence { font-size: 13px; color: var(--text-faint); margin-bottom: 22px; }
.plan ul { list-style: none; margin: 0 0 26px; padding: 0; flex: 1; }
.plan li { display: flex; gap: 10px; padding: 8px 0; font-size: 14.5px; color: var(--text-dim); border-top: 1px solid var(--border); }
.plan li:first-child { border-top: none; }
.plan li::before { content: "✓"; color: var(--orange); font-weight: 700; }
.pricing-note {
  margin-top: 28px;
  font-size: 13.5px;
  color: var(--text-faint);
  border-left: 2px solid var(--orange-line);
  padding-left: 14px;
}

/* ---------- Calculator ---------- */
.calc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}
.calc-field { margin-bottom: 20px; }
.calc-field label { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--text-dim); margin-bottom: 8px; }
.calc-field output { color: var(--text); font-weight: 600; }
.calc-field input[type="range"] {
  width: 100%;
  accent-color: var(--orange);
}
.calc-result { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; border-left: 1px solid var(--border); padding-left: 36px; }
.calc-result .label { font-size: 13px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.calc-result .amount { font-size: 44px; font-weight: 700; color: var(--orange); letter-spacing: -0.02em; }
.calc-result .amount small { font-size: 16px; color: var(--text-dim); font-weight: 500; }
.calc-result .sub { font-size: 13.5px; color: var(--text-faint); margin-top: 10px; }

/* ---------- FAQ ---------- */
.faq-item { border-top: 1px solid var(--border); padding: 20px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--orange); font-size: 20px; flex-shrink: 0; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin-top: 12px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
form.contact-form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13.5px; color: var(--text-dim); font-weight: 500; }
.field input, .field select, .field textarea {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 14.5px;
  font-family: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orange-line);
}
.field textarea { resize: vertical; min-height: 110px; }
.contact-info .card { margin-bottom: 16px; }
.contact-info .row { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.contact-info .row:last-child { margin-bottom: 0; }
.form-note { font-size: 13px; color: var(--text-faint); margin-top: 4px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-alt));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 56px;
  text-align: center;
}
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-band .hero-actions { justify-content: center; margin-top: 8px; margin-bottom: 0; }

/* ---------- Footer ---------- */
footer.site {
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
footer .brand { margin-bottom: 12px; }
footer .foot-desc { font-size: 14px; color: var(--text-dim); max-width: 260px; }
footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); margin: 0 0 14px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
footer a { color: var(--text-dim); text-decoration: none; font-size: 14px; }
footer a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-faint);
}

/* ---------- Misc ---------- */
.banner {
  background: var(--orange-dim);
  border-bottom: 1px solid var(--orange-line);
  color: var(--text);
  font-size: 13.5px;
  text-align: center;
  padding: 10px 16px;
}
.banner strong { color: var(--orange); }
.page-hero { padding: 64px 0 20px; }
.tag-list { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.tag { font-size: 13px; color: var(--text-dim); border: 1px solid var(--border); padding: 6px 12px; border-radius: 999px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  .calc-result { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links { 
    position: fixed; inset: 64px 16px auto 16px;
    background: var(--bg-alt); border: 1px solid var(--border); border-radius: 12px;
    flex-direction: column; align-items: flex-start; padding: 18px;
    display: none; gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 4px; width: 100%; }
  .nav-toggle { display: flex; }
  .nav-phone { display: none; }
  section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-band { padding: 36px 22px; }
}
