/* Rancocas App Co. — watercolor marketing homepage
   Visual source of truth for rancocas.app. See BUILD-NOTES.md and COPY.md. */

@font-face {
  font-family: "Fraunces";
  src: url("fonts/Fraunces-VariableFont_SOFT,WONK,opsz,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/Fraunces-Italic-VariableFont_SOFT,WONK,opsz,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Italic-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --green: #0E3C22;
  --green-deep: #072616;
  --red: #D40B18;
  --red-deep: #B0000A;
  --teal: #178F86;
  --teal-deep: #0B6F69;
  --cream: #FBF7EE;
  --cream-deep: #F3EDE0;
  --ink: #1E221E;
  --muted: #5C6158;
  --line: #E0D8C8;
  --paper: #FFFCF7;

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --font-body: "Inter", "Helvetica Neue", system-ui, sans-serif;

  --radius: 12px;
  --wrap: 1100px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-optical-sizing: auto;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, picture { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--teal-deep); }
a:hover { color: var(--green); }
.wrap { width: min(var(--wrap), calc(100% - 32px)); margin: 0 auto; }

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

/* ----- header ----- */
/* Header height is used by the home hero and the mobile menu sheet. */
:root { --header-h: 64px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 12px 20px;
  min-height: 56px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  flex: 0 0 auto;
  min-width: 0;
  z-index: 2;
}
.logo img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}
.logo span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green);
  line-height: 1.15;
  white-space: nowrap;
}
.nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px 22px;
  margin-left: auto;
  margin-right: 4px;
}
.nav a {
  color: var(--green);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
  padding: 6px 0 10px;
  position: relative;
}
.nav a:hover { color: var(--teal-deep); }
.nav .amp, .footer-links .amp {
  font-family: Inter, "Source Sans 3", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0;
  padding: 0 0.02em;
}
.nav a[aria-current="page"] {
  color: var(--green);
  box-shadow: none;
}
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  right: auto;
  bottom: -1px;
  width: 16px;
  height: 16px;
  transform: translateX(-50%);
  background: url("/brand/holly-mark.svg") no-repeat center / contain;
  pointer-events: none;
}
.header-cta {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 8px 14px;
  font-size: 0.92rem;
  z-index: 2;
}
.nav-toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--green);
  border-radius: 8px;
}
.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: color-mix(in srgb, var(--green) 8%, transparent);
  outline: none;
}
.nav-toggle-box,
.nav-toggle-box span {
  display: block;
  position: relative;
}
.nav-toggle-box {
  width: 22px;
  height: 14px;
  margin: 0 auto;
}
.nav-toggle-box span,
.nav-toggle-box::before,
.nav-toggle-box::after {
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform .2s ease, opacity .2s ease, top .2s ease;
}
.nav-toggle-box::before,
.nav-toggle-box::after { content: ""; }
.nav-toggle-box span { top: 6px; }
.nav-toggle-box::before { top: 0; }
.nav-toggle-box::after { top: 12px; }
body.nav-open .nav-toggle-box span { opacity: 0; }
body.nav-open .nav-toggle-box::before { top: 6px; transform: rotate(45deg); }
body.nav-open .nav-toggle-box::after { top: 6px; transform: rotate(-45deg); }

@media (max-width: 760px) {
  .site-header .inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas: "logo cta toggle";
    align-items: center;
    column-gap: 8px;
    padding: 8px 0;
  }
  .logo { grid-area: logo; gap: 8px; }
  .logo img { width: 40px; height: 40px; flex: none; }
  .logo span {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    white-space: normal;
    min-width: 0;
    line-height: 1.2;
  }
  .header-cta { grid-area: cta; }
  .btn.header-cta {
    min-height: 40px;
    padding: 6px 10px;
    font-size: 0.8rem;
    white-space: nowrap;
    flex: 0 0 auto;
  }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; grid-area: toggle; }
  .nav {
    position: fixed;
    inset: 0;
    top: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    padding: calc(var(--header-h, 64px) + 8px) 28px 40px;
    width: 100%;
    background: var(--cream);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: none;
    overflow-y: auto;
  }
  body.nav-open .nav {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  .nav a {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.85rem, 7vw, 2.5rem);
    letter-spacing: -0.015em;
    line-height: 1.2;
    color: var(--green);
    padding: 8px 0;
  }
  .nav a[aria-current="page"]::after {
    display: block;
    left: 0;
    right: auto;
    top: 50%;
    bottom: auto;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    background: url("/brand/holly-mark.svg") no-repeat center / contain;
    pointer-events: none;
  }
  .nav a[aria-current="page"] {
    box-shadow: none;
    padding-left: 28px;
  }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 359px) {
  .btn.header-cta { padding: 6px 8px; font-size: 0.75rem; }
  .logo img { width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-toggle-box span,
  .nav-toggle-box::before,
  .nav-toggle-box::after { transition: none; }
}

/* ----- buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 650;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
  background: none;
  appearance: none;
}
.btn-primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn-primary:hover { background: var(--red-deep); border-color: var(--red-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--green); border-color: var(--green); }
.btn-ghost:hover { background: var(--green); color: var(--cream); }
.btn[aria-disabled="true"], .btn.is-placeholder { opacity: 0.9; }

/* ----- kicker ----- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.kicker::before {
  content: "";
  width: 18px;
  height: 14px;
  flex: 0 0 auto;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='14' viewBox='0 0 18 14'%3E%3Ccircle cx='6.2' cy='8' r='5' fill='%23D40B18'/%3E%3Ccircle cx='12.4' cy='5.6' r='4.4' fill='%23D40B18'/%3E%3Ccircle cx='4.8' cy='6.6' r='1.3' fill='%23FBF7EE' opacity='.7'/%3E%3Ccircle cx='11.2' cy='4.4' r='1.1' fill='%23FBF7EE' opacity='.7'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ----- phone bezel (flat, not glossy) ----- */
.phone {
  background: var(--green);
  border-radius: 26px;
  padding: 10px 8px 12px;
  box-shadow: 0 8px 22px rgba(14, 60, 34, 0.16);
}
.phone img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  background: #fff;
  display: block;
}

/* ----- hero ----- */
/* Legacy stacked hero (unused on home; kept so older markup would not collapse). */
.hero {
  background: var(--cream);
  padding: 28px 0 40px;
}
.hero-layout { display: grid; gap: 28px; }
.hero-panel { background: var(--cream); position: relative; z-index: 1; }
.hero h1 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 8vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--green);
}
.hero-line { display: block; }
.hero-line.accent { color: var(--red); }
.hero-sub {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  color: var(--green);
}
.hero p.lede,
.home-intro .lede {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 38em;
  margin: 0 0 18px;
}
.feature-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}
.feature-list li {
  position: relative;
  padding: 4px 0 4px 22px;
  color: var(--ink);
  font-size: 1rem;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Full-bleed home hero: painting fills the first screen, type sits on the art. */
.home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #14371f;
  padding: 0;
  min-height: calc(100svh - var(--header-h, 64px));
  display: flex;
  align-items: flex-end;
}
.home-hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.home-hero-art picture,
.home-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  display: block;
}
.home-hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(7, 38, 22, 0.08) 0%,
      transparent 26%,
      transparent 46%,
      rgba(7, 38, 22, 0.28) 70%,
      rgba(7, 38, 22, 0.42) 82%,
      var(--cream) 100%
    );
  pointer-events: none;
}
.home-hero .scene-lockup {
  z-index: 2;
}
.home-hero-copy {
  position: relative;
  z-index: 2;
  padding: 0 0 44px;
  width: min(var(--wrap), calc(100% - 32px));
  margin: 0 auto;
}
.home-hero h1 {
  margin: 0 0 10px;
  max-width: 11.5em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.05rem, 8.2vw, 3.55rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow:
    0 1px 2px rgba(7, 38, 22, 0.75),
    0 2px 16px rgba(7, 38, 22, 0.5),
    0 0 28px rgba(7, 38, 22, 0.35);
}
.home-hero .hero-sub {
  margin: 0 0 22px;
  color: #fff;
  text-shadow:
    0 1px 2px rgba(7, 38, 22, 0.7),
    0 2px 12px rgba(7, 38, 22, 0.4);
}
.btn-hero-ghost {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-hero-ghost:hover {
  background: #fff;
  color: var(--green);
  border-color: #fff;
}
.home-intro {
  background: var(--cream);
  padding: 8px 0 48px;
}
.home-intro .feature-list { margin-bottom: 0; }

/* Promo video slot. Hidden until data-vsl-ready="true" and hidden is removed. */
.hero-vsl[data-vsl-ready="false"],
.hero-vsl[hidden] { display: none !important; }
.hero-vsl[data-vsl-ready="true"] {
  display: block;
  margin-top: 22px;
}
.vsl-play {
  width: 68px;
  height: 68px;
  border: 0;
  border-radius: 50%;
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  color: var(--green);
  box-shadow: 0 8px 24px rgba(7, 38, 22, 0.28);
  cursor: pointer;
  font-size: 0;
}
.vsl-play::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin: 0 auto;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid var(--green);
  margin-left: 28px;
}

/* Used by: hidden until real client logos and a real quote exist.
   To publish: add the logos and quote, set data-used-by-ready="true", remove hidden. */
.used-by[data-used-by-ready="false"],
.used-by[hidden] { display: none !important; }
.used-by[data-used-by-ready="true"] {
  display: block;
  background: var(--cream);
  padding: 8px 0 56px;
}
.used-by-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  list-style: none;
  margin: 16px 0 28px;
  padding: 0;
  align-items: center;
}
.used-by-logos li {
  width: 120px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.used-by-logos img {
  max-width: 100%;
  max-height: 56px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.85;
}
.used-by-quote {
  margin: 0;
  max-width: 36em;
}
.used-by-quote blockquote {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--green);
  line-height: 1.35;
}
.used-by-quote figcaption { color: var(--muted); font-size: 0.95rem; }

@media (min-width: 900px) {
  .btn.header-cta { min-height: 42px; padding: 8px 16px; font-size: 0.92rem; }
  .home-hero { min-height: min(90svh, 820px); }
  .home-hero-copy { padding-bottom: 64px; }
  .home-hero h1 { font-size: clamp(2.6rem, 4.6vw, 3.7rem); }
}

/* ----- sections + watercolor bands ----- */
section { padding: 8px 0 64px; }
#apps, #how, #pricing, #about, #interest {
  scroll-margin-top: 88px;
}
@media (max-width: 719px) {
  #apps, #how, #pricing, #about, #interest {
    scroll-margin-top: 118px;
  }
}

.has-scene {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--cream);
}
.has-scene > .wrap {
  position: relative;
  z-index: 1;
  padding-top: 36px;
}

.scene-band {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: min(62vw, 360px);
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.scene-band-tall { height: min(70vw, 420px); }
.scene-band picture,
.scene-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}
#apps .scene-band img { object-position: center 26%; }
#how .scene-band img { object-position: center 24%; }
#pricing .scene-band img { object-position: center 28%; }
#about .scene-band img { object-position: center 60%; }
#interest .scene-band img { object-position: center 22%; }

.scene-band::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Tight bottom-edge fade into the cream page, so the painting stays clear. */
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 68%,
    color-mix(in srgb, var(--cream) 35%, transparent) 88%,
    var(--cream) 100%
  );
  pointer-events: none;
}

/* White top-right lockup: company wordmark stacked above the PAGE NAME. No place names, no box. */
.scene-lockup {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  margin: 0;
  padding: 0;
  max-width: min(16.5rem, calc(100% - 28px));
  overflow: visible;
  text-align: right;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
  pointer-events: none;
  text-shadow:
    0 1px 2px rgba(14, 60, 34, 0.7),
    0 0 10px rgba(14, 60, 34, 0.5),
    0 0 22px rgba(7, 38, 22, 0.35);
}
.scene-lockup .scene-brand {
  display: block;
  font-size: 1.02rem; /* ~1.5× the earlier 0.68rem */
}
.scene-lockup .scene-page {
  display: block;
  font-size: 1.45rem; /* ~1.6× the earlier 0.9rem */
  margin-top: 3px;
  overflow: visible;
  white-space: normal;
  hyphens: manual;
}
@media (min-width: 720px) {
  .scene-lockup { top: 22px; right: 28px; max-width: min(22rem, calc(100% - 48px)); }
  .scene-lockup .scene-brand { font-size: 1.2rem; }
  .scene-lockup .scene-page { font-size: 1.95rem; } /* ~2× */
}

/* Content starts on cream just below the painting. Visible page title is the lockup;
   the real H1 is visually hidden for accessibility and SEO. */
.has-scene > .wrap { padding-top: calc(min(62vw, 360px) - 4px); }
#interest.has-scene > .wrap { padding-top: calc(min(70vw, 420px) - 4px); }

.has-scene .section-intro {
  display: block;
  padding: 8px 0 0;
  box-sizing: border-box;
  margin-bottom: 8px;
}
.has-scene .section-intro h1.visually-hidden { /* keep clipped, do not restyle as a visible heading */ }
.has-scene .section-intro .section-lead {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  text-align: left;
}

section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 4vw, 2.25rem);
  margin: 0 0 8px;
  letter-spacing: -0.015em;
  color: var(--green);
}
.section-intro {
  background: transparent;
  padding: 0;
  margin-bottom: 8px;
}
.section-lead {
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 42em;
}

/* holly rule between the intro and the content, very quiet */
#how .section-intro,
#pricing .section-intro,
#about .about-copy,
#interest .section-intro {
  position: relative;
}

/* ----- gallery ----- */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 720px) {
  .gallery { grid-template-columns: 1fr 1fr; }
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
a.card:hover .chip {
  background: var(--teal-deep);
  color: #fff;
  border-color: var(--teal-deep);
}
.card-phone {
  background: var(--cream-deep);
  padding: 22px 18px 0;
  display: flex;
  justify-content: center;
}
.card-phone .phone {
  width: min(190px, 58%);
}
.card-phone .phone img {
  height: 290px;
  object-fit: cover;
  object-position: top;
}
.card-body {
  padding: 16px 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 8px;
  width: max-content;
}
.tag-sample { background: #F8E4E4; color: #8A1218; }
.tag-concept { background: #DCEDEA; color: #0A4F4B; }
.card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--green);
}
.card p { margin: 0 0 12px; color: var(--muted); flex: 1; }
.card .links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.chip {
  font-size: 0.85rem;
  font-weight: 650;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--cream);
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
}
.chip:hover {
  background: var(--teal-deep);
  color: #fff;
  border-color: var(--teal-deep);
}

/* ----- steps ----- */
.steps { display: grid; gap: 14px; }
@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}
.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px 20px;
  border-top: 3px solid var(--teal);
}
.step .n {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--red);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}
.step h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--green);
}
.step p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ----- pricing ----- */
.pricing { display: grid; gap: 16px; }
@media (min-width: 720px) {
  .pricing { grid-template-columns: 1.08fr 1fr; align-items: stretch; }
  .pricing.pricing-setup { grid-template-columns: 1fr; max-width: 520px; }
  .pricing.pricing-tiers { grid-template-columns: 1fr 1fr; }
}
.price-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  background: var(--paper);
  color: var(--ink);
  border: 1.5px solid var(--green);
}
.price-card.featured p,
.price-card.featured li,
.price-card.featured .intro-for { color: var(--ink); }
.price-card h2,
.price-card h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green);
}
.price-card.featured h2,
.price-card.featured h3 { color: var(--green); }
/* Plus (and any other featured care card): pale green, top accent, not a dark fill */
.price-card.featured:not(.setup-card) {
  background: #EEF4EF;
  box-shadow: inset 0 5px 0 var(--green);
}
.amount {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 8px 0 12px;
  font-family: var(--font-display);
}
.amount small {
  display: inline-block;
  margin-left: 0.4em;
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0.85;
  font-family: var(--font-body);
}
.price-card ul { margin: 0 0 18px; padding-left: 1.15em; flex: 1; }
.price-card li { margin: 6px 0; }
.price-card .btn { align-self: flex-start; }
.price-card.featured .btn-primary {
  background: var(--red);
  border-color: var(--red);
}
.price-card:not(.featured) .btn-ghost:hover {
  background: var(--green);
  color: var(--cream);
}
.notes {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 18px 20px;
  border: 1px solid var(--line);
  margin-top: 22px;
}
.notes h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--green);
}
.notes ul { margin: 0; padding-left: 1.15em; }
.notes li { margin: 6px 0; }
.stripe-note {
  display: none;
  margin-top: 12px;
  font-size: 0.92rem;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
}
.stripe-note.show { display: block; }

/* ----- about ----- */
.about-grid {
  display: grid;
  gap: 24px;
  align-items: start;
}
@media (min-width: 720px) {
  .about-grid {
    grid-template-columns: minmax(200px, 280px) 1fr;
    gap: 40px;
    align-items: center;
  }
}
.about-copy {
  background: var(--cream);
  padding: 8px 0;
}
.about-copy p { color: var(--ink); }
.about-photos { display: grid; gap: 12px; }
.about-photo {
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 10px;
}
.about-photo img,
.about-photo picture {
  width: 100%;
  height: auto;
  display: block;
}
.about-photo-placeholder {
  text-align: center;
  padding: 16px;
  color: var(--green);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.35;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--line);
}
.about-photo-placeholder small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 600;
}
.about-photos:has(#family-photo-slot:not([hidden])) #gavin-photo-slot.placeholder-slot {
  display: none;
}
@media (max-width: 719px) {
  .about-photo { max-width: 240px; margin-inline: auto; }
  #about { padding-bottom: 48px; }
}
.signoff {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.15rem;
  margin-top: 12px;
  color: var(--green);
}

/* ----- interest form ----- */
.contact-block:not(.has-scene) { padding-top: 20px; }
#interest {
  padding-bottom: 0;
  scroll-margin-top: calc(var(--header-h, 64px) + 16px);
}
#interest .section-lead { margin-bottom: 8px; }
#interest .mail { font-weight: 650; }
.interest-form, .form-thanks {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 22px 20px 24px;
  margin-top: 22px;
  margin-bottom: 56px;
  max-width: 640px;
  position: relative;
}
.interest-form h3, .form-thanks h3 {
  font-family: var(--font-display);
  margin: 0 0 14px;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--green);
}
.interest-form label {
  display: block;
  font-weight: 650;
  font-size: 0.92rem;
  margin: 12px 0 5px;
}
.interest-form .req { color: var(--red); }
.interest-form input[type="text"],
.interest-form input[type="email"],
.interest-form input[type="tel"],
.interest-form select,
.interest-form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font: inherit;
  background: #fff;
  color: var(--ink);
}
.interest-form textarea { min-height: 110px; resize: vertical; }
.interest-form input:focus,
.interest-form select:focus,
.interest-form textarea:focus {
  outline: 2px solid var(--teal);
  border-color: var(--teal);
}
.hp-field {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
.opt-in {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0 18px;
  font-weight: 600;
}
.opt-in input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: var(--green);
}
.form-status {
  display: none;
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 600;
}
.form-status.error { display: block; background: #F8E4E4; color: var(--red-deep); }
.form-thanks { display: none; }
.form-thanks.is-visible { display: block; }
.interest-form.is-hidden { display: none; }
.form-thanks p { color: var(--muted); }

/* ----- footer ----- */
.site-footer {
  padding: 22px 0 32px;
  font-size: 0.88rem;
  color: var(--cream-deep);
  background: var(--green-deep);
}
.site-footer a { color: #E8D5B0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ----- monthly care tiers ----- */
.price-card .tier-intro { margin: 4px 0 12px; color: var(--muted); }
.price-card .tier { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }
.price-card .tier-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.price-card .tier h4 { margin: 0; font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--green); }
.price-card .tier .amount { font-size: 1.6rem; margin: 0; }
.price-card .tier ul { margin: 8px 0 12px; }
.price-card .tier-note { margin: 0 0 16px; font-size: 0.95rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.pricing-setup { display: grid; gap: 16px; }
@media (min-width: 720px) {
  .pricing-setup { max-width: 520px; }
}
.setup-card .amount { margin: 2px 0 6px; }
.amount-was {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 8px 0 0;
  opacity: 0.85;
  letter-spacing: -0.02em;
}
.amount-was s {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-underline-offset: 0;
}
.amount-was small {
  display: inline-block;
  margin-left: 0.35em;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-body);
  opacity: 0.85;
}
.intro-for {
  margin: 0 0 14px;
  font-weight: 650;
  font-size: 0.98rem;
}
.care-block { margin-top: 32px; }
.care-block > h2 {
  font-family: var(--font-display);
  color: var(--green);
  margin: 0 0 4px;
}
.care-block .tier-intro { margin: 0 0 16px; color: var(--muted); }
.pricing-tiers { display: grid; gap: 16px; }
@media (min-width: 720px) {
  .pricing-tiers { grid-template-columns: 1fr 1fr; align-items: stretch; }
}
.price-card .tier-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.price-card .tier-head h2,
.price-card .tier-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green);
}
.price-card.featured .tier-head h2,
.price-card.featured .tier-head h3 { color: var(--green); }
.price-card .tier-head .amount { font-size: 1.8rem; margin: 0; }
.compare-list {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
}
.compare-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.price-card.featured .compare-list li { border-color: var(--line); }
.compare-list .ck { font-weight: 600; flex: 1 1 auto; }
.compare-list .cv { flex: 0 0 42%; text-align: right; font-weight: 650; }
.compare-list li.no .cv { opacity: 0.55; font-weight: 500; }
.care-block .tier-note {
  margin: 16px 0 8px;
  font-size: 0.95rem;
  color: var(--muted);
}
.care-block .tier-fine {
  margin: 0 0 16px;
  max-width: 42em;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
}
.legal-doc .pricing { margin-top: 8px; }
.legal-doc .compare-list { margin-bottom: 0; }


/* ----- Try it on your phone ----- */
#try-it{scroll-margin-top:88px;background:var(--cream);padding:12px 0 72px}
@media (max-width:719px){#try-it{scroll-margin-top:118px}}
.try-grid{display:grid;grid-template-columns:minmax(220px,280px) minmax(200px,240px);gap:36px 48px;align-items:start;justify-content:center;margin:8px 0 40px}
.qr-card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:22px 22px 24px;text-align:center;box-shadow:0 18px 40px -28px rgba(7,38,22,.4)}
.qr-img{width:100%;max-width:240px;height:auto;margin:0 auto 12px;border-radius:8px;background:#FFFCF7}
.qr-kicker{margin:0;font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;font-weight:700;color:var(--teal-deep)}
.qr-url{display:block;font-weight:700;color:var(--green);text-decoration:none;margin:4px 0 16px}
.qr-url:hover{color:var(--teal-deep)}
.qr-card .btn{width:100%}
.loop-col{display:flex;flex-direction:column;align-items:center}
.loop-phone{position:relative;width:min(230px,80vw);overflow:hidden}
.loop-phone .loop-slide{width:100%;height:auto;border-radius:16px;display:none;background:#fff}
.loop-phone .loop-slide.on{display:block;animation:fadeSlide .45s ease}
@keyframes fadeSlide{from{opacity:.35}to{opacity:1}}
.loop-caption{margin:12px 0 8px;font-weight:650;color:var(--green);text-align:center;min-height:1.4em}
.loop-dots{display:flex;gap:8px;justify-content:center}
.loop-dots button{width:9px;height:9px;padding:0;border-radius:50%;border:0;background:var(--line);cursor:pointer}
.loop-dots button.on{background:var(--red)}
.install-h{font-family:var(--font-display);color:var(--green);font-size:1.35rem;margin:8px 0 14px}
.os-tabs{display:inline-flex;background:var(--cream-deep);border:1px solid var(--line);border-radius:999px;padding:4px;margin-bottom:18px;gap:0}
.os-tabs button{appearance:none;border:0;background:transparent;color:var(--green);font:650 .95rem var(--font-body);padding:8px 18px;border-radius:999px;cursor:pointer}
.os-tabs button.on{background:var(--green);color:#fff}
.install-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px}
.install-steps li{display:flex;gap:12px;align-items:flex-start;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:14px}
.install-steps .step-icon{flex:none;width:48px;height:48px}
.install-steps .step-icon svg{width:48px;height:48px;display:block}
.install-steps strong{display:block;color:var(--green);margin-bottom:4px}
.install-steps p{margin:0;color:var(--muted);font-size:.92rem}

a.hero-phone{text-decoration:none;color:inherit}

/* ----- Live sample stage ----- */
.live-stage{display:grid;grid-template-columns:auto 1fr;gap:36px;align-items:center;margin-top:8px}
.live-phone{width:260px;padding:10px 8px 12px}
.live-clip{width:244px;height:528px;overflow:hidden;border-radius:16px;background:var(--cream-deep);position:relative}
.live-scaler{width:390px;height:844px;transform:scale(calc(244 / 390));transform-origin:top left}
.live-scaler iframe{width:390px;height:844px;border:0;background:var(--cream);display:block}
.live-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.live-tabs button{appearance:none;border:1px solid var(--line);background:var(--paper);color:var(--green);font:650 .95rem var(--font-body);padding:10px 16px;border-radius:999px;cursor:pointer}
.live-tabs button.on{background:var(--green);color:#fff;border-color:var(--green)}
.live-blurb h3{font-family:var(--font-display);color:var(--green);margin:0 0 8px;font-size:1.5rem}
.live-blurb p{margin:0 0 18px;color:var(--muted);max-width:36em}
.live-copy{padding-top:8px}

@media (max-width:800px){
  .try-grid{grid-template-columns:1fr;justify-items:center}
  .live-stage{grid-template-columns:1fr;justify-items:center;text-align:center}
  .live-blurb p{margin-left:auto;margin-right:auto}
  .live-tabs{justify-content:center}
}

/* ----- multi-page nav, teasers, footer, legal, compact home ----- */
/* nav current style lives with the header nav rules */
.teaser-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 8px 0 8px;
}
@media (min-width: 720px) {
  .teaser-row { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}
.teaser {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 20px 22px;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, transform .15s;
}
.teaser:hover { border-color: var(--teal); transform: translateY(-2px); color: inherit; }
.teaser h3 { font-family: var(--font-display); color: var(--green); margin: 0 0 8px; font-size: 1.25rem; }
.teaser p { margin: 0 0 12px; color: var(--muted); flex: 1; }
.teaser .chip { align-self: flex-start; }

.cta-band {
  background: var(--paper);
  color: var(--ink);
  padding: 48px 0;
  text-align: center;
  border-top: 1.5px solid var(--green);
  box-shadow: inset 0 5px 0 var(--green);
}
.cta-band h2 { color: var(--green); margin-bottom: 8px; }
.cta-band p { margin: 0 auto 18px; max-width: 36em; color: var(--muted); }
.cta-band .btn-primary { background: var(--red); }
.cta-band a.mail { color: var(--teal-deep); }

.try-it-compact { padding: 8px 0 40px; }
.try-it-compact .try-grid { margin-bottom: 16px; }
.try-it-compact .section-lead { margin-bottom: 16px; }
.install-brief {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 36em;
  margin: 0 auto;
}
.install-brief strong { color: var(--green); }

.page-section { padding-bottom: 72px; }
.legal-banner {
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}
.legal-banner .sub {
  display: block;
  font-weight: 500;
  font-size: 0.84rem;
  margin-top: 2px;
  opacity: .92;
}
.legal-doc {
  max-width: 42em;
  margin: 0 auto;
  padding: 36px 0 72px;
}
.legal-hero + .legal-doc { padding-top: 24px; }
.legal-doc h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }

/* Shared banner on footer legal/info pages. Page name lives in the lockup. */
.legal-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--cream);
  padding: 0;
  min-height: 0;
}
.legal-hero { min-height: min(48vw, 260px); }
.legal-hero .scene-band { position: relative; height: min(48vw, 260px); }
.legal-hero .scene-band img { object-position: center 32%; }
.legal-hero > .wrap { display: none; }

/* Draft referral offer on pricing */

.inquire-msg {
  margin: 18px 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--green);
}
.setup-card .inquire-msg,
.care-block .inquire-msg { margin-top: 16px; }
.church-offer {
  background: var(--paper);
  border: 1.5px solid var(--green);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  margin: 28px 0 0;
  box-shadow: inset 0 5px 0 var(--teal, var(--green));
}
.church-offer h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--green);
}
.church-offer p { margin: 0; color: var(--ink); max-width: 40em; }

.referral-card {
  background: var(--paper);
  border: 1.5px solid var(--green);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  margin: 28px 0 0;
  box-shadow: inset 0 5px 0 var(--green);
}
.referral-card .draft-chip {
  display: inline-block;
  margin: 0 0 8px;
  padding: 2px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green);
  background: #EEF4EF;
  border: 1px solid var(--green);
  border-radius: 999px;
}
.referral-card h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--green);
}
.referral-card p { margin: 0 0 8px; color: var(--ink); max-width: 40em; }
.referral-card p:last-child { margin-bottom: 0; }
.referral-card .referral-note { color: var(--muted); font-size: 0.95rem; }
.referral-line {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 40em;
}
.interest-form .optional {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.9em;
}
.legal-doc h2 { font-size: 1.25rem; margin: 1.4em 0 .4em; }
.legal-doc p, .legal-doc li { color: var(--ink); }
.legal-doc .muted, .legal-doc .effective { color: var(--muted); }
.legal-doc ul { padding-left: 1.2em; }
.legal-doc li { margin: 0.35em 0; }
.legal-doc .doc-kicker { color: var(--red-deep); font-weight: 700; }

.site-footer .foot-in { display: flex; flex-direction: column; gap: 10px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer-links a { color: #E8D5B0; text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: #fff; }
.footer-links a[aria-current="page"] { color: #fff; text-decoration: underline; }
.site-footer .fine { margin: 0; }

/* ----- contact, FAQ, support, refunds ----- */
.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 0 0 36px;
}
@media (min-width: 720px) {
  .contact-cards { grid-template-columns: 1fr 1fr; }
}
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.contact-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  color: var(--green);
  font-size: 1.2rem;
}
.contact-card p { margin: 0 0 6px; }
.contact-card a { font-weight: 650; }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.hours li:last-child { border: 0; }

.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin: 0 0 10px;
}
.faq summary {
  font-weight: 700;
  color: var(--green);
  cursor: pointer;
}
.faq details p, .faq details ul { margin: 10px 0 0; }

.todo, .placeholder-note {
  margin: 10px 0 0;
  padding: 12px 14px;
  border-radius: 0 8px 8px 0;
  color: var(--ink);
}
.todo { background: #F8E4E4; border-left: 4px solid var(--red); }
.placeholder-note { background: var(--cream-deep); border-left: 4px solid var(--teal); }

/* ----- install banner (mirrors the fish-market demo pattern) ----- */
.install-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px));
  background: var(--cream, #FBF7EE);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 28px -18px rgba(7, 38, 22, .4);
  animation: riseBanner .4s ease;
}
@keyframes riseBanner { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
.install-banner-in {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  padding-right: 28px;
}
.install-banner-in img { border-radius: 10px; flex: none; }
.install-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.install-copy strong { font-family: var(--font-display); color: var(--green); font-size: 1.05rem; }
.install-copy span { font-size: .86rem; color: var(--muted); }
.install-banner .btn {
  flex: none;
  min-height: 40px;
  padding: 8px 14px;
  font-size: 0.92rem;
}
.install-x {
  background: none;
  border: 0;
  color: var(--muted);
  font: 600 1.4rem/1 var(--font-body);
  cursor: pointer;
  padding: 4px 8px;
  position: absolute;
  top: 0;
  right: 0;
}
.install-sheet .install-x { position: absolute; top: 14px; right: 12px; }
.install-sheet-bg { position: fixed; inset: 0; background: rgba(7, 38, 22, .45); z-index: 60; }
.install-sheet {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 70;
  width: min(520px, 100%);
  background: var(--paper);
  border-radius: 20px 20px 0 0;
  padding: 22px 22px calc(22px + env(safe-area-inset-bottom, 0px));
  border: 1px solid var(--line);
  box-shadow: 0 -16px 40px -18px rgba(7, 38, 22, .4);
}
.install-sheet h2 { font-size: 1.5rem; margin: 0 32px 8px 0; }
.install-sheet h3 { font-size: 1.1rem; margin-top: 1em; }
.how-ol { margin: 8px 0 0; padding-left: 1.2em; }
.how-ol li { margin: 6px 0; }
body.has-install-banner { padding-bottom: 200px; }
@media (min-width: 720px) {
  body.has-install-banner { padding-bottom: 140px; }
}
@media (prefers-reduced-motion: reduce) { .install-banner { animation: none; } }

.offline-main { padding: 72px 0; text-align: center; }
.offline-main h1 { margin-bottom: 8px; }

/* Shorter home on phones: aim for about 2–3 screens */
@media (max-width: 719px) {
  .home .hero { padding: 12px 0 16px; }
  .home .hero-sub { margin-bottom: 8px; }
  .home .hero p.lede { margin-bottom: 10px; font-size: 1rem; }
  .home .feature-list { margin-bottom: 12px; }
  .home .feature-list li { padding: 2px 0 2px 22px; }
  .home .hero-art .scene { min-height: 0; max-height: 200px; }
  .home .hero-art .scene img { max-height: 200px; }
  .home .hero-phone { width: min(36%, 120px); margin: 0 3% 3% 0; }
  .home .phone-caption { margin-top: 8px; font-size: 0.82rem; }
  .home .page-section { padding: 16px 0 20px; }
  .home section { padding-bottom: 28px; }
  .home .try-it-compact { padding: 4px 0 20px; }
  .home .try-it-compact .try-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    justify-items: stretch;
    margin-bottom: 10px;
  }
  .home .try-it-compact .qr-card { padding: 12px 10px 14px; }
  .home .try-it-compact .qr-img { max-width: 140px; }
  .home .try-it-compact .qr-card .btn { min-height: 36px; padding: 6px 10px; font-size: 0.8rem; }
  .home .try-it-compact .loop-phone { width: 100%; max-width: 170px; }
  .home .teaser { padding: 14px 16px 16px; }
  .home .teaser h3 { margin-bottom: 4px; }
  .home .teaser p { margin-bottom: 8px; }
  .home .cta-band { padding: 28px 0; }
  .home .section-intro { margin-bottom: 12px; }
  .home .section-lead { margin-bottom: 0; }
}


/* ----- browser install guidance + Firefox tip ----- */
.install-banner-in { align-items: flex-start; }
.install-banner .btn { margin-top: 2px; }
.install-browsers {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.35;
}
.install-brief .install-browsers {
  margin: 0 0 8px;
  font-size: 0.95rem;
}
.install-banner.is-browser-tip .install-copy {
  padding-right: 4px;
}
.install-banner.is-browser-tip .install-banner-in { align-items: center; }
.install-tip-text {
  font-size: 0.92rem !important;
  color: var(--green) !important;
  line-height: 1.4;
}
.install-guidance {
  max-width: 36em;
  margin: 16px auto 0;
}
.install-guidance-tip {
  position: relative;
  margin: 0;
  padding: 12px 40px 12px 14px;
  background: var(--cream, #FBF7EE);
  border: 1px solid var(--line, #d7cfc0);
  border-radius: 12px;
  color: var(--green);
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.45;
}
.install-guidance-tip .install-x {
  position: absolute;
  top: 6px;
  right: 4px;
}
body.has-install-banner.has-install-tip { padding-bottom: 140px; }
@media (min-width: 720px) {
  body.has-install-banner.has-install-tip { padding-bottom: 110px; }
}
