/* ============================================================
   LittleInks 2026 visual refresh
   Kids pages are picture-led and playful. Grown-up pages are
   quieter, clearer and more conventional.
   ============================================================ */

:root {
  --ink: #32262f;
  --ink-soft: #70636c;
  --paper: #fffaf6;
  --paper-2: #fff2e8;
  --card: #ffffff;
  --brand: #ff6268;
  --brand-deep: #dc4650;
  --brand-soft: #ff9292;
  --sun: #ffd66b;
  --sun-deep: #e9ad34;
  --pink: #ff7f8d;
  --coral: #ff6268;
  --peach: #ffad83;
  --tangerine: #f7a35c;
  --gold: #f4cb62;
  --sage: #69bd96;
  --sky: #6fbdec;
  --plum: #7654a3;
  --blush: #ffe4e7;
  --cream: #fff3e6;
  --family: #7654a3;
  --family-deep: #5e3d8e;
  --premium: #7654a3;
  --premium-deep: #5e3d8e;
  --mint-soft: #eaf8f1;
  --sky-soft: #edf7ff;
  --butter-soft: #fff7d9;
  --lilac-soft: #f4efff;
  --rose-soft: #fff0f1;
  --line: rgba(50, 38, 47, 0.10);
  --shadow: 0 8px 24px rgba(50, 38, 47, 0.07);
  --shadow-lg: 0 16px 38px rgba(50, 38, 47, 0.11);
  --radius: 24px;
}

body {
  color: var(--ink);
  background:
    radial-gradient(600px 360px at 0% 0%, rgba(111, 189, 236, 0.09), transparent 62%),
    radial-gradient(600px 360px at 100% 0%, rgba(105, 189, 150, 0.08), transparent 62%),
    #fffaf6;
}

a {
  text-underline-offset: 3px;
}

.topbar {
  min-height: 68px;
  padding: 10px clamp(14px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(255, 98, 104, 0.14);
  box-shadow: 0 4px 16px rgba(220, 70, 80, 0.06);
  overflow: visible;
}

.brand-logo {
  height: 46px;
  max-width: min(230px, calc(100vw - 140px));
}

.nav {
  gap: 2px 4px;
}

.nav-kid {
  color: #4a3532;
}

.nav-kid:hover,
.nav-kid.is-current,
.nav-kid[aria-current="page"] {
  color: var(--brand-deep);
  background: var(--rose-soft);
}

.grownup-toggle {
  color: var(--brand-deep);
  border-color: rgba(255, 98, 104, 0.36);
}

.grownup-toggle:hover,
.grownup-menu.is-open .grownup-toggle {
  background: var(--rose-soft);
  border-color: var(--brand);
  color: var(--brand-deep);
}

.grownup-panel {
  border-color: rgba(255, 98, 104, 0.16);
  box-shadow: 0 12px 28px rgba(220, 70, 80, 0.12);
}

@media (max-width: 1024px) {
  .topbar {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }

  .grownup-toggle {
    background: var(--brand);
    border-color: var(--brand-deep);
    color: #fff;
    box-shadow: 0 4px 12px rgba(220, 70, 80, 0.24);
  }

  .grownup-toggle:hover,
  .grownup-menu.is-open .grownup-toggle {
    background: var(--brand-deep);
    border-color: var(--brand-deep);
    color: #fff;
  }

  .nav-kid {
    background: #fff;
    border-color: rgba(255, 98, 104, 0.18);
  }

  .nav-kid.is-current,
  .nav-kid[aria-current="page"] {
    background: var(--rose-soft);
    border-color: rgba(255, 98, 104, 0.4);
  }
}

.nav-upgrade {
  background: var(--brand) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.nav-upgrade:hover {
  background: var(--brand-deep) !important;
}

.nav-upgrade.is-on {
  background: var(--rose-soft) !important;
  color: var(--brand-deep) !important;
  box-shadow: inset 0 0 0 2px rgba(255, 98, 104, 0.22) !important;
}

.btn {
  box-shadow: none;
  border: 2px solid transparent;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 7px 16px rgba(220, 70, 80, 0.18);
}

.btn-primary:hover {
  background: var(--brand-deep);
}

.btn-ghost {
  background: #fff;
  border-color: rgba(50, 38, 47, 0.12);
  box-shadow: none;
}

.btn-ghost:hover {
  border-color: rgba(255, 98, 104, 0.34);
  background: #fff9f7;
}

.btn-big {
  min-height: 54px;
  padding-inline: 26px;
  font-size: 1.03rem;
}

.btn-wide {
  width: 100%;
}

.kicker {
  color: var(--brand-deep);
  background: var(--rose-soft);
  letter-spacing: 0.11em;
}

h1,
h2,
h3 {
  color: var(--ink);
}

/* Home hero */

.page-landing .hero {
  padding: clamp(42px, 7vw, 82px) 20px;
  color: var(--ink);
  background:
    radial-gradient(520px 300px at 8% 10%, rgba(255, 214, 107, 0.30), transparent 65%),
    radial-gradient(520px 340px at 95% 15%, rgba(111, 189, 236, 0.22), transparent 67%),
    linear-gradient(135deg, #fff5ed 0%, #fffaf6 45%, #edf9f4 100%);
}

.page-landing .hero-inner {
  max-width: 1180px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
  align-items: center;
  gap: clamp(30px, 6vw, 76px);
  text-align: left;
}

.page-landing .hero h1 {
  color: var(--ink);
  max-width: 720px;
  font-size: clamp(2.7rem, 5.8vw, 5.2rem);
  line-height: 0.98;
  margin-top: 14px;
}

.page-landing .hero .lede {
  color: var(--ink-soft);
  margin-inline: 0;
  font-size: clamp(1.07rem, 1.7vw, 1.3rem);
  max-width: 640px;
}

.page-landing .hero .hero-actions {
  justify-content: flex-start;
  margin-top: 28px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-art {
  position: relative;
  inset: auto;
  opacity: 1;
  min-height: 390px;
  display: grid;
  place-items: center;
}

.hero-art-card {
  position: relative;
  z-index: 2;
  width: min(440px, 88vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(50, 38, 47, 0.08);
  border-radius: 36px;
  box-shadow: 0 24px 54px rgba(50, 38, 47, 0.10);
  transform: rotate(2deg);
  overflow: hidden;
}

.hero-art-card img,
.hero-art img {
  position: static;
  transform: none;
  opacity: 1;
  width: 96%;
  height: 96%;
  object-fit: contain;
}

.hero-splat {
  position: absolute;
  border-radius: 50% 45% 55% 42%;
  z-index: 1;
}

.hero-splat-one {
  width: 112px;
  height: 112px;
  background: var(--sun);
  left: 1%;
  top: 8%;
  transform: rotate(18deg);
}

.hero-splat-two {
  width: 88px;
  height: 88px;
  background: #8ed8bb;
  right: 0;
  bottom: 10%;
  transform: rotate(-15deg);
}

.hero-splat-three {
  width: 54px;
  height: 54px;
  background: #a8d9f6;
  right: 6%;
  top: 5%;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.hero-trust span {
  position: relative;
  padding: 7px 11px 7px 28px;
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(50,38,47,0.08);
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 800;
}

.hero-trust span::before {
  content: "✓";
  position: absolute;
  left: 10px;
  color: #3b9771;
  font-weight: 900;
}

.continue-strip {
  background: #fff;
  border-bottom: 1px solid rgba(50,38,47,0.08);
}

.continue-inner > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.continue-inner > div span {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* Browse and categories */

.browse-block {
  padding: 54px 16px 34px;
  margin-bottom: 16px;
}

.section-title {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-title-centred {
  text-align: center;
  margin-inline: auto;
}

.section-title h2 {
  margin: 10px 0 6px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-title p:last-child {
  margin: 0;
  color: var(--ink-soft);
}

.category-chips {
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  max-width: 1020px;
  gap: 24px 14px;
  margin-top: 0;
}

.lane-chip {
  padding: 10px 6px;
  border-radius: 22px;
}

.lane-chip-disc {
  width: 112px;
  height: 112px;
  box-shadow: none;
  border: 1px solid rgba(50,38,47,0.07);
  background: var(--butter-soft);
}

.lane-chip:nth-child(4n + 2) .lane-chip-disc { background: var(--sky-soft); }
.lane-chip:nth-child(4n + 3) .lane-chip-disc { background: var(--mint-soft); }
.lane-chip:nth-child(4n) .lane-chip-disc { background: var(--lilac-soft); }

.lane-chip:hover .lane-chip-disc {
  transform: translateY(-4px) rotate(-2deg);
  box-shadow: 0 12px 24px rgba(50,38,47,0.08);
}

.lane-chip-label {
  font-size: 1.08rem;
}

.lane-chip-count {
  color: #897b84;
}

.browse-more {
  margin-top: 22px;
}

.browse-more a {
  color: var(--brand-deep);
}

.promise-row {
  gap: 12px;
  margin: 12px 0 54px;
}

.promise {
  min-height: 152px;
  border: 1px solid rgba(50,38,47,0.07);
  box-shadow: none;
  padding: 20px;
}

.promise:nth-child(1) { background: var(--rose-soft); }
.promise:nth-child(2) { background: var(--mint-soft); }
.promise:nth-child(3) { background: var(--sky-soft); }
.promise:nth-child(4) { background: var(--butter-soft); }

.promise-dot {
  width: 11px;
  height: 11px;
  box-shadow: none;
}

.promise h2 {
  font-size: 1.22rem;
}

.section-head {
  align-items: end;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-head > div h2 {
  margin: 7px 0 0;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
}

.section-head > p {
  max-width: 480px;
}

/* Colouring cards */

.page-grid {
  gap: 24px 18px;
}

.page-card,
.page-card-kids,
.page-card-education,
.page-card-saved {
  border: 1px solid rgba(50, 38, 47, 0.08);
  box-shadow: 0 5px 18px rgba(50, 38, 47, 0.055);
  border-radius: 24px;
  overflow: hidden;
}

.page-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 13px 28px rgba(50, 38, 47, 0.09);
}

.page-card.is-locked::before,
.page-card.is-locked::after {
  display: none;
}

.page-thumb {
  margin: 10px 10px 0;
  border: 0;
  background: #fffdf9;
  border-radius: 18px;
}

.page-card-body {
  padding-top: 2px;
}

.page-card h3 {
  font-size: 1.12rem;
  margin-top: 12px;
}

.page-card .tags {
  color: #8c7e86;
}

.page-card .btn-small,
.page-card .btn-colour {
  border-radius: 0;
  border-top: 1px solid rgba(50,38,47,0.06);
  min-height: 48px;
}

.page-card .btn-small:not(.btn-locked),
.page-card .btn-colour:not(.btn-locked) {
  background: #fff8f5;
  color: var(--brand-deep);
}

.page-card .btn-small:not(.btn-locked):hover,
.page-card .btn-colour:not(.btn-locked):hover {
  background: var(--rose-soft);
}

.btn-locked,
.page-card .btn-locked {
  background: var(--lilac-soft);
  color: var(--family-deep);
}

.badge {
  top: 8px;
  left: 8px;
  box-shadow: none;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.76rem;
}

.badge-free {
  background: var(--butter-soft);
  color: #795b1d;
  border: 1px solid #ecd37e;
}

.badge-family {
  background: var(--lilac-soft);
  color: var(--family-deep);
  border: 1px solid #d9c9f5;
}

.badge-own {
  background: var(--mint-soft);
  color: #2f765b;
}

/* Browse headers */

.lane-head {
  padding: 46px 0 28px;
}

.lane-head h1 {
  max-width: 820px;
}

.lane-head .lede {
  max-width: 720px;
}

.lane-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 20px 0 0;
}

.lane-shortcuts a {
  color: var(--brand-deep);
  font-weight: 800;
}

.category-hero {
  max-width: 740px;
}

.category-section {
  margin-bottom: 54px;
}

.category-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
  gap: 14px;
}

.category-card {
  display: grid;
  grid-template-columns: 92px minmax(0,1fr);
  align-items: center;
  min-height: 132px;
  padding: 18px;
  border: 1px solid rgba(50,38,47,0.07);
  box-shadow: none;
  background: var(--butter-soft);
}

.category-card:nth-child(4n + 2) { background: var(--sky-soft); }
.category-card:nth-child(4n + 3) { background: var(--mint-soft); }
.category-card:nth-child(4n) { background: var(--rose-soft); }
.category-card-edu { background: var(--lilac-soft); }

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(50,38,47,0.07);
}

.category-icon {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: rgba(255,255,255,0.72);
}

.category-icon picture { display: contents; }
.category-icon img {
  width: 68px;
  height: 68px;
}

.category-card-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.category-card-copy strong {
  font-family: var(--display);
  font-size: 1.2rem;
}

.category-card-copy span {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.category-card-copy small {
  margin-top: 3px;
  color: #887a82;
  font-weight: 800;
}

.category-title-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.category-title-row h1 {
  margin: 5px 0 0;
}

.category-heading-bubble {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: var(--butter-soft);
  border-radius: 28px;
  transform: rotate(-3deg);
}

.category-heading-bubble picture { display: contents; }
.category-heading-bubble .category-heading-icon {
  width: 72px;
  height: 72px;
  margin: 0;
}

/* Premium */

.page-upgrade main {
  max-width: 1120px;
}

.page-upgrade .upgrade-wide {
  max-width: 1000px;
  margin-inline: auto;
  background: transparent;
  padding-inline: 0;
  box-shadow: none;
}

.premium-head {
  max-width: 760px;
}

.premium-head h1 {
  margin-top: 10px;
}

.premium-story {
  gap: 14px;
  margin: 34px 0;
}

.premium-story article {
  border: 0;
  min-height: 200px;
  padding: 24px;
  box-shadow: none;
}

.premium-story-more { background: var(--butter-soft) !important; }
.premium-story-create { background: var(--sky-soft) !important; }
.premium-story-keep { background: var(--mint-soft) !important; }

.premium-story-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  margin-bottom: 20px;
  background: rgba(255,255,255,0.8);
  font-size: 1.2rem;
  color: var(--brand-deep);
}

.premium-story h2 {
  font-size: 1.34rem;
}

.compare-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.plan-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(50,38,47,0.08);
  box-shadow: none;
  padding: 28px;
}

.plan-card-premium {
  background: linear-gradient(145deg, #fff6ea, #fff);
  border: 2px solid rgba(220, 70, 80, 0.22);
  box-shadow: 0 14px 30px rgba(220, 70, 80, 0.08);
}

.plan-card-schools {
  background: linear-gradient(145deg, #eef8f3, #fff);
  border: 1px solid rgba(34, 140, 110, 0.18);
}

.plan-card-cta {
  margin-top: auto;
  align-self: flex-start;
}

.plan-label,
.settings-label,
.auth-step {
  margin: 0 0 6px;
  color: var(--brand-deep);
  font-size: 0.75rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 900;
}

.plan-card h2 {
  font-size: 1.35rem;
}

.plan-price {
  font-size: 1.65rem;
}

.plan-price-alt {
  display: block;
  margin-top: 6px;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--ink-soft);
}

.plan-card li {
  margin-bottom: 10px;
}

.premium-actions,
.settings-actions,
.form-actions,
.saved-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.premium-buy-box {
  margin: 28px 0 20px;
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(50,38,47,0.08);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.premium-buy-box h2 {
  margin-top: 0;
}

.plan-picker {
  border: 0;
  margin: 4px 0 18px;
  padding: 0;
  min-width: 0;
}

.plan-picker-legend {
  float: none;
  width: 100%;
  margin: 0 0 10px;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--ink);
}

.plan-picker .plan-option + .plan-option {
  margin-top: 10px;
}

.plan-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 14px 16px;
  border: 2px solid rgba(220, 70, 80, 0.18);
  border-radius: 18px;
  background: #fff8f5;
  cursor: pointer;
}

.plan-option:hover {
  border-color: rgba(220, 70, 80, 0.38);
}

.plan-option:has(input:checked) {
  border-color: var(--brand);
  background: #fff0ee;
  box-shadow: 0 0 0 1px var(--brand);
}

.plan-option input {
  margin-top: 5px;
  accent-color: var(--brand-deep);
  flex-shrink: 0;
}

.plan-option-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.plan-option-copy strong {
  font-size: 1.05rem;
  color: var(--ink);
}

.plan-option-copy span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.staff-note,
.staff-demo {
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.compare-details {
  margin-top: 26px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.compare-details summary {
  cursor: pointer;
  font-weight: 900;
  color: var(--ink);
  padding: 8px 0;
}

/* Proper auth pages */

.page-auth main {
  max-width: 1180px;
  padding-block: 44px 74px;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(400px, 0.78fr);
  max-width: 1040px;
  margin: 0 auto;
  border-radius: 34px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(50,38,47,0.08);
  box-shadow: 0 22px 55px rgba(50,38,47,0.09);
}

.auth-welcome {
  min-height: 650px;
  padding: clamp(34px, 5vw, 58px);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(260px 220px at 100% 0%, rgba(111,189,236,.35), transparent 70%),
    radial-gradient(280px 260px at 0% 100%, rgba(255,214,107,.38), transparent 70%),
    linear-gradient(145deg, #fff1ea, #eff9f4);
}

.auth-welcome-copy {
  position: relative;
  z-index: 2;
  max-width: 500px;
}

.auth-welcome h1 {
  font-size: clamp(2.35rem, 4.4vw, 4.2rem);
  margin: 12px 0 16px;
  line-height: 1.02;
}

.auth-welcome p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.auth-doodles {
  position: absolute;
  right: -40px;
  bottom: -44px;
  width: 310px;
  height: 310px;
  opacity: 0.55;
  transform: rotate(5deg);
}

.auth-benefits {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 12px;
}

.auth-benefits li {
  display: grid;
  gap: 2px;
  padding-left: 32px;
  position: relative;
}

.auth-benefits li::before {
  content: "✓";
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  position: absolute;
  left: 0;
  top: 1px;
  border-radius: 50%;
  background: #fff;
  color: #358060;
  font-size: 0.8rem;
}

.auth-benefits span {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.auth-mini-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.auth-mini-points span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  color: var(--ink-soft);
  font-size: .82rem;
  font-weight: 800;
}

.auth-card,
body.page-grownup .auth-card {
  border: 1px solid rgba(50,38,47,.08);
  box-shadow: none;
}

.auth-shell .auth-card {
  max-width: none;
  margin: 0;
  padding: clamp(34px, 5vw, 58px);
  border: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-card-form > h2 {
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  margin: 0 0 8px;
}

.auth-explain {
  margin: 0 0 24px;
  color: var(--ink-soft);
}

.auth-form {
  display: grid;
  gap: 16px;
}

.auth-form p,
.auth-form .field {
  display: grid;
  gap: 7px;
  margin: 0;
}

.auth-form label,
.avatar-picker legend {
  font-weight: 900;
  color: var(--ink);
}

.auth-form input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),
.auth-form select,
.auth-form textarea {
  width: 100%;
  min-height: 50px;
  border-radius: 15px;
  border: 1.5px solid rgba(50,38,47,.17);
  padding: 11px 13px;
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
  transition: border-color .14s ease, box-shadow .14s ease, background .14s ease;
}

.auth-form textarea {
  min-height: 150px;
  resize: vertical;
}

.auth-form input:focus,
.auth-form select:focus,
.auth-form textarea:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(111,189,236,.16);
  outline: 0;
  background: #fff;
}

.auth-form input::placeholder {
  color: #a89da4;
  font-weight: 600;
}

.helptext,
.auth-form .helptext {
  font-size: .8rem;
  line-height: 1.45;
  color: #80727b;
}

.helptext ul {
  margin: 5px 0 0;
  padding-left: 1.1rem;
}

.errorlist {
  list-style: none;
  margin: 2px 0 0;
  padding: 9px 11px;
  border-radius: 10px;
  background: #fff0f0;
  color: #a82732;
  font-size: .82rem;
  font-weight: 800;
}

.adult-check {
  padding: 13px 14px;
  border-radius: 15px;
  background: var(--butter-soft);
  border: 1px solid #f0dc9a;
}

.check {
  align-items: flex-start;
  line-height: 1.4;
}

.check input {
  flex: 0 0 auto;
  margin-top: 2px;
}

.auth-fineprint {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: .8rem;
  line-height: 1.55;
}

.auth-switch,
.auth-help {
  text-align: center;
  margin: 18px 0 0;
}

.auth-switch a,
.auth-help a,
.auth-fineprint a {
  color: var(--brand-deep);
  font-weight: 900;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: #91848c;
  font-size: .8rem;
  font-weight: 800;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.auth-shell-compact .auth-welcome {
  min-height: 520px;
}

.auth-welcome-simple {
  min-height: 430px !important;
}

.auth-card-centred,
.auth-card-result {
  max-width: 620px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 48px);
}

.auth-card-result {
  text-align: center;
}

.auth-card-result .hero-actions,
.auth-card-result .form-actions {
  justify-content: center;
}

.result-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: var(--mint-soft);
  color: #287253;
  font-size: 1.7rem;
  font-weight: 900;
}

.result-mark-wait {
  background: var(--sky-soft);
  color: #397da5;
}

.result-mark-warn {
  background: var(--butter-soft);
  color: #8a641a;
}

.result-mark-soft {
  background: var(--rose-soft);
  color: var(--brand-deep);
}

/* Grown-up settings */

.grownup-head {
  max-width: 760px;
  padding: 44px 0 28px;
}

.grownup-head h1 {
  margin: 9px 0 10px;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
}

.grownup-head > p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.grownup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
  align-items: start;
}

.settings-card {
  background: #fff;
  border: 1px solid rgba(50,38,47,.08);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 4px 16px rgba(50,38,47,.04);
}

.settings-card h2 {
  margin-top: 0;
  font-size: 1.35rem;
}

.settings-intro {
  color: var(--ink-soft);
  margin: 0 0 18px;
}

.settings-link,
button.settings-link {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  text-align: left;
}

.settings-link:hover {
  color: var(--brand-deep);
}

.settings-link-form {
  margin: 0;
}

.account-meta {
  gap: 10px;
  margin: 14px 0 18px;
}

.account-meta > div {
  padding: 10px 12px;
  background: #fffaf7;
  border-radius: 13px;
}

.settings-stats,
.delete-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 8px;
  margin: 14px 0 18px;
}

.settings-stats > div,
.delete-summary > div {
  padding: 14px 10px;
  border-radius: 14px;
  background: var(--sky-soft);
  text-align: center;
}

.settings-stats > div:nth-child(2),
.delete-summary > div:nth-child(2) { background: var(--mint-soft); }
.settings-stats > div:nth-child(3),
.delete-summary > div:nth-child(3) { background: var(--butter-soft); }

.settings-stats strong,
.delete-summary strong {
  display: block;
  font-family: var(--display);
  font-size: 1.5rem;
}

.settings-stats span,
.delete-summary span {
  display: block;
  color: var(--ink-soft);
  font-size: .78rem;
}

.danger-zone {
  max-width: 100%;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  margin: 26px 0;
  padding: 20px 22px;
  background: #fff5f5;
  border: 1px solid rgba(180,35,24,.14);
  border-radius: 22px;
}

.danger-zone h2 {
  margin: 0 0 4px;
  font-size: 1.15rem;
}

.danger-zone p {
  margin: 0;
  color: var(--ink-soft);
}

.danger-note {
  margin: 18px 0 22px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff1f1;
  color: #79333a;
}

.danger-note p {
  margin: 5px 0 0;
}

.settings-card-head {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: start;
}

.settings-card-head h2 {
  margin: 0;
  word-break: break-word;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f2edf0;
  color: #655760;
  font-size: .76rem;
  font-weight: 900;
  white-space: nowrap;
}

.status-pill.is-good {
  background: var(--mint-soft);
  color: #2a7356;
}

.status-pill.is-warn {
  background: var(--butter-soft);
  color: #82601c;
}

.grownup-back {
  margin-top: 26px;
}

.grownup-back a {
  color: var(--brand-deep);
  font-weight: 900;
}

/* Profiles and gallery */

.profile-manager {
  max-width: 900px;
  margin-inline: auto;
}

.privacy-note {
  display: grid;
  gap: 3px;
  margin: 18px 0 24px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--mint-soft);
  color: #356853;
}

.privacy-note span {
  font-size: .9rem;
}

.member-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 26px;
  padding: 0;
}

.member-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px;
  border: 1px solid rgba(50,38,47,.08);
  border-radius: 20px;
  background: #fff;
}

.member-avatar {
  width: 56px;
  height: 56px;
  background: var(--butter-soft);
}

.member-status {
  display: flex;
  gap: 5px;
  margin-top: 4px;
}

.member-status span {
  padding: 3px 7px;
  border-radius: 999px;
  background: #f2edf0;
  color: var(--ink-soft);
  font-size: .72rem;
  font-weight: 800;
}

.member-status .is-active {
  background: var(--mint-soft);
  color: #287253;
}

.add-profile-card {
  margin-top: 28px;
  padding: 22px;
  background: #fffaf7;
  border-radius: 24px;
  border: 1px solid rgba(50,38,47,.08);
}

.add-profile-card h2 {
  margin: 6px 0;
}

.add-profile-card > div > p:last-child {
  margin-top: 0;
  color: var(--ink-soft);
}

.avatar-choices {
  grid-template-columns: repeat(auto-fill, minmax(82px,1fr));
}

.avatar-choice {
  padding: 7px;
  border-radius: 16px;
}

.avatar-choice:has(input:checked) {
  background: var(--rose-soft);
}

.avatar-choice img {
  width: 64px;
  height: 64px;
  border: 3px solid transparent;
}

.gallery-person {
  display: flex;
  align-items: center;
  gap: 16px;
}

.gallery-person img {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  background: var(--butter-soft);
}

.gallery-person h1 {
  margin: 4px 0 0;
}

.gallery-meter {
  display: flex;
  gap: 12px 20px;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0 0 18px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--butter-soft);
  font-size: .85rem;
  font-weight: 800;
}

.gallery-meter a {
  color: #6c541a;
}

.saved-actions {
  padding: 0 12px 12px;
}

.saved-actions .btn {
  width: auto !important;
  border-radius: 999px !important;
  border: 1px solid rgba(50,38,47,.09);
}

.empty {
  display: grid;
  gap: 7px;
  border: 1px dashed rgba(50,38,47,.18);
  background: #fff;
  color: var(--ink-soft);
}

.empty strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.empty-gallery {
  justify-items: start;
  padding: 28px;
}

.empty-gallery .btn {
  margin-top: 8px;
}

/* Support */

.support-layout {
  display: grid;
  grid-template-columns: minmax(0,1.25fr) minmax(260px,.75fr);
  gap: 18px;
  align-items: start;
}

.support-aside {
  padding: 18px;
}

.support-aside h2 {
  font-size: 1.05rem;
  margin-top: 24px;
}

.recent-tickets {
  margin-top: 34px;
}

.ticket-list {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}

.ticket-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.ticket-row:last-child {
  border-bottom: 0;
}

.ticket-row small {
  display: block;
  margin-top: 3px;
  color: var(--ink-soft);
}

.ticket-reference {
  color: #8c7e86 !important;
  font-size: .8rem !important;
}

.ticket-thread {
  max-width: 780px;
}

.ticket-bubble {
  margin: 0 0 12px;
  padding: 18px;
  border-radius: 20px;
}

.ticket-bubble-you {
  background: #fff;
  border: 1px solid var(--line);
}

.ticket-bubble-littleinks {
  background: var(--sky-soft);
  border: 1px solid rgba(111,189,236,.24);
}

.ticket-bubble-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--ink-soft);
  font-size: .82rem;
}

.ticket-bubble-head strong {
  color: var(--ink);
  font-size: .95rem;
}

.ticket-follow-up {
  margin-top: 20px;
}

/* Locked page, 404 and results */

.premium-teaser {
  max-width: 860px;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(260px,.7fr);
  gap: 34px;
  align-items: center;
  background: transparent;
  box-shadow: none;
}

.teaser-preview {
  position: relative;
  margin: 0;
  max-width: 100%;
  border: 1px solid var(--line);
  opacity: 1;
  box-shadow: var(--shadow);
}

.teaser-lock {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--plum);
  color: #fff;
  font-size: .78rem;
  font-weight: 900;
}

.not-found-card {
  max-width: 650px;
  margin: 70px auto;
  text-align: center;
  padding: 42px;
  border-radius: 30px;
  background: #fff;
  border: 1px solid var(--line);
}

.not-found-mark {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 26px;
  background: var(--butter-soft);
  color: #8c671f;
  font-family: var(--display);
  font-size: 2rem;
}

/* Footer */

.site-foot {
  margin-top: 80px;
  padding: 0 20px 28px;
  text-align: left;
}

.foot-inner {
  max-width: 1180px;
  display: grid;
  grid-template-columns: minmax(240px,1.6fr) repeat(3,minmax(150px,.8fr));
  gap: 28px;
  padding: 28px;
  border-radius: 28px;
  box-shadow: none;
  background: #fff;
}

.foot-brand img {
  display: block;
  width: 150px;
  height: auto;
  margin-bottom: 12px;
}

.foot-brand p {
  margin: 6px 0;
  max-width: 360px;
}

.foot-trust {
  color: var(--ink-soft);
  font-size: .82rem;
}

.foot-group h2,
.foot-legal h2 {
  font-size: .86rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 10px;
  color: #8a7c84;
}

.foot-nav {
  display: grid;
  justify-content: stretch;
  gap: 7px;
  margin: 0;
}

.foot-nav a {
  font-size: .9rem;
  font-weight: 800;
}

.foot-legal {
  margin: 0;
  padding: 0;
  border: 0;
}

.foot-legal-note {
  padding: 8px;
  border-radius: 10px;
  background: var(--butter-soft);
  font-size: .72rem;
}

/* Keep the colouring screen functional while matching the new chrome */

body.page-color {
  background: #fffaf6;
}

.toolbar {
  border-color: rgba(50,38,47,.10);
  box-shadow: 0 6px 18px rgba(50,38,47,.06);
}

.studio-banner,
.studio-nudge {
  background: var(--lilac-soft);
  border: 1px solid rgba(118,84,163,.18);
  color: var(--ink-soft);
}

/* Mobile */

@media (max-width: 900px) {
  .page-landing .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .page-landing .hero .lede {
    margin-inline: auto;
  }

  .page-landing .hero .hero-actions,
  .hero-trust {
    justify-content: center;
  }

  .hero-art {
    min-height: 310px;
  }

  .hero-art-card {
    width: min(330px, 78vw);
  }

  .auth-shell {
    grid-template-columns: 1fr;
    max-width: 650px;
  }

  .auth-welcome {
    min-height: 330px;
    padding-bottom: 110px;
  }

  .auth-shell-compact .auth-welcome,
  .auth-welcome-simple {
    min-height: 280px !important;
  }

  .auth-doodles {
    width: 210px;
    height: 210px;
    right: -30px;
    bottom: -45px;
  }

  .grownup-grid,
  .support-layout,
  .compare-cards {
    grid-template-columns: 1fr;
  }

  .foot-inner {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .foot-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .topbar {
    min-height: 0;
    padding: 8px max(14px, env(safe-area-inset-right)) 10px max(14px, env(safe-area-inset-left));
  }

  .brand-logo {
    height: 36px;
    max-width: min(168px, calc(100vw - 168px));
  }

  .page-landing .hero {
    padding: 34px 16px 44px;
  }

  .page-landing .hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }

  .hero-art {
    min-height: 260px;
  }

  .hero-art-card {
    border-radius: 28px;
  }

  .hero-splat-one {
    width: 72px;
    height: 72px;
  }

  .hero-splat-two {
    width: 62px;
    height: 62px;
  }

  .hero-trust {
    gap: 6px;
  }

  .hero-trust span {
    font-size: .76rem;
  }

  .browse-block {
    padding: 38px 10px 20px;
  }

  .category-chips {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 14px 5px;
    padding-inline: 4px;
  }

  .lane-chip {
    min-width: 0;
  }

  .lane-chip-disc {
    width: min(92px, 26vw);
    height: min(92px, 26vw);
  }

  .lane-chip-label {
    font-size: .94rem;
  }

  .lane-chip-count {
    font-size: .72rem;
  }

  .landing-wrap {
    padding-inline: 12px;
  }

  .promise-row {
    grid-template-columns: 1fr 1fr;
  }

  .promise {
    padding: 15px;
    min-height: 150px;
  }

  .promise h2 {
    font-size: 1rem;
  }

  .promise p {
    font-size: .82rem;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 110px;
    grid-template-columns: 76px minmax(0,1fr);
    padding: 14px;
  }

  .category-icon {
    width: 64px;
    height: 64px;
  }

  .category-icon img {
    width: 58px;
    height: 58px;
  }

  .category-title-row {
    align-items: flex-start;
  }

  .category-heading-bubble {
    width: 70px;
    height: 70px;
    border-radius: 22px;
  }

  .category-heading-bubble .category-heading-icon {
    width: 58px;
    height: 58px;
  }

  .page-auth main {
    padding: 18px 10px 42px;
  }

  .auth-shell {
    border-radius: 24px;
  }

  .auth-welcome {
    min-height: 280px;
    padding: 28px 22px 96px;
  }

  .auth-welcome h1 {
    font-size: 2.35rem;
  }

  .auth-shell .auth-card {
    padding: 28px 20px;
  }

  .auth-benefits {
    margin-top: 22px;
  }

  .auth-card-centred,
  .auth-card-result {
    padding: 28px 20px;
  }

  .grownup-head {
    padding-top: 28px;
  }

  .settings-stats,
  .delete-summary {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }

  .danger-zone,
  .member-row {
    align-items: stretch;
    flex-direction: column;
  }

  .member-actions {
    width: 100%;
  }

  .member-actions form,
  .member-actions .btn {
    width: 100%;
  }

  .premium-teaser {
    grid-template-columns: 1fr;
  }

  .teaser-preview {
    order: -1;
    width: min(320px,100%);
  }

  .foot-inner {
    grid-template-columns: 1fr 1fr;
    padding: 22px;
  }

  .foot-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .promise-row {
    grid-template-columns: 1fr;
  }

  .promise {
    min-height: 0;
  }

  .foot-inner {
    grid-template-columns: 1fr;
  }

  .foot-brand {
    grid-column: auto;
  }

  .category-chips {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }

  .settings-stats,
  .delete-summary {
    gap: 5px;
  }

  .settings-stats > div,
  .delete-summary > div {
    padding: 10px 5px;
  }

  .settings-card-head {
    flex-direction: column;
  }
}


/* Make-your-own setup */

.create-card {
  max-width: 900px;
  margin: 44px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .78fr);
  gap: 28px;
  align-items: start;
  padding: clamp(26px, 5vw, 44px);
  border-radius: 30px;
  background:
    radial-gradient(260px 180px at 0% 0%, rgba(255,214,107,.24), transparent 72%),
    #fff;
  border: 1px solid rgba(50,38,47,.08);
  box-shadow: 0 16px 40px rgba(50,38,47,.07);
}

.create-card-copy h1 {
  margin: 10px 0 14px;
}

.create-card-copy .lede {
  font-size: 1.05rem;
}

.create-tip {
  display: grid;
  gap: 4px;
  margin-top: 24px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--sky-soft);
  color: #47687d;
}

.upload-warning {
  display: grid;
  gap: 4px;
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--butter-soft);
  color: #6a4d12;
  border: 1px solid rgba(233, 173, 52, 0.35);
}

.upload-warning strong {
  color: var(--ink);
}

.upload-warning span {
  font-size: .9rem;
  line-height: 1.5;
}

.upload-warning-submit {
  margin: 8px 0 16px;
  background: var(--rose-soft);
  color: #7a3a40;
  border-color: rgba(220, 70, 80, 0.18);
}

.create-tip strong {
  color: var(--ink);
}

.create-tip span {
  font-size: .88rem;
  line-height: 1.5;
}

.create-form {
  padding: 20px;
  border-radius: 22px;
  background: #fffaf7;
  border: 1px solid rgba(50,38,47,.08);
}

.create-alt {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--ink-soft);
  font-size: .9rem;
}

.create-alt a {
  color: var(--brand-deep);
  font-weight: 900;
}

.upload-create-card {
  background:
    radial-gradient(260px 180px at 0% 0%, rgba(105,189,150,.20), transparent 72%),
    #fff;
}

.upload-field input[type="file"] {
  padding: 10px;
  background: #fff;
}

.upload-field input[type="file"]::file-selector-button {
  margin-right: 10px;
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  background: var(--sky-soft);
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 760px) {
  .create-card {
    grid-template-columns: 1fr;
    margin-top: 24px;
    padding: 22px 16px;
    border-radius: 24px;
  }

  .create-alt {
    grid-column: auto;
  }
}


/* Formal legal document treatment */
.page-legal main {
  max-width: 1040px;
  padding-top: 46px;
}

.page-legal .legal-page {
  max-width: 860px;
  margin: 0 auto 56px;
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid rgba(50, 38, 47, 0.10);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(50, 38, 47, 0.05);
}

.page-legal .kicker {
  display: inline-block;
  padding: 0;
  background: transparent;
  color: #766a72;
  font-family: var(--body);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-legal .legal-page > h1 {
  margin: 10px 0 12px;
  font-size: clamp(2.15rem, 4vw, 3.15rem);
  line-height: 1.05;
}

.page-legal .legal-page > .lede {
  max-width: 760px;
  margin: 0;
  color: #665b62;
  font-size: 1.05rem;
  line-height: 1.7;
}

.page-legal .legal-meta {
  margin: 14px 0 0;
  color: #8a7f86;
  font-size: 0.8rem;
}

.page-legal .legal-nav {
  gap: 6px 16px;
  margin: 26px 0 34px;
  padding: 14px 0;
  border-top: 1px solid rgba(50, 38, 47, 0.10);
  border-bottom: 1px solid rgba(50, 38, 47, 0.10);
}

.page-legal .legal-nav a {
  color: #665b62;
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 800;
}

.page-legal .legal-nav a[aria-current="page"] {
  color: var(--brand-deep);
}

.page-legal .legal-body {
  font-size: 0.98rem;
  line-height: 1.72;
}

.page-legal .legal-body h2 {
  margin: 2.1rem 0 0.7rem;
  padding-top: 0.15rem;
  font-family: var(--body);
  font-size: 1.22rem;
  line-height: 1.35;
  font-weight: 900;
  color: var(--ink);
}

.page-legal .legal-body h2:first-child {
  margin-top: 0;
}

.page-legal .legal-body p {
  margin: 0.7rem 0;
  color: #4e454b;
}

.page-legal .legal-body ul,
.page-legal .legal-body ol {
  margin: 0.75rem 0 1rem;
  padding-left: 1.35rem;
}

.page-legal .legal-body li {
  margin: 0.38rem 0;
  color: #4e454b;
}

.page-legal .legal-body a {
  color: #93404a;
  font-weight: 750;
}

.page-legal .legal-body table {
  margin: 18px 0 28px;
  border: 1px solid rgba(50, 38, 47, 0.12);
  border-radius: 10px;
  overflow: hidden;
  font-size: 0.9rem;
}

.page-legal .legal-body th {
  background: #f8f5f3;
  color: var(--ink);
  font-weight: 900;
}

.page-legal .legal-body th,
.page-legal .legal-body td {
  padding: 10px 12px;
  border-color: rgba(50, 38, 47, 0.10);
}

.page-legal .legal-contact {
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid rgba(50, 38, 47, 0.10);
  color: #766a72;
  font-size: 0.9rem;
}

.page-legal .legal-contact a {
  color: var(--brand-deep);
  font-weight: 900;
}

@media (max-width: 640px) {
  .page-legal main {
    padding-top: 18px;
  }

  .page-legal .legal-page {
    margin-bottom: 30px;
    padding: 24px 18px;
    border-radius: 14px;
    box-shadow: none;
  }

  .page-legal .legal-nav {
    gap: 8px 12px;
    margin-bottom: 26px;
  }

  .page-legal .legal-body table {
    display: block;
    overflow-x: auto;
    white-space: normal;
  }
}


/* LittleInks artwork: replaces the old broken hero/auth doodle asset */

.hero-showcase {
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.hero-showcase .hero-paper {
  position: absolute;
  display: block;
  background: #fff;
  border: 1px solid rgba(50,38,47,.10);
  border-radius: 26px;
  box-shadow: 0 18px 42px rgba(50,38,47,.10);
}

.hero-paper-back {
  width: 78%;
  height: 76%;
  left: 11%;
  top: 12%;
}

.hero-paper-back-one {
  transform: rotate(-8deg);
  background: #fff8f0;
}

.hero-paper-back-two {
  transform: rotate(7deg);
  background: #f4fbff;
}

.hero-paper-main {
  width: 82%;
  height: 80%;
  left: 9%;
  top: 10%;
  overflow: hidden;
  transform: rotate(1.8deg);
  background:
    linear-gradient(rgba(255,255,255,.88), rgba(255,255,255,.88)),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(50,38,47,.035) 31px 32px);
}

.hero-picture {
  position: absolute !important;
  width: auto !important;
  height: auto !important;
  opacity: 1 !important;
  transform: none !important;
}

.hero-picture-dino {
  width: 49% !important;
  left: 25%;
  top: 20%;
}

.hero-picture-space {
  width: 18% !important;
  right: 9%;
  top: 10%;
  transform: rotate(8deg) !important;
}

.hero-picture-animal {
  width: 18% !important;
  left: 8%;
  bottom: 10%;
  transform: rotate(-8deg) !important;
}

.hero-crayon {
  position: absolute;
  width: 16px;
  height: 112px;
  border-radius: 7px 7px 4px 4px;
  box-shadow: inset 0 -14px rgba(255,255,255,.24), 0 6px 12px rgba(50,38,47,.12);
  transform-origin: center;
}

.hero-crayon::before {
  content: "";
  position: absolute;
  left: 1px;
  right: 1px;
  top: -15px;
  margin: auto;
  width: 14px;
  height: 22px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: #f0d0a1;
}

.hero-crayon-coral {
  right: 6%;
  bottom: 6%;
  background: var(--brand);
  transform: rotate(28deg);
}

.hero-crayon-sky {
  left: 12%;
  top: 10%;
  height: 92px;
  background: var(--sky);
  transform: rotate(-24deg);
}

.hero-crayon-sun {
  right: 20%;
  bottom: 0;
  height: 88px;
  background: var(--sun);
  transform: rotate(12deg);
}

.hero-star {
  position: absolute;
  font-family: var(--display);
  line-height: 1;
}

.hero-star-one {
  left: 10%;
  top: 46%;
  color: var(--sun-deep);
  font-size: 34px;
  transform: rotate(-12deg);
}

.hero-star-two {
  right: 13%;
  top: 46%;
  color: var(--plum);
  font-size: 24px;
  transform: rotate(10deg);
}

.auth-art {
  position: absolute;
  right: -18px;
  bottom: -24px;
  width: 285px;
  height: 245px;
  z-index: 1;
  pointer-events: none;
}

.auth-paper {
  position: absolute;
  display: block;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(50,38,47,.09);
  box-shadow: 0 16px 34px rgba(50,38,47,.08);
}

.auth-paper-back {
  width: 178px;
  height: 174px;
  right: 34px;
  bottom: 24px;
  transform: rotate(9deg);
  background: var(--sky-soft);
}

.auth-paper-main {
  width: 190px;
  height: 182px;
  right: 48px;
  bottom: 34px;
  transform: rotate(-4deg);
  overflow: hidden;
  background: #fff;
}

.auth-art-fox {
  position: absolute;
  width: 112px;
  height: 112px;
  left: 39px;
  top: 34px;
}

.auth-art-star {
  position: absolute;
  width: 54px;
  height: 54px;
  right: 5px;
  top: 5px;
  transform: rotate(10deg);
}

.auth-pencil {
  position: absolute;
  width: 13px;
  height: 104px;
  border-radius: 7px;
  box-shadow: 0 5px 10px rgba(50,38,47,.10);
}

.auth-pencil::before {
  content: "";
  position: absolute;
  top: -13px;
  left: 1px;
  width: 11px;
  height: 17px;
  clip-path: polygon(50% 0,100% 100%,0 100%);
  background: #efd0a5;
}

.auth-pencil-one {
  right: 12px;
  bottom: 2px;
  background: var(--brand);
  transform: rotate(24deg);
}

.auth-pencil-two {
  left: 22px;
  bottom: 0;
  height: 88px;
  background: var(--sky);
  transform: rotate(-22deg);
}

.auth-dot {
  position: absolute;
  border-radius: 50%;
  opacity: .85;
}

.auth-dot-one {
  width: 36px;
  height: 36px;
  left: 0;
  top: 18px;
  background: var(--sun);
}

.auth-dot-two {
  width: 26px;
  height: 26px;
  right: 3px;
  top: 4px;
  background: var(--sage);
}

@media (max-width: 900px) {
  .hero-showcase {
    width: min(330px, 78vw);
    height: min(330px, 78vw);
  }

  .auth-art {
    width: 220px;
    height: 190px;
    right: -16px;
    bottom: -26px;
  }

  .auth-paper-back {
    width: 142px;
    height: 140px;
  }

  .auth-paper-main {
    width: 152px;
    height: 146px;
  }

  .auth-art-fox {
    width: 92px;
    height: 92px;
    left: 30px;
    top: 27px;
  }

  .auth-art-star {
    width: 42px;
    height: 42px;
  }

  .auth-pencil {
    height: 80px;
  }

  .auth-pencil-two {
    height: 68px;
  }
}

@media (max-width: 560px) {
  .auth-art {
    opacity: .88;
    right: -34px;
    bottom: -38px;
    transform: scale(.86);
  }
}

/* About LittleInks */

body.page-about {
  background:
    radial-gradient(560px 340px at 0% 0%, rgba(255, 98, 104, 0.14), transparent 62%),
    radial-gradient(480px 280px at 100% 6%, rgba(255, 214, 107, 0.20), transparent 64%),
    linear-gradient(180deg, #fff7f2 0%, #fffaf6 46%, #fff4ec 100%);
}

.page-about main {
  max-width: 1120px;
}

.about-page {
  max-width: 1000px;
  margin: 0 auto 48px;
  padding-bottom: 12px;
}

.about-hero {
  max-width: 760px;
  padding: clamp(36px, 6vw, 68px) 0 12px;
}

.about-hero h1 {
  margin: 10px 0 14px;
  font-size: clamp(2.3rem, 5vw, 3.7rem);
  line-height: 1.05;
}

.about-hero .lede {
  margin: 0 0 22px;
  max-width: 42rem;
  color: var(--ink-soft);
  font-size: 1.12rem;
  line-height: 1.65;
}

.about-how {
  margin: 18px 0 8px;
}

.about-how .section-title,
.about-plans .section-title {
  max-width: 640px;
  margin-bottom: 22px;
}

.about-how .section-title h2,
.about-plans .section-title h2 {
  margin: 0 0 8px;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.about-how .section-title p,
.about-plans .section-title p {
  margin: 0;
  color: var(--ink-soft);
}

.about-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 36px;
}

.about-step {
  min-height: 196px;
  padding: 24px;
  border: 0;
  border-radius: 24px;
  box-shadow: none;
}

.about-step-grownup { background: var(--rose-soft); }
.about-step-profiles { background: var(--mint-soft); }
.about-step-colour { background: var(--sky-soft); }
.about-step-keep { background: var(--butter-soft); }

.about-step-num {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--brand-deep);
  font-size: 1.05rem;
  font-weight: 900;
}

.about-step h3 {
  margin: 0 0 8px;
  font-size: 1.28rem;
}

.about-step p {
  margin: 0;
  color: var(--ink-soft);
}

.about-promises {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 8px 0 40px;
}

.about-promises article {
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(50, 38, 47, 0.08);
  box-shadow: 0 4px 16px rgba(50, 38, 47, 0.04);
}

.about-promises h2 {
  margin: 0 0 8px;
  font-size: 1.28rem;
}

.about-promises p {
  margin: 0;
  color: var(--ink-soft);
}

.about-plans {
  margin: 8px 0 28px;
}

.about-compare {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-compare .plan-card h3 {
  margin: 0 0 16px;
  font-size: 1.35rem;
}

.about-homes {
  max-width: 40rem;
  margin: 8px 0 28px;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.6;
}

.about-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  flex: 0 0 auto;
}

.page-about .about-cta.premium-cta-band {
  align-items: center;
}

.about-cta-actions .btn {
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  .page-about .about-cta.premium-cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .about-steps,
  .about-promises,
  .about-compare {
    grid-template-columns: 1fr;
  }

  .about-step,
  .about-promises article {
    min-height: 0;
  }

  .about-hero {
    padding-top: 28px;
  }

  .about-page {
    margin-bottom: 32px;
  }
}


/* Humanised grown-up pages */

.about-page-simple,
.upgrade-simple {
  max-width: 940px;
  margin-inline: auto;
}

.about-hero-simple {
  max-width: 760px;
  padding-bottom: 34px;
}

.about-hero-simple h1,
.auth-simple-heading h1,
.premium-head-simple h1 {
  letter-spacing: -0.035em;
}

.about-story {
  margin: 26px 0 46px;
}

.about-simple-steps {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.about-simple-steps li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.about-simple-steps .about-step-num {
  margin: 0;
}

.about-simple-steps h3 {
  margin: 1px 0 5px;
  font-size: 1.18rem;
}

.about-simple-steps p {
  margin: 0;
  color: var(--ink-soft);
}

.about-trust-simple {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  margin: 14px 0 52px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-trust-simple h2 {
  margin: 0 0 8px;
  font-size: 1.28rem;
}

.about-trust-simple p {
  margin: 0;
  color: var(--ink-soft);
}

.about-plans-simple {
  margin-top: 0;
}

.about-plan-lines {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-plan-lines > section {
  padding: 26px 30px 28px 0;
}

.about-plan-lines > section + section {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.about-plan-lines h3 {
  margin: 0 0 16px;
  font-size: 1.3rem;
}

.about-plan-lines ul,
.premium-plan-column ul {
  padding-left: 1.15rem;
  margin-bottom: 16px;
}

.about-plan-lines li,
.premium-plan-column li {
  margin-bottom: 8px;
}

.about-plan-lines a {
  font-weight: 900;
  color: var(--brand-deep);
}

.about-finish {
  margin-top: 36px;
  padding: 28px 0 8px;
  border-top: 1px solid var(--line);
}

.about-finish h2 {
  margin: 0 0 7px;
}

.about-finish p {
  margin: 0 0 18px;
  color: var(--ink-soft);
}

.premium-head-simple {
  max-width: 720px;
}

.premium-feature-list {
  margin: 34px 0 44px;
  border-top: 1px solid var(--line);
}

.premium-feature-list > div {
  display: grid;
  grid-template-columns: minmax(150px, .55fr) minmax(0, 1.45fr);
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.premium-feature-list strong {
  font-family: var(--display);
  font-size: 1.08rem;
}

.premium-feature-list span {
  color: var(--ink-soft);
}

.premium-plans-simple {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 12px 0 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
}

.premium-plan-column {
  padding: 28px;
}

.premium-plan-column + .premium-plan-column {
  border-left: 1px solid var(--line);
}

.premium-plan-column-paid {
  background: #fffaf3;
}

.premium-plan-column h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.schools-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 32px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.schools-note > div {
  max-width: 650px;
}

.schools-note h2 {
  margin: 0 0 6px;
  font-size: 1.3rem;
}

.schools-note p:not(.plan-label) {
  margin: 0;
  color: var(--ink-soft);
}

.page-auth-simple main {
  max-width: 760px;
  padding-block: 46px 72px;
}

.auth-simple-shell {
  max-width: 650px;
  margin: 0 auto;
}

.auth-simple-heading {
  max-width: 590px;
  margin-bottom: 24px;
}

.auth-simple-heading h1 {
  margin: 10px 0 12px;
  font-size: clamp(2.3rem, 6vw, 4rem);
  line-height: 1.02;
}

.auth-simple-heading > p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.auth-card-simple {
  padding: 30px;
  border: 1px solid rgba(50,38,47,.09);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(50,38,47,.07);
  background: #fff;
}

.auth-card-simple h2 {
  margin-top: 0;
}

.auth-simple-note {
  margin: 18px 4px 0;
  color: var(--ink-soft);
  font-size: .92rem;
  line-height: 1.55;
}

.auth-simple-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 18px 4px 0;
  color: var(--ink-soft);
  font-size: .88rem;
}

.auth-simple-trust span + span::before {
  content: "·";
  margin-right: 16px;
  color: #b8a9b0;
}

.page-auth-simple .auth-switch {
  margin-bottom: 0;
}

@media (max-width: 720px) {
  .about-trust-simple,
  .about-plan-lines,
  .premium-plans-simple {
    grid-template-columns: 1fr;
  }

  .about-plan-lines > section {
    padding: 22px 0;
  }

  .about-plan-lines > section + section {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .premium-plan-column + .premium-plan-column {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .premium-feature-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .schools-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .auth-card-simple {
    padding: 24px 20px;
  }

  .auth-simple-trust span + span::before {
    display: none;
  }
}

/* Homepage mockup chrome and layout (local) */
.topbar {
  display: flex;
  align-items: center;
  gap: 10px 16px;
  min-height: 74px;
  padding-top: 8px;
  padding-bottom: 8px;
  background: #fff;
  border-bottom: 1px solid rgba(232, 93, 76, 0.12);
  box-shadow: 0 4px 14px rgba(196, 60, 50, 0.05);
}

.topbar .brand { margin-right: 0; flex: 0 0 auto; }
.topbar .brand picture { display: block; line-height: 0; }
.topbar .brand-logo { height: 48px; }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: #fff4e8;
  color: #e25b2a;
  cursor: pointer;
}
.menu-bars,
.menu-bars::before,
.menu-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  position: relative;
}
.menu-bars::before,
.menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -6px; }
.menu-bars::after { top: 6px; }
.menu-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.topbar .nav-kids {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px 8px;
  overflow: visible;
}
.topbar .nav-kid,
.topbar .grownup-toggle {
  flex-direction: row;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 4px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #3d2c26;
  box-shadow: none;
  font-family: var(--display);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.1;
}
.topbar .nav-ico { display: grid; place-items: center; flex: 0 0 auto; }
.topbar .nav-ico svg { width: 20px; height: 20px; }
.topbar .nav-ico-home { color: #f26b3a; }
.topbar .nav-ico-pictures { color: #1f9ec4; }
.topbar .nav-ico-learn { color: #7a45c4; }
.topbar .nav-ico-art { color: #e44578; }
.topbar .nav-ico-grown { color: #2f9a62; }
.topbar .nav-kid:hover,
.topbar .grownup-toggle:hover,
.topbar .grownup-menu.is-open .grownup-toggle {
  background: #fff6f1;
  color: #3d2c26;
  border-color: transparent;
}
.topbar .nav-kid.is-current,
.topbar .nav-kid[aria-current="page"] {
  background: #ffe8d8;
  color: #d4531f;
  border-radius: 999px;
  box-shadow: none;
}
.topbar .grownup-menu { position: relative; flex: 0 0 auto; }

.nav-tools {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  flex: 0 0 auto;
}
.site-search { display: flex; align-items: center; }
.site-search input {
  width: 0;
  opacity: 0;
  border: 0;
  padding: 0;
  background: #fff8f2;
  border-radius: 999px;
  font: inherit;
  color: var(--ink);
}
.site-search:focus-within input { width: 160px; opacity: 1; padding: 8px 10px; }
.site-search button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #3d2c26;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.btn-signin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: #e85d73;
  color: #fff;
  text-decoration: none;
  font-family: "Fredoka", var(--display), sans-serif;
  font-weight: 650;
  font-size: 1rem;
  box-shadow: none;
}
.btn-signin:hover { background: #dc4d66; color: #fff; }

body.page-landing { background: #fffaf6; }

.home-hero { padding: 16px clamp(14px, 2.4vw, 32px) 6px; }
.home-hero-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(260px, 1.08fr);
  align-items: center;
  gap: 8px 12px;
  min-height: 300px;
  padding: 18px 18px 8px 28px;
  border-radius: 32px;
  background:
    radial-gradient(280px 140px at 0% 100%, rgba(126, 208, 122, 0.35), transparent 70%),
    radial-gradient(280px 140px at 100% 100%, rgba(126, 208, 122, 0.28), transparent 70%),
    linear-gradient(180deg, #ffe7f1 0%, #ffd4e6 100%);
  box-shadow: 0 12px 28px rgba(232, 93, 120, 0.12);
  overflow: hidden;
}
.home-hero-copy { position: relative; z-index: 1; max-width: 520px; padding: 12px 0 22px; }
.home-hero-copy h1 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-weight: 650;
  font-size: clamp(2.05rem, 3.4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #2b211c;
}
.home-hero-copy h1 span { color: #f08a24; }
.home-hero-copy p {
  margin: 0 0 16px;
  max-width: 38ch;
  color: #5c463c;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.45;
}
.home-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: #e85d73;
  color: #fff;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 650;
  box-shadow: 0 5px 0 #c9435c;
}
.home-cta:hover { color: #fff; background: #dc4d66; }
.home-hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 280px;
}
.home-hero-art picture {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
}
.home-hero-art img {
  width: min(560px, 100%);
  height: auto;
  display: block;
  margin-bottom: -6px;
  border-radius: clamp(24px, 4vw, 42px);
  /* The hero asset is already cut out; keep only a soft silhouette shadow. */
  filter: drop-shadow(0 8px 12px rgba(90, 30, 50, 0.08));
}
.home-cats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  padding: 18px clamp(14px, 2.4vw, 32px) 6px;
}
.home-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  min-height: 132px;
  padding: 10px 6px 12px;
  border-radius: 22px;
  text-decoration: none;
  color: #3a2a24;
  font-family: var(--display);
  font-weight: 650;
  font-size: 0.92rem;
  text-align: center;
  line-height: 1.15;
  transition: transform 0.14s ease;
}
.home-cat:hover { transform: translateY(-3px); color: #3a2a24; }
.home-cat picture {
  display: flex;
  justify-content: center;
}
.home-cat img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  filter: drop-shadow(0 4px 0 rgba(60, 30, 20, 0.04));
}
.tint-butter { background: #fff1c9; }
.tint-peach { background: #ffe3c4; }
.tint-mint { background: #e5f8df; }
.tint-lilac { background: #f3e7ff; }
.tint-rose { background: #ffe1e4; }
.tint-sky { background: #e3f3ff; }
.tint-foam { background: #e7f8ef; }
.tint-blush { background: #ffe8f1; }
.tint-candy { background: #ffe4f3; }
.tint-cream { background: #fff0e4; }

.home-meet-sticker-wrap {
  display: flex;
  justify-content: flex-start;
  margin: 0;
  padding: 4px clamp(14px, 2.4vw, 32px) 8px;
}
.home-meet-sticker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 5px 16px 5px 6px;
  border-radius: 999px;
  background: #fff6cf;
  box-shadow: 0 4px 0 rgba(233, 173, 52, 0.28), 0 8px 16px rgba(80, 40, 30, 0.05);
  color: #3a2a24;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 650;
  font-size: 0.98rem;
  transform: rotate(-2deg);
  transition: transform 0.14s ease;
}
.home-meet-sticker:hover {
  color: #3a2a24;
  transform: rotate(-2deg) translateY(-2px);
}
.home-meet-sticker-art {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 42px;
  flex: 0 0 auto;
}
.home-meet-sticker-art img,
.home-meet-sticker img {
  width: 56px;
  height: 42px;
  object-fit: contain;
  display: block;
}

.home-featured { padding: 18px clamp(14px, 2.4vw, 32px) 4px; }
.home-featured-head {
  display: flex;
  align-items: baseline;
  gap: 12px 16px;
  flex-wrap: wrap;
  margin: 0 0 12px;
}
.home-featured-head h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 650;
  font-size: 1.65rem;
  letter-spacing: -0.02em;
  color: #2f6f86;
}
.home-featured-head p {
  margin: 0;
  color: #6a564c;
  font-size: 0.98rem;
}
.home-new-pill {
  margin-left: auto;
  background: #ffe08a;
  color: #3a2a22;
  font-family: var(--display);
  font-weight: 650;
  border-radius: 999px;
  padding: 7px 14px;
  transform: rotate(2deg);
}
.home-pages {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px 10px;
}
.home-page { text-decoration: none; color: #3a2a24; min-width: 0; }
.home-page-frame {
  display: block;
  background: #fff;
  border: 2px solid #f4d7cf;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: 0 6px 14px rgba(80, 40, 30, 0.05);
}
.home-page-frame img,
.home-page-empty {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #fff8f2;
}
.home-page-title {
  display: block;
  margin-top: 7px;
  font-family: var(--font);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  min-height: 2.5em;
}
.home-heart { color: #e85d73; }

.home-picks-hosts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.home-pick-host {
  min-width: 0;
  padding: 12px 12px 14px;
  border-radius: 22px;
}
.home-pick-host h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: #3a2a24;
}
.home-pick-pages {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 8px;
}
.home-pick-pages .home-page-title { min-height: 2.3em; font-size: 0.82rem; }
.tint-splat { background: #fff1c9; }
.tint-pen { background: #f3e7ff; }
.tint-neon { background: #e3f3ff; }

.home-bottom {
  display: grid;
  grid-template-columns: 1.15fr 1.2fr 0.95fr;
  gap: 14px;
  padding: 16px clamp(14px, 2.4vw, 32px) 40px;
  align-items: stretch;
}
.home-card {
  position: relative;
  border-radius: 26px;
  padding: 18px 18px 16px;
  overflow: hidden;
  min-height: 188px;
}
.home-card h2 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-weight: 650;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.home-card p {
  margin: 0 0 12px;
  color: #4e3b34;
  font-size: 0.96rem;
  line-height: 1.4;
  max-width: 28ch;
}
.home-card-easy { background: #e7f6ff; }
.home-card-easy h2 { color: #2f6f86; }
.home-card-grown { background: #ffe4ea; }
.home-card-grown h2 { color: #c9435c; }
.home-card-more { background: #e7f8ef; }
.home-card-more h2 { color: #2f7a4e; }
.home-steps {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  max-width: 70%;
}
.home-steps li:not(.step-arrow) {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 78px;
  text-align: center;
  font-family: var(--font);
  font-weight: 800;
  font-size: 0.82rem;
  line-height: 1.2;
}
.step-n {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: #e25b2a;
  font-family: var(--display);
}
.step-arrow { color: #f08a24; font-size: 1.3rem; font-weight: 700; padding-top: 2px; }
.home-card-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  color: #3a2a24;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 650;
  position: relative;
  z-index: 1;
}
.home-card-art {
  position: absolute;
  right: -6px;
  bottom: -8px;
  width: 148px;
  height: auto;
  pointer-events: none;
}
.home-card-art img {
  width: 100%;
  height: auto;
  display: block;
}
.home-card-rainbow { width: 168px; right: 4px; bottom: 4px; }
.home-card-easy .home-card-art { width: 132px; bottom: -16px; }
.home-card-grown .home-card-art { width: 138px; }

@media (max-width: 1180px) {
  .home-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .home-pages { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .home-picks-hosts { grid-template-columns: 1fr; }
  .home-pick-pages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-bottom { grid-template-columns: 1fr; }
  .home-card { min-height: 160px; }
}

@media (max-width: 860px) {
  .topbar { flex-wrap: wrap; min-height: 62px; }
  .menu-toggle { display: inline-flex; order: 2; margin-left: auto; }
  .nav-tools { order: 3; margin-left: 0; }
  .site-search { display: none; }
  .topbar .brand { order: 1; }
  .topbar .brand-logo { height: 40px; }
  .topbar .nav-kids {
    display: none;
    order: 4;
    flex: 1 0 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    border-radius: 18px;
    padding: 8px;
    box-shadow: 0 10px 24px rgba(50, 38, 47, 0.08);
  }
  .topbar .nav-kids.is-open { display: flex; }
  .topbar .nav-kid,
  .topbar .grownup-toggle {
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    padding: 10px 12px;
    font-size: 1.05rem;
  }
  .topbar .nav-kid.is-current,
  .topbar .nav-kid[aria-current="page"] {
    box-shadow: none;
    background: #fff1ea;
    border-radius: 12px;
  }
  .home-hero { padding: 12px 12px 4px; }
  .home-hero-card {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 18px 16px 0;
    border-radius: 26px;
  }
  .home-hero-copy { padding: 0 0 8px; }
  .home-hero-copy h1 { font-size: 1.85rem; }
  .home-hero-copy p { font-size: 0.98rem; }
  .home-hero-art { min-height: 0; }
  .home-hero-art img { width: min(360px, 94%); margin: 0 auto; }
  .home-cats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 14px 12px 4px;
  }
  .home-cat { min-height: 108px; padding: 8px 4px 10px; font-size: 0.75rem; border-radius: 16px; }
  .home-cat img { width: 58px; height: 58px; }
  .home-featured { padding: 14px 12px 4px; }
  .home-featured-head h2 { font-size: 1.35rem; }
  .home-new-pill { margin-left: 0; }
  .home-pages { grid-template-columns: 1fr 1fr; gap: 12px 10px; }
  .home-meet-sticker-wrap { padding: 2px 12px 8px; }
  .home-meet-sticker { font-size: 0.88rem; padding: 4px 12px 4px 5px; }
  .home-picks-hosts { gap: 10px; }
  .home-pick-host { padding: 10px 10px 12px; border-radius: 18px; }
  .home-bottom { padding: 12px 12px 28px; gap: 10px; }
  .home-card { padding-right: 120px; }
  .home-steps { max-width: none; }
  .home-card-art { width: 110px; }
  .home-card-rainbow { width: 120px; }
}

@media (max-width: 640px) {
  .home-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  body.page-color .topbar .nav-kids { display: none; }
  body.page-color .menu-toggle { display: none; }
}

/* Inner pages share the homepage chrome */
body:not(.page-landing):not(.page-color) main {
  max-width: 1180px;
  padding-left: clamp(14px, 2.4vw, 28px);
  padding-right: clamp(14px, 2.4vw, 28px);
}

body:not(.page-landing) {
  background:
    radial-gradient(720px 280px at 0% 0%, rgba(255, 180, 200, 0.18), transparent 60%),
    #fffaf6;
}

.lane-head,
.grownup-head,
.about-hero-simple,
.premium-head-simple,
.auth-simple-heading,
.support-head {
  margin-top: 18px;
  padding: 26px 26px 22px;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffe7f1 0%, #fff7f4 100%);
}

.lane-head h1,
.grownup-head h1,
.about-hero h1,
.premium-head h1,
.auth-simple-heading h1,
.legal-page h1,
.not-found-card h1,
.drawings-head h1,
.gallery-head h1 {
  font-family: var(--display);
  font-weight: 650;
  letter-spacing: -0.03em;
  color: #2b211c;
}

.lane-head h1,
.gallery-head h1,
.drawings-head h1,
.category-detail-head h1 {
  color: #2f6f86;
}

.lane-head .lede,
.grownup-head > p,
.about-hero .lede,
.premium-head .lede,
.auth-simple-heading p {
  font-family: var(--font);
  color: #5c463c;
}

.section-head h2,
.section-title h2,
.about-story h2,
.settings-card h2,
.premium-feature-list strong,
.support-aside strong {
  font-family: var(--display);
  font-weight: 650;
  letter-spacing: -0.02em;
}

.section-head h2,
.section-title h2 {
  color: #2f6f86;
}

.category-section .section-head h2 {
  font-size: 1.65rem;
}

.kid-cat-grid {
  grid-template-columns: repeat(auto-fill, minmax(124px, 1fr));
  gap: 12px;
}

.category-card.category-card-compact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  min-height: 138px;
  padding: 12px 8px 14px;
  border: 0;
  border-radius: 22px;
  text-align: center;
  box-shadow: none;
}

.category-card-compact .category-icon {
  width: 84px;
  height: 84px;
  border-radius: 0;
  background: transparent;
}

.category-card-compact .category-icon img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.category-card-compact .category-card-copy {
  align-items: center;
}

.category-card-compact .category-card-copy strong {
  font-size: 0.98rem;
  line-height: 1.15;
}

.category-card-compact .category-card-copy small {
  font-size: 0.75rem;
  font-weight: 700;
}

.category-card:nth-child(5n + 1) { background: #fff1c9; }
.category-card:nth-child(5n + 2) { background: #ffe3c4; }
.category-card:nth-child(5n + 3) { background: #e5f8df; }
.category-card:nth-child(5n + 4) { background: #f3e7ff; }
.category-card:nth-child(5n) { background: #ffe1e4; }
.category-card-edu { background: #e3f3ff; }

.page-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(160px, 100%), 1fr));
  gap: 16px 12px;
}

.page-card,
.page-card-kids,
.page-card-education,
.page-card-saved,
.page-card-adult {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

.page-card:hover {
  transform: translateY(-3px);
  box-shadow: none;
}

.page-thumb {
  margin: 0;
  border: 2px solid #f4d7cf;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1;
  background: #fff;
  box-shadow: 0 6px 14px rgba(80, 40, 30, 0.05);
}

.page-thumb img,
.thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-card-body {
  align-items: center;
  padding: 8px 4px 0;
}

.page-card-body h3,
.page-card h3 {
  margin: 0;
  padding: 0;
  text-align: center;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;
}

.page-card .btn-small,
.page-card .btn-colour {
  width: auto;
  margin-top: 8px;
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #c9435c;
  font-family: var(--display);
  box-shadow: 0 3px 0 rgba(232, 93, 115, 0.18);
}

.page-card .btn-locked {
  background: #f3e7ff;
  color: #6a4a90;
  box-shadow: none;
}

.settings-card,
.auth-card,
.support-form-card,
.privacy-note,
.not-found-card,
.legal-page,
.member-row,
.premium-feature-list > div,
.studio-banner {
  border-radius: 22px;
  border-color: rgba(232, 93, 115, 0.14);
}

.premium-feature-list {
  display: grid;
  gap: 12px;
}

.premium-feature-list > div {
  background: #fff;
  padding: 16px 18px;
  box-shadow: 0 6px 16px rgba(80, 40, 30, 0.04);
}

.auth-card-simple,
.settings-card,
.support-form-card {
  background: #fff;
  box-shadow: 0 8px 22px rgba(80, 40, 30, 0.05);
}

.auth-form input,
.auth-form select,
.auth-form textarea,
.settings-card input,
.settings-card select,
.settings-card textarea {
  border-radius: 14px;
  border: 2px solid rgba(232, 93, 115, 0.18);
  background: #fffdfb;
}

.profile-chips .chip {
  border-radius: 999px;
  background: #fff;
  border: 2px solid rgba(232, 93, 115, 0.16);
  font-family: var(--display);
}

.profile-chips .chip.is-active {
  background: #ffe08a;
  border-color: #f0b429;
}

.site-foot {
  margin-top: 48px;
}

.foot-inner {
  border: 1px solid rgba(232, 93, 115, 0.12);
  box-shadow: 0 8px 22px rgba(80, 40, 30, 0.04);
}

.foot-group h2,
.foot-legal h2 {
  font-family: var(--display);
  text-transform: none;
  letter-spacing: 0;
  font-size: 1rem;
  color: #c9435c;
}

.category-heading-bubble {
  background: #fff1c9;
  border-radius: 22px;
  transform: none;
}

@media (max-width: 720px) {
  .lane-head,
  .grownup-head,
  .about-hero-simple,
  .premium-head-simple,
  .auth-simple-heading,
  .support-head {
    padding: 18px 16px;
    border-radius: 22px;
  }

  .kid-cat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grownup-grid {
    grid-template-columns: 1fr;
  }
}


/* Footer chrome */
.site-foot {
  margin-top: 56px;
  padding: 8px 16px 32px;
  text-align: left;
  color: #5c463c;
  font-family: "Nunito", var(--font), sans-serif;
}
.foot-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(140px, 0.8fr));
  gap: 26px 32px;
  padding: 28px 28px 24px;
  border-radius: 32px;
  background:
    radial-gradient(260px 140px at 0% 100%, rgba(255, 186, 120, 0.35), transparent 72%),
    radial-gradient(240px 130px at 100% 0%, rgba(255, 150, 168, 0.28), transparent 70%),
    linear-gradient(180deg, #fff8f3 0%, #fff1e6 100%);
  border: 1px solid rgba(232, 93, 115, 0.16);
  box-shadow: 0 10px 24px rgba(196, 80, 70, 0.05);
}
.foot-brand picture { display: block; }
.foot-brand img {
  width: 148px;
  margin-bottom: 10px;
}
.foot-brand p {
  margin: 6px 0;
  max-width: 34ch;
  color: #5c463c;
  font-family: "Nunito", var(--font), sans-serif;
  font-weight: 650;
  font-size: 0.98rem;
  line-height: 1.45;
}
.foot-trust {
  color: #7a655c;
  font-size: 0.84rem;
}
.foot-group h2,
.foot-legal h2 {
  margin: 0 0 10px;
  font-family: "Fredoka", var(--display), sans-serif;
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #e25b4a;
}
.foot-nav {
  display: grid;
  justify-content: start;
  gap: 2px;
  margin: 0;
}
.foot-nav a {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin-left: -10px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #3d2c26;
  font-family: "Fredoka", var(--display), sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.2;
  text-decoration: none;
}
.foot-nav a:hover {
  background: #fff;
  color: #d4531f;
}
.foot-legal {
  margin: 0;
  padding: 0;
  border: 0;
}
@media (max-width: 900px) {
  .foot-inner {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    padding: 22px 18px;
    border-radius: 26px;
  }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .site-foot { padding: 4px 12px 24px; }
  .foot-inner {
    grid-template-columns: 1fr;
    padding: 20px 16px;
    border-radius: 24px;
  }
  .foot-brand { grid-column: auto; }
  .foot-nav a { margin-left: 0; }
}


/* Meet the Little Inks */

body.page-meet {
  background:
    radial-gradient(560px 340px at 0% 0%, rgba(255, 98, 104, 0.16), transparent 62%),
    radial-gradient(520px 300px at 100% 4%, rgba(255, 214, 107, 0.28), transparent 64%),
    linear-gradient(180deg, #fff7f2 0%, #fffaf6 48%, #fff4ec 100%);
}

.meet-page {
  max-width: 1040px;
  margin: 0 auto 56px;
}

.meet-hero {
  max-width: 720px;
  padding: clamp(32px, 6vw, 64px) 0 8px;
}

.meet-hero h1 {
  margin: 8px 0 12px;
  font-family: var(--display);
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.meet-hero .lede {
  margin: 0;
  max-width: 38rem;
  color: var(--ink-soft);
  font-size: 1.12rem;
  line-height: 1.6;
}

.meet-team {
  margin: 22px 0 8px;
}

.meet-team picture { display: block; width: 100%; }
.meet-team img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.meet-heroes {
  margin: 36px 0 12px;
}

.meet-heroes > h2,
.meet-together h2 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.meet-hero-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.meet-hero-grid article {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 20px 20px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(255, 98, 104, 0.16);
  box-shadow: 0 8px 22px rgba(220, 70, 80, 0.06);
}

.meet-hero-grid article:nth-child(1) { background: linear-gradient(180deg, #fff6f2 0%, #fff 42%); }
.meet-hero-grid article:nth-child(2) { background: linear-gradient(180deg, #fff4fb 0%, #fff 42%); }
.meet-hero-grid article:nth-child(3) { background: linear-gradient(180deg, #f3fbff 0%, #fff 42%); }

.meet-role {
  margin: 0;
  color: var(--brand-deep);
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 700;
}

.meet-hero-grid h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.7rem;
}

.meet-hero-grid p {
  margin: 0 0 8px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.meet-hero-grid .btn {
  margin-top: auto;
  align-self: flex-start;
}

.meet-together {
  margin-top: 28px;
  padding: 26px 24px;
  border-radius: 28px;
  background: linear-gradient(135deg, #fff3e4 0%, #ffe8e4 55%, #fff7d4 100%);
}

.meet-together p {
  margin: 0 0 16px;
  max-width: 36rem;
  color: var(--ink-soft);
}

@media (max-width: 800px) {
  .meet-hero-grid {
    grid-template-columns: 1fr;
  }
}

/* Home Screen install tip — grown-up, dismissible, never over the canvas. */

.pwa-tip {
  position: fixed;
  left: max(12px, env(safe-area-inset-left));
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  padding: 14px 16px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(255, 98, 104, 0.22);
  box-shadow: 0 12px 28px rgba(220, 70, 80, 0.16);
  color: var(--ink);
}

.pwa-tip[hidden] {
  display: none;
}

.pwa-tip-message {
  margin: 0;
  flex: 1 1 16rem;
  font-size: 0.95rem;
  line-height: 1.45;
}

.pwa-tip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pwa-tip-install,
.pwa-tip-dismiss {
  appearance: none;
  border-radius: 999px;
  padding: 8px 16px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.pwa-tip-install {
  background: var(--brand);
  border: 1px solid var(--brand-deep);
  color: #fff;
}

.pwa-tip-install:hover {
  background: var(--brand-deep);
}

.pwa-tip-dismiss {
  background: #fff;
  border: 1px solid rgba(50, 38, 47, 0.16);
  color: var(--ink);
}

.pwa-tip-dismiss:hover {
  background: var(--rose-soft);
}

body.page-color .pwa-tip,
body.page-canvas .pwa-tip {
  display: none;
}

.page-offline {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.offline-card {
  margin: 0;
}

.offline-mark {
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
}
