:root {
  --cream: #f5eedf;
  --paper: #fffaf0;
  --paper-strong: #fffdf7;
  --ink: #272017;
  --ink-soft: #6a5d4d;
  --line: rgba(39, 32, 23, .16);
  --line-dark: rgba(39, 32, 23, .28);
  --sage: #5f7355;
  --sage-dark: #344f45;
  --clay: #c87f5f;
  --rose: #c47787;
  --blue: #6d9ab3;
  --lavender: #a88cc4;
  --gold: #d4a85d;
  --shadow: 0 24px 70px rgba(39,32,23,.14);
  --font-hand: 'Caveat', cursive;
  --font-script: 'Shadows Into Light', cursive;
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --season-bg: url('assets/background-may.png');
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(200,127,95,.16), transparent 28%),
    radial-gradient(circle at 92% 10%, rgba(95,115,85,.13), transparent 26%),
    linear-gradient(90deg, rgba(39,32,23,.035) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(0deg, rgba(39,32,23,.026) 1px, transparent 1px) 0 0 / 36px 36px,
    var(--cream);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 32px));
  margin: 14px auto 0;
  padding: 10px 12px 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,250,240,.78);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(39,32,23,.07);
}

.brand { display: inline-flex; align-items: center; }
.brand-logo {
  display: block;
  width: 152px;
  height: auto;
}
.nav-links { display: flex; align-items: center; gap: 18px; font-size: .9rem; color: var(--ink-soft); }
.nav-cta {
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--paper);
  background: var(--sage-dark);
  font-weight: 700;
}

.section-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(340px, .82fr) minmax(520px, 1.18fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100vh - 62px);
  padding-top: 76px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--sage-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 22px;
  max-width: 760px;
  font-size: clamp(3.7rem, 8vw, 7.6rem);
  line-height: .82;
  letter-spacing: -.055em;
}
h2 {
  margin-bottom: 18px;
  font-size: clamp(2.3rem, 4.8vw, 5rem);
  line-height: .9;
  letter-spacing: -.045em;
}
h3 { font-size: 1.15rem; margin-bottom: 8px; }
.hero-lede, .section-heading p, .pricing-copy p {
  max-width: 610px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.65;
}

.hero-purpose,
.section-purpose {
  max-width: 650px;
  margin: 14px 0 0;
  color: rgba(39,32,23,.76);
  font-size: .98rem;
  line-height: 1.62;
}

.section-heading .section-purpose {
  margin: 10px auto 0;
  font-size: 1rem;
}

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.hero-policy-link,
.section-policy-link {
  max-width: 610px;
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: .9rem;
  line-height: 1.45;
}
.section-heading .section-policy-link {
  margin: 12px auto 0;
}
.hero-policy-link a,
.section-policy-link a {
  color: var(--sage-dark);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.waitlist-form {
  display: flex;
  gap: 8px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,253,247,.86);
  box-shadow: 0 12px 30px rgba(39,32,23,.08);
}
.waitlist-form input {
  min-width: 210px;
  border: 0;
  outline: 0;
  padding: 11px 12px;
  color: var(--ink);
  background: transparent;
}
.waitlist-form button, .secondary-btn {
  border: 0;
  border-radius: 12px;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 800;
}
.waitlist-form button { color: var(--paper); background: var(--sage-dark); }
.waitlist-form.success button { background: var(--sage); }
.secondary-btn { border: 1px solid var(--line-dark); color: var(--sage-dark); background: rgba(255,250,240,.55); }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; color: var(--ink-soft); font-size: .88rem; }
.trust-row span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,250,240,.45); }

.google-data-note {
  max-width: 860px;
  margin: 30px auto 0;
  padding: 22px 24px;
  border: 1px solid rgba(39,32,23,.13);
  border-radius: 20px;
  background: rgba(255,253,247,.62);
}
.google-data-note h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}
.google-data-note p {
  margin: 0;
  color: var(--ink-soft);
  font-size: .95rem;
  line-height: 1.62;
}
.google-data-note a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--sage-dark);
  font-size: .92rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.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;
}

.text-nowrap {
  white-space: nowrap;
}

.hero-product { position: relative; }
.device-frame {
  padding: 13px;
  border: 1px solid rgba(39,32,23,.2);
  border-radius: 34px;
  background: linear-gradient(145deg, #ede1d0, #fff7ea 45%, #d9cab8);
  box-shadow: var(--shadow);
  transform: rotate(.6deg);
}
.screen-toolbar {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 22px 22px 0 0;
  background: #2e332c;
  color: rgba(255,250,240,.78);
  font-size: .8rem;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #d9a06c; opacity: .9; }
.screen-toolbar strong { margin-left: 8px; font-weight: 600; }

.farmark-board {
  min-height: 560px;
  display: grid;
  grid-template-columns: clamp(150px, 24%, 220px) 1fr;
  gap: 14px;
  padding: 18px;
  border-radius: 0 0 24px 24px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,250,240,.95), rgba(255,250,240,.75)),
    var(--season-bg) center / cover;
}
.board-sidebar { display: flex; flex-direction: column; gap: 12px; }
.script-logo {
  font-family: var(--font-script);
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  line-height: .9;
  text-transform: uppercase;
  color: var(--sage-dark);
}
.note-card {
  padding: 13px;
  border: 1px solid rgba(39,32,23,.13);
  background: rgba(255,253,247,.56);
  box-shadow: 0 8px 20px rgba(39,32,23,.06);
}
.card-label {
  margin-bottom: 7px;
  font-family: var(--font-hand);
  color: var(--sage-dark);
  font-size: 1.55rem;
  line-height: .8;
  text-transform: uppercase;
}
.verse-card blockquote { margin: 0 0 8px; font-family: var(--font-script); font-size: 1.05rem; line-height: 1.2; }
.verse-card span, .weather-card small { color: var(--ink-soft); font-size: .78rem; }
.weather-line { display: flex; align-items: baseline; gap: 8px; }
.weather-line b { font-family: var(--font-hand); font-size: 3.2rem; color: var(--sage); line-height: .8; }
.ai-card p:last-child { color: var(--ink-soft); line-height: 1.45; margin-bottom: 0; }

.calendar-preview {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.calendar-preview-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.calendar-preview-head span { font-family: var(--font-hand); font-size: 2.25rem; line-height: .85; text-transform: uppercase; }
.calendar-preview-head em { color: var(--ink-soft); font-size: .78rem; font-style: normal; }
.preview-grid {
  display: grid;
  grid-template-columns: 100px repeat(5, minmax(72px, 1fr));
  border: 1px solid rgba(39,32,23,.28);
  background: rgba(255,253,247,.35);
  min-height: 455px;
}
.grid-head, .person, .cell { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid-head {
  min-height: 46px;
  display: grid;
  place-items: center;
  font-family: var(--font-script);
  font-size: 1.65rem;
  text-transform: uppercase;
}
.family-head { color: var(--ink-soft); font-size: 1.05rem; letter-spacing: .12em; }
.grid-head.today, .cell.today { background: rgba(200,127,95,.13); }
.person {
  display: flex;
  align-items: center;
  padding: 10px;
  font-family: var(--font-script);
  font-size: 1.85rem;
  text-transform: uppercase;
}
.person.mom { color: #9b7e6a; background: rgba(155,126,106,.13); }
.person.dad { color: var(--sage-dark); background: rgba(95,115,85,.13); }
.person.emma { color: var(--blue); background: rgba(109,154,179,.13); }
.person.jack { color: var(--lavender); background: rgba(168,140,196,.13); }
.cell { min-height: 100px; padding: 7px; }
.pill {
  display: block;
  padding: 6px 7px;
  border-left: 4px solid currentColor;
  border-radius: 4px;
  color: var(--ink);
  font-family: var(--font-hand);
  font-size: 1.1rem;
  line-height: .95;
  background: rgba(255,253,247,.76);
  box-shadow: 0 4px 10px rgba(39,32,23,.06);
}
.pill small { color: var(--ink-soft); font-family: var(--font-sans); font-size: .62rem; }
.pill.rose { background: rgba(196,119,135,.16); }
.pill.sage { background: rgba(95,115,85,.16); }
.pill.blue { background: rgba(109,154,179,.16); }
.pill.lavender { background: rgba(168,140,196,.16); }

.floating-chip {
  position: absolute;
  z-index: 3;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,253,247,.9);
  box-shadow: 0 12px 30px rgba(39,32,23,.12);
  color: var(--sage-dark);
  font-weight: 800;
  font-size: .86rem;
}
.chip-one { top: -14px; right: 9%; transform: rotate(-2deg); }
.chip-two { bottom: 34px; left: -18px; transform: rotate(2deg); }

.split-section {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(28px, 6vw, 86px);
  align-items: start;
}
.feature-stack { display: grid; gap: 14px; }
.feature-card, .widget-grid article, .price-card {
  border: 1px solid var(--line);
  background: rgba(255,253,247,.62);
  box-shadow: 0 14px 36px rgba(39,32,23,.07);
}
.feature-card { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 22px; }
.feature-card span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--sage-dark);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
}
.feature-card p, .widget-grid span { color: var(--ink-soft); line-height: 1.55; }

.device-icon-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.device-icon-list span {
  display: grid;
  place-items: center;
  gap: 7px;
  min-height: 82px;
  padding: 12px 8px;
  border: 1px solid rgba(95,115,85,.16);
  border-radius: 16px;
  background: rgba(255,253,247,.64);
  color: var(--sage-dark);
}

.device-icon-list svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.device-icon-list b {
  color: var(--ink);
  font-size: .78rem;
  font-weight: 850;
}

.device-icon-list .brand-icon {
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
  fill: currentColor;
  stroke: none;
}

.device-icon-list .apple-icon { color: #111; }
.device-icon-list .android-icon { color: #3DDC84; }
.device-icon-list .windows-icon,
.device-icon-list .chrome-icon { color: inherit; }
.device-icon-list .samsung-icon { width: 72px; }
.device-icon-list .tv-icon {
  fill: none;
  stroke: currentColor;
}

.feature-card sup {
  color: var(--clay);
  font-size: .72em;
  line-height: 0;
}

.device-icon-list path:first-child:not([fill]),
.device-icon-list rect {
  fill: rgba(95,115,85,.10);
}

.widget-title-with-icon {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
}

.google-icon {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
}

.photo-import-feature {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .7fr);
  align-items: center;
  gap: clamp(24px, 5vw, 70px);
  padding-top: 76px;
  padding-bottom: 76px;
}

.photo-import-copy p {
  max-width: 620px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.65;
}

.feature-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 7px 11px;
  border: 1px solid rgba(95, 115, 85, .22);
  border-radius: 999px;
  background: rgba(95, 115, 85, .10);
  color: var(--sage-dark);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.photo-import-steps {
  display: grid;
  gap: 12px;
}

.photo-import-steps article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  min-height: 76px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,253,247,.70);
  box-shadow: 0 14px 36px rgba(39,32,23,.07);
}

.photo-import-steps b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--sage-dark);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
}

.photo-import-steps span {
  color: var(--ink);
  font-weight: 820;
  line-height: 1.3;
}

body[data-theme='midnight-forest'] .photo-import-steps article,
[data-theme='dark'] .photo-import-steps article {
  background: rgba(35,39,33,.82);
  border-color: rgba(244,241,233,.14);
}

body[data-theme='midnight-forest'] .photo-import-steps b,
[data-theme='dark'] .photo-import-steps b {
  background: #B0C9BB;
  color: #102019;
}

body[data-theme='midnight-forest'] .photo-import-steps span,
[data-theme='dark'] .photo-import-steps span {
  color: var(--paper);
}

.section-heading { max-width: 760px; margin-bottom: 30px; }
.widget-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.widget-grid article { min-height: 150px; padding: 22px; }
.widget-grid b { display: block; margin-bottom: 12px; font-size: 1.05rem; }
.widget-grid b::before { content: '✦'; color: var(--clay); margin-right: 8px; }
.widget-grid span { display: block; }

.pricing {
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
}
.price-card { padding: 28px; border-radius: 24px; background: rgba(255,253,247,.78); }
.price-badge { display: inline-block; margin-bottom: 12px; padding: 7px 10px; border-radius: 999px; color: var(--sage-dark); background: rgba(95,115,85,.12); font-weight: 800; font-size: .78rem; }
.price { display: flex; align-items: baseline; gap: 7px; }
.price b { font-size: 4.8rem; line-height: .9; letter-spacing: -.06em; }
.price span { color: var(--ink-soft); font-weight: 700; }
.price-card ul { padding-left: 20px; color: var(--ink-soft); line-height: 1.9; }
.cta-form { margin-top: 20px; flex-direction: column; }
.cta-form input { min-width: 0; }

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 46px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

.device-legal {
  grid-column: 1 / -1;
  margin: 2px 0 0 !important;
  color: var(--ink-soft);
  font-size: .72rem;
  line-height: 1.35;
}

.support-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 72px;
}

.support-center {
  width: min(1040px, calc(100% - 32px));
}

.support-center-hero {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 24px 0 22px;
}

.support-center-hero h1 {
  max-width: 780px;
  margin: 0 0 20px;
  font-family: var(--font-sans);
  font-size: clamp(2.35rem, 4.8vw, 4.35rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.052em;
}

.support-search {
  width: min(760px, 100%);
  min-height: 66px;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  padding: 0 20px;
  border: 1px solid rgba(58, 46, 34, .20);
  border-radius: 16px;
  background: rgba(255, 253, 247, .96);
  box-shadow: 0 20px 54px rgba(39, 32, 23, .12), inset 0 1px 0 rgba(255,255,255,.82);
}

.support-search span {
  color: var(--sage-dark);
  font-size: 1.5rem;
  font-weight: 900;
}

.support-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: 700 1rem/1 var(--font-sans);
}

.support-search input::placeholder {
  color: rgba(62, 52, 42, .68);
}

.support-quick-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 2px 0 18px;
}

.support-quick-links a {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border: 1px solid rgba(58, 46, 34, .12);
  border-radius: 999px;
  background: rgba(255,253,247,.62);
  color: var(--sage-dark);
  font-weight: 850;
  text-align: center;
}

.support-category-list,
.support-results {
  display: grid;
  gap: 16px;
}

.support-results[hidden],
.support-category-list[hidden] {
  display: none;
}

.support-category-card,
.support-contact,
.support-article-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,253,247,.78);
  box-shadow: 0 14px 38px rgba(39,32,23,.07);
}

.support-category-card {
  padding: 24px;
}

.support-category-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(58, 46, 34, .10);
}

.support-category-head h2,
.support-contact h2,
.support-article-card h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.25rem;
  line-height: 1.15;
  letter-spacing: -.015em;
}

.support-category-head p,
.support-contact p,
.support-article-card li,
.support-empty {
  max-width: 660px;
  margin: 7px 0 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.support-category-head span {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(95, 115, 85, .11);
  color: var(--sage-dark);
  font-size: .78rem;
  font-weight: 850;
  white-space: nowrap;
}

.support-link-list {
  display: grid;
  margin-top: 14px;
}

.support-link-list a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 11px 0;
  border-top: 1px solid rgba(58, 46, 34, .075);
  color: var(--ink);
  font-weight: 760;
}

.support-link-list a:first-child {
  border-top: 0;
}

.support-link-list a::after {
  content: '›';
  margin-left: auto;
  color: var(--sage-dark);
  font-size: 1.45rem;
  line-height: 1;
}

.support-contact {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding: 24px;
}

.support-contact-actions {
  display: grid;
  gap: 8px;
  min-width: 260px;
}

.support-contact-actions a,
.support-back {
  color: var(--sage-dark);
  font-weight: 800;
}

.support-article {
  max-width: 980px;
}

.support-back {
  display: inline-flex;
  margin-bottom: 24px;
}

.support-article-hero,
.support-hero {
  max-width: 820px;
  margin-bottom: 20px;
}

.support-back::before {
  content: '←';
  margin-right: 7px;
}

.support-article-hero h1,
.support-article .support-hero h1 {
  font-size: clamp(2.55rem, 6.2vw, 5.35rem);
  line-height: 1;
  letter-spacing: -.055em;
}

.support-hero h1 {
  max-width: 880px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 6vw, 6.4rem);
}

.support-hero p {
  max-width: 680px;
  color: var(--ink-soft);
  font-size: 1.1rem;
  line-height: 1.65;
}

.support-article-grid {
  display: grid;
  gap: 16px;
}

.support-article-card {
  padding: 22px;
}

.support-article-card ul,
.support-article-card ol {
  margin: 14px 0 0;
  padding-left: 1.25rem;
}

.support-article-card li + li {
  margin-top: 10px;
}

.kiosk-preview-card {
  display: grid;
  gap: 18px;
  margin-bottom: 16px;
}

.kiosk-preview-card p {
  max-width: 700px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.kiosk-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.kiosk-preview-grid figure {
  margin: 0;
}

.kiosk-preview-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 16px 42px rgba(39,32,23,.12);
}

.kiosk-preview-grid figcaption {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: .9rem;
  font-weight: 700;
}

[data-theme='dark'] .support-search,
[data-theme='dark'] .support-quick-links a,
[data-theme='dark'] .support-category-card,
[data-theme='dark'] .support-contact,
[data-theme='dark'] .support-article-card {
  background: rgba(35,39,33,.82);
  border-color: rgba(244,241,233,.14);
}

[data-theme='dark'] .support-search input {
  color: var(--paper);
}

[data-theme='dark'] .support-search input::placeholder {
  color: rgba(244, 241, 233, .58);
}

[data-theme='dark'] .support-category-head {
  border-bottom-color: rgba(244, 241, 233, .11);
}

[data-theme='dark'] .support-category-head span {
  color: #1f2a24;
  background: #b0c9bb;
}

[data-theme='dark'] .support-link-list a {
  border-top-color: rgba(244, 241, 233, .09);
  color: var(--paper);
}

[data-theme='dark'] .kiosk-preview-grid img {
  border-color: rgba(244, 241, 233, .16);
  box-shadow: 0 18px 46px rgba(0,0,0,.28);
}

@media (max-width: 820px) {
  .support-quick-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .support-shell {
    padding-top: 34px;
  }

  .support-center-hero {
    justify-items: stretch;
    text-align: left;
    padding-top: 18px;
  }

  .support-center-hero h1 {
    font-size: clamp(2.25rem, 11vw, 3rem);
    line-height: 1.03;
  }

  .support-article-hero h1,
  .support-article .support-hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.35rem);
  }

  .support-search {
    min-height: 58px;
    grid-template-columns: 34px 1fr;
    padding: 0 15px;
  }

  .support-quick-links,
  .support-contact {
    grid-template-columns: 1fr;
  }

  .support-search input {
    font-size: .94rem;
  }

  .support-category-card {
    padding: 18px;
  }

  .support-article-card {
    padding: 18px;
  }

  .support-article-card ul,
  .support-article-card ol {
    padding-left: 1.08rem;
  }

  .support-category-head,
  .support-contact {
    display: grid;
  }

  .support-contact-actions {
    min-width: 0;
  }

  .kiosk-preview-grid {
    grid-template-columns: 1fr;
  }
}
.site-footer b { color: var(--ink); }
.site-footer a { color: var(--sage-dark); font-weight: 700; }

@media (max-width: 820px) {
  .photo-import-feature {
    grid-template-columns: 1fr;
    padding-top: 56px;
    padding-bottom: 56px;
  }
}

.legal-shell {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0 72px;
}
.legal-shell h1 {
  margin-bottom: 20px;
  font-size: clamp(3.4rem, 8vw, 6.6rem);
}
.legal-lede {
  max-width: 780px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
}
.legal-card {
  margin-top: 18px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,253,247,.76);
  box-shadow: 0 14px 38px rgba(39,32,23,.07);
}
.legal-card h2 {
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1;
}
.legal-card p,
.legal-card li {
  color: var(--ink-soft);
  line-height: 1.75;
}
.legal-card p:last-child,
.legal-card ul:last-child { margin-bottom: 0; }
.legal-card a {
  color: var(--sage-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  .hero, .split-section, .pricing { grid-template-columns: 1fr; }
  .hero { padding-top: 54px; }
  .device-frame { transform: none; }
  .farmark-board { min-height: 0; grid-template-columns: 1fr; }
  .board-sidebar { display: grid; grid-template-columns: repeat(3, 1fr); }
  .script-logo { grid-column: 1 / -1; }
  .widget-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .section-shell { width: min(100% - 22px, 1180px); padding: 64px 0; }
  h1 { font-size: clamp(3.2rem, 16vw, 4.6rem); }
  h2 { font-size: clamp(2.4rem, 12vw, 3.4rem); }
  .hero-actions, .waitlist-form { align-items: stretch; flex-direction: column; width: 100%; }
  .waitlist-form input { min-width: 0; }
  .board-sidebar { grid-template-columns: 1fr; }
  .device-frame { padding: 8px; border-radius: 24px; }
  .farmark-board { padding: 12px; }
  .calendar-preview { overflow-x: auto; }
  .preview-grid { min-width: 720px; }
  .floating-chip { display: none; }
  .widget-grid { grid-template-columns: 1fr; }
  .feature-card { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; }
  .legal-shell { width: min(100% - 22px, 880px); padding-top: 64px; }
}

/* Conversion-focused landing polish */
.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
  max-width: 650px;
}
.hero-proof span {
  min-height: 76px;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,253,247,.64);
  color: var(--ink-soft);
  line-height: 1.35;
  box-shadow: 0 10px 24px rgba(39,32,23,.055);
}
.hero-proof b { display: block; color: var(--sage-dark); font-size: 1.05rem; }
.compare { padding-top: 74px; }
.compare-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 14px;
}
.compare-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255,253,247,.62);
  box-shadow: 0 14px 36px rgba(39,32,23,.07);
}
.compare-card.featured {
  border-color: rgba(95,115,85,.34);
  background: linear-gradient(180deg, rgba(255,253,247,.92), rgba(239,244,233,.78));
  box-shadow: 0 22px 54px rgba(52,79,69,.14);
}
.compare-card span {
  display: block;
  margin-bottom: 14px;
  color: var(--sage-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.compare-card b {
  display: block;
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: .9;
  letter-spacing: -.045em;
}
.compare-card p { color: var(--ink-soft); line-height: 1.6; margin-bottom: 0; }
.nav-cta, .waitlist-form button { box-shadow: 0 9px 22px rgba(52,79,69,.22); }
.waitlist-form button:hover, .nav-cta:hover { transform: translateY(-1px); }
.secondary-btn:hover { background: rgba(255,253,247,.86); transform: translateY(-1px); }

@media (max-width: 980px) {
  .compare-grid { grid-template-columns: 1fr; }
  .compare-card { min-height: 0; }
}

@media (max-width: 680px) {
  .hero { padding-top: 42px; }
  .hero-proof { grid-template-columns: 1fr; }
  .hero-proof span { min-height: 0; }
  .nav-cta { padding: 10px 13px; }
}

/* CTA and readability refinements */
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 16px;
  padding: 14px 22px;
  color: var(--paper);
  background: var(--sage-dark);
  box-shadow: 0 12px 28px rgba(52,79,69,.24);
  font-weight: 900;
}
.primary-btn:hover { transform: translateY(-1px); }
.preview-cta {
  display: none;
  margin: 14px auto 0;
  width: fit-content;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  padding: 11px 16px;
  color: var(--sage-dark);
  background: rgba(255,253,247,.88);
  font-weight: 800;
}
.price-cta { width: 100%; margin-top: 20px; }
.positioning-story-link {
  justify-content: flex-start;
  text-align: left;
}
.supporting-link {
  display: block;
  margin-top: 14px;
  color: var(--sage-dark);
  font-size: .9rem;
  font-weight: 800;
  text-align: center;
}

@media (min-width: 981px) {
  h1 { max-width: 680px; font-size: clamp(3.4rem, 5.7vw, 6rem); line-height: .9; }
  .hero { grid-template-columns: minmax(360px, .76fr) minmax(580px, 1.24fr); }
}

@media (max-width: 680px) {
  h1 { font-size: clamp(2.85rem, 13vw, 3.7rem); line-height: .92; letter-spacing: -.05em; }
  .hero-lede, .section-heading p, .pricing-copy p { font-size: 1rem; line-height: 1.6; }
  .hero-actions .primary-btn, .hero-actions .secondary-btn { width: 100%; text-align: center; justify-content: center; }
  .preview-cta { display: flex; }
  .calendar-preview-head em { display: none; }
  .compare { padding-top: 56px; }
}

@media (max-width: 680px) {
  .eyebrow { font-size: .7rem; letter-spacing: .11em; line-height: 1.35; }
  h1 { font-size: clamp(2.35rem, 11.2vw, 3.05rem); line-height: .96; }
  .hero-proof { margin-top: 16px; gap: 8px; }
  .hero-proof span { padding: 11px 13px; }
  .hero-actions { margin-top: 22px; }
}

/* Audit polish: make footer/support links easier to tap on phones */
.site-footer a,
.supporting-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* M8-style landing preview refresh */
.m8-preview-board {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 30%);
  grid-template-rows: auto 1fr;
  gap: 14px;
  min-height: 560px;
  padding: 18px;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(255,250,240,.9), rgba(255,250,240,.54)),
    var(--season-bg) center / cover;
}
.m8-photo-wash {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 18%, rgba(255,253,247,.78), transparent 24%),
    radial-gradient(circle at 78% 16%, rgba(95,115,85,.18), transparent 24%),
    linear-gradient(135deg, rgba(255,253,247,.68), rgba(255,250,240,.32));
}
.m8-preview-header {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 14px;
  padding: 4px 2px 2px;
}
.m8-family-name {
  display: block;
  font-family: var(--font-script);
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  line-height: .74;
  text-transform: uppercase;
  color: var(--sage-dark);
}
.m8-preview-header p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-weight: 800;
}
.privacy-badge {
  max-width: 190px;
  padding: 9px 11px;
  border: 1px solid rgba(95,115,85,.24);
  border-radius: 999px;
  color: var(--sage-dark);
  background: rgba(255,253,247,.72);
  font-size: .76rem;
  font-weight: 900;
  text-align: center;
}
.m8-month-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  min-height: 410px;
}
.m8-day {
  align-self: end;
  color: var(--ink-soft);
  font-family: var(--font-hand);
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
  line-height: .85;
  text-align: center;
  text-transform: uppercase;
}
.m8-date {
  min-height: 148px;
  padding: 8px;
  border: 1px solid rgba(39,32,23,.12);
  border-radius: 4px;
  background: rgba(255,253,247,.42);
  box-shadow: 0 8px 18px rgba(39,32,23,.045);
}
.m8-date b {
  display: block;
  margin-bottom: 8px;
  color: rgba(39,32,23,.68);
  font-size: .8rem;
}
.m8-date.today {
  background: rgba(200,127,95,.14);
  outline: 2px solid rgba(200,127,95,.2);
}
.m8-date.weekend { background: rgba(95,115,85,.1); }
.m8-event {
  display: block;
  margin-bottom: 6px;
  padding: 6px 7px;
  border-left: 4px solid currentColor;
  border-radius: 7px;
  color: var(--ink);
  background: rgba(255,253,247,.75);
  font-family: var(--font-hand);
  font-size: clamp(.98rem, 1.6vw, 1.28rem);
  line-height: .92;
  box-shadow: 0 5px 10px rgba(39,32,23,.06);
}
.m8-event.rose { color: #a15d6a; background: rgba(196,119,135,.16); }
.m8-event.sage { color: var(--sage-dark); background: rgba(95,115,85,.16); }
.m8-event.blue { color: #3f7391; background: rgba(109,154,179,.16); }
.m8-event.lavender { color: #80639a; background: rgba(168,140,196,.18); }
.m8-event.gold { color: #8a6425; background: rgba(212,168,93,.2); }
.m8-floating-widgets {
  display: grid;
  grid-template-rows: 1.15fr .9fr .9fr;
  gap: 10px;
}
.m8-widget {
  padding: 14px;
  border: 1px solid rgba(39,32,23,.12);
  border-radius: 6px;
  background: rgba(255,253,247,.58);
  box-shadow: 0 10px 24px rgba(39,32,23,.07);
}
.m8-widget p {
  margin-bottom: 9px;
  color: var(--sage-dark);
  font-family: var(--font-hand);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  line-height: .8;
  text-transform: uppercase;
}
.m8-widget strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}
.m8-widget span {
  display: block;
  color: var(--ink-soft);
  font-size: .82rem;
  line-height: 1.45;
}
.privacy-grid,
.integration-cloud {
  display: grid;
  gap: 14px;
}
.privacy-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.privacy-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,253,247,.66);
  box-shadow: 0 14px 36px rgba(39,32,23,.07);
}
.privacy-grid b { display: block; margin-bottom: 10px; color: var(--sage-dark); }
.privacy-grid span { color: var(--ink-soft); line-height: 1.55; }
.integration-cloud {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.integration-cloud span {
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,253,247,.62);
  color: var(--sage-dark);
  box-shadow: 0 10px 26px rgba(39,32,23,.055);
  font-weight: 900;
  text-align: center;
}

@media (max-width: 980px) {
  .m8-preview-board { grid-template-columns: 1fr; min-height: 0; }
  .m8-floating-widgets { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; }
  .privacy-grid { grid-template-columns: 1fr; }
  .integration-cloud { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .m8-preview-header { flex-direction: column; }
  .privacy-badge { max-width: none; }
  .m8-month-calendar { min-width: 760px; }
  .m8-preview-board { overflow-x: auto; }
  .m8-floating-widgets { grid-template-columns: 1fr; min-width: 280px; }
  .integration-cloud { grid-template-columns: 1fr; }
}

/* Readability pass after visual QA */
@media (min-width: 981px) {
  h1 { max-width: 720px; font-size: clamp(3.2rem, 5.25vw, 5.65rem); }
  h2 { font-size: clamp(2.1rem, 4.25vw, 4.35rem); }
  .m8-preview-board {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(300px, 1fr) auto;
  }
  .m8-month-calendar { min-height: 316px; }
  .m8-date { min-height: 118px; }
  .m8-floating-widgets {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
  }
  .m8-event { font-size: clamp(1.08rem, 1.45vw, 1.38rem); }
}
.secondary-btn { color: var(--ink); border-color: rgba(52,79,69,.34); background: rgba(255,253,247,.72); }
.integration-cloud span { padding: 12px 14px; font-size: .92rem; }

/* Landing simplification pass: closer to the actual app calendar */
.hero {
  align-items: center;
  gap: clamp(32px, 4.5vw, 62px);
}
.hero-copy { align-self: center; }
.hero-actions { margin-top: 26px; }
.trust-row,
.hero-proof,
.floating-chip,
.preview-cta,
.privacy-badge,
.m8-floating-widgets { display: none !important; }

h1 {
  max-width: 650px;
  font-size: clamp(3.05rem, 5vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -.048em;
  text-wrap: balance;
}
h2 {
  line-height: 1.02;
  text-wrap: balance;
}
.hero-lede,
.section-heading p,
.pricing-copy p {
  line-height: 1.55;
}

.device-frame {
  transform: none;
  padding: 12px;
  border-radius: 30px;
}
.screen-toolbar {
  height: 34px;
  border-radius: 20px 20px 0 0;
}
.m8-preview-board {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 560px;
  padding: 18px 18px 16px;
  border-radius: 0 0 22px 22px;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(255,250,240,.78), rgba(255,250,240,.5)),
    var(--season-bg) center / cover;
}
.m8-photo-wash {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 14%, rgba(255,253,247,.66), transparent 22%),
    linear-gradient(135deg, rgba(255,253,247,.6), rgba(255,250,240,.28));
}
.m8-app-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 0 8px 2px;
}
.m8-app-header > div {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
}
.m8-app-title {
  font-family: var(--font-script);
  color: var(--ink);
  font-size: clamp(2.45rem, 4.2vw, 4.3rem);
  line-height: 1.02;
  text-transform: uppercase;
  white-space: nowrap;
}
.m8-app-range {
  color: var(--ink-soft);
  font-family: var(--font-hand);
  font-size: clamp(1.05rem, 1.7vw, 1.55rem);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.m8-app-clock {
  color: var(--ink-soft);
  font-size: .82rem;
  white-space: nowrap;
}
.m8-person-axis {
  display: grid;
  grid-template-columns: 82px repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 0;
  padding: 0 6px 4px;
  text-align: center;
}
.m8-person-axis span,
.m8-person-axis b {
  font-family: var(--font-script);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1;
}
.m8-person-axis span {
  color: var(--ink-soft);
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
}
.m8-person-axis b {
  font-size: clamp(1.95rem, 3.2vw, 3.4rem);
}
.m8-person-axis .mom { color: #9b7e6a; }
.m8-person-axis .dad { color: var(--sage-dark); }
.m8-person-axis .emma { color: var(--blue); }
.m8-person-axis .jack { color: var(--lavender); }
.m8-swim-calendar {
  display: grid;
  grid-template-rows: repeat(5, minmax(72px, 1fr));
  flex: 1;
  min-height: 0;
  border-top: 1px solid rgba(39,32,23,.14);
  background:
    linear-gradient(90deg, transparent 81px, rgba(39,32,23,.12) 82px, transparent 83px),
    rgba(255,253,247,.16);
}
.m8-row {
  display: grid;
  grid-template-columns: 82px repeat(4, minmax(0, 1fr));
  min-height: 0;
  border-bottom: 1px solid rgba(39,32,23,.13);
}
.m8-row:last-child { border-bottom: 0; }
.m8-row.today { background: rgba(200,127,95,.09); }
.m8-row > div {
  min-width: 0;
  padding: 7px;
  border-right: 1px solid rgba(39,32,23,.1);
}
.m8-row > div:last-child { border-right: 0; }
.m8-row-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.m8-row-day b {
  color: var(--ink);
  font-family: var(--font-script);
  font-size: clamp(1.55rem, 2.5vw, 2.65rem);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}
.m8-row-day span {
  color: var(--ink-soft);
  font-size: .72rem;
  letter-spacing: .02em;
}
.m8-note {
  display: block;
  margin-bottom: 6px;
  padding: 7px 8px;
  border-left: 4px solid currentColor;
  border-radius: 5px;
  color: var(--ink);
  background: rgba(255,253,247,.68);
  box-shadow: 0 6px 13px rgba(39,32,23,.07);
  font-family: var(--font-hand);
  font-size: clamp(.95rem, 1.35vw, 1.22rem);
  line-height: .95;
}
.m8-note span {
  display: block;
  margin-top: 3px;
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: .62rem;
  line-height: 1.1;
}
.m8-note.mom { color: #8f6f5a; background: rgba(155,126,106,.16); }
.m8-note.dad { color: var(--sage-dark); background: rgba(95,115,85,.16); }
.m8-note.emma { color: #4f82a1; background: rgba(109,154,179,.17); }
.m8-note.jack { color: #80639a; background: rgba(168,140,196,.18); }
.m8-note.shared { color: var(--clay); background: rgba(200,127,95,.16); }

.privacy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-card,
.widget-grid article,
.price-card,
.compare-card,
.privacy-grid article {
  border-radius: 16px;
}
.integration-cloud span { border-radius: 18px; }

@media (min-width: 981px) {
  .hero { grid-template-columns: minmax(330px, .72fr) minmax(620px, 1.28fr); }
  .m8-preview-board { min-height: 548px; }
}

@media (max-width: 980px) {
  .m8-app-header,
  .m8-app-header > div { flex-direction: column; align-items: flex-start; gap: 4px; }
  .m8-swim-calendar { min-width: 720px; }
  .m8-person-axis { min-width: 720px; }
  .m8-preview-board { overflow-x: auto; }
  .privacy-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  h1 { font-size: clamp(2.35rem, 10vw, 3.15rem); line-height: 1.05; }
  h2 { line-height: 1.06; }
}

/* Final hero spacing tune */
@media (min-width: 981px) {
  .hero { grid-template-columns: minmax(430px, .82fr) minmax(620px, 1.18fr); }
}
h1 {
  max-width: 620px;
  font-size: clamp(2.75rem, 4.05vw, 4.55rem);
  line-height: 1.08;
  letter-spacing: -.038em;
}

/* Landing cleanup: single calendar story and app-like hero preview */
.nav-links a[href="#integrations"] { display: none; }

.hero-lede {
  max-width: 570px;
  font-size: clamp(1.02rem, 1.45vw, 1.18rem);
  line-height: 1.5;
}

.m8-preview-board {
  display: grid;
  grid-template-columns: clamp(132px, 21%, 172px) minmax(0, 1fr);
  gap: clamp(10px, 1.3vw, 16px);
  min-height: 500px;
  padding: clamp(12px, 1.4vw, 18px);
}

.m8-preview-sidebar {
  display: grid;
  grid-template-rows: auto repeat(3, minmax(0, 1fr));
  gap: 8px;
  min-height: 0;
}

.m8-family-mark {
  padding: 6px 4px 8px;
  color: var(--sage-dark);
  font-family: var(--font-script);
  line-height: .85;
  text-transform: uppercase;
}

.m8-family-mark span,
.m8-family-mark b {
  display: block;
  font-weight: 400;
  font-size: clamp(1.65rem, 2.4vw, 2.65rem);
}

.m8-mini-card {
  min-height: 0;
  overflow: hidden;
  padding: 9px 10px;
  border: 1px solid rgba(39,32,23,.08);
  border-radius: 15px;
  background: rgba(255,253,247,.32);
  box-shadow: 0 8px 24px rgba(39,32,23,.045);
}

.m8-mini-card b {
  display: block;
  margin-bottom: 6px;
  color: var(--leather, var(--sage-dark));
  font-family: var(--font-script);
  font-size: clamp(1.12rem, 1.7vw, 1.5rem);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.m8-mini-card span {
  display: block;
  color: var(--ink);
  font-family: var(--font-hand);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.04;
}

.m8-mini-card small {
  display: block;
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: .62rem;
}

.m8-preview-calendar {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

.m8-app-header {
  padding: 0 4px 3px;
}

.m8-app-title {
  font-family: var(--font-hand);
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  letter-spacing: .015em;
  color: var(--ink-soft);
}

.m8-app-clock { font-size: .72rem; }

.m8-person-axis {
  grid-template-columns: 68px repeat(4, minmax(0, 1fr));
  padding: 0 4px 3px;
}

.m8-person-axis span { font-size: clamp(.92rem, 1.15vw, 1.16rem); }
.m8-person-axis b { font-size: clamp(1.2rem, 2vw, 2rem); }

.m8-swim-calendar {
  grid-template-rows: repeat(4, minmax(0, 1fr));
  flex: 1;
  background:
    linear-gradient(90deg, transparent 67px, rgba(39,32,23,.1) 68px, transparent 69px),
    rgba(255,253,247,.14);
}

.m8-row {
  grid-template-columns: 68px repeat(4, minmax(0, 1fr));
}

.m8-row > div { padding: 5px; }

.m8-row-day b { font-size: clamp(1.05rem, 1.7vw, 1.65rem); }
.m8-row-day span { font-size: .58rem; }

.m8-note {
  max-width: 100%;
  margin-bottom: 4px;
  padding: 5px 6px;
  border-left-width: 3px;
  font-size: clamp(.82rem, 1.05vw, 1rem);
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.m8-note span { display: none; }

@media (min-width: 981px) {
  .hero { grid-template-columns: minmax(390px, .82fr) minmax(590px, 1.18fr); }
  .m8-preview-board { min-height: 500px; }
}

@media (max-width: 980px) {
  .m8-preview-board { grid-template-columns: 1fr; min-height: 0; }
  .m8-preview-sidebar { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; }
  .m8-family-mark { grid-column: 1 / -1; }
  .m8-preview-calendar { min-width: 700px; }
}

/* Mobile landing repair: no wide mockup, no cramped hero. */
@media (max-width: 820px) {
  body {
    background:
      radial-gradient(circle at 8% 4%, rgba(200,127,95,.10), transparent 30%),
      radial-gradient(circle at 92% 10%, rgba(95,115,85,.08), transparent 28%),
      var(--cream);
  }

  .nav-wrap {
    width: calc(100% - 24px);
    margin-top: 10px;
    padding: 8px 9px 8px 12px;
  }

  .brand-logo { width: 132px; }
  .nav-cta { padding: 9px 12px; font-size: .84rem; }

  .section-shell {
    width: calc(100% - 28px);
    padding: 58px 0;
  }

  .hero {
    min-height: 0;
    padding-top: 42px;
    gap: 28px;
  }

  h1 {
    max-width: 100%;
    margin-bottom: 16px;
    font-size: clamp(2.25rem, 11vw, 3.15rem);
    line-height: 1.06;
    letter-spacing: -.035em;
  }

  .hero-lede,
  .section-heading p,
  .pricing-copy p {
    max-width: 34rem;
    font-size: .98rem;
    line-height: 1.52;
  }

  .hero-actions { margin-top: 22px; }
  .primary-btn { width: 100%; min-height: 52px; }

  .device-frame {
    width: 100%;
    max-width: 100%;
    padding: 8px;
    border-radius: 23px;
    overflow: hidden;
  }

  .screen-toolbar {
    height: 30px;
    padding: 0 10px;
    border-radius: 16px 16px 0 0;
    font-size: .68rem;
  }

  .screen-toolbar strong { margin-left: 4px; }
  .dot { width: 6px; height: 6px; }

  .m8-preview-board {
    width: 100%;
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px;
    border-radius: 0 0 16px 16px;
  }

  .m8-preview-sidebar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
    gap: 6px;
  }

  .m8-family-mark { display: none; }

  .m8-mini-card {
    padding: 7px 8px;
    border-radius: 12px;
  }

  .m8-mini-card b {
    margin-bottom: 2px;
    font-size: clamp(.9rem, 4.1vw, 1.12rem);
  }

  .m8-mini-card span {
    font-size: clamp(.78rem, 3.3vw, .95rem);
    line-height: 1.05;
  }

  .m8-mini-card small { display: none; }

  .m8-preview-calendar,
  .m8-person-axis,
  .m8-swim-calendar {
    min-width: 0 !important;
    width: 100%;
  }

  .m8-app-header {
    flex-direction: row;
    align-items: baseline;
    padding: 1px 2px 2px;
  }

  .m8-app-header > div {
    flex-direction: row;
    align-items: baseline;
  }

  .m8-app-title {
    font-size: clamp(.95rem, 4vw, 1.18rem);
    white-space: normal;
  }

  .m8-app-clock { display: none; }

  .m8-person-axis,
  .m8-row {
    grid-template-columns: 42px repeat(4, minmax(0, 1fr));
  }

  .m8-person-axis {
    padding: 0 1px 2px;
  }

  .m8-person-axis span { font-size: .72rem; }
  .m8-person-axis b { font-size: clamp(.82rem, 4vw, 1.05rem); }

  .m8-swim-calendar {
    grid-template-rows: repeat(3, minmax(46px, 1fr));
    background:
      linear-gradient(90deg, transparent 41px, rgba(39,32,23,.1) 42px, transparent 43px),
      rgba(255,253,247,.16);
  }

  .m8-row:nth-child(n+4) { display: none; }
  .m8-row > div { padding: 3px; }
  .m8-row-day b { font-size: .86rem; }
  .m8-row-day span { display: none; }

  .m8-note {
    padding: 4px 4px 4px 5px;
    border-left-width: 2px;
    border-radius: 5px;
    font-size: clamp(.62rem, 3vw, .78rem);
    box-shadow: none;
  }

  .split-section,
  .pricing { gap: 22px; }
  .feature-card,
  .widget-grid article,
  .compare-card,
  .privacy-grid article,
  .price-card {
    padding: 18px;
    border-radius: 16px;
  }

  .compare-grid,
  .widget-grid,
  .privacy-grid { gap: 10px; }
}

@media (max-width: 390px) {
  .m8-mini-card:nth-child(4) { display: none; }
  .m8-preview-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .screen-toolbar strong { max-width: 210px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* Cinematic hero showcase: show the dream, not a static screenshot. */
.hero-showcase {
  min-width: 0;
}

.showcase-stage {
  position: relative;
  min-height: clamp(500px, 58vw, 640px);
  overflow: hidden;
  border: 1px solid rgba(39,32,23,.16);
  border-radius: 34px;
  background:
    radial-gradient(circle at 18% 14%, rgba(255,253,247,.62), transparent 24%),
    linear-gradient(135deg, rgba(88, 71, 54, .08), rgba(255,250,240,.78) 42%, rgba(95,115,85,.13)),
    var(--season-bg) center / cover;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.room-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(255,250,240,.62), rgba(255,250,240,.28)),
    radial-gradient(circle at 70% 42%, rgba(255,253,247,.64), transparent 30%);
}

.setup-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transform: scale(.985) translateY(10px);
  animation: setupScene 20s infinite;
  pointer-events: none;
}

.scene-m8 { animation-delay: 0s; }
.scene-ipad { animation-delay: 5s; }
.scene-phone { animation-delay: 10s; }
.scene-tv { animation-delay: 15s; }

@keyframes setupScene {
  0%, 18% { opacity: 0; transform: scale(.985) translateY(10px); }
  22%, 43% { opacity: 1; transform: scale(1) translateY(0); }
  48%, 100% { opacity: 0; transform: scale(1.015) translateY(-8px); }
}

.scene-copy {
  position: absolute;
  z-index: 6;
  left: clamp(18px, 3vw, 34px);
  top: clamp(18px, 3vw, 32px);
  max-width: 270px;
  padding: 14px 16px;
  border: 1px solid rgba(39,32,23,.1);
  border-radius: 20px;
  background: rgba(255,253,247,.66);
  box-shadow: 0 14px 34px rgba(39,32,23,.08);
  backdrop-filter: blur(10px);
}

.scene-copy span {
  display: block;
  margin-bottom: 5px;
  color: var(--sage-dark);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.scene-copy b {
  display: block;
  color: var(--ink);
  font-family: var(--font-hand);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: .9;
}

.device-screen {
  position: relative;
  overflow: hidden;
  background: #f8efe1;
  box-shadow: 0 30px 70px rgba(39,32,23,.22);
}

.device-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.25), transparent 42%);
}

.room-wall,
.counter-scene,
.phone-scene,
.tv-scene {
  position: absolute;
  inset: 0;
}

.m8-monitor {
  position: absolute;
  left: 50%;
  top: 48%;
  width: min(78%, 720px);
  aspect-ratio: 16 / 9;
  transform: translate(-50%, -50%);
  border: 12px solid #f5f0e9;
  border-radius: 22px;
  background: #fffaf0;
}

.monitor-stand {
  position: absolute;
  left: 50%;
  top: calc(48% + min(21vw, 190px));
  width: 78px;
  height: 74px;
  transform: translateX(-50%);
  border-radius: 0 0 34px 34px;
  background: linear-gradient(#e8ded0, #cdbda9);
  box-shadow: 0 18px 30px rgba(39,32,23,.15);
}

.counter-line {
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 14%;
  height: 18px;
  border-radius: 999px;
  background: rgba(89,63,41,.16);
}

.screen-farmark {
  width: 100%;
  height: 100%;
  display: grid;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(255,250,240,.9), rgba(255,250,240,.54)),
    var(--season-bg) center / cover;
}

.mini-farmark-display {
  grid-template-columns: 24% 1fr;
  gap: 12px;
  padding: 16px;
}

.mini-side {
  display: grid;
  gap: 8px;
  align-content: start;
}

.mini-side b {
  color: var(--sage-dark);
  font-family: var(--font-script);
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  line-height: .82;
  text-transform: uppercase;
}

.mini-side span,
.tablet-bars span,
.tv-layout span,
.phone-app em,
.phone-app span {
  border-radius: 12px;
  background: rgba(255,253,247,.55);
  box-shadow: 0 6px 16px rgba(39,32,23,.055);
}

.mini-side span {
  padding: 8px;
  color: var(--ink-soft);
  font-size: clamp(.62rem, 1vw, .82rem);
}

.mini-calendar { min-width: 0; }
.mini-calendar i {
  display: block;
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-family: var(--font-hand);
  font-size: clamp(1rem, 1.7vw, 1.55rem);
  font-style: normal;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.mini-grid span {
  color: var(--sage-dark);
  font-family: var(--font-script);
  font-size: clamp(1rem, 2vw, 1.8rem);
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.mini-grid em {
  min-height: clamp(34px, 5vw, 54px);
  padding: 7px;
  border-left: 3px solid var(--clay);
  border-radius: 8px;
  background: rgba(255,253,247,.62);
  color: var(--ink);
  font-family: var(--font-hand);
  font-size: clamp(.74rem, 1.25vw, 1.05rem);
  font-style: normal;
  line-height: 1;
}

.ipad {
  position: absolute;
  left: 50%;
  bottom: 13%;
  width: min(70%, 570px);
  aspect-ratio: 4 / 3;
  transform: translateX(-50%) rotate(-1deg);
  border: 13px solid #272017;
  border-radius: 30px;
}

.tablet-view {
  display: block;
  padding: 18px;
}

.tablet-view b,
.tv-view b,
.phone-app b {
  display: block;
  color: var(--sage-dark);
  font-family: var(--font-script);
  font-weight: 400;
  text-transform: uppercase;
}

.tablet-view b { font-size: clamp(2rem, 4.5vw, 3.8rem); line-height: .9; }
.tablet-bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
.tablet-bars span { min-height: 54px; }
.tablet-calendar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.tablet-calendar span { color: var(--sage-dark); font-family: var(--font-script); font-size: 1.45rem; text-align: center; }
.tablet-calendar em { min-height: 50px; padding: 7px; border-radius: 8px; background: rgba(255,253,247,.6); font-family: var(--font-hand); font-style: normal; }

.plant,
.mug {
  position: absolute;
  bottom: 13%;
  border-radius: 999px 999px 20px 20px;
  background: rgba(95,115,85,.28);
}
.plant { left: 9%; width: 58px; height: 110px; }
.plant::before { content: ''; position: absolute; inset: -46px -18px 58px; border-radius: 50%; background: rgba(95,115,85,.34); }
.mug { right: 10%; width: 74px; height: 60px; background: rgba(200,127,95,.34); }

.phone {
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(35%, 235px);
  aspect-ratio: 9 / 18.5;
  transform: translate(-50%, -50%) rotate(3deg);
  border: 10px solid #272017;
  border-radius: 38px;
}

.phone-notch {
  position: absolute;
  top: 9px;
  left: 50%;
  z-index: 5;
  width: 70px;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #272017;
}

.phone-app {
  height: 100%;
  padding: 42px 14px 14px;
  background: linear-gradient(rgba(255,250,240,.9), rgba(255,250,240,.72)), var(--season-bg) center / cover;
}
.phone-app b { font-size: 2.1rem; line-height: .9; }
.phone-app span,
.phone-app em { display: block; margin-top: 8px; padding: 10px; color: var(--ink-soft); font-style: normal; }
.phone-app em { color: var(--ink); font-family: var(--font-hand); font-size: 1.15rem; }
.phone-note { position: absolute; right: 9%; bottom: 18%; max-width: 170px; color: var(--sage-dark); font-weight: 900; line-height: 1.25; }

.tv {
  position: absolute;
  left: 50%;
  top: 49%;
  width: min(82%, 760px);
  aspect-ratio: 16 / 9;
  transform: translate(-50%, -50%);
  border: 10px solid #2f302d;
  border-radius: 16px;
}
.tv-view { display: block; padding: 22px; }
.tv-view b { font-size: clamp(2.4rem, 5vw, 4.5rem); line-height: .85; }
.tv-layout { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.tv-layout span { min-height: 92px; padding: 16px; color: var(--ink-soft); font-weight: 800; }
.tv-console { position: absolute; left: 16%; right: 16%; bottom: 11%; height: 28px; border-radius: 999px; background: rgba(39,32,23,.12); }

.showcase-labels {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 8;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.showcase-labels span {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--sage-dark);
  background: rgba(255,253,247,.72);
  font-size: .72rem;
  font-weight: 900;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .setup-scene { animation: none; opacity: 0; transform: none; }
  .scene-m8 { opacity: 1; }
}

@media (max-width: 820px) {
  .showcase-stage {
    min-height: 410px;
    border-radius: 24px;
  }

  .scene-copy {
    left: 12px;
    top: 12px;
    max-width: 210px;
    padding: 10px 12px;
    border-radius: 16px;
  }

  .scene-copy span { font-size: .62rem; }
  .scene-copy b { font-size: clamp(1.35rem, 6vw, 1.8rem); }
  .m8-monitor, .tv { width: 88%; border-width: 7px; border-radius: 14px; }
  .monitor-stand { display: none; }
  .counter-line, .tv-console { bottom: 12%; }
  .mini-farmark-display { padding: 10px; gap: 7px; }
  .mini-side b { font-size: clamp(1rem, 5vw, 1.55rem); }
  .mini-side span { padding: 5px; font-size: .52rem; }
  .mini-calendar i { font-size: .8rem; margin-bottom: 5px; }
  .mini-grid { gap: 4px; }
  .mini-grid span { font-size: .8rem; }
  .mini-grid em { min-height: 28px; padding: 4px; font-size: .58rem; }
  .ipad { width: 82%; border-width: 8px; border-radius: 22px; }
  .tablet-view { padding: 12px; }
  .tablet-view b { font-size: 1.7rem; }
  .tablet-bars span { min-height: 38px; }
  .tablet-calendar span { font-size: .95rem; }
  .tablet-calendar em { min-height: 34px; font-size: .72rem; }
  .plant, .mug { display: none; }
  .phone { width: 42%; max-width: 178px; border-width: 7px; border-radius: 28px; }
  .phone-note { right: 6%; bottom: 15%; max-width: 120px; font-size: .8rem; }
  .tv-view { padding: 14px; }
  .tv-view b { font-size: 2rem; }
  .tv-layout { gap: 6px; margin-top: 12px; }
  .tv-layout span { min-height: 56px; padding: 9px; font-size: .64rem; }
  .showcase-labels { bottom: 12px; max-width: calc(100% - 20px); overflow: hidden; }
  .showcase-labels span { padding: 6px 8px; font-size: .62rem; }
}

/* Make the animated hero start with an actual visible product scene. */
@keyframes setupScene {
  0%, 20% { opacity: 1; transform: scale(1) translateY(0); }
  25%, 95% { opacity: 0; transform: scale(1.015) translateY(-8px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.setup-scene {
  animation-timing-function: ease-in-out;
}

/* Give the showcase enough contrast to read instantly. */
.m8-monitor,
.ipad,
.phone,
.tv {
  box-shadow: 0 34px 80px rgba(39,32,23,.28), 0 0 0 1px rgba(39,32,23,.22);
}

.screen-farmark {
  background:
    linear-gradient(90deg, rgba(255,250,240,.96), rgba(255,250,240,.72)),
    var(--season-bg) center / cover;
}

.mini-side span,
.tablet-bars span,
.tv-layout span,
.phone-app em,
.phone-app span,
.mini-grid em,
.tablet-calendar em {
  background: rgba(255,253,247,.78);
  box-shadow: 0 7px 18px rgba(39,32,23,.09);
}

.showcase-labels span {
  background: rgba(255,253,247,.9);
  box-shadow: 0 7px 18px rgba(39,32,23,.08);
}

/* Mobile-first hero: first phone viewport should sell the product fast. */
.mobile-hero-kicker {
  display: none;
}

@media (max-width: 820px) {
  .nav-wrap {
    margin-top: 8px;
    padding: 7px 8px 7px 11px;
  }

  .nav-cta {
    padding: 8px 11px;
    font-size: .78rem;
  }

  .hero.section-shell {
    width: calc(100% - 24px);
    padding-top: 24px;
    padding-bottom: 42px;
  }

  .hero {
    gap: 18px;
  }

  .mobile-hero-kicker {
    display: block;
    margin: 0 0 8px;
    color: var(--sage-dark);
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .12em;
    line-height: 1.25;
    text-transform: uppercase;
  }

  h1 {
    margin-bottom: 12px;
    font-size: clamp(2.18rem, 10.3vw, 2.85rem);
    line-height: 1;
    letter-spacing: -.038em;
  }

  .hero-lede {
    max-width: 29rem;
    font-size: .95rem;
    line-height: 1.42;
  }

  .hero-actions {
    margin-top: 16px;
  }

  .primary-btn {
    min-height: 50px;
    border-radius: 14px;
  }

  .showcase-stage {
    min-height: clamp(320px, 86vw, 380px);
    border-radius: 22px;
    box-shadow: 0 18px 54px rgba(39,32,23,.15);
  }

  .scene-copy {
    top: 9px;
    left: 9px;
    max-width: 188px;
    padding: 8px 10px;
  }

  .scene-copy span {
    display: none;
  }

  .scene-copy b {
    font-size: clamp(1.22rem, 5.4vw, 1.62rem);
  }

  .m8-monitor {
    top: 51%;
    width: 92%;
    border-width: 6px;
  }

  .counter-line {
    bottom: 10%;
  }

  .mini-farmark-display {
    grid-template-columns: 28% 1fr;
    padding: 8px;
  }

  .mini-side b {
    font-size: clamp(1.05rem, 5.6vw, 1.7rem);
  }

  .mini-side span:nth-of-type(n+3) {
    display: none;
  }

  .mini-side span {
    padding: 6px;
    font-size: .58rem;
  }

  .mini-calendar i {
    font-size: .9rem;
  }

  .mini-grid span {
    font-size: clamp(.8rem, 3.8vw, 1.05rem);
  }

  .mini-grid em {
    min-height: 32px;
    font-size: clamp(.62rem, 3vw, .78rem);
  }

  .showcase-labels {
    bottom: 10px;
  }

  .showcase-labels span {
    font-size: .68rem;
    padding: 7px 10px;
  }
}

@media (max-width: 370px) {
  .hero.section-shell { padding-top: 18px; }
  h1 { font-size: clamp(2rem, 10vw, 2.35rem); }
  .hero-lede { font-size: .9rem; line-height: 1.36; }
  .showcase-stage { min-height: 304px; }
  .showcase-labels span { font-size: .6rem; }
}

@media (max-width: 820px) {
  .screen-farmark {
    background:
      linear-gradient(90deg, rgba(255,250,240,.98), rgba(255,250,240,.82)),
      var(--season-bg) center / cover;
  }

  .m8-monitor,
  .ipad,
  .phone,
  .tv {
    box-shadow: 0 24px 62px rgba(39,32,23,.34), 0 0 0 1px rgba(39,32,23,.28);
  }
}

/* Scenario hero: Farmark app screenshot in home-style device scenes. */
.real-scenario-hero {
  min-width: 0;
}

.scenario-stage {
  position: relative;
  min-height: clamp(520px, 58vw, 650px);
  overflow: hidden;
  border: 1px solid rgba(39,32,23,.14);
  border-radius: 34px;
  background:
    radial-gradient(circle at 20% 12%, rgba(255,253,247,.72), transparent 26%),
    linear-gradient(140deg, #eadcc9 0%, #fff8eb 46%, #d7c7ae 100%);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.scenario-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(255,250,240,.38), rgba(255,250,240,.06)),
    radial-gradient(circle at 80% 74%, rgba(95,115,85,.16), transparent 32%);
}

.scenario-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transform: scale(1.01);
  animation: realScenario 15s infinite ease-in-out;
}

.kitchen-wall { animation-delay: 0s; }
.ipad-counter { animation-delay: 5s; }
.phone-check { animation-delay: 10s; }

@keyframes realScenario {
  0%, 27% { opacity: 1; transform: scale(1); }
  33%, 94% { opacity: 0; transform: scale(1.025); }
  100% { opacity: 1; transform: scale(1); }
}

.photo-room {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.kitchen-room {
  background:
    linear-gradient(180deg, rgba(245,232,213,.68) 0 54%, rgba(174,136,96,.26) 54% 100%),
    radial-gradient(circle at 84% 18%, rgba(255,255,255,.6), transparent 18%);
}

.counter-room {
  background:
    linear-gradient(180deg, rgba(244,231,210,.72) 0 58%, rgba(145,101,66,.28) 58% 100%),
    radial-gradient(circle at 17% 18%, rgba(95,115,85,.18), transparent 18%);
}

.phone-room {
  background:
    linear-gradient(140deg, rgba(244,231,210,.8), rgba(255,250,240,.55)),
    radial-gradient(circle at 78% 22%, rgba(200,127,95,.18), transparent 22%);
}

.device-with-app {
  position: absolute;
  overflow: hidden;
  background: #1f211f;
  box-shadow: 0 34px 82px rgba(39,32,23,.32), 0 0 0 1px rgba(39,32,23,.22);
}

.device-with-app img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.06) contrast(1.03) brightness(1.02);
}

.wall-display {
  left: 50%;
  top: 43%;
  width: min(82%, 760px);
  aspect-ratio: 16 / 9;
  transform: translate(-50%, -50%);
  border: clamp(8px, 1.2vw, 14px) solid #f2eee8;
  border-radius: 20px;
}

.wall-display::after,
.ipad-real::after,
.phone-real::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,.28), transparent 38%, rgba(255,255,255,.08));
}

.wood-shelf {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 18%;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(121,82,50,.42), rgba(171,126,82,.28));
  box-shadow: 0 16px 24px rgba(39,32,23,.12);
}

.counter-shadow {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 24%;
  background: linear-gradient(180deg, transparent, rgba(93,61,37,.18));
}

.ipad-real {
  left: 50%;
  bottom: 15%;
  width: min(72%, 610px);
  aspect-ratio: 4 / 3;
  transform: translateX(-50%) rotate(-1.5deg);
  border: clamp(9px, 1.4vw, 16px) solid #25231f;
  border-radius: 30px;
}

.plant-real {
  position: absolute;
  left: 9%;
  bottom: 16%;
  width: 74px;
  height: 118px;
  border-radius: 44px 44px 18px 18px;
  background: rgba(95,115,85,.28);
}
.plant-real::before,
.plant-real::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(95,115,85,.36);
}
.plant-real::before { width: 76px; height: 70px; left: -28px; top: -48px; transform: rotate(-22deg); }
.plant-real::after { width: 82px; height: 74px; right: -36px; top: -54px; transform: rotate(24deg); }

.coffee-mug {
  position: absolute;
  right: 11%;
  bottom: 16%;
  width: 76px;
  height: 64px;
  border-radius: 12px 12px 28px 28px;
  background: rgba(200,127,95,.42);
  box-shadow: 0 12px 22px rgba(39,32,23,.12);
}
.coffee-mug::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 16px;
  width: 24px;
  height: 28px;
  border: 7px solid rgba(200,127,95,.42);
  border-left: 0;
  border-radius: 0 20px 20px 0;
}

.phone-real {
  left: 31%;
  top: 52%;
  width: min(34%, 250px);
  aspect-ratio: 9 / 18.5;
  transform: translate(-50%, -50%) rotate(-4deg);
  border: clamp(7px, 1vw, 12px) solid #24231f;
  border-radius: 38px;
}

.phone-real img {
  object-fit: cover;
  object-position: 56% 50%;
}

.phone-context-card {
  position: absolute;
  right: 9%;
  top: 42%;
  max-width: 230px;
  padding: 18px 20px;
  border: 1px solid rgba(39,32,23,.1);
  border-radius: 22px;
  color: var(--sage-dark);
  background: rgba(255,253,247,.74);
  box-shadow: 0 18px 48px rgba(39,32,23,.12);
  font-family: var(--font-hand);
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  font-weight: 700;
  line-height: .95;
}

.scenario-caption {
  position: absolute;
  left: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 8;
  max-width: min(440px, calc(100% - 36px));
  padding: 15px 17px;
  border: 1px solid rgba(39,32,23,.1);
  border-radius: 22px;
  background: rgba(255,253,247,.78);
  box-shadow: 0 18px 44px rgba(39,32,23,.12);
  backdrop-filter: blur(10px);
}

.scenario-caption span {
  display: block;
  margin-bottom: 4px;
  color: var(--sage-dark);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.scenario-caption b {
  display: block;
  color: var(--ink);
  font-family: var(--font-hand);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: .9;
}

.scenario-dots {
  position: absolute;
  right: 22px;
  bottom: 24px;
  z-index: 9;
  display: flex;
  gap: 7px;
}

.scenario-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(52,79,69,.44);
  animation: scenarioDot 15s infinite;
}
.scenario-dots span:nth-child(2) { animation-delay: 5s; }
.scenario-dots span:nth-child(3) { animation-delay: 10s; }
@keyframes scenarioDot { 0%, 27% { transform: scale(1.5); background: var(--sage-dark); } 33%, 100% { transform: scale(1); background: rgba(52,79,69,.34); } }

@media (prefers-reduced-motion: reduce) {
  .scenario-scene,
  .scenario-dots span { animation: none; }
  .scenario-scene { opacity: 0; transform: none; }
  .kitchen-wall { opacity: 1; }
}

@media (max-width: 820px) {
  .scenario-stage {
    min-height: clamp(330px, 86vw, 395px);
    border-radius: 22px;
  }

  .wall-display {
    top: 44%;
    width: 92%;
    border-width: 6px;
    border-radius: 14px;
  }

  .wood-shelf { bottom: 17%; height: 11px; }
  .scenario-caption {
    left: 11px;
    bottom: 12px;
    max-width: calc(100% - 22px);
    padding: 10px 12px;
    border-radius: 16px;
  }

  .scenario-caption span {
    font-size: .58rem;
    letter-spacing: .09em;
  }

  .scenario-caption b {
    font-size: clamp(1.18rem, 5vw, 1.55rem);
  }

  .ipad-real {
    width: 84%;
    bottom: 17%;
    border-width: 8px;
    border-radius: 20px;
  }

  .plant-real,
  .coffee-mug { display: none; }

  .phone-real {
    left: 36%;
    width: min(42%, 170px);
    border-width: 7px;
    border-radius: 28px;
  }

  .phone-context-card {
    right: 7%;
    top: 39%;
    max-width: 126px;
    padding: 11px 12px;
    border-radius: 16px;
    font-size: clamp(1rem, 4.2vw, 1.24rem);
  }

  .scenario-dots {
    right: 14px;
    bottom: 15px;
  }
}

/* Product truth pass: make the actual app screenshot unmistakable. */
.scenario-stage {
  background: linear-gradient(140deg, #ead9c3 0%, #fff8eb 45%, #d5c1a4 100%);
}

.device-with-app img {
  filter: saturate(1.18) contrast(1.18) brightness(1.08);
}

.wall-display {
  top: 42%;
  width: min(88%, 820px);
  border-color: #f8f5ef;
  box-shadow: 0 38px 90px rgba(39,32,23,.38), 0 0 0 2px rgba(39,32,23,.20);
}

.wall-display img {
  object-fit: cover;
  object-position: center;
}

.scenario-caption {
  background: rgba(255,253,247,.9);
}

@media (min-width: 981px) {
  .scenario-caption {
    top: 22px;
    bottom: auto;
  }

  .wall-display {
    top: 53%;
  }
}

@media (max-width: 820px) {
  .wall-display {
    top: 48%;
    width: 96%;
    border-color: #fbf8f2;
  }

  .device-with-app img {
    filter: saturate(1.22) contrast(1.22) brightness(1.1);
  }
}

/* Remove decorative glare so the real app stays readable. */
.wall-display::after,
.ipad-real::after,
.phone-real::after,
.device-screen::after {
  content: none !important;
}

.device-with-app img {
  filter: none;
}

.scenario-stage::before {
  background:
    radial-gradient(circle at 80% 74%, rgba(95,115,85,.08), transparent 32%);
}

/* Make the first hero frame a close, legible product shot. */
.wall-display,
.ipad-real {
  aspect-ratio: 16 / 10;
}

@media (min-width: 981px) {
  .wall-display {
    width: min(96%, 900px);
    top: 56%;
    border-width: 10px;
  }

  .scenario-caption {
    top: 18px;
    left: 18px;
    padding: 11px 13px;
    max-width: 360px;
    background: rgba(255,253,247,.82);
  }

  .scenario-caption b {
    font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  }
}

@media (max-width: 820px) {
  .scenario-stage {
    min-height: clamp(300px, 76vw, 350px);
  }

  .wall-display {
    top: 55%;
    width: 108%;
    aspect-ratio: 16 / 10;
    border-width: 5px;
    border-radius: 12px;
  }

  .scenario-caption {
    top: 9px;
    bottom: auto;
    max-width: 260px;
    background: rgba(255,253,247,.84);
  }

  .scenario-caption span {
    display: none;
  }

  .scenario-dots {
    display: none;
  }
}

@media (max-width: 820px) {
  .wall-display {
    width: 103%;
  }

  .scenario-caption {
    left: 10px;
    top: 8px;
    padding: 7px 9px;
    max-width: 205px;
  }

  .scenario-caption b {
    font-size: clamp(1rem, 4.4vw, 1.22rem);
  }
}

/* Home placement pass: less abstract card, more room/device context. */
.scenario-stage {
  border-radius: 28px;
  background: #eadcc9;
}

.kitchen-room {
  background:
    linear-gradient(180deg, rgba(247,239,226,.92) 0 16%, rgba(226,211,191,.92) 16% 53%, rgba(151,103,63,.34) 53% 100%),
    linear-gradient(90deg, rgba(255,255,255,.35), transparent 32%, rgba(95,115,85,.12));
}

.kitchen-room::before {
  content: '';
  position: absolute;
  left: 7%;
  top: 14%;
  width: 70px;
  height: 190px;
  border-radius: 999px 999px 18px 18px;
  background: linear-gradient(rgba(95,115,85,.26), rgba(95,115,85,.12));
  box-shadow: 46px -22px 0 -18px rgba(95,115,85,.20), 640px 18px 0 -22px rgba(200,127,95,.18);
}

.kitchen-room::after {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 9%;
  height: 90px;
  border-radius: 28px 28px 0 0;
  background: linear-gradient(180deg, rgba(148,101,61,.36), rgba(105,69,42,.32));
  box-shadow: 0 -18px 34px rgba(255,253,247,.18) inset;
}

.counter-room {
  background:
    linear-gradient(180deg, rgba(248,240,228,.94) 0 52%, rgba(136,92,55,.30) 52% 100%),
    radial-gradient(circle at 22% 20%, rgba(95,115,85,.20), transparent 18%);
}

.phone-room {
  background:
    linear-gradient(135deg, rgba(248,240,228,.95), rgba(232,216,196,.84)),
    radial-gradient(circle at 78% 24%, rgba(95,115,85,.16), transparent 20%);
}

.wall-display,
.ipad-real,
.phone-real {
  background: #191916;
}

.wall-display {
  border-radius: 18px;
  border-color: #f7f3ec;
}

.ipad-real {
  border-radius: 26px;
}

.phone-real {
  border-radius: 34px;
}

.phone-real img {
  object-position: top center;
}

@media (max-width: 820px) {
  .phone-real img {
    object-position: top center;
  }
}

/* Home-style hero correction: show Farmark inside believable kitchen/device placements. */
.kitchen-room,
.counter-room,
.phone-room {
  overflow: hidden;
}

.kitchen-room {
  background:
    linear-gradient(90deg, rgba(255,255,255,.35), transparent 18%, transparent 82%, rgba(70,84,63,.10)),
    linear-gradient(180deg, #f6ecdc 0 18%, #efe0ca 18% 57%, #b98a5f 57% 59%, #9b6940 59% 100%);
}

.tile-backsplash {
  position: absolute;
  left: 7%;
  right: 7%;
  top: 19%;
  height: 39%;
  opacity: .42;
  background:
    linear-gradient(rgba(112,91,68,.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112,91,68,.13) 1px, transparent 1px),
    rgba(255,253,247,.20);
  background-size: 58px 34px;
  border-radius: 18px 18px 4px 4px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.44);
}

.kitchen-cabinet {
  position: absolute;
  top: 6%;
  width: 118px;
  height: 168px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(250,245,236,.64), rgba(218,202,178,.54));
  box-shadow: inset 0 0 0 1px rgba(90,70,48,.08), 0 18px 36px rgba(61,43,27,.08);
}

.kitchen-cabinet-left { left: 6%; }
.kitchen-cabinet-right { right: 6%; }

.wall-mount-shadow {
  position: absolute;
  left: 50%;
  top: 56%;
  width: min(94%, 900px);
  aspect-ratio: 16 / 10;
  transform: translate(-50%, -50%) translateY(10px);
  border-radius: 22px;
  background: rgba(57,42,28,.20);
  filter: blur(22px);
}

.counter-props {
  position: absolute;
  left: 12%;
  bottom: 14%;
  width: 70px;
  height: 82px;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg, rgba(95,115,85,.30), rgba(95,115,85,.18));
  box-shadow: 0 12px 24px rgba(45,31,20,.12), 72px 20px 0 -18px rgba(255,253,247,.42);
}

.counter-props::before,
.counter-props::after {
  content: '';
  position: absolute;
  border-radius: 50% 50% 42% 42%;
  background: rgba(95,115,85,.36);
}

.counter-props::before { width: 88px; height: 50px; left: -32px; top: -38px; transform: rotate(-18deg); }
.counter-props::after { width: 82px; height: 48px; right: -34px; top: -32px; transform: rotate(24deg); }

.wall-display {
  z-index: 4;
  border-color: #272622;
  border-width: 9px;
  border-radius: 20px;
  box-shadow:
    0 26px 55px rgba(43,30,18,.34),
    0 0 0 5px rgba(246,241,232,.85),
    inset 0 0 0 1px rgba(255,255,255,.12);
}

.hero-phone-overlay {
  z-index: 6;
  left: auto;
  right: 6.5%;
  top: auto;
  bottom: 13%;
  width: min(22%, 168px);
  transform: rotate(4deg);
  box-shadow: 0 24px 48px rgba(35,25,17,.30), 0 0 0 2px rgba(255,253,247,.55);
}

.phone-real img,
.hero-phone-overlay img {
  object-fit: contain !important;
  object-position: top center !important;
  background: #f5ebdc;
}

.phone-check .phone-real {
  left: 37%;
  top: 52%;
  width: min(42%, 300px);
}

.phone-context-card {
  right: 8%;
  top: 37%;
}

@media (max-width: 820px) {
  .scenario-stage {
    min-height: clamp(370px, 98vw, 430px);
  }

  .kitchen-cabinet { display: none; }

  .tile-backsplash {
    left: 4%;
    right: 4%;
    top: 18%;
    height: 40%;
    background-size: 40px 25px;
  }

  .wall-display {
    top: 47%;
    width: 96%;
    border-width: 5px;
    border-radius: 12px;
  }

  .hero-phone-overlay {
    display: block;
    right: 4%;
    bottom: 10%;
    width: min(28%, 112px);
    border-width: 5px;
    border-radius: 24px;
  }

  .wall-mount-shadow {
    top: 47%;
    width: 94%;
  }

  .counter-props { display: none; }

  .phone-check .phone-real {
    left: 30%;
    top: 51%;
    width: min(50%, 190px);
  }

  .phone-context-card {
    right: 5%;
    top: 35%;
    max-width: 138px;
  }
}

/* Mobile hero truth pass: make the phone view itself prominent and readable. */
@media (max-width: 820px) {
  .kitchen-wall .wall-display {
    left: 42%;
    top: 43%;
    width: 86%;
    opacity: .88;
  }

  .kitchen-wall .hero-phone-overlay {
    right: 3%;
    bottom: 6%;
    width: min(43%, 174px);
    border-width: 6px;
    border-radius: 30px;
    transform: rotate(3deg);
    box-shadow: 0 24px 50px rgba(31,23,16,.42), 0 0 0 2px rgba(255,253,247,.72);
  }

  .kitchen-wall .hero-phone-overlay img {
    object-fit: cover !important;
    object-position: top center !important;
  }

  .kitchen-wall .scenario-caption {
    max-width: 178px;
  }
}

@media (max-width: 380px) {
  .kitchen-wall .hero-phone-overlay {
    width: min(41%, 154px);
  }
}

/* Cinematic hero pass: warm home-style backdrop, full-width glass effect, no boxed carousel. */
.cinematic-hero.section-shell {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: min(980px, calc(100svh - 8px));
  margin: -60px 0 0;
  padding: clamp(118px, 13vh, 164px) clamp(18px, 6vw, 86px) clamp(42px, 8vh, 86px);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(320px, .74fr) minmax(560px, 1.26fr);
  gap: clamp(20px, 5vw, 72px);
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(245,238,223,.96) 0%, rgba(245,238,223,.74) 31%, rgba(245,238,223,.28) 57%, rgba(39,32,23,.12) 100%),
    linear-gradient(180deg, rgba(39,32,23,.32), transparent 24%, rgba(39,32,23,.24)),
    url('assets/hero/home-scenes/kitchen-wall.jpg') center / cover no-repeat;
}

.cinematic-hero.section-shell::before {
  content: '';
  position: absolute;
  inset: -3% -3% -2%;
  z-index: -2;
  background: url('assets/hero/home-scenes/kitchen-wall.jpg') center / cover no-repeat;
  filter: saturate(1.03) contrast(1.02) brightness(.98);
  transform-origin: 58% 50%;
  animation: heroKenBurns 18s ease-in-out infinite alternate;
}

.cinematic-hero.section-shell::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 68% 24%, rgba(255,255,255,.32), transparent 24%),
    linear-gradient(90deg, rgba(245,238,223,.92) 0%, rgba(245,238,223,.67) 28%, rgba(245,238,223,.22) 54%, rgba(39,32,23,.16) 100%),
    linear-gradient(180deg, rgba(255,255,255,.62), transparent 18%, rgba(39,32,23,.26));
  backdrop-filter: blur(.6px);
}

@keyframes heroKenBurns {
  from { transform: scale(1.015) translate3d(-.4%, -.4%, 0); }
  to { transform: scale(1.08) translate3d(1.8%, .8%, 0); }
}

.cinematic-hero .hero-copy {
  position: relative;
  z-index: 6;
  align-self: center;
  max-width: 680px;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(255,253,247,.52);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255,253,247,.72), rgba(255,253,247,.46));
  box-shadow: 0 30px 80px rgba(37,28,20,.16), inset 0 1px 0 rgba(255,255,255,.74);
  backdrop-filter: blur(19px) saturate(1.15);
}

.cinematic-hero .hero-copy h1 {
  text-shadow: 0 1px 0 rgba(255,253,247,.44);
}

.cinematic-hero .hero-lede {
  color: rgba(39,32,23,.78);
}

.hero-film {
  align-self: stretch;
  min-height: clamp(500px, 62vh, 720px);
  display: grid;
  align-items: stretch;
}

.hero-film .scenario-stage {
  min-height: 100%;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
  isolation: isolate;
}

.hero-film .scenario-stage::before,
.hero-film .ipad-counter,
.hero-film .phone-check,
.hero-film .scenario-dots,
.hero-film .kitchen-cabinet,
.hero-film .tile-backsplash,
.hero-film .counter-props,
.hero-film .wood-shelf,
.hero-film .counter-shadow,
.hero-film .wall-mount-shadow {
  display: none !important;
}


.hero-film .kitchen-wall {
  position: absolute;
  inset: 0;
}

.hero-film .photo-room.kitchen-room {
  background: transparent !important;
  overflow: visible;
}

.hero-film .wall-display {
  left: auto;
  right: clamp(10px, 2.8vw, 42px);
  top: 49%;
  width: min(91%, 850px);
  max-width: 850px;
  aspect-ratio: 16 / 10;
  transform: translateY(-50%) perspective(1100px) rotateY(-5deg) rotateX(1deg);
  border: 1px solid rgba(255,253,247,.42);
  border-radius: 28px;
  padding: clamp(8px, 1vw, 12px);
  background: linear-gradient(135deg, rgba(255,255,255,.40), rgba(255,255,255,.10));
  box-shadow: 0 42px 120px rgba(28,22,17,.36), inset 0 1px 0 rgba(255,255,255,.58);
  backdrop-filter: blur(13px) saturate(1.2);
  animation: heroDeviceFloat 9s ease-in-out infinite alternate;
}

.hero-film .wall-display img {
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 18px 60px rgba(22,18,14,.24);
}

.hero-film .wall-display::before {
  content: '';
  position: absolute;
  inset: -1px;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(125deg, rgba(255,255,255,.58), transparent 28%, rgba(255,255,255,.10) 62%, transparent);
  mix-blend-mode: screen;
}

.hero-film .hero-phone-overlay {
  left: auto;
  right: clamp(0px, 1vw, 18px);
  bottom: clamp(28px, 6vh, 58px);
  top: auto;
  width: min(24vw, 190px);
  max-width: 190px;
  min-width: 132px;
  transform: rotate(3deg);
  border: 1px solid rgba(255,253,247,.36);
  border-radius: 36px;
  padding: 7px;
  background: linear-gradient(135deg, rgba(255,255,255,.38), rgba(255,255,255,.14));
  box-shadow: 0 30px 70px rgba(28,22,17,.34), inset 0 1px 0 rgba(255,255,255,.55);
  backdrop-filter: blur(14px) saturate(1.2);
  animation: heroPhoneFloat 8s ease-in-out infinite alternate;
}

.hero-film .hero-phone-overlay img {
  border-radius: 29px;
  object-fit: cover !important;
  object-position: top center !important;
  background: #f5ebdc;
}

.hero-film .hero-glass-chip {
  left: auto;
  right: min(44vw, 470px);
  bottom: clamp(36px, 8vh, 80px);
  top: auto;
  max-width: 300px;
  border: 1px solid rgba(255,253,247,.45);
  background: linear-gradient(135deg, rgba(255,253,247,.66), rgba(255,253,247,.35));
  box-shadow: 0 24px 70px rgba(31,23,16,.20), inset 0 1px 0 rgba(255,255,255,.7);
  backdrop-filter: blur(18px) saturate(1.15);
}

@keyframes heroDeviceFloat {
  from { transform: translateY(-50%) perspective(1100px) rotateY(-5deg) rotateX(1deg) translate3d(0, 0, 0); }
  to { transform: translateY(-50%) perspective(1100px) rotateY(-3deg) rotateX(.2deg) translate3d(-10px, -12px, 0); }
}

@keyframes heroPhoneFloat {
  from { transform: rotate(3deg) translate3d(0, 0, 0); }
  to { transform: rotate(1deg) translate3d(-7px, -10px, 0); }
}

@media (max-width: 980px) {
  .cinematic-hero.section-shell {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: -58px;
    padding: 104px 14px 30px;
    background-position: 54% center;
  }

  .cinematic-hero.section-shell::after {
    background:
      linear-gradient(180deg, rgba(245,238,223,.90) 0%, rgba(245,238,223,.58) 42%, rgba(39,32,23,.20) 100%),
      radial-gradient(circle at 76% 66%, rgba(255,255,255,.26), transparent 30%);
  }

  .cinematic-hero .hero-copy {
    padding: 18px;
    border-radius: 24px;
  }

  .hero-film {
    min-height: clamp(430px, 92vw, 660px);
  }

  .hero-film .wall-display {
    left: 50%;
    right: auto;
    top: 33%;
    width: min(96vw, 680px);
    transform: translate(-50%, -50%) perspective(900px) rotateX(1deg);
    border-radius: 21px;
    padding: 6px;
  }

  .hero-film .wall-display img {
    border-radius: 16px;
  }

  .hero-film .hero-phone-overlay {
    right: max(10px, 5vw);
    bottom: 16px;
    width: min(42vw, 190px);
    min-width: 142px;
  }

  .hero-film .hero-glass-chip {
    left: 12px;
    right: auto;
    bottom: 34px;
    max-width: 180px;
    padding: 10px 12px;
  }

  .hero-film .hero-glass-chip span { display: none; }
  .hero-film .hero-glass-chip b { font-size: clamp(1.05rem, 5vw, 1.32rem); }
}

@media (max-width: 430px) {
  .cinematic-hero.section-shell {
    padding-top: 100px;
  }

  .hero-film {
    min-height: 455px;
  }

  .hero-film .wall-display {
    top: 27%;
    width: 102vw;
  }

  .hero-film .hero-phone-overlay {
    right: 7px;
    bottom: 4px;
    width: 45vw;
    min-width: 150px;
  }

  .hero-film .hero-glass-chip {
    bottom: 24px;
    max-width: 156px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cinematic-hero.section-shell::before,
  .hero-film .wall-display,
  .hero-film .hero-phone-overlay {
    animation: none !important;
  }
}

/* Mobile film composition should not inherit desktop float transforms. */
@media (max-width: 980px) {
  .hero-film .wall-display {
    animation: none !important;
    transform: translate(-50%, -50%) perspective(900px) rotateX(1deg) !important;
  }

  .hero-film .hero-phone-overlay {
    animation: none !important;
    transform: rotate(2deg) !important;
  }
}

@media (max-width: 980px) {
  .hero-film .wall-display { width: min(94vw, 680px) !important; }
}

@media (max-width: 430px) {
  .hero-film .wall-display { width: 94vw !important; }
}

/* Hero video polish: clearer product, lighter glass panel, anchored devices. */
.cinematic-hero.section-shell::after {
  background:
    radial-gradient(circle at 68% 24%, rgba(255,255,255,.20), transparent 23%),
    linear-gradient(90deg, rgba(245,238,223,.82) 0%, rgba(245,238,223,.54) 28%, rgba(245,238,223,.12) 55%, rgba(39,32,23,.12) 100%),
    linear-gradient(180deg, rgba(255,255,255,.46), transparent 18%, rgba(39,32,23,.20));
}

.cinematic-hero .hero-copy {
  background: linear-gradient(135deg, rgba(255,253,247,.62), rgba(255,253,247,.32));
  backdrop-filter: blur(22px) saturate(1.24);
}

.hero-film .wall-display {
  box-shadow:
    -18px 28px 36px rgba(35,25,17,.22),
    0 48px 130px rgba(28,22,17,.38),
    inset 0 1px 0 rgba(255,255,255,.62);
}

.hero-film .wall-display::after {
  content: '' !important;
  position: absolute;
  inset: auto 10% -24px 12%;
  height: 34px;
  border-radius: 50%;
  background: rgba(30,24,19,.22);
  filter: blur(18px);
  z-index: -1;
}

.hero-film .wall-display img,
.hero-film .hero-phone-overlay img {
  filter: saturate(1.08) contrast(1.08) brightness(1.03);
}

.hero-film .hero-glass-chip {
  opacity: .88;
  transform: scale(.94);
  transform-origin: bottom right;
}

@media (max-width: 980px) {
  .cinematic-hero.section-shell::after {
    background:
      linear-gradient(180deg, rgba(245,238,223,.84) 0%, rgba(245,238,223,.48) 39%, rgba(39,32,23,.16) 100%),
      radial-gradient(circle at 76% 66%, rgba(255,255,255,.18), transparent 30%);
  }

  .cinematic-hero .hero-copy {
    padding: 15px 16px;
    background: linear-gradient(135deg, rgba(255,253,247,.66), rgba(255,253,247,.36));
  }

  .hero-film {
    min-height: clamp(400px, 86vw, 610px);
  }

  .hero-film .wall-display {
    top: 24%;
  }

  .hero-film .hero-phone-overlay {
    bottom: 18px;
  }

  .hero-film .hero-glass-chip {
    display: none;
  }
}

@media (max-width: 430px) {
  .hero-film { min-height: 410px; }
  .hero-film .wall-display { top: 22%; }
  .hero-film .hero-phone-overlay { bottom: 8px; }
}

/* Correction: the media area itself should show privacy-safe home-style scenes with displays placed inside them. */
.cinematic-hero.section-shell {
  width: min(1180px, calc(100% - 32px)) !important;
  max-width: 1180px !important;
  min-height: calc(100vh - 62px) !important;
  margin: 0 auto !important;
  padding: 76px 0 96px !important;
  overflow: visible !important;
  display: grid !important;
  grid-template-columns: minmax(340px, .82fr) minmax(520px, 1.18fr) !important;
  align-items: center !important;
  gap: clamp(28px, 5vw, 72px) !important;
  background: transparent !important;
}

.cinematic-hero.section-shell::before,
.cinematic-hero.section-shell::after {
  content: none !important;
}

.cinematic-hero .hero-copy {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.hero-film {
  min-height: clamp(520px, 58vw, 690px) !important;
}

.hero-film .scenario-stage {
  width: 100% !important;
  min-height: inherit !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 34px !important;
  background: #201b16 !important;
  box-shadow: 0 34px 96px rgba(39,32,23,.18) !important;
  isolation: isolate !important;
}

.hero-film .scenario-stage::before {
  content: '' !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 3 !important;
  pointer-events: none !important;
  background:
    linear-gradient(120deg, rgba(255,255,255,.18), transparent 28%, rgba(255,255,255,.08) 62%, transparent),
    radial-gradient(circle at 76% 22%, rgba(255,255,255,.18), transparent 24%);
  mix-blend-mode: screen;
}

.hero-film .scenario-scene {
  position: absolute !important;
  inset: 0 !important;
  opacity: 0;
  transform: scale(1.03);
  animation: placedDisplayScene 18s infinite ease-in-out;
}

.hero-film .kitchen-wall { animation-delay: 0s !important; }
.hero-film .ipad-counter { animation-delay: 6s !important; }
.hero-film .phone-check { animation-delay: 12s !important; }

@keyframes placedDisplayScene {
  0%, 28% { opacity: 1; transform: scale(1.01); }
  34%, 94% { opacity: 0; transform: scale(1.06); }
  100% { opacity: 1; transform: scale(1.01); }
}

.hero-film .photo-room {
  position: absolute !important;
  inset: 0 !important;
  overflow: hidden !important;
  background-size: cover !important;
  background-position: center !important;
}

.hero-film .photo-room::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(20,15,11,.08), transparent 35%, rgba(20,15,11,.14)),
    linear-gradient(180deg, rgba(255,255,255,.08), transparent 38%, rgba(26,18,12,.30));
}

.hero-film .kitchen-room {
  background-image: url('assets/hero/home-scenes/kitchen-wall.jpg') !important;
  background-position: center center !important;
}

.hero-film .counter-room {
  background-image: url('assets/hero/home-scenes/counter-tablet.jpg') !important;
  background-position: center center !important;
}

.hero-film .phone-room {
  background-image: url('assets/hero/home-scenes/hallway-display.jpg') !important;
  background-position: center center !important;
}

.hero-film .kitchen-cabinet,
.hero-film .tile-backsplash,
.hero-film .counter-props,
.hero-film .wood-shelf,
.hero-film .counter-shadow,
.hero-film .wall-mount-shadow,
.hero-film .plant-real,
.hero-film .coffee-mug,
.hero-film .phone-context-card {
  display: none !important;
}

.hero-film .device-with-app {
  z-index: 2 !important;
  overflow: hidden !important;
  background: #171614 !important;
}

.hero-film .wall-display {
  left: 48% !important;
  right: auto !important;
  top: 31% !important;
  width: min(55%, 470px) !important;
  max-width: 470px !important;
  aspect-ratio: 16 / 10 !important;
  transform: translate(-50%, -50%) perspective(900px) rotateY(-4deg) rotateX(.6deg) !important;
  padding: 6px !important;
  border: 1px solid rgba(255,253,247,.32) !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, rgba(255,255,255,.28), rgba(255,255,255,.08)) !important;
  box-shadow: 0 22px 52px rgba(23,16,10,.34), inset 0 1px 0 rgba(255,255,255,.55) !important;
  backdrop-filter: blur(5px) saturate(1.08) !important;
}

.hero-film .wall-display img,
.hero-film .ipad-real img,
.hero-film .phone-real img {
  width: 100%;
  height: 100%;
  border-radius: 11px;
  object-fit: cover !important;
  object-position: center !important;
  filter: saturate(1.08) contrast(1.06) brightness(1.02) !important;
}

.hero-film .ipad-real {
  left: 38% !important;
  bottom: 16% !important;
  top: auto !important;
  width: min(54%, 430px) !important;
  aspect-ratio: 4 / 3 !important;
  transform: translateX(-50%) rotate(-2deg) !important;
  padding: 8px !important;
  border: 1px solid rgba(255,253,247,.28) !important;
  border-radius: 24px !important;
  background: linear-gradient(135deg, rgba(23,22,19,.92), rgba(60,55,48,.88)) !important;
  box-shadow: 0 28px 70px rgba(20,14,9,.38), inset 0 1px 0 rgba(255,255,255,.18) !important;
}

.hero-film .phone-check .wall-display {
  left: 50% !important;
  top: 36% !important;
  width: min(48%, 390px) !important;
  transform: translate(-50%, -50%) perspective(900px) rotateY(3deg) !important;
}

.hero-film .hero-phone-overlay {
  right: 8% !important;
  bottom: 11% !important;
  left: auto !important;
  top: auto !important;
  width: min(23%, 155px) !important;
  min-width: 112px !important;
  padding: 6px !important;
  border: 1px solid rgba(255,253,247,.28) !important;
  border-radius: 28px !important;
  transform: rotate(3deg) !important;
  background: linear-gradient(135deg, rgba(20,19,17,.92), rgba(58,54,48,.86)) !important;
  box-shadow: 0 24px 60px rgba(18,13,9,.38), inset 0 1px 0 rgba(255,255,255,.18) !important;
}

.hero-film .hero-phone-overlay img,
.hero-film .phone-check .phone-real img {
  border-radius: 22px;
  object-fit: cover !important;
  object-position: top center !important;
}

.hero-film .phone-check .phone-real:not(.hero-phone-overlay) {
  left: 51% !important;
  top: 47% !important;
  width: min(28%, 185px) !important;
  transform: translate(-50%, -50%) rotate(-1deg) !important;
  padding: 6px !important;
  border: 1px solid rgba(255,253,247,.30) !important;
  border-radius: 30px !important;
  background: linear-gradient(135deg, rgba(20,19,17,.92), rgba(58,54,48,.86)) !important;
  box-shadow: 0 26px 64px rgba(18,13,9,.38), inset 0 1px 0 rgba(255,255,255,.18) !important;
}

.hero-film .hero-glass-chip {
  left: 18px !important;
  right: auto !important;
  bottom: 18px !important;
  top: auto !important;
  z-index: 4 !important;
  max-width: 310px !important;
  padding: 12px 14px !important;
  border: 1px solid rgba(255,253,247,.34) !important;
  border-radius: 18px !important;
  color: #fffaf0 !important;
  background: linear-gradient(135deg, rgba(24,20,16,.48), rgba(24,20,16,.18)) !important;
  box-shadow: 0 20px 54px rgba(16,12,9,.18), inset 0 1px 0 rgba(255,255,255,.22) !important;
  backdrop-filter: blur(14px) saturate(1.15) !important;
  opacity: 1 !important;
  transform: none !important;
}

.hero-film .hero-glass-chip span,
.hero-film .hero-glass-chip b {
  color: #fffaf0 !important;
  text-shadow: 0 1px 12px rgba(0,0,0,.30);
}

.hero-film .scenario-dots {
  display: flex !important;
  z-index: 4 !important;
  right: 20px !important;
  bottom: 22px !important;
}

@media (max-width: 980px) {
  .cinematic-hero.section-shell {
    width: min(100%, calc(100% - 24px)) !important;
    min-height: auto !important;
    padding: 42px 0 64px !important;
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .hero-film {
    min-height: clamp(430px, 92vw, 610px) !important;
  }

  .hero-film .scenario-stage {
    border-radius: 26px !important;
  }

  .hero-film .wall-display {
    left: 50% !important;
    top: 30% !important;
    width: 74% !important;
    max-width: none !important;
    transform: translate(-50%, -50%) perspective(800px) rotateX(.5deg) !important;
  }

  .hero-film .hero-phone-overlay {
    right: 7% !important;
    bottom: 11% !important;
    width: min(35%, 155px) !important;
  }

  .hero-film .ipad-real {
    left: 50% !important;
    bottom: 15% !important;
    width: 72% !important;
  }

  .hero-film .phone-check .phone-real:not(.hero-phone-overlay) {
    left: 50% !important;
    top: 48% !important;
    width: min(42%, 170px) !important;
  }

  .hero-film .hero-glass-chip {
    left: 12px !important;
    bottom: 12px !important;
    max-width: 185px !important;
    padding: 9px 11px !important;
  }

  .hero-film .hero-glass-chip span { display: none !important; }
  .hero-film .hero-glass-chip b { font-size: clamp(1.05rem, 5vw, 1.32rem) !important; }
}

@media (max-width: 430px) {
  .hero-film { min-height: 430px !important; }
  .hero-film .wall-display { width: 82% !important; top: 28% !important; }
  .hero-film .hero-phone-overlay { width: min(40%, 150px) !important; right: 5% !important; bottom: 8% !important; }
  .hero-film .scenario-dots { display: none !important; }
}

/* Final scene backgrounds override earlier transparent reset. */
.hero-film .photo-room.kitchen-room {
  background: url('assets/hero/home-scenes/kitchen-wall.jpg') center / cover no-repeat !important;
}
.hero-film .photo-room.counter-room {
  background: url('assets/hero/home-scenes/counter-tablet.jpg') center / cover no-repeat !important;
}
.hero-film .photo-room.phone-room {
  background: url('assets/hero/home-scenes/hallway-display.jpg') center / cover no-repeat !important;
}

/* In-room correction: make the environment visible and the Farmark screens placed in it. */
.hero-film .scenario-stage {
  background: #efe3d2 !important;
}

.hero-film .photo-room::before {
  background:
    linear-gradient(90deg, rgba(255,250,240,.08), transparent 48%, rgba(20,15,11,.08)),
    linear-gradient(180deg, rgba(255,255,255,.08), transparent 62%, rgba(26,18,12,.14)) !important;
}

.hero-film .wall-display {
  left: 52% !important;
  top: 32% !important;
  width: min(42%, 355px) !important;
  max-width: 355px !important;
  padding: 5px !important;
  border-radius: 13px !important;
  box-shadow: 0 16px 38px rgba(23,16,10,.28), inset 0 1px 0 rgba(255,255,255,.44) !important;
}

.hero-film .hero-phone-overlay {
  right: 10% !important;
  bottom: 14% !important;
  width: min(18%, 128px) !important;
  min-width: 92px !important;
  border-radius: 23px !important;
  padding: 5px !important;
  box-shadow: 0 18px 42px rgba(18,13,9,.32), inset 0 1px 0 rgba(255,255,255,.18) !important;
}

.hero-film .ipad-real {
  left: 40% !important;
  bottom: 18% !important;
  width: min(46%, 360px) !important;
  padding: 7px !important;
  border-radius: 20px !important;
}

.hero-film .phone-check .phone-real:not(.hero-phone-overlay) {
  left: 50% !important;
  top: 43% !important;
  width: min(23%, 150px) !important;
  padding: 5px !important;
}

.hero-film .hero-glass-chip {
  background: linear-gradient(135deg, rgba(24,20,16,.38), rgba(24,20,16,.14)) !important;
}

@media (max-width: 980px) {
  .hero-film .wall-display {
    width: 58% !important;
    top: 28% !important;
  }

  .hero-film .hero-phone-overlay {
    width: min(30%, 130px) !important;
    min-width: 104px !important;
    right: 7% !important;
    bottom: 12% !important;
  }

  .hero-film .ipad-real {
    width: 62% !important;
    bottom: 17% !important;
  }

  .hero-film .phone-check .phone-real:not(.hero-phone-overlay) {
    width: min(36%, 145px) !important;
  }
}

@media (max-width: 430px) {
  .hero-film .wall-display { width: 64% !important; top: 26% !important; }
  .hero-film .hero-phone-overlay { width: min(34%, 128px) !important; bottom: 8% !important; }
}

/* Continuous scene crossfade with no blank frames. */
.hero-film .kitchen-wall {
  animation: sceneKitchen 18s infinite ease-in-out !important;
}
.hero-film .ipad-counter {
  animation: sceneCounter 18s infinite ease-in-out !important;
}
.hero-film .phone-check {
  animation: sceneHallway 18s infinite ease-in-out !important;
}

@keyframes sceneKitchen {
  0%, 30% { opacity: 1; transform: scale(1.01); }
  36%, 94% { opacity: 0; transform: scale(1.045); }
  98%, 100% { opacity: 1; transform: scale(1.01); }
}
@keyframes sceneCounter {
  0%, 28% { opacity: 0; transform: scale(1.045); }
  34%, 61% { opacity: 1; transform: scale(1.01); }
  67%, 100% { opacity: 0; transform: scale(1.045); }
}
@keyframes sceneHallway {
  0%, 59% { opacity: 0; transform: scale(1.045); }
  65%, 94% { opacity: 1; transform: scale(1.01); }
  100% { opacity: 0; transform: scale(1.045); }
}

.hero-film .kitchen-wall,
.hero-film .ipad-counter,
.hero-film .phone-check {
  animation-delay: 0s !important;
}

/* Broad overlaps so the video panel never falls to an empty beige frame. */
@keyframes sceneKitchen {
  0%, 38% { opacity: 1; transform: scale(1.01); }
  46%, 88% { opacity: 0; transform: scale(1.045); }
  94%, 100% { opacity: 1; transform: scale(1.01); }
}
@keyframes sceneCounter {
  0%, 26% { opacity: 0; transform: scale(1.045); }
  34%, 68% { opacity: 1; transform: scale(1.01); }
  76%, 100% { opacity: 0; transform: scale(1.045); }
}
@keyframes sceneHallway {
  0%, 58% { opacity: 0; transform: scale(1.045); }
  66%, 100% { opacity: 1; transform: scale(1.01); }
}

.hero-film .kitchen-wall,
.hero-film .ipad-counter,
.hero-film .phone-check {
  display: block !important;
}

/* Final product-in-real-life hero: use baked screen replacements inside actual device photos. */
.hero-film .scenario-stage {
  aspect-ratio: 4 / 3 !important;
  min-height: 0 !important;
  height: auto !important;
  border-radius: 34px !important;
  background: #eee2d1 !important;
}

.hero-film .photo-room.kitchen-room {
  background: url('assets/hero/real-life/real-wall-display.jpg') center / cover no-repeat !important;
}

.hero-film .photo-room.counter-room {
  background: url('assets/hero/real-life/real-counter-tablet.jpg') center / cover no-repeat !important;
}

.hero-film .device-with-app,
.hero-film .phone-check {
  display: none !important;
}

.hero-film .kitchen-wall,
.hero-film .ipad-counter {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
}

.hero-film .kitchen-wall {
  animation: realLifeSceneA 13s infinite ease-in-out !important;
}

.hero-film .ipad-counter {
  animation: realLifeSceneB 13s infinite ease-in-out !important;
}

@keyframes realLifeSceneA {
  0%, 43% { opacity: 1; transform: scale(1.01); }
  50%, 92% { opacity: 0; transform: scale(1.045); }
  100% { opacity: 1; transform: scale(1.01); }
}

@keyframes realLifeSceneB {
  0%, 43% { opacity: 0; transform: scale(1.045); }
  50%, 92% { opacity: 1; transform: scale(1.01); }
  100% { opacity: 0; transform: scale(1.045); }
}

.hero-film .photo-room::before {
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), transparent 58%, rgba(28,20,13,.20)) !important;
}

.hero-film .hero-glass-chip {
  max-width: 270px !important;
}

.hero-film .scenario-dots span:nth-child(3) {
  display: none !important;
}

@media (max-width: 980px) {
  .hero-film .scenario-stage {
    border-radius: 26px !important;
  }
}

/* Kill mockup label. The scene should speak for itself. */
.hero-film .hero-glass-chip {
  display: none !important;
}

/* Emergency correction: stop pretending stock composites are real installs. Use an honest product-first hero. */
.hero-film .scenario-stage {
  aspect-ratio: 16 / 10 !important;
  min-height: 0 !important;
  height: auto !important;
  overflow: hidden !important;
  border: 1px solid rgba(39,32,23,.14) !important;
  border-radius: 34px !important;
  background:
    radial-gradient(circle at 82% 14%, rgba(255,255,255,.58), transparent 22%),
    linear-gradient(135deg, rgba(255,253,247,.94), rgba(234,220,198,.82)) !important;
  box-shadow: 0 34px 96px rgba(39,32,23,.18), inset 0 1px 0 rgba(255,255,255,.75) !important;
}

.hero-film .scenario-scene,
.hero-film .photo-room,
.hero-film .scenario-dots,
.hero-film .hero-glass-chip {
  display: none !important;
}

.hero-film .scenario-stage::after {
  content: '';
  position: absolute;
  inset: 7%;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.24), rgba(255,255,255,.05)),
    url('assets/hero/farmark-app-desktop-actual.png') center / cover no-repeat;
  box-shadow: 0 30px 80px rgba(39,32,23,.20), 0 0 0 10px rgba(255,253,247,.56), inset 0 1px 0 rgba(255,255,255,.7);
  transform: perspective(1200px) rotateY(-3deg) rotateX(1deg);
}

.hero-film .scenario-stage::before {
  content: '' !important;
  display: block !important;
  position: absolute !important;
  right: 7%;
  bottom: 6%;
  width: min(23%, 160px);
  aspect-ratio: 9 / 18.5;
  z-index: 3;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.16), transparent),
    url('assets/hero/farmark-app-mobile-actual.png') top center / cover no-repeat;
  box-shadow: 0 24px 58px rgba(39,32,23,.30), 0 0 0 7px #24231f, 0 0 0 8px rgba(255,255,255,.42);
  transform: rotate(3deg);
  mix-blend-mode: normal !important;
}

@media (max-width: 980px) {
  .hero-film .scenario-stage {
    aspect-ratio: 4 / 4.7 !important;
    border-radius: 26px !important;
  }

  .hero-film .scenario-stage::after {
    inset: 7% 5% 28%;
    border-radius: 22px;
    transform: none;
  }

  .hero-film .scenario-stage::before {
    right: 8%;
    bottom: 6%;
    width: min(38%, 150px);
  }
}

/* Safer product shot polish: use the most polished Farmark capture and remove cheap phone bezel. */
.hero-film .scenario-stage::after {
  background:
    linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.04)),
    url('assets/hero/farmark-app-calendar-hero.png') center / cover no-repeat !important;
}

.hero-film .scenario-stage::before {
  box-shadow: 0 22px 52px rgba(39,32,23,.24), 0 0 0 3px rgba(36,35,31,.88), 0 0 0 4px rgba(255,255,255,.36) !important;
  border-radius: 22px !important;
}

@media (max-width: 980px) {
  .hero-film .scenario-stage::before {
    width: min(34%, 138px) !important;
    border-radius: 20px !important;
  }
}

/* Product display treatment. */
.hero-film .scenario-stage {
  aspect-ratio: 4 / 3 !important;
  min-height: 0 !important;
  height: auto !important;
  overflow: hidden !important;
  border: 1px solid rgba(39,32,23,.14) !important;
  border-radius: 34px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(39,32,23,.08)),
    url('assets/hero/farmark-app-calendar-hero.png') center / cover no-repeat !important;
  box-shadow: 0 34px 96px rgba(39,32,23,.18), inset 0 1px 0 rgba(255,255,255,.55) !important;
}

.hero-film .scenario-stage::before,
.hero-film .scenario-stage::after,
.hero-film .scenario-scene,
.hero-film .photo-room,
.hero-film .scenario-dots,
.hero-film .hero-glass-chip,
.hero-film .device-with-app {
  display: none !important;
  content: none !important;
}

@media (max-width: 980px) {
  .hero-film .scenario-stage {
    border-radius: 26px !important;
    background:
      linear-gradient(180deg, rgba(255,255,255,.05), rgba(39,32,23,.08)),
      url('assets/hero/farmark-app-calendar-hero.png') center / cover no-repeat !important;
  }
}

/* Real photo crop fix: preserve the full TV/calendar instead of stretching the media panel tall. */
.hero-film {
  align-self: center !important;
  min-height: 0 !important;
  height: auto !important;
  display: block !important;
}

.hero-film .scenario-stage {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 4 / 3 !important;
  background-size: auto, contain !important;
  background-position: 0 0, center center !important;
}

@media (max-width: 980px) {
  .hero-film .scenario-stage {
    background-size: auto, cover !important;
    background-position: 0 0, 48% center !important;
  }
}

/* Professional hero loop: real Farmark display footage-style motion, no fake composites. */
.hero-film .scenario-stage {
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(39,32,23,.08)),
    url('assets/hero/farmark-app-calendar-hero.png') center / contain no-repeat !important;
}

.removed-private-hero-video {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: inherit;
  background: #f6efe3;
}

@media (prefers-reduced-motion: reduce) {
  .removed-private-hero-video {
    display: none !important;
  }
}

/* Privacy rule: do not use private house/family photos or derived media as public marketing media. */
.removed-private-hero-video {
  display: none !important;
}

.hero-film .scenario-stage {
  aspect-ratio: 16 / 10 !important;
  background:
    radial-gradient(circle at 82% 14%, rgba(255,255,255,.58), transparent 22%),
    linear-gradient(135deg, rgba(255,253,247,.94), rgba(234,220,198,.82)) !important;
}

.hero-film .scenario-stage::after {
  content: '' !important;
  display: block !important;
  position: absolute !important;
  inset: 7%;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.04)),
    url('assets/hero/farmark-app-calendar-hero.png') center / cover no-repeat !important;
  box-shadow: 0 30px 80px rgba(39,32,23,.20), 0 0 0 10px rgba(255,253,247,.56), inset 0 1px 0 rgba(255,255,255,.7);
  transform: perspective(1200px) rotateY(-3deg) rotateX(1deg);
}

.hero-film .scenario-stage::before {
  content: '' !important;
  display: block !important;
  position: absolute !important;
  right: 7%;
  bottom: 6%;
  width: min(23%, 160px);
  aspect-ratio: 9 / 18.5;
  z-index: 3;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.16), transparent),
    url('assets/hero/farmark-app-mobile-actual.png') top center / cover no-repeat;
  box-shadow: 0 22px 52px rgba(39,32,23,.24), 0 0 0 3px rgba(36,35,31,.88), 0 0 0 4px rgba(255,255,255,.36) !important;
  transform: rotate(3deg);
}

@media (max-width: 980px) {
  .hero-film .scenario-stage {
    aspect-ratio: 4 / 4.7 !important;
  }
  .hero-film .scenario-stage::after {
    inset: 7% 5% 28%;
    transform: none;
  }
  .hero-film .scenario-stage::before {
    width: min(34%, 138px) !important;
  }
}

/* Privacy-safe professional product motion hero. */
.hero-film .scenario-stage {
  aspect-ratio: 4 / 3 !important;
  min-height: 0 !important;
  height: auto !important;
  overflow: hidden !important;
  border: 1px solid rgba(39,32,23,.14) !important;
  border-radius: 34px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(39,32,23,.08)),
    url('assets/hero/video/farmark-privacy-safe-hero-poster.jpg') center / cover no-repeat !important;
  box-shadow: 0 34px 96px rgba(39,32,23,.18), inset 0 1px 0 rgba(255,255,255,.55) !important;
}

.farmark-motion-video {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: inherit;
  background: #f6efe3;
}

body[data-theme='midnight-forest'] .farmark-motion-video {
  background: #10120d;
}

.hero-film .scenario-stage::before,
.hero-film .scenario-stage::after,
.hero-film .scenario-scene,
.hero-film .photo-room,
.hero-film .scenario-dots,
.hero-film .hero-glass-chip,
.hero-film .device-with-app {
  display: none !important;
  content: none !important;
}

@media (max-width: 980px) {
  .hero-film .scenario-stage {
    border-radius: 26px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .farmark-motion-video {
    display: none !important;
  }
}

/* Stitch handoff landing direction: cozy home command center with Farmark brand typography. */
.handoff-hero-visual {
  isolation: isolate;
}

.handoff-photo-card {
  position: relative;
  min-height: clamp(520px, 58vw, 690px);
  overflow: hidden;
  border: 1px solid rgba(39,32,23,.16);
  border-radius: 42px;
  background: var(--paper);
  box-shadow: 0 32px 90px rgba(39,32,23,.18);
}

.handoff-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(39,32,23,.14), transparent 36%, rgba(255,250,240,.12)),
    radial-gradient(circle at 78% 16%, rgba(255,250,240,.34), transparent 24%);
}

.handoff-room-photo {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
}

.handoff-product-screen {
  position: absolute;
  top: 18.5%;
  left: 40.8%;
  width: 28.5%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 5px solid #1f2420;
  border-radius: 7px;
  background: #1f2420;
  box-shadow: 0 16px 34px rgba(0,0,0,.22);
  transform: rotate(.15deg);
  z-index: 2;
}

.handoff-product-screen img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.handoff-mobile-card {
  position: absolute;
  right: 5.5%;
  bottom: 8.5%;
  width: min(124px, 16vw);
  aspect-ratio: 9 / 18.5;
  padding: 5px;
  border-radius: 22px;
  background: #20231f;
  box-shadow: 0 18px 42px rgba(0,0,0,.26);
  transform: rotate(3.5deg);
  z-index: 3;
}

.handoff-mobile-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 17px;
}

.handoff-chip {
  left: 5.5%;
  right: auto;
  bottom: 7%;
  z-index: 4;
  max-width: min(330px, 48%);
}

.home-contexts {
  padding-top: 28px;
}

.compact-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.home-context-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.display-context-notes {
  max-width: 860px;
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(39, 32, 23, .12);
}

.display-context-notes p {
  margin: 0;
  color: rgba(39, 32, 23, .68);
  font-size: .94rem;
  line-height: 1.55;
}

.display-context-notes a {
  white-space: nowrap;
  color: var(--sage-dark);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.home-context-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255,250,240,.78);
  box-shadow: 0 18px 48px rgba(39,32,23,.09);
}

.home-context-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: contain;
  object-position: center;
  background: rgba(255, 250, 240, .52);
}

.home-context-grid article {
  padding: 0 !important;
}

.home-context-grid picture {
  display: block;
}

.home-context-grid .phone-screens-card img {
  object-fit: cover;
}

@media (min-width: 901px) {
  .home-context-grid .phone-screens-card img {
    transform: scale(1.16);
    transform-origin: center;
  }
}

.home-context-grid div {
  padding: 18px 18px 20px;
}

.home-context-grid b {
  display: block;
  margin-bottom: 7px;
  color: var(--sage-dark);
  font-size: 1.05rem;
}

.home-context-grid span {
  display: block;
  color: var(--ink-soft);
  font-size: .95rem;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .handoff-photo-card {
    min-height: 520px;
    border-radius: 32px;
  }

  .handoff-product-screen {
    top: 20%;
    left: 35%;
    width: 36%;
  }

  .handoff-mobile-card {
    width: 104px;
  }

  .home-context-grid {
    grid-template-columns: 1fr;
  }

  .display-context-notes {
    max-width: 640px;
    margin-top: 18px;
  }
}

@media (max-width: 620px) {
  .handoff-photo-card {
    min-height: 460px;
  }

  .handoff-room-photo {
    object-position: 45% center;
  }

  .handoff-product-screen {
    top: 22%;
    left: 32%;
    width: 42%;
    border-width: 4px;
  }

  .handoff-mobile-card {
    right: 7%;
    width: 82px;
  }

  .handoff-chip {
    max-width: 76%;
  }
}

/* QA fixes for Stitch hero crop/readability. */
.handoff-chip {
  bottom: 10%;
}

@media (max-width: 900px) {
  .handoff-chip {
    bottom: 12%;
  }
}

@media (max-width: 620px) {
  .hero {
    padding-top: 42px;
  }

  .handoff-photo-card {
    min-height: 430px;
  }

  .handoff-chip {
    bottom: 14%;
    max-width: 82%;
  }

  .nav-links .nav-cta {
    display: none;
  }
}

/* Keep the lifestyle visual clean; avoid clipped overlay captions on the hero image. */
.handoff-chip {
  display: none;
}

/* Two-theme brand system: Modern Earthy + Midnight Forest. */
:root,
body[data-theme='modern-earthy'] {
  --cream: #FBF9F4;
  --paper: #fffdf8;
  --paper-strong: #fffdf8;
  --ink: #211D18;
  --ink-soft: #5f554b;
  --line: rgba(33, 29, 24, .16);
  --line-dark: rgba(33, 29, 24, .28);
  --sage: #8DA399;
  --sage-dark: #344F45;
  --theme-surface: rgba(255,253,248,.78);
  --theme-surface-solid: #fffdf8;
  --theme-hero-wash: rgba(251,249,244,.38);
}

body[data-theme='midnight-forest'] {
  --cream: #121410;
  --paper: #1A1C18;
  --paper-strong: #20231e;
  --ink: #F4F1E9;
  --ink-soft: #C8D3CA;
  --line: rgba(176, 201, 187, .18);
  --line-dark: rgba(176, 201, 187, .32);
  --sage: #344F45;
  --sage-dark: #B0C9BB;
  --clay: #c48a63;
  --theme-surface: rgba(26,28,24,.82);
  --theme-surface-solid: #1A1C18;
  --theme-hero-wash: rgba(18,20,16,.42);
  color-scheme: dark;
}

body[data-theme='midnight-forest'] {
  background:
    radial-gradient(circle at 8% 4%, rgba(176,201,187,.10), transparent 28%),
    radial-gradient(circle at 92% 10%, rgba(52,79,69,.24), transparent 30%),
    linear-gradient(90deg, rgba(176,201,187,.045) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(0deg, rgba(176,201,187,.034) 1px, transparent 1px) 0 0 / 36px 36px,
    var(--cream);
}

body[data-theme='midnight-forest'] .nav-wrap,
body[data-theme='midnight-forest'] .feature-card,
body[data-theme='midnight-forest'] .compare-card,
body[data-theme='midnight-forest'] .price-card,
body[data-theme='midnight-forest'] .widget-grid article,
body[data-theme='midnight-forest'] .privacy-grid article,
body[data-theme='midnight-forest'] .home-context-grid article,
body[data-theme='midnight-forest'] .legal-card,
body[data-theme='midnight-forest'] .support-card {
  background: var(--theme-surface);
  border-color: var(--line);
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}

body[data-theme='midnight-forest'] .brand {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(251,249,244,.94);
}

.theme-toggle {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--sage-dark);
  background: rgba(255,250,240,.38);
  font: inherit;
  font-size: .86rem;
  font-weight: 800;
  cursor: pointer;
}

body[data-theme='midnight-forest'] .theme-toggle {
  color: #121410;
  background: #B0C9BB;
  border-color: #B0C9BB;
}

body[data-theme='midnight-forest'] .nav-cta,
body[data-theme='midnight-forest'] .primary-btn,
body[data-theme='midnight-forest'] .price-cta,
body[data-theme='midnight-forest'] .waitlist-form button {
  color: #121410;
  background: #B0C9BB;
}

body[data-theme='midnight-forest'] .handoff-photo-card::after {
  background:
    linear-gradient(120deg, rgba(18,20,16,.28), transparent 36%, rgba(176,201,187,.08)),
    radial-gradient(circle at 78% 16%, rgba(176,201,187,.12), transparent 24%);
}

body[data-theme='midnight-forest'] .google-data-note {
  border-color: rgba(216,226,218,.18);
  background: rgba(18,20,16,.52);
}

body[data-theme='midnight-forest'] .google-data-note p {
  color: #D8E2DA;
}

body[data-theme='midnight-forest'] .google-data-note a {
  color: #B0C9BB;
}

body[data-theme='midnight-forest'] .device-frame,
body[data-theme='midnight-forest'] .waitlist-form,
body[data-theme='midnight-forest'] .trust-row span,
body[data-theme='midnight-forest'] .secondary-btn {
  background: rgba(26,28,24,.78);
  border-color: var(--line);
}

body[data-theme='midnight-forest'] .cinematic-hero .hero-lede,
body[data-theme='midnight-forest'] .hero-lede,
body[data-theme='midnight-forest'] .section-heading p,
body[data-theme='midnight-forest'] .pricing-copy p,
body[data-theme='midnight-forest'] .feature-card p,
body[data-theme='midnight-forest'] .compare-card p,
body[data-theme='midnight-forest'] .price-card p,
body[data-theme='midnight-forest'] .widget-grid span,
body[data-theme='midnight-forest'] .privacy-grid span,
body[data-theme='midnight-forest'] .home-context-grid span {
  color: #C8D3CA;
}

body[data-theme='midnight-forest'] .cinematic-hero .hero-copy h1 {
  text-shadow: 0 1px 0 rgba(0,0,0,.32);
}

/* Landing refresh: fixed header, software-defined-calendar hero, and brand-mode portal. */
body {
  padding-top: 92px;
}

.nav-wrap {
  position: fixed !important;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0 !important;
  width: min(1180px, calc(100% - 28px));
  padding: 8px 10px 8px 14px !important;
  z-index: 1000;
}

.brand {
  min-width: 0;
  padding: 0 !important;
  background: transparent !important;
}

.brand-logo {
  width: clamp(108px, 12vw, 128px) !important;
  max-height: 42px;
  object-fit: contain;
}

.brand-logo-dark { display: none !important; }
body[data-theme='midnight-forest'] .brand-logo-light { display: none !important; }
body[data-theme='midnight-forest'] .brand-logo-dark { display: block !important; }

/* 2026-05-21 definitive platform/slider pass.
   This must stay at the end because the landing stylesheet has older header overrides. */
.device-icon-list .brand-icon {
  width: 32px !important;
  height: 32px !important;
  max-width: 100%;
  object-fit: contain;
}

.device-icon-list .samsung-icon {
  width: 76px !important;
}

body[data-theme='midnight-forest'] .device-icon-list .apple-icon {
  filter: invert(1);
}

.theme-switcher {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 58px !important;
  width: 58px !important;
  min-height: 30px !important;
  height: 30px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.theme-switcher .switch-label {
  display: none !important;
}

.theme-switcher .switch-track {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  align-items: center !important;
  width: 58px !important;
  min-width: 58px !important;
  height: 30px !important;
  min-height: 30px !important;
  padding: 0 !important;
  border: 1px solid rgba(95, 115, 85, .22) !important;
  border-radius: 999px !important;
  background: #F6EFDD !important;
  box-shadow: inset 0 1px 3px rgba(33, 29, 24, .10), 0 5px 12px rgba(33, 29, 24, .05) !important;
  overflow: hidden !important;
}

.theme-switcher .switch-track i {
  display: block !important;
  position: absolute !important;
  z-index: 1 !important;
  inset: 2px auto 2px 2px !important;
  width: 26px !important;
  height: 24px !important;
  border-radius: 999px !important;
  background: #E9F0D6 !important;
  box-shadow: 0 1px 5px rgba(33, 29, 24, .12) !important;
  transform: translateX(0) !important;
  transition: transform .22s ease, background .22s ease !important;
}

body[data-theme='midnight-forest'] .theme-switcher .switch-track {
  border-color: rgba(176, 201, 187, .24) !important;
  background: #263227 !important;
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, .22), 0 5px 12px rgba(0, 0, 0, .14) !important;
}

body[data-theme='midnight-forest'] .theme-switcher .switch-track i {
  transform: translateX(26px) !important;
  background: #DEE7FF !important;
}

.theme-switcher .switch-icon {
  position: relative !important;
  z-index: 2 !important;
  grid-area: auto !important;
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  min-height: 0 !important;
  font-size: .86rem !important;
  line-height: 1 !important;
}

.theme-switcher .switch-icon.sun,
body[data-theme='midnight-forest'] .theme-switcher .switch-icon.sun {
  display: grid !important;
  color: #DFA72C !important;
}

.theme-switcher .switch-icon.moon,
body[data-theme='midnight-forest'] .theme-switcher .switch-icon.moon {
  display: grid !important;
  color: #74848C !important;
  font-size: .96rem !important;
}

body[data-theme='midnight-forest'] .theme-switcher .switch-icon.moon {
  color: #6F83E8 !important;
}

/* 2026-05-21 final platform/slider pass:
   use real brand SVG assets and force one theme switch system at every width. */
.device-icon-list .brand-icon {
  width: 32px !important;
  height: 32px !important;
  max-width: 100%;
  object-fit: contain;
}

.device-icon-list .samsung-icon {
  width: 76px !important;
}

body[data-theme='midnight-forest'] .device-icon-list .apple-icon {
  filter: invert(1);
}

.theme-switcher {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 58px !important;
  width: 58px !important;
  min-height: 30px !important;
  height: 30px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.theme-switcher .switch-label {
  display: none !important;
}

.theme-switcher .switch-track {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  align-items: center !important;
  width: 58px !important;
  min-width: 58px !important;
  height: 30px !important;
  min-height: 30px !important;
  padding: 0 !important;
  border: 1px solid rgba(95, 115, 85, .18) !important;
  border-radius: 999px !important;
  background: #F6EFDD !important;
  box-shadow: inset 0 1px 3px rgba(39, 32, 23, .10) !important;
  overflow: hidden !important;
}

.theme-switcher .switch-track i {
  display: block !important;
  position: absolute !important;
  z-index: 1 !important;
  inset: 2px auto 2px 2px !important;
  width: 26px !important;
  height: 24px !important;
  border-radius: 999px !important;
  background: #EEF2DE !important;
  box-shadow: 0 1px 5px rgba(39, 32, 23, .12) !important;
  transform: translateX(0) !important;
  transition: transform .22s ease, background .22s ease !important;
}

body[data-theme='midnight-forest'] .theme-switcher .switch-track {
  border-color: rgba(176, 201, 187, .22) !important;
  background: #273229 !important;
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, .22) !important;
}

body[data-theme='midnight-forest'] .theme-switcher .switch-track i {
  transform: translateX(26px) !important;
  background: #E5E9FF !important;
}

.theme-switcher .switch-icon {
  position: relative !important;
  z-index: 2 !important;
  grid-area: auto !important;
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  min-height: 0 !important;
  color: transparent !important;
  font-size: .86rem !important;
  line-height: 1 !important;
}

.theme-switcher .switch-icon svg {
  width: 15px !important;
  height: 15px !important;
  display: block !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.theme-switcher .switch-icon.sun,
body[data-theme='midnight-forest'] .theme-switcher .switch-icon.sun {
  display: grid !important;
  color: #D9A326 !important;
}

.theme-switcher .switch-icon.sun svg circle {
  fill: currentColor !important;
  stroke: none !important;
}

.theme-switcher .switch-icon.moon,
body[data-theme='midnight-forest'] .theme-switcher .switch-icon.moon {
  display: grid !important;
  color: #728087 !important;
  font-size: .96rem !important;
}

body[data-theme='midnight-forest'] .theme-switcher .switch-icon.moon {
  color: #6E82E5 !important;
}

/* 2026-05-21 final switch repair. Keep this last. */
.theme-switcher {
  min-width: 58px !important;
  width: 58px !important;
  min-height: 30px !important;
  height: 30px !important;
}

.theme-switcher .switch-track {
  width: 58px !important;
  min-width: 58px !important;
  height: 30px !important;
  min-height: 30px !important;
  border: 1px solid rgba(95, 115, 85, .18) !important;
  background: #F6EFDD !important;
  box-shadow: inset 0 1px 3px rgba(39, 32, 23, .10) !important;
}

.theme-switcher .switch-track i {
  inset: 2px auto 2px 2px !important;
  width: 26px !important;
  height: 24px !important;
  background: #EEF2DE !important;
  box-shadow: 0 1px 5px rgba(39, 32, 23, .12) !important;
}

body[data-theme='midnight-forest'] .theme-switcher .switch-track {
  border-color: rgba(176, 201, 187, .22) !important;
  background: #273229 !important;
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, .22) !important;
}

body[data-theme='midnight-forest'] .theme-switcher .switch-track i {
  transform: translateX(26px) !important;
  background: #E5E9FF !important;
}

.theme-switcher .switch-icon {
  color: transparent !important;
}

.theme-switcher .switch-icon svg {
  width: 15px !important;
  height: 15px !important;
  display: block !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.theme-switcher .switch-icon.sun,
body[data-theme='midnight-forest'] .theme-switcher .switch-icon.sun {
  color: #D9A326 !important;
}

.theme-switcher .switch-icon.sun svg circle {
  fill: currentColor !important;
  stroke: none !important;
}

.theme-switcher .switch-icon.moon,
body[data-theme='midnight-forest'] .theme-switcher .switch-icon.moon {
  color: #728087 !important;
}

body[data-theme='midnight-forest'] .theme-switcher .switch-icon.moon {
  color: #6E82E5 !important;
}

/* 2026-05-21 footer/icon cleanup:
   keep the platform note in the footer without changing the footer's spacing,
   and remove the mini-tile backgrounds that looked like broken boxes. */
.site-footer {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 10px 24px !important;
}

.site-footer > span {
  justify-self: end !important;
  text-align: right !important;
}

.site-footer > small {
  grid-column: 1 / -1 !important;
  justify-self: stretch !important;
  display: block !important;
  max-width: none !important;
  color: rgba(84, 76, 64, .68) !important;
  font-size: .72rem !important;
  line-height: 1.5 !important;
  text-align: left !important;
  text-wrap: pretty;
  overflow-wrap: break-word;
}

.site-footer > small + small {
  margin-top: -2px !important;
}

.feature-card .device-icon-list {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 14px 18px !important;
}

.feature-card .device-icon-list span,
body[data-theme='midnight-forest'] .feature-card .device-icon-list span {
  display: inline-grid !important;
  grid-template-rows: 34px auto !important;
  place-items: center !important;
  min-height: 0 !important;
  min-width: 64px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--ink-soft) !important;
}

.feature-card .device-icon-list b,
body[data-theme='midnight-forest'] .feature-card .device-icon-list b {
  color: var(--ink-soft) !important;
  font-size: .73rem !important;
  font-weight: 800 !important;
}

.feature-card .device-icon-list .brand-icon {
  width: 32px !important;
  height: 32px !important;
}

.feature-card .device-icon-list .samsung-icon {
  width: 76px !important;
}

.feature-card .device-icon-list .tv-icon rect {
  fill: none !important;
}

body[data-theme='midnight-forest'] .site-footer > small,
body[data-theme='midnight-forest'] .feature-card .device-icon-list b {
  color: rgba(214, 224, 216, .72) !important;
}

@media (max-width: 680px) {
  .site-footer {
    grid-template-columns: 1fr !important;
  }

  .site-footer > span,
  .site-footer > small {
    justify-self: start !important;
    text-align: left !important;
  }
}

/* 2026-05-21 supported-platform grid pass:
   broader coverage, balanced rows, and no accidental icon tiles. */
.feature-card .device-icon-list {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(68px, 1fr)) !important;
  align-items: start !important;
  gap: 18px 14px !important;
  margin-top: 12px !important;
}

.feature-card .device-icon-list span,
body[data-theme='midnight-forest'] .feature-card .device-icon-list span {
  display: grid !important;
  grid-template-rows: 34px auto !important;
  place-items: center !important;
  gap: 8px !important;
  min-width: 0 !important;
  min-height: 58px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.feature-card .device-icon-list .brand-icon {
  width: 31px !important;
  height: 31px !important;
}

.feature-card .device-icon-list .samsung-icon {
  width: 78px !important;
  height: 31px !important;
}

.feature-card .device-icon-list .fire-tv-icon,
.feature-card .device-icon-list .tv-icon {
  fill: none !important;
  stroke: var(--sage-dark) !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.feature-card .device-icon-list b,
body[data-theme='midnight-forest'] .feature-card .device-icon-list b {
  max-width: 86px !important;
  color: var(--ink-soft) !important;
  font-size: .72rem !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  text-align: center !important;
}

body[data-theme='midnight-forest'] .feature-card .device-icon-list .fire-tv-icon,
body[data-theme='midnight-forest'] .feature-card .device-icon-list .tv-icon {
  stroke: #B0C9BB !important;
}

@media (max-width: 1180px) {
  .feature-card .device-icon-list {
    grid-template-columns: repeat(4, minmax(68px, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  .feature-card .device-icon-list {
    grid-template-columns: repeat(3, minmax(72px, 1fr)) !important;
    gap: 18px 10px !important;
  }
}

/* 2026-05-21 switch icon repair:
   replace text glyphs with crisp SVG icons and restore the soft mobile pill. */
.theme-switcher {
  min-width: 58px !important;
  width: 58px !important;
  min-height: 30px !important;
  height: 30px !important;
}

.theme-switcher .switch-track {
  width: 58px !important;
  min-width: 58px !important;
  height: 30px !important;
  min-height: 30px !important;
  border: 1px solid rgba(95, 115, 85, .18) !important;
  background: #F6EFDD !important;
  box-shadow: inset 0 1px 3px rgba(39, 32, 23, .10) !important;
}

.theme-switcher .switch-track i {
  inset: 2px auto 2px 2px !important;
  width: 26px !important;
  height: 24px !important;
  background: #EEF2DE !important;
  box-shadow: 0 1px 5px rgba(39, 32, 23, .12) !important;
}

body[data-theme='midnight-forest'] .theme-switcher .switch-track {
  border-color: rgba(176, 201, 187, .22) !important;
  background: #273229 !important;
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, .22) !important;
}

body[data-theme='midnight-forest'] .theme-switcher .switch-track i {
  transform: translateX(26px) !important;
  background: #E5E9FF !important;
}

.theme-switcher .switch-icon {
  color: transparent !important;
}

.theme-switcher .switch-icon svg {
  width: 15px !important;
  height: 15px !important;
  display: block !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.theme-switcher .switch-icon.sun,
body[data-theme='midnight-forest'] .theme-switcher .switch-icon.sun {
  color: #D9A326 !important;
}

.theme-switcher .switch-icon.sun svg circle {
  fill: currentColor !important;
  stroke: none !important;
}

.theme-switcher .switch-icon.moon,
body[data-theme='midnight-forest'] .theme-switcher .switch-icon.moon {
  color: #728087 !important;
}

body[data-theme='midnight-forest'] .theme-switcher .switch-icon.moon {
  color: #6E82E5 !important;
}

/* 2026-05-21: final slider sync, desktop uses the same colored icon treatment as mobile. */
.theme-switcher,
body[data-theme='midnight-forest'] .theme-switcher {
  min-width: 58px !important;
  min-height: 32px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.theme-switcher .switch-label {
  display: none !important;
}

.theme-switcher .switch-track,
body[data-theme='midnight-forest'] .theme-switcher .switch-track {
  width: 58px !important;
  height: 30px !important;
  border-radius: 999px !important;
}

.theme-switcher .switch-icon,
body[data-theme='midnight-forest'] .theme-switcher .switch-icon {
  grid-area: auto !important;
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  min-height: 0 !important;
  font-size: .9rem !important;
}

.theme-switcher .switch-icon.sun,
body[data-theme='midnight-forest'] .theme-switcher .switch-icon.sun {
  color: #F3B544 !important;
}

.theme-switcher .switch-icon.moon,
body[data-theme='midnight-forest'] .theme-switcher .switch-icon.moon {
  color: #7E94E8 !important;
  font-size: .98rem !important;
}

/* 2026-05-21: keep the desktop theme control visually identical to mobile. */
.theme-switcher {
  min-width: 58px !important;
  min-height: 32px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.theme-switcher .switch-label {
  display: none !important;
}

.theme-switcher .switch-track {
  width: 58px !important;
  height: 30px !important;
  border-radius: 999px !important;
}

.theme-switcher .switch-icon {
  grid-area: auto !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  min-height: 0 !important;
  font-size: .86rem !important;
}

.theme-switcher .switch-icon.moon {
  font-size: .96rem !important;
}

@media (min-width: 900px) {
  .brand {
    margin-left: -32px !important;
  }
}

body[data-theme='midnight-forest'] .device-icon-list span {
  background: rgba(35,39,33,.72);
  border-color: rgba(176,201,187,.18);
  color: #B0C9BB;
}

body[data-theme='midnight-forest'] .device-icon-list b {
  color: #F4F1E9;
}

body[data-theme='midnight-forest'] .device-icon-list .apple-icon {
  color: #F4F1E9;
}

body[data-theme='midnight-forest'] .device-icon-list .samsung-icon {
  color: #8FA8FF;
}

@media (min-width: 900px) {
  .brand {
    margin-left: -32px !important;
  }
}

body[data-theme='midnight-forest'] .device-icon-list span {
  background: rgba(35,39,33,.72);
  border-color: rgba(176,201,187,.18);
  color: #B0C9BB;
}

body[data-theme='midnight-forest'] .device-icon-list b {
  color: #F4F1E9;
}

.nav-links {
  gap: clamp(10px, 1.35vw, 16px) !important;
}

.nav-links > a:not(.nav-cta) {
  white-space: nowrap;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  white-space: nowrap;
}

.theme-portal {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 5px 12px 5px 6px !important;
  border: 1px solid rgba(52,79,69,.22) !important;
  border-radius: 999px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(251,249,244,.92), rgba(141,163,153,.22)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 8px 22px rgba(33,29,24,.08);
}

.portal-orbit {
  position: relative;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  overflow: hidden;
  background: #FBF9F4;
  box-shadow: inset 0 -10px 0 rgba(52,79,69,.13), 0 0 0 1px rgba(52,79,69,.18);
}

.portal-orbit i,
.portal-orbit b {
  position: absolute;
  display: block;
  border-radius: 999px;
  transition: transform .45s var(--ease-paper, cubic-bezier(.4,0,.2,1)), opacity .45s var(--ease-paper, cubic-bezier(.4,0,.2,1));
}

.portal-orbit i {
  width: 14px;
  height: 14px;
  left: 6px;
  top: 6px;
  background: #d8a44c;
  box-shadow: 0 0 18px rgba(216,164,76,.62);
}

.portal-orbit b {
  width: 15px;
  height: 15px;
  right: -4px;
  bottom: 4px;
  background: #121410;
  box-shadow: -5px 0 0 #B0C9BB;
  opacity: 0;
  transform: translateX(8px) rotate(-20deg);
}

.portal-copy {
  display: grid;
  gap: 1px;
  text-align: left;
  line-height: 1;
}
.portal-copy strong {
  color: var(--sage-dark);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .02em;
}
.portal-copy small {
  color: var(--ink-soft);
  font-size: .61rem;
  font-weight: 800;
  white-space: nowrap;
}

body[data-theme='midnight-forest'] .theme-portal {
  background:
    linear-gradient(135deg, rgba(26,28,24,.96), rgba(52,79,69,.56)) !important;
  border-color: rgba(176,201,187,.28) !important;
  box-shadow: inset 0 1px 0 rgba(176,201,187,.12), 0 10px 26px rgba(0,0,0,.24);
}
body[data-theme='midnight-forest'] .portal-orbit {
  background: #1A1C18;
  box-shadow: inset 0 -10px 0 rgba(176,201,187,.08), 0 0 0 1px rgba(176,201,187,.22);
}
body[data-theme='midnight-forest'] .portal-orbit i {
  opacity: 0;
  transform: translateX(-12px) translateY(8px) scale(.72);
}
body[data-theme='midnight-forest'] .portal-orbit b {
  opacity: 1;
  transform: translateX(0) rotate(-20deg);
}
body[data-theme='midnight-forest'] .portal-copy strong { color: #B0C9BB; }
body[data-theme='midnight-forest'] .portal-copy small { color: #C8D3CA; }

.hero-reel-section {
  min-height: calc(100vh - 92px);
  padding-top: 42px !important;
}

.hero-reel .reel-frame {
  position: relative;
  min-height: clamp(520px, 59vw, 720px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 42px;
  background: var(--theme-surface-solid, #fffdf8);
  box-shadow: 0 34px 92px rgba(33,29,24,.18);
  isolation: isolate;
}

.hero-video-frame {
  aspect-ratio: 1 / 1;
  min-height: 0 !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(39,32,23,.08)),
    url('assets/hero/video/farmark-camera-import-hero-poster-20260602.jpg') center / cover no-repeat !important;
}

body[data-theme='midnight-forest'] .hero-video-frame {
  background:
    linear-gradient(180deg, rgba(176,201,187,.05), rgba(0,0,0,.08)),
    url('assets/hero/video/farmark-camera-import-hero-poster-20260602.jpg') center / cover no-repeat !important;
}

.hero-video-poster {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-video-frame .farmark-motion-video {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .32s ease;
}

.hero-video-frame.is-video-ready .farmark-motion-video {
  opacity: 1;
}

.hero-video-frame.is-video-ready .hero-video-poster {
  display: none;
}

.hero-video-frame::after {
  background: none !important;
}

.reel-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(18,20,16,.16), transparent 38%),
    radial-gradient(circle at 78% 18%, rgba(251,249,244,.28), transparent 28%);
}

.hero-reel .hero-video-frame::after {
  background: none !important;
}

.reel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  animation: farmarkHeroReel 15s infinite;
}
.reel-slide picture,
.reel-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.slide-one { opacity: 1; animation-delay: 0s; }
.slide-two { animation-delay: 5s; }
.slide-three { animation-delay: 10s; }
.slide-three img { object-position: center 42%; }

.reel-product-screen {
  position: absolute;
  z-index: 4;
  left: 7%;
  bottom: 9%;
  width: min(430px, 52%);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 5px solid #1f2420;
  border-radius: 14px;
  background: #1f2420;
  box-shadow: 0 24px 55px rgba(0,0,0,.34);
  transform: rotate(-1.4deg);
}
.reel-product-screen img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.reel-caption {
  position: absolute;
  z-index: 5;
  right: 6%;
  bottom: 8%;
  max-width: min(340px, 42%);
  padding: 16px 18px;
  border: 1px solid rgba(251,249,244,.48);
  border-radius: 24px;
  color: #FBF9F4;
  background: rgba(18,20,16,.54);
  box-shadow: 0 20px 48px rgba(0,0,0,.24);
  backdrop-filter: blur(16px) saturate(1.1);
}
.reel-caption span {
  display: block;
  margin-bottom: 6px;
  color: #B0C9BB;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.reel-caption b {
  display: block;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.02;
  letter-spacing: -.035em;
}

@keyframes farmarkHeroReel {
  0%, 28% { opacity: 1; transform: scale(1); }
  33%, 95% { opacity: 0; transform: scale(1.035); }
  100% { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .reel-slide { animation: none; }
  .slide-one { opacity: 1; }
  .slide-two, .slide-three { display: none; }
  .hero-video-frame .farmark-motion-video { display: none !important; }
  .hero-video-poster { display: block; }
}

body[data-theme='midnight-forest'] .hero-reel .reel-frame,
body[data-theme='midnight-forest'] .hero-reel .reel-frame {
  box-shadow: 0 30px 86px rgba(0,0,0,.36);
}

@media (max-width: 1060px) {
  .nav-links a:not(.nav-cta):not(:first-child) { display: none; }
  .portal-copy small { display: none; }
}

@media (max-width: 980px) {
  body { padding-top: 82px; }
  .hero-reel-section { min-height: 0; }
  .hero-reel .reel-frame { min-height: 520px; border-radius: 32px; }
}

@media (max-width: 680px) {
  .nav-wrap { width: min(100% - 18px, 1180px); top: 9px; }
  .brand-logo { width: 106px !important; max-height: 36px; }
  .theme-portal { padding-right: 6px !important; }
  .portal-copy { display: none; }
  .portal-orbit { width: 30px; height: 30px; flex-basis: 30px; }
  .nav-links a:not(.nav-cta) { display: none !important; }
  .nav-cta { min-height: 38px; padding: 8px 11px; font-size: .82rem; }
  .hero-reel .reel-frame { min-height: 470px; border-radius: 28px; }
  .reel-product-screen { left: 6%; bottom: 8%; width: 62%; border-width: 4px; border-radius: 12px; }
  .reel-caption { right: 5%; bottom: 6%; max-width: 54%; padding: 12px 13px; border-radius: 18px; }
  .reel-caption span { font-size: .58rem; }
  .reel-caption b { font-size: 1.08rem; }
}

/* QA refinements: remove duplicate mobile eyebrow, prove carousel, keep CTA visible. */
.mobile-hero-kicker { display: none !important; }

.reel-indicators {
  position: absolute;
  z-index: 6;
  top: 18px;
  right: 18px;
  display: flex;
  gap: 8px;
  padding: 7px;
  border: 1px solid rgba(251,249,244,.42);
  border-radius: 999px;
  background: rgba(18,20,16,.42);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 32px rgba(0,0,0,.18);
}
.reel-indicators span {
  width: 44px;
  height: 30px;
  overflow: hidden;
  border: 2px solid rgba(251,249,244,.42);
  border-radius: 999px;
  opacity: .7;
  animation: farmarkIndicator 15s infinite;
}
.reel-indicators span:nth-child(2) { animation-delay: 5s; }
.reel-indicators span:nth-child(3) { animation-delay: 10s; }
.reel-indicators img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
@keyframes farmarkIndicator {
  0%, 28% { opacity: 1; border-color: #B0C9BB; transform: scale(1.08); }
  33%, 100% { opacity: .58; border-color: rgba(251,249,244,.42); transform: scale(1); }
}

body[data-theme='midnight-forest'] .hero-lede,
body[data-theme='midnight-forest'] .hero-purpose,
body[data-theme='midnight-forest'] .section-purpose,
body[data-theme='midnight-forest'] .hero-policy-link,
body[data-theme='midnight-forest'] .section-policy-link,
body[data-theme='midnight-forest'] .display-context-notes p {
  color: #D8E2DA;
}

body[data-theme='midnight-forest'] .hero-policy-link a,
body[data-theme='midnight-forest'] .section-policy-link a,
body[data-theme='midnight-forest'] .display-context-notes a {
  color: #B0C9BB;
}

body[data-theme='midnight-forest'] .display-context-notes {
  border-top-color: rgba(176, 201, 187, .24);
}

@media (max-width: 680px) {
  .nav-links { gap: 7px !important; }
  .nav-cta {
    display: inline-flex !important;
    min-height: 36px;
    padding: 8px 10px !important;
    font-size: .76rem;
  }
  .hero-reel .reel-frame {
    min-height: 410px;
  }
  .reel-product-screen {
    width: 58%;
    bottom: 10%;
  }
  .reel-caption {
    max-width: 50%;
    bottom: 8%;
  }
  .reel-indicators {
    top: 12px;
    right: 12px;
    gap: 5px;
    padding: 5px;
  }
  .reel-indicators span {
    width: 34px;
    height: 24px;
  }
}

/* Feedback pass: clearer nav spacing, bigger logo, no picture-on-picture, plain theme switch. */
.nav-wrap {
  min-height: 66px;
  padding: 10px 14px 10px 18px !important;
}

.brand-logo {
  width: clamp(146px, 14vw, 174px) !important;
  max-height: 52px !important;
}

.nav-links {
  gap: clamp(14px, 1.65vw, 22px) !important;
}

.nav-links > a:not(.nav-cta) {
  font-size: .9rem;
}

.theme-portal,
.portal-orbit,
.portal-copy {
  all: unset;
}

.theme-switcher {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 6px 12px 6px 7px !important;
  border: 1px solid var(--line-dark) !important;
  border-radius: 999px;
  color: var(--sage-dark) !important;
  background: rgba(251,249,244,.72) !important;
  box-shadow: 0 8px 22px rgba(33,29,24,.07), inset 0 1px 0 rgba(255,255,255,.72);
  font-weight: 900;
}

.switch-track {
  position: relative;
  width: 46px;
  height: 24px;
  border-radius: 999px;
  background: #FBF9F4;
  border: 1px solid rgba(52,79,69,.22);
}

.switch-track i {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #344F45;
  box-shadow: 0 2px 7px rgba(33,29,24,.22);
  transition: transform .25s ease, background .25s ease;
}

.switch-label {
  font-size: .78rem;
  letter-spacing: .02em;
}

body[data-theme='midnight-forest'] .theme-switcher {
  color: #B0C9BB !important;
  background: rgba(26,28,24,.86) !important;
  border-color: rgba(176,201,187,.32) !important;
}
body[data-theme='midnight-forest'] .switch-track {
  background: #121410;
  border-color: rgba(176,201,187,.34);
}
body[data-theme='midnight-forest'] .switch-track i {
  transform: translateX(22px);
  background: #B0C9BB;
}

.reel-product-screen {
  display: none !important;
}

.reel-caption {
  left: 6%;
  right: auto;
  bottom: 7%;
  max-width: min(330px, 44%);
}
.reel-caption b {
  font-size: clamp(1.2rem, 1.8vw, 1.65rem);
}

@media (max-width: 1180px) {
  .nav-links a[href="#widgets"] { display: none; }
}

@media (max-width: 1060px) {
  .nav-links a:not(.nav-cta):not(:first-child) { display: none; }
}

@media (max-width: 680px) {
  body { padding-top: 74px; }
  .nav-wrap {
    min-height: 58px;
    padding: 8px 9px 8px 12px !important;
  }
  .brand-logo {
    width: 132px !important;
    max-height: 44px !important;
  }
  .theme-switcher {
    min-height: 34px;
    padding: 5px 7px !important;
    gap: 0;
  }
  .switch-label { display: none; }
  .switch-track {
    width: 42px;
    height: 22px;
  }
  .switch-track i {
    width: 16px;
    height: 16px;
  }
  body[data-theme='midnight-forest'] .switch-track i {
    transform: translateX(20px);
  }
  .nav-cta {
    min-height: 34px !important;
    padding: 7px 9px !important;
    font-size: .72rem !important;
  }
  .hero-reel-section {
    padding-top: 24px !important;
  }
  .hero-copy {
    gap: 13px;
  }
  .hero-actions {
    gap: 10px;
  }
  .hero-reel .reel-frame {
    min-height: 360px;
  }
  .reel-caption {
    left: 5%;
    bottom: 7%;
    max-width: 72%;
  }
  .reel-caption b { font-size: 1rem; }
  .reel-caption span { font-size: .56rem; }
}

/* Final cleanup: non-image carousel indicators. */
.dot-indicators {
  gap: 7px;
  padding: 9px 11px;
}
.dot-indicators span {
  width: 9px !important;
  height: 9px !important;
  border: 0 !important;
  border-radius: 999px;
  background: rgba(251,249,244,.76);
  opacity: .58;
  animation: farmarkDotIndicator 15s infinite;
}
.dot-indicators span:nth-child(2) { animation-delay: 5s; }
.dot-indicators span:nth-child(3) { animation-delay: 10s; }
.dot-indicators img { display: none !important; }
@keyframes farmarkDotIndicator {
  0%, 28% { opacity: 1; background: #B0C9BB; transform: scale(1.45); }
  33%, 100% { opacity: .58; background: rgba(251,249,244,.76); transform: scale(1); }
}
@media (max-width: 680px) {
  .dot-indicators {
    gap: 6px;
    padding: 8px 10px;
  }
  .dot-indicators span {
    width: 8px !important;
    height: 8px !important;
  }
}

/* Current feedback pass: Apple-style brand toggle, tighter header, left-aligned home section. */
.nav-wrap {
  width: min(1240px, calc(100% - 32px));
  min-height: 62px;
  padding: 8px 12px 8px 18px !important;
  align-items: center;
}

.brand {
  flex: 0 0 auto;
}

.brand-logo {
  width: clamp(158px, 13vw, 184px) !important;
  max-height: 50px !important;
}

.nav-links {
  margin-left: auto;
  gap: clamp(12px, 1.25vw, 18px) !important;
  align-items: center;
}

.nav-links > a:not(.nav-cta) {
  font-size: .86rem;
  line-height: 1;
}

.nav-cta {
  min-height: 38px;
  padding: 10px 15px;
}

.theme-switcher {
  gap: 7px;
  min-height: 38px;
  padding: 5px 10px !important;
  background: rgba(251,249,244,.82) !important;
}

.switch-icon {
  width: 16px;
  text-align: center;
  color: #344F45;
  font-size: .86rem;
  line-height: 1;
  opacity: .78;
}

.switch-icon.moon {
  color: #8DA399;
  font-size: 1rem;
}

.switch-track {
  width: 48px;
  height: 28px;
  padding: 2px;
  border: 0;
  background: #8DA399;
  box-shadow: inset 0 1px 3px rgba(33,29,24,.20);
}

.switch-track i {
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: #FBF9F4;
  box-shadow: 0 2px 6px rgba(33,29,24,.26);
}

body[data-theme='midnight-forest'] .theme-switcher {
  background: rgba(26,28,24,.90) !important;
}

body[data-theme='midnight-forest'] .switch-icon.sun {
  color: rgba(176,201,187,.55);
}

body[data-theme='midnight-forest'] .switch-icon.moon,
body[data-theme='midnight-forest'] .switch-label {
  color: #B0C9BB;
}

body[data-theme='midnight-forest'] .switch-track {
  background: #344F45;
}

body[data-theme='midnight-forest'] .switch-track i {
  transform: translateX(20px);
  background: #B0C9BB;
}

.hero-copy .eyebrow {
  letter-spacing: .15em;
}

.home-contexts .compact-heading {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.privacy-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1180px) {
  .nav-links a[href="#widgets"] { display: none; }
}

@media (max-width: 760px) {
  body { padding-top: 70px; }
  .nav-wrap {
    width: min(100% - 18px, 1240px);
    min-height: 56px;
    top: 8px;
    padding: 7px 8px 7px 10px !important;
  }
  .brand-logo {
    width: 134px !important;
    max-height: 42px !important;
  }
  .theme-switcher {
    min-height: 32px;
    padding: 4px 6px !important;
    gap: 4px;
  }
  .switch-icon {
    width: 12px;
    font-size: .72rem;
  }
  .switch-icon.moon { font-size: .82rem; }
  .switch-track {
    width: 38px;
    height: 22px;
  }
  .switch-track i {
    width: 16px;
    height: 16px;
  }
  body[data-theme='midnight-forest'] .switch-track i {
    transform: translateX(16px);
  }
  .switch-label { display: none; }
  .nav-cta {
    min-height: 32px !important;
    padding: 6px 8px !important;
    font-size: .7rem !important;
  }
  .hero-copy .eyebrow {
    font-size: .72rem;
    line-height: 1.25;
  }
  .privacy-grid {
    grid-template-columns: 1fr;
  }
}

/* Single-bubble theme toggle: current mode icon visible, inactive side covered by the half pill. */
.theme-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  cursor: pointer;
}

.theme-switcher .switch-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.theme-switcher .switch-track {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  width: 72px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(52, 79, 69, .18);
  border-radius: 999px;
  background: rgba(251, 249, 244, .92);
  box-shadow: inset 0 1px 4px rgba(33, 29, 24, .16), 0 8px 18px rgba(33, 29, 24, .08);
  overflow: hidden;
}

.theme-switcher .switch-track i {
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  width: 50%;
  height: 100%;
  border-radius: 999px;
  background: #344F45;
  box-shadow: 0 3px 10px rgba(33, 29, 24, .22);
  transform: translateX(0);
  transition: transform .22s ease, background .22s ease;
}

.theme-switcher .switch-icon {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 1rem;
  line-height: 1;
  color: #344F45;
  opacity: 1;
  transition: color .22s ease, opacity .22s ease;
}

.theme-switcher .switch-icon.sun {
  color: #FBF9F4;
}

.theme-switcher .switch-icon.moon {
  color: #8DA399;
  font-size: 1.08rem;
}

body[data-theme='midnight-forest'] .theme-switcher .switch-track {
  border-color: rgba(176, 201, 187, .18);
  background: rgba(18, 20, 16, .86);
  box-shadow: inset 0 1px 5px rgba(0, 0, 0, .28), 0 8px 18px rgba(0, 0, 0, .20);
}

body[data-theme='midnight-forest'] .theme-switcher .switch-track i {
  transform: translateX(100%);
  background: #B0C9BB;
}

body[data-theme='midnight-forest'] .theme-switcher .switch-icon.sun {
  color: rgba(176, 201, 187, .50);
}

body[data-theme='midnight-forest'] .theme-switcher .switch-icon.moon {
  color: #121410;
}

@media (max-width: 760px) {
  .theme-switcher {
    min-height: 32px;
  }

  .theme-switcher .switch-track {
    width: 58px;
    height: 30px;
  }

  .theme-switcher .switch-icon {
    width: 100%;
    font-size: .86rem;
  }

  .theme-switcher .switch-icon.moon {
    font-size: .96rem;
  }
}

/* Mobile proportion pass: lighter header, tighter vertical spacing, Farmark seed icons. */
.widget-grid b {
  display: flex;
  align-items: center;
  gap: 9px;
}

.widget-grid b::before {
  content: '';
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  margin: 0;
  border-radius: 70% 30% 70% 30%;
  background: linear-gradient(135deg, #8DA399, #344F45);
  box-shadow: 0 0 0 5px rgba(141, 163, 153, .14);
  transform: rotate(-12deg);
}

body[data-theme='midnight-forest'] .widget-grid b::before {
  background: linear-gradient(135deg, #B0C9BB, #344F45);
  box-shadow: 0 0 0 5px rgba(176, 201, 187, .12);
}

@media (max-width: 760px) {
  body {
    padding-top: 60px;
  }

  .nav-wrap {
    width: calc(100% - 20px);
    min-height: 48px;
    top: 8px;
    padding: 6px 8px 6px 11px !important;
    border-radius: 19px;
    gap: 6px;
  }

  .brand-logo {
    width: 112px !important;
    max-height: 34px !important;
  }

  .nav-links {
    gap: 6px !important;
    min-width: 0;
  }

  .theme-switcher .switch-track {
    width: 50px;
    height: 27px;
  }

  .theme-switcher .switch-icon {
    font-size: .78rem;
  }

  .theme-switcher .switch-icon.moon {
    font-size: .88rem;
  }

  .nav-cta {
    min-height: 29px !important;
    padding: 6px 8px !important;
    border-radius: 999px !important;
    font-size: .66rem !important;
    letter-spacing: .04em;
    white-space: nowrap;
  }

  .section-shell {
    width: min(100% - 24px, 1180px) !important;
    padding-top: 34px !important;
    padding-bottom: 34px !important;
  }

  .hero.section-shell,
  .cinematic-hero.section-shell,
  .hero-reel-section {
    padding-top: 22px !important;
    padding-bottom: 28px !important;
    gap: 22px !important;
  }

  .hero-copy .eyebrow {
    margin-bottom: 10px;
    font-size: .68rem;
    letter-spacing: .13em;
  }

  .hero-copy h1 {
    margin-bottom: 10px;
    font-size: clamp(2.55rem, 14vw, 3.35rem) !important;
    line-height: .88 !important;
  }

  .hero-lede {
    margin-top: 0;
    font-size: .94rem !important;
    line-height: 1.45 !important;
  }

  .hero-actions {
    margin-top: 17px !important;
    gap: 9px !important;
  }

  .hero-reel {
    min-height: 360px !important;
  }

  .home-contexts,
  .split-section,
  .privacy-section,
  .compare,
  .widgets,
  .pricing {
    margin-top: 0 !important;
  }

  .section-heading,
  .compact-heading,
  .pricing-copy {
    margin-bottom: 18px !important;
  }

  .section-heading h2,
  .pricing-copy h2 {
    margin-bottom: 10px !important;
    line-height: 1.02 !important;
  }

  .home-contexts .section-heading h2 {
    max-width: 360px;
    font-size: clamp(2rem, 10vw, 2.55rem) !important;
    line-height: 1.04 !important;
  }

  .home-context-grid,
  .feature-stack,
  .privacy-grid,
  .compare-grid,
  .widget-grid {
    gap: 13px !important;
  }

  .home-context-grid article,
  .feature-card,
  .privacy-grid article,
  .compare-card,
  .widget-grid article,
  .price-card {
    padding: 17px !important;
    border-radius: 20px !important;
  }

  .home-context-grid article {
    padding: 0 !important;
  }

  .home-context-grid img {
    height: 178px !important;
  }

  .display-context-notes {
    gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
  }

  .display-context-notes p {
    font-size: .88rem;
    line-height: 1.45;
  }

  .section-heading p,
  .feature-card p,
  .widget-grid span,
  .pricing-copy p,
  .compare-card p {
    line-height: 1.48 !important;
  }

  .price b {
    font-size: 4.15rem !important;
  }
}

.section-shell,
section[id] {
  scroll-margin-top: 92px;
}

@media (max-width: 760px) {
  .section-shell,
  section[id] {
    scroll-margin-top: 70px;
  }
}

/* Final mobile spacing and anchor correction. */
@media (max-width: 760px) {
  #widgets,
  #pricing,
  #data-protection,
  #compare,
  #product {
    scroll-margin-top: 150px !important;
  }

  .widgets,
  .pricing,
  .compare,
  .privacy-section,
  .split-section,
  .home-contexts {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
  }

  .widgets .section-heading,
  .pricing .pricing-copy {
    padding-top: 4px;
  }

  .price {
    gap: 6px;
  }

  .price b {
    font-size: 3.55rem !important;
    letter-spacing: -.07em;
  }

  .price span {
    font-size: .96rem;
  }
}

/* Final header balance, pricing readability, PWA and blog styles. */
.nav-wrap {
  padding-left: 12px !important;
  padding-right: 12px !important;
}

.brand {
  margin-left: 0;
}

.nav-cta {
  margin-right: 0;
}

.price-card > p,
.price-note {
  margin: 8px 0 18px;
  color: var(--ink-soft);
  line-height: 1.45;
}

.price-card ul {
  margin-top: 14px;
  line-height: 1.62 !important;
}

.pwa-section .section-heading {
  max-width: 820px;
  text-align: left;
  margin-left: 0;
}

.blog-shell h1,
.article-shell h1 {
  max-width: 880px;
}

.blog-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.blog-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 253, 247, .72);
  box-shadow: var(--shadow-soft);
}

.blog-card > span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--clay);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.blog-card h2 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.blog-card h2 a {
  color: var(--sage-dark);
  text-decoration: none;
}

.blog-card p {
  color: var(--ink-soft);
  line-height: 1.6;
}

.article-shell .legal-card h2 {
  color: var(--sage-dark);
}

body[data-theme='midnight-forest'] .blog-card {
  background: rgba(26, 28, 24, .78);
}

body[data-theme='midnight-forest'] .blog-card h2 a,
body[data-theme='midnight-forest'] .article-shell .legal-card h2 {
  color: #B0C9BB;
}

.best-digital-calendar-page .comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.best-digital-calendar-page .comparison-grid article,
.best-digital-calendar-page .decision-list p {
  border: 1px solid rgba(52, 79, 69, .14);
  border-radius: 20px;
  background: rgba(255, 253, 247, .58);
  padding: 18px;
}

.best-digital-calendar-page .comparison-grid h3 {
  margin: 0 0 8px;
  color: var(--sage-dark);
  font-size: 1.05rem;
}

.best-digital-calendar-page .comparison-grid p,
.best-digital-calendar-page .decision-list p {
  margin: 0;
}

.best-digital-calendar-page .farmark-choice-card {
  border-color: rgba(195, 119, 84, .36);
  background: linear-gradient(135deg, rgba(255, 253, 247, .86), rgba(240, 229, 213, .74));
}

.best-digital-calendar-page .inline-cta {
  display: inline-flex;
  color: #fff;
  text-decoration: none;
}

.hero-supporting-link {
  margin: 14px 0 0;
  font-size: .95rem;
}

.hero-supporting-link a {
  color: var(--sage-dark);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

body[data-theme='midnight-forest'] .best-digital-calendar-page .comparison-grid article,
body[data-theme='midnight-forest'] .best-digital-calendar-page .decision-list p {
  border-color: rgba(209, 218, 205, .16);
  background: rgba(26, 28, 24, .72);
}

body[data-theme='midnight-forest'] .best-digital-calendar-page .comparison-grid h3,
body[data-theme='midnight-forest'] .hero-supporting-link a {
  color: #B0C9BB;
}

@media (max-width: 760px) {
  .best-digital-calendar-page .comparison-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-wrap {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  .brand-logo {
    width: 118px !important;
  }

  .nav-cta {
    padding-left: 7px !important;
    padding-right: 7px !important;
  }

  .price-card > p,
  .price-note {
    margin: 6px 0 14px !important;
    line-height: 1.35 !important;
  }

  .price-card ul {
    line-height: 1.48 !important;
  }

  .blog-card {
    padding: 18px;
    border-radius: 20px;
  }
}

@media (max-width: 760px) {
  .article-shell h1 {
    font-size: clamp(2.35rem, 12vw, 3.35rem) !important;
    line-height: .94 !important;
  }
}

@media (max-width: 760px) {
  .article-shell h1 {
    font-size: clamp(2rem, 10vw, 2.75rem) !important;
    line-height: 1 !important;
  }
}

/* Fold the PWA explanation into the comparison cards instead of a standalone section. */
.compare-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.compare-card.pwa-card {
  background: rgba(251, 249, 244, .74);
}

.compare-card.pwa-card b {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}

@media (max-width: 1040px) {
  .compare-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .compare-grid {
    grid-template-columns: 1fr;
  }
}

/* Replace the too organic widget mark with a simple Farmark card glyph. */
.widget-grid b::before {
  content: '' !important;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin: 0 !important;
  border-radius: 4px !important;
  border: 2px solid #344F45;
  background:
    linear-gradient(#8DA399, #8DA399) 3px 3px / 6px 2px no-repeat,
    linear-gradient(#8DA399, #8DA399) 3px 7px / 8px 2px no-repeat,
    rgba(251, 249, 244, .95) !important;
  box-shadow: none !important;
  transform: none !important;
}

body[data-theme='midnight-forest'] .widget-grid b::before {
  border-color: #B0C9BB;
  background:
    linear-gradient(#B0C9BB, #B0C9BB) 3px 3px / 6px 2px no-repeat,
    linear-gradient(#B0C9BB, #B0C9BB) 3px 7px / 8px 2px no-repeat,
    rgba(26, 28, 24, .95) !important;
}


/* Header correction: balance visible logo edge, make Blog discoverable on mobile, and keep the CTA flush. */
.brand {
  overflow: hidden;
  border-radius: 10px;
}

.brand-logo {
  transform: translateX(-3px) scale(1.045);
  transform-origin: left center;
}

.nav-cta {
  transform: translateX(0);
}

@media (max-width: 760px) {
  .nav-wrap {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }

  .brand {
    max-width: 114px;
  }

  .brand-logo {
    width: 122px !important;
    transform: translateX(-5px) scale(1.05);
  }

  .nav-links > a[href="blog/"] {
    display: inline-flex !important;
    align-items: center;
    min-height: 28px;
    padding: 0 3px;
    font-size: .72rem;
    font-weight: 800;
    color: var(--sage-dark);
  }

  body[data-theme='midnight-forest'] .nav-links > a[href="blog/"] {
    color: #B0C9BB;
  }

  .nav-cta {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
}

/* Nudge the mobile theme/menu cluster left for better visual balance. */
@media (max-width: 760px) {
  .nav-links {
    transform: translateX(-8px);
  }
}

/* Support center mobile pass: keep the Harvest-style structure, but make it feel
   like a real phone help center instead of a squeezed desktop page. */
@media (max-width: 760px) {
  body.support-page {
    overflow-x: hidden;
  }

  body.support-page .nav-wrap {
    width: calc(100% - 16px) !important;
    min-height: 54px;
    margin-top: 8px !important;
    padding: 7px 8px 7px 10px !important;
    gap: 8px;
  }

  body.support-page .brand {
    max-width: 128px;
    min-width: 0;
  }

  body.support-page .brand-logo {
    width: 128px !important;
    transform: translateX(-3px) scale(1.02) !important;
  }

  body.support-page .nav-links {
    flex: 0 0 auto;
    gap: 0 !important;
    transform: none !important;
  }

  body.support-page .theme-toggle,
  body.support-page .nav-links a:not(.nav-cta) {
    display: none !important;
  }

  body.support-page .nav-links .nav-cta {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px !important;
    font-size: .82rem;
    font-weight: 850;
    white-space: nowrap;
    transform: none !important;
  }

  body.support-page .support-shell.support-center {
    width: calc(100% - 22px);
    padding-top: 28px;
    padding-bottom: 44px;
  }

  body.support-page .support-center-hero {
    display: block;
    padding: 8px 0 18px;
    text-align: left;
  }

  body.support-page .support-center-hero .eyebrow {
    margin-bottom: 10px;
    font-size: .7rem;
    letter-spacing: .12em;
  }

  body.support-page .support-center-hero h1 {
    max-width: 330px;
    margin-bottom: 18px;
    font-size: clamp(2.05rem, 10.6vw, 2.85rem);
    line-height: 1;
    letter-spacing: -.045em;
  }

  body.support-page .support-search {
    width: 100%;
    min-height: 56px;
    grid-template-columns: 30px minmax(0, 1fr);
    padding: 0 14px;
    border-radius: 15px;
    box-shadow: 0 12px 30px rgba(39, 32, 23, .10);
  }

  body.support-page .support-search span {
    font-size: 1.18rem;
  }

  body.support-page .support-search input {
    min-width: 0;
    font-size: .92rem;
  }

  body.support-page .support-quick-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin: 0 0 16px;
  }

  body.support-page .support-quick-links a {
    min-height: 44px;
    padding: 9px 10px;
    border-radius: 12px;
    font-size: .82rem;
    line-height: 1.18;
  }

  body.support-page .support-category-list,
  body.support-page .support-results {
    gap: 12px;
  }

  body.support-page .support-category-card {
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(39, 32, 23, .07);
  }

  body.support-page .support-category-head {
    display: block;
    padding-bottom: 10px;
  }

  body.support-page .support-category-head h2 {
    font-size: 1.04rem;
    letter-spacing: -.01em;
  }

  body.support-page .support-category-head p {
    margin-top: 5px;
    font-size: .88rem;
    line-height: 1.42;
  }

  body.support-page .support-category-head span {
    display: none;
  }

  body.support-page .support-link-list {
    margin-top: 6px;
  }

  body.support-page .support-link-list a {
    min-height: 42px;
    padding: 10px 0;
    font-size: .91rem;
    line-height: 1.25;
  }

  body.support-page .support-link-list a::after {
    padding-left: 12px;
    font-size: 1.25rem;
  }

  body.support-page .support-center-contact {
    display: grid;
    gap: 14px;
    margin-top: 14px;
    padding: 18px;
    border-radius: 16px;
  }

  body.support-page .support-contact h2 {
    font-size: 1.08rem;
  }

  body.support-page .support-contact p,
  body.support-page .support-empty {
    font-size: .9rem;
    line-height: 1.45;
  }

  body.support-page .support-contact-actions {
    min-width: 0;
    gap: 6px;
  }

  body.support-page .support-contact-actions a {
    overflow-wrap: anywhere;
    font-size: .92rem;
  }

  body.support-page .site-footer {
    width: calc(100% - 22px);
    padding-bottom: 34px;
  }
}

/* Sanitized home-style photo assets. */
.article-photo {
  margin: 0;
}

.article-photo img {
  display: block;
  width: 100%;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: 0 26px 70px rgba(33, 29, 24, .16);
  object-fit: cover;
}

.article-photo {
  margin: 28px 0;
}

.article-photo img {
  max-height: 640px;
}

.article-photo figcaption {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: .86rem;
  line-height: 1.45;
}

/* Blog article spacing with fixed header and large real photo. */
.article-shell,
.blog-shell,
.legal-shell {
  padding-top: 132px;
}

.article-photo img {
  max-height: 520px;
  object-fit: cover;
}

@media (max-width: 760px) {
  .article-shell,
  .blog-shell,
  .legal-shell {
    padding-top: 92px;
  }

  .article-photo img {
    max-height: 520px;
  }
}

.article-photo,
.article-shell section {
  scroll-margin-top: 128px;
}

.legal-updated {
  margin: -8px 0 18px;
  color: var(--ink-soft);
  font-size: .9rem;
  font-weight: 700;
}

/* Small navigation pass: top-right hamburger menu for quick section jumps. */
.menu-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--sage-dark);
  background: rgba(255, 253, 247, .72);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(39, 32, 23, .07);
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .18s ease, opacity .18s ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 80;
  width: min(250px, calc(100vw - 28px));
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 247, .96);
  box-shadow: 0 24px 60px rgba(39, 32, 23, .16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease;
}

.menu-open .site-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-menu a {
  display: flex !important;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 12px;
  color: var(--ink);
  font-weight: 800;
}

.site-menu a:first-child {
  color: var(--paper);
  background: var(--sage-dark);
}

.site-menu a:hover,
.site-menu a:focus-visible {
  background: rgba(95, 115, 85, .12);
  outline: none;
}

.site-menu a:first-child:hover,
.site-menu a:first-child:focus-visible {
  background: var(--sage);
}

body[data-theme='midnight-forest'] .menu-toggle,
body[data-theme='midnight-forest'] .site-menu {
  border-color: rgba(236, 232, 218, .18);
  background: rgba(26, 28, 24, .96);
}

body[data-theme='midnight-forest'] .menu-toggle {
  color: #D7E4DA;
}

body[data-theme='midnight-forest'] .site-menu a {
  color: #F5F1E8;
}

body[data-theme='midnight-forest'] .site-menu a:first-child {
  color: #11150f;
  background: #B0C9BB;
}

@media (max-width: 760px) {
  .menu-toggle {
    width: 38px;
    height: 38px;
    padding: 9px;
  }

  .site-menu {
    right: -56px;
  }
}

/* Editorial pass heading breathing room on article pages. */
@media (max-width: 760px) {
  .article-shell h1 {
    line-height: 1.08 !important;
  }

  .article-shell .legal-card h2 {
    line-height: 1.12 !important;
    font-size: clamp(1.85rem, 9vw, 2.45rem) !important;
  }
}

/* Final mobile menu override: keep dropdown links visible even when header links collapse. */
.nav-links .site-menu a {
  display: flex !important;
}

/* Keep the dropdown readable over the hero. */
.site-menu {
  background: var(--paper-strong) !important;
  box-shadow: 0 28px 70px rgba(39, 32, 23, .24) !important;
}

body[data-theme='midnight-forest'] .site-menu {
  background: #1A1C18 !important;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .42) !important;
}

/* Keep mobile menu inside the viewport now that header only has two controls. */
@media (max-width: 760px) {
  .site-menu {
    right: 0 !important;
  }
}

/* Dim page content behind the open menu so hero text does not compete with navigation. */
body.menu-open::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(39, 32, 23, .18);
  backdrop-filter: blur(1px);
}

body[data-theme='midnight-forest'].menu-open::before {
  background: rgba(0, 0, 0, .34);
}

/* Apple-inspired header restraint: thin chrome, quiet controls, simple menu. */
body {
  padding-top: 64px !important;
}

.nav-wrap {
  top: 0 !important;
  left: 0 !important;
  transform: none !important;
  width: 100% !important;
  min-height: 52px !important;
  padding: 0 max(18px, calc((100vw - 1180px) / 2)) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: rgba(255, 250, 240, .82) !important;
  box-shadow: inset 0 -1px rgba(39, 32, 23, .08) !important;
}

body[data-theme='midnight-forest'] .nav-wrap {
  background: rgba(18, 20, 16, .82) !important;
  box-shadow: inset 0 -1px rgba(236, 232, 218, .10) !important;
}

.brand {
  max-width: none !important;
  overflow: visible !important;
  border-radius: 0 !important;
}

.brand-logo {
  width: clamp(112px, 10vw, 134px) !important;
  max-height: 34px !important;
  transform: none !important;
}

.nav-links {
  gap: 10px !important;
}

.theme-switcher {
  min-height: 34px !important;
}

.theme-switcher .switch-track {
  width: 52px !important;
  height: 28px !important;
  border-color: rgba(39, 32, 23, .12) !important;
  background: rgba(255, 253, 247, .58) !important;
  box-shadow: none !important;
}

.theme-switcher .switch-track i {
  box-shadow: none !important;
}

body[data-theme='midnight-forest'] .theme-switcher .switch-track {
  border-color: rgba(236, 232, 218, .14) !important;
  background: rgba(245, 241, 232, .08) !important;
}

.menu-toggle {
  width: 34px !important;
  height: 34px !important;
  padding: 8px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.menu-toggle:hover,
.menu-toggle:focus-visible,
.theme-switcher:hover .switch-track,
.theme-switcher:focus-visible .switch-track {
  background: rgba(39, 32, 23, .06) !important;
  outline: none;
}

body[data-theme='midnight-forest'] .menu-toggle:hover,
body[data-theme='midnight-forest'] .menu-toggle:focus-visible,
body[data-theme='midnight-forest'] .theme-switcher:hover .switch-track,
body[data-theme='midnight-forest'] .theme-switcher:focus-visible .switch-track {
  background: rgba(245, 241, 232, .10) !important;
}

.menu-toggle span {
  width: 16px !important;
  height: 1.5px !important;
}

.site-menu {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  left: auto !important;
  width: min(340px, calc(100vw - 36px)) !important;
  gap: 0 !important;
  padding: 12px 0 !important;
  border: 0 !important;
  border-radius: 0 0 18px 18px !important;
  background: rgba(255, 250, 240, .96) !important;
  box-shadow: 0 24px 52px rgba(39, 32, 23, .14) !important;
}

body[data-theme='midnight-forest'] .site-menu {
  background: rgba(18, 20, 16, .96) !important;
  box-shadow: 0 24px 52px rgba(0, 0, 0, .34) !important;
}

.site-menu a {
  min-height: 46px !important;
  padding: 0 24px !important;
  border-radius: 0 !important;
  font-size: 1.02rem !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
  color: var(--ink) !important;
}

.site-menu a:first-child {
  color: var(--ink) !important;
  background: transparent !important;
  font-weight: 800 !important;
}

.site-menu a:hover,
.site-menu a:focus-visible,
.site-menu a:first-child:hover,
.site-menu a:first-child:focus-visible {
  background: rgba(39, 32, 23, .06) !important;
}

body[data-theme='midnight-forest'] .site-menu a,
body[data-theme='midnight-forest'] .site-menu a:first-child {
  color: #F5F1E8 !important;
  background: transparent !important;
}

body[data-theme='midnight-forest'] .site-menu a:hover,
body[data-theme='midnight-forest'] .site-menu a:focus-visible,
body[data-theme='midnight-forest'] .site-menu a:first-child:hover,
body[data-theme='midnight-forest'] .site-menu a:first-child:focus-visible {
  background: rgba(245, 241, 232, .10) !important;
}

body.menu-open::before {
  top: 52px;
  background: rgba(39, 32, 23, .10) !important;
  backdrop-filter: none !important;
}

body[data-theme='midnight-forest'].menu-open::before {
  background: rgba(0, 0, 0, .24) !important;
}

@media (max-width: 760px) {
  body {
    padding-top: 58px !important;
  }

  .nav-wrap {
    min-height: 48px !important;
    padding: 0 14px !important;
  }

  .brand-logo {
    width: 112px !important;
    max-height: 30px !important;
  }

  .nav-links {
    gap: 7px !important;
  }

  .theme-switcher .switch-track {
    width: 48px !important;
    height: 26px !important;
  }

  .menu-toggle {
    width: 32px !important;
    height: 32px !important;
  }

  .site-menu {
    top: calc(100% + 8px) !important;
    right: 0 !important;
    left: auto !important;
    width: calc(100vw - 28px) !important;
    border-radius: 0 0 18px 18px !important;
  }

  .site-menu a {
    min-height: 48px !important;
    padding: 0 28px !important;
    font-size: 1.08rem !important;
  }

  body.menu-open::before {
    top: 48px;
  }
}

/* Final Apple-reference polish: one quiet mode icon instead of a chunky dual switch. */
.theme-switcher {
  min-width: 34px !important;
  min-height: 34px !important;
}

.theme-switcher .switch-track {
  display: grid !important;
  grid-template-columns: 1fr !important;
  place-items: center !important;
  width: 34px !important;
  height: 34px !important;
  border: 0 !important;
  background: transparent !important;
  border-radius: 999px !important;
}

.theme-switcher .switch-track i {
  display: none !important;
}

.theme-switcher .switch-icon {
  grid-area: 1 / 1 !important;
  width: 34px !important;
  height: 34px !important;
  color: var(--sage-dark) !important;
  font-size: 1rem !important;
}

.theme-switcher .switch-icon.moon {
  display: none !important;
}

body[data-theme='midnight-forest'] .theme-switcher .switch-icon.sun {
  display: none !important;
}

body[data-theme='midnight-forest'] .theme-switcher .switch-icon.moon {
  display: grid !important;
  color: #D7E4DA !important;
}

.menu-toggle span {
  width: 15px !important;
  height: 1px !important;
}

@media (max-width: 760px) {
  .theme-switcher,
  .theme-switcher .switch-track,
  .theme-switcher .switch-icon {
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
  }
}

/* Header refinement: restore the Farmark brand feel while keeping the menu simple. */
body {
  padding-top: 92px !important;
}

.nav-wrap {
  top: 14px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: min(1240px, calc(100% - 32px)) !important;
  min-height: 62px !important;
  padding: 8px 12px !important;
  border: 1px solid var(--line) !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, rgba(255, 253, 247, .76), rgba(255, 250, 240, .58)) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.35) !important;
  backdrop-filter: blur(24px) saturate(1.35) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.72), 0 16px 40px rgba(39,32,23,.10) !important;
}

body[data-theme='midnight-forest'] .nav-wrap {
  border-color: rgba(236, 232, 218, .14) !important;
  background: linear-gradient(180deg, rgba(34, 37, 31, .76), rgba(18, 20, 16, .60)) !important;
  box-shadow: inset 0 1px rgba(245,241,232,.10), 0 16px 40px rgba(0,0,0,.28) !important;
}

.brand {
  max-width: none !important;
  overflow: visible !important;
  border-radius: 10px !important;
}

.brand-logo {
  width: clamp(158px, 13vw, 184px) !important;
  max-height: 50px !important;
  transform: translateX(0) scale(1.045) !important;
  transform-origin: left center !important;
}

.nav-links {
  gap: 8px !important;
}

.theme-switcher {
  min-width: 72px !important;
  min-height: 38px !important;
}

.theme-switcher .switch-track {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  align-items: center !important;
  width: 72px !important;
  height: 36px !important;
  padding: 0 !important;
  border: 1px solid rgba(52, 79, 69, .18) !important;
  border-radius: 999px !important;
  background: rgba(251, 249, 244, .92) !important;
  box-shadow: inset 0 1px 4px rgba(33, 29, 24, .16), 0 8px 18px rgba(33, 29, 24, .08) !important;
  overflow: hidden !important;
}

.theme-switcher .switch-track i {
  display: block !important;
  position: absolute !important;
  z-index: 1 !important;
  inset: 0 auto 0 0 !important;
  width: 50% !important;
  height: 100% !important;
  border-radius: 999px !important;
  background: #344F45 !important;
  box-shadow: 0 3px 10px rgba(33, 29, 24, .22) !important;
  transform: translateX(0) !important;
}

body[data-theme='midnight-forest'] .theme-switcher .switch-track i {
  transform: translateX(100%) !important;
  background: #B0C9BB !important;
}

.theme-switcher .switch-icon {
  position: relative !important;
  z-index: 2 !important;
  grid-area: auto !important;
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  height: 100% !important;
  font-size: 1rem !important;
  color: #344F45 !important;
}

.theme-switcher .switch-icon.sun {
  display: grid !important;
  color: #FBF9F4 !important;
}

.theme-switcher .switch-icon.moon {
  display: grid !important;
  color: #8DA399 !important;
  font-size: 1.08rem !important;
}

body[data-theme='midnight-forest'] .theme-switcher .switch-track {
  border-color: rgba(176, 201, 187, .18) !important;
  background: rgba(18, 20, 16, .86) !important;
  box-shadow: inset 0 1px 5px rgba(0, 0, 0, .28), 0 8px 18px rgba(0, 0, 0, .20) !important;
}

body[data-theme='midnight-forest'] .theme-switcher .switch-icon.sun {
  display: grid !important;
  color: rgba(176, 201, 187, .50) !important;
}

body[data-theme='midnight-forest'] .theme-switcher .switch-icon.moon {
  display: grid !important;
  color: #121410 !important;
}

.menu-toggle {
  width: 42px !important;
  height: 42px !important;
  padding: 10px !important;
  border: 1px solid rgba(52, 79, 69, .16) !important;
  border-radius: 999px !important;
  color: var(--sage-dark) !important;
  background: linear-gradient(180deg, rgba(255,253,247,.76), rgba(251,249,244,.50)) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.25) !important;
  backdrop-filter: blur(18px) saturate(1.25) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.58), 0 8px 18px rgba(33, 29, 24, .07) !important;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  background: rgba(251, 249, 244, .96) !important;
}

.menu-toggle span {
  width: 17px !important;
  height: 1.75px !important;
}

body[data-theme='midnight-forest'] .menu-toggle {
  border-color: rgba(176, 201, 187, .18) !important;
  color: #D7E4DA !important;
  background: linear-gradient(180deg, rgba(34,37,31,.72), rgba(18,20,16,.48)) !important;
  box-shadow: inset 0 1px rgba(245,241,232,.10), 0 8px 18px rgba(0,0,0,.18) !important;
}

.site-menu {
  top: calc(100% + 12px) !important;
  right: 0 !important;
  width: min(250px, calc(100vw - 28px)) !important;
  padding: 10px !important;
  border: 1px solid var(--line) !important;
  border-radius: 18px !important;
  background: var(--paper-strong) !important;
  box-shadow: 0 28px 70px rgba(39, 32, 23, .24) !important;
}

.site-menu a {
  min-height: 40px !important;
  padding: 8px 12px !important;
  border-radius: 12px !important;
  font-size: .94rem !important;
  font-weight: 800 !important;
}

.site-menu a:first-child {
  color: var(--paper) !important;
  background: var(--sage-dark) !important;
}

.site-menu a:first-child:hover,
.site-menu a:first-child:focus-visible {
  color: var(--paper) !important;
  background: var(--sage) !important;
}

@media (max-width: 760px) {
  body {
    padding-top: 76px !important;
  }

  .nav-wrap {
    top: 9px !important;
    width: min(100% - 18px, 1180px) !important;
    min-height: 54px !important;
    padding: 8px 10px 8px 6px !important;
  }

  .brand {
    max-width: 122px !important;
  }

  .brand-logo {
    width: 130px !important;
    max-height: 38px !important;
    transform: translateX(-5px) scale(1.05) !important;
  }

  .nav-links {
    gap: 8px !important;
  }

  .theme-switcher {
    min-width: 58px !important;
    min-height: 32px !important;
  }

  .theme-switcher .switch-track {
    width: 58px !important;
    height: 30px !important;
  }

  .theme-switcher .switch-icon {
    grid-area: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    min-height: 0 !important;
    font-size: .86rem !important;
  }

  .theme-switcher .switch-icon.moon {
    font-size: .96rem !important;
  }

  .menu-toggle {
    width: 38px !important;
    height: 38px !important;
    padding: 9px !important;
  }

  .site-menu {
    width: calc(100vw - 18px) !important;
    max-width: 290px !important;
    right: 0 !important;
  }
}

/* Small alignment nudge: give the hamburger the same right-edge confidence as the old CTA. */
.menu-wrap {
  transform: translateX(5px);
}

@media (max-width: 760px) {
  .menu-wrap {
    transform: translateX(4px);
  }
}

/* Production landing polish: desktop should feel intentionally wide, not like a stretched mobile page. */
.nav-wrap {
  width: min(1480px, calc(100% - 40px)) !important;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  column-gap: clamp(18px, 3vw, 42px) !important;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.7vw, 28px);
  min-width: 0;
}

.desktop-nav a,
.nav-login,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 999px;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

.desktop-nav a {
  padding: 0 2px;
  opacity: .86;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--sage-dark);
  opacity: 1;
}

.nav-login {
  padding: 0 12px;
  border: 1px solid rgba(52, 79, 69, .14);
  background: rgba(255, 253, 247, .42);
}

.nav-cta {
  padding: 0 16px;
  color: var(--paper);
  border: 1px solid rgba(52, 79, 69, .22);
  background: var(--sage-dark);
  box-shadow: 0 10px 22px rgba(52, 79, 69, .16);
}

.nav-login:hover,
.nav-login:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-1px);
}

body[data-theme='midnight-forest'] .desktop-nav a,
body[data-theme='midnight-forest'] .nav-login {
  color: #EAE6DA;
}

body[data-theme='midnight-forest'] .desktop-nav a:hover,
body[data-theme='midnight-forest'] .desktop-nav a:focus-visible {
  color: #B0C9BB;
}

body[data-theme='midnight-forest'] .nav-login {
  border-color: rgba(176, 201, 187, .18);
  background: rgba(245, 241, 232, .06);
}

body[data-theme='midnight-forest'] .nav-cta {
  color: #121410;
  border-color: rgba(176, 201, 187, .28);
  background: #B0C9BB;
}

@media (min-width: 981px) {
  .menu-wrap {
    display: none !important;
  }
}

.section-shell {
  width: min(1440px, calc(100% - 64px)) !important;
}

.hero.section-shell {
  min-height: min(760px, calc(100vh - 96px));
}

@media (min-width: 1120px) {
  .hero.section-shell {
    display: grid !important;
    grid-template-columns: minmax(430px, .82fr) minmax(640px, 1.18fr) !important;
    gap: clamp(44px, 5vw, 88px) !important;
    align-items: center !important;
  }

  .hero-copy {
    max-width: 600px !important;
  }

  .hero-product,
  .reel-frame {
    width: 100% !important;
  }

  .home-context-grid,
  .compare-grid,
  .widget-grid,
  .privacy-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .privacy-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .split-section,
  .pricing {
    display: grid !important;
    grid-template-columns: minmax(420px, .9fr) minmax(460px, 520px) !important;
    gap: clamp(44px, 6vw, 96px) !important;
    align-items: center !important;
  }

  .feature-stack {
    max-width: none !important;
  }
}

.pricing {
  overflow: hidden;
}

.price-card {
  max-width: 100% !important;
  overflow: hidden !important;
}

.price {
  display: flex !important;
  align-items: flex-end !important;
  flex-wrap: wrap !important;
  gap: 4px 10px !important;
  max-width: 100% !important;
  line-height: .92 !important;
}

.price b {
  min-width: 0 !important;
  font-size: clamp(3rem, 6vw, 4.8rem) !important;
  line-height: .92 !important;
}

.price span {
  margin-bottom: .45rem !important;
  font-size: clamp(1rem, 1.8vw, 1.25rem) !important;
  white-space: nowrap !important;
}

.compare-card b {
  max-width: 100% !important;
  font-size: clamp(2.1rem, 2.65vw, 2.85rem) !important;
  line-height: .95 !important;
  letter-spacing: -.04em !important;
}

.compare-card .compare-price {
  display: flex !important;
  align-items: flex-end !important;
  flex-wrap: wrap !important;
  gap: 2px 5px !important;
}

.compare-card .compare-price span {
  min-width: 0;
  display: inline !important;
  margin: 0 !important;
  color: var(--ink) !important;
  font-size: clamp(3rem, 4vw, 3.75rem) !important;
  font-weight: 900 !important;
  letter-spacing: -.055em !important;
  line-height: .95 !important;
  text-transform: none !important;
}

.compare-card .compare-price small {
  margin-bottom: .36rem;
  color: var(--ink);
  font-size: clamp(.92rem, 1vw, 1.05rem);
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

body[data-theme='midnight-forest'] .compare-card .compare-price small {
  color: #EAE6DA;
}

body[data-theme='midnight-forest'] .compare-card .compare-price span {
  color: #EAE6DA !important;
}

.google-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-bottom: 14px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 253, 247, .72);
  box-shadow: 0 10px 26px rgba(39, 32, 23, .06);
  font-size: .86rem;
  font-weight: 800;
}

.google-kicker svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

body[data-theme='midnight-forest'] .google-kicker {
  border-color: rgba(176, 201, 187, .18);
  color: #EAE6DA;
  background: rgba(245, 241, 232, .06);
}

@media (max-width: 1180px) {
  .desktop-nav {
    gap: 14px;
  }

  .desktop-nav a {
    font-size: .84rem;
  }

  .nav-login,
  .nav-cta {
    padding-inline: 11px;
    font-size: .84rem;
  }
}

@media (min-width: 981px) and (max-width: 1240px) {
  .nav-wrap {
    width: min(100% - 28px, 1160px) !important;
    column-gap: 16px !important;
    padding-right: 10px !important;
  }

  .brand-logo {
    width: 152px !important;
    max-height: 44px !important;
  }

  .desktop-nav {
    justify-content: flex-end;
    gap: 20px;
  }

  .desktop-nav a:nth-child(n+3) {
    display: none;
  }

  .menu-wrap {
    display: block !important;
    transform: none !important;
  }

  .menu-toggle {
    width: 40px !important;
    height: 40px !important;
  }

  .nav-links {
    gap: 10px !important;
  }

  .nav-login {
    padding-inline: 13px;
  }

  .nav-cta {
    padding-inline: 15px;
  }
}

@media (min-width: 981px) and (max-width: 1080px) {
  .desktop-nav a:nth-child(n+2) {
    display: none;
  }

  .nav-login {
    display: none !important;
  }
}

@media (max-width: 980px) {
  .nav-wrap {
    display: flex !important;
  }

  .desktop-nav,
  .nav-login,
  .nav-cta {
    display: none !important;
  }

  .menu-wrap {
    display: block !important;
  }

  .section-shell {
    width: min(100% - 28px, 760px) !important;
  }
}

@media (max-width: 760px) {
  .section-shell {
    width: min(100% - 20px, 620px) !important;
  }

  .price {
    align-items: baseline !important;
  }

  .price b {
    font-size: clamp(2.75rem, 17vw, 3.65rem) !important;
  }

  .price span {
    margin-bottom: .25rem !important;
  }
}

/* Shared website page polish: support, blog, and legal pages use the same
   header controls as the landing page, so dark mode needs to cover every
   content shell those pages expose. */
.related-guides {
  margin-top: 16px;
}

.related-guide-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.related-guide-list a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 14px 46px 14px 18px;
  border: 1px solid rgba(58, 46, 34, .13);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 253, 247, .84), rgba(246, 239, 226, .58));
  color: var(--sage-dark);
  font-weight: 850;
  line-height: 1.22;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(39, 32, 23, .065);
  overflow: hidden;
}

.related-guide-list a::before {
  content: '';
  position: absolute;
  inset: 10px auto 10px 0;
  width: 5px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(180deg, var(--sage-dark), var(--clay));
}

.related-guide-list a::after {
  content: '›';
  position: absolute;
  right: 14px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(95, 115, 85, .12);
  color: var(--sage-dark);
  font-size: 1.22rem;
  line-height: 1;
}

.related-guide-list a:hover,
.related-guide-list a:focus-visible {
  border-color: rgba(52, 79, 69, .28);
  transform: translateY(-1px);
}

body[data-theme='midnight-forest'] .support-search,
body[data-theme='midnight-forest'] .support-quick-links a,
body[data-theme='midnight-forest'] .support-category-card,
body[data-theme='midnight-forest'] .support-contact,
body[data-theme='midnight-forest'] .support-article-card,
body[data-theme='midnight-forest'] .blog-card,
body[data-theme='midnight-forest'] .legal-card,
body[data-theme='midnight-forest'] .related-guide-list a {
  background: linear-gradient(135deg, rgba(26, 28, 24, .88), rgba(33, 42, 35, .76));
  border-color: rgba(244, 241, 233, .14);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .28);
}

body[data-theme='midnight-forest'] .related-guide-list a::before {
  background: linear-gradient(180deg, #B0C9BB, #C48A63);
}

body[data-theme='midnight-forest'] .related-guide-list a::after {
  background: rgba(176, 201, 187, .13);
  color: #B0C9BB;
}

body[data-theme='midnight-forest'] .support-search input {
  color: #F4F1E9;
}

body[data-theme='midnight-forest'] .support-search input::placeholder {
  color: rgba(244, 241, 233, .58);
}

body[data-theme='midnight-forest'] .support-category-head,
body[data-theme='midnight-forest'] .support-link-list a {
  border-color: rgba(244, 241, 233, .11);
}

body[data-theme='midnight-forest'] .support-category-head p,
body[data-theme='midnight-forest'] .support-contact p,
body[data-theme='midnight-forest'] .support-article-card p,
body[data-theme='midnight-forest'] .support-article-card li,
body[data-theme='midnight-forest'] .support-hero p,
body[data-theme='midnight-forest'] .support-empty,
body[data-theme='midnight-forest'] .blog-card p,
body[data-theme='midnight-forest'] .legal-lede,
body[data-theme='midnight-forest'] .legal-updated,
body[data-theme='midnight-forest'] .kiosk-preview-card p,
body[data-theme='midnight-forest'] .kiosk-preview-grid figcaption {
  color: #C8D3CA;
}

body[data-theme='midnight-forest'] .support-search span,
body[data-theme='midnight-forest'] .support-quick-links a,
body[data-theme='midnight-forest'] .support-contact-actions a,
body[data-theme='midnight-forest'] .support-back,
body[data-theme='midnight-forest'] .support-link-list a,
body[data-theme='midnight-forest'] .support-link-list a::after,
body[data-theme='midnight-forest'] .blog-card h2 a,
body[data-theme='midnight-forest'] .article-shell .legal-card h2,
body[data-theme='midnight-forest'] .related-guide-list a,
body[data-theme='midnight-forest'] .site-footer a {
  color: #B0C9BB;
}

body[data-theme='midnight-forest'] .support-category-head span {
  color: #142019;
  background: #B0C9BB;
}

body[data-theme='midnight-forest'] .kiosk-preview-grid img {
  border-color: rgba(244, 241, 233, .16);
  box-shadow: 0 18px 46px rgba(0,0,0,.28);
}

@media (max-width: 760px) {
  .related-guide-list {
    grid-template-columns: 1fr;
  }

  body.support-page .nav-wrap {
    width: min(100% - 20px, 1180px) !important;
    min-height: 64px !important;
    margin-top: 14px !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
    gap: 12px !important;
  }

  body.support-page .brand-logo {
    width: 118px !important;
    transform: none !important;
  }

  body.support-page .nav-links {
    gap: 10px !important;
    transform: translateX(-8px) !important;
  }

  body.support-page .theme-toggle {
    display: inline-flex !important;
  }

  body.support-page .nav-links .nav-cta {
    display: none !important;
  }
}

/* Final dark-mode correction layer.
   This sits after the older accumulated landing/support rules so the theme wins
   consistently on every website page. */

body[data-theme='midnight-forest'] .nav-wrap,
body[data-theme='midnight-forest'] .feature-card,
body[data-theme='midnight-forest'] .compare-card,
body[data-theme='midnight-forest'] .price-card,
body[data-theme='midnight-forest'] .widget-grid article,
body[data-theme='midnight-forest'] .privacy-grid article,
body[data-theme='midnight-forest'] .home-context-grid article,
body[data-theme='midnight-forest'] .support-search,
body[data-theme='midnight-forest'] .support-quick-links a,
body[data-theme='midnight-forest'] .support-category-card,
body[data-theme='midnight-forest'] .support-contact,
body[data-theme='midnight-forest'] .support-article-card,
body[data-theme='midnight-forest'] .blog-card,
body[data-theme='midnight-forest'] .legal-card {
  background: rgba(26, 28, 24, .88) !important;
  border-color: rgba(176, 201, 187, .18) !important;
  color: #F4F1E9 !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .30) !important;
}

body[data-theme='midnight-forest'] .home-context-grid b,
body[data-theme='midnight-forest'] .feature-card h3,
body[data-theme='midnight-forest'] .privacy-grid b,
body[data-theme='midnight-forest'] .widget-grid b,
body[data-theme='midnight-forest'] .compare-card b,
body[data-theme='midnight-forest'] .compare-card span,
body[data-theme='midnight-forest'] .price-card h3,
body[data-theme='midnight-forest'] .blog-card h2 a,
body[data-theme='midnight-forest'] .support-category-head h2,
body[data-theme='midnight-forest'] .support-contact h2,
body[data-theme='midnight-forest'] .support-article-card h2,
body[data-theme='midnight-forest'] .legal-card h2,
body[data-theme='midnight-forest'] .photo-import-copy h2 {
  color: #B0C9BB !important;
}

body[data-theme='midnight-forest'] .home-context-grid span,
body[data-theme='midnight-forest'] .feature-card p,
body[data-theme='midnight-forest'] .photo-import-copy p,
body[data-theme='midnight-forest'] .privacy-grid span,
body[data-theme='midnight-forest'] .widget-grid span,
body[data-theme='midnight-forest'] .compare-card p,
body[data-theme='midnight-forest'] .price-card p,
body[data-theme='midnight-forest'] .price-card li,
body[data-theme='midnight-forest'] .section-heading p,
body[data-theme='midnight-forest'] .blog-card p,
body[data-theme='midnight-forest'] .legal-card p,
body[data-theme='midnight-forest'] .legal-card li,
body[data-theme='midnight-forest'] .support-category-head p,
body[data-theme='midnight-forest'] .support-contact p,
body[data-theme='midnight-forest'] .support-article-card p,
body[data-theme='midnight-forest'] .support-article-card li {
  color: #D6E0D8 !important;
}

body[data-theme='midnight-forest'] .feature-kicker {
  background: rgba(176, 201, 187, .15) !important;
  border-color: rgba(176, 201, 187, .34) !important;
  color: #B0C9BB !important;
}

body[data-theme='midnight-forest'] .feature-card span {
  background: #B0C9BB !important;
  color: #121410 !important;
  box-shadow: 0 0 0 1px rgba(244, 241, 233, .16), 0 12px 24px rgba(0, 0, 0, .22);
}

body[data-theme='midnight-forest'] .photo-import-steps article {
  background: rgba(26, 28, 24, .88) !important;
  border-color: rgba(176, 201, 187, .18) !important;
  box-shadow: 0 20px 54px rgba(0, 0, 0, .28) !important;
}

body[data-theme='midnight-forest'] .photo-import-steps b {
  background: #B0C9BB !important;
  color: #121410 !important;
  box-shadow: 0 0 0 1px rgba(244, 241, 233, .16), 0 12px 24px rgba(0, 0, 0, .22);
}

body[data-theme='midnight-forest'] .support-quick-links a,
body[data-theme='midnight-forest'] .support-link-list a,
body[data-theme='midnight-forest'] .support-back,
body[data-theme='midnight-forest'] .support-contact-actions a,
body[data-theme='midnight-forest'] .supporting-link {
  color: #B0C9BB !important;
}

body[data-theme='midnight-forest'] .photo-import-steps span {
  color: #F4F1E9 !important;
}

body[data-theme='midnight-forest'] .brand {
  background: transparent !important;
  padding: 0 !important;
}

/* 2026-05-21 brand repair: force clean transparent logo assets in the site header. */
.brand,
body[data-theme='midnight-forest'] .brand {
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

.brand-logo,
body[data-theme='midnight-forest'] .brand-logo {
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
}

.brand-logo-light { display: block !important; }
.brand-logo-dark { display: none !important; }
body[data-theme='midnight-forest'] .brand-logo-light { display: none !important; }
body[data-theme='midnight-forest'] .brand-logo-dark { display: block !important; }

/* 2026-05-21 definitive platform/slider pass.
   This must stay at the end because the landing stylesheet has older header overrides. */
.device-icon-list .brand-icon {
  width: 32px !important;
  height: 32px !important;
  max-width: 100%;
  object-fit: contain;
}

.device-icon-list .samsung-icon {
  width: 76px !important;
}

body[data-theme='midnight-forest'] .device-icon-list .apple-icon {
  filter: invert(1);
}

.theme-switcher {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 58px !important;
  width: 58px !important;
  min-height: 30px !important;
  height: 30px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.theme-switcher .switch-label {
  display: none !important;
}

.theme-switcher .switch-track {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  align-items: center !important;
  width: 58px !important;
  min-width: 58px !important;
  height: 30px !important;
  min-height: 30px !important;
  padding: 0 !important;
  border: 1px solid rgba(52, 79, 69, .18) !important;
  border-radius: 999px !important;
  background: rgba(255, 253, 247, .92) !important;
  box-shadow: inset 0 1px 4px rgba(33, 29, 24, .14), 0 8px 18px rgba(33, 29, 24, .07) !important;
  overflow: hidden !important;
}

.theme-switcher .switch-track i {
  display: block !important;
  position: absolute !important;
  z-index: 1 !important;
  inset: 2px auto 2px 2px !important;
  width: 26px !important;
  height: 24px !important;
  border-radius: 999px !important;
  background: #FFF4D8 !important;
  box-shadow: 0 2px 8px rgba(33, 29, 24, .16) !important;
  transform: translateX(0) !important;
  transition: transform .22s ease, background .22s ease !important;
}

body[data-theme='midnight-forest'] .theme-switcher .switch-track {
  border-color: rgba(176, 201, 187, .18) !important;
  background: rgba(18, 20, 16, .88) !important;
  box-shadow: inset 0 1px 5px rgba(0, 0, 0, .30), 0 8px 18px rgba(0, 0, 0, .18) !important;
}

body[data-theme='midnight-forest'] .theme-switcher .switch-track i {
  transform: translateX(26px) !important;
  background: #DDE5FF !important;
}

.theme-switcher .switch-icon {
  position: relative !important;
  z-index: 2 !important;
  grid-area: auto !important;
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  min-height: 0 !important;
  font-size: .86rem !important;
  line-height: 1 !important;
}

.theme-switcher .switch-icon.sun,
body[data-theme='midnight-forest'] .theme-switcher .switch-icon.sun {
  display: grid !important;
  color: #F3B544 !important;
}

.theme-switcher .switch-icon.moon,
body[data-theme='midnight-forest'] .theme-switcher .switch-icon.moon {
  display: grid !important;
  color: #7E94E8 !important;
  font-size: .96rem !important;
}

@media (max-width: 700px) {
  .home-context-grid {
    gap: 14px !important;
  }

  .home-context-grid article {
    border-radius: 20px !important;
  }

  .home-context-grid picture,
  .home-context-grid img {
    width: 100% !important;
  }

  .home-context-grid img {
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: contain !important;
  }
}

/* Landing conversion pass: clearer trial proof, sharper product preview, calmer nav. */
.hero-proof-line {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 18px !important;
  max-width: 620px;
}

.hero-proof-line span {
  color: var(--sage-dark);
  background: rgba(255,253,247,.74) !important;
  box-shadow: 0 8px 20px rgba(39,32,23,.055);
  font-weight: 800;
}

.hero-ui-inset.reel-product-screen {
  display: block !important;
  left: auto !important;
  right: 4.5% !important;
  bottom: 7.5% !important;
  width: min(300px, 34%) !important;
  max-width: 34% !important;
  border-width: 6px !important;
  border-radius: 18px !important;
  transform: rotate(1.5deg) !important;
  box-shadow: 0 28px 70px rgba(0,0,0,.38), 0 0 0 1px rgba(255,253,247,.22) !important;
}

.hero-ui-inset picture,
.hero-ui-inset img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-ui-inset img {
  object-fit: cover !important;
  object-position: center !important;
  filter: saturate(1.06) contrast(1.08) brightness(1.02);
}

.reel-caption {
  max-width: min(290px, 35%) !important;
}

@media (max-width: 980px) {
  .hero-proof-line {
    justify-content: center;
  }

  .hero-ui-inset.reel-product-screen {
    right: 5% !important;
    bottom: 6% !important;
    width: 38% !important;
  }
}

@media (max-width: 700px) {
  .hero-proof-line {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px !important;
    margin-top: 14px !important;
  }

  .hero-proof-line span {
    padding: 9px 10px !important;
    font-size: .78rem;
    text-align: center;
  }

  .hero-ui-inset.reel-product-screen {
    right: 5% !important;
    bottom: 5.5% !important;
    width: 46% !important;
    max-width: 46% !important;
    border-width: 4px !important;
    border-radius: 13px !important;
  }

  .reel-caption {
    left: 5% !important;
    bottom: 7% !important;
    max-width: 42% !important;
    padding: 10px 11px !important;
  }

  .reel-caption b {
    font-size: .92rem !important;
  }
}

/* Privacy card and mobile wrapping polish. */
.privacy-grid article {
  position: relative;
  overflow: hidden;
}

.privacy-grid article::after {
  content: '';
  position: absolute;
  right: -28px;
  top: -28px;
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(95,115,85,.12), transparent 68%);
  pointer-events: none;
}

.privacy-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border: 1px solid rgba(95,115,85,.24);
  border-radius: 16px;
  color: var(--sage-dark);
  background:
    linear-gradient(135deg, rgba(255,253,247,.92), rgba(239,244,233,.74)),
    radial-gradient(circle at 28% 22%, rgba(255,255,255,.92), transparent 42%);
  box-shadow: 0 12px 28px rgba(52,79,69,.11), inset 0 1px 0 rgba(255,255,255,.88);
}

.privacy-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.privacy-icon-hide { color: #5f7355; }
.privacy-icon-noads { color: #6d7f51; }
.privacy-icon-lock { color: #3f7391; }
.privacy-icon-choices { color: #8a6425; }

.site-footer span {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  max-width: 100%;
}

.site-footer span a {
  position: relative;
  white-space: nowrap;
}

.site-footer .footer-links a + a::before {
  content: none;
}

@media (max-width: 700px) {
  .privacy-section {
    padding-bottom: 36px !important;
  }

  .privacy-grid article {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 14px;
    align-items: center;
    padding: 20px !important;
  }

  .privacy-icon {
    grid-row: 1 / span 2;
    width: 44px;
    height: 44px;
    margin-bottom: 0;
    border-radius: 15px;
  }

  .privacy-grid b,
  .privacy-grid span:not(.privacy-icon) {
    min-width: 0;
  }

  .compare {
    padding-top: 40px !important;
  }

  .compare .section-heading h2 {
    font-size: clamp(2rem, 9.2vw, 2.55rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -.045em !important;
    overflow-wrap: normal;
  }

  .site-footer {
    align-items: flex-start;
    gap: 10px !important;
    padding-bottom: calc(76px + env(safe-area-inset-bottom)) !important;
  }

  .site-footer span {
    gap: 2px 10px;
    line-height: 1.5;
  }
}

/* 2026-05-23 mobile nav/footer correction:
   keep the floating header from covering scrolled mobile pricing content,
   and hard-disable any legacy separator dots if an old rule is cached nearby. */
@media (max-width: 700px) {
  body {
    padding-top: 0 !important;
  }

  .nav-wrap {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: calc(100% - 24px) !important;
    margin: 8px auto 0 !important;
  }

  #pricing,
  .pricing {
    scroll-margin-top: 18px;
  }
}

.site-footer .footer-links,
.site-footer .footer-links a {
  column-gap: 10px;
  row-gap: 6px;
}

.site-footer .footer-links a::before,
.site-footer .footer-links a::after {
  content: none !important;
  display: none !important;
}


/* PWA install triptych for the third product card + dark nav contrast. */
.pwa-install-preview {
  min-height: 0;
  background:
    radial-gradient(circle at 8% 12%, rgba(141,163,153,.20), transparent 34%),
    linear-gradient(135deg, rgba(255,253,247,.92), rgba(239,244,233,.72)) !important;
}

.pwa-install-preview .pwa-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: clamp(8px, 1.4vw, 14px);
  min-height: 100%;
  padding: clamp(10px, 1.5vw, 16px) !important;
  aspect-ratio: 16 / 9;
}

.pwa-step {
  display: grid;
  align-content: end;
  justify-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0;
}

.pwa-step-photo img,
.pwa-step .iphone-shell {
  width: min(100%, 112px);
  aspect-ratio: 9 / 16;
  border-radius: 19px;
  box-shadow: 0 12px 26px rgba(33,29,24,.20);
}

.pwa-step-photo img {
  object-fit: cover;
  object-position: center;
  background: #1b1d18;
}

.pwa-step figcaption {
  color: var(--sage-dark);
  font-size: clamp(.58rem, .9vw, .72rem);
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-wrap: balance;
}

.iphone-shell {
  position: relative;
  overflow: hidden;
  border: 4px solid #1d211c;
  background: #f7f0df;
}

.iphone-status {
  position: absolute;
  z-index: 4;
  top: 8px;
  left: 10px;
  right: 10px;
  display: flex !important;
  justify-content: space-between;
  padding: 0 !important;
  color: rgba(255,255,255,.92) !important;
  font-size: .48rem !important;
  font-weight: 900;
  line-height: 1;
}

.iphone-shell-dark {
  background: linear-gradient(160deg, #0f1712, #253629 52%, #101410);
}

.farmark-mini-screen {
  position: absolute;
  inset: 20px 8px 40px;
  padding: 9px !important;
  border-radius: 14px;
  background: rgba(20,24,19,.86);
  color: #eef5ec;
}

.farmark-mini-screen .mini-brand,
.farmark-mini-screen b {
  display: block;
  color: #eef5ec;
  font-size: .55rem;
  margin: 0 0 5px;
}

.farmark-mini-screen b { font-size: .95rem; }
.mini-event { height: 11px; border-radius: 999px; margin-top: 7px; }
.mini-event.one { width: 82%; background: #b0c9bb; }
.mini-event.two { width: 62%; background: #d7a56c; }

.ios-share-sheet {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 6px;
  display: grid !important;
  gap: 5px;
  padding: 7px !important;
  border-radius: 15px;
  background: rgba(245,247,246,.94);
  box-shadow: 0 -10px 26px rgba(0,0,0,.22);
}

.share-grabber {
  justify-self: center;
  width: 24px;
  height: 3px;
  border-radius: 99px;
  background: rgba(34,45,39,.22);
}

.share-row {
  display: flex !important;
  align-items: center;
  gap: 6px;
  padding: 5px 6px !important;
  border-radius: 9px;
  color: #1f2a24 !important;
  font-size: .47rem !important;
  line-height: 1.1 !important;
  background: #fff;
}

.share-row b { color: #1f2a24; font-size: .5rem; margin: 0; }
.share-row small { color: rgba(31,42,36,.62); font-size: .42rem; }
.add-home span {
  display: inline-grid !important;
  place-items: center;
  width: 15px;
  height: 15px;
  border-radius: 5px;
  color: #fff !important;
  background: #344f45;
  font-size: .7rem !important;
}

.home-screen {
  background:
    radial-gradient(circle at 28% 18%, rgba(176,201,187,.8), transparent 24%),
    radial-gradient(circle at 76% 76%, rgba(196,138,99,.55), transparent 30%),
    linear-gradient(160deg, #273529, #101510);
}

.home-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 8px;
  padding: 34px 12px 0 !important;
}

.home-grid > span {
  display: block;
  aspect-ratio: 1;
  border-radius: 12px;
  background: rgba(255,255,255,.20);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
}

.home-grid .farmark-app-icon {
  padding: 4px;
  background: #f3ead5;
}

.farmark-app-icon img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 9px;
  background: transparent;
}

.home-label {
  position: absolute;
  left: 0;
  right: 0;
  top: 64%;
  margin: 0 !important;
  color: #fff !important;
  font-size: .55rem !important;
  text-align: center;
  text-shadow: 0 1px 5px rgba(0,0,0,.35);
}

body[data-theme='midnight-forest'] .desktop-nav a,
body[data-theme='midnight-forest'] .nav-login,
body[data-theme='midnight-forest'] .nav-links {
  color: #F4F1E9 !important;
}

body[data-theme='midnight-forest'] .nav-cta,
body[data-theme='midnight-forest'] .primary-btn,
body[data-theme='midnight-forest'] .price-cta {
  color: #121410 !important;
  background: #D7E6D9 !important;
  border-color: rgba(215,230,217,.70) !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.32) !important;
}

body[data-theme='midnight-forest'] .secondary-btn {
  color: #FFFFFF !important;
  background: rgba(244,241,233,.18) !important;
  border-color: rgba(244,241,233,.58) !important;
  box-shadow: 0 10px 22px rgba(0,0,0,.26), inset 0 1px 0 rgba(244,241,233,.08) !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.30);
}

body[data-theme='midnight-forest'] .theme-switcher,
body[data-theme='midnight-forest'] .menu-toggle,
body[data-theme='midnight-forest'] .support-quick-links a {
  color: #F4F1E9 !important;
}

body[data-theme='midnight-forest'] .privacy-grid .privacy-icon {
  align-self: center;
  color: #183126 !important;
  background:
    linear-gradient(135deg, rgba(244,241,233,.98), rgba(215,230,217,.92)),
    radial-gradient(circle at 28% 22%, rgba(255,255,255,.95), transparent 42%) !important;
  border-color: rgba(215,230,217,.74) !important;
  box-shadow: 0 14px 30px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.9) !important;
}

body[data-theme='midnight-forest'] .privacy-icon svg {
  stroke-width: 2.25;
}

body[data-theme='midnight-forest'] .hero-proof-line span,
body[data-theme='midnight-forest'] .trust-row span {
  color: #FAFCF7 !important;
  background: rgba(176,201,187,.16) !important;
  border-color: rgba(215,230,217,.42) !important;
  box-shadow: 0 10px 22px rgba(0,0,0,.24), inset 0 1px 0 rgba(244,241,233,.08) !important;
}

body[data-theme='midnight-forest'] .hero-proof-line span {
  font-weight: 900;
  text-shadow: 0 1px 2px rgba(0,0,0,.30);
}

body[data-theme='midnight-forest'] .pwa-install-preview {
  background:
    radial-gradient(circle at 10% 12%, rgba(176,201,187,.16), transparent 34%),
    linear-gradient(135deg, rgba(26,28,24,.88), rgba(18,20,16,.94)) !important;
}

body[data-theme='midnight-forest'] .pwa-step figcaption {
  color: #D7E6D9;
}

@media (max-width: 760px) {
  .pwa-install-preview .pwa-steps {
    gap: 7px;
    padding: 10px !important;
  }

  .pwa-step-photo img,
  .pwa-step .iphone-shell {
    width: min(30vw, 98px);
    border-radius: 16px;
  }
}

/* Local preview refinement: make the triptych read as three clear portrait steps. */
.pwa-step-photo img {
  aspect-ratio: 9 / 16 !important;
  height: auto !important;
  border: 4px solid #1d211c;
  object-fit: cover !important;
  object-position: 50% 45% !important;
}

.pwa-step {
  position: relative;
}

.pwa-step::before {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-bottom: 2px;
  border-radius: 999px;
  color: #fff;
  background: #344f45;
  font-size: .68rem;
  font-weight: 900;
  box-shadow: 0 7px 15px rgba(52,79,69,.22);
}

.pwa-step:nth-child(1)::before { content: '1'; }
.pwa-step:nth-child(2)::before { content: '2'; }
.pwa-step:nth-child(3)::before { content: '3'; }

.pwa-step + .pwa-step::after {
  content: '›';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(52,79,69,.55);
  font-size: 1.5rem;
  font-weight: 900;
}

.pwa-step figcaption {
  min-height: 1.8em;
  color: #2d473d;
  font-size: clamp(.68rem, 1vw, .8rem);
  letter-spacing: -.01em;
}

.farmark-app-icon {
  box-shadow: 0 8px 18px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.42) !important;
}

body[data-theme='midnight-forest'] .pwa-step::before {
  color: #121410;
  background: #D7E6D9;
}

body[data-theme='midnight-forest'] .pwa-step + .pwa-step::after {
  color: rgba(215,230,217,.62);
}

/* 2026-05-27 hero-video spacing/footer wrap polish. */
.hero-reel-section.cinematic-hero.section-shell {
  min-height: auto !important;
  padding-top: 42px !important;
  padding-bottom: 38px !important;
}

.hero-reel-section + .home-contexts {
  padding-top: 18px !important;
}

.site-footer > small a {
  display: inline !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  white-space: nowrap;
  line-height: inherit !important;
}

@media (max-width: 680px) {
  .hero-reel-section.cinematic-hero.section-shell {
    padding-top: 22px !important;
    padding-bottom: 8px !important;
  }

  .hero-video.hero-reel {
    min-height: 0 !important;
  }

  .hero-reel-section + .home-contexts {
    padding-top: 20px !important;
  }

  .site-footer > small {
    font-size: .68rem !important;
    line-height: 1.42 !important;
  }
}


/* Support pages: simple help copy pass (20260529) */
.support-center-hero,
.support-article-hero {
  margin-bottom: 18px;
}

.support-center-hero h1,
.support-article-hero h1 {
  max-width: 780px;
}

.support-category-card,
.support-contact,
.support-article-card {
  border-radius: 14px;
  background: color-mix(in srgb, var(--paper) 72%, transparent);
  box-shadow: none;
}

.support-article-card {
  padding: 18px 0;
  border-width: 1px 0 0;
  border-radius: 0;
  background: transparent;
}

.support-article-card:first-child {
  border-top: 0;
}

.support-article-card h2 {
  font-size: 1.08rem;
}

.support-article-card ul,
.support-article-card ol {
  margin-top: 10px;
}

.support-article-card li,
.support-article-card p {
  max-width: 720px;
  color: var(--ink);
  line-height: 1.45;
}

.support-article-card li + li {
  margin-top: 6px;
}

.related-guides {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--paper) 72%, transparent);
}

.support-category-card {
  padding: 20px;
}

.support-category-head {
  padding-bottom: 12px;
}

.support-category-head h2 {
  font-size: 1.12rem;
}

.support-category-head p {
  max-width: 560px;
  line-height: 1.4;
}

.support-link-list a {
  min-height: 40px;
  padding: 9px 0;
}

body[data-theme='midnight-forest'] .support-article-card {
  background: transparent;
  box-shadow: none;
}

body[data-theme='midnight-forest'] .related-guides,
body[data-theme='midnight-forest'] .support-category-card,
body[data-theme='midnight-forest'] .support-contact {
  background: rgba(31, 43, 34, .62);
  box-shadow: none;
}

@media (max-width: 760px) {
  .support-category-card,
  .support-contact {
    padding: 16px;
  }

  .support-article-card {
    padding: 16px 0;
  }

  .related-guides {
    padding: 16px;
  }

  .support-quick-links a:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

/* DIY family hub guide: step-by-step article layout, not card stack. */
.diy-guide-shell {
  max-width: 980px;
}

.article-eyebrow {
  margin: 0 0 10px;
  color: var(--clay);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.guide-hero-figure,
.guide-image-pair figure {
  margin: 0;
}

.guide-hero-figure {
  margin: 30px 0 34px;
}

.guide-hero-figure img,
.guide-image-pair img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(52, 79, 69, .16);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(44, 36, 27, .16);
}

.guide-hero-figure figcaption,
.guide-image-pair figcaption {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: .9rem;
  line-height: 1.5;
}

.guide-intro,
.guide-supplies,
.setup-steps,
.guide-notes {
  margin: 34px 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.guide-intro h2,
.guide-supplies h2,
.setup-steps > h2,
.guide-notes h2 {
  margin: 0 0 14px;
  color: var(--sage-dark);
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.guide-intro p,
.guide-supplies li,
.setup-step p,
.setup-step li,
.guide-notes li {
  color: var(--ink-soft);
  line-height: 1.68;
}

.supply-list,
.guide-notes ul {
  margin: 16px 0 0;
  padding-left: 1.2rem;
}

.supply-list li + li,
.guide-notes li + li,
.setup-step li + li {
  margin-top: 8px;
}

.setup-steps {
  display: grid;
  gap: 28px;
}

.setup-step {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  padding: 0 0 28px;
  border-bottom: 1px solid rgba(52, 79, 69, .18);
}

.setup-step:last-child {
  border-bottom: 0;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(52, 79, 69, .18);
  border-radius: 999px;
  background: rgba(236, 221, 194, .62);
  color: var(--sage-dark);
  font-weight: 900;
  box-shadow: 0 10px 26px rgba(44, 36, 27, .08);
}

.setup-step h3 {
  margin: 2px 0 8px;
  color: var(--sage-dark);
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
}

.setup-step p {
  margin: 0 0 12px;
}

.setup-step ul {
  margin: 10px 0 14px;
  padding-left: 1.2rem;
}

.guide-image-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.diy-family-hub-guide .sources-card,
.samsung-m8-guide .sources-card {
  margin-top: 36px;
}

body[data-theme='midnight-forest'] .article-eyebrow {
  color: #D5B98A;
}

body[data-theme='midnight-forest'] .guide-intro h2,
body[data-theme='midnight-forest'] .guide-supplies h2,
body[data-theme='midnight-forest'] .setup-steps > h2,
body[data-theme='midnight-forest'] .guide-notes h2,
body[data-theme='midnight-forest'] .setup-step h3 {
  color: #B0C9BB;
}

body[data-theme='midnight-forest'] .setup-step {
  border-bottom-color: rgba(176, 201, 187, .2);
}

body[data-theme='midnight-forest'] .step-number {
  border-color: rgba(176, 201, 187, .24);
  background: rgba(47, 78, 62, .42);
  color: #F4F1E9;
}

body[data-theme='midnight-forest'] .guide-hero-figure img,
body[data-theme='midnight-forest'] .guide-image-pair img {
  border-color: rgba(176, 201, 187, .22);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .32);
}

@media (max-width: 760px) {
  .guide-hero-figure {
    margin-top: 22px;
  }

  .setup-step {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
  }

  .step-number {
    width: 36px;
    height: 36px;
  }

  .guide-image-pair {
    grid-template-columns: 1fr;
  }

  .guide-hero-figure img,
  .guide-image-pair img {
    border-radius: 20px;
  }
}


/* Homepage conversion refresh: calendar-first hero, feature video moved below the fold. */
.hero-display-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(39,32,23,.16);
  border-radius: 38px;
  background: rgba(255,253,247,.72);
  box-shadow: 0 34px 92px rgba(33,29,24,.18);
  isolation: isolate;
}

.hero-display-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,253,247,.04), rgba(39,32,23,.08)),
    radial-gradient(circle at 74% 14%, rgba(255,253,247,.24), transparent 26%);
}

.hero-display-frame picture,
.hero-display-frame img {
  display: block;
  width: 100%;
}

.hero-display-frame img {
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-supporting-link {
  display: none !important;
}

.comparison-link-row {
  margin: 14px 0 0;
}

.comparison-link-row a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--sage-dark);
  font-size: .94rem;
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.feature-spotlight {
  padding-top: 72px;
  padding-bottom: 72px;
}

.feature-video .reel-frame {
  min-height: 0;
  max-width: min(540px, 100%);
  margin-left: auto;
  border-radius: 34px;
  box-shadow: 0 28px 72px rgba(33,29,24,.16);
}

.feature-video .hero-video-frame {
  aspect-ratio: 1 / 1;
}

body[data-theme='midnight-forest'] .hero-display-frame,
body[data-theme='midnight-forest'] .feature-video .reel-frame {
  border-color: rgba(244,241,233,.14);
  box-shadow: 0 30px 86px rgba(0,0,0,.34);
}

body[data-theme='midnight-forest'] .comparison-link-row a {
  color: #B0C9BB;
}

@media (min-width: 981px) {
  .hero-reel-section {
    grid-template-columns: minmax(440px, .82fr) minmax(600px, 1.18fr);
  }

  .hero-display-frame {
    transform: rotate(.25deg);
  }
}

@media (max-width: 980px) {
  .feature-video .reel-frame {
    margin-left: 0;
  }
}

@media (max-width: 680px) {
  .hero-reel-section {
    padding-top: 32px !important;
  }

  .hero-display-frame {
    border-radius: 28px;
  }

  .feature-spotlight {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .feature-video .reel-frame {
    border-radius: 28px;
  }
}
