/* Granny's House Hacks — CRS Ventures Limited
   Warm flour cream, enamel navy, butter yellow. Bitter + Figtree. */

:root {
  --linen: #FBF9F4;
  --linen-deep: #E8E4DC;
  --linen-warm: #F7F3EA;
  --card: #FFFFFF;
  --leaf: #162B49;
  --leaf-hover: #0F1E34;
  --greenhouse: #162B49;
  --greenhouse-mid: #1C3558;
  --terracotta: #F5C518;
  --terracotta-soft: #F7D35A;
  --terracotta-deep: #C49A10;
  --moss: #B87333;
  --ink: #162B49;
  --soil: #3A3A32;
  --muted: #5C5A52;
  --line: rgba(22, 43, 73, 0.12);
  --line-terra: rgba(245, 197, 24, 0.55);
  --shadow: 0 18px 50px rgba(22, 43, 73, 0.1);
  --shadow-soft: 0 8px 28px rgba(22, 43, 73, 0.07);
  --serif: "Bitter", Georgia, "Times New Roman", serif;
  --sans: "Figtree", "Helvetica Neue", sans-serif;
  --topbar-h: 36px;
  --header-h: 72px;
  --wrap: 1180px;
  --radius: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-h) + var(--header-h) + 8px);
}

body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
button, input, select { font: inherit; color: inherit; }
a { color: var(--leaf); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--terracotta-deep); }

:focus-visible {
  outline: 2px solid var(--leaf);
  outline-offset: 3px;
}

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

/* ---------- Top bar & header ---------- */

.topbar {
  height: var(--topbar-h);
  background: var(--greenhouse);
  color: #F4EFE4;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(250, 247, 240, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(245, 197, 24, 0.28);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand:hover { color: inherit; }

.crest {
  width: 46px;
  height: 52px;
  flex: none;
  color: var(--terracotta);
  display: block;
}

.crest-mono { fill: var(--leaf); }

.wordmark {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--leaf);
  text-decoration: none;
  line-height: 1.1;
}

.wordmark:hover { color: var(--leaf); }
.wordmark span { display: block; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--terracotta); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 28px; }

.nav a:not(.btn) {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}

.nav a:not(.btn):hover { color: var(--leaf); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.nav-toggle i {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 13px 24px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn-primary,
a.btn-primary,
.nav a.btn-primary {
  background: var(--leaf);
  background-image: linear-gradient(180deg, #1E3A60 0%, #1B4332 55%, #12253F 100%);
  color: #FFFFFF;
  border: 1px solid transparent;
  box-shadow: 0 8px 18px rgba(22, 43, 73, 0.22);
}

.btn-primary:hover,
a.btn-primary:hover,
.nav a.btn-primary:hover {
  background: var(--leaf-hover);
  background-image: linear-gradient(180deg, #1B4332 0%, #143528 100%);
  color: #FFFFFF;
  border-color: var(--terracotta);
  box-shadow: 0 10px 22px rgba(22, 43, 73, 0.3);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
  padding-left: 8px;
  padding-right: 8px;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 600;
}

.btn-secondary:hover { color: var(--leaf); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--leaf);
  color: var(--leaf);
}

.btn-light {
  background: #fff;
  color: var(--leaf);
}

.btn-light:hover {
  background: var(--linen-deep);
  color: var(--leaf-hover);
}

.btn:disabled, .btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}

header .btn-primary, nav .btn-primary, .site-header .btn-primary { color: #ffffff !important; }

/* ---------- Hero ---------- */

.hero {
  min-height: calc(100svh - var(--topbar-h) - var(--header-h));
  display: grid;
  align-items: center;
  padding: 22px 0 28px;
  background:
    radial-gradient(ellipse 64% 78% at 78% 48%, rgba(245, 197, 24, 0.16) 0%, rgba(250, 247, 240, 0) 64%),
    radial-gradient(ellipse 40% 60% at 12% 80%, rgba(245, 197, 24, 0.18) 0%, transparent 70%),
    linear-gradient(180deg, #FAF7F0 0%, #E8E4DC 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}

.kicker {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  margin: 0 0 16px;
  padding: 6px 14px;
  border: 1px solid rgba(245, 197, 24, 0.7);
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.72);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--leaf);
}

.hero h1 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.12;
  color: var(--leaf);
  letter-spacing: -0.015em;
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--terracotta-deep);
}

.hero .lead {
  margin: 0 0 28px;
  font-size: 19px;
  line-height: 1.45;
  color: var(--soil);
  max-width: 34ch;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 18px;
}

.reassurance {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}

.hero-frame {
  margin: 0;
  position: relative;
  background: linear-gradient(180deg, #FBF6EB 0%, #E8E4DC 100%);
  padding: 10px 10px 0;
  border-radius: 4px;
  border: 1px solid rgba(245, 197, 24, 0.55);
  box-shadow:
    0 0 0 1px rgba(255, 252, 247, 0.9),
    0 0 0 2px rgba(245, 197, 24, 0.28),
    0 28px 60px rgba(22, 43, 73, 0.18),
    0 8px 18px rgba(28, 25, 23, 0.08);
}

.hero-mat {
  position: relative;
  padding: 7px;
  background: #FFFaf3;
  box-shadow: inset 0 0 0 1px rgba(245, 197, 24, 0.55);
}

.hero-mat img {
  width: 100%;
  aspect-ratio: 16 / 10.1;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.hero-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  background: rgba(22, 43, 73, 0.82);
  color: #F6EFD8;
  border: 1px solid var(--terracotta-soft);
  padding: 7px 11px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 16px rgba(22, 43, 73, 0.28);
}

.hero-frame figcaption {
  padding: 9px 8px 10px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--soil);
  text-align: center;
}

/* ---------- Ornamental dividers ---------- */

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 8px;
  width: min(280px, 60%);
  pointer-events: none;
}

.ornament span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 197, 24, 0.7), rgba(245, 197, 24, 0.7));
}

.ornament span:last-child {
  background: linear-gradient(90deg, rgba(245, 197, 24, 0.7), rgba(245, 197, 24, 0.7), transparent);
}

.ornament i {
  width: 7px;
  height: 7px;
  border: 1px solid var(--terracotta);
  transform: rotate(45deg);
  background: #FBF6EB;
  display: block;
  box-shadow: 0 0 0 3px var(--linen-deep);
}

.section-ink > .ornament i { box-shadow: 0 0 0 3px var(--linen); }
.showcase > .ornament i { background: var(--greenhouse); box-shadow: 0 0 0 3px var(--greenhouse); border-color: var(--terracotta-soft); }
.showcase > .ornament span,
.showcase > .ornament span:last-child { opacity: 0.85; }

/* ---------- Sections ---------- */

section { padding: 88px 0; }
section.hero { padding: 22px 0 28px; }

.section-ink { background: var(--linen); }
.section-soft { background: var(--linen-deep); }
.section-card { background: #FFFcf8; }

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2,
.legal-body h1,
.cta-band h2,
.drawer-panel h2,
.legal-hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--leaf);
  line-height: 1.2;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(32px, 3.4vw, 44px);
}

.section-head p { margin: 0; color: var(--soil); }

/* ---------- Steps ---------- */

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px 24px;
  box-shadow: var(--shadow-soft);
}

.step-num {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 700;
  margin-bottom: 10px;
}

.step h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--leaf);
}

.step p { margin: 0; color: var(--soil); font-size: 15.5px; }

/* ---------- Library cards ---------- */

.library-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.lib-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.lib-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.lib-card .lib-body { padding: 20px 20px 22px; }
.lib-card h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--leaf);
}
.lib-card p { margin: 0; color: var(--soil); font-size: 15px; }

/* ---------- Dark greenhouse showcase ---------- */

.showcase {
  background:
    radial-gradient(ellipse 70% 80% at 80% 20%, rgba(245, 197, 24, 0.12), transparent 55%),
    linear-gradient(180deg, #162B49 0%, #102038 100%);
  color: #F4EFE4;
  padding: 88px 0;
}

.showcase .section-head h2 { color: #F7F1E6; }
.showcase .section-head p { color: #D5D8C8; }
.showcase .kicker { color: var(--terracotta-soft); }

.hemi-toggle {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 0 auto 36px;
  width: fit-content;
  border: 1px solid rgba(212, 154, 99, 0.45);
  border-radius: 999px;
  padding: 4px;
  background: rgba(10, 20, 36, 0.5);
}

.hemi-toggle button {
  appearance: none;
  border: 0;
  background: transparent;
  color: #D5D8C8;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
}

.hemi-toggle button[aria-pressed="true"] {
  background: var(--terracotta);
  color: #162B49;
}

.month-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 28px;
}

.month-nav h3 {
  margin: 0;
  min-width: 14ch;
  text-align: center;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  color: #F7F1E6;
}

.month-nav button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(212, 154, 99, 0.5);
  background: transparent;
  color: var(--terracotta-soft);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.month-nav button:hover {
  background: rgba(245, 197, 24, 0.15);
  color: #fff;
}

.tip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.tip-card {
  background: rgba(255, 252, 247, 0.05);
  border: 1px solid rgba(244, 239, 228, 0.12);
  border-radius: 10px;
  padding: 22px 22px 20px;
}

.tip-card h4 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 18px;
  color: #F7F1E6;
}

.tip-card p { margin: 0; color: #D5D8C8; font-size: 15px; }

.showcase-note {
  margin: 28px auto 0;
  max-width: 680px;
  text-align: center;
  font-size: 13.5px;
  color: #B7BBA8;
}

/* ---------- Pricing ---------- */

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.price-card.featured {
  border: 1px solid var(--terracotta);
  background: linear-gradient(180deg, #FFFBF5 0%, #FFFFFF 42%);
  box-shadow:
    0 0 0 1px #fff,
    0 0 0 2px rgba(245, 197, 24, 0.85),
    0 22px 50px rgba(22, 43, 73, 0.12);
  transform: translateY(-6px);
  overflow: hidden;
}

.price-card.featured::before {
  content: "";
  display: block;
  height: 6px;
  margin: -32px -28px 22px;
  background: linear-gradient(90deg, #0F1E34 0%, #162B49 48%, #F5C518 100%);
}

.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--leaf);
  color: #fff;
  border: 1px solid var(--terracotta);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.price-card h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--leaf);
}

.price {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  color: var(--leaf);
}

.price small {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
}

.price-card .role {
  margin: 0 0 20px;
  color: var(--soil);
  font-size: 15px;
}

.price-card ul {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  flex: 1;
}

.price-card li {
  padding-left: 18px;
  position: relative;
  font-size: 15px;
  color: var(--ink);
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.55em;
  height: 0.32em;
  border-left: 1.5px solid var(--terracotta);
  border-bottom: 1.5px solid var(--terracotta);
  transform: rotate(-45deg);
}

.price-card .btn { width: 100%; }

.price-notes {
  margin: 28px auto 0;
  max-width: 720px;
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
}

.price-notes p { margin: 0 0 6px; }

/* ---------- Trust ---------- */

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.trust-item {
  padding-top: 16px;
  border-top: 1px solid var(--terracotta);
}

.trust-item h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--leaf);
}

.trust-item p {
  margin: 0;
  font-size: 15px;
  color: var(--soil);
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq-item { border-bottom: 1px solid var(--line); }

.faq-item button {
  width: 100%;
  background: none;
  border: 0;
  padding: 20px 36px 20px 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--leaf);
  position: relative;
  line-height: 1.3;
}

.faq-item button::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 18px;
  color: var(--terracotta);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 26px;
  line-height: 1;
}

.faq-item[open] button::after { content: "–"; }

.faq-item .faq-body {
  display: none;
  padding: 0 8px 22px 0;
  color: var(--soil);
}

.faq-item[open] .faq-body { display: block; }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--leaf);
  color: #F4EFE4;
  padding: 72px 0;
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 10px;
  font-size: clamp(32px, 4vw, 46px);
  color: #fff;
}

.cta-band p {
  margin: 0 auto 28px;
  max-width: 38ch;
  color: #D5E0D4;
}

.cta-band .btn-light { min-width: 220px; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--greenhouse);
  color: #E8DFD4;
  padding: 56px 0 32px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.site-footer .brand { color: var(--terracotta-soft); }
.site-footer .crest-mono { fill: #F6EFD8; }
.site-footer .wordmark { color: #F6F0E7; }
.site-footer .wordmark span { color: var(--terracotta-soft); }
.site-footer p { color: #D5D8C8; }
.site-footer h3 {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta-soft);
  font-weight: 600;
}

.footer-links { display: grid; gap: 8px; }

.site-footer a {
  color: #E8DFD4;
  text-decoration: none;
}

.site-footer a:hover { color: #fff; }

.footer-legal {
  border-top: 1px solid rgba(246, 240, 231, 0.12);
  padding-top: 22px;
  font-size: 12.5px;
  color: #B7BBA8;
  display: grid;
  gap: 8px;
}

/* ---------- Drawer ---------- */

.drawer-root[hidden] { display: none !important; }

.drawer-root {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 43, 73, 0.46);
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(460px, 100%);
  background: var(--linen);
  box-shadow: -16px 0 40px rgba(22, 43, 73, 0.18);
  overflow: auto;
  padding: 28px 28px 48px;
  animation: slideIn 0.32s var(--ease);
}

@keyframes slideIn {
  from { transform: translateX(24px); opacity: 0.6; }
  to { transform: none; opacity: 1; }
}

.drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.drawer-panel h2 { margin: 0; font-size: 30px; }

.icon-close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 4px;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.preview-note {
  background: #F8F1D6;
  border: 1px solid rgba(245, 197, 24, 0.35);
  color: var(--soil);
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 13.5px;
  margin: 16px 0 22px;
}

.field { margin: 0 0 18px; }

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-inline-size: 0;
}

legend { padding: 0; }

.field > label, .field-legend {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--soil);
  margin-bottom: 8px;
}

.pack-options { display: grid; gap: 8px; }

.choice {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 10px;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  cursor: pointer;
}

.choice:hover { border-color: var(--terracotta); }
.choice:has(input:checked) {
  border-color: var(--leaf);
  box-shadow: inset 0 0 0 1px var(--leaf);
}

.choice input { margin-top: 3px; accent-color: var(--leaf); }
.choice strong { display: block; font-size: 15px; text-transform: none; letter-spacing: 0; color: var(--leaf); }
.choice span { font-size: 13px; color: var(--muted); }
.choice em {
  font-style: normal;
  font-weight: 700;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--leaf);
  align-self: center;
  letter-spacing: 0;
  text-transform: none;
}

select, .text-input {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
}

.consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 14px;
  margin: 0 0 12px;
}

.consent input { margin-top: 3px; accent-color: var(--leaf); }

.geo-block {
  background: #F8F1D6;
  border: 1px solid rgba(245, 197, 24, 0.3);
  color: var(--soil);
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 14px;
  margin: 0 0 16px;
}

.drawer-panel .btn-primary { width: 100%; margin-top: 8px; }

.drawer-success { text-align: center; padding: 24px 8px; }
.drawer-success h3 {
  font-family: var(--serif);
  font-size: 30px;
  margin: 0 0 10px;
  color: var(--leaf);
}

/* ---------- Legal pages ---------- */

.legal-hero { padding: 48px 0 8px; }

.legal-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  color: var(--leaf);
}

.legal-hero .lede {
  margin: 0;
  color: var(--soil);
  max-width: 60ch;
}

.legal-body {
  padding: 32px 0 88px;
  max-width: 760px;
}

.legal-body h2 { margin: 32px 0 10px; font-size: 26px; }
.legal-body h3 {
  margin: 22px 0 8px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--leaf);
}
.legal-body p, .legal-body li { color: var(--ink); }
.legal-body ul { padding-left: 1.15em; }
.legal-body .meta { font-size: 13.5px; color: var(--muted); }

.cancel-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px;
  box-shadow: var(--shadow-soft);
  margin: 24px 0;
}

.cancel-card h2 { margin-top: 0; }
.save-offer {
  border: 1px solid var(--terracotta);
  background: #FBF6EB;
  border-radius: 8px;
  padding: 18px;
  margin: 18px 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .library-grid, .trust-grid, .tip-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .steps-row, .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { min-height: 0; padding: 20px 0 28px; }
  .hero .lead { max-width: 40ch; }
  .price-card.featured { transform: none; }
}

@media (max-width: 800px) {
  :root { --header-h: 64px; --topbar-h: auto; }
  .topbar {
    height: auto;
    min-height: 32px;
    padding: 6px 12px;
    font-size: 10.5px;
    letter-spacing: 0.06em;
    line-height: 1.35;
  }
  .wrap { width: min(var(--wrap), calc(100% - 32px)); }
  .nav-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--linen);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
    gap: 4px;
  }
  .nav.open { display: flex; }
  .nav a, .nav .btn { width: 100%; justify-content: center; padding: 12px; }
  .library-grid, .price-grid, .steps-row { grid-template-columns: 1fr 1fr; }
  .price-grid { gap: 28px 16px; }
  section, .showcase { padding: 64px 0; }
  .hero h1 { font-size: 36px; }
  .footer-grid { grid-template-columns: 1fr; }
  .wordmark { font-size: 18px; }
}

@media (max-width: 560px) {
  .library-grid, .price-grid, .steps-row, .trust-grid, .tip-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-secondary { text-align: center; }
  .hero-mat img { aspect-ratio: 16 / 11; }
  .hero-badge { font-size: 9.5px; padding: 6px 9px; left: 10px; bottom: 10px; }
}


/* House Hacks — category filters & typographic playbooks */

.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 auto 36px;
}

.filter-tabs button {
  appearance: none;
  border: 1px solid rgba(245, 197, 24, 0.45);
  background: transparent;
  color: #E8E4DC;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
}

.filter-tabs button[aria-pressed="true"] {
  background: var(--terracotta);
  color: #162B49;
  border-color: var(--terracotta);
}

.lib-card[hidden] { display: none !important; }

.lib-card.typo {
  min-height: 100%;
  background:
    linear-gradient(180deg, #FFFDF8 0%, #F7F3EA 100%);
  border: 1px solid var(--line);
}

.lib-card.typo .lib-body { padding: 28px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.lib-card.typo .lib-kicker {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
}

.safety-note {
  margin: 32px auto 0;
  max-width: 760px;
  text-align: center;
  font-size: 13.5px;
  color: #D5D8C8;
  border-top: 1px solid rgba(245, 197, 24, 0.25);
  padding-top: 22px;
}

.showcase .safety-note { color: #E4E6D8; }

/* Contrast: butter yellow is an accent, not body type on cream */
.kicker { color: #B87333; }
.eyebrow-pill { color: var(--leaf); }
.hero h1 em { color: var(--leaf); font-style: italic; }
.showcase .kicker,
.cta-band .kicker { color: var(--terracotta-soft); }
.price-card li::before {
  border-left-color: #B87333;
  border-bottom-color: #B87333;
}
.faq-item button::after { color: #B87333; }
.step-num { color: #B87333; }


/* ---------- Sample lesson card + annual-first pricing ---------- */

.sample-lesson {
  margin-top: 36px;
}

.sample-card {
  max-width: 820px;
  margin: 0 auto;
  padding: 22px 22px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.85),
    0 0 0 2px color-mix(in srgb, var(--terracotta) 45%, transparent),
    var(--shadow-soft);
}

.sample-card .sample-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta-deep, var(--terracotta));
  text-align: center;
}

.sample-card h2 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--leaf);
  text-align: center;
}

.sample-frame { margin: 0; }

.sample-mat {
  position: relative;
  padding: 6px;
  background: #fffaf3;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--terracotta) 55%, transparent);
  border-radius: 4px;
}

.sample-mat video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #111;
  border-radius: 2px;
}

.price-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.price-grid.one {
  grid-template-columns: minmax(0, 440px);
  justify-content: center;
}

.price-assurance {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin: 22px auto 0;
  max-width: 820px;
}

.price-assurance p {
  margin: 0;
  flex: 1 1 280px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--card) 80%, var(--linen-warm, #f7f3ea));
  font-size: 14px;
  color: var(--ink);
  text-align: center;
}

.price-assurance strong { font-weight: 650; }

@media (max-width: 800px) {
  .price-grid.two,
  .price-grid.one { grid-template-columns: 1fr; max-width: 440px; }
  .sample-card { padding: 16px 14px 14px; }
}


/* ---- Creative pack: portrait reveal loop + 3-tile self-serve support ---- */
.section-loop {
  padding: 56px 0;
  background: var(--ivory-deep, var(--bg-soft, var(--bg, transparent)));
}
.loop-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 280px);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.loop-copy h2 {
  margin: 0 0 12px;
}
.loop-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted, inherit);
}
.phone-frame,
.sample-frame-portrait {
  margin: 0;
  justify-self: center;
}
.phone-bezel,
.sample-phone {
  width: min(100%, 280px);
  margin-inline: auto;
  padding: 10px 10px 16px;
  border-radius: 28px;
  background: #161412;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 18px 40px rgba(0, 0, 0, 0.28);
}
.phone-bezel video,
.sample-phone video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  background: #111;
}
.section-support {
  padding: 64px 0 48px;
  background: var(--ivory, var(--bg, transparent));
}
.section-support .section-head { margin-bottom: 28px; }
.support-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.support-tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px 22px;
  background: var(--card, var(--bg-card, #fff));
  border: 1px solid var(--line, rgba(0, 0, 0, 0.1));
  box-shadow: var(--shadow-soft, 0 8px 24px rgba(0, 0, 0, 0.06));
}
.support-tile h3 {
  margin: 0;
  font-family: var(--serif, var(--display, inherit));
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.25;
  font-weight: 600;
}
.support-tile p {
  margin: 0;
  flex: 1;
  color: var(--muted, inherit);
  font-size: 15px;
}
.support-tile .btn {
  align-self: flex-start;
  margin-top: 8px;
  text-decoration: none;
}
@media (max-width: 860px) {
  .loop-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: left;
  }
  .support-tiles { grid-template-columns: 1fr; }
}

.sample-lesson { margin-top: 36px; }
.sample-card-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 280px);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  max-width: none;
}
.sample-card-split .sample-copy { text-align: left; }
.sample-card-split .sample-kicker,
.sample-card-split h2 { text-align: left; }
.sample-card-split .sample-blurb {
  margin: 0;
  color: var(--muted, inherit);
}
.sample-mat video,
.sample-phone video {
  aspect-ratio: 9 / 16;
  object-fit: cover;
  width: 100%;
  height: auto;
}
@media (max-width: 860px) {
  .sample-card-split {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .sample-card-split .sample-kicker,
  .sample-card-split h2 { text-align: center; }
  .sample-card-split .sample-copy { text-align: center; }
}

/* ---- CRO upgrades 2026-12-02 ---- */
.why-us { margin: 0 0 2.25rem; }
.why-us-scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.why-us-table { width: 100%; min-width: 28rem; border-collapse: collapse; background: var(--bg-card, var(--card, transparent)); }
.why-us-table th, .why-us-table td { padding: 0.7rem 0.85rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line, rgba(0,0,0,.1)); font-size: 0.95rem; }
.why-us-table thead th { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted, #666); font-weight: 600; }
.why-us-table td.why-us-us { font-weight: 600; color: var(--ink, inherit); }
.why-us-table td.why-us-them { color: var(--muted, #666); }
.why-us-note { margin: 0.65rem 0 0; font-size: 0.85rem; color: var(--muted, #666); }

.order-bump { display: flex; gap: 0.75rem; align-items: flex-start; margin: 0.85rem 0 0.25rem; padding: 0.9rem 1rem; border: 1px solid var(--line, rgba(0,0,0,.14)); border-radius: var(--radius, 8px); background: var(--bg-soft, var(--bg, transparent)); }
.order-bump input { margin-top: 0.2rem; flex: 0 0 auto; }
.gift-note { margin-top: 0.5rem; }
.gift-note .consent { display: flex; gap: 0.7rem; align-items: flex-start; }

.sticky-cta { display: none; }
@media (max-width: 767px) {
  .sticky-cta.is-visible {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
    background: var(--header-bg-solid, var(--bg, #fff));
    border-top: 1px solid var(--line, rgba(0,0,0,.12));
    box-shadow: 0 -10px 28px rgba(0,0,0,.1);
  }
  .sticky-cta.is-visible .btn { width: 100%; justify-content: center; }
  body.has-sticky-cta { padding-bottom: 4.5rem; }
}

.wall-scale { margin-top: 1.25rem; }
.wall-scale-toggle { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.7rem; }
.wall-scale-toggle button, .surface-toggle button, .hero-hemi .hemi-toggle button {
  appearance: none; border: 1px solid var(--line, rgba(0,0,0,.16)); background: transparent; color: inherit;
  padding: 0.4rem 0.7rem; border-radius: 999px; font: inherit; font-size: 0.85rem; cursor: pointer;
}
.wall-scale-toggle button[aria-pressed="true"], .surface-toggle button[aria-pressed="true"],
.hero-hemi .hemi-toggle button[aria-pressed="true"] {
  background: var(--ink, #111); color: var(--bg, #fff); border-color: var(--ink, #111);
}
.wall-stage {
  position: relative; overflow: hidden; border-radius: var(--card-radius, var(--radius, 8px));
  background: #d9cfc3; min-height: 240px; aspect-ratio: 16 / 10;
}
.wall-stage-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wall-frame {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%);
  width: var(--frame-w, 28%); aspect-ratio: 2 / 3;
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
  background: #111; padding: 3%; transition: width .35s var(--ease, ease);
}
.wall-scale[data-size="desk"] { --frame-w: 16%; }
.wall-scale[data-size="hall"] { --frame-w: 24%; }
.wall-scale[data-size="wall"] { --frame-w: 34%; }
.wall-frame img { width: 100%; height: 100%; object-fit: cover; display: block; background: #fff; }
.wall-caption, .mock-caption { margin: 0.55rem 0 0; font-size: 0.88rem; color: var(--muted, #666); }

.surface-toggle { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.4rem 0 0.7rem; }
.live-kit-preview[data-surface="light"] { background: #fff; color: #1a1b1e; padding: 0.9rem; border-radius: 8px; border: 1px solid rgba(0,0,0,.08); }
.live-kit-preview[data-surface="dark"] { background: #16171a; color: #f4efe6; padding: 0.9rem; border-radius: 8px; }
.live-kit-preview[data-surface="social"] { background: #111; color: #fff; padding: 1rem; border-radius: 8px; }
.live-kit-preview[data-surface="social"] .live-kit-row { justify-content: center; }
.live-kit-preview[data-surface="social"] .live-lockup {
  width: 7.2rem; height: 7.2rem; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center;
}
.live-kit-preview[data-surface="dark"] .live-kit-kicker { color: rgba(244,239,230,.7); }

.hero-plant-card { margin-top: 1.15rem; padding: 1rem 1.05rem; border: 1px solid var(--line, rgba(0,0,0,.12)); border-radius: var(--radius, 8px); background: var(--bg-soft, var(--bg-card, transparent)); }
.hero-plant-card h3 { margin: 0.55rem 0 0.5rem; font-size: 1.05rem; }
.hero-plant-card ol { margin: 0; padding-left: 1.15rem; }
.hero-plant-card li { margin: 0.25rem 0; }

.lifestyle-block { margin: 0 0 2rem; }
.lifestyle-grid { display: grid; gap: 1rem; }
@media (min-width: 800px) { .lifestyle-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.lifestyle-grid figure { margin: 0; }
.lifestyle-grid img, .lifestyle-block img, .vault-preview img, .brand-in-use img, .room-mock img {
  width: 100%; height: auto; display: block; border-radius: var(--card-radius, var(--radius, 8px));
}
.vault-preview, .brand-in-use, .room-mock, .lifestyle-block figure { margin: 1rem 0 0; }
.vault-preview figcaption, .brand-in-use figcaption, .room-mock figcaption, .lifestyle-block figcaption {
  margin: 0.5rem 0 0; font-size: 0.9rem; color: var(--muted, #666);
}

.pair-shot .reveal { width: 100%; aspect-ratio: 3 / 4; }
.reveal { touch-action: none; user-select: none; -webkit-user-select: none; }
