/* 91 Kitchens — theme over Bootstrap 5.3.
   Visual direction from the reference the owner chose (Dribbble, "Online
   education – Web design"): warm cream canvas, an icon rail, black as the one
   strong accent, soft pastel cards with big radii and white pill badges.

   Chart hues are mid-tone versions of the pastels — true pastels are too light
   to read as marks. The set was run through the dataviz validator on the cream
   surface: all hard gates pass; contrast is relieved by value labels and a
   data table under every chart. Pastels are used ONLY as card backgrounds. */

:root {
  --ink: #141414;
  --ink-2: #6b665e;
  --canvas: #f7f4ef;
  --panel: #ece6dc;        /* the beige side panel and rail */
  --card: #ffffff;
  --line: #e6e0d6;

  /* pastel card fills */
  --rose: #f3cfd1;
  --peach: #f6e2bf;
  --lavender: #dcd8fb;
  --mint: #cdeedd;
  --sky: #d6e6f7;

  /* chart series (validated, cream surface) */
  --s-discount: #d9707a;
  --s-fee: #7f78e0;
  --s-ads: #e0a13f;
  --s-tax: #5aa9e6;
  --s-other: #e07b5d;
  --s-kept: #3fae83;
  --s-prev: #e0a13f;
  --s-cur: #7f78e0;

  /* text-safe versions for numbers and states */
  --kept: #1f7a55;
  --leak: #b8424f;
  --mark: #e0a13f;

  --bs-body-bg: var(--canvas);
  --bs-body-color: var(--ink);
  --bs-secondary-color: var(--ink-2);
  --bs-border-color: var(--line);
  --bs-primary: #141414;
  --bs-primary-rgb: 20, 20, 20;
  --bs-link-color: #141414;
  --bs-link-color-rgb: 20, 20, 20;
  --bs-link-hover-color: #5a52c9;
  --bs-font-sans-serif: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bs-border-radius: .9rem;
  --bs-border-radius-lg: 1.25rem;
  --bs-border-radius-sm: .6rem;
}

body { font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; letter-spacing: -.005em; }
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; }
h2 { font-size: 1.35rem; }
.fw-num { font-weight: 600; letter-spacing: -.02em; }
:focus-visible { outline: 3px solid var(--s-fee) !important; outline-offset: 2px; }
.text-ink-2 { color: var(--ink-2) !important; }
.text-kept { color: var(--kept) !important; }
.text-leak { color: var(--leak) !important; }
a { text-underline-offset: 3px; }

/* ---- buttons & pills --------------------------------------------------- */
.btn { font-weight: 500; border-radius: 99px; padding-left: 1.1rem; padding-right: 1.1rem; }
.btn-ink { --bs-btn-bg: #141414; --bs-btn-color: #fff; --bs-btn-border-color: #141414;
  --bs-btn-hover-bg: #2b2b2b; --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: #2b2b2b;
  --bs-btn-active-bg: #000; --bs-btn-active-color: #fff; --bs-btn-disabled-bg: #141414; --bs-btn-disabled-color: #fff; }
.btn-soft { --bs-btn-bg: var(--panel); --bs-btn-color: var(--ink); --bs-btn-border-color: transparent;
  --bs-btn-hover-bg: #e2dbcf; --bs-btn-hover-color: var(--ink); --bs-btn-active-bg: #d9d1c3; }
.btn-white { --bs-btn-bg: #fff; --bs-btn-color: var(--ink); --bs-btn-border-color: var(--line);
  --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: #cfc7ba; --bs-btn-hover-color: var(--ink); }
.chip { display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .9rem .3rem .3rem; border-radius: 99px;
  background: var(--panel); color: var(--ink); font-size: .85rem; font-weight: 500; border: 0; white-space: nowrap; }
.chip .ico { width: 30px; height: 30px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; }
.chip.active { background: #141414; color: #fff; }
.chip.plain { padding: .35rem .95rem; border: 0; font: inherit; }
.chip.active .ico { background: #fff; color: #141414; }
.pill { display: inline-flex; align-items: center; gap: .3rem; background: #fff; border-radius: 99px;
  padding: .2rem .6rem; font-size: .75rem; font-weight: 600; white-space: nowrap; color: var(--ink); }
.ibadge { width: 36px; height: 36px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center;
  justify-content: center; font-size: 1rem; flex: none; }

/* ---- app shell --------------------------------------------------------- */
.shell { display: flex; min-height: 100vh; gap: 0; }
.rail { position: sticky; top: 0; height: 100vh; flex: none; width: 88px; padding: 18px 14px; }
.rail-inner { height: 100%; background: var(--panel); border-radius: 28px; display: flex; flex-direction: column;
  align-items: center; gap: 14px; padding: 18px 0; }
.rail .logo { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.rail a.ric { width: 46px; height: 46px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center;
  justify-content: center; color: var(--ink); font-size: 1.15rem; text-decoration: none; position: relative; }
.rail a.ric:hover { background: #fbf9f5; }
.rail a.ric.active { background: #141414; color: #fff; }
.rail a.ric .dot { position: absolute; top: 4px; right: 4px; width: 8px; height: 8px; border-radius: 50%; background: var(--s-discount); }
.rail .spacer { flex: 1; }
.rail .avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: var(--lavender);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 600; }
.shell-main { flex: 1; min-width: 0; padding: 18px 18px 18px 4px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 8px 8px 18px; flex-wrap: wrap; }
.side-panel { background: var(--panel); border-radius: 28px; padding: 18px; }

@media (max-width: 767.98px) {
  .shell { flex-direction: column; }
  .rail { position: fixed; bottom: 0; top: auto; left: 0; right: 0; height: auto; width: 100%; padding: 8px 10px; z-index: 1030; }
  .rail-inner { flex-direction: row; justify-content: space-around; padding: 8px 10px; border-radius: 22px; box-shadow: 0 -6px 20px rgba(0,0,0,.06); }
  .rail .logo, .rail .spacer { display: none; }
  .shell-main { padding: 12px 12px 96px; }
}

/* ---- public nav (landing etc.) ------------------------------------------ */
.pub-nav { padding: 18px 0; }
.brand { font-weight: 600; font-size: 1.15rem; letter-spacing: -.02em; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: .55rem; }
.brand-mark { display: inline-flex; width: 30px; height: 30px; border-radius: 10px; background: #141414; color: #fff;
  align-items: center; justify-content: center; font-weight: 700; font-size: 13px; letter-spacing: -.04em; line-height: 1; flex: none; }

/* ---- cards -------------------------------------------------------------- */
.card { border: 0; background: var(--card); border-radius: 22px; box-shadow: none; }
.card.pastel { border-radius: 22px; }
.bg-rose { background: var(--rose) !important; }
.bg-peach { background: var(--peach) !important; }
.bg-lavender { background: var(--lavender) !important; }
.bg-mint { background: var(--mint) !important; }
.bg-sky { background: var(--sky) !important; }
.bg-panel { background: var(--panel) !important; }
.card-title-sm { font-size: .8rem; color: var(--ink-2); margin-bottom: .2rem; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin: 2.25rem 0 .9rem; flex-wrap: wrap; scroll-margin-top: 20px; }
.section-title h2 { margin: 0; }
.eyebrow { font-size: .85rem; color: var(--ink-2); }

/* KPI tiles */
.kpi { border-radius: 20px; padding: 1rem 1.1rem; height: 100%; }
.kpi .value { font-size: 1.55rem; font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
.kpi .prev { font-size: .78rem; color: var(--ink-2); margin-top: .15rem; }
.delta { display: inline-flex; align-items: center; gap: .15rem; font-size: .75rem; font-weight: 600;
  padding: .15rem .5rem; border-radius: 99px; background: #fff; white-space: nowrap; }
.delta.good { color: var(--kept); }
.delta.bad { color: var(--leak); }
.delta.flat { color: var(--ink-2); }

/* report hero */
.hero-card { background: var(--card); border-radius: 28px; padding: 1.75rem; }
.month-pill { display: inline-flex; gap: .5rem; align-items: center; font-weight: 500; font-size: .85rem;
  padding: .3rem .8rem; border-radius: 99px; background: var(--canvas); }
.swatch { display: inline-block; width: 10px; height: 10px; border-radius: 3px; flex: none; }
.chips-bar { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips-bar::-webkit-scrollbar { display: none; }
.chips-bar a { text-decoration: none; }

/* charts */
.chart-box { position: relative; height: 290px; }
.chart-box.tall { height: 380px; }
.chart-box.short { height: 210px; }
.doughnut-box { position: relative; height: 270px; max-width: 270px; margin: 0 auto; }
.doughnut-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center;
  justify-content: center; pointer-events: none; text-align: center; }
.doughnut-center .big { font-weight: 600; font-size: 2.6rem; letter-spacing: -.04em; line-height: 1; }
.doughnut-center small { color: var(--ink-2); font-size: .78rem; max-width: 8.5rem; }
.legend-list { list-style: none; padding: 0; margin: 0; }
.legend-list li { display: flex; align-items: center; gap: .6rem; padding: .45rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.legend-list li:last-child { border-bottom: 0; }
.legend-list .amt { margin-left: auto; font-weight: 600; text-align: right; }
.legend-list .amt small { display: block; font-weight: 400; color: var(--ink-2); font-size: .75rem; }
.chart-legend { display: flex; gap: .9rem; flex-wrap: wrap; font-size: .82rem; color: var(--ink-2); }
.chart-legend span { display: inline-flex; align-items: center; gap: .4rem; }
details.data-table { margin-top: .75rem; font-size: .85rem; }
details.data-table summary { color: var(--ink-2); cursor: pointer; }
details.data-table table { margin-top: .5rem; }

/* ---- action cards (the "course cards") ---------------------------------- */
.act { border-radius: 22px; padding: 1rem 1.1rem 1.1rem; height: 100%; display: flex; flex-direction: column; gap: .6rem;
  cursor: pointer; border: 0; text-align: left; width: 100%; color: var(--ink); transition: transform .12s ease; }
.act:hover { transform: translateY(-2px); }
.act.ask { background: var(--peach); }
.act.fix { background: var(--rose); }
.act.check { background: var(--lavender); }
.act .top { display: flex; align-items: center; gap: .5rem; }
.act .kind { font-size: .78rem; }
.act .title { font-size: 1.12rem; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; }
.act .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-size: .78rem; }
.act.done { opacity: .5; }
.act.done .title { text-decoration: line-through; }
.status { display: inline-flex; align-items: center; gap: .25rem; font-size: .72rem; font-weight: 600; border-radius: 99px;
  padding: .2rem .55rem; background: #fff; white-space: nowrap; }
.status.new { color: #8a5a00; }
.status.worse { color: var(--leak); }
.status.better { color: var(--kept); }
.status.same { color: var(--ink-2); }
.asktext { background: var(--peach); padding: .85rem 1rem; border-radius: 14px; font-size: .92rem; }
.ev-list { list-style: none; padding: 0; margin: .75rem 0; font-size: .9rem; }
.ev-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; border-top: 1px solid var(--line); }
.ev-list li span:first-child { overflow-wrap: anywhere; }
.modal-content { border: 0; border-radius: 26px; }
.modal-header { border: 0; padding: 1.4rem 1.5rem .5rem; }
.modal-body { padding: .5rem 1.5rem 1.5rem; }

.change-list { list-style: none; padding: 0; margin: 0; }
.change-list li { display: flex; gap: .75rem; align-items: center; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.change-list li:last-child { border-bottom: 0; }
.change-list .ibadge { width: 30px; height: 30px; font-size: .9rem; }
.change-list .ibadge.good { background: var(--mint); color: var(--kept); }
.change-list .ibadge.bad { background: var(--rose); color: var(--leak); }

/* side panel: month cards */
.month-card { display: block; border-radius: 20px; padding: .9rem 1rem; text-decoration: none; color: var(--ink); margin-bottom: .6rem; position: relative; overflow: hidden; }
.month-card .fill { position: absolute; inset: 0 auto 0 0; background: rgba(255,255,255,.35); }
.month-card > * { position: relative; }
.month-card.current { box-shadow: inset 0 0 0 2px #141414; }

/* tables */
.table { --bs-table-bg: transparent; --bs-table-color: var(--ink); font-size: .92rem; }
.table thead th { color: var(--ink-2); font-weight: 500; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { border-color: var(--line); }
.table .sum td { font-weight: 600; }

/* forms */
.form-control, .form-select { border-radius: 14px; border-color: var(--line); background-color: #fff; }
.form-control:focus { border-color: var(--s-fee); box-shadow: 0 0 0 .2rem rgba(127, 120, 224, .2); }

/* upload */
.drop { position: relative; display: block; border-radius: 22px; padding: 1.3rem; transition: box-shadow .15s; height: 100%; cursor: pointer; }
.drop:hover, .drop.drag { box-shadow: inset 0 0 0 2px #141414; }
.drop.filled { box-shadow: inset 0 0 0 2px var(--kept); }
.drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop .fname { font-weight: 500; overflow-wrap: anywhere; }

/* landing */
.hero-shell { background: var(--card); border-radius: 36px; padding: clamp(1.5rem, 4vw, 3.5rem); }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 500; }
.hero .lede { font-size: 1.15rem; color: var(--ink-2); max-width: 34rem; }
.window { background: var(--canvas); border-radius: 26px; padding: 12px; box-shadow: 0 30px 60px -28px rgba(40, 30, 10, .35); }
.window-bar { display: flex; gap: 6px; padding: 4px 6px 10px; }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.invite-box { background: var(--panel); border-radius: 99px; padding: 6px; display: flex; gap: 6px; max-width: 30rem; }
.invite-box input { border: 0; background: transparent; box-shadow: none !important; padding-left: 1rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.invite-box input::placeholder { letter-spacing: 0; text-transform: none; font-weight: 400; }
/* Arrived via /#invite: a highlighter on the box, so it isn't lost in the hero.
   The ink ring carries the contrast; the amber glow is the highlighter. */
.invite-target { scroll-margin-top: 25vh; }
.invite-hint { display: none; align-items: center; gap: .4rem; margin: 0 0 .5rem; font-weight: 600; }
.invite-hint i { color: var(--mark); font-size: 1.15rem; }
#invite:target .invite-hint { display: inline-flex; }
#invite:target .invite-box { box-shadow: 0 0 0 2px var(--ink), 0 0 0 8px rgba(224, 161, 63, .45);
  animation: invite-pulse 1.1s ease-out 3; }
@keyframes invite-pulse {
  0%   { box-shadow: 0 0 0 2px var(--ink), 0 0 0 0 rgba(224, 161, 63, .75); }
  100% { box-shadow: 0 0 0 2px var(--ink), 0 0 0 16px rgba(224, 161, 63, 0); }
}
.feature { border-radius: 26px; padding: 1.6rem; height: 100%; }
.step-num { width: 44px; height: 44px; border-radius: 50%; background: #141414; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; }
.price { font-weight: 600; font-size: 3.2rem; letter-spacing: -.04em; line-height: 1; }
.accordion { --bs-accordion-bg: transparent; --bs-accordion-border-color: var(--line); --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-active-bg: transparent; --bs-accordion-active-color: var(--ink); }
.accordion-item { border-left: 0; border-right: 0; }
.accordion-button { font-weight: 500; padding-left: 0; }
.accordion-body { padding-left: 0; }

.footer { color: var(--ink-2); font-size: .88rem; }
.alert { border: 0; border-radius: 18px; }
.alert-locked { background: var(--peach); color: var(--ink); }
.alert-danger { background: var(--rose); color: var(--ink); }
.alert-primary { background: var(--lavender); color: var(--ink); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
@media print { .rail, .footer, .no-print, .side-panel { display: none !important; } .shell-main { padding: 0; } }

/* shared bits used by the smaller pages */
.feature-icon { width: 56px; height: 56px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.code-input { font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.kpi.card { background: var(--card); }

/* ======================================================================
   HOME PAGE — the product shown the way the reference shows its own: an
   app window floating on a mint backdrop, and the hero lives INSIDE it.
   ====================================================================== */
.home-nav { padding: 20px 0; }
.home-nav .links { display: flex; gap: .25rem; background: #fff; border-radius: 99px; padding: 5px; }
.home-nav .links a { padding: .45rem .95rem; border-radius: 99px; text-decoration: none; color: var(--ink); font-size: .92rem; }
.home-nav .links a:hover { background: var(--canvas); }

.stage { background: #c5ebd6; border-radius: 40px; padding: clamp(14px, 3.5vw, 56px); position: relative; overflow: hidden; }
.stage::after { content: ""; position: absolute; inset: auto -10% -45% -10%; height: 70%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,255,255,.55), transparent); }
.app-window { position: relative; z-index: 1; background: #faf8f4; border-radius: 30px; box-shadow: 0 40px 80px -30px rgba(20, 60, 40, .45); overflow: hidden; }
.app-window .chrome { display: flex; align-items: center; gap: 14px; padding: 12px 18px; }
.app-window .chrome .dots { display: flex; gap: 6px; }
.app-window .chrome .dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.app-window .chrome .url { flex: 1; max-width: 340px; margin: 0 auto; background: #efebe4; border-radius: 10px; padding: 4px 12px;
  font-size: .78rem; color: var(--ink-2); text-align: center; }
.app-body { display: grid; grid-template-columns: 72px minmax(0, 1fr) 300px; gap: 14px; padding: 0 14px 14px; }
.mini-rail { background: var(--panel); border-radius: 24px; padding: 14px 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.mini-rail .ibadge { width: 42px; height: 42px; }
.mini-rail .ibadge.on { background: #141414; color: #fff; }
.app-main { padding: 18px 10px 10px; min-width: 0; }
.app-main h1 { font-size: clamp(2.3rem, 4.6vw, 4rem); line-height: 1.02; letter-spacing: -.04em; font-weight: 500; }
.app-side { background: var(--panel); border-radius: 24px; padding: 16px; }
.finding { border-radius: 22px; padding: 1rem 1.05rem; display: flex; flex-direction: column; gap: .55rem; height: 100%; color: var(--ink); }
.finding .t { font-size: 1.08rem; line-height: 1.3; letter-spacing: -.01em; }
.finding .f { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-size: .78rem; }
@media (max-width: 1199.98px) { .app-body { grid-template-columns: 72px minmax(0, 1fr); } .app-side { display: none; } }
@media (max-width: 767.98px) { .app-body { grid-template-columns: 1fr; } .mini-rail { display: none; } .stage { border-radius: 26px; } }

.band-dark { background: #141414; color: #fff; border-radius: 36px; padding: clamp(1.75rem, 4vw, 3.5rem); }
.band-dark .text-ink-2 { color: rgba(255,255,255,.65) !important; }
.band-dark .invite-box { background: rgba(255,255,255,.1); }
.band-dark .invite-box input { color: #fff; }
.band-dark .invite-box input::placeholder { color: rgba(255,255,255,.6); }
.band-dark .btn-light { border-radius: 99px; }
.stat { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.plan { border-radius: 28px; padding: 1.75rem; height: 100%; }
.plan ul { list-style: none; padding: 0; margin: 1.25rem 0; display: grid; gap: .55rem; }
.plan li { display: flex; gap: .6rem; align-items: flex-start; }
.plan li i { margin-top: .1rem; }
.plans[data-cycle="annual"] [data-cycle-only="monthly"],
.plans[data-cycle="monthly"] [data-cycle-only="annual"] { display: none; }
.cycle-toggle { display: inline-flex; gap: 4px; padding: 4px; border-radius: 99px; background: var(--panel); }
.cycle-toggle button { border: 0; border-radius: 99px; padding: .45rem 1rem; background: transparent; color: var(--ink); font-weight: 500; }
.cycle-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--canvas); }
.cycle-toggle .save { font-size: .78em; margin-left: .3rem; opacity: .8; }

/* "where do I find the reports" steps */
.where-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.where-steps li { display: flex; gap: .75rem; align-items: flex-start; }
.where-steps .n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #141414; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 600; }
.where-steps.compact { font-size: .92rem; gap: .45rem; }
.where-steps.compact .n { width: 24px; height: 24px; font-size: .72rem; }

.stage-line { position: relative; z-index: 1; text-align: center; font-size: clamp(1.1rem, 2.2vw, 1.5rem); letter-spacing: -.02em;
  margin: -4px 0 18px; color: #134a33; }

/* policy and information pages */
.doc { max-width: 52rem; font-size: 1rem; line-height: 1.65; }
.doc h2 { font-size: 1.35rem; margin: 2.2rem 0 .8rem; scroll-margin-top: 20px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 1.05rem; font-weight: 600; margin: 1.4rem 0 .5rem; }
.doc p, .doc li { color: var(--ink); }
.doc ul, .doc ol { padding-left: 1.2rem; }
.doc li { margin-bottom: .35rem; }
.doc .box { background: var(--canvas); border-radius: 16px; padding: 1rem 1.2rem; margin: 1rem 0; }
.doc-toc a:hover { color: var(--ink) !important; }

/* site footer (Metabase-style link columns; no social links by choice) */
.site-footer { border-top: 1px solid var(--line); margin-top: 3rem; padding: 3rem 0 2rem; font-size: .92rem; }
.site-footer h4 { font-size: .78rem; font-weight: 600; color: var(--ink-2); letter-spacing: .02em; margin-bottom: .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .legalline { border-top: 1px solid var(--line); margin-top: 2.2rem; padding-top: 1.3rem; color: var(--ink-2); font-size: .82rem; }
.industry { display: inline-flex; align-items: center; gap: .35rem; background: var(--panel); border-radius: 99px; padding: .25rem .7rem; font-size: .8rem; margin: 0 .3rem .4rem 0; }

/* first-visit tour (static/tour.js) */
.tour-spot { position: fixed; z-index: 1080; border-radius: 18px; pointer-events: none;
  box-shadow: 0 0 0 9999px rgba(20, 20, 20, .55); transition: all .25s ease; }
.tour-card { position: fixed; z-index: 1081; width: min(22rem, calc(100vw - 16px)); background: #fff; color: var(--ink);
  border-radius: 20px; padding: 1.1rem 1.2rem 1rem; box-shadow: 0 18px 48px rgba(0, 0, 0, .22); }
.tour-card--sheet { left: 8px !important; right: 8px; bottom: 8px; top: auto !important; width: auto; }
.tour-count { font-size: .75rem; color: var(--ink-2); margin-bottom: .2rem; }
.tour-title { font-weight: 600; font-size: 1.05rem; margin-bottom: .35rem; }
.tour-text { font-size: .92rem; color: var(--ink-2); margin-bottom: .9rem; }
.tour-actions { display: flex; gap: .5rem; align-items: center; justify-content: flex-end; }
.tour-skip { margin-right: auto; border: 0; background: none; color: var(--ink-2); font-size: .85rem; padding: 0; text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .tour-spot { transition: none; } }
