/* ==========================================================================
   A-One-Net stylesheet
   Mobile-first. System fonts only. No external files.
   Sections: 1 Tokens  2 Base  3 Buttons  4 Header  5 Hero  6 Sections
             7 Plans  8 Features  9 Coverage  10 Speed  11 Support/FAQ
             12 Contact/Form  13 Footer  14 Modal  15 Motion
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --navy: #0a2540;
  --navy-2: #0d3470;
  --blue: #1456d6;
  --blue-dark: #0f44ad;
  --accent: #18c1e8;
  --accent-ink: #066b82;
  --ink: #0f2440;
  --muted: #4a5b73;
  --line: #dbe4f2;
  --surface: #f3f7fd;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(10, 37, 64, .06), 0 2px 8px rgba(10, 37, 64, .06);
  --shadow-md: 0 10px 30px rgba(10, 37, 64, .12);
  --header-h: 68px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

[hidden] { display: none !important; }

img, svg { max-width: 100%; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 6.2vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--blue); }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.hero :focus-visible, .speed :focus-visible, .site-footer :focus-visible { outline-color: var(--accent); }

.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 20px; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* 3. Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn-lg { min-height: 52px; padding: 12px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-accent { background: var(--accent); color: var(--navy); }
.btn-accent:hover { background: #4ad3f2; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn-outline { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }

/* 4. Header ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  text-decoration: none;
  flex: none;
}
.logo__mark { width: 34px; height: 34px; flex: none; }
.logo__text { font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; }
.logo--light { color: #fff; }

.header__actions { display: flex; align-items: center; gap: 8px; }

.btn-signin { min-height: 44px; padding: 8px 16px; }
.btn-signin .icon { display: none; }

.nav-toggle {
  width: 44px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.nav.is-open { display: block; }
.nav__list { padding: 8px 20px 16px; }
.nav__link {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 4px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--surface);
}
.nav__link:hover { color: var(--blue); }
.nav__link.is-active { color: var(--blue); }

/* 5. Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1.5px) 0 0 / 24px 24px,
    linear-gradient(155deg, var(--navy) 0%, var(--navy-2) 55%, #1a5fd8 130%);
}
.hero__inner {
  display: grid;
  gap: 32px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 96px;
}
.hero h1 { color: #fff; margin-bottom: .4em; }
.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(24, 193, 232, .16);
  color: var(--accent);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow--dark { background: #e3f6fb; color: var(--accent-ink); }
.hero__lead { font-size: 1.1rem; color: #d3e1f7; max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: flex;
  flex-direction: column;
  min-width: 104px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 12px;
  background: rgba(255, 255, 255, .07);
}
.chip strong { font-size: 1.15rem; color: #fff; line-height: 1.2; }
.chip span { font-size: .8rem; color: #c4d6f1; line-height: 1.3; }

.hero__art { max-width: 520px; width: 100%; margin-inline: auto; }
.hero-svg { display: block; width: 100%; height: auto; }

.hero__edge {
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -1px;
  height: 44px;
  background: #fff;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

/* SVG art states */
.needle { transform-origin: 260px 190px; transform: rotate(45deg); }
.needle--speed { transform-origin: 200px 190px; }
.ring { opacity: .16; }
.links { stroke-dashoffset: 0; }

/* 6. Sections -------------------------------------------------------------- */
.section { padding: 64px 0; }
.section--tint { background: var(--surface); }
section[id] { scroll-margin-top: calc(var(--header-h) + 4px); }

.section__head { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.section__head--left { margin: 0 0 24px; text-align: left; }
.section__lead { color: var(--muted); font-size: 1.05rem; margin: 0; }

.notice {
  padding: 16px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
}

/* 7. Plans ----------------------------------------------------------------- */
.plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding-top: 14px;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 22px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan__name { margin: 0 0 8px; font-size: 1.05rem; color: var(--accent-ink); text-transform: uppercase; letter-spacing: .08em; }
.plan__speed { display: flex; align-items: baseline; gap: 6px; margin: 0 0 12px; color: var(--navy); }
.plan__speed-num { font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.plan__speed-unit { font-size: 1rem; font-weight: 700; color: var(--muted); }
.plan__price { margin: 0 0 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); color: var(--navy); font-size: 1.7rem; font-weight: 800; }
.plan__price small { font-size: .85rem; font-weight: 600; color: var(--muted); }
.plan__meta { margin: 0 0 16px; display: grid; gap: 8px; }
.plan__meta div { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; }
.plan__meta dt { color: var(--muted); }
.plan__meta dd { margin: 0; font-weight: 700; color: var(--navy); }
.plan__features { margin: 0 0 22px; display: grid; gap: 8px; font-size: .92rem; color: var(--muted); }
.plan__features li { position: relative; padding-left: 26px; }
.plan__features li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .35em;
  width: 12px;
  height: 7px;
  border-left: 2.5px solid var(--blue);
  border-bottom: 2.5px solid var(--blue);
  transform: rotate(-45deg);
}
.plan .btn { margin-top: auto; }

.plan--popular {
  background: linear-gradient(170deg, var(--navy) 0%, var(--navy-2) 100%);
  border-color: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.plan--popular .plan__name { color: var(--accent); }
.plan--popular .plan__speed, .plan--popular .plan__price, .plan--popular .plan__meta dd { color: #fff; }
.plan--popular .plan__speed-unit, .plan--popular .plan__price small, .plan--popular .plan__meta dt, .plan--popular .plan__features { color: #c4d6f1; }
.plan--popular .plan__price { border-color: rgba(255, 255, 255, .2); }
.plan--popular .plan__features li::before { border-color: var(--accent); }
.plan--popular .btn { background: var(--accent); color: var(--navy); }
.plan--popular .btn:hover { background: #4ad3f2; }
.plan--popular:focus-within, .plan--popular :focus-visible { outline-color: var(--accent); }

.plan__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--navy);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.plans-note { max-width: 760px; margin: 32px auto 0; text-align: center; color: var(--muted); font-size: .9rem; }

/* 8. Features -------------------------------------------------------------- */
.features { display: grid; grid-template-columns: 1fr; gap: 18px; }
.feature {
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--blue), #2a79f0);
  color: #fff;
}
.feature__icon .icon { width: 26px; height: 26px; }
.feature p { margin: 0; color: var(--muted); }

/* 9. Coverage -------------------------------------------------------------- */
.coverage { display: grid; gap: 32px; align-items: center; }
.coverage__art { max-width: 520px; width: 100%; margin-inline: auto; }
.coverage-svg { display: block; width: 100%; height: auto; border-radius: 24px; box-shadow: var(--shadow-sm); }
.coverage-svg .ring { opacity: .3; }

.area-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.area-list li {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 8px 12px 8px 38px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--navy);
  font-size: .95rem;
}
.area-list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 11px;
  height: 11px;
  margin-top: -6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(24, 193, 232, .25);
}
.coverage__cta { margin: 0; color: var(--muted); }
.coverage__cta a { font-weight: 700; }

/* 10. Speed test ----------------------------------------------------------- */
.speed {
  padding: 64px 0;
  color: #fff;
  background:
    radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1.5px) 0 0 / 24px 24px,
    linear-gradient(160deg, var(--navy) 0%, #0b2f66 100%);
}
.speed__inner { display: grid; gap: 32px; align-items: center; }
.speed h2 { color: #fff; }
.speed__lead { color: #d3e1f7; font-size: 1.05rem; }
.tips { display: grid; gap: 10px; margin: 20px 0 26px; }
.tips li { position: relative; padding-left: 28px; color: #d3e1f7; }
.tips li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .5em;
  width: 12px;
  height: 7px;
  border-left: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  transform: rotate(-45deg);
}
.speed__note {
  display: inline-block;
  margin: 18px 0 0;
  padding: 10px 14px;
  border-left: 4px solid var(--accent);
  background: rgba(255, 255, 255, .08);
  border-radius: 6px;
  color: #e6eefb;
  font-size: .95rem;
}
.speed__art { max-width: 440px; width: 100%; margin-inline: auto; }
.speed-svg { display: block; width: 100%; height: auto; }

/* 11. Support / FAQ -------------------------------------------------------- */
.support { display: grid; gap: 28px; align-items: start; }

.faq { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq__heading { margin: 0; font-size: 1rem; }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 56px;
  padding: 12px 18px;
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 700;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
}
.faq__q:hover { background: var(--surface); }
.faq__chev {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: var(--blue);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}
.faq__q[aria-expanded="true"] .faq__chev { transform: rotate(180deg); }
.faq__a { padding: 0 18px 8px; color: var(--muted); }
.faq__a p { margin: 0 0 12px; }

.support-card {
  padding: 28px 24px;
  background: linear-gradient(170deg, var(--navy) 0%, var(--navy-2) 100%);
  border-radius: var(--radius);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.support-card h3 { color: #fff; font-size: 1.3rem; }
.support-card p { color: #c4d6f1; }
.support-card .btn { margin-top: 8px; }

/* 12. Contact / Form ------------------------------------------------------- */
.contact { display: grid; gap: 28px; align-items: start; }

.contact-list { display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
}
.contact-list__body { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; font-weight: 600; color: var(--navy); }
.contact-list__label { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.contact-list__body a { color: var(--blue); }
.contact-list__address { font-weight: 600; }
.contact-list--dark { margin: 20px 0; }
.contact-list--dark .contact-list__icon { background: rgba(24, 193, 232, .18); color: var(--accent); }
.contact-list--dark .contact-list__body { color: #fff; }
.contact-list--dark .contact-list__label { color: #a9c1e6; }
.contact-list--dark .contact-list__body a { color: #fff; }

.form {
  padding: 26px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.form h3 { margin-bottom: 18px; font-size: 1.3rem; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; font-weight: 700; font-size: .92rem; color: var(--navy); }
.field input, .field textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid #b7c6df;
  border-radius: var(--radius-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #6b7c94; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(20, 86, 214, .2); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #c0392b; }

.form__error {
  margin: 16px 0 0;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: #fdecea;
  border: 1px solid #e6a49c;
  color: #7a1d12;
  font-weight: 600;
}

.form__status {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: #e6f7ee;
  border: 1px solid #9bd8b5;
  color: #14532d;
  font-weight: 600;
}

/* 13. Footer --------------------------------------------------------------- */
.site-footer { background: var(--navy); color: #c4d6f1; }
.footer__grid { display: grid; gap: 32px; padding-top: 52px; padding-bottom: 36px; }
.footer__brand p { margin: 14px 0 0; max-width: 28em; }
.site-footer h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.site-footer a { color: #c4d6f1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__col ul { display: grid; gap: 4px; }
.footer__col li a { display: inline-block; padding: 6px 0; }
.footer__contact { gap: 10px; }
.footer__contact li { overflow-wrap: anywhere; }
.footer__bar { border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px 0; font-size: .9rem; }
.footer__bar p { margin: 0; }

/* 14. Sign In modal -------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.modal__backdrop { position: absolute; inset: 0; background: rgba(6, 20, 40, .7); }
.modal__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: #fff;
  overflow: hidden;
}
.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px 10px 20px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.modal__head h2 { margin: 0; font-size: 1.15rem; }
.modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--surface);
  border: 0;
  border-radius: 50%;
  color: var(--navy);
  cursor: pointer;
}
.modal__close:hover { background: var(--line); }
.modal__close .icon { width: 22px; height: 22px; stroke-width: 2.5; }
.modal__body { position: relative; flex: 1; min-height: 0; background: #fff; }
.modal__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }
.modal__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  padding: 10px 16px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  font-size: .9rem;
  color: var(--muted);
}
.modal__foot a { font-weight: 700; }

.loader, .fallback {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  background: #fff;
  text-align: center;
  color: var(--muted);
  font-weight: 600;
}
.fallback p { max-width: 30em; margin: 0; }
.fallback__icon { width: 48px; height: 48px; color: var(--blue); }
.spinner {
  width: 44px;
  height: 44px;
  border: 4px solid var(--line);
  border-top-color: var(--blue);
  border-radius: 50%;
}

/* 15. Motion --------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  .needle { animation: needle-sweep 3.2s cubic-bezier(.3, .7, .3, 1) .3s both; }
  .ring { animation: ring-pulse 4s ease-in-out infinite; }
  .ring--2 { animation-delay: .8s; }
  .ring--3 { animation-delay: 1.6s; }
  .wave { animation: wave-pulse 2s ease-in-out infinite; }
  .wave--2 { animation-delay: .25s; }
  .wave--3 { animation-delay: .5s; }
  .links { animation: link-flow 1.6s linear infinite; }
  .spinner { animation: spin .9s linear infinite; }
  .modal__panel { animation: modal-in .25s ease-out both; }
  .modal__backdrop { animation: fade-in .25s ease-out both; }

  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .plan.reveal.is-visible:hover, .js .feature.reveal.is-visible:hover { transform: translateY(-4px); transition: transform .25s ease, box-shadow .25s ease; }
}

@keyframes needle-sweep {
  0% { transform: rotate(-85deg); }
  40% { transform: rotate(52deg); }
  58% { transform: rotate(38deg); }
  80% { transform: rotate(48deg); }
  100% { transform: rotate(45deg); }
}
@keyframes ring-pulse { 0%, 100% { opacity: .08; } 50% { opacity: .24; } }
@keyframes wave-pulse { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes link-flow { to { stroke-dashoffset: -26; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* 16. Larger screens ------------------------------------------------------- */
@media (min-width: 400px) {
  .btn-signin .icon { display: inline-block; }
}

@media (min-width: 640px) {
  .container { padding-inline: 28px; }
  .section, .speed { padding: 84px 0; }
  .plans-grid { display: flex; flex-wrap: wrap; justify-content: center; }
  .plans-grid > .plan { flex: 1 1 calc(50% - 18px); max-width: calc(50% - 9px); }
  .plans-grid > .notice { flex: 1 1 100%; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .area-list { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .hero__inner { padding-top: 64px; }
  .modal { align-items: center; }
  .modal__panel {
    width: min(960px, 92vw);
    height: min(720px, 88vh);
    border-radius: 18px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
  }
}

@media (min-width: 900px) {
  .plans-grid > .plan { flex: 1 1 calc(33.333% - 12px); max-width: calc(33.333% - 12px); }
  .hero__inner { grid-template-columns: 1.05fr .95fr; gap: 48px; padding-top: 72px; padding-bottom: 120px; }
  .hero__edge { height: 64px; }
  .coverage { grid-template-columns: 1fr 1fr; gap: 56px; }
  .speed__inner { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  .support { grid-template-columns: 1.5fr 1fr; gap: 32px; }
  .contact { grid-template-columns: 1fr 1.1fr; gap: 40px; }
  .features { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1020px) {
  .nav-toggle { display: none; }
  .nav { display: block; position: static; background: transparent; border: 0; box-shadow: none; }
  .nav__list { display: flex; align-items: center; gap: 2px; padding: 0; }
  .nav__link { min-height: 44px; padding: 0 12px; border: 0; border-radius: 999px; font-size: .95rem; }
  .nav__link:hover, .nav__link.is-active { background: var(--surface); }
  .header__inner { gap: 24px; }
  .logo__text { font-size: 1.3rem; }
}

@media (min-width: 1100px) {
  .plans-grid { gap: 16px; }
  .plans-grid > .plan { flex: 1 1 190px; max-width: 280px; }
  .plan { padding-inline: 18px; }
  .plan__speed-num { font-size: 2.6rem; }
  .plan--popular { transform: translateY(-12px); }
  .plan--popular:hover { transform: translateY(-16px); }
  .js .plan--popular.reveal.is-visible { transform: translateY(-12px); }
  .js .plan--popular.reveal.is-visible:hover { transform: translateY(-16px); }
}

@media (max-width: 360px) {
  .logo__text { font-size: 1.05rem; }
  .logo__mark { width: 30px; height: 30px; }
  .btn-signin { padding-inline: 12px; }
  .container { padding-inline: 16px; }
  .area-list { grid-template-columns: 1fr; }
  .plan__speed-num { font-size: 2.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}

@media print {
  .site-header, .modal, .hero__art, .speed__art, .coverage__art { display: none !important; }
}
