/* Three plans with a Monthly | Yearly switch (pricing page and home teaser).
   Colours come from --t-* so the home page can map them to its own palette. */
.tiers-wrap{
  --t-card:var(--white,#fff); --t-ink:var(--ink,#11181C); --t-mute:var(--ink-60,#4A555C); --t-faint:var(--ink-40,#596369);
  --t-line:var(--rule,#E5E1D8); --t-line-strong:var(--rule-strong,#CFC9BB);
  --t-accent:var(--green,#0E6B4F); --t-accent-deep:var(--green-deep,#094A37); --t-soft:var(--green-50,#EAF4EF);
  --t-btn:#0E9F57; --t-btn-ink:#fff; --t-off:#B42318; --t-off-bg:#FDECEA;
}
@media (prefers-color-scheme:dark){
  .tiers-wrap{--t-btn:#16A862; --t-off:#F97066; --t-off-bg:#3A1714}
}

.bill-switch{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.6rem 1rem;margin:0 0 2.4rem}
.bill-toggle{display:inline-flex;padding:4px;border:1.5px solid var(--t-ink);border-radius:999px;background:var(--t-card)}
.bill-toggle button{appearance:none;border:0;background:transparent;color:var(--t-ink);font:inherit;font-family:var(--f-display,sans-serif);font-weight:500;font-size:1rem;line-height:1;padding:.75rem 1.6rem;min-height:44px;min-width:7.5rem;border-radius:999px;cursor:pointer;transition:background-color .18s ease,color .18s ease}
.bill-toggle button[aria-pressed="true"]{background:var(--t-btn);color:var(--t-btn-ink);font-weight:600}
.bill-toggle button:focus-visible{outline:3px solid var(--t-accent);outline-offset:2px}
.bill-save{display:inline-flex;align-items:center;font-family:var(--f-display,sans-serif);font-weight:600;font-size:.8rem;color:var(--t-accent-deep);background:var(--t-soft);border-radius:999px;padding:.35rem .75rem}

.tiers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--gap,1.4rem);align-items:stretch;list-style:none;margin:0;padding:0;max-width:none}
.tier{position:relative;display:flex;flex-direction:column;background:var(--t-card);color:var(--t-ink);border:1px solid var(--t-line);border-radius:var(--r-l,18px);padding:1.8rem 1.6rem;max-width:none}
.tier.feature{border:1.5px solid var(--t-accent);box-shadow:0 28px 64px -34px rgba(14,107,79,.5)}
.tier .tag{position:absolute;top:-.8rem;left:1.5rem;background:var(--t-btn);color:#fff;font-family:var(--f-display,sans-serif);font-weight:600;font-size:.72rem;letter-spacing:.03em;padding:.3rem .8rem;border-radius:999px}
.tier h3{font-family:var(--f-display,sans-serif);font-size:1.3rem;margin:0 0 .3rem;color:var(--t-ink)}
.tier .who{color:var(--t-mute);font-size:.92rem;margin:0 0 1.1rem;max-width:none}

.t-was{margin:0;font-size:.86rem;color:var(--t-faint);display:flex;flex-wrap:wrap;align-items:baseline;gap:.2rem .45rem;max-width:none}
.t-was s{font-family:var(--f-display,sans-serif);font-weight:600;font-size:1.05rem;color:var(--t-mute);text-decoration-thickness:2px;text-decoration-color:var(--t-off)}
.t-off{display:inline-block;margin:.45rem 0 0;font-family:var(--f-display,sans-serif);font-weight:700;font-size:.8rem;letter-spacing:.02em;color:var(--t-off);background:var(--t-off-bg);border-radius:6px;padding:.2rem .5rem}
.t-price{margin:.55rem 0 0;display:flex;align-items:baseline;flex-wrap:wrap;gap:.15rem .45rem;max-width:none}
.t-amt{font-family:var(--f-display,sans-serif);font-weight:700;font-size:clamp(2.2rem,1.7rem + 1.6vw,2.8rem);letter-spacing:-.03em;line-height:1;color:var(--t-ink)}
.t-price small{font-size:.9rem;color:var(--t-mute)}
.t-bill{margin:.5rem 0 0;font-size:.84rem;color:var(--t-mute);min-height:1.35em;max-width:none}

.tier ul{list-style:none;margin:1.3rem 0 0;padding:1.2rem 0 0;border-top:1px solid var(--t-line);display:grid;gap:.6rem;font-size:.92rem;max-width:none}
.tier li{display:grid;grid-template-columns:1.1rem 1fr;gap:.6rem;align-items:start;max-width:none;color:var(--t-ink)}
.tier li::before{content:"\2713";display:grid;place-items:center;width:1.1rem;height:1.1rem;margin-top:.15rem;background:var(--t-soft);color:var(--t-accent);border-radius:50%;font-size:.66rem;font-weight:700}
.tier li.lead{font-weight:600}
.tier .btnrow{margin-top:auto;padding-top:1.5rem}
.tier .btn{width:100%}

.tiers-note{text-align:center;color:var(--t-faint);font-size:.84rem;margin:1.6rem auto 0;max-width:72ch}
.tiers-note + .tiers-note{margin-top:.6rem}
.tiers-note a{color:var(--t-mute);text-decoration:underline;text-underline-offset:3px}

@media (max-width:900px){
  .tiers{grid-template-columns:1fr;max-width:480px;margin-inline:auto;gap:1.8rem}
}
@media (max-width:420px){
  .bill-toggle button{min-width:0;padding:.75rem 1.25rem}
  .tier{padding:1.6rem 1.25rem}
}
@media (prefers-reduced-motion:reduce){.bill-toggle button{transition:none}}

/* home page palette */
body.home .tiers-wrap{
  --t-card:var(--h-card); --t-ink:var(--h-text); --t-mute:var(--h-mute); --t-faint:var(--h-mute);
  --t-line:var(--h-line); --t-line-strong:var(--h-line); --t-accent:var(--h-accent); --t-accent-deep:var(--h-accent); --t-soft:var(--h-chip);
  margin-top:2rem;
}
body.home .tiers-note{color:var(--h-mute)}
body.home .tiers-note a{color:var(--h-accent)}

/* founder 3 Dec: highlighted plan lines, and GST beside every price */
.tier li.hl{background:var(--t-soft);border-radius:8px;padding:.45rem .6rem .45rem .5rem;margin-inline:-.5rem -.6rem;font-weight:600;color:var(--t-accent-deep)}
.tier li.hl::before{background:var(--t-btn);color:#fff}
.t-gst{align-self:center;font-family:var(--f-display,sans-serif);font-weight:700;font-size:.8rem;letter-spacing:.02em;color:var(--t-ink);border:1.5px solid var(--t-line-strong);border-radius:6px;padding:.15rem .45rem}

/* founder 3 Dec: on /pricing every section is heading on top, content across the shell,
   so the questions line up with the plans, the table and the cards above them */
#questions .shell{display:block}
#questions .sec-head{position:static;margin-bottom:clamp(1.75rem,4vw,2.75rem)}
#questions .faq{max-width:none}

/* Compare plans: every feature, plan by plan (founder 3 Dec) */
.pm-wrap{border:1px solid var(--t-line);border-radius:var(--r-l,18px);background:var(--t-card);overflow:clip}
.pm{width:100%;border-collapse:collapse;table-layout:fixed;font-size:.92rem;color:var(--t-ink)}
.pm col.pm-feat{width:46%}
.pm thead th{position:sticky;top:var(--header-h,64px);z-index:2;background:var(--t-card);border-bottom:1.5px solid var(--t-line-strong);padding:1rem .75rem;text-align:center;font-family:var(--f-display,sans-serif);font-weight:700;font-size:1rem;vertical-align:bottom}
.pm thead th:first-child{text-align:left;font-weight:600;font-size:.8rem;letter-spacing:.06em;text-transform:uppercase;color:var(--t-faint)}
.pm thead th small{display:block;font-weight:500;font-size:.78rem;color:var(--t-mute);margin-top:.15rem}
.pm thead th.is-rec{color:var(--t-accent)}
.pm tbody th[scope="rowgroup"]{text-align:left;background:var(--t-soft);color:var(--t-accent-deep);font-family:var(--f-display,sans-serif);font-weight:700;font-size:.8rem;letter-spacing:.06em;text-transform:uppercase;padding:.7rem .9rem}
.pm tbody th[scope="row"]{text-align:left;font-weight:400;padding:.65rem .9rem;line-height:1.4}
.pm tbody td{text-align:center;padding:.65rem .5rem;line-height:1.35;font-size:.86rem}
.pm tbody tr + tr > *{border-top:1px solid var(--t-line)}
.pm td.y::before{content:"\2713";display:inline-grid;place-items:center;width:1.25rem;height:1.25rem;border-radius:50%;background:var(--t-btn);color:#fff;font-size:.72rem;font-weight:700}
.pm td.n::before{content:"\2013";color:var(--t-faint)}
.pm td.y span,.pm td.n span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.pm td.v{font-weight:600}
.pm-note{text-align:center;color:var(--t-faint);font-size:.84rem;margin:1.2rem auto 0;max-width:72ch}
@media (max-width:600px){
  .pm{font-size:.84rem}
  .pm col.pm-feat{width:40%}
  .pm thead th{padding:.7rem .3rem;font-size:.82rem}
  .pm thead th small{font-size:.7rem}
  .pm tbody th[scope="row"]{padding:.55rem .6rem}
  .pm tbody td{padding:.55rem .25rem;font-size:.76rem}
  .pm tbody th[scope="rowgroup"]{padding:.6rem}
}
