@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces.woff2") format("woff2");
  font-weight: 500 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #ece3d0;
  --panel: #f4eee0;
  --ink: #14291f;
  --ink-2: #3c4b42;
  --pine: #1f3d2e;
  --blaze: #e0592b;
  --moss: #6e7f5e;
  --hair: rgba(20, 41, 31, 0.16);
  --radius: 5px;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

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

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  position: relative;
}

/* Real topographic contour texture (Hero Patterns "Topography", MIT),
   tinted per-surface via mask so one asset works on paper and pine. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.055;
  background-color: var(--ink);
  -webkit-mask-image: url("topography.svg");
  mask-image: url("topography.svg");
  -webkit-mask-size: 500px 500px;
  mask-size: 500px 500px;
  -webkit-mask-repeat: repeat;
  mask-repeat: repeat;
}

a { color: var(--blaze); text-underline-offset: 3px; }

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

/* ---------- banner + header ---------- */
.disclaimer-banner {
  background: var(--pine);
  color: var(--paper);
  text-align: center;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  padding: 0.5rem 1rem;
}
.disclaimer-banner strong { color: #f0a35f; }

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-weight: 640;
  font-size: 1.4rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
nav.site a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
nav.site a:hover { color: var(--blaze); }

main { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }

/* ---------- section eyebrow (trail waypoint) ---------- */
section { padding: 3.5rem 0; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 1.5rem;
}
.eyebrow .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--blaze);
  flex: none;
  box-shadow: 0 0 0 3px rgba(224, 89, 43, 0.18);
}
.eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--hair); }

section h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); margin-bottom: 0.5rem; }
.section-lead { max-width: 620px; color: var(--ink-2); font-size: 1.05rem; margin-bottom: 2rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  border-radius: 6px;
  padding: 0.7rem 1.5rem;
  font-family: var(--body);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.1s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blaze); color: var(--paper); }
.btn-primary:hover { background: #c94d22; }
.btn-secondary { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--paper); }

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
  padding: 3rem 0 4rem;
}
.hero .iphone { align-self: center; }
.hero .eyebrow { margin-bottom: 1.25rem; }
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.7rem);
  font-weight: 620;
  margin-bottom: 1.1rem;
}
.hero h1 em { color: var(--blaze); font-style: normal; }
.hero p.tagline { font-size: 1.15rem; color: var(--ink-2); margin-bottom: 1.75rem; max-width: 34ch; }

.number-pill {
  display: inline-block;
  background: var(--panel);
  border: 1.5px dashed var(--blaze);
  color: var(--ink-2);
  border-radius: 4px;
  padding: 0.55rem 1.1rem;
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  transform: rotate(-1.2deg);
}
.cta-row { display: flex; gap: 1rem; flex-wrap: wrap; }

.signup-form { margin: 0 0 1.25rem; }
.signup-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.signup-row input[type="tel"] {
  flex: 1 1 220px;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  font-size: 1rem;
  background: var(--panel);
  color: var(--ink);
}
.signup-row input[type="tel"]:focus { outline: none; border-color: var(--blaze); box-shadow: 0 0 0 3px rgba(224, 89, 43, 0.15); }
.signup-row .btn { border: none; font-size: 1rem; cursor: pointer; }
.consent { font-family: var(--mono); font-size: 0.68rem; line-height: 1.5; color: var(--moss); margin-top: 0.7rem; max-width: 480px; }
.signup-status { font-size: 0.9rem; font-weight: 600; color: var(--blaze); margin-top: 0.4rem; min-height: 1.3em; }

/* ---------- how it works: trail stepper ---------- */
.trail-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  margin-top: 0.5rem;
}
.trail-steps::before {
  content: "";
  position: absolute;
  /* Anchor the dashed connector to the centers of the first and last dots
     (each dot is 38px, at the left of its 1fr column; gap is 1.5rem). */
  top: 19px;
  left: 19px;
  right: calc((100% - 3rem) / 3 - 19px);
  border-top: 2px dashed var(--moss);
  z-index: 0;
}
.tstep { position: relative; padding-top: 3rem; }
.tstep-dot {
  position: absolute;
  top: 0; left: 0;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper);
  border: 2px solid var(--blaze);
  border-radius: 50%;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--blaze);
  z-index: 1;
}
.tstep h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.tstep p { color: var(--ink-2); font-size: 0.98rem; }

/* ---------- coverage-gap stat band ---------- */
.statband {
  background: var(--pine);
  color: var(--paper);
  border-radius: 6px;
  padding: 2.75rem 2.25rem;
  position: relative;
  overflow: hidden;
}
.statband::before {
  content: "";
  position: absolute; inset: 0;
  opacity: 0.12;
  background-color: var(--paper);
  -webkit-mask-image: url("topography.svg");
  mask-image: url("topography.svg");
  -webkit-mask-size: 460px 460px;
  mask-size: 460px 460px;
  -webkit-mask-repeat: repeat;
  mask-repeat: repeat;
}
.statband-inner { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; z-index: 1; }
.bigstat { padding: 0 1.9rem; border-left: 1px solid rgba(236, 227, 208, 0.2); }
.bigstat:first-child { border-left: none; padding-left: 0; }
.bigstat-num {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.3rem, 4vw, 3.3rem);
  font-weight: 640;
  color: var(--blaze);
  line-height: 1;
  margin-bottom: 0.65rem;
}
.bigstat-num small { font-family: var(--mono); font-size: 0.95rem; color: var(--paper); letter-spacing: 0.04em; }
.bigstat-lbl { font-size: 0.9rem; color: #d9d3c1; line-height: 1.55; }
.statband-note { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.03em; color: #93a389; margin-top: 1.9rem; position: relative; z-index: 1; }

/* ---------- reasons: icon rows ---------- */
.reasons { border-top: 1px solid var(--hair); }
.reason {
  display: flex;
  gap: 1.4rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--hair);
  align-items: flex-start;
}
.reason-ico { flex: none; width: 42px; height: 42px; color: var(--blaze); }
.reason-ico svg { width: 100%; height: 100%; }
.reason h3 { font-size: 1.35rem; margin-bottom: 0.3rem; }
.reason p { color: var(--ink-2); font-size: 0.98rem; }

.warn-box {
  background: rgba(224, 89, 43, 0.08);
  border-left: 3px solid var(--blaze);
  border-radius: 4px;
  padding: 1.1rem 1.35rem;
  margin: 2rem 0 0;
  color: #8a3c1c;
  font-size: 0.95rem;
}

/* ---------- iphone ---------- */
.iphone { display: flex; justify-content: center; }
.iphone-frame {
  width: min(320px, 86vw);
  background: linear-gradient(160deg, #2c4a39, #142a1f);
  border-radius: 46px;
  padding: 12px;
  box-shadow: 0 22px 50px rgba(20, 41, 31, 0.32), inset 0 0 0 2px rgba(255, 255, 255, 0.06);
}
.iphone-island { width: 92px; height: 26px; background: #0a120d; border-radius: 14px; margin: 4px auto 0; }
.iphone-status {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.5rem 1.4rem 0.35rem;
  background: #fff;
  border-radius: 34px 34px 0 0;
  margin-top: -22px;
}
.status-time { font-family: var(--mono); font-weight: 700; font-size: 0.85rem; color: var(--ink); padding-top: 20px; }
.status-icons { display: flex; align-items: center; gap: 6px; padding-top: 20px; }
.status-icons svg { display: block; }
.ico-off { fill: #c2c7bd; stroke: #c2c7bd; }
.ico-off line { stroke: #9aa295; }
.ico-sat .sat-body { fill: var(--blaze); }
.ico-sat .sat-signal { stroke: var(--blaze); }
.status-batt { width: 22px; height: 11px; border: 1.4px solid #b9beb2; border-radius: 3px; padding: 1.5px; position: relative; }
.status-batt::after { content: ""; position: absolute; right: -3px; top: 3px; width: 2px; height: 4px; background: #b9beb2; border-radius: 0 1px 1px 0; }
.batt-fill { display: block; width: 72%; height: 100%; background: var(--pine); border-radius: 1px; }

.sat-banner {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: #fbe9df;
  color: var(--blaze);
  font-family: var(--mono);
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 0.4rem 0.5rem;
}
.chat-head {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: #fff;
  padding: 0.6rem 0 0.75rem;
  border-bottom: 1px solid #eef0e9;
}
.chat-avatar { line-height: 0; }
.chat-name { font-family: var(--display); font-size: 0.9rem; font-weight: 640; color: var(--ink); }

.phone-demo {
  list-style: none;
  background: #fff;
  padding: 1rem 0.9rem 0.5rem;
  height: 322px;
  overflow-y: auto;
  scrollbar-width: none;
}
.phone-demo::-webkit-scrollbar { display: none; }
.bubble { max-width: 82%; padding: 0.6rem 0.85rem; border-radius: 18px; margin-bottom: 0.6rem; font-size: 0.9rem; }
.bubble.user { margin-left: auto; background: var(--pine); color: #fff; border-bottom-right-radius: 4px; }
.bubble.bot { background: #edefe8; color: var(--ink); border-bottom-left-radius: 4px; }

.imsg-bar { display: flex; align-items: center; gap: 8px; background: #fff; padding: 0.6rem 0.9rem 1rem; border-radius: 0 0 34px 34px; }
.imsg-field { flex: 1; border: 1.5px solid #d7dbd0; border-radius: 999px; padding: 0.45rem 0.9rem; font-size: 0.82rem; color: var(--moss); }
.imsg-send { width: 28px; height: 28px; background: var(--blaze); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 700; }

.bubble.typing { display: inline-flex; gap: 4px; align-items: center; }
.bubble.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--moss); }

@media (prefers-reduced-motion: no-preference) {
  .ico-sat .sat-signal { animation: satpulse 2.4s ease-in-out infinite; transform-origin: 4px 12px; }
  .sat-banner svg { animation: satpulse 2.4s ease-in-out infinite; }
  @keyframes satpulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }

  .bubble.enter { animation: bubblein 0.32s ease both; }
  @keyframes bubblein { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }

  .bubble.typing span { animation: typedot 1s infinite ease-in-out; }
  .bubble.typing span:nth-child(2) { animation-delay: 0.15s; }
  .bubble.typing span:nth-child(3) { animation-delay: 0.3s; }
  @keyframes typedot { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
}

/* ---------- pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; max-width: 1040px; margin: 0 auto; }
.price-card {
  background: var(--panel);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: 1.9rem;
  position: relative;
}
.price-card.featured { border: 1.5px solid var(--blaze); }
.price-badge {
  position: absolute; top: -0.75rem; left: 1.9rem;
  background: var(--blaze); color: var(--paper);
  border-radius: 3px;
  font-family: var(--mono); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
  padding: 0.2rem 0.6rem; text-transform: uppercase;
}
.price-card h3 { font-size: 1.4rem; margin-bottom: 0.25rem; }
.price { font-family: var(--display); font-size: 2.8rem; font-weight: 660; margin: 0.3rem 0 0.75rem; color: var(--ink); }
.price small { font-family: var(--mono); font-size: 0.85rem; font-weight: 500; color: var(--moss); letter-spacing: 0.03em; }
.price-annual { font-family: var(--mono); font-size: 0.8rem; color: var(--ink-2); margin: -0.35rem 0 0.5rem; }
.price-annual strong { color: var(--blaze); }
.price-card ul { list-style: none; margin: 1rem 0 1.5rem; }
.price-card li { padding: 0.4rem 0 0.4rem 1.6rem; position: relative; color: var(--ink-2); font-size: 0.95rem; }
.price-card li::before { content: "\2713"; position: absolute; left: 0; color: var(--blaze); font-weight: 700; }
.price-note { margin-top: 0.75rem; font-family: var(--mono); font-size: 0.72rem; line-height: 1.5; color: var(--moss); }
.btn-ghost { display: inline-block; padding: 0.7rem 1.5rem; border-radius: 6px; font-weight: 600; color: var(--moss); border: 1.5px dashed var(--moss); }

/* ---------- faq (flat, hairline rows) ---------- */
.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--hair); padding: 1.1rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--hair); }
.faq summary {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 560;
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--blaze); font-size: 1.4rem; font-weight: 400; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin-top: 0.8rem; color: var(--ink-2); font-size: 0.97rem; }

/* ---------- footer ---------- */
footer.site {
  background: var(--pine);
  color: #cdd8c2;
  margin-top: 4rem;
  padding: 2.75rem 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}
footer.site > * { position: relative; z-index: 1; }
footer.site::before {
  content: "";
  position: absolute; inset: 0; opacity: 0.1;
  background-color: var(--paper);
  -webkit-mask-image: url("topography.svg");
  mask-image: url("topography.svg");
  -webkit-mask-size: 460px 460px;
  mask-size: 460px 460px;
  -webkit-mask-repeat: repeat;
  mask-repeat: repeat;
}
footer.site strong { color: var(--paper); }
footer.site a { color: var(--paper); }
footer.site .fine { max-width: 640px; margin: 1rem auto 0; font-family: var(--mono); font-size: 0.7rem; line-height: 1.6; color: #93a389; }

/* ---------- legal + contact ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 2.5rem 1.5rem; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 0.5rem; }
.legal > p:first-of-type { font-family: var(--mono); font-size: 0.8rem; color: var(--moss); }
.legal h2 { font-size: 1.3rem; margin: 1.9rem 0 0.5rem; }
.legal p, .legal li { color: var(--ink-2); margin-bottom: 0.75rem; }
.legal ul { padding-left: 1.4rem; }

.contact-form { margin-top: 1.5rem; }
.contact-form label { display: block; font-family: var(--mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink); margin: 1.1rem 0 0.4rem; }
.contact-form label .optional { text-transform: none; letter-spacing: 0; color: var(--moss); }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  font: inherit;
  color: var(--ink);
  background: var(--panel);
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--blaze); box-shadow: 0 0 0 3px rgba(224, 89, 43, 0.15); }
.contact-form .btn { border: none; cursor: pointer; margin-top: 1.25rem; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- responsive ---------- */
@media (max-width: 780px) {
  header.site { flex-direction: column; gap: 0.6rem; padding-bottom: 0.75rem; }
  nav.site { display: flex; justify-content: center; flex-wrap: wrap; }
  nav.site a { margin: 0 0.6rem; }
  .hero { grid-template-columns: 1fr; padding: 2rem 0 1.5rem; gap: 2.5rem; }
  .hero p.tagline { max-width: none; }
  .trail-steps { grid-template-columns: 1fr; gap: 1.25rem; }
  .trail-steps::before { display: none; }
  .tstep { padding-top: 0; padding-left: 3.25rem; }
  .tstep-dot { top: 0; }
  .statband-inner { grid-template-columns: 1fr; gap: 1.75rem; }
  .bigstat { padding: 0; border-left: none; border-top: 1px solid rgba(236, 227, 208, 0.2); padding-top: 1.5rem; }
  .bigstat:first-child { border-top: none; padding-top: 0; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
}

@media (min-width: 601px) and (max-width: 860px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
}

/* 3 price cards get cramped on tablets; stack them there */
@media (min-width: 781px) and (max-width: 940px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; }
}
