/* ==========================================================================
   Loon — public site
   Square corners, solid rules, no shadow, no gradient, no glow, no blur.
   Warm paper ground so it reads like a printed form, not a screen.
   Photographs carry the warmth; nothing decorative is generated.
   ========================================================================== */

:root {
  --paper:      #f6f2e9;
  --paper-band: #ece6d8;
  --paper-deep: #e2dbc9;
  --ink:        #14191c;
  --ink-soft:   #556066;
  --rule-soft:  #c3baa7;

  --forest:     #1a3b31;
  --forest-ink: #122a23;
  --lake:       #113542;

  --ok:   #2c6647;
  --warn: #8a5711;
  --bad:  #8d2f21;

  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas,
          "Liberation Mono", monospace;

  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; border-radius: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

/* Paper grain. Flat monochrome noise at 3% — the texture of stock, not an
   effect. No gradient, nothing coloured, nothing that moves. */
body {
  margin: 0;
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.6;
  font-synthesis-weight: none;
}

a { color: inherit; text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

h1, h2, h3, h4 { margin: 0; font-weight: 650; letter-spacing: -0.014em; line-height: 1.18; }
h1 { font-size: 30px; }
h2 { font-size: 23px; }
h3 { font-size: 18px; }
p { margin: 0 0 0.9em; }
p:last-child { margin-bottom: 0; }

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

.label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-soft);
}
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-soft); }
.small { font-size: 14.5px; }

/* --- masthead ------------------------------------------------------------ */
.masthead { background: var(--forest-ink); color: var(--paper); border-bottom: 2px solid var(--ink); }
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; padding: 15px 0; text-decoration: none; color: inherit; }
.brand svg { display: block; }
.brand b { font-size: 26px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; line-height: 1; }
.mast-right { display: flex; align-items: center; gap: 20px; font-size: 13.5px; }
.mast-right a { text-decoration: none; }
.mast-right a:hover { text-decoration: underline; }
.mast-phone { font-family: var(--mono); font-weight: 600; }
.mast-portal { border: 1px solid rgba(246,242,233,0.75); padding: 7px 13px; }
.mast-portal:hover { background: var(--paper); color: var(--forest-ink); text-decoration: none; }

/* --- nav ----------------------------------------------------------------- */
.nav { background: var(--paper-band); border-bottom: 2px solid var(--ink); }
.nav ul { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.nav li + li { border-left: 1px solid var(--rule-soft); }
.nav a { display: block; padding: 13px 19px; text-decoration: none; font-size: 14.5px; font-weight: 550; }
.nav a:hover { background: var(--ink); color: var(--paper); }
.nav a[aria-current="page"] { background: var(--paper); box-shadow: inset 0 -3px 0 var(--forest); }

/* --- sections ------------------------------------------------------------ */
section { border-bottom: 2px solid var(--ink); }
section:last-of-type { border-bottom: 0; }
.sec-head { display: flex; align-items: baseline; gap: 15px; padding: 30px 0 8px; }
.sec-head .rule { flex: 1; height: 1px; background: var(--rule-soft); }
.sec-body { padding-bottom: 38px; }
.band { background: var(--paper-band); }

/* --- hero ---------------------------------------------------------------- */
/* A photograph sits behind a flat forest wash. Flat rgba, not a gradient.
   With no photo present the wash is simply the solid colour. */
.hero { position: relative; background-color: var(--forest); color: var(--paper); isolation: isolate; }
.hero-photo { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--forest); }
.hero.has-photo::after { background: rgba(18,42,35,0.86); }
.hero .wrap { padding-top: 40px; padding-bottom: 40px; }

.hero h1 { font-size: 34px; max-width: 20ch; margin-bottom: 14px; }
.hero-lede { max-width: 54ch; font-size: 18.5px; line-height: 1.5; margin-bottom: 28px; color: #e2e9e4; }
.hero-lede strong { color: var(--paper); font-weight: 650; }

/* --- address checker ----------------------------------------------------- */
.check-form { border: 2px solid rgba(246,242,233,0.85); background: rgba(10,26,21,0.42); }
.check-form h2 {
  font-size: 12.5px; font-family: var(--mono); letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 500; padding: 11px 16px; border-bottom: 1px solid rgba(246,242,233,0.6);
}
.check-fields { display: flex; flex-wrap: wrap; }
.field { flex: 1 1 200px; border-right: 1px solid rgba(246,242,233,0.6); }
.field:last-of-type { border-right: 0; }
.field label {
  display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 10px 13px 0; color: #a9beb5;
}
.field input, .field select {
  width: 100%; border: 0; background: transparent; color: var(--paper);
  font-family: var(--sans); font-size: 16px; padding: 4px 13px 11px; appearance: none;
}
.field select option { color: var(--ink); background: var(--paper); }
.field input:focus, .field select:focus { outline: 2px solid var(--paper); outline-offset: -2px; }
.field input::placeholder { color: #7f948c; }
.check-submit {
  display: block; width: 100%; border: 0; border-top: 1px solid rgba(246,242,233,0.6);
  background: var(--paper); color: var(--forest-ink);
  font-family: var(--mono); font-size: 14px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; padding: 15px; cursor: pointer;
}
.check-submit:hover { background: var(--ink); color: var(--paper); }
.check-submit:disabled { opacity: 0.7; cursor: default; }
.check-result { margin-top: 18px; border: 2px solid var(--paper); background: rgba(10,26,21,0.5); padding: 15px 17px; font-size: 15.5px; }
.check-result[hidden] { display: none !important; }
.check-result .r-head { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 7px; }

/* light variant, for the standalone checker page on paper */
.check-light .check-form { border-color: var(--ink); background: var(--paper); }
.check-light .check-form h2 { border-bottom-color: var(--ink); background: var(--ink); color: var(--paper); }
.check-light .field { border-right-color: var(--rule-soft); }
.check-light .field label { color: var(--ink-soft); }
.check-light .field input, .check-light .field select { color: var(--ink); }
.check-light .check-submit { border-top: 1px solid var(--ink); background: var(--ink); color: var(--paper); }
.check-light .check-submit:hover { background: var(--forest); }
.check-light .check-result { border-color: var(--ink); background: var(--paper-band); color: var(--ink); }

/* --- tables -------------------------------------------------------------- */
/* Rules, not boxes. No outer frame, no vertical lines, no fill on the header,
   no zebra. Cells align to the text column so a table sits in the page as a
   document does, rather than as a widget dropped onto it. */
.tbl-scroll { overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 560px; }
table.t caption {
  text-align: left; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-soft); padding: 0 0 11px;
}
table.t th, table.t td { text-align: left; padding: 12px 18px; vertical-align: baseline; }
table.t th:first-child, table.t td:first-child { padding-left: 0; }
table.t th:last-child,  table.t td:last-child  { padding-right: 0; }

table.t thead th {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-soft);
  white-space: nowrap; padding-top: 0; padding-bottom: 9px;
  border-bottom: 2px solid var(--ink);
}
table.t tbody tr { border-bottom: 1px solid var(--rule-soft); }
table.t tbody tr:last-child { border-bottom: 1px solid var(--ink); }

/* The common tier is marked, not filled in. */
table.t tbody tr.is-common td { font-weight: 600; }
table.t tbody tr.is-common td:first-child {
  box-shadow: inset 3px 0 0 var(--forest); padding-left: 13px;
}

table.t td.n, table.t td.price { font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
table.t td.price { font-weight: 650; }
table.t td.note { color: var(--ink-soft); font-size: 14.5px; }
table.t td.us { font-weight: 650; }
.tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--rule-soft); color: var(--ink-soft);
  padding: 1px 5px; margin-left: 9px; white-space: nowrap;
}

.unverified { border-left: 3px solid var(--warn); padding: 11px 0 11px 16px; font-size: 14.5px; margin-top: 13px; color: var(--ink-soft); }

/* --- status -------------------------------------------------------------- */
.dot { display: inline-block; width: 9px; height: 9px; margin-right: 8px; }
.dot.ok { background: var(--ok); } .dot.warn { background: var(--warn); } .dot.bad { background: var(--bad); }
.s-ok { color: var(--ok); } .s-warn { color: var(--warn); } .s-bad { color: var(--bad); }
.status-line {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px;
  border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink);
  padding: 14px 0; font-size: 14.5px;
}
.status-line .sl-main { font-weight: 650; }
.status-line .sl-time { font-family: var(--mono); font-size: 12px; color: var(--ink-soft); margin-left: auto; }

/* --- lists --------------------------------------------------------------- */
.included { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-soft); }
.included li { border-bottom: 1px solid var(--rule-soft); padding: 10px 0 10px 27px; position: relative; font-size: 15.5px; }
.included li::before { content: "\2014"; position: absolute; left: 0; top: 10px; font-family: var(--mono); color: var(--ink-soft); }

.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; }
.steps li { counter-increment: s; border-top: 1px solid var(--rule-soft); padding: 16px 0 16px 54px; position: relative; }
.steps li:last-child { border-bottom: 1px solid var(--rule-soft); }
.steps li::before {
  content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 16px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; color: var(--paper);
  background: var(--forest); padding: 3px 8px;
}
.steps h3 { font-size: 17px; margin-bottom: 4px; }

/* --- prose --------------------------------------------------------------- */
.prose { max-width: 64ch; font-size: 17px; line-height: 1.65; }
.prose h3 { margin: 26px 0 8px; }
.prose .lead-in { float: left; font-size: 14px; font-family: var(--mono); letter-spacing: 0.1em; text-transform: uppercase; margin: 5px 11px 0 0; color: var(--ink-soft); }

.pull { border-left: 4px solid var(--forest); padding: 4px 0 4px 18px; margin: 24px 0; font-size: 19px; line-height: 1.45; max-width: 46ch; }

/* --- boxes --------------------------------------------------------------- */
.split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 42px; align-items: start; }
.split-even { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 42px; align-items: start; }
.aside-box { border: 1px solid var(--ink); background: transparent; }
.aside-box h3 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; padding: 12px 17px; color: var(--ink-soft); border-bottom: 1px solid var(--rule-soft); }
.aside-box .ab-body { padding: 17px; font-size: 15.5px; }
.aside-box dl { margin: 0; }
.aside-box dt { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin-top: 13px; }
.aside-box dt:first-child { margin-top: 0; }
.aside-box dd { margin: 2px 0 0; }

/* --- cta row ------------------------------------------------------------- */
.btn {
  display: inline-block; border: 2px solid var(--ink); background: var(--ink); color: var(--paper);
  padding: 11px 20px; text-decoration: none; font-weight: 600; font-size: 15px;
}
.btn:hover { background: var(--forest); border-color: var(--forest); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

/* --- faq ----------------------------------------------------------------- */
.faq { border-top: 1px solid var(--rule-soft); }
.faq details { border-bottom: 1px solid var(--rule-soft); }
.faq summary { padding: 14px 0; cursor: pointer; font-weight: 600; font-size: 16.5px; list-style: none; display: flex; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; font-family: var(--mono); color: var(--ink-soft); }
.faq details[open] summary::before { content: "\2212"; }
.faq .a { padding: 0 0 16px 24px; max-width: 68ch; color: var(--ink-soft); }

/* --- footer -------------------------------------------------------------- */
.foot { background: var(--forest-ink); color: var(--paper); border-top: 2px solid var(--ink); }
.foot .wrap { padding: 38px 22px 24px; }
.foot-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 30px; }
.foot h4 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; color: #9ab2a7; margin-bottom: 11px; }
.foot ul { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.foot li { margin-bottom: 7px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-base { margin-top: 30px; padding-top: 17px; border-top: 1px solid #33513f; display: flex; flex-wrap: wrap; gap: 12px 26px; font-size: 13px; color: #9ab2a7; }

/* --- responsive ---------------------------------------------------------- */
@media (max-width: 880px) {
  .split, .split-even { grid-template-columns: 1fr; gap: 30px; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
  .field { flex: 1 1 100%; border-right: 0; border-bottom: 1px solid rgba(246,242,233,0.6); }
  .check-light .field { border-bottom-color: var(--rule-soft); }
  .hero h1 { font-size: 28px; }
  .hero-lede { font-size: 17px; }
  .mast-right { gap: 13px; font-size: 12.5px; }
  .brand b { font-size: 22px; }
}
@media (max-width: 520px) {
  .foot-cols { grid-template-columns: 1fr; }
  .mast-portal { display: none; }
}

/* --- plan recommender ---------------------------------------------------- */
.rec-q { padding: 20px 0; border-bottom: 1px solid var(--rule-soft); }
.rec-q:first-child { border-top: 1px solid var(--rule-soft); }
.rec-qh { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 14px; font-size: 17.5px; font-weight: 600; }

.seg { display: flex; flex-wrap: wrap; border: 1px solid var(--ink); }
.seg-opt {
  flex: 1 1 auto; min-width: 118px; text-align: center; padding: 12px 15px;
  cursor: pointer; border-right: 1px solid var(--ink); font-size: 15px;
  -webkit-user-select: none; user-select: none;
}
.seg-opt:last-child { border-right: 0; }
.seg-opt input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.seg-opt:hover { background: var(--paper-deep); }
.seg-opt.on { background: var(--ink); color: var(--paper); font-weight: 600; }
.seg-opt.on:hover { background: var(--forest); }
.seg-opt:focus-within { outline: 2px solid var(--forest); outline-offset: -2px; }

.rec-out { padding: 26px 0 20px; }
.rec-plan { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 26px; }
.rec-name { font-size: 31px; font-weight: 700; letter-spacing: -0.02em; }
.rec-speed { font-size: 20px; color: var(--ink-soft); }
.rec-price { font-size: 31px; font-weight: 700; margin-left: auto; }
.rec-per { font-family: var(--sans); font-size: 14px; font-weight: 400; color: var(--ink-soft); margin-left: 9px; }
.rec-math { margin-top: 15px; color: var(--ink-soft); font-size: 15.5px; max-width: 66ch; }
.rec-alt { margin-top: 12px; font-size: 15.5px; border-left: 3px solid var(--forest); padding-left: 15px; max-width: 66ch; }
.rec-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.plans-all { margin-top: 8px; }
.plans-all > summary {
  cursor: pointer; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-soft); padding: 15px 0;
  border-top: 1px solid var(--rule-soft); border-bottom: 1px solid var(--rule-soft);
  list-style: none; display: flex; gap: 12px;
}
.plans-all > summary::-webkit-details-marker { display: none; }
.plans-all > summary::before { content: "+"; }
.plans-all[open] > summary::before { content: "\2212"; }
.plans-all[open] > summary { border-bottom: 0; }
.plans-all .tbl-scroll { padding-top: 18px; }

@media (max-width: 640px) {
  .rec-price { margin-left: 0; }
  .seg-opt { min-width: 50%; flex: 1 1 50%; }
  .rec-name { font-size: 26px; }
  .rec-price { font-size: 26px; }
}
.rec-note { margin-top: 16px; font-size: 14.5px; color: var(--ink-soft); max-width: 66ch; }
