/* ==========================================================================
   kai — landing page styles
   Fonts: Fredoka (display/round) + Hanken Grotesk (text) via Google Fonts
   ========================================================================== */

:root {
  --pink: #FA3C78;
  --pink-dk: #E11E5E;
  --ink: #16110F;
  --cream: #F2EADD;
  --cream-2: #EFE5D6;
  --stick-bg: #16110F;
  --stick-fg: #FBF5EA;
  --muted: rgba(22, 17, 15, .62);
  --faint: rgba(22, 17, 15, .45);
  --round: 'Fredoka', sans-serif;
  --text: 'Hanken Grotesk', sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--text);
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

a { color: inherit; text-decoration: none; }

/* film grain overlay */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* keyline frame — bounds the full content (absolute, so it grows with the page
   and never slices scrolling content) and is capped to the content width. */
.frame {
  position: absolute; top: 18px; bottom: 18px; left: 18px; right: 18px;
  max-width: 1316px; margin: 0 auto;
  border: 1.5px solid rgba(22, 17, 15, .16);
  border-radius: 28px; pointer-events: none; z-index: 50;
}

.page { max-width: 1280px; margin: 0 auto; padding: 0 clamp(24px, 5vw, 64px); position: relative; }

/* ---- nav ---- */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(26px, 4vw, 44px) 0 0;
}
.nav .logo { height: clamp(30px, 4vw, 38px); width: auto; display: block; }

/* ---- sticker pill ---- */
.sticker {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--stick-bg); color: var(--stick-fg);
  font-family: var(--round); font-weight: 600; line-height: 1;
  border-radius: 13px; white-space: nowrap; letter-spacing: .005em;
  border: none; cursor: pointer;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); display: inline-block; }

/* ---- hero ---- */
.hero {
  display: flex; align-items: center; gap: clamp(36px, 5vw, 64px);
  padding: clamp(36px, 5vw, 56px) 0 clamp(48px, 6vw, 72px);
}
.copy { flex: 1 1 0; min-width: 0; }
.visual { flex: 1 1 0; min-width: 0; display: flex; align-items: center; justify-content: center; position: relative; }

.eyebrow { font-size: 15px; padding: 9px 15px; transform: rotate(-2deg); margin-bottom: 26px; }

h1 {
  font-family: var(--round); font-weight: 600;
  font-size: clamp(48px, 6.4vw, 80px); line-height: .95;
  letter-spacing: -.02em; margin: 0; text-transform: lowercase;
}
h1 .pink { color: var(--pink); }

.lede {
  font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: var(--muted);
  margin: 22px 0 0; max-width: 440px; font-weight: 450;
}

/* ---- store badges ---- */
.badges { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: #fff; border-radius: 15px;
  padding: 11px 18px 11px 16px; cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease;
  box-shadow: 0 12px 28px -16px rgba(22, 17, 15, .55);
}
.badge:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -16px rgba(22, 17, 15, .55); }
.badge svg { display: block; flex: none; }
.badge .b-txt { font-family: var(--text); line-height: 1; text-align: left; }
.badge .b-txt small { display: block; font-size: 11px; font-weight: 500; color: rgba(255, 255, 255, .78); margin-bottom: 3px; letter-spacing: .01em; white-space: nowrap; }
.badge .b-txt b { font-size: 20px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }

.micro {
  margin-top: 20px; font-family: var(--text); font-size: 14px; font-weight: 600;
  color: var(--faint); text-transform: lowercase;
  display: flex; align-items: center; gap: 9px; white-space: nowrap;
}
.micro .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--ink); opacity: .45; }

/* ---- photo card ---- */
.photo-card {
  position: relative; width: 100%; max-width: 480px; aspect-ratio: 4 / 5;
  border-radius: 30px; overflow: hidden; transform: rotate(1.6deg);
  box-shadow: 0 38px 72px -30px rgba(22, 17, 15, .45); border: 6px solid #fff;
}
.photo-card img.shot { width: 100%; height: 100%; object-fit: cover; object-position: 15% 24%; display: block; }

.reward {
  position: absolute; bottom: 34px; left: -10px; z-index: 3;
  font-size: 17px; padding: 11px 16px; transform: rotate(-3deg);
  box-shadow: 0 14px 26px -12px rgba(22, 17, 15, .5);
}
.reward .mid { color: var(--pink); }

.mascot-peek {
  position: absolute; bottom: -22px; right: -14px; width: 116px; z-index: 5;
  transform: rotate(8deg); filter: drop-shadow(0 15px 24px rgba(225, 30, 94, .32));
}

/* ---- footer ---- */
footer {
  border-top: 1.5px solid rgba(22, 17, 15, .14);
  margin-top: clamp(20px, 4vw, 40px);
  padding: 26px 0 clamp(34px, 5vw, 46px);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
footer .f-left { display: flex; align-items: center; gap: 14px; }
footer .f-wordmark { height: 22px; width: auto; }
footer .f-copy { font-size: 13px; color: var(--faint); font-weight: 500; }
footer nav { display: flex; gap: 22px; }
footer nav a { font-size: 14px; font-weight: 600; color: var(--muted); transition: color .15s ease; text-transform: lowercase; }
footer nav a:hover { color: var(--pink); }

/* ---- responsive ---- */
@media (max-width: 940px) {
  .hero { flex-direction: column; align-items: stretch; gap: 4px; padding-top: 24px; text-align: left; }
  .visual { order: -1; margin-bottom: 30px; }
  .copy { display: block; }
  h1 { line-height: 1.0; margin-bottom: 0; }
  .lede { margin-top: 18px; }
  .photo-card { max-width: 380px; }
  .badges { margin-top: 28px; }
}
@media (max-width: 560px) {
  .frame { inset: 10px; border-radius: 20px; }
  .nav { justify-content: center; padding-top: 22px; }
  h1 { font-size: clamp(38px, 11.5vw, 52px); line-height: 1.02; }
  .lede { font-size: 17px; }
  .photo-card { max-width: 100%; }
  .visual { margin-bottom: 26px; }
  .badges { width: 100%; }
  .badge { flex: 1 1 160px; justify-content: center; }
  .mascot-peek { width: 92px; bottom: -16px; right: -6px; }
  footer { justify-content: center; text-align: center; }
  footer .f-left { flex-direction: column; gap: 8px; }
}


/* ==========================================================================
   SUB-PAGES (privacy / terms / support) — merged from pages.css
   ========================================================================== */

/* sub-page wrapper: plain block so each page is exactly its content height
   (the outline caps to content). .page children center at max-width 1280 like
   the home page, keeping logo/content/footer aligned at the same left margin. */
.subpage { position: relative; }

/* ---- shared header link (logo → home); markup uses landing's .nav so the
   header is byte-identical across every page, including responsive rules ---- */
.home-link { display: inline-flex; align-items: center; transition: opacity .15s ease; }
.home-link:hover { opacity: .62; }

/* ---- document layout (fills the full 1280 .page width, like home) ---- */
.doc { max-width: none; margin: 0; padding: clamp(36px, 6vw, 64px) 0 clamp(48px, 7vw, 80px); }
.doc-eyebrow { font-size: 14px; padding: 8px 14px; transform: rotate(-2deg); display: inline-flex; }
.doc h1 {
  font-family: var(--round); font-weight: 600;
  font-size: clamp(40px, 6vw, 64px); line-height: .98; letter-spacing: -.02em;
  margin: 22px 0 0; text-transform: lowercase; color: var(--ink);
}
.doc h1 .pink { color: var(--pink); }
.doc-meta { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--faint); }

/* prose */
.prose { margin-top: clamp(32px, 4vw, 44px); }
.prose section { margin-top: 38px; }
.prose section:first-child { margin-top: 0; }
.prose h2 {
  font-family: var(--round); font-weight: 600; font-size: 24px;
  letter-spacing: -.01em; color: var(--ink); margin: 0 0 12px;
  display: flex; align-items: baseline; gap: 12px;
}
.prose h2 .num { font-size: 15px; font-weight: 600; color: var(--pink); font-family: var(--text); flex: none; min-width: 26px; }
.prose p { font-size: 17px; line-height: 1.62; color: rgba(22, 17, 15, .76); margin: 0 0 14px; }
.prose p:last-child { margin-bottom: 0; }
.prose ul { margin: 0 0 14px; padding-left: 22px; }
.prose li { font-size: 17px; line-height: 1.62; color: rgba(22, 17, 15, .76); margin-bottom: 8px; }
.prose li::marker { color: var(--pink); }
.prose a { color: var(--pink-dk); font-weight: 600; }
.prose a:hover { text-decoration: underline; }
.prose strong { font-weight: 700; color: var(--ink); }

/* table of contents */
.toc {
  margin-top: clamp(28px, 4vw, 38px); padding: 22px 24px;
  border: 1.5px solid rgba(22, 17, 15, .12); border-radius: 18px;
}
.toc h3 { font-family: var(--round); font-weight: 600; font-size: 14px; margin: 0 0 14px; color: var(--faint); text-transform: lowercase; letter-spacing: .02em; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.toc li { margin-bottom: 8px; break-inside: avoid; }
.toc a { font-size: 15px; font-weight: 500; color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--pink); }

/* ---- support page (content centered within the full-width .page) ---- */
.support-hero { max-width: 720px; margin: 0 auto; padding: clamp(48px, 9vw, 110px) 0 clamp(40px, 6vw, 64px); text-align: center; }
.support-hero .doc-eyebrow { transform: rotate(-2deg); }
.support-hero h1 {
  font-family: var(--round); font-weight: 600;
  font-size: clamp(48px, 8vw, 80px); line-height: .96; letter-spacing: -.02em;
  margin: 22px 0 0; text-transform: lowercase; color: var(--ink);
}
.support-hero h1 .pink { color: var(--pink); }
.support-hero .lede { font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--muted); margin: 20px auto 0; max-width: 460px; font-weight: 450; }

.support-card {
  margin: clamp(34px, 5vw, 48px) auto 0; max-width: 460px;
  background: #fff; border-radius: 24px; padding: 34px 30px;
  box-shadow: 0 30px 64px -34px rgba(22, 17, 15, .4);
  text-align: center;
}
.support-card .label { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); }
.support-card .email {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 14px;
  font-family: var(--round); font-weight: 600; font-size: clamp(20px, 2.6vw, 26px);
  color: var(--ink); transition: color .15s ease; white-space: nowrap;
}
.support-card .email:hover { color: var(--pink); }
.support-card .reply { margin-top: 12px; font-size: 14px; color: var(--muted); font-weight: 500; }

/* ---- responsive ---- */
@media (max-width: 560px) {
  .toc ol { columns: 1; }
  .prose h2 { font-size: 21px; gap: 10px; }
  .prose p, .prose li { font-size: 16px; }
}
