/* MAcc website. Mobile-first; layouts: phone <=700, iPad portrait 701-960,
   iPad landscape / small laptop 961-1320, desktop >1320. System fonts only. */

:root {
  /* Lighter palette (2 Dec 2026). Contrast (WCAG): white on --brand 4.89:1, white on --brand-2 6.05:1,
     --link on --soft 5.44:1, --navy on white 10.07:1 / on --soft 9.05:1 / on --footer 8.61:1,
     --muted on --soft 6.87:1 / on --footer 6.53:1 / on the trial band's darkest stop 5.91:1. */
  --brand: #1d6fd6;      /* button fills */
  --brand-2: #1660c0;    /* button hover, secondary button text */
  --link: #1660c0;       /* blue text: links, eyebrows (--brand is 4.39:1 on --soft, too low for text) */
  --navy: #143f86;       /* headings and dark blue text only, never large fills */
  --accent: #4fd0f5;     /* decorative only (not text on light backgrounds) */
  --bg: #f2f8ff;
  --text: #0f1a2e;
  --muted: #47546b;
  --line: #d6e4f3;
  --surface: #ffffff;
  --soft: #eaf4fe;
  --footer: #e6eef8;
  --error: #b42318;
  --ok: #146c43;
  --radius: 14px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(20, 63, 134, .05), 0 10px 30px -10px rgba(20, 63, 134, .14);
  --shadow-lg: 0 2px 4px rgba(20, 63, 134, .06), 0 24px 48px -16px rgba(20, 63, 134, .28);
  --gutter: clamp(16px, 4vw, 40px);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: clamp(16px, 0.4vw + 14.6px, 18px);
  line-height: 1.6;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(2rem, 3.8vw + 1rem, 3.4rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.55rem, 1.9vw + 1rem, 2.4rem); letter-spacing: -.015em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { color: var(--brand-2); }
ul { padding-left: 1.2em; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { top: 8px; color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  min-height: 48px; padding: 0 22px; border-radius: 12px; border: 2px solid transparent;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-2); color: #fff; }
.btn-secondary { background: var(--surface); color: var(--brand-2); border-color: var(--brand); }
.btn-secondary:hover { background: var(--soft); color: var(--brand-2); }
.btn-small { min-height: 42px; padding: 0 16px; font-size: .95rem; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--navy); flex: none; }
.brand img { width: 76px; height: auto; }
.brand-name { font-weight: 800; font-size: 1.35rem; letter-spacing: -.01em; }
.menu-button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--surface);
  color: var(--navy); font: inherit; font-weight: 600; cursor: pointer;
}
.menu-icon, .menu-icon::before, .menu-icon::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
}
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.menu-button[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-button[aria-expanded="true"] .menu-icon::before { top: 0; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-icon::after { top: 0; transform: rotate(-45deg); }

/* Phone menu: a full-width panel under the header bar. Without JS it stays open. */
.site-nav { flex-basis: 100%; padding: 4px 0 16px; }
.js .site-nav { display: none; }
.js .site-nav.is-open { display: block; }
.nav-links { list-style: none; margin: 0; padding: 0; }
.nav-links a, .nav-signin {
  display: block; padding: 12px 4px; color: var(--text); text-decoration: none; font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.nav-links a:hover, .nav-signin:hover { color: var(--link); }
.nav-links a[aria-current="page"] { color: var(--link); }
.nav-actions { display: flex; flex-direction: column; gap: 12px; }
.nav-actions .btn { width: 100%; }

@media (min-width: 701px) {
  .header-inner { flex-wrap: nowrap; min-height: 72px; }
  .menu-button { display: none; }
  .site-nav, .js .site-nav { display: flex; align-items: center; gap: clamp(12px, 2.2vw, 32px); flex-basis: auto; padding: 0; }
  .nav-links { display: flex; gap: clamp(10px, 2vw, 28px); }
  .nav-links a, .nav-signin { border: 0; padding: 8px 2px; white-space: nowrap; }
  .nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--brand); }
  .nav-actions { flex-direction: row; align-items: center; gap: clamp(10px, 1.8vw, 24px); }
  .nav-actions .btn { width: auto; }
}

/* Sections */
.section { padding: clamp(56px, 8vw, 112px) 0; }
.section-white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 46rem; margin-bottom: clamp(24px, 4vw, 44px); }
.section-head p { color: var(--muted); font-size: 1.08em; }
.eyebrow {
  display: inline-block; margin-bottom: .8em; font-size: .85rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--link);
}
.lead { font-size: clamp(1.05rem, .6vw + .95rem, 1.3rem); color: var(--muted); max-width: 40rem; }
.page-head {
  padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 4vw, 48px);
  background: linear-gradient(180deg, var(--soft) 0%, var(--bg) 100%);
}
.page-head h1 { max-width: 22ch; }
.prose { max-width: 44rem; }

/* Home hero (2 Dec 2026): Lhendup Norbu's own photo of Punakha Dzong lit at night (dark blue sky, the glowing dzong
   across the middle, its orange reflection in the dark river below; no credit shown, by the owner's choice; files
   from tools/make_images.py), with the plan cards straight under the headline, over the river. Words sit on white
   panels/cards (worst-case contrast measured on the real pixels in tools/check.mjs).
   The photo always fills the hero edge to edge (object-fit: cover, no coloured side bands, by the owner's choice);
   on screens wider than ~1400px it is shown enlarged. Max hero height 980px.
   Phone: square picture band on top fading into the night blue, the intro panel overlaps its lower edge, cards below.
   701px and up: full-bleed picture behind everything; the cards sit at the bottom of the hero. */
.hero { position: relative; isolation: isolate; background: #10263f; }
.hero-media {
  position: absolute; inset: 0 0 auto; height: clamp(250px, 74vw, 460px); z-index: -1; overflow: hidden;
}
.hero-media picture, .hero-media img { width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 50% 12%; } /* phone square: keep the dzong's tower in view */
.hero-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(16, 38, 63, 0) 55%, rgba(16, 38, 63, .85) 90%, #10263f 100%);
}
.hero-content { padding-top: calc(clamp(250px, 74vw, 460px) - 88px); padding-bottom: clamp(40px, 6vw, 64px); }
.hero-top { display: grid; gap: 20px; justify-items: start; }
.hero-intro {
  width: 100%; max-width: 46rem; padding: clamp(20px, 2.4vw, 30px) clamp(20px, 3vw, 36px); border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .9); box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .7);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
}
.hero .eyebrow { margin-bottom: .5em; }
.hero h1 { max-width: 21ch; margin-bottom: .3em; font-size: clamp(2rem, 2.2vw + 1.2rem, 3.3rem); letter-spacing: -.03em; text-wrap: balance; }
.hero h1 .hl { color: var(--link); white-space: nowrap; }
.hero .lead { margin: 0; font-size: clamp(1.02rem, .4vw + .95rem, 1.2rem); max-width: 34rem; }
/* 2 Dec 2026 (Lhendup): Monthly/Yearly sits right above the four plan cards, not up beside the headline. */
.hero .period-toggle { margin: 0 0 14px; box-shadow: var(--shadow); }
.hero .hero-plans { display: grid; justify-items: start; }
.hero .hero-plans .plans { width: 100%; }
.hero-plans { margin-top: 16px; }
.hero .plan {
  border-radius: var(--radius-lg); border-color: rgba(255, 255, 255, .8);
  background: rgba(255, 255, 255, .95); box-shadow: 0 2px 4px rgba(6, 18, 36, .2), 0 24px 48px -16px rgba(6, 18, 36, .55);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
}
.hero .plan-name { font-size: 1.3rem; margin-bottom: .3em; }
.hero .plan-price { min-height: 3.1em; margin-bottom: .5em; }
.hero .plan-desc { font-size: .95rem; margin-bottom: 1em; color: var(--text); }
.hero .plan-per, .hero .plan-equiv { color: var(--text); }
.plan-compare { justify-self: center; font-weight: 600; font-size: .95rem; padding: 4px 6px; }
.hero .price-status:empty { display: none; }
.hero .price-status {
  display: inline-block; margin: 14px 0 0; padding: 6px 12px; border-radius: 8px;
  background: rgba(255, 255, 255, .95); color: var(--muted);
}

@media (min-width: 701px) {
  .hero { min-height: min(calc(100svh - 100px), 980px); }
  .hero-media { inset: 0; height: auto; }
  .hero-media::after { background: linear-gradient(180deg, rgba(16, 38, 63, 0) 60%, rgba(16, 38, 63, .35) 100%); }
  .hero-content { padding-top: clamp(24px, 4vh, 48px); padding-bottom: clamp(48px, 6vh, 72px); }
  .hero-top { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .hero h1 { max-width: none; text-wrap: wrap; }
  .hero h1 .h1-end { display: block; }
}
@media (min-width: 701px) {
  .hero { display: flex; flex-direction: column; }
  .hero-content { flex: 1; display: flex; flex-direction: column; }
  .hero-plans { margin-top: auto; padding-top: 18px; }
}
@media (min-width: 961px) {
  .hero-media img { object-position: 50% 30%; }
}
/* 2x2 cards (iPad, small laptop): "Compare plans" beside the button, so the cards are shorter and more of the
   picture shows. In the 4-in-a-row layout (1180px and up) the cards are too narrow, so it sits under the button. */
@media (min-width: 701px) and (max-width: 1179px) {
  .hero .plan-actions { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; }
}

/* What MAcc covers: a strip under the hero */
.covers { background: var(--surface); border-bottom: 1px solid var(--line); padding: clamp(24px, 3vw, 36px) 0; }
.covers-inner { display: grid; gap: 16px; align-items: center; }
.covers-title { font-size: 1.05rem; margin: 0; }
.covers-title small { display: block; font-size: .9rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.covers-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.covers-list li {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px;
  background: var(--bg); border: 1px solid var(--line); color: var(--navy); font-size: .93rem; font-weight: 600; line-height: 1.35;
}
.covers-list li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
@media (min-width: 961px) {
  .covers-inner { grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 32px; }
}

.section-soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Cards and grids */
.grid { display: grid; gap: clamp(16px, 2.4vw, 24px); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 2.6vw, 28px); box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .4em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card-icon {
  width: 44px; height: 44px; border-radius: 10px; background: var(--soft); color: var(--link);
  display: grid; place-items: center; margin-bottom: 14px;
}
.card-icon svg { width: 24px; height: 24px; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 28px; margin-bottom: .45em; }
.check-list li::before {
  content: ""; position: absolute; left: 4px; top: .45em; width: 12px; height: 7px;
  border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg);
}

.note {
  border-left: 4px solid var(--brand); background: var(--soft); border-radius: 0 10px 10px 0;
  padding: 14px 18px; color: var(--text); font-size: .97rem;
}
.note p:last-child { margin: 0; }

/* Feature sections */
.feature-nav { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 8px; }
.feature-nav a {
  display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--line); text-decoration: none; font-size: .92rem; font-weight: 600; color: var(--brand-2);
}
.feature-nav a:hover { border-color: var(--brand); }
.feature-block { display: grid; gap: 12px 40px; padding: clamp(28px, 4vw, 44px) 0; border-top: 1px solid var(--line); }
.feature-block:first-child { border-top: 0; }
.feature-block h2 { font-size: clamp(1.3rem, 1vw + 1rem, 1.7rem); }
.feature-block p { color: var(--muted); }

/* Benefit cards with a link at the bottom */
.card-link { display: flex; flex-direction: column; }
.card-link p { color: var(--muted); }
.card-link .more { margin-top: auto; font-weight: 600; }
.card-link .more::after { content: " \2192"; content: " \2192" / ""; }
.band-split { align-items: center; }
.band-split .btn { margin-top: 8px; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, #e3f0fd 0%, #cfe5fb 100%); border-top: 1px solid var(--line); }
.cta-band p { color: var(--muted); max-width: 40rem; }
.cta-inner { display: grid; gap: 20px; align-items: center; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-points { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .95rem; color: var(--text); }
.cta-points li { position: relative; padding-left: 24px; }
.cta-points li::before {
  content: ""; position: absolute; left: 2px; top: .45em; width: 11px; height: 6px;
  border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg);
}

/* Pricing */
.period-toggle {
  display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--line); margin-bottom: clamp(24px, 4vw, 40px);
}
.period-toggle button {
  min-height: 42px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent;
  font: inherit; font-weight: 600; color: var(--muted); cursor: pointer;
}
.period-toggle button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.plans { display: grid; gap: clamp(16px, 2.4vw, 24px); }
.plan { display: flex; flex-direction: column; border-radius: var(--radius-lg); }
.plan h2 { font-size: 1.35rem; margin-bottom: .6em; }
.plan-price { min-height: 3.6em; margin-bottom: 1em; }
.plan-amount { font-size: clamp(1.8rem, 1.5vw + 1.3rem, 2.3rem); font-weight: 800; color: var(--navy); line-height: 1.1; }
.plan-per { color: var(--muted); font-size: .95rem; }
.plan-soon { font-size: 1.2rem; font-weight: 700; color: var(--muted); }
.plan-request { font-size: 1.2rem; font-weight: 700; color: var(--navy); }
.plan-equiv { display: inline-block; margin-top: .25em; color: var(--muted); font-size: .88rem; line-height: 1.35; }
/* "Save 25%" on the Yearly button (worked out from the live prices in plans.js; hidden when not uniform). */
.save-badge {
  display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: .78rem; font-weight: 700;
  line-height: 1.5; vertical-align: 1px; background: #dcf3e6; color: var(--ok);
}
.save-badge[hidden] { display: none; }
.period-toggle button[aria-pressed="true"] .save-badge { background: #fff; color: var(--brand-2); }
.plan .btn { width: 100%; }
.plan > .btn, .plan-actions { margin-top: auto; }
.plan-actions { display: grid; gap: 10px; }
.plan h3 { font-size: 1.35rem; margin-bottom: .6em; }
.plan-desc { color: var(--muted); }
/* What each plan includes (2 Dec 2026, Lhendup): short tick list, 4 lines per plan. */
.plan-features { list-style: none; padding: 0; margin: 0 0 1.1em; display: grid; gap: .35em; font-size: .95rem; line-height: 1.35; color: var(--text); }
.plan-features li { position: relative; padding-left: 22px; }
.plan-features li::before {
  content: ""; position: absolute; left: 2px; top: .3em; width: 10px; height: 6px;
  border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg);
}
.price-status { color: var(--muted); font-size: .95rem; min-height: 1.6em; margin-top: 16px; }

.faq { display: grid; gap: 14px; max-width: 48rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 0 18px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; color: var(--navy); }
.faq details p { color: var(--muted); }

/* Switching page: comparison table and steps */
.compare-legend { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; padding: 0; margin: 0 0 16px; font-size: .92rem; color: var(--muted); }
.compare-legend li { display: inline-flex; align-items: center; gap: 6px; }
.compare { width: 100%; border-collapse: collapse; table-layout: fixed; background: var(--surface); font-size: .88rem; }
.compare th, .compare td { padding: 10px 6px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare thead th { color: var(--navy); font-size: .85rem; line-height: 1.25; text-align: center; vertical-align: bottom; hyphens: manual; }
.compare thead th:first-child { width: 40%; }
.compare tbody th { text-align: left; font-weight: 600; color: var(--text); }
.compare td { text-align: center; }
.compare .col-macc { background: var(--soft); }
.compare thead .col-macc { color: var(--brand-2); font-size: 1rem; }
.th-note { display: block; font-weight: 400; color: var(--muted); }
.mark { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: .9rem; font-weight: 700; line-height: 1; }
.mark-yes { background: var(--brand); color: #fff; }
.mark-some { background: #fff4d6; color: #7a5200; }
.mark-no { background: #eef1f5; color: #47546b; }
.compare-note { color: var(--muted); font-size: .92rem; margin: 12px 0 0; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(16px, 2.4vw, 24px); counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 12px;
  border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800;
}
.steps p { color: var(--muted); }

/* Forms */
.form-wrap { display: grid; gap: clamp(24px, 4vw, 48px); align-items: start; }
.form-card { max-width: 40rem; }
.field { margin-bottom: 18px; }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.field input[type="text"], .field input[type="email"], .field select {
  width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; color: var(--text);
  background: #fff; border: 1.5px solid #8a97ad; border-radius: 8px;
}
.field input:focus-visible, .field select:focus-visible { outline: 3px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-hint { color: var(--muted); font-size: .92rem; margin: 4px 0 0; }
.field-hint.note { margin-top: 10px; padding: 10px 14px; color: var(--text); font-size: .97rem; font-weight: 600; }
.field-error { color: var(--error); font-size: .92rem; font-weight: 600; margin: 6px 0 0; }
.field-error:empty { display: none; }
fieldset.field { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.radio-row label, .check-label { display: inline-flex; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--text); cursor: pointer; }
.radio-row input, .check-label input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--brand); flex: none; }
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-message { border-radius: 10px; padding: 14px 18px; margin-bottom: 18px; font-weight: 600; }
.form-message:empty { display: none; }
.form-message.is-error { background: #fdecea; color: var(--error); border: 1px solid #f4b4ad; }
.form-message.is-ok { background: #e7f5ee; color: var(--ok); border: 1px solid #a8d9bf; }
.form-done { font-size: 1.1rem; }

/* Footer */
.site-footer { background: var(--footer); color: var(--muted); border-top: 1px solid var(--line); padding: 40px 0 32px; font-size: .95rem; }
.site-footer a { color: var(--navy); }
.site-footer a:hover { color: var(--link); }
.footer-inner { display: grid; gap: 24px; }
.footer-name { font-weight: 800; font-size: 1.25rem; color: var(--navy); margin-bottom: .3em; }
.seller { margin: 0; color: var(--text); font-weight: 600; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 8px; }

/* iPad portrait and up */
@media (min-width: 701px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .compare { font-size: .97rem; }
  .compare th, .compare td { padding: 12px 14px; }
  .compare thead th { font-size: .95rem; }
  .cta-inner { grid-template-columns: 1fr auto; }
  .footer-inner { grid-template-columns: 1.2fr 1fr; }
  .feature-block { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
  .feature-block > .feature-text { grid-column: 1; }
}

/* iPad portrait only: a lone last card in a 3-card grid spans the row instead of leaving a gap */
@media (min-width: 701px) and (max-width: 960px) {
  .grid-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* iPad landscape, small laptop and up */
@media (min-width: 961px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form-wrap { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
}

/* Four plan cards in one row from 1180px (2x2 below, stacked on phones) */
@media (min-width: 1180px) {
  .plans { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
}

/* Desktop */
@media (min-width: 1321px) {
  .container { max-width: 1240px; }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .btn, .nav-links a, .feature-nav a, .period-toggle button { transition: background-color .15s, color .15s, border-color .15s; }
  .card-link { transition: box-shadow .2s, transform .2s; }
  .card-link:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
}

/* Small helpers */
.flush-top { padding-top: 0; }
.h-small { font-size: 1.25rem; }
.mt-1 { margin-top: 1em; }
.muted { color: var(--muted); }
.contact-card { max-width: 36rem; }
.contact-email { font-size: clamp(1.15rem, 1vw + 1rem, 1.5rem); font-weight: 700; }
.grid-wide { gap: clamp(36px, 5vw, 72px); }

/* Test-site banner (2 Dec 2026, exception EXC-2026-12-02-signup). Remove when MAcc moves to production. */
.test-banner { background: #fde68a; color: #3b2f00; text-align: center; font-size: .85rem; padding: 4px 12px; line-height: 1.3; }

/* 2 Dec 2026 (Lhendup): see-through headline box and plan cards, so the photo shows behind them (701px and up,
   where the photo is behind everything; phones keep the solid panel over the dark band). Text inside them uses the
   darkest inks so it stays readable (tools/check.mjs measures contrast over the photo). */
@media (min-width: 701px) {
  .hero-intro {
    background: rgba(255, 255, 255, .26); border-color: rgba(255, 255, 255, .4);
    -webkit-backdrop-filter: blur(10px) saturate(1.15); backdrop-filter: blur(10px) saturate(1.15);
  }
  .hero .plan {
    background: rgba(255, 255, 255, .62); border-color: rgba(255, 255, 255, .55);
    -webkit-backdrop-filter: blur(14px) saturate(1.15); backdrop-filter: blur(14px) saturate(1.15);
  }
  .hero .eyebrow, .hero .plan-compare { color: var(--navy); }
  .hero .lead, .hero .plan-features, .hero .plan-per, .hero .plan-soon, .hero .plan-equiv { color: var(--text); }
}
/* Hero cards: compact feature list so the cards stay short. */
.hero .plan-features { font-size: .9rem; gap: .2em; margin-bottom: .9em; }
.hero .plan-price { min-height: 2.9em; margin-bottom: .4em; }
/* Shorter bottom gap so the four cards (now with feature lists) fit on a 1440x900 screen. */
@media (min-width: 1180px) {
  .hero-content { padding-bottom: clamp(24px, 3vh, 40px); }
}
/* Laptops with short screens (900px tall or less): a smaller headline box so the plan cards fit. */
@media (min-width: 1180px) and (max-height: 920px) {
  .hero-content { padding-top: 20px; }
  .hero-intro { padding: 18px 28px; }
  .hero h1 { font-size: clamp(2rem, 1.6vw + 1.2rem, 2.7rem); }
  .hero .lead { font-size: 1.02rem; }
  .hero-plans { padding-top: 12px; }
  .hero .plan { padding-top: 18px; padding-bottom: 16px; }
}
/* 2 Dec 2026 (Lhendup): more see-through boxes (above), so the darkest inks for the text on them. */
@media (min-width: 701px) {
  .hero .plan-name, .hero .plan-request, .hero .plan-amount, .hero .plan-compare { color: #0b2a5c; }
  .hero h1 .hl { color: #0c4aa6; }
}
/* 2 Dec 2026 (Lhendup): headline box on the right on laptops and desktops. */
@media (min-width: 1180px) {
  .hero-top { grid-template-columns: minmax(0, 1fr); }
  /* owner, 2 Dec 2026: right edge, then up to ~9 cm (340px) further right into the empty side space on wide screens, never off screen */
  .hero-intro { justify-self: end; margin-right: calc(-1 * clamp(0px, (100vw - 1240px) / 2 - 16px, 340px)); }
}
