/*
 * Peptida site, v3: vibrant and icon-rich, like the app.
 * Teal leads; the app's peptide colours (orange, purple, red, blue) are the
 * supporting palette for icons and tiles. Light page with gradient blocks.
 * Radius rule: cards 24px, media 32px, controls are pills.
 */
:root {
  --bg: #f4f8f6;
  --surface: #ffffff;
  --ink: #0f1f1a;
  --muted: #5b6d66;
  --line: #dde8e3;
  --teal: #287a68;
  --teal-deep: #155a4a;
  --mint: #dff1ea;
  --sage: #5ba58f;
  --orange: #f28b42;
  --purple: #7167d8;
  --red: #ef5b5b;
  --blue: #4a8fd9;
  --gold: #d6a84f;
  --shadow: 0 24px 60px -28px rgb(21 90 74 / 0.45);
  --shadow-soft: 0 12px 30px -16px rgb(15 31 26 / 0.25);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-card: 24px;
  --r-media: 32px;
  --wrap: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 10px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; }
h1 { font-size: clamp(40px, 5.6vw, 68px); line-height: 1.04; font-weight: 800; }
h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; font-weight: 800; }
h3 { font-size: 21px; line-height: 1.25; font-weight: 700; letter-spacing: -0.015em; }
p { margin: 0; }
.center { text-align: center; }
.section-lede { color: var(--muted); font-size: 19px; max-width: 56ch; margin-top: 14px; }
.center .section-lede { margin-inline: auto; }
.hl { background: linear-gradient(120deg, var(--teal), var(--sage)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Nav */
.nav { height: 72px; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 2; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: var(--shadow-soft); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; opacity: 0.8; }
.nav-links a:hover { opacity: 1; }
.nav-links .pill { opacity: 1; height: 42px; padding: 0 18px; font-size: 14px; }

.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 26px; border-radius: 999px; background: var(--teal); color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap; box-shadow: 0 12px 24px -12px rgb(40 122 104 / 0.8); transition: transform .2s cubic-bezier(.16,1,.3,1), background-color .2s; }
.pill:hover { background: var(--teal-deep); transform: translateY(-2px); }
.pill:active { transform: translateY(0) scale(0.98); }
.pill i { font-size: 20px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 4px; color: var(--teal); font-weight: 700; font-size: 16px; text-decoration: none; }
.text-link:hover { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 4px; }
.text-link i { font-size: 18px; transition: transform .2s; }
.text-link:hover i { transform: translateY(2px); }
.store { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px; border-radius: 16px; background: var(--ink); color: #fff; text-decoration: none; }
.store i { font-size: 28px; }
.store small { display: block; font-size: 11px; opacity: 0.75; line-height: 1.1; }
.store b { display: block; font-size: 16px; line-height: 1.15; }

/* Hero */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(60% 70% at 85% 30%, rgb(91 165 143 / 0.35), transparent 70%),
  radial-gradient(40% 50% at 70% 90%, rgb(242 139 66 / 0.18), transparent 70%),
  radial-gradient(35% 45% at 100% 0%, rgb(113 103 216 / 0.18), transparent 70%),
  linear-gradient(180deg, #e8f4ef 0%, var(--bg) 100%);
}
.leaf { position: absolute; pointer-events: none; color: var(--sage); opacity: 0.18; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 40px 0 110px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-soft); font-size: 14px; font-weight: 600; }
.chip .ic { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 16px; }
.hero h1 { margin-top: 22px; }
.hero .lede { font-size: 20px; color: var(--muted); max-width: 32ch; margin: 20px 0 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: var(--muted); font-size: 15px; font-weight: 600; }
.ticks span { display: inline-flex; align-items: center; gap: 6px; }
.ticks i { color: var(--teal); font-size: 20px; }

/* Hero stage: three phones fanned, floating cards */
.stage { position: relative; height: 640px; }
.phone { position: absolute; width: 270px; border-radius: 44px; padding: 9px; background: #0c1411; box-shadow: var(--shadow); }
.phone img { border-radius: 36px; }
.phone.mid { left: 50%; top: 10px; transform: translateX(-50%); z-index: 2; width: 290px; }
.phone.left { left: 0; top: 90px; transform: rotate(-9deg); opacity: 0.96; }
.phone.right { right: 0; top: 90px; transform: rotate(9deg); opacity: 0.96; }
.float { position: absolute; z-index: 3; background: rgb(255 255 255 / 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 20px; box-shadow: var(--shadow); padding: 12px 14px; display: flex; gap: 12px; align-items: center; }
.float .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-size: 22px; flex: none; }
.float b { display: block; font-size: 14px; line-height: 1.25; }
.float small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.float .act { margin-left: 6px; padding: 7px 12px; border-radius: 999px; background: var(--teal); color: #fff; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.float.notif { top: 40px; left: -30px; width: 330px; }
.float.units { top: 300px; right: -40px; }
.float.streak { bottom: 40px; right: 10px; }

/* Generated 3D art (GPT Image 2.5, transparent PNG) */
.art { pointer-events: none; filter: drop-shadow(0 24px 30px rgb(21 90 74 / 0.25)); }
.art-hero { position: absolute; z-index: 4; width: 230px; left: -120px; bottom: -10px; }
.art-streak { width: 150px; margin: -20px 0 8px -12px; filter: drop-shadow(0 20px 26px rgb(0 0 0 / 0.35)); }
.art-privacy { width: 150px; margin: 0 auto 8px; }
.art-final { width: 190px; margin: -20px auto 4px; filter: drop-shadow(0 20px 30px rgb(0 0 0 / 0.3)); }

/* Why: pain to fix, four colour tiles */
.why { padding: 110px 0 40px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; }
.why-card { position: relative; background: var(--surface); border-radius: var(--r-card); padding: 28px 24px; box-shadow: var(--shadow-soft); overflow: hidden; transition: transform .3s cubic-bezier(.16,1,.3,1); }
.why-card:hover { transform: translateY(-6px); }
.why-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 110px; background: linear-gradient(180deg, var(--c-soft), transparent); }
.tile { position: relative; width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; color: #fff; font-size: 30px; background: linear-gradient(145deg, var(--c-light), var(--c)); box-shadow: 0 12px 24px -10px var(--c); }
.why-card .pain { position: relative; margin-top: 22px; font-size: 15px; color: var(--muted); font-weight: 600; }
.why-card h3 { position: relative; margin-top: 6px; }
.why-card p.fix { position: relative; margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.c-orange { --c: var(--orange); --c-light: #ffb27a; --c-soft: rgb(242 139 66 / 0.14); }
.c-purple { --c: var(--purple); --c-light: #9c94ef; --c-soft: rgb(113 103 216 / 0.14); }
.c-red { --c: var(--red); --c-light: #ff8f8f; --c-soft: rgb(239 91 91 / 0.13); }
.c-blue { --c: var(--blue); --c-light: #7fb4ee; --c-soft: rgb(74 143 217 / 0.14); }
.c-teal { --c: var(--teal); --c-light: var(--sage); --c-soft: rgb(40 122 104 / 0.14); }
.c-gold { --c: var(--gold); --c-light: #efc97a; --c-soft: rgb(214 168 79 / 0.16); }

/* How it works */
.how { padding: 110px 0; }
.how-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: center; }
.how-media { position: relative; display: grid; place-items: center; }
.how-media .blob { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgb(91 165 143 / 0.45), rgb(40 122 104 / 0.1) 70%); filter: blur(10px); }
.how-media .phone { position: relative; width: 300px; }
.steps { display: grid; gap: 18px; margin-top: 34px; }
.step { display: flex; gap: 18px; align-items: flex-start; background: var(--surface); border-radius: 20px; padding: 20px 22px; box-shadow: var(--shadow-soft); }
.step .tile { width: 52px; height: 52px; border-radius: 16px; font-size: 26px; flex: none; }
.step h3 { font-size: 19px; }
.step p { color: var(--muted); margin-top: 4px; font-size: 15.5px; }

/* Consistency grid */
.streak-sec { padding: 20px 0 110px; }
.streak-box { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; background: linear-gradient(135deg, #1d6b59, #134b3f); border-radius: 36px; padding: clamp(32px, 5vw, 64px); color: #eaf5f0; position: relative; overflow: hidden; }
.streak-box h2 { color: #fff; }
.streak-box p { color: #bfe0d4; margin-top: 14px; max-width: 38ch; font-size: 18px; }
.streak-card { background: rgb(255 255 255 / 0.08); border: 1px solid rgb(255 255 255 / 0.12); border-radius: 24px; padding: 24px; }
.streak-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.streak-head b { color: #fff; font-size: 17px; display: flex; align-items: center; gap: 10px; }
.streak-head b .tile { width: 34px; height: 34px; border-radius: 10px; font-size: 18px; }
.badge { padding: 6px 12px; border-radius: 999px; background: rgb(242 139 66 / 0.2); color: #ffc093; font-size: 13px; font-weight: 700; }
.weeks { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; }
.week { display: grid; grid-template-rows: repeat(7, 1fr); gap: 6px; }
.day { aspect-ratio: 1; border-radius: 50%; background: rgb(255 255 255 / 0.12); }
.day.on { background: var(--orange); box-shadow: inset 0 0 0 2px rgb(255 255 255 / 0.25); }
.streak-foot { display: flex; justify-content: space-between; margin-top: 16px; font-size: 13.5px; color: #bfe0d4; font-weight: 600; }

/* Features bento */
.features { padding: 0 0 110px; }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 340px; gap: 18px; margin-top: 48px; }
.cell { position: relative; border-radius: var(--r-card); padding: 28px 28px 0; overflow: hidden; display: flex; flex-direction: column; gap: 8px; background: linear-gradient(160deg, var(--c-soft), var(--surface) 55%); box-shadow: var(--shadow-soft); }
.cell .tile { width: 48px; height: 48px; border-radius: 14px; font-size: 24px; margin-bottom: 6px; }
.cell p { color: var(--muted); font-size: 15.5px; }
.cell img { flex: 1; min-height: 0; width: 80%; align-self: center; object-fit: cover; object-position: top; border-radius: var(--r-media) var(--r-media) 0 0; margin-top: 16px; box-shadow: var(--shadow); border: 7px solid #0c1411; border-bottom: 0; }
.cell.tall { grid-row: span 2; }
.cell.wide { grid-column: span 2; flex-direction: row; gap: 24px; padding-bottom: 0; }
.cell.wide > div { flex: 1; align-self: center; padding-bottom: 28px; }
.cell.wide img { flex: 0 0 40%; width: 40%; align-self: stretch; margin-top: 0; }
.cell.solid { background: linear-gradient(150deg, var(--c-light), var(--c)); color: #fff; padding-bottom: 28px; justify-content: flex-end; }
.cell.solid p { color: rgb(255 255 255 / 0.88); }
.cell.solid .tile { background: rgb(255 255 255 / 0.22); box-shadow: none; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.92em; color: var(--ink); background: rgb(15 31 26 / 0.06); padding: 1px 6px; border-radius: 6px; }

/* Privacy */
.privacy { padding: 0 0 110px; }
.privacy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.promise { background: var(--surface); border-radius: var(--r-card); padding: 28px; box-shadow: var(--shadow-soft); }
.promise h3 { margin-top: 18px; }
.promise p { color: var(--muted); margin-top: 8px; font-size: 15.5px; }

/* FAQ */
.faq { padding: 0 0 110px; }
.faq .wrap { max-width: 800px; }
.faq-list { margin-top: 36px; display: grid; gap: 12px; }
details { background: var(--surface); border-radius: 18px; padding: 20px 24px; box-shadow: var(--shadow-soft); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 700; font-size: 17.5px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--teal); font-size: 20px; transition: transform .25s cubic-bezier(.16,1,.3,1); }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin-top: 10px; }

/* Final CTA */
.final { padding: 0 0 90px; }
.final-box { position: relative; overflow: hidden; border-radius: 36px; padding: clamp(40px, 6vw, 72px); text-align: center; color: #fff; background:
  radial-gradient(50% 80% at 10% 0%, rgb(242 139 66 / 0.45), transparent 60%),
  radial-gradient(50% 80% at 100% 100%, rgb(113 103 216 / 0.45), transparent 60%),
  linear-gradient(135deg, #287a68, #175746); }
.final-box h2 { color: #fff; max-width: 18ch; margin-inline: auto; }
.final-box p { color: rgb(255 255 255 / 0.85); margin: 14px auto 28px; max-width: 46ch; font-size: 18px; }
.final-box .store { background: #fff; color: var(--ink); }

/* Footer */
footer { padding: 36px 0 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; align-items: center; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); }
.disclaimer { font-size: 14px; max-width: 72ch; margin-top: 16px; }

/* Document pages */
.doc { background: var(--surface); border-radius: var(--r-card); padding: clamp(24px, 5vw, 56px); margin: 16px auto 72px; max-width: 820px; box-shadow: var(--shadow-soft); }
.doc h1 { font-size: clamp(36px, 5vw, 52px); margin: 10px 0 18px; }
.doc h2 { font-size: 23px; margin: 34px 0 10px; }
.doc p, .doc li { color: var(--muted); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; }
.doc li + li { margin-top: 6px; }
.updated { font-size: 13px; font-weight: 600; color: var(--teal); }


/* ---- Sections after the hero: Ben's mockup layout, v3 styling ---- */
.eyebrow { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--mint); color: var(--teal-deep); font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }

/* Five-feature strip */
.strip { position: relative; z-index: 2; margin-top: -40px; padding-bottom: 90px; }
.strip-grid { display: grid; grid-template-columns: repeat(5, 1fr); background: var(--surface); border-radius: 28px; box-shadow: var(--shadow); padding: 30px 12px; }
.strip-item { text-align: center; padding: 6px 18px; }
.strip-item + .strip-item { border-left: 1px solid var(--line); }
.strip-item .tile { margin: 0 auto 16px; }
.strip-item h3 { font-size: 17px; }
.strip-item p { color: var(--muted); font-size: 14.5px; margin-top: 6px; }

/* Split: phone + checklist */
.split { position: relative; overflow: hidden; padding: 60px 0 100px; background: linear-gradient(180deg, var(--bg), #e6f3ee 60%, var(--bg)); }
.split-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: center; }
.split-media { position: relative; display: grid; place-items: center; min-height: 600px; }
.split-media .blob { position: absolute; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgb(91 165 143 / 0.45), rgb(40 122 104 / 0.08) 70%); filter: blur(8px); }
.split-media .phone { position: relative; width: 300px; transform: rotate(-4deg); }
.split-media .float { top: auto; bottom: 70px; right: 0; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checks i { color: var(--teal); font-size: 24px; flex: none; margin-top: -1px; }

/* Three-step flow */
.steps-sec { padding: 20px 0 100px; }
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; gap: 12px; margin-top: 48px; }
.flow-step { text-align: center; padding: 0 12px; }
.bubble { position: relative; width: 120px; height: 120px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 52px; background: linear-gradient(145deg, var(--c-light), var(--c)); box-shadow: 0 20px 36px -16px var(--c); }
.bubble .num { position: absolute; left: -6px; top: -4px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 17px; font-weight: 800; border: 4px solid var(--bg); }
.flow-step p { color: var(--muted); margin-top: 6px; max-width: 26ch; margin-inline: auto; }
.flow-arrow { font-size: 32px; color: var(--sage); margin-top: 44px; }

/* Who it suits */
.who { padding: 0 0 100px; }
.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.who-card { display: flex; gap: 16px; align-items: flex-start; background: linear-gradient(160deg, var(--c-soft), var(--surface) 60%); border-radius: var(--r-card); padding: 24px; box-shadow: var(--shadow-soft); transition: transform .3s cubic-bezier(.16,1,.3,1); }
.who-card:hover { transform: translateY(-6px); }
.who-card .tile { width: 52px; height: 52px; border-radius: 16px; font-size: 26px; flex: none; }
.who-card p { color: var(--muted); font-size: 15px; margin-top: 4px; }

/* CTA band with phone */
.cta-sec { padding: 0 0 100px; }
.cta-box { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 30px; align-items: center; border-radius: 36px; padding: clamp(32px, 5vw, 60px); background:
  radial-gradient(50% 80% at 100% 0%, rgb(242 139 66 / 0.16), transparent 60%),
  radial-gradient(40% 70% at 0% 100%, rgb(113 103 216 / 0.12), transparent 60%),
  linear-gradient(135deg, #e3f2ec, #f7fbf9); }
.cta-copy .section-lede { margin-bottom: 26px; }
.cta-copy .ticks { margin-top: 22px; }
.cta-media { position: relative; height: 380px; }
.cta-media .phone { right: 20px; top: 10px; width: 250px; transform: rotate(6deg); }
.art-cta { position: absolute; z-index: 3; width: 170px; left: -10px; bottom: -20px; }

/* FAQ in two columns */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 36px; align-items: start; }
.faq .wrap.wide { max-width: var(--wrap); }

@media (max-width: 1000px) {
  .strip-grid { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
  .strip-item:nth-child(4) { border-left: 0; }
  .who-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .strip { margin-top: -20px; padding-bottom: 60px; }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .strip-item { border-left: 0 !important; }
  .strip-item:last-child { grid-column: span 2; }
  .split-grid, .cta-box { grid-template-columns: 1fr; gap: 30px; }
  .split-media { min-height: 520px; }
  .split-media .phone { width: 250px; }
  .flow { grid-template-columns: 1fr; gap: 28px; }
  .flow-arrow { transform: rotate(90deg); margin: 0 auto; }
  .who-grid, .faq-grid { grid-template-columns: 1fr; }
  .cta-media { height: 360px; }
  .cta-media .phone { right: 50%; transform: translateX(50%) rotate(6deg); }
  .art-cta { width: 130px; left: 0; }
  .split, .steps-sec, .who, .cta-sec { padding-bottom: 64px; }
}


/* Interactive syringe calculator (replaces the consistency grid) */
.calc-sec { padding: 20px 0 110px; }
.calc-box { position: relative; overflow: hidden; min-height: 650px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; border-radius: 36px; padding: clamp(32px, 5vw, 64px) clamp(32px, 5vw, 64px) 0; color: #eaf5f0; background:
  radial-gradient(50% 70% at 0% 0%, rgb(113 103 216 / 0.35), transparent 60%),
  linear-gradient(135deg, #1d6b59, #134b3f); }
.calc-copy { padding-bottom: clamp(32px, 5vw, 64px); }
.calc-copy .tile { margin-bottom: 20px; }
.calc-copy h2 { color: #fff; }
.calc-copy p { color: #bfe0d4; margin-top: 14px; max-width: 40ch; font-size: 18px; }
.calc-copy .calc-note { display: flex; gap: 8px; align-items: center; font-size: 14.5px; color: #9fcfbf; }
/* The calculator is drawn as the app's own Kalkulator screen, in a phone frame. */
.calc-phone { justify-self: center; align-self: end; width: min(330px, 100%); margin-bottom: -60px; rotate: -3deg; transform-origin: bottom center; border-radius: 52px; padding: 11px; background: #0c1411; box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.6), inset 0 0 0 2px #2a3531; }
.app-screen { border-radius: 42px; background: #f5f4f0; padding: 14px 16px 18px; font-family: -apple-system, "SF Pro Text", system-ui, sans-serif; color: #111; }
.app-status { display: flex; justify-content: space-between; align-items: center; padding: 2px 10px 0; font-weight: 600; font-size: 14px; }
.app-bars { display: flex; gap: 4px; font-size: 15px; }
.app-bars .ph-battery-charging { color: #34c759; }
.app-title { text-align: center; font-weight: 600; font-size: 16px; margin: 12px 0 10px; }
.app-sub { font-size: 12.5px; color: #6b7671; margin: 0 2px 10px; }
.app-card { background: #fff; border-radius: 18px; padding: 4px 12px; }
.app-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; cursor: text; }
.app-row + .app-row { border-top: 1px solid #ecefed; }
.app-ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-size: 16px; flex: none; }
.app-lbl { flex: 1; font-size: 14px; line-height: 1.2; }
.app-row input { width: 56px; border: 0; background: none; text-align: right; font: 600 19px/1 -apple-system, system-ui, sans-serif; color: #111; padding: 4px 0; outline: none; border-bottom: 2px solid transparent; transition: border-color .2s; }
.app-row input:focus { border-bottom-color: var(--teal); }
.app-unit { min-width: 44px; text-align: center; font-size: 13px; color: #6b7671; }
.app-unit.pillish { background: #e3efe9; color: #1f5f50; border-radius: 999px; padding: 5px 0; font-weight: 600; }
.app-h { font-weight: 600; font-size: 14px; margin: 14px 2px 8px; }
.app-presets { display: flex; gap: 6px; }
.app-presets button { flex: 1; border: 0; border-radius: 999px; background: #fff; padding: 8px 0; font: 500 12.5px/1 -apple-system, system-ui, sans-serif; color: #111; cursor: pointer; transition: background-color .2s, color .2s; }
.app-presets button.on { background: #287a68; color: #fff; }
.app-result { margin-top: 12px; background: #e3f0eb; border: 1.5px solid #bcd8cd; border-radius: 18px; padding: 14px 14px 12px; text-align: center; display: grid; gap: 2px; }
.app-result-l { color: #287a68; font-size: 13px; font-weight: 500; }
.app-result strong { font-size: 36px; line-height: 1.1; color: #1f5f50; font-weight: 700; letter-spacing: -0.02em; }
.app-result-s { color: #287a68; font-size: 12.5px; }
.syr { display: flex; align-items: center; margin-top: 12px; }
.syr-plunger { width: 14px; height: 3px; background: #7f8a86; }
.syr-barrel { position: relative; flex: 1; height: 22px; background: #fff; border: 2px solid #3f4a46; border-radius: 3px; overflow: hidden; }
.syr-fill { position: absolute; inset: 0 auto 0 0; width: 20%; background: #3f8a74; border-right: 4px solid #111; transition: width .45s cubic-bezier(.16,1,.3,1); }
.syr-ticks { position: absolute; inset: 0 0 50% 0; background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), #6b7671 calc(10% - 1px) 10%); opacity: .6; }
.syr-needle { width: 18px; height: 22px; border-left: 3px solid #7f8a86; border-right: 3px solid #7f8a86; }
.syr-scale { display: flex; justify-content: space-between; padding: 2px 30px 0 14px; font-size: 10.5px; color: #6b7671; }
.app-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.app-tiles > div { background: #fff; border-radius: 16px; padding: 10px 12px; display: grid; gap: 4px; }
.app-tiles .app-ic { width: 24px; height: 24px; border-radius: 7px; font-size: 13px; }
.app-tiles b { font-size: 13.5px; font-weight: 600; }
.app-tiles small { font-size: 11px; color: #6b7671; }
.calc-warn { margin-top: 10px; padding: 9px 12px; border-radius: 12px; background: rgb(239 91 91 / 0.12); color: #c23d3d; font-size: 13px; font-weight: 600; }
@media (max-width: 860px) {
  .calc-box { grid-template-columns: 1fr; gap: 10px; }
  .calc-box { min-height: 0; }
  .calc-phone { margin-bottom: -110px; rotate: 0deg; }
  .calc-fields { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .field input { font-size: 18px; }
  .calc-result strong { font-size: 52px; }
  .calc-sec { padding-bottom: 64px; }
}


/* Smaller type on phones (Ben, 2026-09-29) */
@media (max-width: 600px) {
  body { font-size: 15.5px; }
  h1 { font-size: 34px; line-height: 1.08; }
  h2 { font-size: 27px; line-height: 1.12; }
  h3 { font-size: 17.5px; }
  .hero .lede { font-size: 16.5px; margin: 16px 0 24px; }
  .section-lede, .calc-copy p, .streak-box p { font-size: 16px; }
  .chip { font-size: 13px; }
  .pill { height: 50px; font-size: 15px; padding: 0 22px; }
  .store { height: 50px; }
  .ticks { font-size: 14px; }
  .strip-item h3 { font-size: 15.5px; }
  .strip-item p, .who-card p, .step p, .flow-step p, .promise p, .cell p, .why-card p.fix { font-size: 14px; }
  .checks li { font-size: 15px; }
  summary { font-size: 15.5px; }
  details p { font-size: 14.5px; }
  .eyebrow { font-size: 11px; }
  .bubble { width: 96px; height: 96px; font-size: 42px; }
  .float b { font-size: 13px; }
  .float small { font-size: 11.5px; }
}


/* ---- Help centre (/sokongan/) ---- */
.help-hero { position: relative; overflow: hidden; padding-bottom: 60px; background:
  radial-gradient(50% 70% at 90% 20%, rgb(91 165 143 / .3), transparent 70%),
  radial-gradient(35% 50% at 10% 100%, rgb(242 139 66 / .12), transparent 70%),
  linear-gradient(180deg, #e8f4ef 0%, var(--bg) 100%); }
.help-head { text-align: center; max-width: 760px; margin: 30px auto 0; }
.help-head h1 { font-size: clamp(34px, 4.6vw, 54px); }
.help-head .section-lede { margin: 16px auto 0; }
.topics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.topic { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; background: var(--surface); border-radius: 20px; padding: 16px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-soft); transition: transform .25s cubic-bezier(.16,1,.3,1); }
.topic:hover { transform: translateY(-4px); }
.topic .tile { grid-row: span 2; width: 48px; height: 48px; border-radius: 14px; font-size: 24px; }
.topic b { font-size: 15.5px; line-height: 1.25; }
.topic small { color: var(--muted); font-size: 13px; }
.guide { padding: 80px 0; scroll-margin-top: 20px; }
.guide.alt { background: linear-gradient(180deg, #eaf5f0, var(--bg)); }
.guide-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: start; }
.guide-title { display: flex; align-items: center; gap: 14px; }
.guide-title .tile { width: 52px; height: 52px; border-radius: 16px; font-size: 26px; flex: none; }
.guide-title h2 { font-size: clamp(26px, 3vw, 36px); }
.guide-lede { color: var(--muted); font-size: 17.5px; margin: 14px 0 6px; max-width: 56ch; }
.sub { font-size: 18px; margin: 26px 0 0; }
.steps-list { list-style: none; counter-reset: s; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
.steps-list li { counter-increment: s; position: relative; padding: 14px 16px 14px 60px; background: var(--surface); border-radius: 16px; box-shadow: var(--shadow-soft); line-height: 1.55; }
.steps-list li::before { content: counter(s); position: absolute; left: 14px; top: 12px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #fff; font-weight: 800; font-size: 15px; }
.ui { display: inline-block; padding: 1px 9px; border-radius: 8px; background: var(--mint); color: var(--teal-deep); font-weight: 700; font-size: .92em; white-space: nowrap; }
.tip { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: rgb(74 143 217 / .1); color: #24527f; font-size: 15px; }
.tip i { font-size: 20px; flex: none; margin-top: 1px; }
.tip.warn { background: rgb(239 91 91 / .1); color: #a33a3a; }
.tip a { color: inherit; font-weight: 700; }
.shots { position: sticky; top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.shots.one { grid-template-columns: minmax(0, 300px); justify-content: center; }
.shots.three { grid-template-columns: repeat(3, 1fr); gap: 12px; }
.shots figure { margin: 0; text-align: center; }
.shots img { width: 100%; border-radius: 30px; border: 7px solid #0c1411; box-shadow: var(--shadow); background: #0c1411; }
.shots.three img { border-width: 5px; border-radius: 22px; }
.shots figcaption { margin-top: 10px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.mini { background: var(--surface); border-radius: 20px; padding: 22px; box-shadow: var(--shadow-soft); }
.mini .tile { width: 44px; height: 44px; border-radius: 13px; font-size: 22px; }
.mini h3 { font-size: 17px; margin-top: 14px; }
.mini p { color: var(--muted); font-size: 14.5px; margin-top: 6px; }
.help .faq { padding-top: 80px; }
.contact-sec { padding: 0 0 90px; }
.contact-box { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; background: linear-gradient(135deg, #e3f2ec, #f7fbf9); border-radius: 28px; padding: 32px; }
.contact-box .tile { width: 60px; height: 60px; border-radius: 18px; font-size: 30px; }
.contact-box h2 { font-size: 26px; }
.contact-box p { color: var(--muted); margin-top: 6px; max-width: 60ch; }
@media (max-width: 1000px) {
  .topics { grid-template-columns: repeat(2, 1fr); }
  .guide-grid { grid-template-columns: 1fr; gap: 30px; }
  .shots { position: static; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .topics { grid-template-columns: 1fr 1fr; gap: 10px; }
  .topic { grid-template-columns: 1fr; row-gap: 8px; padding: 14px; }
  .topic .tile { grid-row: auto; width: 40px; height: 40px; font-size: 20px; }
  .topic small { display: none; }
  .guide { padding: 56px 0; }
  .steps-list li { padding: 12px 14px 12px 52px; font-size: 15px; }
  .steps-list li::before { left: 12px; width: 28px; height: 28px; font-size: 13.5px; }
  .shots.three { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .cards-grid { grid-template-columns: 1fr; }
  .contact-box { grid-template-columns: 1fr; text-align: left; padding: 24px; }
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .rise { opacity: 0; transform: translateY(18px); animation: rise .8s cubic-bezier(.16,1,.3,1) forwards; animation-delay: calc(var(--i, 0) * 90ms); }
  @keyframes rise { to { opacity: 1; transform: translateY(0); } }
  .phone.left.rise { animation-name: rise-left; }
  .phone.right.rise { animation-name: rise-right; }
  .phone.mid.rise { animation-name: rise-mid; }
  @keyframes rise-left { from { opacity: 0; transform: rotate(-2deg) translateY(30px); } to { opacity: .96; transform: rotate(-9deg); } }
  @keyframes rise-right { from { opacity: 0; transform: rotate(2deg) translateY(30px); } to { opacity: .96; transform: rotate(9deg); } }
  @keyframes rise-mid { from { opacity: 0; transform: translate(-50%, 30px); } to { opacity: 1; transform: translate(-50%, 0); } }
  /* Two animations on one element: enter once, then bob gently. */
  .float.rise { animation: rise .8s cubic-bezier(.16,1,.3,1) forwards, bob 6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 90ms), calc(var(--i, 0) * 90ms + 1s); }
  @keyframes bob { 50% { translate: 0 -8px; } }
  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); transition-delay: calc(var(--i, 0) * 80ms); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .day.on { background: rgb(255 255 255 / 0.12); transition: background-color .3s ease; transition-delay: calc(var(--d, 0) * 10ms); }
  .js .streak-card.in .day.on { background: var(--orange); }
}

@media (max-width: 1000px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-links a:not(.pill) { display: none; }
  .hero-grid, .how-grid, .streak-box { grid-template-columns: 1fr; gap: 36px; }
  .hero-grid { padding: 24px 0 72px; }
  .stage { height: 520px; }
  .phone { width: 210px; }
  .phone.mid { width: 230px; }
  .phone.left { left: -10px; top: 70px; }
  .phone.right { right: -10px; top: 70px; }
  .float.notif { left: 0; top: 0; width: 290px; }
  .float.units { right: 0; top: auto; bottom: 70px; }
  .float.streak { display: none; }
  .art-hero { width: 150px; left: -10px; bottom: -30px; }
  .why, .how { padding: 72px 0 32px; }
  .why-grid, .privacy-grid { grid-template-columns: 1fr; }
  .how-media .blob { width: 300px; height: 300px; }
  .how-media .phone { width: 250px; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .cell.tall, .cell.wide { grid-row: auto; grid-column: auto; }
  .cell.wide { flex-direction: column; }
  .cell.wide > div { padding-bottom: 0; }
  .cell img, .cell.wide img { flex: none; width: 76%; height: 300px; align-self: center; margin-top: 16px; }
  .cell.solid { min-height: 220px; }
  .streak-sec, .features, .privacy, .faq { padding-bottom: 72px; }
}
