/*
 * Off Scrpt site styles. Mirrors the Shopify theme's os-home system
 * (cream, plum and blush bands, Rajdhani display, Gelasio body) so the
 * Netlify landing page and the store read as one brand.
 */

:root {
  --cream: #ebe8e0;
  --paper: #f5f3ee;
  --ink: #1a1917;
  --plum: #490e35;
  --plum-deep: #2d0821;
  --blush: #d8c3cf;
  --blush-soft: #e7dbe1;
  --muted: #5a5650;
  --line: rgb(26 25 23 / 0.14);
  --line-on-plum: rgb(235 232 224 / 0.24);
  --radius: 14px;
  --f-display: "Rajdhani", "Arial Narrow", sans-serif;
  --f-body: "Gelasio", Georgia, serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 110px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
p { margin: 0; }
a { color: inherit; }

.tm { text-transform: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--plum); color: var(--cream); padding: 10px 16px; border-radius: 8px;
  font-family: var(--f-display); font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

/* Bands */
.band {
  position: relative;
  background: var(--bg, var(--cream));
  color: var(--fg, var(--ink));
  padding-block: clamp(64px, 9vw, 112px);
}
.band--cream { --bg: var(--cream); --fg: var(--ink); }
.band--paper { --bg: var(--paper); --fg: var(--ink); }
.band--plum {
  --bg: var(--plum); --fg: var(--cream);
  --muted: rgb(235 232 224 / 0.8);
  --line: var(--line-on-plum);
}

/* Type */
.h {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.h--xl { font-size: clamp(2.3rem, 5vw, 3.8rem); }
.h--lg { font-size: clamp(2rem, 4vw, 3rem); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--f-display); font-weight: 700;
  font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--plum);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; opacity: 0.7; }
.band--plum .eyebrow { color: var(--blush); }

.lede { font-size: 1.15rem; line-height: 1.55; max-width: 38ch; color: var(--muted); }
.head { display: grid; gap: 16px; margin-bottom: 44px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-family: var(--f-display); font-weight: 700; font-size: 1rem;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  padding: 0.95em 1.6em; min-height: 48px;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--plum { background: var(--plum); color: var(--cream); }
.btn--plum:hover { background: var(--plum-deep); }
.btn--cream { background: var(--cream); color: var(--plum); }
.btn--ghost { background: transparent; border-color: currentColor; color: inherit; }
.btn[disabled] { opacity: 0.6; cursor: default; transform: none; }

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--plum); outline-offset: 3px;
}
.band--plum a:focus-visible, .band--plum button:focus-visible, .band--plum input:focus-visible,
.hero a:focus-visible, .hero button:focus-visible, .hero input:focus-visible { outline-color: var(--blush); }

/* Header */
.site-header {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 50;
  padding-inline: 14px;
}
.site-header__bar {
  max-width: 1252px; margin-inline: auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  background: rgb(235 232 224 / 0.94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 18px;
  padding: 12px 22px; min-height: 66px;
  box-shadow: 0 6px 24px rgb(0 0 0 / 0.08);
}
.site-nav { display: flex; gap: 22px; font-size: 0.98rem; }
.site-nav a { text-decoration: none; color: var(--ink); }
.site-nav a:hover { color: var(--plum); text-decoration: underline; text-underline-offset: 4px; }
.wordmark {
  font-family: var(--f-display); font-weight: 700; font-size: 1.85rem;
  letter-spacing: 0.02em; text-transform: uppercase; text-decoration: none; color: var(--ink);
  line-height: 1;
}
.site-header__cta { justify-self: end; }
.site-header__cta .btn { padding: 0.55em 1.1em; min-height: 40px; font-size: 0.86rem; letter-spacing: 0.04em; text-transform: none; }

/* Hero */
.hero {
  --fg: var(--cream);
  position: relative; overflow: hidden;
  background: var(--plum-deep); color: var(--cream);
  padding-block: clamp(140px, 15vw, 180px) 72px;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgb(45 8 33 / 0.94) 0%, rgb(45 8 33 / 0.8) 45%, rgb(45 8 33 / 0.35) 78%, rgb(45 8 33 / 0.2) 100%);
}
.hero__inner {
  position: relative; display: grid; grid-template-columns: 1.2fr 0.8fr;
  align-items: center; gap: clamp(28px, 5vw, 64px);
}
.hero__tag {
  display: inline-block;
  font-family: var(--f-display); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  background: rgb(235 232 224 / 0.12); border: 1px solid var(--line-on-plum);
  padding: 0.45em 0.9em; border-radius: 999px;
}
.hero__title { font-size: clamp(3rem, 8vw, 6.4rem); margin: 18px 0 22px; }
.hero__sub { font-size: 1.2rem; max-width: 32ch; color: rgb(235 232 224 / 0.88); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__facts {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  margin: 40px 0 0; padding: 22px 0 0; list-style: none;
  border-top: 1px solid var(--line-on-plum);
  font-family: var(--f-display); font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.82rem;
}
.hero__facts li { display: inline-flex; gap: 0.5em; align-items: baseline; }
.hero__facts strong { font-size: 1.2rem; letter-spacing: 0.01em; }

/* Signup card */
.card-signup {
  background: var(--cream); color: var(--ink);
  border-radius: 22px; padding: clamp(24px, 3vw, 34px);
  box-shadow: 0 30px 60px rgb(0 0 0 / 0.35);
  display: grid; gap: 14px;
}
.card-signup__flavor {
  font-family: var(--f-display); font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; font-size: 0.85rem; color: var(--plum);
}
.card-signup__title { font-size: clamp(1.7rem, 2.8vw, 2.2rem); }
.card-signup p.small { font-size: 0.98rem; color: var(--muted); }

.checks {
  list-style: none; margin: 4px 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px;
}
.checks li { display: flex; gap: 10px; align-items: center; font-size: 0.97rem; }
.checks li::before {
  content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%;
  background: var(--plum) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.4' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Waitlist forms */
.wl { display: grid; gap: 10px; }
.wl__row { display: flex; gap: 10px; flex-wrap: wrap; }
.wl__input {
  flex: 1 1 220px; min-width: 0; min-height: 52px;
  font: inherit; font-size: 1rem;
  padding: 0.85em 1.2em; border-radius: 999px;
  border: 2px solid var(--line); background: #fff; color: var(--ink);
}
.wl__input::placeholder { color: #8a857c; }
.wl__row .btn { flex: 0 0 auto; }
.wl--stack .wl__row { flex-direction: column; }
.wl--stack .wl__row .btn { width: 100%; }
.wl__msg { font-size: 0.92rem; color: var(--muted); min-height: 1.4em; }
.wl__msg.ok { color: var(--plum); font-weight: 600; }
.wl__msg.err { color: #9a2b2b; }
.band--plum .wl__msg.ok, .pop .wl__msg.ok { color: var(--blush); }
.band--plum .wl__msg.err, .pop .wl__msg.err { color: #f2b8b0; }

/* Marquee */
.marquee {
  background: var(--blush-soft); color: var(--plum);
  overflow: hidden; border-block: 1px solid rgb(73 14 53 / 0.18);
}
.marquee__track { display: flex; width: max-content; animation: scroll 38s linear infinite; }
.marquee__item {
  display: flex; align-items: center; padding-block: 16px; white-space: nowrap;
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 1.35rem;
}
.marquee__item::after {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--plum); margin-inline: 28px;
}
@keyframes scroll { to { transform: translateX(-50%); } }

/* Belief */
.belief { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.belief__title { margin-top: 18px; font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1; }
.belief__title em { font-style: normal; color: var(--blush); }
.belief__copy { display: grid; gap: 18px; font-size: 1.1rem; color: var(--muted); }
.belief__line { font-size: clamp(1.3rem, 2.2vw, 1.7rem); color: var(--fg); margin-top: 6px; }
.belief__copy .btn { justify-self: start; }

.compare {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.compare > div { padding: 18px 20px; display: grid; gap: 6px; align-content: start; }
.compare > div + div { border-left: 1px solid var(--line); background: rgb(235 232 224 / 0.06); }
.compare__label {
  font-family: var(--f-display); font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; font-size: 0.78rem; color: var(--blush);
}
.compare p { font-size: 0.98rem; line-height: 1.45; color: var(--fg); }

/* Ingredients */
.inside { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.inside__intro { position: sticky; top: 120px; display: grid; gap: 20px; }
.zero { display: grid; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.zero li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  border-bottom: 1px solid var(--line); padding-bottom: 8px;
  font-family: var(--f-display); font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; font-size: 0.9rem;
}
.zero strong { font-size: 1.5rem; letter-spacing: 0; color: var(--plum); }

.ing { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.ing__item {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; display: grid; gap: 12px;
}
.ing__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 16px; flex-wrap: wrap; }
.ing__name { font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--plum); }
.ing__detail {
  font-family: var(--f-display); font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.03em; color: var(--muted); text-transform: none; margin-left: 0.35em;
}
.pill {
  font-family: var(--f-display); font-weight: 700; font-size: 0.75rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--plum); color: var(--cream);
  border-radius: 999px; padding: 0.35em 0.95em; white-space: nowrap;
}
.ing__rows { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0; }
.ing__rows dt {
  font-family: var(--f-display); font-weight: 700; font-size: 0.76rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-top: 4px;
}
.ing__rows dd { margin: 0; max-width: 58ch; }
.inside__note { margin-top: 22px; font-size: 0.9rem; color: var(--muted); max-width: 52ch; }

/* Where it fits */
.day { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.slot {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: grid; gap: 10px; align-content: start;
}
.slot__time { font-family: var(--f-display); font-weight: 700; font-size: 2.4rem; line-height: 1; color: var(--plum); }
.slot__time small { font-size: 1rem; margin-left: 4px; }
.slot__title { font-size: 1.3rem; }
.slot p { color: var(--muted); font-size: 1rem; }

/* Who */
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 440px; display: flex; align-items: flex-end;
  color: var(--cream); background: var(--plum-deep);
}
.card__ph { position: absolute; inset: 0; }
.card__ph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(1.15); }
.card::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: var(--plum); mix-blend-mode: multiply; opacity: 0.55;
}
.card::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 30%, rgb(45 8 33 / 0.92));
}
.card__txt { position: relative; z-index: 2; padding: 26px; display: grid; gap: 8px; }
.card__title { font-size: 2rem; }
.card p { font-size: 1rem; color: rgb(235 232 224 / 0.9); }
.who__close {
  margin-top: 28px; font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.05; max-width: 28ch; color: var(--plum);
}

/* Founder */
.founder { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 6vw, 80px); align-items: start; }
.founder__title { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 0.95; max-width: 11ch; color: var(--plum); }
.founder__copy { display: grid; gap: 16px; max-width: 58ch; font-size: 1.08rem; }
.founder__sig {
  font-family: var(--f-display); font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; font-size: 0.9rem; color: var(--muted);
}

/* Gyms */
.gyms { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 32px; align-items: center; }
.gyms__title { margin-top: 16px; }
.gyms__points { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.gyms__points li { display: flex; gap: 12px; color: var(--muted); }
.gyms__points li::before {
  content: ""; flex: none; width: 8px; height: 8px; margin-top: 0.62em;
  border-radius: 50%; background: var(--blush);
}
.gyms__box {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  display: grid; gap: 16px; background: rgb(235 232 224 / 0.06);
}
.gyms__box .btn { justify-self: start; }

/* Signup band */
.signup { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; }
.signup .head { margin: 0; }
.signup__title { font-size: clamp(2.6rem, 5.6vw, 4.4rem); color: var(--plum); }

/* Footer */
.site-footer {
  background: var(--plum-deep); color: var(--cream);
  padding-block: 56px 40px; font-size: 0.95rem;
}
.site-footer__top {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px;
  padding-bottom: 28px; border-bottom: 1px solid var(--line-on-plum);
}
.site-footer .wordmark { color: var(--cream); font-size: 2.2rem; }
.site-footer__spine { font-style: italic; color: rgb(235 232 224 / 0.8); margin-top: 6px; }
.social { display: flex; align-items: center; gap: 14px; }
.social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-on-plum); color: var(--cream);
}
.social a:hover { background: rgb(235 232 224 / 0.1); }
.social span { font-family: var(--f-display); font-weight: 700; letter-spacing: 0.08em; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 24px; }
.site-footer__links a { color: var(--cream); text-underline-offset: 4px; }
.site-footer__legal { margin-top: 18px; display: grid; gap: 6px; font-size: 0.85rem; color: rgb(235 232 224 / 0.72); }

/* Pop-up */
.pop {
  border: 0; padding: 0; max-width: min(460px, calc(100vw - 32px)); width: 100%;
  border-radius: 22px; background: var(--plum); color: var(--cream);
  box-shadow: 0 30px 80px rgb(0 0 0 / 0.45);
}
.pop::backdrop { background: rgb(26 25 23 / 0.55); }
.pop__inner { padding: 36px 30px 30px; display: grid; gap: 14px; position: relative; }
.pop .eyebrow { color: var(--blush); }
.pop__title { font-size: clamp(2rem, 6vw, 2.6rem); }
.pop p.small { color: rgb(235 232 224 / 0.85); }
.pop__close {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px;
  border-radius: 50%; border: 2px solid var(--line-on-plum); background: transparent;
  color: var(--cream); font-size: 1.3rem; line-height: 1; cursor: pointer;
}
.pop .wl__input { border-color: transparent; background: var(--cream); }

/* Simple pages (patents, 404) */
.page-main { padding-block: 150px 96px; }
.doc { max-width: 820px; margin-inline: auto; padding-inline: 24px; }
.doc h1 { font-size: clamp(2.6rem, 7vw, 4.4rem); margin: 16px 0 20px; color: var(--plum); }
.doc p { color: var(--muted); margin-bottom: 16px; }
.doc p strong { color: var(--ink); }
.product-box {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; margin: 28px 0;
}
.product-box .eyebrow { margin-bottom: 6px; }
.product-box p { margin: 0; color: var(--ink); }
.patents { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--line); }
.patents li {
  display: grid; grid-template-columns: 160px 1fr; column-gap: 22px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.patents .pn {
  grid-row: span 2; font-family: var(--f-display); font-weight: 700;
  font-size: 1.1rem; letter-spacing: 0.02em; color: var(--plum);
}
.patents .pt { font-size: 1rem; }
.patents .pd { font-size: 0.88rem; color: var(--muted); }
.doc-foot { margin-top: 36px; display: grid; gap: 6px; font-size: 0.9rem; color: var(--muted); }

.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 140px 24px 80px; }
.notfound .h { font-size: clamp(2.6rem, 9vw, 4.6rem); color: var(--plum); margin: 14px 0 16px; }
.notfound p { color: var(--muted); margin-bottom: 28px; }

/* Responsive */
@media (max-width: 960px) {
  .site-nav { display: none; }
  .site-header__bar { grid-template-columns: auto 1fr; padding: 10px 16px; min-height: 58px; }
  .wordmark { font-size: 1.6rem; }
}
@media (max-width: 899px) {
  .hero__inner, .belief, .inside, .gyms, .signup, .founder { grid-template-columns: 1fr; }
  .hero__bg::after {
    background: linear-gradient(180deg, rgb(45 8 33 / 0.6), rgb(45 8 33 / 0.94) 55%);
  }
  .inside__intro { position: static; }
  .day, .who { grid-template-columns: 1fr; }
  .card { min-height: 320px; }
}
@media (max-width: 520px) {
  .compare, .checks { grid-template-columns: 1fr; }
  .compare > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .ing__rows { grid-template-columns: 1fr; gap: 2px 0; }
  .ing__rows dd + dt { margin-top: 8px; }
  .patents li { grid-template-columns: 1fr; }
  .patents .pn { grid-row: auto; }
  .site-header__cta .btn { padding: 0.5em 0.9em; }
  .wl__row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .btn { transition: none; }
}

/* Pop-up form fixes */
.wl--stack .wl__input { flex: 0 0 auto; }
.pop .wl__msg { color: rgb(235 232 224 / 0.75); }
