/* UniqKnow design system
   Ink is sampled from the logo background; lime is the logo's accent.
   Look: photography-led, rounded, generous space, one modern sans family. */

:root {
  --ink: #111112;
  --ink-2: #1d1d20;
  --ink-3: #2a2a2e;
  --bg: #ffffff;
  --soft: #f4f5f0;          /* soft section background */
  --soft-2: #eceee6;
  --line: #e3e5dc;
  --text: #141416;
  --graphite: #5d6066;
  --mist: #b4b6bb;
  --lime: #d3f84c;
  --lime-soft: #f1fbcf;
  --moss: #4a5a12;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --shadow: 0 1px 2px rgba(17,17,18,.06), 0 12px 32px rgba(17,17,18,.08);
  --shadow-lg: 0 30px 70px rgba(17,17,18,.18);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
section[id] { scroll-margin-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--moss); outline-offset: 3px; border-radius: 6px; }
.band-ink :focus-visible, .hero :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .page-head :focus-visible { outline-color: var(--lime); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 1.02; font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.08; letter-spacing: -0.03em; }
h3 { font-size: 1.3rem; line-height: 1.25; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.08rem, 1.4vw, 1.22rem); line-height: 1.6; color: var(--graphite); max-width: 58ch; }
.band-ink .lede { color: var(--mist); }
.small { font-size: .875rem; }
.muted { color: var(--graphite); }
.band-ink .muted { color: var(--mist); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: 1em 1.5em; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: .95rem; text-decoration: none; line-height: 1; transition: background-color .15s, color .15s, border-color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #e1ff74; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-3); }
.btn-line { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.btn-line:hover { background: rgba(255,255,255,.16); border-color: #fff; }
.btn-line.on-light { border-color: var(--text); color: var(--text); background: transparent; backdrop-filter: none; }
.btn-line.on-light:hover { background: var(--soft); }
.btn-block { width: 100%; }
.textlink { color: var(--moss); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.textlink:hover { text-decoration: underline; text-underline-offset: 4px; }
.band-ink .textlink { color: var(--lime); }

/* ---------- Header ---------- */
.site-header { background: rgba(17,17,18,.92); backdrop-filter: blur(12px); color: #fff; position: sticky; top: 0; z-index: 40; }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand .mark { height: 34px; width: auto; }
.brand-text { display: flex; flex-direction: column; gap: 6px; }
.brand .word { height: 14px; width: auto; }
.brand .payoff { font-size: .74rem; color: var(--mist); line-height: 1; font-weight: 500; letter-spacing: .02em; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { color: #e6e6e8; text-decoration: none; padding: 9px 14px; border-radius: 999px; font-size: .93rem; font-weight: 600; }
.nav a:hover { background: rgba(255,255,255,.08); }
.nav a[aria-current="page"] { color: var(--lime); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn { background: rgba(255,255,255,.08); color: #fff; border: 0; border-radius: 999px; padding: 10px 16px; font-weight: 700; font-size: .9rem; display: flex; gap: 8px; align-items: center; }
.cart-btn:hover { background: rgba(255,255,255,.16); }
.cart-count { background: var(--lime); color: var(--ink); border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: .78rem; padding: 0 6px; }
.menu-btn { display: none; background: rgba(255,255,255,.08); border: 0; color: #fff; border-radius: 999px; padding: 10px 16px; font-weight: 700; font-size: .9rem; }
@media (max-width: 920px) {
  .nav { display: none; position: absolute; top: 74px; left: 0; right: 0; background: var(--ink); flex-direction: column; padding: 8px var(--gutter) 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--ink-3); }
  .menu-btn { display: block; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 400px) { .brand .word { display: none; } }

/* ---------- Bands ---------- */
.band { padding: clamp(72px, 10vw, 128px) 0; }
.band-soft { background: var(--soft); }
.band-ink { background: var(--ink); color: #f2f2f0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head > div { max-width: 640px; }
.section-head .lede { margin: 14px 0 0; }

/* ---------- Hero (full-bleed photo) ---------- */
.hero { position: relative; color: #fff; min-height: min(92vh, 860px); display: flex; align-items: center; overflow: hidden; background: var(--ink); }
.hero-bg { position: absolute; top: 0; bottom: 0; right: 0; left: 30%; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; animation: heroZoom 18s ease-out both; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 32%, rgba(17,17,18,.75) 42%, rgba(17,17,18,.1) 66%, rgba(17,17,18,0) 100%), linear-gradient(0deg, rgba(17,17,18,.55) 0%, transparent 30%); }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-inner { position: relative; z-index: 1; width: 100%; padding-top: 80px; padding-bottom: 150px; }
.hero h1 { max-width: 12ch; }
.hero h1 .accent { color: var(--lime); }
.hero .lede { color: #d6d7da; margin: 24px 0 36px; max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-strip { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; }
.hero-strip .wrap { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px; }
.hero-strip a { display: flex; gap: 14px; align-items: center; padding: 20px 22px; background: rgba(17,17,18,.55); backdrop-filter: blur(14px); color: #fff; text-decoration: none; border-top: 1px solid rgba(255,255,255,.14); transition: background-color .2s; }
.hero-strip a:first-child { border-top-left-radius: var(--r-md); }
.hero-strip a:last-child { border-top-right-radius: var(--r-md); }
.hero-strip a:hover { background: rgba(17,17,18,.85); }
.hero-strip .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--lime); color: var(--ink); display: grid; place-items: center; flex-shrink: 0; }
.hero-strip b { display: block; font-size: .98rem; }
.hero-strip span span { color: var(--mist); font-size: .85rem; }
@media (max-width: 860px) {
  .hero { min-height: auto; flex-direction: column; align-items: stretch; }
  .hero-bg { left: 0; }
  .hero-bg img { object-position: 42% 30%; }
  .hero::after { background: linear-gradient(180deg, rgba(17,17,18,.5) 0%, rgba(17,17,18,.82) 50%, rgba(17,17,18,.97) 100%); }
  .hero-inner { padding-top: 140px; padding-bottom: 40px; }
  .hero-strip { position: relative; }
  .hero-strip .wrap { grid-template-columns: 1fr; padding: 0; }
  .hero-strip a, .hero-strip a:first-child, .hero-strip a:last-child { border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) { .hero-bg img { animation: none; } html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- About split ---------- */
.about-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.photo { position: relative; }
.photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); }
.photo-card { position: absolute; right: -20px; bottom: 32px; background: #fff; border-radius: var(--r-md); padding: 18px 20px; box-shadow: var(--shadow-lg); max-width: 260px; display: flex; gap: 14px; align-items: center; }
.photo-card .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--lime); display: grid; place-items: center; flex-shrink: 0; }
.photo-card b { display: block; font-size: .95rem; line-height: 1.3; }
.photo-card span { font-size: .82rem; color: var(--graphite); }
.about-split h2 { margin-bottom: 20px; }
.mission { margin: 28px 0; padding: 22px 24px; background: var(--soft); border-radius: var(--r-md); border-left: 5px solid var(--lime); }
.mission small { display: block; font-weight: 700; font-size: .85rem; margin-bottom: 6px; color: var(--moss); }
.mission p { margin: 0; font-size: 1.12rem; font-weight: 600; line-height: 1.45; }
.aims { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.aims li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.aims .tick { width: 36px; height: 36px; border-radius: 50%; background: var(--lime-soft); color: var(--moss); display: grid; place-items: center; }
.aims b { display: block; }
.aims span { color: var(--graphite); font-size: .95rem; }
@media (max-width: 860px) { .about-split { grid-template-columns: 1fr; } .photo img { aspect-ratio: 4 / 3; } .photo-card { right: 12px; bottom: 12px; } }

/* ---------- Guide cards ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.gcard { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 440px; border-radius: var(--r-lg); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; box-shadow: var(--shadow); }
.gcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.gcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(17,17,18,0) 25%, rgba(17,17,18,.72) 58%, rgba(17,17,18,.96) 100%); }
.gcard:hover img { transform: scale(1.05); }
.gcard-body { padding: 26px 24px 24px; }
.gcard .need { display: inline-block; font-size: .8rem; font-weight: 700; background: var(--lime); color: var(--ink); padding: 5px 11px; border-radius: 999px; margin-bottom: 14px; }
.gcard h3 { font-size: 1.45rem; margin-bottom: 8px; }
.gcard p { color: #d4d5d8; font-size: .93rem; margin: 0 0 18px; }
.gcard .go { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .92rem; }
.gcard .go i { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.14); display: grid; place-items: center; transition: background-color .2s, color .2s; font-style: normal; }
.gcard:hover .go i { background: var(--lime); color: var(--ink); }
@media (max-width: 1060px) { .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .guide-grid { grid-template-columns: 1fr; } .gcard { min-height: 340px; } }

/* ---------- Book covers ---------- */
.shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
@media (max-width: 860px) { .shelf { grid-template-columns: 1fr 1fr; } }
.book { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: #fff; border-radius: var(--r-lg); padding: 14px 14px 22px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.book:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cover { aspect-ratio: 4 / 5; border-radius: var(--r-md); position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: 24px 22px 20px 30px; display: flex; flex-direction: column; }
.cover::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--spine, var(--lime)); }
.cover::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(211,248,76,.22), transparent 70%); }
.cover .c-cat { font-size: .76rem; color: var(--mist); font-weight: 600; position: relative; z-index: 1; }
.cover .c-title { font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.15; margin-top: auto; font-weight: 800; letter-spacing: -0.02em; position: relative; }
.cover .c-foot { display: flex; justify-content: space-between; align-items: end; margin-top: 16px; font-size: .76rem; color: var(--mist); font-weight: 600; }
.cover .c-foot img { height: 22px; width: auto; }
.cover.is-light { background: var(--soft-2); color: var(--text); }
.cover.is-light::after { background: radial-gradient(circle, rgba(255,255,255,.8), transparent 70%); }
.cover.is-light .c-cat, .cover.is-light .c-foot { color: var(--graphite); }
.cover.is-lime { background: var(--lime); color: var(--ink); --spine: var(--ink); }
.cover.is-lime::after { background: radial-gradient(circle, rgba(255,255,255,.5), transparent 70%); }
.cover.is-lime .c-cat, .cover.is-lime .c-foot { color: #3a4410; }
.book-meta { padding: 18px 6px 0; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.book-meta h3 { font-size: 1.02rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.35; }
.price { font-weight: 800; white-space: nowrap; }
.price.free { color: var(--moss); background: var(--lime-soft); padding: 2px 10px; border-radius: 999px; font-size: .88rem; }
.book-desc { color: var(--graphite); font-size: .92rem; margin: 6px 6px 0; }
@media (max-width: 560px) {
  .shelf { grid-template-columns: 1fr; gap: 16px; }
  .book { display: grid; grid-template-columns: 104px minmax(0, 1fr); column-gap: 16px; padding: 12px; align-items: start; }
  .book .cover { grid-row: span 2; padding: 10px 8px 8px 14px; border-radius: 10px; }
  .book .cover::before { width: 5px; }
  .book .cover .c-title { font-size: .76rem; }
  .book .cover .c-cat, .book .cover .c-foot { font-size: .56rem; }
  .book .cover .c-foot img { height: 12px; }
  .book .book-meta { padding: 4px 0 0; flex-direction: column; gap: 6px; }
  .book .book-desc { margin: 6px 0 0; }
}

/* ---------- Founder teaser ---------- */
.founder-teaser { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.founder-teaser .photo img { aspect-ratio: 4 / 5; object-position: 50% 20%; }
.founder-teaser blockquote { margin: 0 0 24px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.35; font-weight: 600; letter-spacing: -0.02em; }
.founder-teaser blockquote::before { content: "“"; display: block; font-size: 4rem; line-height: .8; color: var(--moss); font-weight: 800; }
.band-ink .founder-teaser blockquote::before { color: var(--lime); }
.founder-name b { display: block; font-size: 1.05rem; }
.founder-name span { color: var(--graphite); font-size: .92rem; }
.founder-teaser .btn { margin-top: 28px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-top: 28px; }
.stats div { background: #fff; border-radius: var(--r-md); padding: 16px; box-shadow: var(--shadow); }
.stats b { display: block; font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; }
.stats span { color: var(--graphite); font-size: .84rem; line-height: 1.4; display: block; margin-top: 4px; }
@media (max-width: 820px) { .founder-teaser { grid-template-columns: 1fr; } .founder-teaser .photo img { aspect-ratio: 4 / 4; } .stats { grid-template-columns: 1fr; } }

/* ---------- About: founder layout ---------- */
.creds.creds-2 { grid-template-columns: repeat(2, minmax(0,1fr)); margin-top: 28px; gap: 12px; }
.creds b span { font-size: inherit; color: inherit; }
/* Photo fills the full height of the text column, so there's no gap beneath it */
.founder-split { align-items: stretch; }
.founder-split .photo img { height: 100%; aspect-ratio: auto; object-position: 50% 25%; }
@media (max-width: 860px) { .founder-split .photo img { height: auto; aspect-ratio: 4 / 5; } }
.found-head { margin-top: clamp(48px, 6vw, 72px); padding-top: 32px; border-top: 1px solid var(--line); margin-bottom: 24px; }
.found-head h3 { font-size: 1.5rem; }
.aims.foundations { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.aims.foundations li { background: var(--soft); border-radius: var(--r-md); padding: 20px; }
@media (max-width: 860px) { .aims.foundations { grid-template-columns: 1fr; } }

/* ---------- About: timeline + case cards ---------- */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 140px minmax(0,1fr); gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline time { font-weight: 800; color: var(--moss); }
.timeline b { display: block; font-size: 1.08rem; }
.timeline .org { color: var(--graphite); font-size: .93rem; display: block; margin-bottom: 6px; }
.timeline p { margin: 0; font-size: .95rem; color: #33353a; }
@media (max-width: 640px) { .timeline li { grid-template-columns: 1fr; gap: 6px; } }
.case-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.case { display: flex; flex-direction: column; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--r-lg); padding: 24px; text-decoration: none; color: #fff; transition: border-color .2s, transform .2s; }
.case:hover { border-color: var(--lime); transform: translateY(-3px); }
.case .big { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; color: var(--lime); line-height: 1.1; }
.case .small-lbl { color: var(--mist); font-size: .85rem; margin: 4px 0 18px; }
.case b { font-size: 1.02rem; margin-bottom: 6px; }
.case p { color: var(--mist); font-size: .9rem; margin: 0 0 18px; }
.case .go { margin-top: auto; font-weight: 700; font-size: .9rem; color: var(--lime); }
@media (max-width: 1000px) { .case-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .case-grid { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips a { display: inline-block; padding: 9px 15px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); text-decoration: none; font-weight: 600; font-size: .9rem; }
.chips a:hover { border-color: var(--text); }

/* ---------- About page ---------- */
.creds { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-top: 36px; }
.creds div { background: var(--soft); border-radius: var(--r-md); padding: 20px; }
.creds b { display: block; font-size: 1.15rem; }
.creds span { color: var(--graphite); font-size: .9rem; }
.prose { max-width: 68ch; }
.prose p { color: #33353a; }
@media (max-width: 820px) { .creds { grid-template-columns: 1fr; } }

/* ---------- Tools / dashboard preview ---------- */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.dash { background: var(--ink-2); color: #eee; border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-lg); border: 1px solid var(--ink-3); }
.dash-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 12px; flex-wrap: wrap; }
.dash-top strong { font-size: .95rem; }
.seg { display: inline-flex; background: var(--ink); border-radius: 999px; padding: 3px; }
.seg button { background: none; border: 0; color: var(--mist); padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700; }
.seg button[aria-pressed="true"] { background: var(--lime); color: var(--ink); }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin-bottom: 16px; }
.kpi { background: var(--ink); border-radius: 12px; padding: 12px 14px; }
.kpi span { display: block; font-size: .76rem; color: var(--mist); }
.kpi b { font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.kpi em { display: block; font-style: normal; font-size: .76rem; color: var(--lime); }
.kpi em.down { color: #ff9b85; }
.bars { display: flex; align-items: end; gap: 6px; height: 140px; border-bottom: 1px solid var(--ink-3); }
.bars i { flex: 1; background: #3a3b3f; border-radius: 6px 6px 0 0; transition: height .35s ease; }
.bars i.hot { background: var(--lime); }
.bar-labels { display: flex; gap: 6px; font-size: .7rem; color: var(--mist); margin-top: 6px; }
.bar-labels span { flex: 1; text-align: center; }
.gap-alert { margin-top: 14px; display: flex; gap: 12px; align-items: start; background: #1f2312; border-radius: 12px; padding: 12px 14px; font-size: .88rem; color: #e7f3b8; }
.gap-alert b { color: var(--lime); }

/* ---------- Creatives ---------- */
.c-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.c-item { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--r-md); padding: 22px; }
.c-item small { display: inline-block; background: var(--lime); color: var(--ink); font-weight: 700; font-size: .75rem; padding: 3px 9px; border-radius: 999px; margin-bottom: 12px; }
.c-item b { display: block; font-size: 1.05rem; margin-bottom: 6px; color: #fff; }
.c-item span { color: var(--mist); font-size: .92rem; }
@media (max-width: 860px) { .c-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--mist); padding: 72px 0 32px; font-size: .93rem; }
.foot-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; background: var(--ink-2); border-radius: var(--r-lg); padding: 32px; margin-bottom: 56px; }
.foot-cta h3 { color: #fff; font-size: 1.5rem; }
.foot-cta p { margin: 6px 0 0; }
.foot-cta form { display: flex; gap: 10px; flex-wrap: wrap; flex: 1 1 380px; max-width: 520px; }
.field { flex: 1 1 220px; padding: 15px 20px; border-radius: 999px; border: 1.5px solid var(--ink-3); background: var(--ink); color: #fff; font: inherit; }
.field::placeholder { color: #8a8b90; }
.form-msg { flex-basis: 100%; font-size: .88rem; color: var(--lime); min-height: 1.3em; margin: 2px 0 0 8px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin: 0 0 14px; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.foot-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--ink-3); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Inner page header (photo-backed) ---------- */
.page-head { position: relative; background: var(--ink); color: #fff; padding: clamp(64px, 9vw, 112px) 0 clamp(52px, 7vw, 88px); overflow: hidden; }
.page-head > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.page-head::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,17,18,.95) 0%, rgba(17,17,18,.65) 60%, rgba(17,17,18,.3) 100%); }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); max-width: 18ch; }
.page-head .lede { margin-top: 18px; color: #d0d1d4; }
.crumbs { font-size: .88rem; color: var(--graphite); margin-bottom: 16px; }
.crumbs a { color: inherit; }

/* ---------- Library ---------- */
.lib { display: grid; grid-template-columns: 250px minmax(0,1fr); gap: 44px; padding-top: 48px; padding-bottom: 104px; }
.filters h2 { font-size: .95rem; letter-spacing: 0; margin: 0 0 12px; }
.cat-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; position: sticky; top: 96px; }
.cat-list button { width: 100%; text-align: left; background: none; border: 0; padding: 10px 14px; border-radius: 12px; color: var(--text); display: flex; justify-content: space-between; gap: 8px; font-size: .93rem; font-weight: 600; }
.cat-list button:hover { background: var(--soft); }
.cat-list button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.cat-list button[aria-pressed="true"] span { color: var(--lime); }
.cat-list span { color: var(--graphite); font-variant-numeric: tabular-nums; }
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 24px; }
.search, .select { padding: 13px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--soft); font: inherit; }
.search { flex: 1 1 260px; }
.result-count { color: var(--graphite); font-size: .92rem; margin: 0 0 20px; }
.empty { padding: 48px; text-align: center; background: var(--soft); border-radius: var(--r-lg); color: var(--graphite); }
.cat-chips { display: none; }
@media (max-width: 900px) {
  .lib { grid-template-columns: 1fr; gap: 0; padding-top: 28px; }
  .filters { display: none; }
  .cat-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 16px; margin-bottom: 8px; }
  .cat-chips button { flex-shrink: 0; border: 0; background: var(--soft); border-radius: 999px; padding: 9px 15px; font-size: .88rem; font-weight: 600; }
  .cat-chips button[aria-pressed="true"] { background: var(--ink); color: #fff; }
}

/* ---------- Product ---------- */
.product { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); padding: 56px 0 96px; align-items: start; }
.product .cover { max-width: 420px; box-shadow: var(--shadow-lg); }
.product h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
.buybox { margin: 28px 0; padding: 22px 24px; background: var(--soft); border-radius: var(--r-md); display: flex; align-items: center; gap: 16px 20px; flex-wrap: wrap; }
.buybox .price { font-size: 1.8rem; }
.buybox .btn { margin-left: auto; }
.toc { list-style: none; counter-reset: ch; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.toc li { counter-increment: ch; padding: 14px 16px; background: var(--soft); border-radius: 12px; display: grid; grid-template-columns: 2.2em 1fr; font-weight: 500; }
.toc li::before { content: counter(ch); font-weight: 800; color: var(--moss); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin: 28px 0 36px; }
.facts div { border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; font-weight: 600; }
.facts span { display: block; color: var(--graphite); font-size: .8rem; font-weight: 500; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } .product .cover { max-width: 280px; } .facts { grid-template-columns: 1fr; } }

/* ---------- Pricing (tools) ---------- */
.bill-toggle { display: inline-flex; background: rgba(255,255,255,.1); border-radius: 999px; padding: 4px; margin-top: 28px; }
.bill-toggle button { background: none; border: 0; color: #d0d1d4; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: .92rem; }
.bill-toggle button[aria-pressed="true"] { background: var(--lime); color: var(--ink); }
.ptable { width: 100%; border-collapse: separate; border-spacing: 0 10px; }
.ptable th, .ptable td { text-align: left; padding: 22px 18px; vertical-align: top; background: var(--soft); }
.ptable tbody th { border-radius: var(--r-md) 0 0 var(--r-md); }
.ptable tbody td:last-child { border-radius: 0 var(--r-md) var(--r-md) 0; }
.ptable thead th { background: none; font-size: .88rem; color: var(--graphite); padding: 0 18px; }
.ptable th[scope="row"] { width: 38%; font-weight: 400; }
.ptable th[scope="row"] b { display: block; font-size: 1.08rem; margin-bottom: 4px; }
.ptable th[scope="row"] span { color: var(--graphite); font-size: .92rem; }
.tier b { display: block; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.tier span { display: block; color: var(--graphite); font-size: .88rem; margin: 4px 0 12px; }
.tier .add { background: #fff; border: 1.5px solid var(--text); border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: .85rem; }
.tier .add:hover { background: var(--text); color: #fff; }
.tier .add[aria-pressed="true"] { background: var(--ink); color: var(--lime); border-color: var(--ink); }
@media (max-width: 760px) {
  .ptable thead { display: none; }
  .ptable, .ptable tbody, .ptable tr, .ptable th, .ptable td { display: block; width: 100%; }
  .ptable tr { background: var(--soft); border-radius: var(--r-md); padding: 8px 18px; margin-bottom: 12px; }
  .ptable th, .ptable td, .ptable tbody th, .ptable tbody td:last-child { padding: 12px 0; border-radius: 0; }
  .ptable td::before { content: attr(data-label); display: block; font-size: .8rem; color: var(--graphite); font-weight: 700; margin-bottom: 2px; }
}
.bundle { position: sticky; bottom: 16px; margin-top: 24px; background: var(--ink); color: #fff; border-radius: var(--r-md); padding: 16px 16px 16px 24px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; box-shadow: var(--shadow-lg); }
.bundle b { color: var(--lime); font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.bundle .btn { margin-left: auto; }

/* ---------- Currency picker ---------- */
.cur-pick select { appearance: none; -webkit-appearance: none; font: inherit; font-size: .85rem; font-weight: 700; padding: 8px 30px 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23141416' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 12px center; color: var(--text); cursor: pointer; }
.cur-pick.on-dark select { background-color: rgba(255,255,255,.08); border-color: transparent; color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23ffffff' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); }
.cur-pick.on-dark select option { color: var(--text); }
.price-controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.price-controls .bill-toggle { margin-top: 0; }
.total-right { display: flex; align-items: center; gap: 12px; }
.basis { display: flex; gap: 14px; align-items: center; background: var(--soft); border-radius: var(--r-md); padding: 14px 16px; margin: 20px 0 0; }
.basis img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; flex-shrink: 0; }
.basis b { display: block; font-size: .85rem; color: var(--moss); }
.basis span span { font-size: .95rem; }
/* Keep the header on one line: the header currency picker hides on narrower screens
   (every price on the page still has its own picker). */
.nav a { white-space: nowrap; }
@media (max-width: 1240px) { .site-header .cur-pick { display: none; } .nav a { padding: 9px 10px; } }

/* ---------- Cart drawer ---------- */
.scrim { position: fixed; inset: 0; background: rgba(10,10,11,.5); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 60; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; z-index: 61; transform: translateX(100%); transition: transform .25s ease; display: flex; flex-direction: column; }
.cart-open .scrim { opacity: 1; pointer-events: auto; }
.cart-open .drawer { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.4rem; }
.icon-btn { background: var(--soft); border: 0; border-radius: 999px; padding: 9px 16px; font-weight: 700; font-size: .88rem; }
.drawer-items { flex: 1; overflow-y: auto; padding: 8px 24px; }
.line { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line .t { font-weight: 700; }
.line .k { color: var(--graphite); font-size: .85rem; }
.line button { background: none; border: 0; color: var(--moss); text-decoration: underline; font-size: .85rem; padding: 0; justify-self: start; }
.drawer-foot { padding: 20px 24px 28px; background: var(--soft); }
.total-row { display: flex; justify-content: space-between; font-size: 1.1rem; margin-bottom: 16px; }

/* ---------- Checkout ---------- */
.checkout { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: 40px; padding: 48px 0 96px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow); }
.panel h2 { font-size: 1.4rem; margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
label.lbl { display: grid; gap: 6px; font-size: .88rem; font-weight: 700; }
.in { padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line); font: inherit; background: var(--soft); }
.pay-opts { display: grid; gap: 10px; margin-top: 8px; }
.pay-opt { display: flex; gap: 12px; align-items: start; padding: 15px 16px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; }
.pay-opt:has(input:checked) { border-color: var(--ink); background: var(--lime-soft); }
.pay-opt b { display: block; }
.pay-opt span { color: var(--graphite); font-size: .88rem; }
.notice { background: var(--lime-soft); border-radius: 14px; padding: 14px 16px; font-size: .9rem; color: #3b4710; margin-top: 16px; }
@media (max-width: 860px) { .checkout { grid-template-columns: 1fr; } .form-grid { grid-template-columns: 1fr; } }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 160%); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: .92rem; z-index: 70; transition: transform .25s; box-shadow: var(--shadow-lg); }
.toast.show { transform: translate(-50%, 0); }
.toast b { color: var(--lime); }

/* ---------- Accounts: header link, join page, my library ---------- */
.acct-btn { color: #fff; text-decoration: none; font-weight: 700; font-size: .9rem; padding: 10px 16px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.28); white-space: nowrap; }
.acct-btn:hover { border-color: #fff; }
.acct-btn[aria-current="page"] { border-color: var(--lime); color: var(--lime); }
@media (max-width: 560px) { .acct-btn { padding: 9px 12px; font-size: .84rem; } .cart-btn { padding: 9px 12px; } }

.price.soon { font-size: .82rem; font-weight: 700; color: #7a4d00; background: #fff1d6; padding: 2px 10px; border-radius: 999px; }
.cover.has-img { padding: 0; }
.cover.has-img::before, .cover.has-img::after { display: none; }
.cover.has-img img { width: 100%; height: 100%; object-fit: cover; }

.join-band { min-height: calc(100vh - 74px); display: flex; align-items: center; }
.join-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; width: 100%; }
.join-panel { padding: clamp(24px, 4vw, 40px); }
.join-panel h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 22px 0 10px; }
.join-panel form { display: grid; gap: 14px; margin: 24px 0 16px; }
.join-panel .lbl { margin: 0; }
.seg-tabs { display: inline-flex; background: var(--soft); border-radius: 999px; padding: 4px; }
.seg-tabs button { background: none; border: 0; padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: .9rem; color: var(--graphite); }
.seg-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.form-error { color: #a3321b; font-size: .9rem; margin: 0; min-height: 1.2em; }
.sent-ico { width: 56px; height: 56px; border-radius: 16px; background: var(--lime); color: var(--ink); display: grid; place-items: center; }
#join-sent h1 { margin-top: 20px; }
.linkish { background: none; border: 0; padding: 0; color: var(--moss); text-decoration: underline; font: inherit; cursor: pointer; }
.join-aside h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.join-aside .lede { margin: 8px 0 24px; }
.mini-shelf { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.mini-book .cover { padding: 14px 12px 12px 18px; border-radius: 12px; box-shadow: var(--shadow); }
.mini-book .cover .c-title { font-size: .82rem; }
.mini-book .cover .c-cat, .mini-book .cover .c-foot { font-size: .6rem; }
.mini-book .cover .c-foot img { height: 14px; }
.mini-book b { display: block; font-size: .82rem; line-height: 1.35; margin-top: 10px; }
@media (max-width: 860px) { .join-grid { grid-template-columns: 1fr; } .join-band { min-height: 0; } }

.page-head-short { padding: clamp(44px, 6vw, 72px) 0 clamp(36px, 5vw, 56px); }
.lib-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.lib-head form { margin: 0; }
.flash-banner { background: var(--lime-soft); color: #33400c; border-radius: var(--r-md); padding: 16px 20px; font-weight: 600; margin: 0 0 28px; }
.book.owned { cursor: default; }
.book.owned:hover { transform: none; }
.owned-actions { padding: 14px 6px 0; display: grid; gap: 6px; }
.soon-btn { background: var(--soft); color: var(--graphite); cursor: default; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

.look-strip { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin-bottom: 36px; }
.look-strip img { width: 100%; aspect-ratio: 17 / 22; object-fit: cover; border-radius: 10px; box-shadow: var(--shadow); transition: transform .2s; }
.look-strip a:hover img { transform: translateY(-3px); }
@media (max-width: 560px) { .look-strip { grid-template-columns: repeat(2, minmax(0,1fr)); } }

.book.is-draft { position: relative; outline: 2px dashed #e0a800; outline-offset: 4px; }
.draft-tag { position: absolute; top: 22px; left: 22px; z-index: 2; background: #fff1d6; color: #7a4d00; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.draft-note { background: #fff1d6; color: #7a4d00; }
.pw-wrap { position: relative; display: block; }
.pw-wrap .in { width: 100%; padding-right: 70px; }
.pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; font-weight: 700; font-size: .82rem; color: var(--moss); padding: 6px 8px; }
[data-show][hidden] { display: none !important; }

/* ---------- Hallo Group ---------- */
.twin { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.twin-card { background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: flex-start; }
.twin-card.dark { background: var(--ink); color: #f2f2f0; }
.twin-card h3 { font-size: 1.8rem; margin: 12px 0 10px; }
.twin-card p { color: var(--graphite); }
.twin-card.dark p, .twin-card.dark .twin-list { color: var(--mist); }
.twin-tag { font-size: .8rem; font-weight: 700; background: var(--lime); color: var(--ink); padding: 4px 11px; border-radius: 999px; }
.twin-list { margin: 0 0 24px; padding-left: 18px; color: var(--graphite); font-size: .95rem; display: grid; gap: 4px; }
.twin-card .btn { margin-top: auto; }
@media (max-width: 760px) { .twin { grid-template-columns: 1fr; } }
.hallo-refer { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 28px 0 0; padding: 20px 22px; border-radius: var(--r-md); border: 1.5px solid var(--line); }
.hallo-refer p { margin: 4px 0 0; color: var(--graphite); font-size: .93rem; max-width: 52ch; }
.foot-base a { text-decoration: underline; }

/* ---------- Apps (UniqKnow Invoicing) ---------- */
.app-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 64px); align-items: center; background: var(--ink); color: #f2f2f0; border-radius: var(--r-lg); padding: clamp(24px, 4.5vw, 56px); box-shadow: var(--shadow-lg); }
.app-feature h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin: 14px 0 12px; }
.app-feature p { color: var(--mist); }
.app-tag { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; background: var(--lime); color: var(--ink); padding: 4px 12px; border-radius: 999px; }
.app-points { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; }
.app-points li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: #dfe0e2; font-size: .96rem; }
.app-points li::before { content: ""; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111112' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.app-points.on-light li { color: var(--text); }
.app-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.app-price b { font-size: 1.9rem; color: var(--lime); font-variant-numeric: tabular-nums; }
.app-price span { color: var(--mist); font-size: .92rem; }
.app-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
@media (max-width: 900px) { .app-feature { grid-template-columns: 1fr; } }

/* A drawn invoice, so no real client data is ever shown. */
.inv-mock { background: #fff; color: var(--text); border-radius: 16px; padding: clamp(18px, 2.4vw, 26px); box-shadow: 0 24px 60px rgba(0,0,0,.35); font-size: .82rem; transform: rotate(1.2deg); max-width: 460px; justify-self: center; width: 100%; }
.inv-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 18px; }
.inv-logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: .95rem; }
.inv-logo i { width: 26px; height: 26px; border-radius: 8px; background: var(--ink); display: inline-block; position: relative; }
.inv-logo i::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--lime); }
.inv-head h4 { margin: 0; font-size: 1.05rem; letter-spacing: .08em; text-align: right; }
.inv-head small { display: block; color: var(--graphite); text-align: right; }
.inv-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; color: var(--graphite); }
.inv-meta b { display: block; color: var(--text); }
.inv-lines { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.inv-lines th { text-align: left; font-size: .72rem; color: var(--graphite); font-weight: 700; padding: 6px 0; border-bottom: 1.5px solid var(--line); }
.inv-lines td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.inv-lines th:last-child, .inv-lines td:last-child { text-align: right; }
.inv-total { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-weight: 800; font-size: 1rem; }
.inv-status { display: inline-block; font-size: .7rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: var(--lime-soft); color: var(--moss); }
.inv-status.late { background: #ffe5df; color: #a23a1f; }

.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feat { background: #fff; border-radius: var(--r-md); padding: 22px; box-shadow: var(--shadow); }
.feat .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: var(--lime); display: grid; place-items: center; margin-bottom: 14px; }
.feat .ico svg { width: 20px; height: 20px; }
.feat h3 { font-size: 1.08rem; margin: 0 0 6px; }
.feat p { color: var(--graphite); font-size: .93rem; margin: 0; }
@media (max-width: 900px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feat-grid { grid-template-columns: 1fr; } }

.plan { background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow); }
.plan .app-price b { color: var(--text); font-size: 2.6rem; }
.plan .app-price span { color: var(--graphite); }
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dl { background: var(--soft); border-radius: var(--r-md); padding: 22px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.dl h3 { margin: 0; font-size: 1.2rem; }
.dl p { margin: 0 0 12px; color: var(--graphite); font-size: .92rem; }
.dl .btn { margin-top: auto; }
@media (max-width: 640px) { .dl-grid { grid-template-columns: 1fr; } }
.first-launch { margin-top: 16px; background: #fff1d6; color: #5c3a00; border-radius: var(--r-md); padding: 16px 20px; font-size: .92rem; }
.first-launch b { color: #3d2600; }
.first-launch ul { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--soft); border-radius: var(--r-md); padding: 16px 20px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: 10px 0 0; color: var(--graphite); }

/* Small phones: keep the header buttons inside the screen. */
@media (max-width: 440px) {
  .brand .payoff { display: none; }
  .header-actions { gap: 6px; }
  .acct-btn, .cart-btn, .menu-btn { padding: 8px 11px; font-size: .82rem; }
}
.app-title { display: flex; align-items: center; gap: 14px; }
.app-title h2 { margin: 14px 0 12px; }
.app-icon { width: 72px; height: 72px; flex: none; filter: drop-shadow(0 6px 14px rgba(0,0,0,.35)); }
@media (max-width: 560px) { .app-icon { width: 56px; height: 56px; } }

/* ---------- Legal and contact pages ---------- */
.legal { max-width: calc(74ch + 2 * var(--gutter)); margin-left: auto; margin-right: auto; padding-top: 56px; padding-bottom: 96px; }
.legal h2 { font-size: 1.45rem; margin: 40px 0 12px; }
.legal h3 { font-size: 1.08rem; margin: 24px 0 8px; }
.legal p, .legal li { color: #33353a; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
.legal .updated { color: var(--graphite); font-size: .92rem; }
.legal .summary { background: var(--soft); border-radius: var(--r-md); padding: 18px 22px; margin: 24px 0 8px; }
.legal .summary ul { margin: 8px 0 0; }
.legal a { color: var(--moss); font-weight: 600; }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 56px 0 24px; }
.contact-card { background: var(--soft); border-radius: var(--r-md); padding: 24px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.contact-card h2 { font-size: 1.2rem; margin: 0; }
.contact-card p { color: var(--graphite); margin: 0 0 8px; font-size: .95rem; }
.contact-card .btn { margin-top: auto; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.soon-tag { display: inline-block; vertical-align: middle; background: #fff1d6; color: #7a4d00; font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin-left: 6px; }
span.soon-tag { margin-left: 0; }
.bundle[hidden] { display: none; }
