:root {
  --mango: #ff9e19;
  --mango-deep: #e88900;
  --leaf: #009943;
  --leaf-deep: #007a36;
  --ink: #171412;
  --ink-soft: #2a2622;
  --cream: #fff6ea;
  --paper: #fffaf3;
  --stone: #5f5a54;
  --footer: #3c3a38;
  --line: rgba(23, 20, 18, 0.1);
  --line-on-mango: rgba(255, 255, 255, 0.28);
  --radius: 0.9rem;
  --radius-lg: 1.15rem;
}

* { box-sizing: border-box; }
html { min-height: 100%; overflow-x: clip; }
body {
  margin: 0;
  min-height: 100%;
  background: var(--paper);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", "Noto Sans", "Noto Sans Thai", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang="th"] body {
  font-family: "Noto Sans Thai", "Plus Jakarta Sans", sans-serif;
}
html[lang="ru"] body {
  font-family: "Noto Sans", "Plus Jakarta Sans", sans-serif;
}
html[lang="th"] .kicker {
  letter-spacing: 0.03em;
  text-transform: none;
}
html[lang="ru"] .kicker { letter-spacing: 0.08em; }
html[lang="th"] .section-title,
html[lang="ru"] .section-title { max-width: 28ch; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--mango); color: #fff; }
input, select, textarea, button { font: inherit; }
button, a.btn { -webkit-tap-highlight-color: transparent; }

.wrap {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 max(1.25rem, env(safe-area-inset-right)) 0 max(1.25rem, env(safe-area-inset-left));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--mango);
  border-bottom: 3px solid var(--leaf);
  box-shadow: 0 8px 22px rgba(23, 20, 18, 0.08);
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.15rem;
  max-width: 72rem;
  margin: 0 auto;
  min-height: 4rem;
  padding: 0.45rem max(1.25rem, env(safe-area-inset-right)) 0.45rem max(1.25rem, env(safe-area-inset-left));
}
.site-header .logo-md { height: 42px; }
.site-header-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem 0.85rem;
  flex-wrap: wrap;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
  align-items: center;
  margin-left: auto;
}
.site-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}
.site-nav-link:hover { background: rgba(255,255,255,0.18); }
.site-nav-link.is-current { color: var(--ink); background: #fff; }
.site-header-login {
  min-height: 2.25rem;
  padding: 0.35rem 1rem;
  font-size: 0.85rem;
  white-space: nowrap;
}
.lang-flags {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}
.lang-flag {
  display: grid;
  place-items: center;
  padding: 0.12rem;
  border-radius: 0.4rem;
  border: 2px solid transparent;
  line-height: 0;
}
.lang-flag svg {
  display: block;
  width: 1.7rem;
  height: 1.18rem;
  border-radius: 0.22rem;
  box-shadow: 0 0 0 1px rgba(23, 20, 18, 0.2);
}
.lang-flag:hover { background: rgba(255,255,255,0.22); }
.lang-flag.is-active {
  border-color: #fff;
  background: rgba(255,255,255,0.2);
}
.lang-flags-light .lang-flag:hover { background: var(--cream); }
.lang-flags-light .lang-flag.is-active {
  border-color: var(--mango);
  background: var(--cream);
}
@media (max-width: 760px) {
  .site-header-inner { flex-wrap: wrap; }
  .site-nav {
    order: 3;
    flex-basis: 100%;
    margin-left: 0;
  }
  .site-header-end { margin-left: auto; }
}
@media (max-width: 520px) {
  .site-header .logo-md { height: 36px; }
  .site-header-login { padding-left: 0.8rem; padding-right: 0.8rem; }
}
.logo { display: inline-flex; align-items: center; }
.logo-img { display: block; width: auto; height: 52px; }
.logo-sm { height: 36px; }
.logo-md { height: 52px; }
.logo-lg { height: 72px; }

.kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mango-deep);
}
h1 { margin: 0; font-size: clamp(1.85rem, 6vw, 3.4rem); line-height: 1.08; letter-spacing: -0.035em; font-weight: 800; }
h2 { margin: 0; font-weight: 800; line-height: 1.15; }
.section-title { font-size: clamp(1.65rem, 3.8vw, 2.35rem); letter-spacing: -0.03em; max-width: 20ch; }
.lead { margin-top: 1.15rem; max-width: 36rem; font-size: 1.05rem; line-height: 1.7; color: var(--stone); }
.row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.mt-2 { margin-top: 0.5rem; } .mt-3 { margin-top: 0.75rem; } .mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; } .mt-6 { margin-top: 1.5rem; } .mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; } .mt-12 { margin-top: 3rem; }
.mb-2 { margin-bottom: 0.5rem; } .mb-4 { margin-bottom: 1rem; } .mb-8 { margin-bottom: 2rem; }
.muted { color: var(--stone); } .small { font-size: 0.875rem; line-height: 1.65; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.8rem; }

.btn, button.btn, a.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.85rem;
  border-radius: 999px; padding: 0.7rem 1.25rem; font-size: 0.9rem; font-weight: 700;
  border: 0; cursor: pointer; transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-primary { background: var(--leaf); color: #fff; }
.btn-primary:hover { background: var(--leaf-deep); color: #fff; }
.btn-secondary { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-secondary:hover { background: var(--cream); }
.btn-ghost { background: transparent; color: rgba(23,20,18,0.78); }
.btn-ghost:hover { color: var(--ink); background: rgba(255,255,255,0.28); }
.btn-danger { background: #c2413b; color: #fff; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.site-header :focus-visible, .home-hero :focus-visible, .band-ink :focus-visible, .login-page :focus-visible, .site-footer :focus-visible {
  outline-color: #fff;
}

.home-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--mango);
}
.home-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--leaf), #fff 55%, var(--mango));
  z-index: 3;
}
.hero-media,
.hero-veil {
  position: absolute;
  inset: 0;
}
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  opacity: 0;
  transition: opacity 0.55s ease;
}
.hero-media img.is-on { opacity: 1; }
.hero-veil {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255, 158, 25, 0.96) 0%, rgba(255, 158, 25, 0.86) 34%, rgba(255, 158, 25, 0.42) 62%, rgba(255, 158, 25, 0.12) 100%),
    linear-gradient(180deg, rgba(255, 158, 25, 0.18) 0%, transparent 40%, rgba(255, 158, 25, 0.28) 100%);
}
.home-hero .kicker {
  display: inline-flex;
  color: #fff;
  background: var(--leaf);
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  letter-spacing: 0.12em;
}
.home-hero .lead { color: rgba(255, 255, 255, 0.95); }
.home-hero .btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.75);
}
.home-hero .btn-secondary:hover { background: rgba(255,255,255,0.16); color: #fff; }
.home-hero .btn-ghost { color: #fff; }
.home-hero .btn-ghost:hover { background: rgba(255,255,255,0.18); color: #fff; }

.hero {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: clamp(30rem, 78vh, 46rem);
  padding: 3rem 0 3.75rem;
}
.hero-copy {
  max-width: 36rem;
  text-shadow: 0 1px 18px rgba(255, 158, 25, 0.35);
}
.hero-copy h1 { max-width: 16ch; }
.hero-nav { display: flex; align-items: center; gap: 0.6rem; margin-top: 1.5rem; }
.hero-dot {
  width: 0.5rem; height: 0.5rem; border-radius: 999px; border: 0; padding: 0;
  background: rgba(255,255,255,0.45); cursor: pointer;
}
.hero-dot.is-on { background: #fff; width: 1.6rem; }
.hero-arrow {
  width: 2.5rem; height: 2.5rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.55);
  background: transparent; cursor: pointer; font-size: 1.15rem; line-height: 1; color: #fff;
}
.hero-arrow:hover { border-color: #fff; background: rgba(255,255,255,0.16); }
@media (max-width: 720px) {
  .hero-veil {
    background:
      linear-gradient(180deg, rgba(255, 158, 25, 0.55) 0%, rgba(255, 158, 25, 0.88) 42%, rgba(255, 158, 25, 0.94) 100%);
  }
  .hero-media img { object-position: center 30%; }
  .hero { min-height: 34rem; padding: 2rem 0 2.5rem; align-items: flex-end; }
}
@media (max-width: 480px) {
  .hero-copy .row, .enrol .row, .calc-cta-home .row {
    flex-direction: column; align-items: stretch;
  }
  .hero-copy .row .btn, .enrol .row .btn, .calc-cta-home .row .btn,
  .tariff-card .btn { width: 100%; }
}

.band { padding: 4rem 0; }
.band-cream { background: var(--cream); }
.band-ink {
  background: var(--mango);
  color: #fff;
}
.band-ink .kicker { color: #fff; }
.band-ink .lead { color: rgba(255,255,255,0.92); }
.band-ink .btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.7);
}
.band-ink .btn-secondary:hover { background: rgba(255,255,255,0.16); color: #fff; }
.band-ink .section-title { max-width: 22ch; }

.panel, .card, .card-cream {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff;
}
.panel { padding: 1.5rem; }
.card { padding: 1.5rem; transition: border-color 0.15s ease; }
a.card:hover { border-color: var(--mango); }
.card-cream { background: var(--cream); padding: 1.5rem; }
@media (min-width: 800px) { .card-cream { padding: 2rem; } }
.feature-card { min-height: 100%; padding: 1.75rem; display: flex; flex-direction: column; }
.feature-intro {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .feature-intro {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: end;
    gap: 3rem;
  }
  .feature-intro .section-title { max-width: 16ch; }
  .feature-intro .lead { margin-top: 0; }
}
.feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.feature-num {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--mango-deep);
}
.feature-title { margin-top: 1.15rem; font-size: 1.2rem; }
.feature-ico {
  width: 3rem; height: 3rem; border-radius: 0.9rem;
  background: rgba(0,153,67,0.12); color: var(--leaf);
  display: grid; place-items: center;
}
.feature-ico svg { width: 18px; height: 18px; }
.grid-3, .grid-2 { display: grid; gap: 1.1rem; }
@media (min-width: 800px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: 1fr 1fr; }
}
.pill {
  display: inline-flex; align-items: center; border-radius: 999px;
  padding: 0.15rem 0.65rem; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
}
.pill-ok { background: rgba(0,153,67,0.12); color: #007a36; }
.pill-warn { background: rgba(245,158,20,0.15); color: #b56d00; }
.pill-bad { background: #fef2f2; color: #b91c1c; }
.pill-muted { background: rgba(0,0,0,0.05); color: var(--stone); }
.steps { display: grid; gap: 0.75rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.step { display: flex; gap: 0.85rem; align-items: flex-start; color: var(--stone); font-size: 0.95rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; }
.num {
  width: 1.75rem; height: 1.75rem; border-radius: 999px; background: var(--mango); color: #fff;
  display: grid; place-items: center; font-size: 0.75rem; font-weight: 800; flex-shrink: 0;
}

.field { display: grid; gap: 0.4rem; font-size: 0.9rem; }
.field > span { font-weight: 600; color: rgba(18,16,14,0.8); }
.hint { font-size: 0.75rem; color: var(--stone); }
.input, input[type="text"], input[type="email"], input[type="password"], input[type="date"], input[type="number"], select, textarea {
  width: 100%; border-radius: 0.8rem; border: 1px solid var(--line); background: #fff;
  padding: 0.75rem 0.95rem; outline: none; color: var(--ink);
  min-height: 2.75rem;
}
.input:focus, input:focus, select:focus, textarea:focus { border-color: var(--mango); }
.form-grid { display: grid; gap: 0.85rem; }
@media (min-width: 800px) { .form-grid.two { grid-template-columns: 1fr 1fr; } .span-2 { grid-column: span 2; } }
.error { color: #b91c1c; font-size: 0.9rem; }
.ok { color: #1e7a36; font-size: 0.9rem; }

.shell { min-height: 100vh; background: var(--paper); }
.sidebar {
  display: none; position: fixed; inset: 0 auto 0 0; width: 16.5rem;
  background: var(--cream); padding: 1.25rem;
  flex-direction: column; color: var(--ink);
  border-right: 1px solid var(--line);
}
.sidebar .kicker { color: var(--mango-deep); }
.nav { display: grid; gap: 0.2rem; margin-top: 1.75rem; }
.nav a {
  display: flex; align-items: center; gap: 0.7rem;
  border-radius: 0.8rem; padding: 0.62rem 0.75rem;
  font-size: 0.9rem; font-weight: 600; color: var(--stone);
}
.nav a.active, .nav a:hover { background: var(--mango); color: #fff; }
.nav-ico { width: 16px; height: 16px; flex-shrink: 0; }
.userbox {
  margin-top: auto; border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff; padding: 1rem;
}
.userbox .muted { color: var(--stone); }
.userbox .btn-ghost { color: var(--stone); padding-left: 0; }
.userbox .btn-ghost:hover { color: var(--ink); background: transparent; }
.main { padding: 1.25rem 1rem 2.5rem; }
@media (min-width: 1024px) {
  .sidebar { display: flex; }
  .main { padding: 2rem 2rem 3rem; margin-left: 16.5rem; }
  .mobile-nav, .mobile-bar { display: none !important; }
}
.mobile-bar {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line); padding: 0.7rem 1rem; background: #fff;
}
.mobile-nav {
  display: flex; gap: 0.25rem; overflow-x: auto;
  border-bottom: 1px solid var(--line); padding: 0.5rem 0.75rem; background: var(--paper);
  -webkit-overflow-scrolling: touch;
}
.mobile-nav a {
  flex-shrink: 0; border-radius: 999px; background: var(--cream);
  padding: 0.5rem 0.85rem; font-size: 0.75rem; font-weight: 700;
  min-height: 2.25rem;
}
.content { width: 100%; max-width: 72rem; margin: 0 auto; }
.page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 2rem; }
.page-head h1 { font-size: clamp(1.5rem, 5vw, 2.2rem); }
.stat {
  border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; padding: 1.25rem;
}
.stat .label { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone); font-weight: 700; }
.stat .value { margin-top: 0.75rem; font-size: 1.85rem; font-weight: 800; letter-spacing: -0.03em; }
.stat .hint { margin-top: 0.35rem; font-size: 0.8rem; color: var(--stone); }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th { text-align: left; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--stone); padding: 0.85rem 1rem; }
td { padding: 0.85rem 1rem; border-top: 1px solid var(--line); vertical-align: top; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: var(--mango);
}
.login-card {
  width: 100%; max-width: 28rem; border-radius: var(--radius-lg);
  border: 0;
  padding: 1.75rem; background: #fff; color: var(--ink);
}
.login-top { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.login-card .muted { color: var(--stone); }
.login-card .field > span { color: var(--ink); }
.login-card input { background: #fff; color: var(--ink); border-color: var(--line); }
.progress { height: 6px; background: rgba(0,0,0,0.06); border-radius: 999px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--mango); }
.cred {
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--cream);
  padding: 0.85rem 1rem; font-family: ui-monospace, Menlo, monospace; font-weight: 700; font-size: 1.05rem;
}
pre { overflow-x: auto; border-radius: var(--radius); background: var(--cream); padding: 1rem; font-size: 0.75rem; }
.flash { margin-bottom: 1rem; border-radius: var(--radius); padding: 0.75rem 1rem; font-size: 0.9rem; }
.flash-ok { background: rgba(0,153,67,0.12); color: #007a36; }
.flash-bad { background: #fef2f2; color: #b91c1c; }
.inline-form { display: inline; }
.wizard {
  max-width: 42rem;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.25rem 1.5rem;
  box-shadow: 0 16px 40px rgba(23, 20, 18, 0.06);
}
@media (min-width: 640px) {
  .wizard { padding: 1.75rem 1.85rem 1.85rem; }
}
.page-portal { background: var(--cream); }
.portal-page { padding: 1.5rem 0 3rem; }
.wizard-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mango-deep);
}
html[lang="th"] .wizard-kicker { letter-spacing: 0.03em; text-transform: none; }
.wizard-meta { margin: 0.35rem 0 1rem; font-size: 0.85rem; color: var(--stone); }
.wizard-steps {
  display: flex;
  gap: 0.35rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.wizard-step {
  display: grid;
  justify-items: center;
  gap: 0.3rem;
  min-width: 3.4rem;
  flex: 1;
  color: var(--stone);
  font-size: 0.68rem;
  font-weight: 700;
  text-align: center;
}
.wizard-num {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid var(--line);
  font-size: 0.75rem;
}
.wizard-step.is-current { color: var(--ink); }
.wizard-step.is-current .wizard-num { background: var(--mango); color: #fff; border-color: var(--mango); }
.wizard-step.is-done { color: var(--leaf-deep); }
.wizard-step.is-done .wizard-num { background: var(--leaf); color: #fff; border-color: var(--leaf); }
.wizard-panel { margin-top: 1.35rem; }
.wizard-panel h1 { font-size: clamp(1.45rem, 4vw, 1.9rem); letter-spacing: -0.03em; }
.wizard-panel .lead { margin-top: 0.7rem; font-size: 1rem; }
.wizard-context { margin: 0.55rem 0 0; color: var(--stone); font-weight: 600; }
.wizard-form { margin-top: 1.25rem; display: grid; gap: 0.9rem; }
.wizard-form .wizard-actions { grid-column: 1 / -1; }
.wizard-error {
  margin: 1rem 0 0;
  padding: 0.75rem 0.9rem;
  border-radius: 0.8rem;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 0.9rem;
}
.wizard-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}
.wizard-actions .btn-primary { order: 2; margin-left: auto; }
.wizard-actions .btn-secondary { order: 1; }
.wizard-actions form { margin: 0; }
.wizard-actions .btn { min-width: 8.5rem; }
.wizard-choices, .wizard-plans { display: grid; gap: 0.7rem; }
.wizard-choice, .wizard-plan {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin: 0;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
}
.wizard-choice:has(input:checked),
.wizard-plan:has(input:checked) {
  border-color: var(--mango);
  box-shadow: 0 0 0 2px rgba(255, 158, 25, 0.35);
  background: #fffaf3;
}
.wizard-choice span { font-weight: 700; }
.wizard-plan-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
}
.wizard-plan-top span { font-weight: 800; color: var(--leaf-deep); }
.wizard-plan p { margin: 0.35rem 0 0; color: var(--stone); font-size: 0.88rem; }
.wizard-plan-speed { margin-top: 0.45rem; font-weight: 700; }
.wizard-plan.is-plus:has(input:checked) { background: #fff6ea; }
.wizard-agree {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-weight: 600;
  line-height: 1.45;
}
.wizard-agree input { margin-top: 0.2rem; }
.wizard-creds {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1.15rem;
  border-radius: var(--radius);
  background: var(--cream);
}
.wizard-ssid { margin-top: 0.2rem; font-size: 1.35rem; font-weight: 800; }
@media (max-width: 640px) {
  .wizard-label { display: none; }
  .wizard-step { min-width: 2rem; }
  .wizard-actions { flex-wrap: wrap; }
  .wizard-actions .btn { flex: 1; min-width: 0; }
}

.site-footer {
  margin-top: 0;
  padding: 2.5rem max(1.25rem, env(safe-area-inset-right)) 2rem max(1.25rem, env(safe-area-inset-left));
  background: var(--footer);
  color: rgba(255,255,255,0.82);
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  gap: 1.75rem 2rem;
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 0.85fr; align-items: start; }
}
.footer-brand p {
  margin: 0.9rem 0 0;
  max-width: 22rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
}
.footer-nav { display: grid; gap: 0.45rem; align-content: start; }
.site-footer .kicker { color: var(--mango); margin-bottom: 0.35rem; }
.footer-nav a { color: rgba(255,255,255,0.82); }
.footer-nav a:hover { color: #fff; }
.footer-copy {
  margin-top: 2rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.55);
  font-size: 0.8rem;
}

.contact-page { background: var(--cream); }
.contact-hero { padding: 2.25rem 0 0; }
.contact-hero h1 { font-size: clamp(1.85rem, 5vw, 2.75rem); max-width: 16ch; }
.contact-grid {
  display: grid;
  gap: 1.25rem;
  padding: 2rem 0 4rem;
  align-items: start;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 0.82fr 1.18fr; gap: 1.5rem; }
}
.contact-aside, .contact-card { padding: 1.75rem; }
.contact-aside h2 { font-size: 1.2rem; }
.contact-email {
  display: block;
  font-weight: 800;
  color: var(--leaf);
  word-break: break-word;
}
.contact-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
  color: var(--stone);
  font-size: 0.92rem;
  line-height: 1.55;
}
.contact-points li { display: flex; gap: 0.65rem; }
.contact-points li::before {
  content: "";
  width: 0.55rem; height: 0.55rem; margin-top: 0.45rem;
  border-radius: 999px; background: var(--leaf); flex-shrink: 0;
}
.hp {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.contact-form { position: relative; }
.contact-form textarea { min-height: 9rem; resize: vertical; }

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

.enrol {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 860px) { .enrol { grid-template-columns: 0.85fr 1.15fr; gap: 3rem; } }
.enrol-qr {
  background: #fff;
  border-radius: 1.5rem;
  border: 1px solid var(--line);
  padding: 1.5rem;
  text-align: center;
}
.enrol-qr img { width: min(100%, 240px); height: auto; }
.enrol-steps { display: grid; gap: 0; margin-top: 1.5rem; padding: 0; list-style: none; }

.tariff-intro {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .tariff-intro {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: end;
    gap: 3rem;
  }
  .tariff-intro .section-title { max-width: 18ch; }
  .tariff-intro .lead { margin-top: 0; }
}
.tariff { display: grid; gap: 1.15rem; align-items: stretch; }
@media (min-width: 800px) { .tariff { grid-template-columns: 1fr 1.08fr; } }
.tariff-card {
  display: flex;
  flex-direction: column;
  padding: 1.85rem;
}
.tariff-card.featured {
  background: var(--mango);
  border-color: var(--mango);
  color: #fff;
  padding: 2rem;
}
.tariff-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}
.tariff-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--leaf);
  color: #fff;
  padding: 0.28rem 0.7rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tariff-card.featured .kicker,
.tariff-card.featured .muted,
.tariff-card.featured li { color: rgba(255,255,255,0.92); }
.tariff-price { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.04em; margin-top: 1rem; line-height: 1; }
.tariff-period { font-size: 0.95rem; font-weight: 600; opacity: 0.8; letter-spacing: 0; }
.tariff-speed {
  margin: 0.85rem 0 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.tariff-card.featured .tariff-speed { color: #fff; }
.tariff-card ul { margin: 1.15rem 0 1.5rem; padding: 0; list-style: none; display: grid; gap: 0.65rem; color: var(--stone); font-size: 0.95rem; flex: 1; }
.tariff-card li { display: flex; gap: 0.65rem; }
.tariff-card li::before { content: ""; width: 0.55rem; height: 0.55rem; margin-top: 0.4rem; border-radius: 999px; background: var(--leaf); flex-shrink: 0; }
.tariff-card.featured li::before { background: #fff; }
.tariff-card .btn { align-self: flex-start; }
.tariff-card.featured .btn-primary { background: var(--leaf); color: #fff; }
.tariff-note {
  margin: 1.25rem 0 0;
  max-width: 46rem;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--stone);
}

.calc-cta-home { max-width: 40rem; }
.page-body { background: var(--paper); }

@media (prefers-reduced-motion: reduce) {
  .hero-media img { transition: none; }
}
