/* Colours from the Instagram profile picture: blue door, ginger cat, stone patio. */
:root {
  --door: #1d586f;
  --door-dark: #133d4e;
  --ginger: #e8963c;
  --ginger-dark: #b8681a;
  --bg: #fbf4ea;
  --surface: #ffffff;
  --border: #eadfcf;
  --ink: #1d2a30;
  --muted: #5f6a6e;
  --radius: 18px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 1rem/1.55 Figtree, system-ui, sans-serif; }
p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: Gabarito, Figtree, sans-serif; letter-spacing: -0.02em; margin: 0; line-height: 1.05; }
h1 { font-size: clamp(2.3rem, 1.6rem + 3vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); font-weight: 700; }
:focus-visible { outline: 3px solid var(--ginger); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
[hidden] { display: none !important; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px; border-radius: 14px; border: 0; font: 600 .98rem/1 Figtree, sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .15s ease, background-color .15s ease; }
.btn:active { transform: scale(.98); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-amazon { background: var(--door); color: #fff; }
.btn-amazon:hover { background: var(--door-dark); }
.btn-ml { background: #ffe600; color: #2d3277; }
.btn:disabled { opacity: .6; cursor: progress; }

/* Profile chip, like the Instagram header */
.profile { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.profile img { border-radius: 50%; box-shadow: 0 0 0 2px var(--ginger); }
.profile strong { display: block; font: 700 1rem/1.2 Gabarito, sans-serif; }
.profile small { display: block; font-size: .85rem; opacity: .8; }
.profile-dark { color: var(--ink); }

/* Header: a compact Instagram-style profile on the blue door colour */
.head { background: var(--door); color: #fff; }
.head-inner { max-width: 1120px; margin: 0 auto; padding: 20px var(--gutter) 24px; }
.head h1 { color: #fff; margin-top: 18px; font-size: clamp(1.9rem, 1.5rem + 2vw, 3rem); }
.lead { margin-top: 8px; font-size: 1.05rem; color: #d3e3e9; max-width: 44ch; }
main { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }

.filters { position: sticky; top: 0; z-index: 5; display: flex; gap: 8px; padding: 12px 0; margin: 0 calc(-1 * var(--gutter)); padding-inline: var(--gutter); background: var(--bg); overflow-x: auto; scrollbar-width: none; }
.chip { flex: none; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--ink); font: 600 .95rem Figtree, sans-serif; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ginger); border-color: var(--ginger); }

/* Products: icon or photo on the left, the problem it solves, then the two stores */
.products { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.product { display: grid; grid-template-columns: 64px 1fr; gap: 12px 14px; align-content: start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; scroll-margin: 80px; }
.product.is-fav { border-color: var(--ginger); }
.product:target { outline: 3px solid var(--ginger); outline-offset: 2px; }
.product-media { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; overflow: hidden; background: color-mix(in srgb, var(--c) 13%, #fff); color: var(--c); }
.product-media svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.product-tag, .fav { padding: 3px 9px; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.product-tag { background: color-mix(in srgb, var(--c) 13%, #fff); color: color-mix(in srgb, var(--c) 70%, #1d2a30); }
.fav { background: var(--ginger); color: var(--ink); }
.product h3 { margin-top: 6px; font-size: 1.1rem; line-height: 1.2; }
.product p { margin-top: 4px; color: var(--muted); font-size: .95rem; }
.product-buy { grid-column: 1 / -1; align-self: end; }
.buy-label { display: block; margin-bottom: 6px; color: var(--muted); font-size: .8rem; font-weight: 600; }
.product-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }.disclosure { margin-top: 22px; color: var(--muted); font-size: .88rem; max-width: 70ch; }

/* App: ginger block */
.app { display: grid; gap: 28px; margin: 56px 0 0; padding: 28px 20px; border-radius: 26px; background: var(--ginger); color: var(--ink); }
.app h2 { margin-top: 6px; }
.app-copy > p:not(.eyebrow) { margin-top: 12px; max-width: 46ch; }
.eyebrow { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: .85rem; }
.wait { margin-top: 20px; max-width: 520px; }
.wait-row { display: flex; flex-wrap: wrap; gap: 10px; }
.wait-row input[type=email] { flex: 1 1 220px; min-height: 52px; padding: 0 16px; border-radius: 14px; border: 0; background: #fff; color: var(--ink); font: 500 1rem Figtree, sans-serif; }
.wait-row .btn { flex: 1 1 auto; min-height: 52px; }
.wait-msg { min-height: 1.5em; margin-top: 10px; font-weight: 700; }
.wait-note { font-size: .88rem; }
.app-link { display: inline-block; margin-top: 18px; color: var(--ink); font-weight: 700; }
.app-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; align-content: center; }
.app-points li { padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .55); }
.app-points strong { display: block; font-family: Gabarito, sans-serif; font-size: 1.1rem; }

.foot { max-width: 1120px; margin: 0 auto; padding: 32px var(--gutter) 40px; }

@media (min-width: 880px) {
  .app { grid-template-columns: 1.1fr .9fr; gap: 56px; padding: 52px 56px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
