/* Glucotide - Emerald Lattice theme
   gt- flat single-hyphen components + is-/has- states + [data-variant] hooks
   gt-wrap / gt-cols / gt-grid layout primitives + :root HSL-channel tokens
   section-grouped cascade (no @layer); native nesting for pseudo/media only */

/* ---- tokens ---- */
:root{
  --em-900:158 62% 13%;
  --em-800:160 58% 19%;
  --em-700:162 56% 25%;
  --em-600:163 60% 31%;
  --em-500:164 60% 39%;
  --teal-500:172 64% 40%;
  --teal-400:174 62% 48%;
  --gold-500:44 92% 57%;
  --gold-600:40 90% 50%;
  --ink:165 26% 12%;
  --slate:168 12% 34%;
  --muted:168 10% 46%;
  --line:165 20% 88%;
  --mint:158 42% 96%;
  --mint-2:162 40% 93%;
  --paper:0 0% 100%;
  --shadow:0 18px 44px -26px hsl(162 50% 18% / .42);
  --shadow-sm:0 8px 22px -16px hsl(162 50% 18% / .38);
  --r:16px; --r-lg:22px; --r-pill:999px;
  --wrap:1140px;
  --f-disp:"Bricolage Grotesque",system-ui,sans-serif;
  --f-body:"Instrument Sans",system-ui,-apple-system,sans-serif;
}

/* ---- reset / base ---- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;font-family:var(--f-body);color:hsl(var(--ink));
  background:hsl(var(--paper));line-height:1.62;font-size:17px;
  -webkit-font-smoothing:antialiased}
h1,h2,h3,h4{font-family:var(--f-disp);line-height:1.1;margin:0 0 .5em;
  letter-spacing:-.015em;font-weight:700;color:hsl(var(--em-900))}
h1{font-size:clamp(2.05rem,5.2vw,3.35rem);font-weight:800}
h2{font-size:clamp(1.55rem,3.4vw,2.3rem)}
h3{font-size:1.22rem}
p{margin:0 0 1rem}
a{color:hsl(var(--em-600));text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;display:block;height:auto}
ul,ol{margin:0 0 1rem;padding-left:1.2rem}
li{margin:.28rem 0}
strong{color:hsl(var(--em-900))}
:focus-visible{outline:3px solid hsl(var(--teal-500));outline-offset:2px;border-radius:4px}

/* ---- layout primitives ---- */
.gt-wrap{width:100%;max-width:var(--wrap);margin-inline:auto;padding-inline:20px}
.gt-wrap.is-narrow{max-width:820px}
section{padding-block:clamp(2.6rem,6vw,4.4rem)}
.gt-band{background:hsl(var(--mint))}
.gt-band.is-2{background:linear-gradient(180deg,hsl(var(--mint)) 0%,hsl(var(--paper)) 100%)}
.gt-cols{display:grid;gap:clamp(1.2rem,3vw,2.4rem)}
@media(min-width:860px){.gt-cols.is-split{grid-template-columns:1.05fr .95fr;align-items:center}}
.gt-grid{display:grid;gap:1.1rem}
.gt-grid.is-2{grid-template-columns:repeat(2,1fr)}
.gt-grid.is-3{grid-template-columns:repeat(3,1fr)}
.gt-grid.is-4{grid-template-columns:repeat(4,1fr)}
@media(max-width:820px){.gt-grid.is-3,.gt-grid.is-4{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.gt-grid.is-2,.gt-grid.is-3,.gt-grid.is-4{grid-template-columns:1fr}}
.gt-center{text-align:center}
.gt-kicker{font-family:var(--f-body);font-weight:700;text-transform:uppercase;
  letter-spacing:.14em;font-size:.76rem;color:hsl(var(--teal-500));margin:0 0 .5rem}
.gt-lead{font-size:1.12rem;color:hsl(var(--slate))}
.skip{position:absolute;left:-999px}
.skip:focus{left:12px;top:12px;z-index:60;background:hsl(var(--gold-500));
  color:hsl(var(--ink));padding:10px 16px;border-radius:8px;font-weight:700}

/* ---- buttons ---- */
.gt-btn{display:inline-flex;align-items:center;gap:.5rem;font-family:var(--f-disp);
  font-weight:700;font-size:1.02rem;border:0;border-radius:var(--r-pill);cursor:pointer;
  padding:.85rem 1.6rem;text-decoration:none;transition:transform .15s,box-shadow .15s,background .15s;
  line-height:1}
.gt-btn:hover{text-decoration:none;transform:translateY(-2px)}
.gt-btn-primary{background:hsl(var(--gold-500));color:hsl(var(--ink));
  box-shadow:0 12px 26px -12px hsl(var(--gold-600) / .8)}
.gt-btn-primary:hover{background:hsl(var(--gold-600))}
.gt-btn-emerald{background:hsl(var(--em-600));color:#fff;box-shadow:var(--shadow-sm)}
.gt-btn-emerald:hover{background:hsl(var(--em-700))}
.gt-btn-ghost{background:transparent;color:hsl(var(--em-700));
  box-shadow:inset 0 0 0 2px hsl(var(--em-600) / .5)}
.gt-btn-ghost:hover{background:hsl(var(--em-600) / .08)}
.gt-btn small{font-family:var(--f-body);font-weight:600;opacity:.85;font-size:.82rem}
.gt-btn.is-block{width:100%;justify-content:center}

/* ---- ribbon ---- */
.gt-ribbon{background:hsl(var(--em-900));color:#eafff6;font-size:.82rem;
  text-align:center;padding:.5rem 16px;letter-spacing:.01em}
.gt-ribbon strong{color:hsl(var(--gold-500))}

/* ---- header ---- */
.gt-head{position:sticky;top:0;z-index:50;background:hsl(var(--paper) / .92);
  backdrop-filter:blur(10px);border-bottom:1px solid hsl(var(--line))}
.gt-head-in{display:flex;align-items:center;gap:1rem;padding-block:.7rem}
.gt-logo{display:flex;align-items:center;gap:.6rem;font-family:var(--f-disp);
  font-weight:800;font-size:1.28rem;color:hsl(var(--em-900));letter-spacing:-.02em}
.gt-logo:hover{text-decoration:none}
.gt-logo svg{width:34px;height:34px;flex:none}
.gt-logo span{color:hsl(var(--teal-500))}
.gt-nav{margin-left:auto;display:flex;align-items:center;gap:1.35rem}
.gt-nav a{color:hsl(var(--ink));font-weight:600;font-size:.97rem}
.gt-nav a[aria-current="page"]{color:hsl(var(--em-600));text-decoration:underline;
  text-underline-offset:5px;text-decoration-thickness:2px}
.gt-nav .gt-btn{padding:.6rem 1.15rem;font-size:.95rem}
.gt-burger{margin-left:auto;display:none;background:none;border:0;cursor:pointer;
  padding:8px;color:hsl(var(--em-900))}
.gt-burger svg{width:28px;height:28px}
@media(max-width:900px){
  .gt-nav{position:fixed;inset:64px 0 auto 0;flex-direction:column;align-items:stretch;
    gap:0;background:hsl(var(--paper));border-bottom:1px solid hsl(var(--line));
    padding:.5rem 20px 1.1rem;box-shadow:var(--shadow);margin:0;display:none}
  .gt-nav.is-open{display:flex}
  .gt-nav a{padding:.7rem 0;border-bottom:1px solid hsl(var(--line))}
  .gt-nav .gt-btn{margin-top:.8rem;justify-content:center}
  .gt-burger{display:block}
}

/* ---- badges row ---- */
.gt-badges{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center;margin:1.1rem 0 0}
.gt-chip{display:inline-flex;align-items:center;gap:.4rem;background:hsl(var(--paper) / .16);
  border:1px solid hsl(0 0% 100% / .28);color:#eafff6;padding:.34rem .8rem;border-radius:var(--r-pill);
  font-size:.78rem;font-weight:600}
.gt-chip::before{content:"";width:7px;height:7px;border-radius:50%;background:hsl(var(--gold-500))}

/* ---- hero ---- */
.gt-hero{position:relative;color:#eafff6;overflow:hidden;
  background:linear-gradient(135deg,hsl(var(--em-800)) 0%,hsl(var(--em-600)) 55%,hsl(var(--teal-500)) 100%)}
.gt-hero::after{content:"";position:absolute;inset:0;opacity:.5;pointer-events:none;
  background-image:radial-gradient(hsl(0 0% 100% / .14) 1.4px,transparent 1.5px);
  background-size:26px 26px}
.gt-hero .gt-wrap{position:relative;z-index:1}
.gt-hero h1{color:#fff}
.gt-hero h1 em{font-style:normal;color:hsl(var(--gold-500))}
.gt-hero .gt-lead{color:hsl(160 40% 90%)}
.gt-hero-cta{display:flex;flex-wrap:wrap;gap:.8rem;margin:1.5rem 0 0}
.gt-hero-img{position:relative;display:flex;justify-content:center}
.gt-hero-img img{width:min(470px,94%);filter:drop-shadow(0 30px 40px hsl(160 60% 10% / .45))}
.gt-portal{background:hsl(var(--em-900));color:hsl(160 36% 88%);font-size:.96rem;
  padding:.9rem 0}
.gt-portal .gt-wrap{display:flex;gap:.7rem;align-items:flex-start}
.gt-portal svg{width:22px;height:22px;flex:none;margin-top:2px;fill:hsl(var(--gold-500))}
.gt-portal strong{color:#fff}

/* ---- TL;DR + takeaways ---- */
.gt-tldr{border-left:5px solid hsl(var(--gold-500));background:hsl(var(--mint));
  border-radius:0 var(--r) var(--r) 0;padding:1.2rem 1.4rem;margin:0 0 1.4rem}
.gt-tldr h2{font-size:1.02rem;text-transform:uppercase;letter-spacing:.1em;
  color:hsl(var(--teal-500));margin:0 0 .4rem}
.gt-tldr p{margin:0;font-size:1.06rem;color:hsl(var(--ink))}
.gt-take{background:hsl(var(--em-900));color:#eafff6;border-radius:var(--r-lg);
  padding:clamp(1.4rem,3vw,2.2rem)}
.gt-take h2{color:#fff}
.gt-take ul{list-style:none;padding:0;margin:0;display:grid;gap:.7rem}
.gt-take li{display:flex;gap:.7rem;align-items:flex-start;color:hsl(160 36% 90%)}
.gt-take li::before{content:"";flex:none;width:12px;height:12px;margin-top:7px;border-radius:3px;
  background:hsl(var(--gold-500))}

/* ---- cards ---- */
.gt-card{background:hsl(var(--paper));border:1px solid hsl(var(--line));
  border-radius:var(--r-lg);padding:1.5rem;box-shadow:var(--shadow-sm)}
.gt-card h3{color:hsl(var(--em-800))}
.gt-num{font-family:var(--f-disp);font-weight:800;font-size:1.5rem;color:hsl(var(--teal-500));
  display:block;margin-bottom:.2rem}
.gt-ico{width:46px;height:46px;border-radius:12px;display:grid;place-items:center;
  background:hsl(var(--mint-2));color:hsl(var(--em-600));margin-bottom:.9rem}
.gt-ico svg{width:24px;height:24px}

/* ---- key facts (fact grid) ---- */
.gt-keyfacts{background:hsl(var(--paper));border:1px solid hsl(var(--line));
  border-radius:var(--r-lg);overflow:hidden;box-shadow:var(--shadow-sm)}
.gt-keyfacts h2{background:hsl(var(--em-800));color:#fff;font-size:1.05rem;margin:0;
  padding:.85rem 1.3rem;display:flex;align-items:center;gap:.5rem}
.gt-keyfacts h2 svg{width:20px;height:20px;fill:hsl(var(--gold-500))}
.gt-keyfacts dl{margin:0;display:grid;grid-template-columns:auto 1fr}
.gt-keyfacts dt{font-weight:700;color:hsl(var(--em-800));padding:.65rem 1.3rem;
  border-bottom:1px solid hsl(var(--line));background:hsl(var(--mint) / .5)}
.gt-keyfacts dd{margin:0;padding:.65rem 1.3rem;border-bottom:1px solid hsl(var(--line))}
.gt-keyfacts dt:last-of-type,.gt-keyfacts dd:last-of-type{border-bottom:0}
@media(max-width:560px){.gt-keyfacts dl{grid-template-columns:1fr}
  .gt-keyfacts dt{border-bottom:0;padding-bottom:0;background:none}}

/* ---- tables ---- */
.gt-table-wrap{overflow-x:auto;border:1px solid hsl(var(--line));border-radius:var(--r);
  box-shadow:var(--shadow-sm)}
table.gt-table{width:100%;border-collapse:collapse;font-size:.96rem;min-width:520px}
.gt-table th,.gt-table td{text-align:left;padding:.75rem 1rem;border-bottom:1px solid hsl(var(--line))}
.gt-table thead th{background:hsl(var(--em-800));color:#fff;font-family:var(--f-disp);font-weight:700}
.gt-table tbody tr:nth-child(even){background:hsl(var(--mint) / .45)}
.gt-table td[data-y]{color:hsl(var(--em-600));font-weight:700}
.gt-check{color:hsl(var(--em-600));font-weight:700}
.gt-x{color:hsl(0 55% 52%);font-weight:700}

/* ---- pricing ---- */
.gt-price{display:grid;gap:1.3rem;grid-template-columns:repeat(3,1fr);align-items:start}
@media(max-width:900px){.gt-price{grid-template-columns:1fr;max-width:440px;margin-inline:auto}}
.gt-plan{background:hsl(var(--paper));border:1px solid hsl(var(--line));border-radius:var(--r-lg);
  padding:1.6rem 1.4rem;text-align:center;position:relative;box-shadow:var(--shadow-sm);
  display:flex;flex-direction:column}
.gt-plan[data-variant="pop"]{border:2px solid hsl(var(--gold-500));box-shadow:var(--shadow);
  transform:translateY(-6px)}
@media(max-width:900px){.gt-plan[data-variant="pop"]{transform:none}}
.gt-plan-tag{position:absolute;top:-14px;left:50%;transform:translateX(-50%);
  background:hsl(var(--gold-500));color:hsl(var(--ink));font-family:var(--f-disp);font-weight:800;
  font-size:.75rem;letter-spacing:.06em;text-transform:uppercase;padding:.35rem .95rem;border-radius:var(--r-pill)}
.gt-plan-name{font-family:var(--f-disp);font-weight:800;color:hsl(var(--em-800));font-size:1.28rem}
.gt-plan-sub{color:hsl(var(--muted));font-size:.9rem;margin-bottom:1rem}
.gt-pack{display:flex;justify-content:center;align-items:flex-end;height:158px;margin:.3rem 0 1rem}
.gt-pack img{height:100%;width:auto;filter:drop-shadow(0 14px 18px hsl(160 50% 12% / .28))}
.gt-plan-per{font-family:var(--f-disp);font-weight:800;font-size:2.9rem;color:hsl(var(--em-900));line-height:1}
.gt-plan-per sup{font-size:1.2rem;top:-.9rem}
.gt-plan-per small{font-family:var(--f-body);font-size:.82rem;font-weight:600;color:hsl(var(--muted));display:block}
.gt-plan-total{margin:.7rem 0;color:hsl(var(--slate))}
.gt-plan-total s{color:hsl(var(--muted))}
.gt-plan-total b{color:hsl(var(--em-900));font-size:1.15rem}
.gt-plan-save{display:inline-block;background:hsl(var(--mint-2));color:hsl(var(--em-700));
  font-weight:700;font-size:.85rem;padding:.25rem .7rem;border-radius:var(--r-pill);margin-bottom:.6rem}
.gt-plan ul{list-style:none;padding:0;margin:0 0 1.1rem;text-align:left;font-size:.92rem}
.gt-plan ul li{display:flex;gap:.5rem;align-items:flex-start}
.gt-plan ul li::before{content:"\2713";color:hsl(var(--em-600));font-weight:800}
.gt-plan .gt-btn{margin-top:auto}
.gt-plan-ship{font-size:.82rem;color:hsl(var(--muted));margin-top:.6rem}
.gt-pay{display:flex;gap:.35rem;justify-content:center;margin-top:.7rem;opacity:.7;font-size:.72rem;
  color:hsl(var(--muted));flex-wrap:wrap}

/* ---- reviews ---- */
.gt-ratingbig{display:flex;flex-wrap:wrap;align-items:center;gap:1.4rem;justify-content:center;text-align:center}
.gt-ratingbig .score{font-family:var(--f-disp);font-weight:800;font-size:3.6rem;color:hsl(var(--em-900));line-height:1}
.gt-stars{color:hsl(var(--gold-500));font-size:1.3rem;letter-spacing:2px}
.gt-snapshot{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}
@media(max-width:820px){.gt-snapshot{grid-template-columns:repeat(2,1fr)}}
.gt-stat{background:hsl(var(--paper));border:1px solid hsl(var(--line));border-radius:var(--r);
  padding:1.1rem;text-align:center;box-shadow:var(--shadow-sm)}
.gt-stat b{display:block;font-family:var(--f-disp);font-weight:800;font-size:1.8rem;color:hsl(var(--teal-500))}
.gt-stat span{font-size:.84rem;color:hsl(var(--muted))}
.gt-bar{margin:.5rem 0}
.gt-bar .lab{display:flex;justify-content:space-between;font-size:.9rem;margin-bottom:.2rem}
.gt-bar .track{height:11px;border-radius:var(--r-pill);background:hsl(var(--mint-2));overflow:hidden}
.gt-bar .fill{height:100%;border-radius:var(--r-pill);
  background:linear-gradient(90deg,hsl(var(--em-500)),hsl(var(--teal-400)))}
.gt-review{background:hsl(var(--paper));border:1px solid hsl(var(--line));border-radius:var(--r);
  padding:1.3rem;box-shadow:var(--shadow-sm)}
.gt-review .who{display:flex;align-items:center;gap:.7rem;margin-bottom:.6rem}
.gt-avatar{width:42px;height:42px;border-radius:50%;background:hsl(var(--em-600));color:#fff;
  display:grid;place-items:center;font-family:var(--f-disp);font-weight:800;flex:none}
.gt-review .name{font-weight:700;color:hsl(var(--em-900));font-size:.95rem}
.gt-review .meta{font-size:.8rem;color:hsl(var(--muted))}
.gt-verified{font-size:.72rem;color:hsl(var(--em-600));font-weight:700}
.gt-review .rs{color:hsl(var(--gold-500));font-size:.95rem;letter-spacing:1px}

/* ---- byline / meta ---- */
.gt-byline{display:flex;flex-wrap:wrap;gap:.4rem 1rem;align-items:center;font-size:.86rem;
  color:hsl(var(--muted));border-top:1px solid hsl(var(--line));border-bottom:1px solid hsl(var(--line));
  padding:.7rem 0;margin:0 0 1.4rem}
.gt-byline b{color:hsl(var(--em-800))}
.gt-updated{font-size:.82rem;color:hsl(var(--muted));font-weight:600}

/* ---- breadcrumb ---- */
.gt-crumb{font-size:.84rem;color:hsl(var(--muted));padding:.8rem 0}
.gt-crumb a{color:hsl(var(--muted))}
.gt-crumb b{color:hsl(var(--em-800))}

/* ---- faq / details ---- */
.gt-faq details{background:hsl(var(--paper));border:1px solid hsl(var(--line));border-radius:var(--r);
  margin-bottom:.7rem;overflow:hidden}
.gt-faq summary{cursor:pointer;padding:1rem 1.2rem;font-family:var(--f-disp);font-weight:700;
  color:hsl(var(--em-800));list-style:none;display:flex;justify-content:space-between;gap:1rem}
.gt-faq summary::-webkit-details-marker{display:none}
.gt-faq summary::after{content:"+";color:hsl(var(--teal-500));font-size:1.3rem;line-height:1}
.gt-faq details[open] summary::after{content:"\2013"}
.gt-faq details[open] summary{border-bottom:1px solid hsl(var(--line))}
.gt-faq .body{padding:1rem 1.2rem}
.gt-faq .body p:last-child{margin-bottom:0}

/* ---- qa microblocks ---- */
.gt-qa{border-left:4px solid hsl(var(--teal-400));padding-left:1.1rem;margin:1.6rem 0}
.gt-qa h3{margin-bottom:.35rem}
.gt-qa .ans{font-weight:600;color:hsl(var(--ink))}

/* ---- glossary / dl ---- */
.gt-gloss dt{font-family:var(--f-disp);font-weight:700;color:hsl(var(--em-800));margin-top:.9rem}
.gt-gloss dd{margin:.2rem 0 0}

/* ---- as featured / logos ---- */
.gt-logos{display:flex;flex-wrap:wrap;gap:1.4rem 2.4rem;justify-content:center;align-items:center;
  opacity:.72;font-family:var(--f-disp);font-weight:700;color:hsl(var(--slate));font-size:1.05rem}

/* ---- final cta ---- */
.gt-finalcta{background:linear-gradient(135deg,hsl(var(--em-800)),hsl(var(--teal-500)));
  color:#fff;border-radius:var(--r-lg);padding:clamp(1.8rem,4vw,3rem);text-align:center;position:relative;overflow:hidden}
.gt-finalcta::after{content:"";position:absolute;inset:0;opacity:.4;
  background-image:radial-gradient(hsl(0 0% 100% / .14) 1.4px,transparent 1.5px);background-size:24px 24px}
.gt-finalcta h2,.gt-finalcta p{color:#fff;position:relative}
.gt-finalcta .gt-hero-cta{justify-content:center}

/* ---- footer ---- */
.gt-foot{background:hsl(var(--em-900));color:hsl(160 26% 78%);padding-block:2.6rem 1.5rem;font-size:.9rem}
.gt-foot a{color:hsl(160 30% 82%)}
.gt-foot-top{display:grid;grid-template-columns:1.5fr repeat(4,1fr);gap:1.6rem}
@media(max-width:900px){.gt-foot-top{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.gt-foot-top{grid-template-columns:1fr}}
.gt-foot h4{color:#fff;font-size:.95rem;margin-bottom:.7rem}
.gt-foot ul{list-style:none;padding:0;margin:0}
.gt-foot li{margin:.35rem 0}
.gt-foot-brand .gt-logo{color:#fff;margin-bottom:.6rem}
.gt-foot-brand .gt-logo span{color:hsl(var(--gold-500))}
.gt-foot-meta{margin-top:.5rem;line-height:1.7}
.gt-foot-portal{background:hsl(var(--em-800) / .5);border-radius:var(--r);padding:.9rem 1.1rem;
  margin:1.6rem 0 0;font-size:.84rem;color:hsl(160 30% 82%)}
.gt-foot-legal{border-top:1px solid hsl(160 30% 24%);margin-top:1.6rem;padding-top:1.2rem;
  font-size:.8rem;color:hsl(160 20% 66%)}
.gt-foot-legal p{margin:.4rem 0}

/* ---- forms ---- */
.gt-field{margin-bottom:1rem}
.gt-field label{display:block;font-weight:600;margin-bottom:.3rem;color:hsl(var(--em-800));font-size:.92rem}
.gt-field input,.gt-field textarea,.gt-field select{width:100%;padding:.7rem .9rem;border:1px solid hsl(var(--line));
  border-radius:10px;font:inherit;background:hsl(var(--paper));color:hsl(var(--ink))}
.gt-field textarea{min-height:130px;resize:vertical}

/* ---- utilities ---- */
.gt-mt{margin-top:1.4rem}
.gt-note{background:hsl(var(--mint));border-radius:var(--r);padding:1rem 1.2rem;font-size:.92rem}
.gt-hr{border:0;border-top:1px solid hsl(var(--line));margin:2rem 0}
