/* ===== Base — Lantastic brand: red, cream, black ===== */
:root {
  --bg: #ffffff;
  --bg-alt: #fbf7f1;
  --surface: #ffffff;
  --text: #14181f;
  --muted: #5b6573;
  --primary: #e0120b;
  --primary-dark: #b50d08;
  --accent: #ff4d3d;
  --cream: #f7f0e0;
  --ink: #14181f;
  --border: #ece7df;
  --radius: 14px;
  --max: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

/* Display font for headings, stats, and the quote */
h1, h2, h3, h4, h5,
.section-title, .hero h1, .quote,
.hero-stats strong, .net-stats strong, .roi-banner strong, .price {
  font-family: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

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

a { color: inherit; text-decoration: none; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(224,18,11,0.7); }
.btn-small { padding: 10px 20px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); padding: 11px 24px; }
.btn-ghost:hover { background: var(--ink); color: #fff; box-shadow: none; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f1f1f1; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: inline-flex; align-items: center; }
.logo-img { height: 42px; width: auto; display: block; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink); font-size: 15px; font-weight: 600; transition: color .15s ease; }
.nav a:not(.btn):hover { color: var(--primary); }
.nav a.btn { color: #fff; }

/* ===== Hero ===== */
.hero {
  padding: 100px 0 80px;
  background:
    radial-gradient(700px 360px at 85% -5%, rgba(255, 77, 61, 0.16), transparent),
    radial-gradient(600px 340px at 5% 5%, rgba(224, 18, 11, 0.10), transparent),
    var(--bg);
  text-align: center;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 2px; font-size: 13px;
  color: var(--primary); font-weight: 800; margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(34px, 6vw, 60px); line-height: 1.08; font-weight: 800;
  letter-spacing: -1.5px; max-width: 880px; margin: 0 auto 22px; color: var(--ink);
}
.hero h1 .hl-text { color: var(--primary); }
.lead { font-size: clamp(17px, 2.4vw, 20px); color: var(--muted); max-width: 680px; margin: 0 auto 36px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 56px; justify-content: center; flex-wrap: wrap; margin-top: 64px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 34px; font-weight: 800; color: var(--primary); }
.hero-stats span { color: var(--muted); font-size: 14px; }

/* ===== Trust strip ===== */
.strip { background: var(--ink); color: #fff; padding: 16px 0; text-align: center; }
.strip p { font-size: 14px; letter-spacing: 1px; color: rgba(255,255,255,0.8); font-weight: 600; }

/* ===== Sections ===== */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: clamp(28px, 4vw, 40px); font-weight: 800; text-align: center; letter-spacing: -1px; color: var(--ink); }
.section-sub { text-align: center; color: var(--muted); max-width: 600px; margin: 14px auto 0; font-size: 17px; }

/* ===== Card grid ===== */
.grid { display: grid; gap: 22px; margin-top: 54px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid-industries { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: 0 18px 40px -24px rgba(20,24,31,0.25); }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; margin-bottom: 18px;
  border-radius: 13px; background: rgba(224, 18, 11, 0.08); color: var(--primary);
}
.ico {
  width: 26px; height: 26px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.card h3 { font-size: 20px; margin-bottom: 8px; color: var(--ink); }
.card p { color: var(--muted); font-size: 15px; }
.industry { padding: 26px; }
.industry h3 { font-size: 18px; }
.industry p { font-size: 14px; }

/* ===== Steps ===== */
.steps { display: grid; gap: 24px; margin-top: 54px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step { text-align: center; padding: 16px; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--primary); font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 18px;
}
.step h3 { font-size: 21px; margin-bottom: 8px; color: var(--ink); }
.step p { color: var(--muted); font-size: 15px; }

/* ===== Use cases ===== */
.usecase-list { display: grid; gap: 20px; margin-top: 54px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.usecase { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); padding: 26px; border-left: 4px solid var(--primary); }
.usecase h3 { font-size: 19px; margin-bottom: 6px; color: var(--ink); }
.usecase p { color: var(--muted); font-size: 15px; }

/* ===== Pricing ===== */
.pricing-grid { align-items: stretch; }
.price-card { display: flex; flex-direction: column; position: relative; }
.price-card h3 { font-size: 22px; color: var(--ink); }
.price-tagline { color: var(--muted); font-size: 15px; margin: 6px 0 20px; }
.price-card ul { list-style: none; margin-bottom: 26px; flex: 1; }
.price-card li { padding: 9px 0; border-bottom: 1px solid var(--border); color: var(--muted); font-size: 15px; }
.price-card li::before { content: "✓ "; color: var(--primary); font-weight: 800; }
.price-card .btn { text-align: center; }
.price-card.featured { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary), 0 24px 50px -24px rgba(224,18,11,0.45); }
.badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; font-size: 12px; font-weight: 800;
  padding: 5px 14px; border-radius: 999px; text-transform: uppercase; letter-spacing: 1px;
}

/* ===== Quote ===== */
.quote-wrap { text-align: center; max-width: 760px; }
.quote { font-size: clamp(22px, 3.2vw, 30px); font-weight: 700; color: var(--ink); line-height: 1.35; letter-spacing: -0.5px; }
.quote-by { margin-top: 18px; color: var(--muted); font-weight: 600; }

/* ===== CTA ===== */
.cta { background: var(--primary); text-align: center; }
.cta-inner h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -1px; color: #fff; }
.cta-inner p { color: rgba(255,255,255,0.92); max-width: 560px; margin: 14px auto 30px; font-size: 18px; }

.cta-sub { font-size: 15px; margin-top: 18px; color: rgba(255,255,255,0.92); }
.cta-sub strong { color: #fff; }

/* ===== Top announcement bar ===== */
.topbar { background: var(--ink); color: #fff; font-size: 14px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 42px; padding: 6px 24px; flex-wrap: wrap; }
.topbar-msg a { color: var(--cream); font-weight: 700; }
.topbar-msg a:hover { text-decoration: underline; }

/* Attention-grabbing Utah button */
.utah-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: #fff !important; font-weight: 800; font-size: 13.5px;
  padding: 6px 14px; border-radius: 999px; white-space: nowrap;
  animation: utah-pulse 1.6s ease-out infinite;
}
.utah-btn:hover { background: var(--primary-dark); text-decoration: none !important; }
.utah-btn .q {
  display: inline-grid; place-items: center; width: 19px; height: 19px;
  border-radius: 50%; background: var(--cream); color: var(--primary);
  font-size: 13px; font-weight: 900; line-height: 1;
  animation: q-flash 0.8s steps(1, end) infinite;
}
@keyframes q-flash { 0%, 100% { opacity: 1; } 50% { opacity: 0.12; } }
@keyframes utah-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(224, 18, 11, 0.55); }
  70%  { box-shadow: 0 0 0 11px rgba(224, 18, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(224, 18, 11, 0); }
}

/* ===== Modal popup (pure CSS via :target) ===== */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }
.modal:target { opacity: 1; visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(20, 24, 31, 0.62); backdrop-filter: blur(2px); }
.modal-card {
  position: relative; background: #fff; border-radius: 16px; padding: 40px;
  max-width: 540px; width: calc(100% - 40px); max-height: 90vh; overflow-y: auto;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5);
  transform: translateY(14px) scale(.98); transition: transform .25s ease;
}
.modal:target .modal-card { transform: translateY(0) scale(1); }
.modal-card h3 { font-size: 26px; font-weight: 800; letter-spacing: -.5px; color: var(--ink); margin: 6px 0 14px; }
.modal-lead { color: var(--muted); font-size: 16px; }
.modal-close { position: absolute; top: 12px; right: 18px; font-size: 30px; line-height: 1; color: var(--muted); }
.modal-close:hover { color: var(--ink); }
.utah-partners { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 16px; }
.utah-partner { flex: 1; min-width: 130px; text-align: center; padding: 18px 12px; border: 2px solid var(--border); border-radius: 12px; font-weight: 800; color: var(--ink); background: var(--bg-alt); }
.modal-note { color: var(--muted); font-size: 14px; }
.modal-cta { margin-top: 22px; }

@media (prefers-reduced-motion: reduce) {
  .utah-btn, .utah-btn .q { animation: none; }
}

/* ===== Eyebrow centered ===== */
.eyebrow.center { text-align: center; }

/* ===== Card link ===== */
.card-link { display: inline-block; margin-top: 14px; color: var(--primary); font-weight: 700; font-size: 14px; }
.card-link:hover { color: var(--primary-dark); }

/* ===== Split sections ===== */
.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.split-text h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 800; letter-spacing: -1px; margin: 8px 0 16px; color: var(--ink); }
.split-text .para { color: var(--muted); font-size: 17px; margin-bottom: 22px; }
.check-list { list-style: none; margin-bottom: 28px; }
.check-list li { position: relative; padding: 8px 0 8px 30px; color: var(--text); font-size: 15.5px; border-bottom: 1px solid var(--border); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 8px; color: #fff; background: var(--primary); width: 20px; height: 20px; border-radius: 50%; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.split-aside { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.split-aside h4 { font-size: 16px; text-transform: uppercase; letter-spacing: 1px; color: var(--primary); margin-bottom: 16px; }
.aside-list { list-style: none; }
.aside-list li { display: flex; flex-direction: column; padding: 12px 0; border-bottom: 1px solid var(--border); }
.aside-list li:last-child { border-bottom: 0; }
.aside-list strong { color: var(--ink); font-size: 15px; }
.aside-list span { color: var(--muted); font-size: 14px; }
.split-aside.dark { background: var(--ink); border-color: var(--ink); }
.split-aside.dark h4 { color: var(--cream); }
.split-aside.dark p { color: rgba(255,255,255,0.82); font-size: 15.5px; }

/* ===== Two-column compare (good/bad) ===== */
.compare-two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 50px; }
.compare-col { border-radius: var(--radius); padding: 30px; border: 1px solid var(--border); }
.compare-col h4 { font-size: 19px; margin-bottom: 16px; }
.compare-col ul { list-style: none; }
.compare-col li { padding: 9px 0; font-size: 15px; border-bottom: 1px dashed var(--border); }
.compare-col li:last-child { border-bottom: 0; }
.compare-col.bad { background: #fbf3f2; }
.compare-col.bad h4 { color: #b50d08; }
.compare-col.good { background: #f1f8f2; border-color: #cfe8d4; }
.compare-col.good h4 { color: #1f7a37; }
.note { text-align: center; max-width: 720px; margin: 28px auto 0; color: var(--muted); font-size: 15px; font-style: italic; }

/* ===== ROI banner ===== */
.roi-banner { display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; margin-top: 44px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.roi-banner div { display: flex; flex-direction: column; align-items: center; }
.roi-banner strong { font-size: 30px; font-weight: 800; color: var(--primary); }
.roi-banner span { color: var(--muted); font-size: 14px; }

/* ===== Comparison table ===== */
.table-wrap { margin-top: 50px; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare-table th, .compare-table td { padding: 15px 18px; text-align: left; font-size: 15px; border-bottom: 1px solid var(--border); }
.compare-table thead th { background: var(--ink); color: #fff; font-weight: 700; }
.compare-table thead th.hl { background: var(--primary); }
.compare-table td.hl { color: var(--primary); font-weight: 700; }
.compare-table tbody tr:nth-child(even) { background: var(--bg-alt); }
.compare-table td:first-child { font-weight: 600; color: var(--ink); }

/* ===== Steps 4-up ===== */
.steps-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* ===== Specs grid ===== */
.specs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 0; margin-top: 50px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.spec { display: flex; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--border); background: var(--surface); }
.spec-k { flex: 0 0 150px; font-weight: 700; color: var(--ink); font-size: 14px; }
.spec-v { color: var(--muted); font-size: 14.5px; }

/* ===== Tools grid ===== */
.grid-tools { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.tool h3 { font-size: 18px; }

/* ===== Dark section ===== */
.section-dark { background: var(--ink); }
.section-title.light, .section-sub.light { color: #fff; }
.section-sub.light { color: rgba(255,255,255,0.7); }
.net-stats { display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; margin-top: 50px; }
.net-stats div { display: flex; flex-direction: column; align-items: center; }
.net-stats strong { font-size: 30px; font-weight: 800; color: var(--cream); }
.net-stats span { color: rgba(255,255,255,0.65); font-size: 14px; margin-top: 4px; }

/* ===== Peering partners ===== */
.peer-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 46px; }
.peer {
  border: 1px solid var(--border); background: var(--surface); border-radius: 999px;
  padding: 11px 20px; font-weight: 700; font-size: 15px; color: var(--ink);
  transition: border-color .15s ease, color .15s ease, transform .15s ease;
}
.peer:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.peer.featured { background: var(--primary); color: #fff; border-color: var(--primary); }
.peer.featured:hover { background: var(--primary-dark); color: #fff; }
.peer-label { text-align: center; font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); font-weight: 700; margin: 42px 0 0; }
.peer.ix { background: var(--ink); color: #fff; border-color: var(--ink); }
.peer.ix:hover { background: #000; color: #fff; }
.peer.ix .city { color: rgba(255, 255, 255, 0.6); font-weight: 500; margin-left: 7px; }
.peer-source { text-align: center; margin-top: 28px; font-size: 13px; color: var(--muted); }
.peer-source a { color: var(--primary); font-weight: 600; }

/* ===== Pricing 4-up ===== */
.pricing-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* ===== FAQ ===== */
.narrow { max-width: 820px; }
.faq { margin-top: 44px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; margin-bottom: 12px; padding: 4px 22px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 16px 0; list-style: none; position: relative; padding-right: 30px; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 24px; color: var(--primary); font-weight: 400; transition: transform .2s ease; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); font-size: 15px; padding: 0 0 18px; }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--border); padding: 56px 0 28px; background: var(--bg-alt); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 36px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 16px; max-width: 280px; }
.footer-col h5 { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--ink); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--muted); font-size: 14px; padding: 5px 0; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
.footer-bottom p { color: var(--muted); font-size: 13px; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  .nav { gap: 14px; }
  .nav a:not(.btn) { display: none; }
  .hero-stats { gap: 28px; }
  .compare-two { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .spec-k { flex-basis: 120px; }
}
