/* Real Mail 1.0.0-alpha.4 — light, everyday page; Net2000-style line diagrams. */

:root {
  --navy-900: #000033;
  --navy-800: #000066;
  --navy-700: #0a1f8f;
  --blue-600: #0050d8;
  --blue-500: #0066ff;
  --blue-50: #eef4ff;
  --teal: #0d9488;
  --teal-600: #0f766e;
  --sky: #19b3ff;
  --neon: #7fe3ff;
  --ink: #1b2333;
  --muted: #4a5568;
  --line: #d9e1ef;
  --bg: #ffffff;
  --bg-soft: #f5f8fd;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0, 0, 51, .06), 0 6px 20px rgba(0, 0, 51, .07);
  --max: 1120px;
  --header-h: 64px;
  --deep: #020a3a;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

img, svg { max-width: 100%; height: auto; }
button, input { font: inherit; }
a { color: var(--blue-600); }
a:hover { color: var(--navy-700); }

h1, h2, h3, h4 {
  color: var(--navy-800);
  line-height: 1.2;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(1.9rem, 5.2vw, 3rem); max-width: 16ch; }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.1rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1.02rem; }

.wrap {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 100;
  padding: .5em .9em;
  border-radius: 8px;
  background: var(--navy-800);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.skip:focus { top: 12px; }

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

.mono { font-weight: 600; letter-spacing: .01em; }

/* ---- Banner ---- */
.launch-banner {
  margin: 0;
  background: linear-gradient(90deg, #0a1f8f, #2a5bd7);
  color: #fff;
  font-size: .95rem;
}
.launch-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  min-height: 44px;
  padding: 8px 0;
  text-align: center;
}
.launch-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.launch-copy { font-weight: 600; }
.launch-banner a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.launch-banner a:hover { color: #dbe6ff; }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .82);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
}
.nav-shell {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-800);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -.02em;
  font-size: 1.15rem;
}
.brand:hover { color: var(--navy-700); }
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(165deg, #000a4a, #020a3a);
  color: #7fe3ff;
  box-shadow: 0 4px 12px rgba(10, 31, 143, .2);
}
.brand-mark svg { width: 22px; height: 22px; display: block; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px 18px;
  margin-left: auto;
}
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: var(--navy-800);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
}
.site-nav a:hover { color: var(--blue-600); }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--navy-800);
  cursor: pointer;
}
.nav-toggle-bars {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .55em 1.15em;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s, color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #14b8a6, #0a1f8f);
  box-shadow: 0 4px 14px rgba(10, 31, 143, .28);
}
.btn-primary:hover { color: #fff; background: linear-gradient(135deg, #2dd4bf, #1e4fc8); }
.btn-ghost {
  color: var(--navy-800);
  background: linear-gradient(180deg, #fff, #f1f5ff);
  border-color: #cdd8f0;
  box-shadow: 0 1px 0 #fff inset, 0 2px 8px rgba(0, 0, 80, .07);
}
.btn-ghost:hover { color: var(--navy-700); background: #fff; }
.btn-sm { min-height: 40px; padding: .4em 1em; font-size: .92rem; }
.hero-actions, .price-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---- Eyebrows and sections ---- */
.eyebrow {
  margin: 0 0 .5em;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal-600);
}
.section { padding: 56px 0 64px; }
.section.alt { background: linear-gradient(180deg, #f5f8fd, #eef4ff); }
.section-head { margin-bottom: 22px; max-width: 40rem; }
.section-lead { margin: 0; color: var(--muted); max-width: 46ch; }
.lead { margin: 0 0 1.2em; color: var(--muted); max-width: 44ch; font-size: 1.08rem; }

/* ---- Hero ---- */
.hero {
  padding: 48px 0 56px;
  background: linear-gradient(180deg, #f3f7ff, #fff);
}
.hero-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}
.hero-copy .eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: .45em; }
.dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--teal);
  display: inline-block;
}
.hero-note {
  margin: 1.1em 0 0;
  font-size: .92rem;
  color: var(--muted);
  max-width: 48ch;
}
.hero-grid > .sx { width: 100%; max-width: 520px; justify-self: center; }

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
    column-gap: 44px;
  }
  .hero-grid > .sx { justify-self: end; }
}

/* ---- Layout helpers ---- */
.sx-top {
  display: grid;
  gap: 22px;
  align-items: center;
  margin-bottom: 28px;
}
.sx-top > .sx { width: 100%; max-width: 520px; justify-self: center; }
@media (min-width: 900px) {
  .sx-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
    column-gap: 44px;
  }
  .sx-top > .sx { justify-self: end; max-width: 480px; }
}
@media (min-width: 900px) {
  .sx-top.flip {
    grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
  }
  .sx-top.flip > .sx { justify-self: start; order: -1; }
}

/* ---- Steps / why-style cards ---- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.step {
  margin: 0;
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255,255,255,.95), rgba(255,255,255,.78));
  border: 1px solid rgba(42, 91, 215, .16);
  box-shadow: inset 0 1px 0 #fff, 0 10px 28px rgba(10, 31, 143, .08);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  backdrop-filter: blur(12px) saturate(150%);
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e3ecff;
  color: var(--navy-700);
  font-size: .86rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.step h3 { margin-bottom: .3em; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---- Plan / feature / option / price cards ---- */
.card-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  margin: 0;
  padding: 20px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255,255,255,.95), rgba(255,255,255,.78));
  border: 1px solid rgba(42, 91, 215, .16);
  box-shadow: inset 0 1px 0 #fff, 0 10px 28px rgba(10, 31, 143, .08);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  backdrop-filter: blur(12px) saturate(150%);
  min-width: 0;
}
.card h3 { margin-bottom: .45em; }
.card p, .card li { color: var(--muted); }
.plan-kicker, .price-kicker, .option-tag {
  margin: 0 0 6px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.card .ticks {
  margin: 0;
  padding: 0;
  list-style: none;
}
.card .ticks li {
  position: relative;
  margin: .4em 0;
  padding-left: 1.3em;
}
.card .ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid #14b8a6;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: #fff;
  color: var(--blue-600);
  box-shadow: 0 2px 8px rgba(0, 0, 102, .10);
}
.feature-icon svg { width: 22px; height: 22px; display: block; }

.options-col h3 { margin: 0 0 12px; }
.option + .option { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.option h4 { margin: 0 0 .25em; }
.option p { margin: 0; color: var(--muted); }

/* ---- Pricing ---- */
.founding-card {
  margin: 0 0 18px;
  padding: 14px 18px;
  border-radius: 14px;
  background: linear-gradient(90deg, #0a1f8f, #2a5bd7);
  color: #fff;
  font-weight: 600;
}
.founding-card .launch-tag { margin-right: .6em; }
.price-line {
  margin: 0 0 8px;
  color: var(--navy-800);
  line-height: 1;
}
.price-line b, .price-amount {
  font-size: 2.3rem;
  letter-spacing: -.02em;
  font-weight: 800;
}
.price-period, .price-currency {
  font-size: .95rem;
  font-weight: 600;
  color: var(--muted);
}
.price-gst { margin: 6px 0 12px; font-size: .82rem; color: var(--muted); }
.price-notes {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: .95rem;
  max-width: 58rem;
}
.price-notes li { margin: .4em 0; padding-left: 1.2em; position: relative; }
.price-notes li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 800;
}
.addon-price { font-weight: 800; color: var(--navy-800); }

/* ---- FAQ ---- */
.faq-list { margin: 0; padding: 0; list-style: none; max-width: 46rem; }
.faq-list li { border-bottom: 1px solid var(--line); }
.faq-list details { padding: 4px 0; }
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy-800);
  padding: 12px 28px 12px 0;
  position: relative;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--navy-700);
  border-bottom: 2px solid var(--navy-700);
  transform: translateY(-70%) rotate(45deg);
}
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-list summary:hover { color: var(--blue-600); }
.faq-list details p { margin: 0 0 14px; color: var(--muted); }

/* ---- CTA ---- */
.cta {
  padding: 56px 0 64px;
  background: linear-gradient(165deg, #000a4a 0%, #020a3a 60%, #00061f 100%);
  color: #dbe8ff;
}
.cta h2, .cta .eyebrow { color: #7fe3ff; }
.cta h2 { color: #fff; max-width: 22ch; }
.cta p { color: #c9d5f4; max-width: 42ch; }
.cta-hint { font-size: .9rem; }

/* ---- Footer ---- */
.site-footer {
  padding: 28px 0 36px;
  background: var(--navy-900);
  color: #c9d5f4;
  font-size: .92rem;
}
.footer-grid {
  display: grid;
  gap: 16px 32px;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
}
.site-footer .brand-name {
  margin: 0 0 6px;
  font-weight: 800;
  color: #fff;
  font-size: 1.05rem;
}
.site-footer p { margin: 0 0 .4em; }
.site-footer a { color: #bfe6ff; }
.site-footer a:hover { color: #fff; }
.version { margin-top: 8px; font-size: .82rem; color: #9fb2dc; }
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Net2000-style section diagrams (.sx)
   Language taken from net2000-home release-4.47 (home-4.17.css
   and better-online.html mesh / family-cam / spam diagrams):
   dark navy glowing panel, stroke ~1.6–2, round caps, labels
   inside the art, flowing dots on wires, pause off-screen.
   ============================================================ */
.sx {
  margin: 0;
  position: relative;
  border-radius: 20px;
  padding: 12px 12px 8px;
  color: #e6edff;
  overflow: hidden;
  background:
    radial-gradient(420px 220px at 85% 0%, rgba(var(--pn-rgb, 42, 91, 215), var(--pn-a, .5)), transparent 70%),
    radial-gradient(360px 200px at 0% 100%, rgba(var(--ac2-rgb, 25, 179, 255), .18), transparent 70%),
    linear-gradient(165deg, #000a4a 0%, #020a3a 60%, #00061f 100%);
  border: 1px solid rgba(var(--ac-rgb, 127, 200, 255), .26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 16px 40px rgba(0, 10, 60, .22);
}
.sx svg { display: block; width: 100%; height: auto; overflow: visible; }

.sx-l { font: 600 13px system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; fill: var(--ln, #dbe8ff); text-anchor: middle; }
.sx-n { font: 700 12.5px system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; fill: #fff; text-anchor: middle; }
.sx-s { font: 500 11.5px system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; fill: #9fb2dc; text-anchor: middle; }
.sx-k { font: 800 11px system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; fill: var(--ac, #7fe3ff); text-anchor: middle; letter-spacing: .12em; text-transform: uppercase; }
.sx-big { font: 800 19px system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; fill: #fff; text-anchor: middle; filter: drop-shadow(0 0 6px rgba(var(--ac2-rgb, 25, 179, 255), .7)); }
.tag { font: 800 10.5px system-ui, Arial, sans-serif; fill: var(--ac, #7fe3ff); text-anchor: middle; letter-spacing: .08em; }

.ln { fill: none; stroke: var(--ln, #cfe6ff); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ln-sky { fill: none; stroke: var(--ac, #7fe3ff); stroke-width: 1.8; stroke-linecap: round; filter: drop-shadow(0 0 3px var(--ac-g, #19b3ff)); }
.ln-soft { fill: none; stroke: var(--ac-s, #7fc8ff); stroke-opacity: .35; stroke-width: 1.1; }
.fg { fill: rgba(var(--ac-rgb, 127, 200, 255), .07); }
.wire { fill: none; stroke: var(--ac-d, #3d7bff); stroke-opacity: .35; stroke-width: 1.6; stroke-linecap: round; }
.cable { fill: none; stroke: var(--ac-s, #7fc8ff); stroke-width: 3.2; stroke-linecap: round; stroke-opacity: .6; }
.glowy { filter: url(#rm-glow); }
.led { fill: var(--ac, #7fe3ff); filter: drop-shadow(0 0 3px var(--ac-g, #19b3ff)); }
.led.blink { animation: jblink 2.4s steps(2, jump-none) infinite; }
.sx-chip { fill: rgba(10, 30, 110, .65); stroke: var(--ac-d, #3d7bff); stroke-opacity: .7; stroke-width: 1.3; }
.sx-chip-on {
  fill: rgba(var(--ac2-rgb, 25, 179, 255), .2);
  stroke: var(--ac, #7fe3ff);
  stroke-width: 1.6;
  opacity: 0;
  filter: drop-shadow(0 0 5px rgba(var(--ac2-rgb, 25, 179, 255), .8));
  animation: sxchip 16s ease-in-out infinite;
}
.sx-chip-on.c1 { animation-delay: 4s; }
.sx-chip-on.c2 { animation-delay: 8s; }
.sx-chip-on.c3 { animation-delay: 12s; }
.sx-lock { fill: none; stroke: #4ade80; stroke-width: 1.2; }
.sx-tick {
  fill: none;
  stroke: #4ade80;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 4px rgba(74, 222, 128, .7));
}
.sx-ripple {
  fill: none;
  stroke: var(--ac, #7fe3ff);
  stroke-width: 1.4;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: sxripple 5s ease-out infinite;
}
.bo-warn { fill: #ffb020; filter: drop-shadow(0 0 4px rgba(255, 176, 32, .8)); }
.bo-bubble { fill: rgba(var(--ac2-rgb, 245, 158, 11), .16); stroke: var(--ac, #ffc46b); stroke-width: 1.2; }
.ban { fill: none; stroke: #ff9c87; stroke-width: 2.2; stroke-linecap: round; }

/* Flowing dots — calmer 4.17 timings */
.st { fill: none; stroke-linecap: round; stroke-width: 2.6; }
.st.dn { stroke: var(--ac, #7fe3ff); stroke-dasharray: 1.2 8.8; animation: jdn var(--d, 3s) linear infinite; }
.st.up { stroke: #ffffff; stroke-opacity: .75; stroke-width: 1.8; stroke-dasharray: .8 11.7; animation: jup calc(var(--d, 3s) * 1.4) linear infinite; }
.s0 { --d: 4.5s; }
.s1 { --d: 8s; }
.s2 { --d: 11s; }
.s3 { --d: 14s; }
.s4 { --d: 17s; }
/* slightly softer on large scenes, as in 4.17 home/business diagrams */
.sx .st.dn { stroke-dasharray: 1.2 11.3; stroke-opacity: .85; }
.sx .st.up { stroke-dasharray: .8 19.2; stroke-opacity: .5; }

@keyframes jdn { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes jup { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 100; } }
@keyframes jblink { 0% { opacity: 1; } 50% { opacity: .15; } 100% { opacity: 1; } }
@keyframes sxchip { 0% { opacity: 0; } 5%, 22% { opacity: 1; } 27%, 100% { opacity: 0; } }
@keyframes sxripple { 0% { transform: scale(.3); opacity: .9; } 75% { transform: scale(1.5); opacity: 0; } 100% { transform: scale(1.5); opacity: 0; } }

/* Per-diagram palettes (same custom-property scheme as Net2000 4.6/4.17) */
.sx-flow { --ac:#4ee6d5; --ac-rgb:78,230,213; --ac-g:#14b8a6; --ac2-rgb:20,184,166; --ac-d:#0d9488; --ac-s:#69eadb; --ac-l:#aff4ec; --ln:#d8faf6; --pn-rgb:13,148,136; --pn-a:.42; }
.sx-how { --ac:#5fc4ff; --ac-rgb:95,196,255; --ac-g:#0a8fe6; --ac2-rgb:10,143,230; --ac-d:#0067b8; --ac-s:#77cdff; --ac-l:#b7e4ff; --ln:#dcf2ff; --pn-rgb:0,103,184; --pn-a:.42; }
.sx-encrypt { --ac:#5eea8f; --ac-rgb:94,234,143; --ac-g:#22c55e; --ac2-rgb:34,197,94; --ac-d:#15803d; --ac-s:#76eda0; --ac-l:#b7f6cd; --ln:#dcfae6; --pn-rgb:21,128,61; --pn-a:.42; }
.sx-plans { --ac:#98abff; --ac-rgb:152,171,255; --ac-g:#5468ff; --ac2-rgb:84,104,255; --ac-d:#3b4cca; --ac-s:#a7b8ff; --ac-l:#d1d9ff; --ln:#e8edff; --pn-rgb:59,76,202; --pn-a:.42; }
.sx-options { --ac:#bba3ff; --ac-rgb:187,163,255; --ac-g:#8b5cf6; --ac2-rgb:139,92,246; --ac-d:#6d3fd6; --ac-s:#c5b1ff; --ac-l:#e0d6ff; --ln:#f0ebff; --pn-rgb:109,63,214; --pn-a:.42; }

/* Off-screen pause; reduced motion: static and fully drawn */
.sx.is-off * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  .sx * { animation: none !important; }
  .sx-ripple { opacity: 0; }
  .sx-chip-on { opacity: 1; }
  .sx-chip-on.c1, .sx-chip-on.c2, .sx-chip-on.c3 { opacity: 0; }
  .btn:hover { transform: none; }
}

/* ---- Mobile nav ---- */
@media (max-width: 840px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0;
    padding: 8px 16px 18px;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 28px rgba(10, 31, 143, .12);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .site-header.is-open .site-nav { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav a { display: block; padding: 12px 4px; }
  .site-nav .btn { margin-top: 8px; width: 100%; }
}

@media (max-width: 520px) {
  .wrap { width: min(100% - 24px, var(--max)); }
  .section, .hero, .cta { padding-top: 40px; padding-bottom: 48px; }
  .price-amount, .price-line b { font-size: 2rem; }
}
