/*
Theme Name: GoTroppo
Theme URI: https://gotroppo.com.au/
Author: GoTroppo
Author URI: https://gotroppo.com.au/
Description: Bold dark theme for GoTroppo — Australian NBN internet. Wildly fast. Simple. Rewarding. Ported from the July 2026 homepage concept.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gotroppo
*/

/* ============================================================
   Local Montserrat fallback
   Google Fonts is the primary source; this bundled variable font keeps the design
   pixel-identical if Google Fonts is blocked, slow, or unavailable offline.
   ============================================================ */
@font-face{
  font-family:"Montserrat Local";
  src:url("assets/fonts/Montserrat.ttf") format("truetype-variations");
  font-weight:100 900;
  font-style:normal;
  font-display:swap;
}

/* ============================================================
   Design tokens
   ============================================================ */
:root{
  --orange:#ff6200;--orange-h:#e05600;--flat:#ff8e53;--purple:#7209b7;--teal:#20d6b4;
  --off:#fafafa;--ink:#100f1d;--bg:#07060f;
  --grad:linear-gradient(135deg,#ff6b6b 0%,#ff8e53 50%,#ffd93d 100%);
  --line:rgba(255,255,255,.14);--muted:rgba(255,255,255,.62);
  --wrap:1280px;
}

/* ============================================================
   Base
   ============================================================ */
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--off);
  font-family:Montserrat,"Montserrat Local",-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  line-height:1.6;font-size:16px;overflow-x:hidden}
h1,h2,h3,h4{line-height:1.04;margin:0;font-weight:900;letter-spacing:-.03em}
p{margin:0}
img{max-width:100%;height:auto}
a{color:inherit}
svg{display:block}

/* Native <select>: the browser paints the dropdown popup from the control's OWN background.
   A translucent background made the popup render near-white, so our near-white option text
   was unreadable. Both the control and its options need a solid dark colour. */
select{background-color:#14131f;color:var(--off);font-family:inherit}
select option,select optgroup{background-color:#14131f;color:var(--off)}

/* Layout helper: full-bleed section background, capped inner content */
.wrap{width:100%;max-width:var(--wrap);margin-inline:auto;padding-inline:clamp(20px,5vw,56px)}

.kick,.k{font-size:11.5px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--orange)}
em{font-style:normal;color:var(--orange)}

.spine{height:6px;background:var(--orange);width:100%}
.spine.thin{height:3px}
.spine.off{background:var(--off)}

/* Skip link for a11y */
.skip-link{position:absolute;left:-9999px;top:0;z-index:1000;background:var(--off);color:var(--ink);
  padding:10px 16px;border-radius:0 0 10px 0;font-weight:800}
.skip-link:focus{left:0}

/* ============================================================
   Buttons
   ============================================================ */
.btn{border:0;border-radius:99px;font-family:inherit;font-weight:800;cursor:pointer;
  display:inline-block;text-decoration:none;background:var(--grad);color:var(--ink);
  padding:12px 26px;font-size:14px;white-space:nowrap;transition:transform .15s ease,filter .15s ease;line-height:1.2}
.btn:hover{filter:brightness(1.05);transform:translateY(-1px)}
.btn.sm{padding:9px 20px;font-size:13px}
.btn.lg{padding:15px 32px;font-size:15px}
.btn.solid{background:var(--off);color:var(--ink)}
.btn.ghost{background:transparent;color:var(--off);box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.3)}
.btn.ghost:hover{box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.6)}

/* ============================================================
   Header / nav
   ============================================================ */
.site-header{position:sticky;top:0;z-index:60;background:rgba(7,6,15,.86);
  backdrop-filter:saturate(140%) blur(10px);border-bottom:1px solid var(--line)}
.nav{display:flex;align-items:center;gap:18px 26px;padding-block:16px}
.nav .sp{flex:1 1 0;min-width:0}
.wordmark{font-weight:900;font-size:22px;letter-spacing:-.04em;background:var(--grad);
  -webkit-background-clip:text;background-clip:text;color:transparent;white-space:nowrap;text-decoration:none}
.primary-menu{display:flex;align-items:center;gap:22px;list-style:none;margin:0;padding:0;flex-wrap:wrap}
.primary-menu a{color:rgba(255,255,255,.8);text-decoration:none;font-size:13.5px;font-weight:700;white-space:nowrap}
.primary-menu a:hover{color:var(--off)}
.primary-menu .current-menu-item>a,.primary-menu .current_page_item>a{color:var(--orange)}
/* dropdown submenus */
.primary-menu li{position:relative}
.primary-menu .sub-menu{position:absolute;top:100%;left:0;min-width:220px;background:#14131f;
  border:1px solid var(--line);border-radius:12px;padding:8px;display:none;z-index:70;
  box-shadow:0 24px 50px rgba(0,0,0,.5)}
.primary-menu li:hover>.sub-menu,.primary-menu li:focus-within>.sub-menu{display:block}
.primary-menu .sub-menu a{display:block;padding:8px 12px;border-radius:8px;font-size:13px;white-space:normal}
.primary-menu .sub-menu a:hover{background:rgba(255,255,255,.06)}
.nav-toggle{display:none;background:transparent;border:0;color:var(--off);cursor:pointer;padding:8px;
  margin-left:auto}
.nav-toggle svg{width:26px;height:26px}

/* header cart link (site-wide, WooCommerce) */
.cart-link{position:relative;display:inline-flex;align-items:center;color:rgba(255,255,255,.82);
  text-decoration:none;padding:6px}
.cart-link:hover{color:var(--off)}
.cart-link svg{width:22px;height:22px}
.cart-link .cart-count{position:absolute;top:-4px;right:-6px;min-width:18px;height:18px;padding:0 4px;
  border-radius:99px;background:var(--orange);color:var(--ink);font-size:11px;font-weight:900;
  display:flex;align-items:center;justify-content:center;line-height:1}
.cart-link .cart-count[hidden]{display:none}

/* ============================================================
   Hero (homepage)
   ============================================================ */
.hero{position:relative;overflow:hidden;padding-block:78px 0;min-height:600px}
.hero .h{position:relative;z-index:4;max-width:56%}
.hero h1{font-size:clamp(42px,6.4vw,82px);margin:16px 0 0;letter-spacing:-.03em}
.hero .sub{color:rgba(255,255,255,.8);font-size:17px;font-weight:500;margin-top:20px;max-width:40ch}
.checker{display:flex;gap:10px;margin-top:28px;max-width:560px;flex-wrap:wrap}
.checker input{flex:1;border:0;border-radius:99px;padding:15px 22px;font-family:inherit;
  font-size:14.5px;font-weight:600;background:rgba(255,255,255,.1);color:var(--off);min-width:200px;
  box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.22)}
.checker input::placeholder{color:rgba(255,255,255,.5)}
.trust{display:flex;gap:22px;margin-top:22px;flex-wrap:wrap;font-size:12.5px;
  color:rgba(255,255,255,.66);font-weight:600}
.trust span::before{content:"";display:inline-block;width:6px;height:6px;border-radius:99px;
  background:var(--teal);margin-right:8px;vertical-align:middle}
.hero img.bird{position:absolute;right:-2%;bottom:-2%;width:46%;max-width:720px;z-index:2;pointer-events:none}

/* ============================================================
   Pillars
   ============================================================ */
.pillars{background:var(--ink)}
.pillars .wrap{padding-inline:0}
.pillargrid{display:grid;grid-template-columns:repeat(3,1fr);gap:0;max-width:var(--wrap);margin-inline:auto}
.pil{padding:40px clamp(20px,4vw,44px) 44px;border-right:1px solid var(--line)}
.pil:last-child{border-right:0}
.pil .rule{width:34px;height:4px;background:var(--orange);border-radius:99px}
.pil h3{font-size:31px;margin:16px 0 10px}
.pil p{font-size:14px;color:var(--muted);line-height:1.55}

/* ============================================================
   Prize band
   ============================================================ */
.prize{background:var(--ink);padding-block:58px 62px}
.prize .wrap{display:flex;align-items:center;gap:clamp(24px,3.4vw,48px);flex-wrap:wrap}
.prize .t{flex:1 1 430px;min-width:280px}
.prize h2{font-size:clamp(28px,3.5vw,42px);margin:14px 0 0;max-width:14ch}
.prize p{color:var(--muted);font-size:15px;margin-top:14px;max-width:38ch}
.prize .cta2{display:flex;gap:10px;margin-top:22px;flex-wrap:wrap}
.prize .cta2 .btn{padding:12px 22px}
.prize .car{flex:1 1 560px;min-width:300px;line-height:0}
.prize .car img{width:100%;display:block;aspect-ratio:16/10;object-fit:cover;object-position:56% 52%;border-radius:16px}

/* ============================================================
   Plans
   ============================================================ */
.plans{background:var(--off);color:var(--ink);padding-block:66px 74px}
.plans .head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap}
.plans h2{font-size:clamp(30px,4.2vw,46px);color:var(--ink)}
.plans .head p{color:#5b6070;font-size:15px;margin-top:10px;max-width:44ch}
.toggle{display:inline-flex;background:#e9e5df;border-radius:99px;padding:4px}
.toggle button{border:0;background:transparent;font-family:inherit;font-weight:800;font-size:13px;
  padding:10px 20px;border-radius:99px;cursor:pointer;color:#5b6070}
.toggle button.on{background:var(--ink);color:var(--off)}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:38px}
.card{background:#fff;border-radius:20px;padding:34px 28px 30px;border:1px solid rgba(0,0,0,.09);
  display:flex;flex-direction:column;position:relative;overflow:hidden}
.card.pop{box-shadow:0 0 0 2.5px var(--orange)}
.flag{position:absolute;top:0;right:0;background:var(--orange);color:var(--ink);font-size:10px;
  font-weight:900;letter-spacing:.1em;text-transform:uppercase;padding:7px 15px;border-radius:0 19px 0 13px}
.card .nm{font-size:23px;font-weight:900;letter-spacing:-.03em;line-height:1.1;color:var(--ink)}
.card .tech{font-size:11.5px;color:#6a6f7e;font-weight:700;margin-top:5px;letter-spacing:.04em}
.spd{margin:26px 0;padding:22px 0;border-top:1px solid rgba(0,0,0,.09);border-bottom:1px solid rgba(0,0,0,.09);
  display:flex;flex-direction:column;gap:16px}
.spd .sp{display:flex;align-items:center;gap:12px}
.ar{width:30px;height:30px;border-radius:99px;background:var(--orange);color:var(--ink);
  display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.ar svg{width:16px;height:16px;shape-rendering:geometricPrecision}
.spd .v{display:flex;align-items:baseline;gap:5px}
.spd .v b{font-size:27px;font-weight:900;letter-spacing:-.035em;line-height:1;color:var(--ink)}
.spd .v span{font-size:12px;font-weight:800;color:#5b6070}
.spd .lb{font-size:11px;font-weight:700;color:#6a6f7e;margin-left:auto;letter-spacing:.06em;text-transform:uppercase}
.price{display:flex;align-items:baseline;gap:4px;flex-wrap:wrap;min-width:0}
.price b{font-size:clamp(30px,2.9vw,40px);font-weight:900;letter-spacing:-.045em;line-height:1;color:var(--ink)}
.price span{font-size:13.5px;color:#5b6070;font-weight:700}
.forwho{font-size:13.5px;color:#5b6070;margin:14px 0 20px;line-height:1.5}
.feat{list-style:none;padding:0;margin:0 0 26px;font-size:13px;color:#3d4351;line-height:1.5}
.feat li{padding-left:22px;position:relative;margin-bottom:9px;font-weight:600}
.feat li::before{content:"";position:absolute;left:0;top:6px;width:11px;height:11px;border-radius:99px;background:var(--orange)}
.card .btn{width:100%;text-align:center;margin-top:auto;padding:14px 14px;
  white-space:normal;overflow-wrap:break-word;font-size:13.5px}
.samemoney{margin-top:26px;background:var(--ink);color:var(--off);border-radius:15px;
  padding:24px 28px;display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.samemoney b{font-size:20px;font-weight:900;letter-spacing:-.025em}
.samemoney p{color:var(--muted);font-size:14px;flex:1;min-width:240px}
.finep{font-size:11.5px;color:#6a6f7e;margin-top:20px}

/* ============================================================
   Founders video
   ============================================================ */
.vid{background:var(--ink);padding-block:60px 66px;border-top:1px solid var(--line)}
.vid h2{font-size:clamp(28px,3.9vw,44px)}
.vid .lead{color:var(--muted);font-size:15.5px;margin-top:13px;max-width:50ch}
.player{margin-top:30px;border-radius:18px;overflow:hidden;position:relative;background:#000;
  border:1px solid var(--line);aspect-ratio:16/9}
.player video{width:100%;display:block;aspect-ratio:16/9;object-fit:cover}
.player.poster{display:flex;align-items:center;justify-content:center;
  background:radial-gradient(120% 120% at 50% 40%,#2a2740,#0c0b16)}
.player .play{width:78px;height:78px;border-radius:99px;background:var(--grad);border:0;cursor:pointer;
  display:flex;align-items:center;justify-content:center;box-shadow:0 12px 40px rgba(0,0,0,.5)}
.player .play svg{width:30px;height:30px;color:var(--ink);margin-left:4px}
.player .capt{position:absolute;left:22px;bottom:18px;font-size:13px;font-weight:700;color:rgba(255,255,255,.75)}
.vidfoot{font-size:12px;color:rgba(255,255,255,.58);margin-top:16px}

/* ============================================================
   Reviews
   ============================================================ */
.revs{background:var(--ink);padding-block:62px 66px;border-top:1px solid var(--line)}
.revhead{display:flex;justify-content:space-between;align-items:flex-end;gap:26px;flex-wrap:wrap}
.revs h2{font-size:clamp(28px,3.9vw,44px)}
.revlead{color:var(--muted);font-size:15px;margin-top:13px}
.score{display:flex;align-items:center;gap:14px}
.score>b{font-size:52px;font-weight:900;letter-spacing:-.05em;line-height:1}
.stars{color:var(--orange);font-size:19px;letter-spacing:3px;display:block}
.stars.sm{font-size:14px;letter-spacing:2px}
.cnt{font-size:12.5px;color:var(--muted);font-weight:700;display:block;margin-top:3px}
.revgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:34px}
.rev{border:1px solid var(--line);border-radius:15px;padding:24px 22px 22px;
  background:rgba(255,255,255,.035);display:flex;flex-direction:column}
.rev p{font-size:14px;line-height:1.6;color:rgba(255,255,255,.82);margin:14px 0 0}
.rev p b{color:var(--off);font-weight:700}
.rev .who{margin-top:auto;padding-top:18px;font-size:13px;font-weight:800;color:var(--off)}
.revfoot{font-size:11.5px;color:rgba(255,255,255,.55);margin-top:20px}

/* ============================================================
   Coverage
   ============================================================ */
.cov{background:var(--ink);padding-block:64px 70px}
.cov h2{font-size:clamp(28px,4vw,44px)}
.cov .lead{color:var(--muted);font-size:15.5px;margin-top:12px;max-width:52ch}
.covgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:32px}
.covcard{border-radius:15px;overflow:hidden;position:relative;aspect-ratio:4/3}
.covcard img{width:100%;height:100%;object-fit:cover;display:block}
.covcard .lab{position:absolute;left:0;right:0;bottom:0;padding:44px 20px 18px;
  background:linear-gradient(to top,rgba(16,15,29,.94),transparent)}
.covcard .lab b{display:block;font-size:17px;font-weight:900;letter-spacing:-.02em}
.covcard .lab span{font-size:12.5px;color:rgba(255,255,255,.72);font-weight:600}

/* ============================================================
   Rewards mechanic (purple)
   ============================================================ */
.rew{background:var(--purple);padding-block:62px 66px}
.rew .k{color:rgba(255,255,255,.75)}
.rew h2{font-size:clamp(30px,4.4vw,50px);margin:14px 0 0;max-width:16ch}
.rew .lead{font-size:16px;color:rgba(255,255,255,.86);margin-top:16px;max-width:50ch;font-weight:500}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:34px}
.step{background:rgba(255,255,255,.11);border-radius:14px;padding:22px 20px}
.step b{display:block;font-size:15.5px;font-weight:900;margin-bottom:6px}
.step span{font-size:13px;color:rgba(255,255,255,.78);line-height:1.5}
.chip{display:inline-flex;align-items:center;gap:8px;background:var(--teal);color:var(--ink);
  font-weight:800;font-size:12.5px;padding:9px 17px;border-radius:99px;margin-top:26px}
.chip svg{width:15px;height:15px;flex:0 0 auto}
.rewfoot{margin-top:22px;font-size:12px;color:rgba(255,255,255,.76)}
.plans .card .cis{display:block;margin:10px 0 0;font-size:11.5px;font-weight:700;
  color:#5b6070;text-decoration:underline;text-underline-offset:2px}
.plans .card .cis:hover{color:var(--orange)}
.finep-docs{display:flex;flex-wrap:wrap;gap:6px 22px;margin-top:8px}
.finep-docs a{color:inherit;text-decoration:underline;text-underline-offset:2px;font-weight:700}
.ratesh{margin:34px 0 0;font-size:19px;font-weight:900}
.rates{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-top:16px}
.rate{display:flex;align-items:flex-start;gap:11px;background:rgba(255,255,255,.11);
  border-radius:14px;padding:16px 15px}
.rate b{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-width:44px;
  height:30px;padding:0 9px;border-radius:99px;background:#fff;color:var(--ink);
  font-size:14px;font-weight:900;letter-spacing:-.02em}
.rate span{font-size:12.5px;color:rgba(255,255,255,.78);line-height:1.45}
.rate span strong{display:block;color:#fff;font-size:13.5px;font-weight:900;margin-bottom:3px}
.ratesnote{margin-top:16px;font-size:12px;color:rgba(255,255,255,.76);max-width:74ch}
@media (max-width:900px){
  .rates{grid-template-columns:repeat(2,1fr)}
  .ratesh{margin-top:28px}
}
@media (max-width:560px){
  .rates{grid-template-columns:1fr}
}

/* ============================================================
   Support
   ============================================================ */
.sup{background:var(--ink);padding-block:58px 62px;position:relative;overflow:hidden}
.sup .inner{position:relative;z-index:3;max-width:52%}
.sup h2{font-size:clamp(26px,3.6vw,40px)}
.sup p{color:var(--muted);font-size:15px;margin-top:14px;max-width:42ch}
.sup>img{position:absolute;right:2%;bottom:8%;width:32%;max-width:420px;z-index:2;border-radius:16px;object-fit:cover}

/* ============================================================
   Footer
   ============================================================ */
.foot{background:#07060f;padding-block:44px 40px;border-top:1px solid var(--line)}
.footgrid{display:flex;gap:44px;flex-wrap:wrap;justify-content:space-between}
/* Scoped to `ul` so it can't defeat `.wordmark` — `.foot a` (0,1,1) out-specified
   `.wordmark` (0,1,0) and stripped the footer logo's gradient down to 13px grey text. */
.foot ul a{display:block;color:var(--muted);text-decoration:none;font-size:13px;margin-bottom:9px}
.foot ul a:hover{color:var(--off)}
.foot .ttl{font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;
  color:rgba(255,255,255,.58);margin-bottom:14px}
.foot ul{list-style:none;margin:0;padding:0}
.foot .legal{margin-top:34px;padding-top:22px;border-top:1px solid var(--line);
  font-size:11.5px;color:rgba(255,255,255,.55);line-height:1.7}

/* ============================================================
   Interior pages (page.php, single, archive, 404)
   ============================================================ */
.page-hero{position:relative;background:var(--ink);padding-block:64px 40px;border-bottom:1px solid var(--line)}
.page-hero h1{font-size:clamp(34px,5vw,62px);max-width:20ch}
.page-hero .lead{color:var(--muted);font-size:17px;margin-top:16px;max-width:60ch}
.page-hero .crumbs{font-size:12px;font-weight:700;letter-spacing:.04em;color:var(--muted);margin-bottom:14px}
.page-hero .crumbs a{color:var(--muted);text-decoration:none}
.page-hero .crumbs a:hover{color:var(--orange)}

.page-body{background:var(--bg);padding-block:52px 72px}
.entry-content{max-width:820px;margin-inline:auto;font-size:16.5px;color:rgba(255,255,255,.84)}
.entry-content>*+*{margin-top:20px}
.entry-content h2{font-size:clamp(24px,3vw,34px);margin-top:44px;color:var(--off)}
.entry-content h3{font-size:21px;margin-top:32px;color:var(--off)}
.entry-content h4{font-size:16px;margin-top:24px;color:var(--off);text-transform:uppercase;letter-spacing:.06em}
.entry-content a{color:var(--orange);text-decoration:underline;text-underline-offset:3px}
/* Buttons/tiles inside prose must NOT inherit the orange underlined link styling —
   orange-on-orange-gradient is unreadable. */
.entry-content a.btn,.entry-content a.btn:hover,.entry-content a.btn:visited{color:var(--ink);text-decoration:none}
.entry-content a.btn.ghost,.entry-content a.btn.ghost:hover{color:var(--off);text-decoration:none}
.entry-content a.btn.solid{color:var(--ink)}
.entry-content a.tile,.entry-content a.tile:hover{color:var(--off);text-decoration:none}
.entry-content ul,.entry-content ol{padding-left:22px;margin-block:16px}
.entry-content li{margin-bottom:10px}
.entry-content ul li::marker{color:var(--orange)}
.entry-content strong{color:var(--off)}
.entry-content blockquote{border-left:3px solid var(--orange);background:rgba(255,98,0,.07);
  padding:16px 22px;border-radius:0 12px 12px 0;margin-block:24px}
.entry-content table{width:100%;border-collapse:collapse;margin-block:24px;font-size:14.5px}
.entry-content th,.entry-content td{border:1px solid var(--line);padding:12px 14px;text-align:left}
.entry-content th{background:rgba(255,255,255,.05);font-weight:800}
.entry-content img{border-radius:14px}
.entry-content hr{border:0;border-top:1px solid var(--line);margin-block:36px}

/* generic centered CTA block reused on interior pages */
.cta-band{background:var(--ink);border-top:1px solid var(--line);padding-block:56px}
.cta-band .wrap{display:flex;align-items:center;justify-content:space-between;gap:26px;flex-wrap:wrap}
.cta-band h2{font-size:clamp(24px,3vw,36px);max-width:18ch}
.cta-band p{color:var(--muted);margin-top:10px;max-width:44ch}

/* cards used on plan/list pages */
.tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin-top:8px}
.tile{border:1px solid var(--line);border-radius:16px;padding:24px 22px;background:rgba(255,255,255,.03);
  text-decoration:none;color:var(--off);display:block;transition:border-color .15s,transform .15s}
.tile:hover{border-color:var(--orange);transform:translateY(-2px)}
.tile b{font-size:17px;font-weight:900;letter-spacing:-.02em;display:block}
.tile span{font-size:13.5px;color:var(--muted);display:block;margin-top:8px;line-height:1.5}

/* ============================================================
   Responsive
   ============================================================ */
/* 1100, not 1000 — the desktop nav did not actually fit until ~1075px, so it
   silently wrapped to two rows in the 1000–1075 band. */
.submenu-toggle{display:none}
@media(max-width:1100px){
  .nav-toggle{display:inline-flex}
  /* Anchor to the MEASURED header height (--gt-header-h, set in main.js). A hardcoded
     64px sat 11px under the real 75px mobile header and hid the first menu item. */
  .primary-menu{position:fixed;inset:var(--gt-header-h,68px) 0 auto 0;flex-direction:column;align-items:stretch;gap:0;
    background:#0c0b16;border-bottom:1px solid var(--line);padding:10px 20px 22px;
    max-height:calc(100vh - var(--gt-header-h,68px));overflow:auto;display:none}
  .primary-menu.open{display:flex}
  .primary-menu a{padding:13px 4px;font-size:15px;border-bottom:1px solid rgba(255,255,255,.06)}
  /* Accordion, not a wall. The tree is three levels and 16 destinations deep;
     expanding all of it at once buries Contact under a screenful of links.
     main.js injects the .submenu-toggle buttons. */
  .primary-menu .sub-menu{position:static;display:none;border:0;box-shadow:none;background:transparent;
    padding:2px 0 8px 14px;min-width:0;transform:none;opacity:1;visibility:visible;pointer-events:auto}
  .primary-menu li:hover>.sub-menu,.primary-menu li:focus-within>.sub-menu{display:none}
  .primary-menu .sub-menu.open{display:block}
  .primary-menu .menu-item-has-children{display:flex;flex-wrap:wrap;align-items:stretch}
  .primary-menu .menu-item-has-children>a{flex:1 1 auto;min-width:0}
  .primary-menu .menu-item-has-children>.sub-menu{flex:1 0 100%}
  .primary-menu .menu-item-has-children>a::after{display:none}
  .primary-menu .sub-menu a{padding:11px 4px;font-size:14px}
  .primary-menu .sub-menu .sub-menu a{font-size:13.5px;color:rgba(255,255,255,.72)}
  .submenu-toggle{display:flex;align-items:center;justify-content:center;flex:0 0 46px;
    background:transparent;border:0;border-bottom:1px solid rgba(255,255,255,.06);
    color:rgba(255,255,255,.75);cursor:pointer;padding:0}
  .submenu-toggle svg{width:17px;height:17px;transition:transform .16s ease}
  .submenu-toggle[aria-expanded="true"] svg{transform:rotate(180deg);color:var(--orange)}
  .nav .sp{display:none}
  .nav .btn.sm{display:none}
}
@media(max-width:900px){
  .grid,.pillargrid,.covgrid,.steps,.revgrid{grid-template-columns:1fr 1fr}
  .hero .h,.sup .inner{max-width:100%}
  /* The bird sits behind the address form and trust row on small screens — keep it as
     faint texture rather than competing imagery. */
  .hero img.bird{opacity:.15;width:66%}
  /* Decorative perch photo sat behind the buttons as a stray faded rectangle on narrow
     screens. Hide it outright below 900px; desktop is unchanged. */
  .sup>img{display:none}
  /* 13px footer links were only ~21px tall — too small to tap reliably */
  .foot ul a{padding:7px 0;margin-bottom:0}
  .foot .ttl{margin-bottom:8px}
}
@media(max-width:600px){
  .grid,.pillargrid,.covgrid,.steps,.revgrid{grid-template-columns:1fr}
  /* Was `52px 0` — the trust row sat flush against the orange spine with zero breathing room. */
  .hero{min-height:0;padding-block:48px 52px}
  .pil{border-right:0;border-bottom:1px solid var(--line)}
  /* Stacked address form: match the button to the input width instead of a stub. */
  .checker .btn{width:100%;text-align:center}
  .trust{gap:10px 20px;margin-top:24px}
}
@media(max-width:430px){
  /* The 3-button billing toggle is ~315px wide and pushed the page into horizontal
     scroll on 320px phones. Let it fill the row and share space instead. */
  .toggle{display:flex;width:100%}
  .toggle button{flex:1 1 0;min-width:0;padding:10px 6px;font-size:12px}
}

/* reduce motion */
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* ============================================================
   QA pass — spacing, alignment and polish corrections
   ============================================================ */

/* In-page anchors and the skip link landed underneath the sticky header. */
html{scroll-padding-top:calc(var(--gt-header-h,68px) + 14px)}

/* The frequency toggle is rendered after `.head`, not inside it, so it sat flush
   against the intro paragraph with a 0px gap. */
.plans .head + .toggle{margin-top:26px}

/* `.pillars` was the only section without a `.wrap`, so its text sat ~12px to the
   left of every other section. Align it to the same gutter. */
.pillargrid{padding-inline:clamp(20px,5vw,56px)}
.pil{padding:40px clamp(16px,2.4vw,30px) 44px}
.pil:first-child{padding-left:0}
.pil:last-child{padding-right:0}

/* Non-interactive info cards inherited the clickable lift + orange border. */
.tile:not(a){cursor:default}
.tile:not(a):hover{transform:none;border-color:var(--line)}

/* Contact cards: replaces a hard-coded 2-column inline style that overflowed phones. */
.contact-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}
.contact-card .ttl{color:var(--muted);font-size:11px;font-weight:800;letter-spacing:.14em;
  text-transform:uppercase;margin-bottom:9px}
/* `overflow-wrap:anywhere` + fluid size — the 24px email ran past the card edge on phones. */
.contact-card b{display:block;font-size:clamp(18px,4.6vw,23px);line-height:1.25;
  letter-spacing:-.02em;overflow-wrap:anywhere}
.contact-card b.sm{font-size:clamp(15px,3.9vw,19px)}
.contact-card b a{color:var(--off);text-decoration:none}
.contact-card b a:hover{color:var(--orange)}
.contact-card span{display:block;margin-top:10px;font-size:13.5px;color:var(--muted);line-height:1.55}

/* Plan cards clipped their DOWN / UP labels in the 4-up grid between ~900–1120px. */
@media(min-width:901px) and (max-width:1120px){
  .grid{grid-template-columns:repeat(2,1fr)}
}

/* `space-between` splayed the wrapped footer row unevenly. */
@media(max-width:900px){
  .footgrid{justify-content:flex-start;gap:28px 40px}
}

/* Above ~1400px the hero bird grew taller than its section and its wingtips were
   sliced off by a hard horizontal line (the section's overflow:hidden). */
.hero img.bird{max-height:100%;object-fit:contain;object-position:bottom right}

/* Safari/iOS needs the prefix or the sticky header renders opaque. */
.site-header{-webkit-backdrop-filter:saturate(140%) blur(10px)}

/* Cart belongs left of the hamburger, and both need a real touch target. */
@media(max-width:1100px){
  .nav-toggle{order:3;padding:10px}
  .cart-link{order:2;margin-left:auto;padding:10px}
}

/* The chosen plan read as LESS prominent than the unselected "Most popular" card. */
.card.chosen{box-shadow:0 0 0 3px var(--ink),0 18px 40px rgba(0,0,0,.28)}
.card.chosen.pop{box-shadow:0 0 0 3px var(--ink),0 0 0 7px rgba(255,98,0,.35),0 18px 40px rgba(0,0,0,.28)}

/* Keyboard focus was invisible everywhere except the stepper. */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,
textarea:focus-visible,.tile:focus-visible,.h1c:focus-visible{
  outline:2px solid var(--orange);outline-offset:3px;border-radius:6px}

/* Search / archive pagination was unstyled underlined links on black. */
.pagination .nav-links,.woocommerce-pagination .nav-links{display:flex;gap:8px;flex-wrap:wrap}
.pagination .page-numbers,.nav-links .page-numbers{
  display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;
  padding:0 12px;border:1px solid var(--line);border-radius:10px;color:var(--off);
  text-decoration:none;font-weight:700;font-size:14px}
.pagination .page-numbers:hover,.nav-links .page-numbers:hover{border-color:var(--orange)}
.pagination .page-numbers.current,.nav-links .page-numbers.current{
  background:var(--orange);color:var(--ink);border-color:var(--orange)}

/* Phone: the plan cards become one left-right rail. Matches the plugin's own
   768px rail breakpoint on /nbn-plans/ so both surfaces behave the same. */
@media (max-width:768px){
  .plans .grid{
    display:flex;flex-wrap:nowrap;gap:14px;
    overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;
    -webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;
    scroll-padding-inline:2px;padding:6px 2px 10px;scrollbar-width:none}
  .plans .grid::-webkit-scrollbar{display:none}
  .plans .grid>.card{flex:0 0 min(86%,320px);scroll-snap-align:center}
}
