/* Citrus (key "citrus", fresh / energetic) — a bright white page washed with soft lime+yellow glows, pill buttons on a
   lime->yellow gradient, big rounded cards with lime hairline borders and lime-tinted shadows, and a rounded sans display
   face. Everything is scoped to .th-citrus and loads AFTER public/themes/_shared/base.css (which it only tunes via the
   documented --th-* properties). Nothing external: the colours are the approved preview's exact hexes, decoration is CSS
   gradients/shapes plus one tiny inline-SVG check mark, and the fonts are a rounded SYSTEM stack (ui-rounded) with Inter /
   system fallbacks already loaded by the head partial (800 via font-variation-settings, since the Inter file ships 400-700).
   Real tool logos ride base.css's white tile chip, so they stay legible on any colour. Light scheme; accent #84cc16. */

.th-citrus {
  /* surfaces + ink */
  --bg: #ffffff;
  --bg-tint: #f6fde9;
  --surface: #ffffff;
  --ink: #17260a;          /* headings + strong text (~15:1 on white) */
  --ink-2: #36451f;        /* body copy (~10:1 on white) */
  --muted: #5f6b45;        /* small meta / captions (>= 5.4:1 on white and on lime-50) */
  --line: #e8f0d6;
  --line-2: #dce8bf;

  /* lime + yellow scale (the preview's hexes) */
  --lime-50: #f7fee7; --lime-100: #ecfccb; --lime-200: #d9f99d; --lime-300: #bef264;
  --lime-400: #a3e635; --lime-500: #84cc16; --lime-600: #65a30d; --lime-700: #4d7c0f; --lime-800: #3f6212;
  --yellow-100: #fef9c3; --yellow-200: #fef08a; --yellow-300: #fde047; --yellow-400: #facc15;

  /* fills vs. text: #84cc16 is a chip/border/decoration tone (3:1 on white — never under text);
     text/links/markers use lime-700 (~5:1 on white and on lime-50) */
  --accent: #84cc16;
  --accent-ink: #4d7c0f;
  --accent-ink-strong: #3f6212;

  /* gradients */
  --grad: linear-gradient(100deg, #bef264 0%, #a3e635 42%, #fde047 100%);
  --grad-hover: linear-gradient(100deg, #aee651 0%, #8fd41e 46%, #f7c80f 100%);
  --grad-soft: linear-gradient(120deg, #ecfccb 0%, #fef9c3 100%);

  /* radii */
  --r-sm: 12px; --r-md: 18px; --r-lg: 26px; --r-xl: 34px; --pill: 999px;

  /* lime-tinted shadows */
  --sh-sm: 0 2px 10px -4px rgba(76, 124, 15, .20);
  --sh-md: 0 16px 38px -18px rgba(76, 124, 15, .34);
  --sh-lg: 0 30px 60px -24px rgba(76, 124, 15, .42);
  --glow: 0 12px 26px -10px rgba(132, 204, 22, .5);

  /* type: a rounded system face for display + body, with Inter / system fallbacks already loaded */
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --round: ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN", var(--sans);

  --wrap: 1160px;

  background-color: var(--bg);
  background-image:
    radial-gradient(900px 520px at 100% -6%, rgba(254, 240, 138, .26), transparent 60%),
    radial-gradient(760px 520px at -6% 6%, rgba(217, 249, 157, .30), transparent 54%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--round);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;

  /* ---- shared-kit tuning: currency switcher (kept quiet — a white raised chip in a lime track, NOT the gradient button) */
  --th-cur-bg: rgba(101, 163, 13, .10);
  --th-cur-line: var(--line-2);
  --th-cur-fg: var(--ink-2);
  --th-cur-hover: rgba(132, 204, 22, .18);
  --th-cur-on-bg: #ffffff;
  --th-cur-on-fg: var(--ink);
  --th-cur-on-shadow: 0 2px 9px -3px rgba(76, 124, 15, .40), inset 0 0 0 1.5px var(--lime-300);
  --th-cur-radius: var(--pill);
  --th-cur-size: 13px;
  --th-cur-focus: var(--lime-700);

  /* ---- shared-kit tuning: legal pages (accent >= 4.5:1 on white + on the lime-50 surface) */
  --th-legal-accent: var(--accent-ink);
  --th-legal-surface: var(--lime-50);
  --th-legal-line: var(--line);
  --th-legal-radius: var(--r-md);
  --th-legal-top: 84px;
  --th-legal-font: var(--round);
}

.th-citrus ::selection { background: rgba(163, 230, 53, .4); color: var(--ink); }
.th-citrus :focus-visible { outline: 3px solid var(--lime-700); outline-offset: 2px; }

.th-citrus .st-wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

/* ---- header -------------------------------------------------------------------------------------------------------- */
.th-citrus .st-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .85); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.th-citrus .st-header::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); }
.th-citrus .st-header-in { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.th-citrus .st-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); min-width: 0; }
.th-citrus .st-mark { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: var(--grad); color: var(--ink); font-size: 1.05rem; font-weight: 800; letter-spacing: -.02em; box-shadow: var(--glow); }
.th-citrus .st-brand-name { font-weight: 800; font-size: 1.12rem; letter-spacing: -.01em; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.th-citrus .st-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.th-citrus .st-nav a { text-decoration: none; color: var(--ink-2); font-weight: 700; font-size: .95rem; padding: 9px 14px; border-radius: var(--pill); transition: background-color .15s ease, color .15s ease; }
.th-citrus .st-nav a:hover { background: var(--lime-50); color: var(--ink); }
.th-citrus .st-account { display: flex; gap: 10px; align-items: center; }
.th-citrus .st-menu-btn { display: none; margin-left: auto; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 13px; color: var(--ink); transition: background-color .15s ease, border-color .15s ease; }
.th-citrus .st-menu-btn:hover,
.th-citrus .st-menu-btn[aria-expanded="true"] { background: var(--lime-50); border-color: var(--lime-300); }
.th-citrus .st-menu { border-top: 1px solid var(--line); background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding: 6px 0 14px; }
.th-citrus .st-menu nav { display: flex; flex-direction: column; padding: 4px 0; }
.th-citrus .st-menu nav a { text-decoration: none; color: var(--ink); font-weight: 700; padding: 12px 2px; min-height: 44px; display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.th-citrus .st-menu nav a:hover { color: var(--accent-ink); }

/* ---- buttons ------------------------------------------------------------------------------------------------------- */
.th-citrus .st-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; min-height: 44px; border-radius: var(--pill); background: var(--grad); color: var(--ink); text-decoration: none; font-weight: 800; font-size: .98rem; line-height: 1.1; border: 2px solid transparent; box-shadow: var(--glow); transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease, color .16s ease; }
.th-citrus .st-btn:hover { transform: translateY(-2px); background: var(--grad-hover); box-shadow: 0 18px 36px -12px rgba(132, 204, 22, .65); }
.th-citrus .st-btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); box-shadow: none; }
.th-citrus .st-btn-ghost:hover { transform: translateY(-2px); background: var(--lime-50); border-color: var(--lime-300); box-shadow: var(--sh-sm); }

/* ---- hero (home only) ---------------------------------------------------------------------------------------------- */
.th-citrus .st-hero { position: relative; overflow: hidden; padding: 64px 0 52px; background:
    radial-gradient(1100px 560px at 88% -14%, var(--yellow-100) 0%, transparent 56%),
    radial-gradient(820px 520px at -8% 12%, var(--lime-100) 0%, transparent 54%); }
.th-citrus .st-hero::before, .th-citrus .st-hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.th-citrus .st-hero::before { width: 300px; height: 300px; background: radial-gradient(circle at 36% 36%, rgba(190, 242, 100, .55), rgba(190, 242, 100, 0) 70%); top: -70px; right: 5%; }
.th-citrus .st-hero::after { width: 210px; height: 210px; background: radial-gradient(circle at 50% 50%, rgba(253, 224, 71, .5), rgba(253, 224, 71, 0) 70%); bottom: -80px; left: 3%; }
.th-citrus .st-hero > .st-wrap { position: relative; z-index: 1; }
.th-citrus .st-chip { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; max-width: 100%; padding: 7px 14px; border: 1.5px solid var(--line-2); border-radius: var(--pill); font-size: .8rem; line-height: 1.35; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-ink); background: var(--lime-50); }
.th-citrus .st-chip::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 3px rgba(163, 230, 53, .25); }
.th-citrus .st-hero h1 { margin: 20px 0 0; font-size: clamp(2.1rem, 5.2vw, 3.6rem); line-height: 1.05; letter-spacing: -.03em; font-weight: 800; font-variation-settings: "wght" 800; color: var(--ink); max-width: 18ch; }
.th-citrus .st-lead { margin-top: 18px; color: var(--ink-2); font-size: clamp(1.05rem, 2.2vw, 1.25rem); max-width: 60ch; }
.th-citrus .st-hero .st-lead { max-width: 42ch; }
.th-citrus .st-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.th-citrus .st-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 14px; margin: 34px 0 0; }
.th-citrus .st-facts div { padding: 16px 18px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--sh-sm); }
.th-citrus .st-facts dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-ink); font-weight: 800; }
.th-citrus .st-facts dd { margin: 6px 0 0; font-weight: 700; color: var(--ink); }
.th-citrus .st-facts dd + dd { font-weight: 500; color: var(--muted); font-size: .92rem; }
/* hero: a two-column top — copy + a decorative citrus illustration — so the right side is no longer blank;
   the facts row and the help line stay full width below the grid. On phones the art is hidden (copy only). */
.th-citrus .st-hero-grid { display: grid; gap: 28px; align-items: center; }
.th-citrus .st-hero-art { display: none; min-width: 0; }
.th-citrus .st-hero-art svg { display: block; width: 100%; height: auto; max-width: 440px; margin-inline: auto; filter: drop-shadow(0 18px 34px rgba(76, 124, 15, .16)); }
@media (min-width: 62rem) {
  .th-citrus .st-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 418px); gap: 48px; }
  .th-citrus .st-hero .st-hero-copy h1 { max-width: none; }
  .th-citrus .st-hero-art { display: block; justify-self: end; }
}
.th-citrus .st-help { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; color: var(--muted); font-weight: 600; }
.th-citrus .st-help a { display: inline-flex; gap: 6px; align-items: center; color: var(--accent-ink); text-decoration: none; font-weight: 800; }
.th-citrus .st-help a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---- sections + heading scale -------------------------------------------------------------------------------------- */
.th-citrus .st-section { padding: clamp(48px, 7vw, 84px) 0; border-top: 1px solid var(--line); }
.th-citrus .st-section h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.1; letter-spacing: -.025em; font-weight: 800; font-variation-settings: "wght" 800; color: var(--ink); margin-bottom: 10px; }
.th-citrus .st-section > .st-wrap > p { color: var(--ink-2); max-width: 66ch; font-size: 1.05rem; }
/* a zesty lime band for "how it works" (full-width home section) */
.th-citrus #how-it-works { background:
    radial-gradient(900px 480px at 100% 0%, var(--yellow-100) 0%, transparent 55%),
    var(--lime-50); border-top-color: var(--line-2); }

/* ---- catalogue ----------------------------------------------------------------------------------------------------- */
.th-citrus .st-tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 20px; margin-top: 32px; }
.th-citrus .st-tool { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 24px; border: 1.5px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-sm); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.th-citrus .st-tool:hover { transform: translateY(-6px); border-color: var(--lime-300); box-shadow: var(--sh-md); }
.th-citrus .st-tool h3 { font-size: 1.28rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.th-citrus .st-tool h3 a { text-decoration: none; color: var(--ink); }
.th-citrus .st-tool h3 a:hover { color: var(--accent-ink); }
.th-citrus .st-tool > p { color: var(--muted); font-size: .95rem; }
.th-citrus .st-cat { display: inline-block; width: fit-content; padding: 4px 11px; border: 1.5px solid var(--line-2); border-radius: var(--pill); background: var(--lime-50); color: var(--accent-ink); font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.th-citrus .st-price { color: var(--ink); font-weight: 600; }
.th-citrus .st-price b { font-size: 1.55rem; font-weight: 800; font-variation-settings: "wght" 800; letter-spacing: -.02em; color: var(--ink); }
.th-citrus .st-subs { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-ink); font-weight: 700; font-size: .85rem; }
.th-citrus .st-subs::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime-500); }
/* catalogue cards in the style of the playful theme: a soft citrus-toned card with the tool's wordmark on a white chip
   (top-left) and the category chip in the corner, then the name, summary, price and actions. */
.th-citrus .st-tool.st-tone0 { background: var(--lime-50); border-color: var(--lime-200); }
.th-citrus .st-tool.st-tone1 { background: var(--yellow-100); border-color: var(--yellow-300); }
.th-citrus .st-tool.st-tone2 { background: var(--lime-100); border-color: var(--lime-300); }
.th-citrus .st-tool.st-tone3 { background: var(--grad-soft); border-color: var(--lime-300); }
.th-citrus .st-tool-top { display: flex; align-items: center; min-height: 50px; min-width: 0; }
.th-citrus .st-tool-top .st-cat { position: absolute; top: 22px; right: 22px; background: var(--surface); }
.th-citrus .st-wordmark { display: inline-flex; align-items: center; min-width: 0; height: 50px; padding: 8px 14px; overflow: hidden; background: #fff; border: 1.5px solid var(--line-2); border-radius: 15px; box-shadow: var(--sh-sm); }
.th-citrus .st-wordmark img { display: block; height: 34px; width: auto; max-width: 140px; object-fit: contain; object-position: left center; }
.th-citrus .st-tool .st-actions { margin-top: auto; padding-top: 4px; gap: 10px; }
.th-citrus .st-empty { margin-top: 28px; padding: 32px; border: 2px dashed var(--line-2); border-radius: var(--r-lg); background: var(--lime-50); display: grid; gap: 12px; justify-items: start; }
.th-citrus .st-empty h3 { font-size: 1.3rem; font-weight: 800; color: var(--ink); }
.th-citrus .st-empty p { color: var(--ink-2); max-width: 54ch; }

/* ---- tool tiles (base.css .th-tile; keep logos on the white chip, just round + ring + shadow) --------------------- */
.th-citrus .th-tile { border-radius: 15px; }
.th-citrus .th-tile.has-logo { box-shadow: inset 0 0 0 1.5px var(--line-2), 0 6px 16px -10px rgba(76, 124, 15, .45); }
.th-citrus .st-tool .th-tile { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5), 0 8px 18px -10px rgba(76, 124, 15, .45); }
.th-citrus .st-tool .th-tile.has-logo { box-shadow: inset 0 0 0 1.5px var(--line-2), 0 8px 18px -10px rgba(76, 124, 15, .45); }
.th-citrus .st-tool-head .th-tile { border-radius: 18px; }

/* ---- how it works (steps) + support -------------------------------------------------------------------------------- */
.th-citrus .st-steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); counter-reset: step; }
.th-citrus .st-steps li { position: relative; counter-increment: step; padding: 24px 20px 20px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--sh-sm); }
.th-citrus .st-steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: var(--grad); color: var(--ink); font-weight: 800; font-size: 1.05rem; box-shadow: var(--glow); margin-bottom: 14px; }
.th-citrus .st-steps li > h3, .th-citrus .st-steps li > b:first-child { display: block; margin-bottom: 5px; font-size: 1.08rem; font-weight: 800; color: var(--ink); }
.th-citrus .st-steps li, .th-citrus .st-steps li > p { color: var(--ink-2); }
.th-citrus .st-steps li > p { font-size: .95rem; }
.th-citrus .st-section .th-prose { margin: 18px 0; padding: 20px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--surface); color: var(--ink-2); }
.th-citrus .st-section .th-prose a { color: var(--accent-ink); }
.th-citrus .st-channels { list-style: none; padding: 0; display: grid; gap: 10px; margin: 20px 0; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.th-citrus .st-channels a { display: inline-flex; gap: 10px; align-items: center; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--surface); text-decoration: none; color: var(--ink); font-weight: 600; transition: border-color .15s ease, background .15s ease, transform .15s ease; }
.th-citrus .st-channels a:hover { border-color: var(--lime-300); background: var(--lime-50); transform: translateY(-2px); }
.th-citrus .st-channels b { font-weight: 800; }
.th-citrus .st-faq { display: grid; gap: 14px; margin-top: 16px; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.th-citrus .st-faq div { padding: 20px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--sh-sm); }
.th-citrus .st-faq dt { font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.th-citrus .st-faq dd { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---- tool page ----------------------------------------------------------------------------------------------------- */
.th-citrus .st-crumbs { padding: 22px 0 0; font-size: .9rem; color: var(--muted); font-weight: 600; }
.th-citrus .st-crumbs a { color: var(--accent-ink); text-decoration: none; }
.th-citrus .st-crumbs a:hover { text-decoration: underline; text-underline-offset: 2px; }
.th-citrus .st-tool-page { display: grid; grid-template-columns: 1fr 360px; gap: 28px 44px; align-items: start; padding: 22px 0 64px; }
.th-citrus .st-tool-head { grid-column: 1; display: grid; gap: 12px; }
.th-citrus .st-tool-head h1 { font-size: clamp(1.9rem, 4.2vw, 2.8rem); line-height: 1.08; letter-spacing: -.025em; font-weight: 800; font-variation-settings: "wght" 800; color: var(--ink); }
.th-citrus .st-tool-head .st-cat { margin-bottom: 2px; }
.th-citrus .st-buy { grid-column: 2; grid-row: 1 / span 8; position: sticky; top: 84px; display: grid; gap: 12px; padding: 24px; border: 1.5px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-md); }
.th-citrus .st-buy h2 { font-size: 1.3rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.th-citrus .st-buy .st-price { font-size: 1rem; }
.th-citrus .st-note { color: var(--muted); font-size: .88rem; }
/* the plan picker: a 2×2 grid of tinted citrus cards (name, price, per-month, a radio top-right), with clear borders and
   a highlighted selection — the same scannable layout as the playful theme, in the citrus palette. */
.th-citrus .st-buy fieldset { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.th-citrus .st-buy legend { grid-column: 1 / -1; padding: 0; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.th-citrus .st-buy label { position: relative; display: grid; align-content: start; gap: 1px; padding: 11px 12px; min-height: 84px; border: 1.5px solid var(--line-2); border-radius: var(--r-md); background: var(--surface); cursor: pointer; transition: border-color .14s ease, box-shadow .14s ease, transform .14s ease; }
.th-citrus .st-buy label:hover { border-color: var(--lime-400); transform: translateY(-2px); box-shadow: var(--sh-sm); }
.th-citrus .st-buy label input[type="radio"] { position: absolute; top: 11px; right: 11px; width: 18px; height: 18px; margin: 0; accent-color: var(--lime-600); }
.th-citrus .st-buy label b { font-weight: 800; color: var(--ink); font-size: .92rem; padding-right: 20px; line-height: 1.2; white-space: nowrap; }
.th-citrus .st-buy label > span { font-weight: 800; color: var(--ink); font-size: .98rem; white-space: nowrap; }
.th-citrus .st-buy label small { color: var(--muted); font-size: .8rem; }
.th-citrus .st-buy label:nth-of-type(odd) { background: var(--lime-50); border-color: var(--lime-200); }
.th-citrus .st-buy label:nth-of-type(even) { background: var(--yellow-100); border-color: var(--yellow-300); }
.th-citrus .st-buy label.is-selected { border-color: var(--lime-600); box-shadow: 0 0 0 2px rgba(132, 204, 22, .55), var(--sh-sm); }
/* very narrow buy box (small phones): fall back to one column so the price never cramps */
@media (max-width: 400px) { .th-citrus .st-buy fieldset { grid-template-columns: 1fr; } .th-citrus .st-buy label { min-height: 0; } }
.th-citrus .st-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 6px; font-weight: 700; }
.th-citrus .st-total b { font-size: 1.6rem; font-weight: 800; font-variation-settings: "wght" 800; letter-spacing: -.02em; color: var(--ink); }
.th-citrus .st-buy > a:not(.st-btn), .th-citrus .st-buy p a { color: var(--accent-ink); text-decoration: none; font-weight: 700; }
.th-citrus .st-buy > a:not(.st-btn):hover, .th-citrus .st-buy p a:hover { text-decoration: underline; text-underline-offset: 2px; }
.th-citrus .st-buy > p:not(.st-note) { font-size: .92rem; color: var(--ink-2); }
.th-citrus .st-points { list-style: none; padding: 0; display: grid; gap: 8px; font-size: .9rem; color: var(--ink-2); }
.th-citrus .st-points li { position: relative; padding-left: 26px; }
.th-citrus .st-points li::before { content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%3E%3Cpath%20d='M20%206L9%2017l-5-5'%20stroke='%234d7c0f'%20stroke-width='3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: contain; }
.th-citrus .st-tool-page > .st-section { grid-column: 1; border-top: 1px solid var(--line); padding: clamp(36px, 5vw, 56px) 0; }
.th-citrus .st-tool-page > .st-section h2 { font-size: clamp(1.4rem, 2.8vw, 2rem); }

/* not available / offline + more tools */
.th-citrus .st-gone { padding: 56px 0; display: grid; gap: 14px; justify-items: start; }
.th-citrus .st-gone h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.1; letter-spacing: -.025em; font-weight: 800; font-variation-settings: "wght" 800; color: var(--ink); }
.th-citrus .st-gone p { color: var(--ink-2); max-width: 60ch; }
.th-citrus .st-others { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 12px; margin-top: 18px; }
.th-citrus .st-others a { display: flex; gap: 12px; align-items: center; padding: 13px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--surface); text-decoration: none; color: var(--ink); transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.th-citrus .st-others a:hover { border-color: var(--lime-300); transform: translateY(-2px); box-shadow: var(--sh-sm); }
.th-citrus .st-others b { font-weight: 800; }
.th-citrus .st-others small { color: var(--muted); }

/* phone buy bar */
.th-citrus .st-buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: none; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 18px; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1.5px solid var(--line-2); box-shadow: 0 -12px 30px -18px rgba(76, 124, 15, .5); transform: translateY(110%); }
.th-citrus .st-buybar.is-visible { transform: none; }
.th-citrus .st-buybar b { font-size: 1.1rem; font-weight: 800; color: var(--ink); }
.th-citrus .st-buybar small { color: var(--muted); }

/* ---- footer -------------------------------------------------------------------------------------------------------- */
.th-citrus .st-footer { position: relative; margin-top: 64px; background: var(--surface); border-top: 1px solid var(--line); padding: 52px 0 32px; }
.th-citrus .st-footer::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 3px; background: var(--grad); }
.th-citrus .st-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.th-citrus .st-footer-grid nav, .th-citrus .st-footer-grid > div { display: grid; gap: 8px; align-content: start; }
.th-citrus .st-footer-grid > div:first-child p { color: var(--muted); max-width: 34ch; margin-top: 4px; }
.th-citrus .st-footer-grid > div:first-child .st-brand span { font-weight: 800; color: var(--ink); }
.th-citrus .st-footer-grid h2 { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-ink); font-weight: 800; }
.th-citrus .st-footer-grid a { display: inline-flex; gap: 7px; align-items: center; text-decoration: none; color: var(--muted); font-weight: 600; }
.th-citrus .st-footer-grid a:hover { color: var(--accent-ink); }
.th-citrus .st-footer-end { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 18px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); font-weight: 600; }
.th-citrus .st-legal a:hover, .th-citrus .st-legal a[aria-current="page"] { color: var(--accent-ink); }
.th-citrus .st-legal > span { color: var(--line-2); }

/* ---- responsive ---------------------------------------------------------------------------------------------------- */
@media (max-width: 1023px) {
  .th-citrus .st-nav, .th-citrus .st-account { display: none; }
  .th-citrus .st-menu-btn { display: inline-flex; }
  .th-citrus .st-cur { margin-left: auto; }
  .th-citrus .st-cur ~ .st-menu-btn { margin-left: 0; }
  .th-citrus .st-footer-grid { grid-template-columns: 1fr 1fr; }
}
/* tablet: keep the buy box beside the content (just narrower) so it never stretches into an awkward full-width card */
@media (min-width: 768px) and (max-width: 1023px) {
  .th-citrus .st-tool-page { grid-template-columns: minmax(0, 1fr) 320px; gap: 28px 32px; }
}
/* phone / small tablet: stack to one column; the buy box goes full width (static) with the sticky bottom buy bar */
@media (max-width: 767px) {
  .th-citrus .st-tool-page { grid-template-columns: 1fr; }
  .th-citrus .st-buy { grid-column: 1; grid-row: auto; position: static; }
  .th-citrus .st-buybar { display: flex; }
}
@media (max-width: 560px) {
  .th-citrus .st-header-in { min-height: 64px; }
  .th-citrus .st-hero { padding: 44px 0 36px; }
  .th-citrus .st-hero h1 { margin-top: 16px; }
  .th-citrus .st-tool, .th-citrus .st-faq div, .th-citrus .st-steps li { padding: 20px; }
  .th-citrus .st-footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .th-citrus .st-footer-end { flex-direction: column; align-items: flex-start; }
}
