/* Jikovo holding page. One token source: change colours only here. */
@font-face { font-family: "Unbounded"; src: url("/assets/fonts/unbounded.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  --green: #0C3B2E;   /* kanga green, the page's frame */
  --leaf: #2F8F5B;    /* spring onion */
  --saffron: #F3B23A; /* warm light in the photo */
  --amber: #B8560F;   /* pilau grain, used for price */
  --plate: #FFFFFF;
  --mist: #EEF2EE;    /* cool grey-green ground, not cream */
  --ink: #14241D;
  --muted: #4C5E55;
  --display: "Unbounded", system-ui, sans-serif;
  --text: "Figtree", system-ui, sans-serif;
  --gutter: max(16px, env(safe-area-inset-left));
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.nb { white-space: nowrap; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; border-radius: 2px; }

/* Kanga border: saffron zigzag on green, drawn in CSS so it costs no bytes of image. */
.kanga {
  height: 22px;
  background:
    linear-gradient(135deg, var(--saffron) 25%, transparent 25%) 0 0 / 22px 22px,
    linear-gradient(225deg, var(--saffron) 25%, transparent 25%) 0 0 / 22px 22px,
    var(--green);
  border-bottom: 4px solid var(--leaf);
}
footer .kanga { border-bottom: 0; border-top: 4px solid var(--leaf); transform: scaleY(-1); }

.bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--gutter);
  max-width: 1200px; margin: 0 auto;
}
.wordmark { font: 700 1.6rem/1 var(--display); color: var(--green); letter-spacing: -0.03em; }
.status {
  font-weight: 600; font-size: 0.9rem; color: var(--green);
  background: var(--plate); border: 1.5px solid var(--green); border-radius: 999px; padding: 6px 12px;
}

main { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter) 64px; }

.hero { display: grid; gap: 28px; padding-top: 12px; }
.hero h1 { font-size: clamp(2.3rem, 9vw, 4.4rem); font-weight: 700; color: var(--green); max-width: 12ch; }
.lede { margin-top: 18px; font-size: 1.15rem; color: var(--muted); max-width: 36ch; }
.price { margin-top: 22px; font-size: 1.05rem; color: var(--muted); }
.price strong { font: 700 1.9rem/1 var(--display); color: var(--amber); margin-right: 6px; }
.hero-photo img {
  display: block; width: 100%; height: auto; aspect-ratio: 1280 / 803; object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 2px 4px rgb(12 59 46 / 0.10), 0 24px 48px -12px rgb(12 59 46 / 0.35);
}

.plan, .how { margin-top: 72px; }
h2 { font-size: clamp(1.6rem, 5vw, 2.3rem); font-weight: 600; color: var(--green); }
.plan > p:first-of-type, .how ol { margin-top: 12px; }
.plan > p { max-width: 52ch; color: var(--muted); }

.days { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(7, minmax(0, 56px)); gap: 8px; }
.days li {
  aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%;
  font: 600 1.05rem/1 var(--display); color: var(--muted);
  background: var(--plate); border: 1.5px solid #C9D3CD;
}
.days li.on { background: var(--green); border-color: var(--green); color: var(--saffron); }
.days abbr { text-decoration: none; }

.slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; max-width: 520px; }
.slot { background: var(--plate); border-radius: 18px; padding: 18px; box-shadow: 0 1px 2px rgb(12 59 46 / 0.08); }
.slot h3 { font-size: 1.1rem; font-weight: 600; color: var(--green); }
.slot p { margin-top: 6px; color: var(--muted); font-variant-numeric: tabular-nums; }
.example { margin-top: 16px; font-weight: 600; color: var(--ink) !important; }

.how ol { list-style: none; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.how li {
  counter-increment: step; position: relative;
  background: var(--plate); border-radius: 18px; padding: 20px 20px 20px 76px; min-height: 88px;
}
.how li::before {
  content: counter(step); position: absolute; left: 20px; top: 20px;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--saffron); color: var(--green); font: 700 1.1rem/1 var(--display);
}
.how h3 { font-size: 1.1rem; font-weight: 600; color: var(--green); }
.how p { margin-top: 4px; color: var(--muted); }

footer { background: var(--green); color: #DCE8E1; padding-bottom: max(32px, env(safe-area-inset-bottom)); }
footer p { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.saying { padding-top: 36px !important; font: 600 clamp(1.4rem, 5vw, 2rem)/1.15 var(--display); color: var(--saffron); }
.saying-en { margin-top: 6px !important; }
.legal { margin-top: 28px !important; font-size: 0.95rem; }
.credit { margin-top: 6px !important; font-size: 0.85rem; color: #A9BDB2; }

@media (min-width: 960px) {
  .hero { grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 56px; padding-top: 32px; }
  .plan, .how { margin-top: 112px; }
  .how ol { grid-template-columns: repeat(3, 1fr); }
}

/* Waitlist form (landing) and waitlist pages (served by waitlist/). */
.wordmark, .status { text-decoration: none; }
.join-section { margin-top: 72px; background: var(--plate); border-radius: 28px; padding: 28px 20px; max-width: 640px; }
.join-section > p { margin-top: 10px; color: var(--muted); }
.join { display: grid; gap: 18px; margin-top: 24px; }
.field { display: grid; gap: 6px; font-weight: 600; color: var(--ink); }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input {
  font: inherit; font-weight: 400; min-height: 52px; padding: 12px 14px;
  border: 1.5px solid #9DB0A6; border-radius: 14px; background: var(--plate); color: var(--ink);
}
.field input:focus-visible, .chips input:focus-visible + span { outline: 3px solid var(--saffron); outline-offset: 2px; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.chips span {
  display: inline-grid; place-items: center; min-height: 48px; padding: 0 20px; border-radius: 999px;
  border: 1.5px solid #9DB0A6; font-weight: 600; color: var(--muted); cursor: pointer;
}
.chips input:checked + span { background: var(--green); border-color: var(--green); color: var(--saffron); }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.button {
  display: inline-grid; place-items: center; min-height: 52px; padding: 0 24px; border: 0; border-radius: 999px;
  background: var(--green); color: var(--saffron); font: 600 1.05rem/1 var(--display); text-decoration: none; cursor: pointer;
}
.button:active { transform: scale(0.98); }
.button:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; }
.button.quiet { background: transparent; color: var(--green); border: 1.5px solid var(--green); }

main.narrow { max-width: 640px; padding-top: 16px; display: grid; gap: 20px; align-content: start; min-height: 60vh; }
main.narrow h1 { font-size: clamp(2rem, 7vw, 3rem); font-weight: 700; color: var(--green); }
main.narrow .lede { margin-top: 0; }
.card { background: var(--plate); border-radius: 22px; padding: 22px; display: grid; gap: 10px; }
.card h2 { font-size: 1.3rem; }
.card p { color: var(--muted); }
.notice { background: #DDF0E4; color: var(--green); border-radius: 14px; padding: 12px 16px; font-weight: 600; }
.errors { background: #FCE9E4; color: #8A2412; border-radius: 14px; padding: 12px 16px; font-weight: 600; }
.remove { margin-top: 20px; padding-top: 20px; border-top: 1.5px solid #C9D3CD; display: grid; gap: 12px; justify-items: start; }
.remove p { color: var(--muted); }

/* One orchestrated moment: the plate settles in on load. */
@media (prefers-reduced-motion: no-preference) {
  .hero-photo img { animation: settle 700ms cubic-bezier(0.22, 1, 0.36, 1) both; }
  @keyframes settle { from { opacity: 0; transform: translateY(18px) scale(0.98); } }
}
