/* The landing pages' stylesheet. The same clay as the shop (see DESIGN.md and the
   tokens at the top of index.html): cream table, rounded pastel slabs, keycap
   buttons, Archivo with Baloo 2 on the keys. The shop itself keeps its styles
   inline; these pages are small and share this one file instead. */

:root{
  --cream:#F6F1EA; --white:#FFFDF9; --ink:#1B1917; --ink-2:#5F594F; --rule:#E3DACB;
  --mint:#CFE8DD; --pink:#F6D3D6; --butter:#F8E7AE; --lilac:#DED5F2; --sky:#D3E3F3;
  --signal:#E8562A; --signal-deep:#C03E18;
  --wa:#25D366; --wa-ink:#0B3D1F;
  --r-slab:28px; --r-card:20px; --r-btn:14px; --r-input:14px;
  --clay: inset 0 2px 0 rgba(255,255,255,.65), inset 0 -3px 0 rgba(0,0,0,.05), 0 18px 36px -18px rgba(60,45,25,.28);
  --clay-thin: inset 0 1px 0 rgba(255,255,255,.7), inset 0 -2px 0 rgba(0,0,0,.05), 0 8px 18px -10px rgba(60,45,25,.22);
  --key: inset 0 2px 0 rgba(255,255,255,.7), inset 0 -3px 0 rgba(0,0,0,.08), 0 4px 0 rgba(60,45,25,.16);
  --key-down: inset 0 2px 0 rgba(255,255,255,.5), inset 0 -1px 0 rgba(0,0,0,.08), 0 1px 0 rgba(60,45,25,.16);
  --key-ink: inset 0 2px 0 rgba(255,255,255,.18), inset 0 -3px 0 rgba(0,0,0,.35), 0 4px 0 rgba(0,0,0,.35);
  --key-ink-down: inset 0 2px 0 rgba(255,255,255,.12), inset 0 -1px 0 rgba(0,0,0,.35), 0 1px 0 rgba(0,0,0,.35);
  --font:'Archivo',sans-serif; --font-cap:'Baloo 2',sans-serif;
}
*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{ background:var(--cream); color:var(--ink); font-family:var(--font); font-size:16px; line-height:1.55; -webkit-font-smoothing:antialiased; overflow-x:hidden; }
::selection{ background:var(--signal-deep); color:#fff; }
button,input{ font-family:inherit; }
:focus-visible{ outline:3px solid var(--signal); outline-offset:3px; border-radius:6px; }
[hidden]{ display:none !important; }

/* ---------- layout ---------- */
.wrap{ max-width:1180px; margin:0 auto; padding:0 28px; }
.slab{ margin:12px 12px 0; border-radius:var(--r-slab); padding:clamp(40px,6vw,88px) 0; }
.slab--mint{ background:var(--mint); box-shadow:var(--clay); }
.slab--pink{ background:var(--pink); box-shadow:var(--clay); }
.slab--white{ background:var(--white); box-shadow:var(--clay); }
.slab--lilac{ background:var(--lilac); box-shadow:var(--clay); }
.slab--sky{ background:var(--sky); box-shadow:var(--clay); }
.sec{ padding:clamp(40px,6vw,88px) 0 0; }
h1,h2,h3{ text-wrap:balance; }
h2.section-title{ font-weight:900; font-size:clamp(30px,4vw,48px); line-height:1.02; letter-spacing:-.02em; margin:0 0 12px; }
.section-body{ font-size:17px; color:var(--ink-2); max-width:56ch; }
.section-body p{ margin:0 0 14px; }
.section-body p b, .prose b{ color:var(--ink); }
.section-body a, .prose a{ color:var(--ink); font-weight:600; text-decoration:underline; text-underline-offset:3px; }
.prose{ font-size:17px; color:var(--ink-2); max-width:60ch; }
.prose p{ margin:0 0 14px; }
.prose h3{ color:var(--ink); font-size:20px; font-weight:800; margin:26px 0 8px; }
.prose ul{ padding-left:22px; margin:0 0 14px; }
.two{ display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); gap:clamp(24px,4vw,64px); align-items:start; }
@media(max-width:820px){ .two{ grid-template-columns:minmax(0,1fr); } }

/* ---------- buttons: keycaps ---------- */
.cta-btn,.nav-cart,.ghost-btn{ border:0; cursor:pointer; font-weight:600; border-radius:var(--r-btn); text-decoration:none; display:inline-flex; align-items:center; justify-content:center; gap:8px; transition:transform .08s ease, box-shadow .08s ease, background .15s; }
.cta-btn,.nav-cart{ background:var(--ink); color:#fff; box-shadow:var(--key-ink); }
.cta-btn:hover,.nav-cart:hover{ background:#2A2724; }
.cta-btn:active,.nav-cart:active{ transform:translateY(3px); box-shadow:var(--key-ink-down); }
.ghost-btn{ background:var(--white); color:var(--ink); box-shadow:var(--key); }
.ghost-btn:active{ transform:translateY(3px); box-shadow:var(--key-down); }
.cta-btn{ padding:16px 22px; min-height:54px; font-size:16px; }
.ghost-btn{ padding:12px 18px; min-height:44px; font-size:15px; }
.wa-btn{ background:var(--wa); color:var(--wa-ink); box-shadow:var(--key); }
.wa-btn:hover{ background:#2ee27a; }

/* ---------- nav ---------- */
header.top-wrap{ padding-top:6px; }
nav.top{ display:flex; align-items:center; justify-content:space-between; gap:20px; padding:16px 0; }
.logo{ font-weight:900; font-size:22px; letter-spacing:-.02em; display:flex; align-items:center; gap:9px; color:var(--ink); text-decoration:none; }
.logo--keys{ flex-direction:column; align-items:flex-start; gap:6px; font-size:26px; }
.logo-keys{ display:inline-flex; gap:.1em; }
.logo-keys .hk{ font-size:.8em; width:1.35em; height:1.35em; border-radius:.26em; }
@media(max-width:640px){ .logo--keys{ font-size:24px; } }
.logo-by{ font-size:10.5px; font-weight:600; color:var(--ink-2); margin-top:4px; white-space:nowrap; }
.logo-dot{ width:14px; height:14px; border-radius:5px; background:var(--signal); box-shadow:inset 0 2px 0 rgba(255,255,255,.35), inset 0 -2px 0 rgba(0,0,0,.18); }
.nav-links{ display:flex; gap:clamp(2px,.8vw,10px); font-size:15px; font-weight:600; }
.nav-links a{ position:relative; z-index:0; color:var(--ink-2); text-decoration:none; padding:8px 11px; border-radius:10px; transition:color .15s, transform .12s; }
.nav-links a::before{ content:''; position:absolute; inset:0; z-index:-1; border-radius:10px; background:var(--nk,var(--pink)); box-shadow:var(--key); opacity:0; transform:translateY(5px) scale(.88); transition:opacity .14s, transform .2s cubic-bezier(.2,.9,.3,1.25); }
.nav-links a:nth-child(5n+1){ --nk:var(--pink); } .nav-links a:nth-child(5n+2){ --nk:var(--butter); } .nav-links a:nth-child(5n+3){ --nk:var(--lilac); } .nav-links a:nth-child(5n+4){ --nk:var(--sky); } .nav-links a:nth-child(5n+5){ --nk:var(--mint); }
@media(hover:hover){ .nav-links a:hover{ color:var(--ink); transform:translateY(-1px); } .nav-links a:hover::before{ opacity:1; transform:none; } }
.nav-links a:focus-visible{ outline:none; color:var(--ink); }
.nav-links a:focus-visible::before{ opacity:1; transform:none; box-shadow:var(--key), 0 0 0 3px var(--ink); }
.nav-links a:active{ transform:translateY(2px); color:var(--ink); }
.nav-links a:active::before{ opacity:1; transform:none; box-shadow:var(--key-down); }
.nav-links a[aria-current="page"]{ color:var(--ink); }
.nav-cart{ font-size:15px; padding:12px 18px; }
@media(max-width:760px){
  nav.top{ flex-wrap:wrap; padding:12px 0 0; }
  .nav-links{ order:3; width:100%; justify-content:space-between; gap:6px; padding:8px 0 10px; }
  .nav-links a{ min-height:44px; display:inline-flex; align-items:center; }
}

/* ---------- keycaps as type ---------- */
.hero-keys{ display:inline-flex; gap:.07em; vertical-align:-.04em; flex-wrap:wrap; }
.hk{
  display:inline-grid; place-items:center; width:1.02em; height:1.02em; border-radius:.22em;
  background:var(--kc,#E27D8B); color:#fff; font-family:var(--font-cap); font-size:.8em; line-height:1;
  text-shadow:0 .03em .04em rgba(0,0,0,.28);
  box-shadow:inset 0 .06em 0 rgba(255,255,255,.34), inset 0 -.09em 0 rgba(0,0,0,.18), 0 .08em 0 rgba(0,0,0,.24);
  user-select:none; transition:transform .1s, box-shadow .1s; font-variant-emoji:text;
}
.hk:hover{ transform:translateY(.07em); box-shadow:inset 0 .06em 0 rgba(255,255,255,.22), inset 0 -.03em 0 rgba(0,0,0,.18), 0 .01em 0 rgba(0,0,0,.24); }

/* ---------- the top of every landing page ---------- */
.hero{ display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); gap:clamp(24px,4vw,56px); align-items:center; }
@media(max-width:900px){ .hero{ grid-template-columns:minmax(0,1fr); } }
h1.hero-title{ font-weight:900; font-size:clamp(36px,5.2vw,68px); line-height:1; letter-spacing:-.03em; margin:0 0 14px; }
h1.hero-title .hk{ color:#fff; }
.hero-sub{ font-size:clamp(16px,1.4vw,18px); line-height:1.5; color:var(--ink-2); max-width:54ch; margin:0 0 18px; }
.facts{ display:flex; flex-wrap:wrap; gap:8px; margin:0; padding:0; list-style:none; }
.fact{ display:inline-flex; align-items:baseline; gap:6px; color:var(--ink); background:var(--white); border-radius:12px; padding:9px 12px; min-height:36px; font-size:13px; font-weight:500; box-shadow:var(--key); }
.fact b{ font-weight:900; font-size:15px; letter-spacing:-.01em; }
.facts .fact:nth-child(4n+1){ background:var(--pink); } .facts .fact:nth-child(4n+2){ background:var(--butter); } .facts .fact:nth-child(4n+3){ background:var(--lilac); } .facts .fact:nth-child(4n+4){ background:var(--sky); }

/* The name box: the product doing the selling. Type, watch the keys appear,
   press the black key and land in the builder with the name already typed. */
.namebox{ background:var(--white); border-radius:var(--r-card); box-shadow:var(--clay); padding:clamp(18px,2.6vw,28px); display:flex; flex-direction:column; gap:14px; }
.namebox label{ font-weight:600; font-size:15px; }
.namebox input{ width:100%; font-size:18px; font-weight:600; padding:14px 16px; border:0; border-radius:var(--r-input); background:var(--cream); box-shadow:inset 0 2px 0 rgba(0,0,0,.06), inset 0 -1px 0 rgba(255,255,255,.8); letter-spacing:.04em; text-transform:uppercase; }
.namebox input::placeholder{ text-transform:none; letter-spacing:0; font-weight:500; color:var(--ink-2); }
.name-keys{ display:flex; flex-wrap:wrap; gap:.12em; font-size:clamp(34px,6vw,54px); min-height:1.2em; }
.name-keys .hk{ font-size:.82em; }
.name-keys .hk--blank{ background:var(--cream); color:var(--ink-2); box-shadow:inset 0 .06em 0 rgba(255,255,255,.7), inset 0 -.09em 0 rgba(0,0,0,.06), 0 .08em 0 rgba(60,45,25,.12); text-shadow:none; }
.price-line{ font-size:15px; color:var(--ink-2); margin:0; }
.price-line b{ color:var(--ink); font-size:18px; }
.namebox .cta-btn{ width:100%; }
.namebox small{ font-size:13px; color:var(--ink-2); }

/* ---------- three reasons, as pastel tiles ---------- */
.tiles{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:0; padding:0; list-style:none; }
@media(max-width:760px){ .tiles{ grid-template-columns:minmax(0,1fr); } }
.tile{ border-radius:var(--r-card); padding:clamp(18px,2.4vw,26px); box-shadow:var(--clay-thin); display:flex; flex-direction:column; gap:8px; }
.tile:nth-child(3n+1){ background:var(--butter); } .tile:nth-child(3n+2){ background:var(--pink); } .tile:nth-child(3n+3){ background:var(--sky); }
.tile b{ font-size:18px; font-weight:800; line-height:1.2; }
.tile span{ font-size:15px; color:var(--ink-2); }

/* ---------- photographs, from the same slides the shop shows ---------- */
.photos{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
@media(max-width:640px){ .photos{ grid-template-columns:minmax(0,1fr); } }
.ph{ position:relative; aspect-ratio:4/3; border-radius:var(--r-card); overflow:hidden; background:var(--white); box-shadow:var(--clay-thin); }
.ph img{ width:100%; height:100%; object-fit:cover; display:block; }
.ph-cap{ position:absolute; left:12px; bottom:12px; margin:0; max-width:calc(100% - 24px); background:rgba(255,253,249,.92); color:var(--ink); font-size:12.5px; font-weight:600; padding:6px 10px; border-radius:9px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.people{ display:flex; gap:12px; overflow-x:auto; padding:2px 0 8px; scrollbar-width:none; }
.people .ph{ flex:none; width:min(260px,70vw); aspect-ratio:3/4; }

/* ---------- a review, only when there is a real one ---------- */
.review-card{ background:var(--white); border-radius:var(--r-card); box-shadow:var(--clay-thin); padding:26px 24px 22px; max-width:56ch; }
.review-quote{ font-size:17px; line-height:1.5; margin:0 0 14px; font-weight:500; }
.review-name{ font-size:14px; color:var(--ink-2); font-weight:600; }

/* ---------- delivery ---------- */
.rates{ background:var(--white); border-radius:var(--r-card); box-shadow:var(--clay); padding:clamp(18px,2.4vw,26px); display:flex; flex-direction:column; gap:12px; margin:0; }
.rates div{ display:flex; justify-content:space-between; gap:16px; align-items:baseline; border-bottom:1px solid var(--rule); padding-bottom:10px; }
.rates div:last-child{ border-bottom:0; padding-bottom:0; }
.rates dt{ font-weight:600; font-size:15px; }
.rates dd{ margin:0; font-weight:800; font-size:16px; white-space:nowrap; font-variant-numeric:tabular-nums; }

/* ---------- faq ---------- */
.faq{ background:var(--white); border-radius:var(--r-card); box-shadow:var(--clay); padding:6px clamp(18px,2.6vw,30px); }
.faq-item{ border-bottom:1px solid var(--rule); }
.faq-item:last-child{ border-bottom:0; }
.faq-item summary{ display:flex; align-items:center; gap:16px; cursor:pointer; list-style:none; padding:18px 0; font-size:clamp(16px,1.7vw,19px); font-weight:600; min-height:44px; }
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{ content:'+'; margin-left:auto; font-weight:400; font-size:22px; color:var(--ink-2); }
.faq-item[open] summary::after{ content:'\2013'; }
.faq-a{ padding:0 0 20px; max-width:64ch; }
.faq-a p,.faq-a li{ margin:0 0 12px; font-size:15.5px; color:var(--ink-2); }
.faq-a ul{ padding-left:20px; margin:0 0 12px; }
.faq-a a{ color:var(--ink); font-weight:600; }

/* ---------- the end of the page ---------- */
.cta-row{ display:flex; flex-wrap:wrap; gap:12px; align-items:center; }
.more-links{ display:flex; flex-wrap:wrap; gap:8px 22px; font-size:15px; font-weight:600; margin:18px 0 0; padding:0; list-style:none; }
.more-links a{ color:var(--ink-2); text-decoration:none; min-height:44px; display:inline-flex; align-items:center; }
.more-links a:hover{ color:var(--ink); }

/* ---------- footer ---------- */
footer{ padding:36px 0 44px; display:flex; align-items:flex-start; justify-content:space-between; flex-wrap:wrap; gap:18px 32px; }
.footer-note{ font-size:13px; color:var(--ink-2); margin-top:4px; }
.footer-links{ display:flex; flex-wrap:wrap; gap:8px 22px; font-size:15px; font-weight:600; max-width:640px; }
.footer-links a{ color:var(--ink-2); text-decoration:none; min-height:44px; display:inline-flex; align-items:center; }
.footer-links a:hover{ color:var(--ink); }
.footer-fine{ width:100%; font-size:13px; color:var(--ink-2); max-width:70ch; margin:0; }

/* ---------- phones: the smaller register ---------- */
@media(max-width:640px){
  .wrap{ padding:0 18px; }
  .slab{ margin:8px 8px 0; border-radius:22px; padding:clamp(28px,7vw,48px) 0; }
  body{ font-size:15px; line-height:1.5; }
  h2.section-title{ font-size:clamp(25px,6.8vw,30px); margin-bottom:8px; }
  .section-body,.prose{ font-size:16px; }
  .faq-item summary{ font-size:15.5px; padding:14px 0; }
  .faq-a p,.faq-a li{ font-size:14px; }
  .footer-links{ font-size:14px; gap:4px 18px; } .footer-fine{ font-size:12.5px; }
  .tile b{ font-size:17px; } .tile span{ font-size:14px; }
}
@media(prefers-reduced-motion:reduce){ html{ scroll-behavior:auto; } *{ transition:none !important; } }
