/* JIUMA website. Colours match the app (Kinetic/src/lib/theme.tsx). */
:root {
  --navy: #011C2D;
  --navy-lip: #000A11;
  --lime: #C6F432;
  --lime-lip: #8DB21A;
  --on-lime: #011C2D;
  --orange: #F07A32;
  --bg: #FBFBF8;
  --card: #FFFFFF;
  --border: #E7E9E2;
  --text: #0B1620;
  --muted: #6B7480;
  --chip: #EEF0EC;
  --soft: #F2F8D8;
  --lime-ink: #4A6B00;
  --orange-soft: #FDEBDD;
  --orange-ink: #B4541B;
  --navy-card: #011C2D;
  --radius: 20px;
  --max: 1120px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #06121B;
    --card: #0D1F2B;
    --border: #1C3140;
    --text: #F2F5F7;
    --muted: #8FA0AE;
    --chip: #152A38;
    --soft: #1B2A12;
    --lime-ink: #C6F432;
    --orange-soft: #3A2213;
    --orange-ink: #F59A5C;
    --navy-card: #022C46;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-weight: 700; line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0; }
.muted { color: var(--muted); }
.wrap { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; display: grid; gap: 14px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { color: var(--lime-ink); font-weight: 700; font-size: 0.95rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--card); padding: 8px 12px; border-radius: 10px; z-index: 10; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

/* Logo (SVG used as a mask so it takes the text colour in light and dark mode) */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo-mark, .logo-text { background: currentColor; -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat; }
.logo-mark { --src: url(assets/logo-mark.svg); width: 22px; height: 36px; }
.logo-text { --src: url(assets/logo-text.svg); width: 104px; height: 19px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-weight: 700; color: var(--muted); font-size: 0.97rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav .btn { color: var(--ink); }
.header-row .menu-btn { display: none; }

/* Buttons: the app's "pop-out" style, a thick darker lip that presses down */
.btn {
  --face: var(--card); --lip: var(--border); --ink: var(--text);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 14px; border: 0;
  background: var(--face); color: var(--ink);
  box-shadow: 0 5px 0 var(--lip);
  font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform 80ms ease, box-shadow 80ms ease;
}
.btn:hover { filter: brightness(1.03); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--lip); }
.btn-lime { --face: var(--lime); --lip: var(--lime-lip); --ink: var(--on-lime); }
.btn-navy { --face: var(--navy); --lip: var(--navy-lip); --ink: #fff; }
.btn-ghost { border: 2px solid var(--border); box-shadow: 0 4px 0 var(--border); }
.btn-small { padding: 10px 18px; font-size: 0.95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Hero */
.hero { padding: 72px 0 56px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero-copy { display: grid; gap: 26px; }
.hero h1 span { color: var(--lime-ink); }
.lead { font-size: 1.25rem; color: var(--muted); max-width: 34ch; }
.small-note { font-size: 0.92rem; color: var(--muted); }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; font-weight: 700; font-size: 0.95rem; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23011C2D' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Phone mock-up */
.phone {
  width: 300px; max-width: 100%; aspect-ratio: 9 / 19; margin-inline: auto;
  background: var(--navy); border-radius: 44px; padding: 12px; outline: 1px solid var(--border);
  box-shadow: 0 30px 60px -20px rgb(1 28 45 / 0.45);
}
.screen { height: 100%; border-radius: 34px; background: var(--bg); overflow: hidden; padding: 22px 16px; display: flex; flex-direction: column; gap: 12px; }
.screen.placeholder { align-items: center; justify-content: center; text-align: center; color: var(--muted); font-size: 0.9rem; border: 2px dashed var(--border); background: var(--card); }
.mini-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 14px; display: grid; gap: 6px; }
.mini-card.navy { background: var(--navy-card); border-color: transparent; color: #fff; }
.mini-card .label { font-size: 0.75rem; color: var(--muted); font-weight: 700; }
.mini-card.navy .label { color: #9DB0BE; }
.streak { display: flex; align-items: center; gap: 10px; font-size: 1.6rem; font-weight: 700; }
.flame { width: 30px; height: 30px; color: var(--orange); }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin-top: 4px; }
.week i { aspect-ratio: 1; border-radius: 7px; background: var(--chip); }
.week i.on { background: var(--lime); }
.navy .week i:not(.on) { background: rgb(255 255 255 / 0.12); }
.badges { display: flex; gap: 8px; }
.badges i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 0.75rem; font-weight: 700; background: var(--soft); color: var(--lime-ink); }
.badges i.o { background: var(--orange-soft); color: var(--orange-ink); }
.belt { height: 12px; border-radius: 4px; background: linear-gradient(90deg, #2B5BD7 0 72%, #111 72% 86%, #fff 86% 89%, #111 89%); }
.progress { height: 8px; border-radius: 99px; background: var(--chip); overflow: hidden; }
.progress b { display: block; height: 100%; width: 70%; background: var(--lime); border-radius: 99px; }
.mini-btn { margin-top: auto; background: var(--lime); color: var(--on-lime); border-radius: 14px; padding: 12px; text-align: center; font-weight: 700; box-shadow: 0 4px 0 var(--lime-lip); }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 700; }
.pill { font-size: 0.72rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--orange-soft); color: var(--orange-ink); }
.pill.lime { background: var(--soft); color: var(--lime-ink); }

/* Screenshot strip */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.shots figure { margin: 0; display: grid; gap: 14px; text-align: center; }
.shots .phone { width: 100%; max-width: 220px; border-radius: 34px; padding: 9px; box-shadow: 0 18px 40px -18px rgb(1 28 45 / 0.4); }
.shots .screen { border-radius: 26px; }
.shots figcaption { font-weight: 700; }

/* Cards and grids */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: grid; gap: 10px; align-content: start; }
.card p { color: var(--muted); }
.icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--chip); color: var(--text); margin-bottom: 6px; }
.icon svg { width: 24px; height: 24px; }
.icon.lime { background: var(--soft); color: var(--lime-ink); }
.icon.orange { background: var(--orange-soft); color: var(--orange-ink); }

/* Members band */
.band { background: var(--navy); color: #fff; border-radius: 32px; padding: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.band .eyebrow { color: var(--lime); }
.band p { color: #9DB0BE; }
.band-list { display: grid; gap: 14px; }
.band-item { display: flex; gap: 16px; align-items: flex-start; background: rgb(255 255 255 / 0.06); border-radius: 18px; padding: 18px; }
.band-item strong { color: #fff; display: block; }
.band-item .icon { background: rgb(198 244 50 / 0.14); color: var(--lime); margin: 0; flex: none; }

/* Compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare .card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.compare li { display: flex; gap: 10px; color: var(--muted); }
.compare li::before { content: "–"; color: var(--muted); font-weight: 700; }
.compare .us { border: 2px solid var(--lime); }
.compare .us li { color: var(--text); }
.compare .us li::before { content: "✓"; color: var(--lime-ink); }

/* Price */
.price-card { max-width: 520px; margin-inline: auto; padding: 40px; gap: 18px; border: 2px solid var(--lime); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.price strong { font-size: 4rem; line-height: 1; letter-spacing: -0.03em; }
.price-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.price-list li { display: flex; gap: 12px; align-items: flex-start; }
.price-list li::before { content: ""; flex: none; margin-top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23011C2D' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* FAQ */
.faq { max-width: 760px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 0 22px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 20px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 20px; }

/* Final call to action */
.cta { text-align: center; display: grid; gap: 22px; justify-items: center; background: var(--soft); border-radius: 32px; padding: 72px 28px; }

/* Plain text pages */
.page-head { padding: 72px 0 24px; display: grid; gap: 16px; max-width: 720px; }
.prose { max-width: 720px; display: grid; gap: 18px; padding-bottom: 96px; }
.prose h2 { font-size: 1.5rem; margin-top: 18px; }
.prose p, .prose li { color: var(--muted); }
.notice { background: var(--orange-soft); color: var(--orange-ink); border-radius: 16px; padding: 18px 20px; font-weight: 700; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 48px 0; color: var(--muted); font-size: 0.95rem; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { text-decoration: none; font-weight: 700; }
.footer-links a:hover { color: var(--text); }

/* Phones and tablets */
@media (max-width: 900px) {
  .hero-grid, .band, .compare { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .band { padding: 40px 28px; }
  .hero { padding-top: 48px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .header-row .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px 20px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav .btn { margin-top: 16px; border-bottom: 0; }
  .shots { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .price-card { padding: 28px; }
  .cta { padding: 56px 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
