/*
  Landing page, built to the reference layout: announcement bar, marketplace-style
  nav with search, tinted hero with floating cards, trust strip, category tiles,
  product-card grid, benefits row, colour band, multi-column footer.

  Red is the primary throughout. Category icons carry soft secondary tints, the
  way the reference does, so the grid reads as a marketplace rather than a wall
  of one colour - but every button, link and call to action stays red.

  Prefixed `l-` so nothing collides with the app styles in app.css.
*/

:root {
  --l-radius: 12px;
  --l-radius-sm: 9px;
  --l-shadow: 0 2px 4px rgba(13, 27, 42, 0.04), 0 12px 28px rgba(13, 27, 42, 0.07);
  --l-shadow-lift: 0 8px 18px rgba(13, 27, 42, 0.08), 0 26px 54px rgba(13, 27, 42, 0.12);

  --topbar-bg: #c81e42;
  --topbar-fg: #ffe8ec;

  --l-hero-a: rgba(214, 34, 70, 0.10);
  --l-hero-b: rgba(214, 34, 70, 0.03);
  --l-band-a: #d62246;
  --l-band-b: #a5173a;

  --tint-rose-bg: #fdecef;   --tint-rose-fg: #c81e42;
  --tint-amber-bg: #fdf1e0;  --tint-amber-fg: #a4660a;
  --tint-green-bg: #e6f5ee;  --tint-green-fg: #17734f;
  --tint-blue-bg: #e8f0fb;   --tint-blue-fg: #1f5aa8;
  --tint-violet-bg: #f0ecfb; --tint-violet-fg: #5b3fb0;
  --tint-teal-bg: #e3f3f4;   --tint-teal-fg: #14676e;
}

/*
  Theme-dependent colours live in tokens, never in a rule that styles a
  component inside a media query - one of those ignores an explicit theme
  choice and ends up dark-on-dark. Light is the default; dark applies only when
  the user picks it.
*/

:root[data-theme="dark"] {
  --l-shadow: 0 2px 4px rgba(0, 0, 0, 0.4), 0 12px 28px rgba(0, 0, 0, 0.45);
  --l-shadow-lift: 0 8px 18px rgba(0, 0, 0, 0.5), 0 26px 54px rgba(0, 0, 0, 0.55);
  --topbar-bg: #8f142f;      --topbar-fg: #f3ced6;
  --l-hero-a: rgba(255, 90, 114, 0.09);
  --l-hero-b: rgba(255, 90, 114, 0.02);
  --l-band-a: #b81d3c;       --l-band-b: #7d1229;
  --tint-rose-bg: #3a1620;   --tint-rose-fg: #ff8296;
  --tint-amber-bg: #372714;  --tint-amber-fg: #e0a24a;
  --tint-green-bg: #12301f;  --tint-green-fg: #59c08f;
  --tint-blue-bg: #142438;   --tint-blue-fg: #6ea6ee;
  --tint-violet-bg: #211a3a; --tint-violet-fg: #a08cec;
  --tint-teal-bg: #10292c;   --tint-teal-fg: #4fb4bb;
}

:root[data-theme="light"] {
  --l-shadow: 0 2px 4px rgba(13, 27, 42, 0.04), 0 12px 28px rgba(13, 27, 42, 0.07);
  --l-shadow-lift: 0 8px 18px rgba(13, 27, 42, 0.08), 0 26px 54px rgba(13, 27, 42, 0.12);
  --topbar-bg: #c81e42;      --topbar-fg: #ffe8ec;
  --l-hero-a: rgba(214, 34, 70, 0.10);
  --l-hero-b: rgba(214, 34, 70, 0.03);
  --l-band-a: #d62246;       --l-band-b: #a5173a;
  --tint-rose-bg: #fdecef;   --tint-rose-fg: #c81e42;
  --tint-amber-bg: #fdf1e0;  --tint-amber-fg: #a4660a;
  --tint-green-bg: #e6f5ee;  --tint-green-fg: #17734f;
  --tint-blue-bg: #e8f0fb;   --tint-blue-fg: #1f5aa8;
  --tint-violet-bg: #f0ecfb; --tint-violet-fg: #5b3fb0;
  --tint-teal-bg: #e3f3f4;   --tint-teal-fg: #14676e;
}

.l-wrap { max-width: 1200px; margin: 0 auto; padding: 0 22px; }

/*
  Headings are a bold sans here, not the app's monospace: the reference leads
  with weight, and a marketplace home page should feel approachable. Monospace
  is kept for data - counts, tags, the picklist table.
*/
.l-h2 {
  font-family: var(--sans);
  font-size: clamp(21px, 2.7vw, 29px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0;
}

/* ---------- announcement bar ---------- */

.l-topbar { background: var(--topbar-bg); color: var(--topbar-fg); font-size: 12px; }
.l-topbar__inner {
  max-width: 1200px; margin: 0 auto; padding: 8px 22px;
  display: flex; gap: 8px 20px; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
}
.l-topbar ul { list-style: none; display: flex; gap: 8px 18px; flex-wrap: wrap; margin: 0; padding: 0; }
.l-topbar li { opacity: 0.72; }
.l-topbar li:first-child { opacity: 1; font-weight: 600; }
.l-topbar a { color: inherit; text-decoration: none; opacity: 0.72; }
.l-topbar a:hover { opacity: 1; }

/* ---------- navigation ---------- */

.l-nav {
  background: var(--card);
  border-bottom: 1px solid var(--rule);
  position: sticky; top: 0; z-index: 40;
}
.l-nav__inner {
  max-width: 1200px; margin: 0 auto; padding: 12px 22px;
  display: flex; align-items: center; gap: 16px;
}

.l-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; flex: none; }
.l-brand__mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--signal); color: #fff;
  display: grid; place-items: center;
  font-family: var(--mono); font-weight: 700; font-size: 15px;
}
.l-brand b { display: block; font-size: 16px; letter-spacing: -0.02em; line-height: 1.15; }
.l-brand i { display: block; font-style: normal; font-size: 10.5px; color: var(--ink-3); }

/* Brand left, menu centred, account controls right. */
.l-navmenu {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 0;
}
.l-navmenu > a {
  font-size: 13.5px; font-weight: 500; color: var(--ink-2);
  text-decoration: none; padding: 9px 13px; border-radius: 7px;
  white-space: nowrap;
}
.l-navmenu > a:hover { color: var(--ink); background: var(--paper); }
.l-navmenu > a.is-active { color: var(--signal); font-weight: 600; }

.l-navactions { display: flex; align-items: center; gap: 8px; flex: none; }

.l-navcats { position: relative; }
.l-catsbtn {
  display: inline-flex; align-items: center; gap: 6px;
  font: inherit; font-size: 13.5px; font-weight: 500;
  padding: 9px 11px; cursor: pointer; white-space: nowrap;
  color: var(--ink-2); background: transparent;
  border: 0; border-radius: 7px;
}
.l-catsbtn:hover { color: var(--ink); background: var(--paper); }
.l-catsbtn[aria-expanded="true"] { color: var(--signal); background: var(--paper); }
.l-catsbtn.is-current { color: var(--signal); font-weight: 600; }
.l-catsbtn svg { width: 13px; height: 13px; transition: transform 140ms ease; }
.l-catsbtn[aria-expanded="true"] svg { transform: rotate(180deg); }

.l-navpanel {
  display: none; position: absolute; top: calc(100% + 12px);
  left: 50%; transform: translateX(-50%);
  width: 520px; max-width: 88vw; padding: 9px;
  background: var(--card); border: 1px solid var(--rule);
  border-radius: var(--l-radius); box-shadow: var(--l-shadow-lift);
}
.l-navpanel.is-open { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
/* Rows are <a> when the tool is ready and <span> when it is not, so both need
   the layout - styling only the anchor left every unbuilt tool unformatted. */
.l-navpanel > a,
.l-navpanel > span,
.l-navpanel__all > a {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 10px; border-radius: 7px;
  font-size: 13.5px; color: var(--ink); text-decoration: none;
}
.l-navpanel > a:hover, .l-navpanel__all > a:hover { background: var(--paper); }
.l-navpanel > span.is-soon { color: var(--ink-3); cursor: default; }
.l-navpanel > span.is-soon .l-ico { opacity: 0.5; }
.l-navpanel .l-ico { width: 26px; height: 26px; border-radius: 7px; }
.l-navpanel .l-ico svg { width: 14px; height: 14px; }
.l-navpanel small {
  margin-left: auto; flex: none; padding-left: 8px; font-family: var(--mono); font-size: 9.5px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3);
}
.l-navpanel__all {
  grid-column: 1 / -1;
  margin-top: 5px; padding-top: 10px;
  border-top: 1px solid var(--rule-2);
}
.l-navpanel__all a { font-weight: 600; color: var(--signal); }
.l-navpanel__all a:hover { background: var(--paper); }



.l-nav .btn { flex: none; text-decoration: none; padding: 10px 16px; }

@media (max-width: 880px) {
  .l-navmenu { display: none; }
  .l-nav__inner { justify-content: space-between; }
}

/* ---------- search results, shared by both search boxes ---------- */

.l-results {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 50;
  background: var(--card); border: 1px solid var(--rule);
  border-radius: var(--l-radius-sm); box-shadow: var(--l-shadow-lift);
  max-height: 320px; overflow-y: auto;
}
.l-results:empty { display: none; }
.l-results a, .l-results span {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  padding: 10px 13px; font-size: 13.5px; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--rule-2);
}
.l-results a:hover { background: var(--paper); }
.l-results span { color: var(--ink-3); }
.l-results i {
  font-style: normal; font-family: var(--mono); font-size: 9px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); flex: none;
}
.l-results a i { color: var(--ok); }

/* ---------- hero ---------- */

.l-hero {
  background:
    radial-gradient(1100px 460px at 78% 6%, var(--l-hero-a), transparent 62%),
    linear-gradient(180deg, var(--l-hero-b), transparent 58%);
  padding: 52px 0 58px;
}
.l-hero__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 22px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: 46px; align-items: center;
}
@media (max-width: 980px) { .l-hero__inner { grid-template-columns: 1fr; gap: 40px; } }

.l-pill {
  display: inline-block;
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--tint-rose-fg); background: var(--tint-rose-bg);
  border-radius: 100px; padding: 6px 13px; margin-bottom: 20px;
}

.l-hero h1 {
  font-family: var(--sans);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 0 16px;
  text-wrap: balance;
}
.l-hero h1 em { font-style: normal; color: var(--signal); }

.l-hero__lede { font-size: 16.5px; line-height: 1.55; color: var(--ink-2); margin: 0 0 24px; max-width: 44ch; }


.l-points { display: flex; gap: 12px 28px; flex-wrap: wrap; margin-bottom: 18px; }
.l-point { display: flex; align-items: center; gap: 9px; }
.l-point b { display: block; font-size: 12.5px; font-weight: 600; line-height: 1.25; }
.l-point span { font-size: 11.5px; color: var(--ink-3); }

.l-hero__trust { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--ink-2); margin: 0; }
.l-hero__trust svg { width: 15px; height: 15px; color: var(--ok); flex: none; }

/* ---------- hero artwork: three tilted cards ---------- */

.l-art { position: relative; min-height: 410px; }
@media (max-width: 980px) { .l-art { min-height: 330px; } }

.l-art__card {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--l-radius);
  box-shadow: var(--l-shadow-lift);
  padding: 13px;
  display: flex; flex-direction: column; gap: 7px;
}
.l-art__cap {
  font-family: var(--mono); font-size: 8.5px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3);
}
.l-art__sheet { width: 43%; left: 0; top: 5%; aspect-ratio: 1 / 1.33; transform: rotate(-7deg); }
.l-art__label { width: 35%; left: 33%; top: 27%; aspect-ratio: 4 / 5.5; transform: rotate(4deg); z-index: 2; }
.l-art__pick  { width: 43%; right: 0; top: 1%; aspect-ratio: 1 / 0.9; transform: rotate(6deg); }

.l-line { height: 4px; border-radius: 2px; background: var(--rule); }
.l-line--w40 { width: 40%; } .l-line--w60 { width: 60%; } .l-line--w80 { width: 80%; }
.l-line--ink { background: var(--ink-3); }

.l-bars { display: flex; gap: 1.5px; height: 24px; }
.l-bars i { flex: 1; background: var(--ink); }
.l-bars i:nth-child(3n) { opacity: 0.32; }
.l-bars i:nth-child(4n) { opacity: 0.66; }

.l-art__crop {
  border: 1px dashed var(--signal); border-radius: 5px; padding: 8px;
  display: flex; flex-direction: column; gap: 6px;
}
.l-art__drop { opacity: 0.38; display: flex; flex-direction: column; gap: 5px; padding-top: 5px; }
.l-art__meta {
  margin-top: auto; display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  border-top: 1px solid var(--rule-2); padding-top: 6px;
}
.l-art__meta span { color: var(--signal); }

.l-art__row {
  display: flex; gap: 8px; align-items: center;
  font-family: var(--mono); font-size: 8px; color: var(--ink-3);
  border-bottom: 1px solid var(--rule-2); padding-bottom: 4px;
}
.l-art__row b { color: var(--signal); font-size: 8px; }
.l-art__row u { text-decoration: none; margin-left: auto; color: var(--ink-2); }

.l-art__badge {
  position: absolute; right: 3%; bottom: 4%;
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--signal); color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--l-shadow-lift); z-index: 3;
}
.l-art__badge svg { width: 26px; height: 26px; }

/* ---------- trust strip ---------- */

.l-strip { background: var(--card); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.l-strip__inner {
  max-width: 1200px; margin: 0 auto; padding: 18px 22px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px;
}
.l-strip__item { display: flex; align-items: center; gap: 12px; }
.l-strip__item b { display: block; font-size: 13.5px; font-weight: 600; }
.l-strip__item span { font-size: 12px; color: var(--ink-3); }

/* ---------- tinted icon square ---------- */

.l-ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.l-ico svg { width: 20px; height: 20px; }
.l-point .l-ico, .l-strip__item .l-ico, .l-mini .l-ico { width: 32px; height: 32px; border-radius: 8px; }
.l-point .l-ico svg, .l-strip__item .l-ico svg, .l-mini .l-ico svg { width: 16px; height: 16px; }
.l-ico--rose   { background: var(--tint-rose-bg);   color: var(--tint-rose-fg); }
.l-ico--amber  { background: var(--tint-amber-bg);  color: var(--tint-amber-fg); }
.l-ico--green  { background: var(--tint-green-bg);  color: var(--tint-green-fg); }
.l-ico--blue   { background: var(--tint-blue-bg);   color: var(--tint-blue-fg); }
.l-ico--violet { background: var(--tint-violet-bg); color: var(--tint-violet-fg); }
.l-ico--teal   { background: var(--tint-teal-bg);   color: var(--tint-teal-fg); }

/* ---------- sections ---------- */

.l-section { padding: 54px 0 0; }

.l-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 20px;
}
.l-head p { margin: 5px 0 0; font-size: 13.5px; color: var(--ink-3); }
.l-head a { font-size: 13.5px; font-weight: 600; color: var(--signal); text-decoration: none; white-space: nowrap; }
.l-head a:hover { text-decoration: underline; }

/* ---------- category tiles ---------- */

.l-cats { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
@media (max-width: 1180px) { .l-cats { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
@media (max-width: 820px)  { .l-cats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px)  { .l-cats { grid-template-columns: repeat(2, 1fr); } }

.l-cat {
  background: var(--card); border: 1px solid var(--rule);
  border-radius: var(--l-radius); padding: 18px 10px;
  text-decoration: none; color: inherit; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}
.l-cat:hover { transform: translateY(-3px); box-shadow: var(--l-shadow); border-color: var(--signal); }
.l-cat .l-ico { width: 46px; height: 46px; border-radius: 12px; margin-bottom: 8px; }
.l-cat .l-ico svg { width: 22px; height: 22px; }
.l-cat b { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.l-cat small { font-family: var(--mono); font-size: 9.5px; color: var(--ink-3); letter-spacing: 0.02em; }

/* ---------- tool cards ---------- */

.l-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
@media (max-width: 1180px) { .l-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .l-grid { grid-template-columns: repeat(2, 1fr); } }

.l-tool {
  background: var(--card); border: 1px solid var(--rule);
  border-radius: var(--l-radius); overflow: hidden;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}
a.l-tool:hover { transform: translateY(-3px); box-shadow: var(--l-shadow); border-color: var(--signal); }

.l-tool__art {
  position: relative; aspect-ratio: 1 / 0.84;
  display: grid; place-items: center;
  border-bottom: 1px solid var(--rule-2);
}
.l-tool__art svg { width: 38px; height: 38px; }
.l-tool__tag {
  position: absolute; top: 8px; left: 8px;
  font-family: var(--mono); font-size: 8.5px;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--card); color: var(--ink-2);
  border-radius: 100px; padding: 3px 8px;
  box-shadow: 0 1px 3px rgba(13, 27, 42, 0.14);
}
.l-tool__tag--live { background: var(--signal); color: #fff; }

.l-tool__body { padding: 11px 12px 13px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.l-tool__body h3 { margin: 0; font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.l-tool__body p { margin: 0; font-size: 11.5px; color: var(--ink-3); line-height: 1.45; }
.l-tool__foot {
  margin-top: auto; padding-top: 10px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.l-tool__price { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--ink); }
.l-tool__price small { font-size: 9.5px; font-weight: 400; color: var(--ink-3); letter-spacing: 0.06em; }
.l-tool__go {
  width: 26px; height: 26px; border-radius: 7px; flex: none;
  background: var(--tint-rose-bg); color: var(--signal);
  display: grid; place-items: center;
}
.l-tool__go svg { width: 13px; height: 13px; }
.l-tool--soon .l-tool__go { background: var(--paper); color: var(--ink-3); }

/* ---------- benefits row ---------- */

.l-benefits {
  background: var(--card); border: 1px solid var(--rule);
  border-radius: var(--l-radius); padding: 26px 24px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 26px;
}
.l-benefit { display: flex; gap: 13px; }
.l-benefit b { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.l-benefit p { margin: 0 0 8px; font-size: 12.5px; color: var(--ink-3); line-height: 1.5; }
.l-benefit a { font-size: 12.5px; font-weight: 600; color: var(--signal); text-decoration: none; }
.l-benefit a:hover { text-decoration: underline; }

/* ---------- picklist explainer ---------- */

.l-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
@media (max-width: 880px) { .l-split { grid-template-columns: 1fr; gap: 26px; } }
.l-split p { color: var(--ink-2); margin: 12px 0 0; line-height: 1.6; font-size: 14.5px; }
.l-split .btn { margin-top: 20px; text-decoration: none; display: inline-block; }

.l-pick {
  background: var(--card); border: 1px solid var(--rule);
  border-radius: var(--l-radius); padding: 16px 18px;
  font-family: var(--mono); font-size: 12px; overflow-x: auto;
}
.l-pick table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.l-pick th {
  text-align: left; font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 600; padding: 0 10px 7px 0;
  border-bottom: 1px solid var(--ink-3); white-space: nowrap;
}
.l-pick td { padding: 7px 10px 7px 0; border-bottom: 1px solid var(--rule-2); white-space: nowrap; }
.l-pick tr:last-child td { border-bottom: 0; font-weight: 700; }
.l-pick .l-hi { color: var(--signal); }

/* ---------- pricing ---------- */

.l-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; align-items: start; }
.l-plan {
  background: var(--card); border: 1px solid var(--rule);
  border-radius: var(--l-radius); padding: 24px 22px 26px;
  display: flex; flex-direction: column; gap: 14px; position: relative;
}
.l-plan--pick { border-color: var(--signal); box-shadow: var(--l-shadow); }
.l-plan__tag {
  position: absolute; top: -11px; left: 22px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--signal); color: #fff; padding: 4px 10px; border-radius: 100px;
}
.l-plan h3 { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; margin: 0; color: var(--ink-2); }
.l-plan__price { font-size: 32px; font-weight: 800; letter-spacing: -0.035em; line-height: 1; margin: 0; }
.l-plan__price small { font-size: 12px; font-weight: 400; color: var(--ink-3); letter-spacing: 0; }
.l-plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.l-plan li { font-size: 13.5px; color: var(--ink-2); padding-left: 21px; position: relative; }
.l-plan li::before {
  content: ""; position: absolute; left: 2px; top: 6px;
  width: 8px; height: 4px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok);
  transform: rotate(-45deg);
}
.l-plan .btn { margin-top: auto; text-align: center; text-decoration: none; }
.l-pricenote { text-align: center; color: var(--ink-3); font-size: 12.5px; margin: 20px 0 0; }

/* ---------- colour band ---------- */

.l-band {
  background: linear-gradient(100deg, var(--l-band-a), var(--l-band-b));
  color: #fff; border-radius: var(--l-radius);
  padding: 32px 34px; margin-top: 54px;
  display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap;
}
.l-band__art { display: flex; align-items: center; gap: 18px; }
.l-band__art > svg { width: 54px; height: 54px; flex: none; opacity: 0.9; }
.l-band h2 { margin: 0 0 5px; font-size: clamp(19px, 2.3vw, 25px); font-weight: 700; letter-spacing: -0.02em; }
.l-band p { margin: 0; opacity: 0.92; font-size: 14px; max-width: 48ch; }
.l-band .btn { background: #fff; color: var(--signal); border-color: #fff; white-space: nowrap; text-decoration: none; }
.l-band .btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

.l-mini {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px; padding: 26px 0 0;
}
.l-mini div { display: flex; align-items: center; gap: 11px; }
.l-mini b { display: block; font-size: 13px; font-weight: 600; }
.l-mini span { font-size: 11.5px; color: var(--ink-3); }

/* ---------- footer ---------- */

.l-footer { border-top: 1px solid var(--rule); background: var(--card); margin-top: 54px; }
.l-footer__inner {
  max-width: 1200px; margin: 0 auto; padding: 40px 22px 28px;
  display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 30px;
}
@media (max-width: 820px) { .l-footer__inner { grid-template-columns: 1fr 1fr; } }
.l-footer h4 { font-size: 12.5px; font-weight: 700; margin: 0 0 13px; letter-spacing: -0.01em; }
.l-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.l-footer a { color: var(--ink-2); text-decoration: none; font-size: 13.5px; }
.l-footer a:hover { color: var(--signal); }
.l-footer__about p { margin: 12px 0 0; font-size: 13px; color: var(--ink-3); line-height: 1.6; max-width: 34ch; }

.l-badges { display: flex; flex-wrap: wrap; gap: 7px; }
.l-badges span {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-2); background: var(--paper);
  border: 1px solid var(--rule); border-radius: 6px; padding: 5px 9px;
}

.l-footer__legal {
  max-width: 1200px; margin: 0 auto; padding: 15px 22px 28px;
  border-top: 1px solid var(--rule-2);
  font-size: 12px; color: var(--ink-3);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .l-cat, .l-tool { transition: none; }
  .l-cat:hover, a.l-tool:hover { transform: none; }
}

/*
  Primary calls to action carry the brand colour, as in the reference. The app's
  default .btn is ink-on-paper, which is right inside a working tool but too
  quiet for a landing page where these are the things to click.
*/
.l-nav .btn,
.l-plan--pick .btn {
  background: var(--signal);
  border-color: var(--signal);
  color: #fff;
}
.l-nav .btn:hover,
.l-plan--pick .btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--card);
}

/* ---------- tools directory page ---------- */

.l-pagehead {
  background:
    radial-gradient(900px 340px at 20% 0%, var(--l-hero-a), transparent 62%),
    linear-gradient(180deg, var(--l-hero-b), transparent 70%);
  border-bottom: 1px solid var(--rule);
  padding: 26px 0 30px;
  margin-bottom: 8px;
}
.l-crumbs { font-size: 12.5px; color: var(--ink-3); margin-bottom: 12px; }
.l-crumbs a { color: var(--ink-2); text-decoration: none; }
.l-crumbs a:hover { color: var(--signal); }
.l-crumbs span { margin: 0 6px; opacity: 0.6; }
.l-crumbs b { color: var(--ink); font-weight: 600; }

.l-pagehead__title {
  font-family: var(--sans);
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 800; letter-spacing: -0.03em;
  margin: 0 0 8px;
}
.l-pagehead__lede { margin: 0 0 20px; color: var(--ink-2); font-size: 14.5px; max-width: 66ch; }

.l-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.l-filter {
  display: inline-flex; align-items: center; gap: 7px;
  font: inherit; font-size: 13.5px; font-weight: 500;
  padding: 8px 14px; cursor: pointer;
  color: var(--ink-2); background: var(--card);
  border: 1px solid var(--rule); border-radius: 100px;
}
.l-filter:hover { color: var(--ink); border-color: var(--ink-3); }
.l-filter small {
  font-family: var(--mono); font-size: 10px;
  background: var(--paper); border-radius: 100px; padding: 2px 7px; color: var(--ink-3);
}
.l-filter.is-on {
  background: var(--signal); border-color: var(--signal); color: #fff; font-weight: 600;
}
.l-filter.is-on small { background: rgba(255, 255, 255, 0.22); color: #fff; }

.l-pagesearch { max-width: 420px; }
.l-pagesearch input {
  width: 100%; font: inherit; font-size: 14px;
  padding: 11px 16px; color: var(--ink);
  background: var(--card); border: 1px solid var(--rule); border-radius: 100px;
}
.l-pagesearch input:focus { border-color: var(--signal); }

.l-count {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-3); margin: 20px 0 0;
}

.l-head__left { display: flex; align-items: center; gap: 13px; }
.l-head__count {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3);
  white-space: nowrap;
}

.l-empty {
  background: var(--card); border: 1px solid var(--rule);
  border-radius: var(--l-radius); padding: 44px 26px;
  text-align: center; margin-top: 26px;
}
.l-empty b { display: block; font-size: 16px; margin-bottom: 6px; }
.l-empty p { margin: 0 0 18px; color: var(--ink-3); font-size: 13.5px; }
.l-empty .btn { text-decoration: none; }

/* ---------- marketplace mark on a label tool card ---------- */

.l-tool__art--mark { flex-direction: column; gap: 8px; }
.l-tool__mark {
  font-family: var(--mono);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
}
/* A few bars under the letters, so the card reads as a shipping label rather
   than an abbreviation. */
.l-tool__minibars { display: flex; gap: 2px; width: 52%; height: 13px; }
.l-tool__minibars i { flex: 1; background: currentColor; opacity: 0.5; }
.l-tool__minibars i:nth-child(3n) { opacity: 0.22; }
.l-tool__minibars i:nth-child(4n) { opacity: 0.75; }

.l-hero__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.l-hero__cta .btn { padding: 13px 22px; text-decoration: none; }
.l-hero__cta .btn:first-child {
  background: var(--signal); border-color: var(--signal); color: #fff;
}
.l-hero__cta .btn:first-child:hover {
  background: var(--ink); border-color: var(--ink); color: var(--card);
}

/* ---------- sign in / sign up ---------- */

.l-auth {
  min-height: 72vh;
  display: grid;
  place-items: center;
  padding: 44px 22px 64px;
  background:
    radial-gradient(800px 320px at 50% 0%, var(--l-hero-a), transparent 64%),
    linear-gradient(180deg, var(--l-hero-b), transparent 60%);
}
.l-authcard {
  width: 100%;
  max-width: 420px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--l-radius);
  box-shadow: var(--l-shadow);
  padding: 30px 28px 26px;
}
.l-authcard h1 {
  font-family: var(--sans);
  font-size: 24px; font-weight: 800; letter-spacing: -0.03em;
  margin: 0 0 6px;
}
.l-authcard > p { margin: 0 0 20px; color: var(--ink-2); font-size: 13.5px; }

.l-notice {
  display: flex; gap: 10px;
  background: var(--tint-amber-bg);
  border-radius: var(--l-radius-sm);
  padding: 12px 14px; margin-bottom: 20px;
}
.l-notice svg { width: 17px; height: 17px; flex: none; color: var(--tint-amber-fg); margin-top: 1px; }
.l-notice b { display: block; font-size: 13px; color: var(--ink); margin-bottom: 2px; }
.l-notice span { font-size: 12.5px; color: var(--ink-2); line-height: 1.5; }
.l-notice a { color: var(--signal); font-weight: 600; }

.l-field { margin-bottom: 14px; }
.l-field label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 6px; }
.l-field input {
  width: 100%; font: inherit; font-size: 14px;
  padding: 11px 13px; color: var(--ink);
  background: var(--card); border: 1px solid var(--rule);
  border-radius: var(--l-radius-sm);
}
.l-field input:focus { border-color: var(--signal); }
.l-field input:disabled { background: var(--paper); color: var(--ink-3); cursor: not-allowed; }
.l-field small { display: block; font-size: 11.5px; color: var(--ink-3); margin-top: 5px; }

.l-authcard .btn { width: 100%; text-align: center; text-decoration: none; margin-top: 4px; }
.l-authcard .btn:not(.btn--quiet) { background: var(--signal); border-color: var(--signal); color: #fff; }
.l-authcard .btn:not(.btn--quiet):hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: var(--card); }

.l-authalt {
  margin: 18px 0 0; padding-top: 16px;
  border-top: 1px solid var(--rule-2);
  font-size: 13px; color: var(--ink-2); text-align: center;
}
.l-authalt a { color: var(--signal); font-weight: 600; text-decoration: none; }
.l-authalt a:hover { text-decoration: underline; }

.l-authback { display: block; text-align: center; margin-top: 14px; font-size: 12.5px; color: var(--ink-3); text-decoration: none; }
.l-authback:hover { color: var(--signal); }

/* nav auth controls */
.l-navauth { display: flex; align-items: center; gap: 8px; flex: none; }
.l-navauth .l-login {
  font-size: 13.5px; font-weight: 600; color: var(--ink);
  text-decoration: none; padding: 9px 14px;
  border: 1px solid var(--rule); border-radius: var(--l-radius-sm);
}
.l-navauth .l-login:hover { border-color: var(--signal); color: var(--signal); }
@media (max-width: 620px) { .l-navauth .l-login { display: none; } }

/* ---------- what the main tools do ---------- */

.l-spots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1080px) { .l-spots { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .l-spots { grid-template-columns: 1fr; } }

.l-spot {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--l-radius);
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.l-spot__head { display: flex; align-items: center; gap: 11px; }
.l-spot__head h3 { margin: 0; font-size: 15.5px; font-weight: 700; letter-spacing: -0.02em; }
.l-spot > p { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }

.l-spot ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.l-spot li {
  position: relative;
  padding-left: 19px;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.5;
}
.l-spot li::before {
  content: "";
  position: absolute;
  left: 2px; top: 6px;
  width: 7px; height: 4px;
  border-left: 2px solid var(--ok);
  border-bottom: 2px solid var(--ok);
  transform: rotate(-45deg);
}
.l-spot__cta {
  margin-top: auto;
  padding-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--signal);
  text-decoration: none;
}
.l-spot__cta:hover { text-decoration: underline; }

/* ---------- feature blocks ---------- */

.l-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: center;
  padding: 74px 0;
  border-top: 1px solid var(--rule-2);
}
.l-feature:first-child { border-top: 0; }
/* Alternating sides give the page a rhythm as it scrolls rather than four
   identical rows. */
.l-feature.is-flipped .l-feature__art { order: -1; }
@media (max-width: 940px) {
  .l-feature { grid-template-columns: 1fr; gap: 36px; padding: 52px 0; }
  .l-feature.is-flipped .l-feature__art { order: 0; }
}

.l-feature__pill {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 100px;
  padding: 6px 13px;
  margin-bottom: 18px;
}
.l-feature h2 {
  font-family: var(--sans);
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin: 0 0 14px;
  text-wrap: balance;
}
.l-feature__lede {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 24px;
  max-width: 46ch;
}
.l-feature ul { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 15px; }
.l-feature li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}
.l-feature li i {
  flex: none;
  width: 24px; height: 24px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--tint-green-bg);
  color: var(--tint-green-fg);
  display: grid;
  place-items: center;
}
.l-feature li i svg { width: 13px; height: 13px; }
.l-feature .btn { text-decoration: none; border-radius: 100px; padding: 14px 26px; }
.l-feature .btn:first-of-type {
  background: var(--signal); border-color: var(--signal); color: #fff;
}
.l-feature .btn:first-of-type:hover {
  background: var(--ink); border-color: var(--ink); color: var(--card);
}

/* ---------- the mock screenshots ---------- */

.l-mock {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 16px;
  box-shadow: var(--l-shadow-lift);
  padding: 16px;
  overflow: hidden;
}
.l-mock__bar { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.l-mock__bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--rule); }
.l-mock__bar b {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 400;
}

/* proof sheet of cropped labels */
.l-mock__sheet { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.l-mock__lab {
  aspect-ratio: 4 / 6;
  background: var(--paper);
  border: 1px solid var(--rule-2);
  border-radius: 4px;
  padding: 7px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: relative;
}
.l-mock__lab .l-bars { height: 15px; }
.l-mock__lab u {
  margin-top: auto;
  text-decoration: none;
  font-family: var(--mono);
  font-size: 7.5px;
  font-weight: 700;
  color: var(--signal);
}

/* an invoice document */
.l-mock__doc { display: flex; flex-direction: column; gap: 9px; }
.l-mock__doc .row { display: flex; gap: 8px; align-items: center; }
.l-mock__doc .row > span { height: 5px; border-radius: 2px; background: var(--rule); flex: 1; }
.l-mock__doc .row > span.w30 { flex: 0 0 30%; }
.l-mock__doc .row > span.dark { background: var(--ink-3); }
.l-mock__doc table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 9.5px; }
.l-mock__doc th {
  text-align: left; font-weight: 600; color: var(--ink-3);
  font-size: 8px; letter-spacing: 0.1em; text-transform: uppercase;
  padding-bottom: 5px; border-bottom: 1px solid var(--ink-3);
}
.l-mock__doc td { padding: 6px 0; border-bottom: 1px solid var(--rule-2); color: var(--ink-2); }
.l-mock__doc td:last-child, .l-mock__doc th:last-child { text-align: right; }
.l-mock__doc .tot { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; font-weight: 700; padding-top: 4px; }
.l-mock__doc .tot span { color: var(--signal); }

/* a sheet of barcode stickers */
.l-mock__stickers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.l-mock__sticker {
  border: 1px dashed var(--rule);
  border-radius: 3px;
  padding: 6px 5px 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}
.l-mock__sticker .l-bars { height: 20px; width: 100%; }
.l-mock__sticker em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
}

/* page thumbnails with a remove badge */
.l-mock__pages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.l-mock__page {
  position: relative;
  aspect-ratio: 1 / 1.414;
  background: var(--paper);
  border: 1px solid var(--rule-2);
  border-radius: 4px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.l-mock__page.is-out { opacity: 0.34; border-style: dashed; }
.l-mock__page b {
  position: absolute;
  top: -5px; right: -5px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--signal);
  color: #fff;
  font-size: 10px;
  font-weight: 400;
  line-height: 16px;
  text-align: center;
}
.l-mock__page.is-out b { background: var(--ok); }

/* ---------- frequently asked questions ---------- */

.l-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
@media (max-width: 860px) { .l-faq { grid-template-columns: 1fr; } }

.l-faq details {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--l-radius);
  padding: 0 18px;
}
.l-faq details[open] { border-color: var(--signal); }
.l-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 17px 0;
  font-size: 14.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.l-faq summary::-webkit-details-marker { display: none; }
.l-faq summary::after {
  content: "";
  flex: none;
  width: 9px; height: 9px;
  border-right: 2px solid var(--ink-3);
  border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg);
  transition: transform 160ms ease;
}
.l-faq details[open] summary::after { transform: rotate(-135deg); border-color: var(--signal); }
.l-faq p {
  margin: 0;
  padding: 0 0 18px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 58ch;
}
.l-faq p + p { padding-top: 10px; }
.l-faq a { color: var(--signal); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .l-faq summary::after { transition: none; }
}
