:root {
  --cream: #FAFAFA;
  --cream-deep: #EFEFEF;
  --ink: #000000;
  --rule: rgba(0, 0, 0, 0.16);
  --rule-strong: rgba(0, 0, 0, 0.20);
  --tab-h: 64px;
  --top-h: 56px;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'EB Garamond', serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior-y: none;
}

body {
  padding-top: calc(var(--top-h) + env(safe-area-inset-top));
  padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom));
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button { background: none; border: none; color: inherit; cursor: pointer; font: inherit; }

/* TOP BAR */
.top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: calc(var(--top-h) + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.brand {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 0.06em;
  color: var(--ink);
}

/* INSTALL BANNER */
.install-banner {
  position: fixed;
  top: calc(var(--top-h) + env(safe-area-inset-top));
  left: 0;
  right: 0;
  background: var(--ink);
  color: var(--cream);
  padding: 14px 44px 14px 20px;
  z-index: 40;
  font-family: 'EB Garamond', serif;
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
  border-bottom: 1px solid var(--ink);
}
.install-banner[hidden] { display: none; }
.install-content {
  max-width: 420px;
  margin: 0 auto;
}
.install-headline {
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 6px;
}
.install-text { color: var(--cream); }
.install-text strong {
  font-weight: 500;
}
.install-share-icon {
  display: inline-block;
  vertical-align: -3px;
  width: 14px;
  height: 14px;
  margin: 0 2px;
}
.install-btn {
  display: inline-block;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 8px 18px;
  border: 1px solid var(--cream);
  margin-top: 10px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.install-btn:hover { opacity: 0.85; }
.install-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--cream);
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.install-close:hover { opacity: 1; }
.install-close svg { width: 14px; height: 14px; }
/* When banner visible, push everything down */
body.has-install-banner main { padding-top: 92px; }

/* BOTTOM TABS */
.tabs {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(var(--tab-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--cream);
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  z-index: 50;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--ink);
  font-family: 'Archivo', sans-serif;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 0;
  opacity: 0.5;
  transition: opacity 0.2s;
}
.tab svg { width: 22px; height: 22px; }
.tab.active { opacity: 1; }
.tab:active { opacity: 0.6; }

/* SCREENS */
.screen { display: none; padding: 24px 20px 48px; max-width: 640px; margin: 0 auto; text-align: center; }
.screen.active { display: block; animation: fadeIn 0.25s ease-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.screen-head { margin-bottom: 28px; padding-top: 8px; }
.eyebrow {
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--ink);
  margin-bottom: 10px;
}
/* CARDS (Today screen) */
.card {
  background: var(--cream);
  border: 1px solid var(--rule);
  padding: 24px 22px;
  margin-bottom: 16px;
  position: relative;
  text-align: left;
}
.card-label {
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--ink);
  text-align: center;
  margin-bottom: 18px;
  padding-bottom: 12px;
  position: relative;
}
.card-label::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 1px;
  background: var(--ink);
}

/* QUOTE CARD (no italics) */
.card-quote blockquote {
  font-family: 'EB Garamond', serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: 0;
  margin-bottom: 18px;
  color: var(--ink);
  text-align: center;
}
.card-source {
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  text-align: center;
  padding-top: 14px;
  position: relative;
}
.card-source::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 1px;
  background: var(--ink);
}

/* TIKTOK CARD */
.tiktok-link { display: block; transition: opacity 0.2s; }
.tiktok-link:active { opacity: 0.7; }
.tiktok-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0 4px;
}
.tiktok-icon {
  width: 44px;
  height: 44px;
  background: var(--ink);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tiktok-icon svg { width: 22px; height: 22px; }
.tiktok-handle {
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 4px;
  color: var(--ink);
}
.tiktok-cta-line {
  font-family: 'EB Garamond', serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
}

/* PRODUCTS (match website) */
.product {
  padding: 32px 0;
  border-top: 1px solid var(--rule);
  text-align: center;
}
.product:first-of-type { border-top: 1px solid var(--rule); }
.product:last-of-type { border-bottom: 1px solid var(--rule); margin-bottom: 24px; }
.product-kind {
  font-family: 'Archivo', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--ink);
  margin-bottom: 12px;
}
.product-title {
  font-family: 'Bodoni Moda', serif;
  font-weight: 500;
  font-size: 26px;
  line-height: 1.15;
  margin-bottom: 10px;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.amp {
  font-family: 'EB Garamond', serif;
  font-style: normal;
  font-weight: 400;
  padding: 0 0.04em;
}
.product-sub {
  font-family: 'EB Garamond', serif;
  font-size: 18px;
  line-height: 1.45;
  color: var(--ink);
  margin: 0 auto 18px;
  max-width: 460px;
}
/* Filled black "Buy Now" button (matches website) */
.product-cta {
  display: inline-block;
  background: var(--ink);
  color: var(--cream);
  padding: 11px 22px;
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  border: 1px solid var(--ink);
  transition: opacity 0.2s;
}
.product-cta:active { opacity: 0.7; }
/* Subtle "Coming Soon" pseudo-link (matches website) */
.product-cta[aria-disabled="true"] {
  background: transparent;
  color: var(--ink);
  border: none;
  border-bottom: 1px solid var(--ink);
  padding: 0 0 4px 0;
  min-width: 0;
  font-size: 11px;
  letter-spacing: 0.22em;
  cursor: default;
  pointer-events: none;
}

/* ABOUT (centered, all black) */
.prose { max-width: 540px; margin: 0 auto; text-align: center; }
.prose p {
  font-family: 'EB Garamond', serif;
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 18px;
  color: var(--ink);
}

/* CONNECT */
.connect-line {
  font-family: 'Bodoni Moda', serif;
  font-weight: 500;
  font-style: normal;
  font-size: 22px;
  text-align: center;
  margin-bottom: 28px;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.connect-primary {
  display: block;
  background: var(--ink);
  color: var(--cream);
  padding: 14px 28px;
  text-align: center;
  font-family: 'Archivo', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  border: 1px solid var(--ink);
  margin: 0 auto 32px;
  max-width: 280px;
  transition: opacity 0.2s;
}
.connect-primary:active { opacity: 0.7; }
.socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin-bottom: 36px;
}
.socials a {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: opacity 0.2s;
}
.socials a:active { opacity: 0.6; }
.socials svg { width: 24px; height: 24px; }
.socials a[aria-label="YouTube"] svg { width: 28px; height: 28px; }
.socials a[aria-label="Email"] svg { width: 28px; height: 28px; }

/* DESKTOP ONLY: phone-shaped, readable layout. Mobile stays untouched. */
@media (min-width: 720px) {
  body { background: #F0EEE9; }
  .screen {
    max-width: 420px;
    padding-left: 24px;
    padding-right: 24px;
    background: var(--cream);
    box-shadow: 0 2px 30px rgba(0,0,0,0.06);
    min-height: calc(100vh - var(--top-h) - var(--tab-h));
  }
  .top {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 100%;
    max-width: 420px;
    border-left: 1px solid var(--rule);
    border-right: 1px solid var(--rule);
  }
  .tabs {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 100%;
    max-width: 420px;
    border-left: 1px solid var(--rule);
    border-right: 1px solid var(--rule);
  }
  .card-quote blockquote,
  .reframe-text,
  .read-text,
  .tiktok-cta-line,
  .prose p,
  .product-sub { font-size: 19px; line-height: 1.6; }
  .card-label,
  .reframe-tag,
  .reframe-concept,
  .card-source,
  .read-source { font-size: 12px; letter-spacing: 0.3em; }
  .product-title { font-size: 28px; }
}


/* === REFINEMENTS === */

/* Larger eyebrow variant (for section heads where it's the focal element) */
.eyebrow-large {
  font-family: 'Bodoni Moda', serif;
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.005em;
  text-transform: none;
  color: var(--ink);
  margin-bottom: 0;
  line-height: 1.15;
}

/* Products tab: just the eyebrow, no h1 */
.screen-head-eyebrow-only {
  margin-bottom: 20px;
}

@media (min-width: 720px) {
  .eyebrow-large { font-size: 32px; }
}


/* === TODAY CONNECT BLOCK === */
.today-connect {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  text-align: center;
}
.today-connect .connect-line {
  margin-bottom: 22px;
}
.today-connect .connect-primary {
  margin-bottom: 28px;
}
.today-connect .socials {
  margin-bottom: 8px;
}


/* === REFRAME CARD === */
.reframe-block {
  margin-top: 28px;
}
.reframe-block:first-of-type {
  margin-top: 0;
}
.reframe-block + .reframe-block {
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.reframe-tag {
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  text-align: center;
  margin-bottom: 18px;
  padding-bottom: 12px;
  position: relative;
}
.reframe-tag::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transfor