/* =============================================================
   InkSpire Digital — Storefront design system
   Modern · friendly · readable · mobile-first

   Design tokens are CSS custom properties so the entire site can
   be re-themed by changing values in :root.
   ============================================================= */

:root {
  /* ---- Colour palette (modern D2C, friendly, premium) ---- */
  --brand:        #6938EF;   /* warm violet — modern, trustworthy */
  --brand-dark:   #4F1FCE;
  --brand-soft:   #F4F0FF;   /* light tint for cards */
  --accent:       #FF8A4C;   /* warm coral — energy & CTAs */
  --accent-soft:  #FFF1E5;
  --ink:          #0F0B1E;   /* near-black for body text */
  --ink-2:        #36314A;
  --muted:        #6A6580;
  --muted-2:      #A39FB2;
  --line:         #ECE9F2;
  --bg:           #FCFBFE;   /* off-white page bg */
  --card:         #FFFFFF;
  --success:      #0F8A5F;
  --warn:         #B45309;
  --danger:       #C2410C;
  --ok-soft:      #ECFDF5;
  --warn-soft:    #FFFBEB;

  /* ---- Spacing ---- */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;

  /* ---- Radii ---- */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;

  /* ---- Shadows ---- */
  --shadow-sm: 0 1px 2px rgba(15, 11, 30, .06);
  --shadow-md: 0 4px 16px rgba(15, 11, 30, .08);
  --shadow-lg: 0 14px 40px rgba(15, 11, 30, .10);

  /* ---- Typography ---- */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Fraunces", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --fs-base: 17px;     /* generous base for all ages */
  --fs-lh:   1.6;
}

/* ===== Reset & base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; font-size: var(--fs-base); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: var(--fs-lh);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a {
  color: var(--brand);
  text-decoration: none;
  text-underline-offset: 3px;
}
a:hover { text-decoration: underline; }
button { font: inherit; }
input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2rem, 5vw, 2.75rem); font-weight: 600; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { margin: 0 0 1em; }

.muted { color: var(--muted); }
.small { font-size: .9rem; }
.tiny  { font-size: .8rem; }

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--sp-4);
}
.section { padding: var(--sp-6) 0; }
@media (min-width: 760px) { .section { padding: var(--sp-7) 0; } }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-md);
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn-outline {
  background: #fff;
  color: var(--brand);
}
.btn-outline:hover { background: var(--brand-soft); color: var(--brand-dark); }
.btn-secondary {
  background: var(--card);
  color: var(--ink);
  border-color: var(--line);
}
.btn-secondary:hover { background: var(--brand-soft); border-color: var(--brand-soft); color: var(--brand-dark); }
.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn-accent:hover { background: #E8763C; border-color: #E8763C; }
.btn-large { padding: 16px 28px; font-size: 1.0625rem; }
.btn-block { display: flex; width: 100%; }
.btn-sm { padding: 8px 14px; font-size: .875rem; }
.link-danger { background: none; border: none; color: var(--danger); cursor: pointer; padding: 0; font-size: .9rem; }
.link-danger:hover { text-decoration: underline; }

/* ===== Forms ===== */
.field { display: block; }
.field > input,
.field > textarea,
.field > select,
input[type="text"], input[type="email"], input[type="tel"],
input[type="password"], input[type="number"], input[type="search"],
input[type="datetime-local"],
textarea, select {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  font-size: 1rem;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}
.field > input, .field > textarea, .field > select { margin-top: 6px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
}
.help {
  display: block;
  margin-top: 6px;
  font-size: .85rem;
  color: var(--muted);
}

/* ===== Flash messages ===== */
.flash {
  padding: 14px 18px;
  border-radius: var(--r-md);
  margin: var(--sp-4) 0;
  font-weight: 500;
  border: 1px solid transparent;
}
.flash-success { background: var(--ok-soft);   color: var(--success); border-color: #BBF7D0; }
.flash-error   { background: #FEF2F2;          color: var(--danger);  border-color: #FECACA; }
.flash-info    { background: var(--brand-soft);color: var(--brand-dark); border-color: #E0D7FB; }

/* ===== Header ===== */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(180%) blur(8px); }
.topbar {
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  font-size: .85rem;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; gap: var(--sp-4); align-items: center; flex-wrap: wrap; }
.topbar a { color: #fff; opacity: .9; }
.topbar a:hover { opacity: 1; }

.header-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-3) var(--sp-4);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -.02em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-display); color: var(--ink); font-size: 1.15rem; font-weight: 700; }
.brand-text small  { color: var(--muted); font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; }

.searchbar {
  display: flex;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 4px 4px 16px;
  align-items: center;
}
.searchbar input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 8px 6px;
  font-size: 1rem;
}
.searchbar input:focus { outline: none; box-shadow: none; }
.searchbar button {
  border: none;
  background: var(--brand);
  color: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}

.header-actions { display: flex; align-items: center; gap: var(--sp-2); }
.icon-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  position: relative;
  color: var(--ink);
}
.icon-link:hover { background: var(--brand-soft); color: var(--brand-dark); text-decoration: none; }
.icon-link svg { width: 22px; height: 22px; }
.cart-badge {
  position: absolute; top: 4px; right: 4px;
  background: var(--accent);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  border-radius: 999px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ===== Desktop nav ===== */
.main-nav { border-top: 1px solid var(--line); background: #fff; }
.main-nav .container { display: flex; gap: var(--sp-5); padding: var(--sp-3) var(--sp-4); overflow-x: auto; }
.main-nav a {
  color: var(--ink-2);
  font-weight: 500;
  white-space: nowrap;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  text-decoration: none;
}
.main-nav a:hover { color: var(--brand); border-color: var(--brand); }

/* Hide desktop nav, searchbar collapses on mobile */
@media (max-width: 760px) {
  .header-main { grid-template-columns: auto 1fr auto; }
  .searchbar { display: none; }
  .main-nav { display: none; }
  .brand-text small { display: none; }
  .topbar { display: none; }
}

/* ===== Mobile search bar (slides under header) ===== */
.mobile-search { display: none; padding: var(--sp-3) var(--sp-4); border-top: 1px solid var(--line); background: #fff; }
@media (max-width: 760px) { .mobile-search { display: block; } .mobile-search .searchbar { display: flex; } }

/* ===== Mobile bottom navigation ===== */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  border-top: 1px solid var(--line);
  z-index: 100;
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -4px 16px rgba(15,11,30,.05);
}
.bottom-nav-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 4px;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 500;
  text-decoration: none;
  position: relative;
}
.bottom-nav a:hover { text-decoration: none; }
.bottom-nav a.is-active { color: var(--brand); }
.bottom-nav a svg { width: 24px; height: 24px; }
.bottom-nav a .pill {
  position: absolute; top: 6px; right: 22%;
  background: var(--accent); color: #fff;
  font-size: .62rem; font-weight: 700;
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
}
@media (max-width: 760px) {
  .bottom-nav { display: block; }
  body { padding-bottom: 64px; }
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--brand-soft) 0%, #fff 60%, var(--accent-soft) 100%);
  padding: var(--sp-7) 0;
  position: relative;
  overflow: hidden;
}
.hero .container { display: grid; gap: var(--sp-6); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .hero .container { grid-template-columns: 1.1fr 1fr; } }
.hero h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); margin-bottom: var(--sp-3); }
.hero .lede { font-size: 1.15rem; color: var(--ink-2); max-width: 38ch; margin-bottom: var(--sp-5); }
.hero .cta-row { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.hero-stats { display: flex; gap: var(--sp-5); margin-top: var(--sp-6); flex-wrap: wrap; }
.hero-stats div strong { font-family: var(--font-display); font-size: 1.5rem; display: block; color: var(--brand-dark); }
.hero-stats div span { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.hero-art { display: flex; align-items: center; justify-content: center; min-height: 280px; }
.hero-art .stack { position: relative; width: min(360px, 100%); aspect-ratio: 1; }
.hero-art .blob {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  border-radius: 40% 60% 70% 30% / 60% 40% 50% 50%;
  opacity: .15;
  animation: blob 12s ease-in-out infinite alternate;
}
@keyframes blob {
  0%   { border-radius: 40% 60% 70% 30% / 60% 40% 50% 50%; }
  100% { border-radius: 60% 40% 30% 70% / 40% 60% 50% 50%; }
}
.hero-art .badge-card {
  position: absolute;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: 14px 18px;
  display: flex; gap: 12px; align-items: center;
  font-size: .9rem;
  font-weight: 500;
}
.hero-art .badge-1 { top: 12%; left: 8%; }
.hero-art .badge-2 { bottom: 14%; right: 4%; }
.hero-art .badge-3 { top: 48%; right: 18%; }
.hero-art .badge-emoji { font-size: 1.6rem; }

/* ===== Category strip ===== */
.cat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--sp-3);
  margin: var(--sp-6) 0;
}
.cat-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  text-decoration: none;
  color: var(--ink);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--brand-soft); text-decoration: none; }
.cat-emoji { font-size: 1.8rem; }
.cat-tile strong { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); }
.cat-tile span { font-size: .85rem; color: var(--muted); }

/* ===== Product cards ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); } }
@media (min-width: 960px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card {
  background: var(--card);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform .15s, box-shadow .15s;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.product-card-img {
  aspect-ratio: 3 / 4;
  background: var(--brand-soft);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; }
.product-card-body { padding: var(--sp-3) var(--sp-4) var(--sp-4); display: flex; flex-direction: column; gap: 6px; }
.product-card h3 {
  font-size: 1rem;
  margin: 0;
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card a:hover { text-decoration: none; }
.product-card .price { font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.product-card .compare { color: var(--muted); text-decoration: line-through; font-weight: 400; margin-left: 6px; font-size: .9rem; }
.product-card .vendor { font-size: .8rem; color: var(--muted); }

/* ===== Sections ===== */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: var(--sp-5);
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.section-head h2 { margin: 0; }
.section-head .eyebrow { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); font-weight: 600; }
.section-head a { font-weight: 500; }

/* ===== Promo banner ===== */
.promo-banner {
  background: linear-gradient(135deg, var(--ink) 0%, #1F1736 100%);
  color: #fff;
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.promo-banner::before {
  content: ''; position: absolute; top: -40%; right: -10%; width: 60%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(255,138,76,.4), transparent);
  border-radius: 50%;
}
.promo-banner h2, .promo-banner p { color: #fff; position: relative; }
.promo-banner h2 { margin: 0; }
.promo-banner p { margin: 8px 0 16px; opacity: .9; }
@media (min-width: 720px) { .promo-banner { grid-template-columns: 1.4fr 1fr; padding: var(--sp-7); } }

/* ===== Product detail ===== */
.product-detail { display: grid; gap: var(--sp-6); grid-template-columns: 1fr; }
@media (min-width: 880px) { .product-detail { grid-template-columns: 1.1fr 1fr; } }
.product-main-image {
  aspect-ratio: 4 / 5;
  background: var(--brand-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.product-main-image img { width: 100%; height: 100%; object-fit: cover; }
.product-thumbs { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.product-thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); cursor: pointer; }
.product-info .price-row { display: flex; align-items: baseline; gap: 12px; margin: var(--sp-3) 0; }
.product-info .price-row .price { font-size: 1.75rem; font-weight: 700; color: var(--ink); }
.product-info .price-row .compare { color: var(--muted); text-decoration: line-through; font-size: 1.1rem; }
.product-info .price-row .save { background: var(--accent-soft); color: var(--accent); padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; }
.stock { padding: 4px 12px; border-radius: 999px; font-size: .85rem; font-weight: 500; display: inline-block; }
.stock.in-stock { background: var(--ok-soft); color: var(--success); }
.stock.oos      { background: #FEF2F2;       color: var(--danger);  }
.ai-summary-card {
  background: var(--brand-soft);
  border: 1px solid #E0D7FB;
  border-radius: var(--r-md);
  padding: var(--sp-4);
  margin-top: var(--sp-5);
}
.ai-summary-card h4 { color: var(--brand-dark); margin: 0 0 8px; }
.qty-input { width: 80px; padding: 12px 12px; text-align: center; }
.add-to-cart-row { display: flex; gap: 12px; margin: var(--sp-5) 0; flex-wrap: wrap; align-items: center; }
.trust-row { display: flex; gap: var(--sp-5); margin-top: var(--sp-5); flex-wrap: wrap; }
.trust-row > div { display: flex; gap: 10px; align-items: center; font-size: .9rem; color: var(--muted); }
.trust-row svg { width: 22px; height: 22px; color: var(--brand); }

/* ===== Cart & checkout ===== */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; padding: 12px 8px; font-size: .85rem; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line); }
.cart-table td { padding: var(--sp-4) 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-img img { width: 60px; height: 80px; object-fit: cover; border-radius: 6px; }
.cart-actions { display: flex; justify-content: flex-end; margin: var(--sp-4) 0; }
.cart-summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-5); max-width: 420px; margin-left: auto; margin-top: var(--sp-5); }
.cart-summary .line, .summary-totals .line { display: flex; justify-content: space-between; padding: 8px 0; }
.cart-summary .line-total, .summary-totals .line-total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; font-size: 1.15rem; }
@media (max-width: 640px) {
  .cart-table thead { display: none; }
  .cart-table tr { display: block; padding: var(--sp-3) 0; border-bottom: 1px solid var(--line); }
  .cart-table td { display: block; padding: 4px 0; border: 0; }
}

.checkout-grid { display: grid; gap: var(--sp-6); grid-template-columns: 1fr; }
@media (min-width: 900px) { .checkout-grid { grid-template-columns: 1.4fr 1fr; } }
.order-summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-5); position: sticky; top: 100px; }
.summary-line { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; padding: 10px 0; align-items: center; border-bottom: 1px solid var(--line); }
.summary-img { width: 48px; height: 60px; object-fit: cover; border-radius: 6px; }
.summary-info { display: flex; flex-direction: column; font-size: .9rem; }
.summary-totals { margin-top: var(--sp-4); }

/* ===== Confirm page ===== */
.confirm-card { background: var(--card); border-radius: var(--r-xl); padding: var(--sp-7) var(--sp-4); text-align: center; border: 1px solid var(--line); margin-bottom: var(--sp-5); }
.confirm-tick {
  display: inline-flex; width: 80px; height: 80px;
  background: var(--ok-soft); color: var(--success);
  border-radius: 999px; align-items: center; justify-content: center;
  font-size: 2.5rem; margin-bottom: var(--sp-4);
}

/* ===== Breadcrumbs ===== */
.breadcrumbs { font-size: .9rem; color: var(--muted); margin-bottom: var(--sp-4); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs span { margin: 0 8px; }

/* ===== Filter / sort bar ===== */
.toolbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--sp-3) 0; margin-bottom: var(--sp-4);
  flex-wrap: wrap; gap: var(--sp-3);
  border-bottom: 1px solid var(--line);
}

/* ===== Pagination ===== */
.pagination { display: flex; justify-content: center; gap: 8px; margin: var(--sp-6) 0; }
.pagination a, .pagination span {
  padding: 8px 14px; border-radius: 8px; border: 1px solid var(--line); color: var(--ink); text-decoration: none;
}
.pagination a:hover { background: var(--brand-soft); color: var(--brand-dark); }
.pagination .current { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ===== Footer ===== */
.site-footer {
  background: var(--ink);
  color: #C7C2DA;
  padding: var(--sp-7) 0 var(--sp-5);
  margin-top: var(--sp-7);
}
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: 1rem; margin: 0 0 var(--sp-3); }
.site-footer a { color: #C7C2DA; }
.site-footer a:hover { color: #fff; }
.footer-cols { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-cols { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }
.footer-cols ul { list-style: none; padding: 0; margin: 0; }
.footer-cols li { padding: 4px 0; }
.footer-bottom { border-top: 1px solid #2A2240; margin-top: var(--sp-5); padding-top: var(--sp-4); display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: space-between; font-size: .85rem; }
.footer-brand .brand-mark { width: 40px; height: 40px; font-size: 1rem; }
.footer-brand p { color: #A39FB2; max-width: 38ch; margin-top: var(--sp-3); }

/* ===== Misc ===== */
.empty-state { text-align: center; padding: var(--sp-7) var(--sp-4); }
.empty-state p { color: var(--muted); margin-bottom: var(--sp-4); }

details.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--sp-3) var(--sp-4); margin-bottom: 8px; }
details.faq-item summary { cursor: pointer; font-weight: 600; }
details.faq-item[open] { background: var(--brand-soft); border-color: #E0D7FB; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
