/* Standwell Web — custom websites for market vendors */

:root {
  --ink: #1c2421;
  --forest: #2c4a3e;
  --forest-deep: #1e332b;
  --sage: #5c7a6a;
  --cream: #f6f3ee;
  --paper: #fbfaf7;
  --white: #fffdf9;
  --copper: #a65d32;
  --copper-hover: #8c4c28;
  --stone: #6a6560;
  --line: #e3ddd4;
  --line-strong: #d0c9be;
  --shadow: 0 16px 40px rgba(28, 36, 33, 0.08);
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 4.25rem;
  --max: 70rem;
  --narrow: 42rem;
  --font-serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --font-sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--forest);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--forest-deep);
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  background: var(--forest);
  color: var(--white);
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

/* ----- Header ----- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(28, 36, 33, 0.04);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--forest);
  flex-shrink: 0;
}

.brand:hover { color: var(--forest-deep); }

.brand svg {
  width: 1.85rem;
  height: 1.85rem;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand-web {
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--sage);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.1rem;
}

.nav-desktop a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.15rem 0;
  border-bottom: 2px solid transparent;
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: var(--forest);
}

.nav-desktop a[aria-current="page"] {
  border-bottom-color: var(--forest);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-account {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.35rem 0.55rem;
  white-space: nowrap;
}

.header-account:hover { color: var(--forest); }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line-strong);
  background: var(--white);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  flex-shrink: 0;
}

.menu-toggle:hover { background: var(--cream); }

.menu-toggle svg { width: 1.35rem; height: 1.35rem; }

.nav-mobile {
  display: none;
  border-top: 1px solid var(--line);
  padding: 0.75rem 1.25rem 1.25rem;
  background: var(--paper);
}

.nav-mobile.is-open { display: flex; flex-direction: column; gap: 0.15rem; }

.nav-mobile a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  padding: 0.7rem 0.35rem;
  border-bottom: 1px solid var(--line);
}

.nav-mobile a:last-child { border-bottom: 0; }

.nav-mobile a[aria-current="page"] { color: var(--forest); }

@media (min-width: 860px) {
  .menu-toggle { display: none; }
  .nav-desktop { display: flex; }
  .header-inner { padding: 0 1.75rem; }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.2;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--copper);
  color: #fff;
}

.btn-primary:hover {
  background: var(--copper-hover);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}

.btn-secondary:hover {
  background: var(--forest);
  color: var(--cream);
}

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

.btn-ghost:hover {
  background: var(--cream);
  color: var(--ink);
}

.btn-light {
  background: var(--cream);
  color: var(--forest-deep);
}

.btn-light:hover {
  background: var(--white);
  color: var(--forest-deep);
}

.btn-lg {
  padding: 0.85rem 1.45rem;
  font-size: 1rem;
}

.btn-on-dark {
  background: transparent;
  color: var(--cream);
  border-color: #d9d0c4;
}

.btn-on-dark:hover {
  background: var(--cream);
  color: var(--forest-deep);
  border-color: var(--cream);
}

@media (max-width: 859px) {
  .header-actions .btn { display: none; }
}

/* ----- Layout ----- */

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 860px) {
  .wrap { padding: 0 1.75rem; }
}

.section {
  padding: 4rem 0;
}

.section-tight { padding: 3rem 0; }

.section-cream { background: var(--cream); }

.section-forest {
  background: var(--forest-deep);
  color: var(--cream);
}

.section-forest a { color: #f0dcc8; }
.section-forest h2,
.section-forest h3 { color: var(--white); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 0.75rem;
}

.section-forest .eyebrow { color: #c4b39a; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 560;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: var(--ink);
  margin: 0 0 0.85rem;
}

h1 {
  font-size: clamp(1.85rem, 1.15rem + 2.4vw, 3.15rem);
  font-weight: 600;
  overflow-wrap: break-word;
  max-width: 100%;
}

h2, h3, .lede, p {
  overflow-wrap: break-word;
  max-width: 100%;
}

@media (max-width: 640px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn { width: 100%; }
  .cta-band .hero-actions { align-items: center; }
  .cta-band .hero-actions .btn { width: auto; min-width: 14rem; }
}
h2 { font-size: clamp(1.7rem, 3.4vw, 2.35rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; font-family: var(--font-sans); letter-spacing: 0; font-weight: 650; }

.lede {
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  line-height: 1.55;
  color: var(--stone);
  max-width: 38rem;
  margin: 0 0 1.6rem;
}

.prose {
  max-width: var(--narrow);
}

.prose p { margin: 0 0 1rem; color: var(--stone); }
.prose p.ink { color: var(--ink); }

.muted { color: var(--stone); }
.small { font-size: 0.92rem; }

hr.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

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

.hero {
  padding: 2.5rem 0 0;
}

.hero-copy { max-width: 40rem; padding-bottom: 0.5rem; }

.hero-grid {
  display: grid;
  gap: 2.25rem;
  align-items: center;
  padding-bottom: 2.5rem;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: 3rem;
    padding: 1.25rem 0 3rem;
  }
  .hero-copy { padding-bottom: 0; }
}

.deliver-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.1rem;
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--forest);
}

.deliver-list li {
  position: relative;
  padding-left: 0.95rem;
}

.deliver-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 1px;
  background: var(--copper);
  transform: rotate(45deg);
}

.product-shot {
  position: relative;
}

.browser {
  background: var(--forest-deep);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.8rem;
  background: #162822;
}

.browser-dots {
  display: flex;
  gap: 0.28rem;
  flex-shrink: 0;
}

.browser-dots i {
  display: block;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: #5c7a6a;
}

.browser-url {
  flex: 1;
  min-width: 0;
  background: #243830;
  color: #d9d0c4;
  font-size: 0.72rem;
  letter-spacing: 0.01em;
  padding: 0.28rem 0.65rem;
  border-radius: 6px;
}

.browser-body {
  background: var(--cream);
  padding: 1.05rem 1.1rem 1.2rem;
}

.ex-nav {
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.85rem;
}

.ex-kicker {
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 0.35rem;
}

.ex-title {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.9rem;
  color: var(--ink);
}

.ex-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 0.45rem;
}

.ex-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 4.4rem;
}

.ex-card.wide {
  background:
    linear-gradient(180deg, rgba(44, 74, 62, 0.08), rgba(44, 74, 62, 0.02)),
    var(--white);
}

.product-shot .phone-float {
  position: absolute;
  right: -0.35rem;
  bottom: -1.8rem;
  width: 11.2rem;
  box-shadow: 0 18px 40px rgba(28, 36, 33, 0.18);
}

@media (max-width: 959px) {
  .product-shot .phone-float {
    position: relative;
    right: auto;
    bottom: auto;
    width: 17.5rem;
    margin: 1.15rem auto 0;
  }
}

.product-caption {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  color: var(--stone);
  max-width: 22rem;
}

@media (min-width: 960px) {
  .product-caption {
    margin-top: 2.4rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy {
    animation: rise-in 0.7s ease both;
  }

  .deliver-list li:nth-child(1) { animation: rise-in 0.55s 0.15s ease both; }
  .deliver-list li:nth-child(2) { animation: rise-in 0.55s 0.28s ease both; }
  .deliver-list li:nth-child(3) { animation: rise-in 0.55s 0.4s ease both; }

  .browser {
    animation: browser-cycle 10s ease-in-out infinite;
  }

  .url-type {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    vertical-align: bottom;
    max-width: 14ch;
    border-right: 1px solid transparent;
    animation: url-cycle 10s linear infinite;
  }

  .ex-row .ex-card:nth-child(1) { animation: card-cycle 10s ease infinite; }
  .ex-row .ex-card:nth-child(2) { animation: card-cycle 10s 0.12s ease infinite; }
  .ex-row .ex-card:nth-child(3) { animation: card-cycle 10s 0.24s ease infinite; }

  .product-shot .phone-float {
    animation: phone-cycle 10s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  }

  .phone-float .phone-btn {
    animation: btn-cycle 10s ease infinite;
  }

  .phone-scroll {
    animation: screen-scroll 10s ease-in-out infinite;
  }

  .phone-more svg {
    animation: chevron-nudge 10s ease-in-out infinite;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(0.7rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes browser-cycle {
  0% { opacity: 0; transform: translateY(0.65rem); }
  8% { opacity: 1; transform: translateY(0); }
  78% { opacity: 1; transform: translateY(0); }
  92%, 100% { opacity: 0; transform: translateY(0.4rem); }
}

@keyframes url-cycle {
  0%, 6% { max-width: 0; border-right-color: #c4b39a; }
  20% { max-width: 14ch; border-right-color: #c4b39a; }
  24% { max-width: 14ch; border-right-color: transparent; }
  78% { max-width: 14ch; border-right-color: transparent; }
  90%, 100% { max-width: 0; border-right-color: transparent; }
}

@keyframes card-cycle {
  0%, 10% { opacity: 0.35; transform: translateY(0.3rem); }
  20% { opacity: 1; transform: translateY(0); }
  78% { opacity: 1; transform: translateY(0); }
  92%, 100% { opacity: 0.35; transform: translateY(0.25rem); }
}

@keyframes phone-cycle {
  0%, 5% { opacity: 0; transform: translate(0.75rem, 0.9rem); }
  18% { opacity: 1; transform: translate(0, 0); }
  78% { opacity: 1; transform: translate(0, 0); }
  92%, 100% { opacity: 0; transform: translate(0.45rem, 0.55rem); }
}

@keyframes btn-cycle {
  0%, 20% { filter: none; }
  26% { filter: brightness(1.12); }
  34%, 100% { filter: none; }
}

@keyframes screen-scroll {
  0%, 22% { transform: translateY(0); }
  38%, 72% { transform: translateY(-7.1rem); }
  88%, 100% { transform: translateY(0); }
}

@keyframes chevron-nudge {
  0%, 8% { transform: translateY(0); }
  12% { transform: translateY(3px); }
  16% { transform: translateY(0); }
  20% { transform: translateY(3px); }
  24%, 100% { transform: translateY(0); }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.try-lead {
  flex: 1 0 100%;
  margin: 0 0 0.15rem;
  max-width: 36rem;
  color: var(--stone);
  font-size: 1.02rem;
  line-height: 1.45;
}
.try-list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.7rem;
  max-width: 28rem;
  margin-top: 1.5rem;
}
.try-list .btn { width: 100%; justify-content: flex-start; }
.try-error { color: #9b2c2c; font-weight: 600; }

.hero-photo {
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-photo img {
  width: 100%;
  height: clamp(16rem, 48vw, 32rem);
  object-fit: cover;
  object-position: center 40%;
}

.hero-caption {
  font-size: 0.85rem;
  color: var(--stone);
  margin: 0.7rem 0 0;
}

/* ----- Grids ----- */

.grid-3,
.grid-2,
.grid-packages {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .grid-packages { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.45rem;
}

.card h3 { margin-bottom: 0.45rem; }

.card p { margin: 0; color: var(--stone); }

.card-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 8px;
  background: var(--cream);
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.card-icon svg { width: 1.25rem; height: 1.25rem; }

.split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
  }
  .split.top { align-items: start; }
}

.split img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  height: min(28rem, 70vw);
  box-shadow: var(--shadow);
}

/* ----- Compare ----- */

.compare {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .compare { grid-template-columns: 1fr 1fr; }
}

.compare article {
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--line);
}

.compare .old {
  background: var(--cream);
}

.compare .own {
  background: var(--forest-deep);
  color: var(--cream);
  border-color: var(--forest-deep);
}

.compare .own h3 { color: var(--white); }

.compare ul {
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.compare li {
  padding: 0.45rem 0 0.45rem 1.4rem;
  position: relative;
  border-top: 1px solid rgba(28, 36, 33, 0.08);
  color: var(--stone);
}

.compare .own li {
  border-top-color: rgba(246, 243, 238, 0.12);
  color: #d9d0c4;
}

.compare li:first-of-type { border-top: 0; }

.compare li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--line-strong);
}

.compare .own li::before { background: #c9953a; }

/* ----- Packages ----- */

.pkg {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.45rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pkg.featured {
  border-color: var(--forest);
  box-shadow: var(--shadow);
}

.pkg-badge {
  position: absolute;
  top: -0.7rem;
  left: 1.3rem;
  background: var(--forest);
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
}

.pkg h3 { font-size: 1.7rem; margin-bottom: 0.2rem; }

.pkg .price {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: var(--ink);
  margin: 0.6rem 0 0.15rem;
  letter-spacing: -0.02em;
}

.pkg .price .or {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sage);
  padding: 0 0.35rem;
}

.pkg-wide {
  margin-bottom: 2.25rem;
  padding-top: 1.85rem;
}

@media (min-width: 800px) {
  .pkg-wide {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    gap: 1.75rem 2.25rem;
    align-items: start;
  }

  .pkg-wide .btn {
    width: auto;
    max-width: 16rem;
  }
}

.build-intro {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.build-block {
  margin-bottom: 2.25rem;
}

.build-block:last-child { margin-bottom: 0; }

.build-block h3 {
  font-size: 1.55rem;
  margin-bottom: 0.35rem;
}

.build-grid {
  display: grid;
  gap: 1rem;
  margin-top: 0.9rem;
}

@media (min-width: 720px) {
  .build-grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
}

.build {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem 1.25rem;
}

.build.plus {
  border-color: var(--forest);
}

.build .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 0.35rem;
}

.build.plus .tag { color: var(--forest); }

.build .amt {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
}

.build .delta {
  font-size: 0.88rem;
  color: var(--stone);
  margin: 0 0 0.85rem;
}

.build ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.build li {
  padding: 0.45rem 0 0.45rem 1.25rem;
  position: relative;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.build li:first-child { border-top: 0; }

.build li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 1px;
  background: var(--sage);
  transform: rotate(45deg);
}

.pkg .then {
  font-size: 0.95rem;
  color: var(--stone);
  margin: 0 0 1rem;
}

.pkg ul {
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
  flex: 1;
}

.pkg li {
  padding: 0.5rem 0 0.5rem 1.35rem;
  position: relative;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.98rem;
}

.pkg li:first-child { border-top: 0; }

.pkg li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 1px;
  background: var(--sage);
  transform: rotate(45deg);
}

.pkg .btn { width: 100%; }

/* ----- Table ----- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

table.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 48rem;
  font-size: 0.95rem;
}

.compare-table th,
.compare-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.compare-table thead th {
  background: var(--cream);
  font-weight: 650;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

.compare-table tbody th {
  font-weight: 600;
  color: var(--ink);
  width: 32%;
}

.compare-table td { color: var(--stone); }

.compare-table td .muted {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.85rem;
}

.compare-table tr:last-child th,
.compare-table tr:last-child td { border-bottom: 0; }

.yes { color: var(--forest); font-weight: 600; }
.dash { color: #b3ada4; }

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

.steps {
  display: grid;
  gap: 0;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
  counter-increment: step;
}

.step:first-child { border-top: 0; }

.step-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--sage);
  line-height: 1.2;
}

.step h3 { margin-bottom: 0.35rem; }
.step p { margin: 0; color: var(--stone); }

@media (min-width: 800px) {
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 0 2.5rem;
  }
  .step { border-top: 1px solid var(--line); }
  .step:last-child {
    grid-column: 1 / -1;
    max-width: 34rem;
  }
}

/* ----- Phone mockup ----- */

.app-stage {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .app-stage { grid-template-columns: 1fr 20rem; }
}

.phone {
  width: 17.5rem;
  margin: 0 auto;
  background: #1a1f1d;
  border-radius: 2rem;
  padding: 0.7rem;
  box-shadow: var(--shadow);
}

.phone-screen {
  background: var(--cream);
  border-radius: 1.45rem;
  overflow: hidden;
  min-height: 30rem;
  color: var(--ink);
  display: flex;
  flex-direction: column;
}

.phone-bar {
  height: 1.6rem;
  background: var(--forest-deep);
  flex-shrink: 0;
}

.phone-viewport {
  overflow: hidden;
  flex: 1;
  min-height: 0;
}

.phone-app {
  padding: 1rem 0.95rem 1.2rem;
}

.product-shot .phone-float .phone-screen {
  min-height: 0;
  height: 16.5rem;
}

.phone-app h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin: 0 0 0.15rem;
}

.phone-meta {
  font-size: 0.78rem;
  color: var(--stone);
  margin: 0 0 0.9rem;
}

.phone-row {
  background: var(--white);
  border-radius: 8px;
  padding: 0.65rem 0.7rem;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  border: 1px solid var(--line);
}

.phone-row strong { font-weight: 650; }

.phone-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  margin: 0.1rem 0 0.75rem;
  padding: 0.5rem 0.65rem;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--forest);
}

.phone-more svg {
  width: 0.9rem;
  height: 0.9rem;
}

.phone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.35rem;
  margin: 0.65rem 0 0.85rem;
}

.phone-thumb {
  aspect-ratio: 1;
  border-radius: 6px;
  background: #cfc6b6;
}

.phone-thumb:nth-child(2) { background: #b7c4a8; }
.phone-thumb:nth-child(3) { background: #d9b48a; }

.phone-item {
  display: grid;
  grid-template-columns: 2.35rem 1fr auto;
  gap: 0.5rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.42rem 0.5rem;
  margin-bottom: 0.42rem;
}

.phone-item .phone-thumb {
  width: 2.35rem;
  aspect-ratio: 1;
  margin: 0;
}

.phone-item strong {
  display: block;
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.2;
}

.phone-item span {
  display: block;
  font-size: 0.66rem;
  color: var(--stone);
  line-height: 1.25;
}

.phone-item b {
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--forest);
  white-space: nowrap;
}

.phone-btn {
  display: block;
  text-align: center;
  background: var(--forest);
  color: var(--cream);
  border-radius: 8px;
  padding: 0.55rem;
  font-size: 0.82rem;
  font-weight: 650;
}

.feature-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.feature-list li {
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 0.55rem;
  align-items: start;
}

.feature-list li:first-child { border-top: 0; }

.feature-list svg {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--forest);
  margin-top: 0.2rem;
}

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

.faq details {
  border-top: 1px solid var(--line);
  padding: 0.9rem 0;
}

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

.faq summary {
  cursor: pointer;
  font-weight: 650;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--sage);
  line-height: 1;
}

.faq details[open] summary::after { content: "–"; }

.faq details p {
  margin: 0.7rem 0 0.2rem;
  color: var(--stone);
  max-width: 40rem;
}

/* ----- Form ----- */

.cancel-action {
  text-align: center;
}
.cancel-action .form-card,
.cancel-action .form-success {
  display: inline-block;
  width: 100%;
  max-width: 22rem;
  text-align: center;
}
.cancel-action .form-error {
  text-align: center;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  gap: 0.95rem;
}

@media (min-width: 640px) {
  .form-grid.two { grid-template-columns: 1fr 1fr; }
}

label {
  display: block;
  font-size: 0.88rem;
  font-weight: 650;
  margin-bottom: 0.3rem;
}

.req { color: var(--copper); }

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
select,
textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
}

textarea { min-height: 7.5rem; resize: vertical; }

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--forest);
  outline-offset: 1px;
  background: var(--white);
}

.password-line {
  position: relative;
}

.password-line input {
  padding-right: 4.5rem;
}

.password-show {
  position: absolute;
  top: 50%;
  right: 0.35rem;
  transform: translateY(-50%);
  margin: 0;
  padding: 0.3rem 0.5rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--forest);
  font: 650 0.84rem/1 var(--font-sans);
  cursor: pointer;
}

.password-show:hover {
  color: var(--forest-deep);
}

.form-note {
  font-size: 0.88rem;
  color: var(--stone);
  margin: 0.3rem 0 0;
}

.form-error {
  color: #8a2f22;
  font-size: 0.9rem;
  margin: 0.4rem 0 0;
  display: none;
}

.form-error.is-visible { display: block; }

.form-success {
  display: none;
  padding: 1.5rem;
  background: var(--cream);
  border-radius: var(--radius);
}

.form-success.is-visible { display: block; }

.form-success h2 { margin-top: 0; }

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

.cta-band {
  padding: 3.5rem 0;
  text-align: center;
}

.cta-band .lede {
  margin-left: auto;
  margin-right: auto;
}

.cta-band .hero-actions {
  justify-content: center;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2rem;
  background: var(--cream);
}

.footer-inner {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .footer-inner {
    grid-template-columns: 1.4fr 1fr 1fr;
    align-items: start;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--forest);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
}

.footer-brand svg { width: 1.5rem; height: 1.5rem; }

.site-footer p { margin: 0.5rem 0 0; color: var(--stone); font-size: 0.92rem; }

.site-footer h4 {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 0.6rem;
  font-family: var(--font-sans);
  font-weight: 650;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li { margin: 0.3rem 0; }

.site-footer a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
}

.site-footer a:hover { color: var(--forest); }

.legal {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--stone);
}

/* ----- Page header ----- */

.page-head {
  padding: 2.75rem 0 0.5rem;
}

.page-head .lede { margin-bottom: 0; }

/* ----- Who ----- */

.who-list {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.who-list li {
  padding: 0.55rem 0 0.55rem 1.2rem;
  position: relative;
  color: var(--ink);
}

.who-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--sage);
}

.policy-list {
  margin: 1.2rem 0 0;
  padding: 0 0 0 1.35rem;
}

.policy-list li {
  padding: 0.5rem 0;
  color: var(--ink);
}

/* ----- Bleed photo ----- */

.bleed-photo {
  width: 100%;
  height: clamp(14rem, 38vw, 24rem);
  object-fit: cover;
  display: block;
}

/* =====================================================================
   Front page (index.html, body.home). Warm market colors: cream, honey,
   tomato and a deep cocoa for headings. No fixed brand color here; the
   shared forest tokens are re-pointed to warm ones for this page only.
   Everything here is scoped to body.home.
   ===================================================================== */

body.home {
  --font-serif: "Fraunces", "Newsreader", "Iowan Old Style", Georgia, serif;
  --h-cream: #fbf4e8;
  --h-cream-2: #f6ead8;
  --h-tomato: #c4532f;
  --h-tomato-deep: #a5411f;
  --h-honey: #f2b544;
  --h-honey-soft: #fde7b8;
  --h-blush: #f8e3d6;
  --h-cocoa: #4b2a1c;
  --h-cocoa-deep: #351d12;
  --h-ink: #23201c;
  /* Shared tokens (header, footer, secondary buttons) go warm on this page only. */
  --forest: var(--h-cocoa);
  --forest-deep: var(--h-cocoa-deep);
  --sage: #8a6a55;
  background: var(--h-cream);
  color: var(--h-ink);
}
body.home .site-header { background: rgba(251, 244, 232, 0.92); }
body.home .site-footer { background: var(--h-cream-2); }
body.home .btn-primary { background: var(--h-tomato); }
body.home .btn-primary:hover { background: var(--h-tomato-deep); }
body.home h1, body.home h2, body.home h3 { font-family: var(--font-serif); letter-spacing: -0.01em; }

.home-main { overflow-x: clip; }
.home-kicker {
  margin: 0 0 0.8rem;
  color: var(--h-tomato);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.home-section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.home-head { max-width: 46rem; margin: 0 0 2.6rem; }
.home-head h2,
.home-phone-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  font-weight: 700;
}
.home-sub {
  margin: 1rem 0 0;
  font-size: 1.15rem;
  line-height: 1.6;
  color: #5b534a;
}
.home-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.8rem; }

/* ----- Hero ----- */
.home-hero {
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(60rem 30rem at 85% 10%, rgba(242, 181, 68, 0.22), transparent 60%),
    radial-gradient(40rem 28rem at 0% 100%, rgba(196, 83, 47, 0.10), transparent 60%),
    var(--h-cream);
}
.home-hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) {
  .home-hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 3.5rem; }
}
.home-hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.02;
  font-weight: 700;
  color: var(--h-cocoa);
}
.home-hl {
  color: var(--h-tomato);
  background: linear-gradient(transparent 70%, rgba(242, 181, 68, 0.55) 70%, rgba(242, 181, 68, 0.55) 92%, transparent 92%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.home-lede {
  margin: 1.4rem 0 0;
  max-width: 34rem;
  font-size: clamp(1.15rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  color: #4a433b;
}
.home-btn-main { box-shadow: 0 10px 24px rgba(196, 83, 47, 0.28); }
.home-note { margin: 1rem 0 0; color: #6a6157; font-size: 0.98rem; }
.home-note strong { color: var(--h-cocoa); }

.home-hero-art { position: relative; padding: 0 0 2.5rem 1.5rem; }
.home-hero-photo {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(44, 36, 24, 0.22);
  aspect-ratio: 4 / 3;
  background: var(--h-cream-2);
}
.home-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.home-mini {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(15.5rem, 58%);
  background: #fffdf9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(44, 36, 24, 0.25);
  transform: rotate(-3deg);
  font-size: 0.8rem;
  line-height: 1.35;
}
.home-mini-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.6rem;
  background: #efe5d6;
  color: #7a6f62;
  font-size: 0.66rem;
  white-space: nowrap;
  overflow: hidden;
}
.home-mini-bar i { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--h-tomato); flex: none; }
.home-mini > img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.home-mini-body { padding: 0.6rem 0.75rem 0.75rem; }
.home-mini-body strong { display: block; font-family: var(--font-serif); font-size: 1rem; color: var(--h-cocoa); }
.home-mini-open { display: block; margin-top: 0.15rem; color: #6a6157; }
.home-mini ul { list-style: none; margin: 0.5rem 0 0; padding: 0; }
.home-mini li { display: flex; justify-content: space-between; gap: 0.5rem; padding: 0.28rem 0; border-top: 1px dashed #e6dccd; }
.home-mini li b { color: var(--h-ink); white-space: nowrap; }
.home-mini .home-mini-sold { color: #fff; background: var(--h-tomato); border-radius: 999px; padding: 0 0.45rem; font-size: 0.7rem; line-height: 1.5; }
.home-sticker {
  position: absolute;
  top: -1rem;
  right: -0.5rem;
  margin: 0;
  width: 6.4rem;
  height: 6.4rem;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--h-honey);
  color: var(--h-ink);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  transform: rotate(9deg);
  box-shadow: 0 12px 26px rgba(160, 110, 20, 0.3);
}
.home-sticker small { font-family: var(--font-sans); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; margin: 0.15rem 0; }
@media (max-width: 600px) {
  .home-hero-art { padding: 0 0 4.5rem 0.6rem; }
  .home-mini { width: 54%; font-size: 0.7rem; }
  .home-mini > img { aspect-ratio: 16 / 6; }
  .home-mini li:nth-child(3) { display: none; }
  .home-card-photo { aspect-ratio: 16 / 9; }
  .home-card-body { padding: 1rem 1.1rem 1.15rem; }
  .home-card h3 { font-size: 1.3rem; }
  .home-sticker { width: 5.2rem; height: 5.2rem; font-size: 1.2rem; right: 0; top: -0.8rem; }
  .home-actions .btn { flex: 1 1 100%; }
}

/* ----- Hero photo and the little site card: a slow breath, and a lift when touched (CHANGELOG section 32) -----
   The photo zooms inside its own frame (the frame clips it), so nothing around it moves.
   The lift matches the "Made for places like yours" cards: up a few pixels, a softer, wider shadow. */
.home-hero-photo {
  transition: translate 0.2s ease, scale 0.2s ease, box-shadow 0.2s ease;
}
.home-hero-photo.is-lifted {
  translate: 0 -4px;
  scale: 1.01;
  box-shadow: 0 36px 70px rgba(44, 36, 24, 0.17);
}
.home-mini {
  transition: translate 0.2s ease, scale 0.2s ease, box-shadow 0.2s ease;
}
.home-mini.is-lifted {
  animation: none;
  translate: 0 -4px;
  scale: 1.04;
  box-shadow: 0 26px 52px rgba(44, 36, 24, 0.18);
}
@media (prefers-reduced-motion: no-preference) {
  .home-hero-photo img { animation: home-breathe 9s ease-in-out infinite alternate; }
  .home-mini { animation: home-breathe 9s ease-in-out -4.5s infinite alternate; }
  .home-hero-art.is-offscreen .home-hero-photo img,
  .home-hero-art.is-offscreen .home-mini { animation-play-state: paused; }
}
@keyframes home-breathe {
  from { scale: 1; }
  to { scale: 1.03; }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero-photo, .home-mini { transition: none; }
}

/* ----- Made for places like yours ----- */
.home-for { background: #fffaf2; }
.home-cards { display: grid; gap: 1.4rem; }
@media (min-width: 620px) { .home-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .home-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.home-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(44, 36, 24, 0.06), 0 14px 34px rgba(44, 36, 24, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.home-card:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(44, 36, 24, 0.06), 0 22px 44px rgba(44, 36, 24, 0.14); }
.home-card-photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--h-cream-2); }
.home-card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.home-card:hover .home-card-photo img { transform: scale(1.04); }
.home-card-body { padding: 1.2rem 1.35rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.home-card-tag { margin: 0; color: var(--h-tomato); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; }
.home-card h3 { margin: 0.25rem 0 0.45rem; font-size: 1.45rem; line-height: 1.15; color: var(--h-cocoa); }
.home-card p { margin: 0; color: #5b534a; }
.home-card-link { margin-top: auto; padding-top: 1rem; font-weight: 700; color: var(--h-tomato); text-decoration: none; }
.home-card-link:hover { color: var(--h-tomato-deep); text-decoration: underline; }

/* ----- Steps and prices ----- */
.home-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.2rem;
  counter-reset: none;
}
@media (min-width: 860px) { .home-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; } }
.home-steps li {
  position: relative;
  padding: 1.6rem 1.5rem 1.5rem;
  background: #fffdf9;
  border: 1px solid #eadfcd;
  border-radius: 20px;
}
.home-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: var(--h-honey);
  color: var(--h-ink);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
}
.home-steps h3 { margin: 0.9rem 0 0.4rem; font-size: 1.4rem; color: var(--h-cocoa); }
.home-steps p { margin: 0; color: #5b534a; }
.home-steps em { font-style: normal; font-weight: 600; color: var(--h-ink); word-break: break-word; }

.home-prices { display: grid; gap: 1.4rem; margin-top: 3.5rem; }
@media (min-width: 760px) { .home-prices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .home-prices { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.home-price-try { background: var(--h-honey-soft); box-shadow: none; border: 2px dashed rgba(196, 83, 47, 0.35); display: flex; flex-direction: column; align-items: flex-start; }
.home-price-try .btn { margin-top: 1.3rem; }
.home-price-small { margin: 1rem 0 0; font-size: 0.95rem; color: #5b534a; }
.home-price-small + .home-price-small { margin-top: 0.4rem; }
.home-price-small a { color: var(--h-tomato); font-weight: 600; }
.home-price {
  position: relative;
  padding: 2rem 1.8rem 1.8rem;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(44, 36, 24, 0.08);
}
.home-price h3 { margin: 0; font-size: 1.5rem; color: var(--h-cocoa); }
.home-price-amount { margin: 0.6rem 0 0; font-family: var(--font-serif); font-size: 3rem; font-weight: 700; line-height: 1; color: var(--h-ink); }
.home-price-amount span { font-family: var(--font-sans); font-size: 1rem; font-weight: 600; color: #6a6157; margin-left: 0.3rem; }
.home-price-alt { margin: 0.35rem 0 0; color: #6a6157; font-weight: 600; }
.home-price-for { margin: 1rem 0 0; color: #4a433b; }
.home-price ul, .home-ticks { list-style: none; margin: 1.1rem 0 0; padding: 0; }
.home-price li, .home-ticks li { display: flex; gap: 0.55rem; align-items: flex-start; padding: 0.3rem 0; }
.home-price li svg, .home-ticks li svg { flex: none; width: 1.25rem; height: 1.25rem; margin-top: 0.2rem; color: var(--h-tomato); }
.home-price-two { background: var(--h-cocoa); color: #f3ede2; }
.home-price-two h3, .home-price-two .home-price-amount { color: #fffaf2; }
.home-price-two .home-price-amount span, .home-price-two .home-price-alt, .home-price-two .home-price-for { color: #d8d0c2; }
.home-price-two li svg { color: var(--h-honey); }
.home-price-badge {
  position: absolute;
  top: -0.85rem;
  left: 1.6rem;
  margin: 0;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: var(--h-honey);
  color: var(--h-ink);
  font-size: 0.8rem;
  font-weight: 700;
}
.home-price:not(.home-price-two) .home-price-badge { background: var(--h-tomato); color: #fff; }
.home-price-example { display: inline-block; margin-top: 1.1rem; font-weight: 700; color: var(--h-tomato); text-decoration: none; }
.home-price-example:hover { color: var(--h-tomato-deep); text-decoration: underline; }
.home-price-two .home-price-example { color: var(--h-honey); }
.home-price-two .home-price-example:hover { color: #fffaf2; }
.home-price-note { margin: 1.6rem 0 0; max-width: 56rem; color: #6a6157; }
.home-price-note a { color: var(--h-tomato); font-weight: 600; }

/* ----- Keep it fresh (phone) ----- */
.home-phone-wrap { background: var(--h-blush); }
.home-phone-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 860px) { .home-phone-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }
.home-ticks li { font-size: 1.08rem; font-weight: 600; color: var(--h-ink); }
.home-text-link { display: inline-block; margin-top: 1.4rem; font-weight: 700; color: var(--h-tomato); text-decoration: none; }
.home-text-link:hover { text-decoration: underline; color: var(--h-tomato-deep); }
.home-phone {
  justify-self: center;
  width: min(18rem, 100%);
  padding: 0.7rem;
  border-radius: 2.4rem;
  background: #23201c;
  box-shadow: 0 30px 60px rgba(44, 36, 24, 0.3);
  transform: rotate(2.5deg);
}
.home-phone-screen { border-radius: 1.8rem; background: #fffdf9; padding: 1.5rem 1rem 1rem; font-size: 0.9rem; }
.home-phone-title { margin: 0 0 0.7rem; font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; color: var(--h-cocoa); }
.home-phone-item { display: flex; align-items: center; gap: 0.65rem; padding: 0.55rem 0; border-top: 1px solid #efe6d8; }
.home-phone-item img, .home-phone-thumb { width: 2.8rem; height: 2.8rem; border-radius: 0.6rem; object-fit: cover; flex: none; }
.home-thumb-egg { background: radial-gradient(circle at 40% 40%, #fff7e8 0 30%, #f1dfc2 31% 60%, #e8d2ae 61%); }
.home-thumb-honey { background: radial-gradient(circle at 50% 35%, #ffd47a 0 35%, #e9a83b 36% 70%, #c98a22 71%); }
.home-phone-item div { flex: 1; min-width: 0; }
.home-phone-item strong { display: block; color: var(--h-ink); }
.home-phone-item span { color: #6a6157; font-size: 0.82rem; }
.home-phone-sold { font-style: normal; font-size: 0.72rem; font-weight: 700; color: #fff; background: var(--h-tomato); border-radius: 999px; padding: 0.1rem 0.5rem; }
.home-phone-row { display: flex; justify-content: space-between; padding: 0.6rem 0; border-top: 1px solid #efe6d8; color: #6a6157; }
.home-phone-row strong { color: var(--h-ink); }
.home-phone-save { margin: 0.6rem 0 0; padding: 0.6rem; border-radius: 999px; background: var(--h-tomato); color: #fff; text-align: center; font-weight: 700; }

/* The phone acts out an edit on a loop: tap eggs -> Sold out, tap hours -> new hours,
   tap the photo -> a new one slides in, tap Save, then it all resets. CSS only; paused
   while offscreen (home.js adds .is-offscreen); fully still under reduced motion. */
.home-phone-item, .home-phone-row, .home-phone-save { position: relative; }
.home-phone-pic { position: relative; flex: none; width: 2.8rem; height: 2.8rem; }
.home-phone-pic img { display: block; }
.hp-new-photo { position: absolute; inset: 0; clip-path: inset(0 0 0 100%); }
.hp-hours, .home-phone-save { display: grid; }
.hp-hours b, .home-phone-save b { grid-area: 1 / 1; font-weight: inherit; }
.hp-hours b { justify-self: end; }
.hp-hours-new, .hp-save-new { opacity: 0; }
.hp-tap {
  position: absolute;
  width: 1.7rem;
  height: 1.7rem;
  margin: -0.85rem 0 0 -0.85rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(60, 46, 32, 0.38) 0 42%, rgba(60, 46, 32, 0.14) 43% 70%, transparent 71%);
  opacity: 0;
  pointer-events: none;
}
.hp-tap-1 { top: 50%; right: 0.9rem; }
.hp-tap-2 { top: 50%; right: 1.4rem; }
.hp-tap-3 { top: 55%; left: 55%; }
.hp-tap-4 { top: 50%; left: 50%; }
@media (prefers-reduced-motion: no-preference) {
  .home-phone .home-phone-sold { animation: hp-sold 12s ease infinite; }
  .home-phone .hp-tap-1 { animation: hp-tap-1 12s ease-out infinite; }
  .home-phone .hp-tap-2 { animation: hp-tap-2 12s ease-out infinite; }
  .home-phone .hp-tap-3 { animation: hp-tap-3 12s ease-out infinite; }
  .home-phone .hp-tap-4 { animation: hp-tap-4 12s ease-out infinite; }
  .home-phone .hp-hours-old { animation: hp-out-2 12s ease infinite; }
  .home-phone .hp-hours-new { animation: hp-in-2 12s ease infinite; }
  .home-phone .hp-new-photo { animation: hp-photo 12s cubic-bezier(0.3, 0.7, 0.3, 1) infinite; }
  .home-phone .hp-save-old { animation: hp-out-4 12s ease infinite; }
  .home-phone .hp-save-new { animation: hp-in-4 12s ease infinite; }
  .home-phone.is-offscreen * { animation-play-state: paused; }
}
@keyframes hp-tap-1 { 0%, 10% { opacity: 0; transform: scale(0.5); } 13% { opacity: 1; transform: scale(1); } 15% { opacity: 1; transform: scale(0.82); } 19% { opacity: 0; transform: scale(1.5); } 100% { opacity: 0; } }
@keyframes hp-tap-2 { 0%, 31% { opacity: 0; transform: scale(0.5); } 34% { opacity: 1; transform: scale(1); } 36% { opacity: 1; transform: scale(0.82); } 40% { opacity: 0; transform: scale(1.5); } 100% { opacity: 0; } }
@keyframes hp-tap-3 { 0%, 50% { opacity: 0; transform: scale(0.5); } 53% { opacity: 1; transform: scale(1); } 55% { opacity: 1; transform: scale(0.82); } 59% { opacity: 0; transform: scale(1.5); } 100% { opacity: 0; } }
@keyframes hp-tap-4 { 0%, 68% { opacity: 0; transform: scale(0.5); } 71% { opacity: 1; transform: scale(1); } 73% { opacity: 1; transform: scale(0.82); } 77% { opacity: 0; transform: scale(1.5); } 100% { opacity: 0; } }
@keyframes hp-sold { 0%, 15% { opacity: 0; transform: rotateX(90deg); } 19% { opacity: 1; transform: rotateX(0); } 90% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: none; } }
@keyframes hp-out-2 { 0%, 36% { opacity: 1; transform: none; } 39% { opacity: 0; transform: translateY(-0.4rem); } 92% { opacity: 0; transform: translateY(0.4rem); } 96%, 100% { opacity: 1; transform: none; } }
@keyframes hp-in-2 { 0%, 37% { opacity: 0; transform: translateY(0.4rem); } 40% { opacity: 1; transform: none; } 90% { opacity: 1; } 95%, 100% { opacity: 0; } }
@keyframes hp-photo { 0%, 55% { clip-path: inset(0 0 0 100%); transform: translateX(0.6rem); opacity: 1; } 61% { clip-path: inset(0); transform: none; } 90% { clip-path: inset(0); opacity: 1; } 95% { clip-path: inset(0); opacity: 0; } 96%, 100% { clip-path: inset(0 0 0 100%); opacity: 0; } }
@keyframes hp-out-4 { 0%, 73% { opacity: 1; } 75%, 90% { opacity: 0; } 95%, 100% { opacity: 1; } }
@keyframes hp-in-4 { 0%, 73% { opacity: 0; } 75%, 88% { opacity: 1; } 92%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .home-phone .hp-tap, .home-phone .hp-hours-new, .home-phone .hp-save-new { animation: none; opacity: 0; }
  .home-phone .home-phone-sold, .home-phone .hp-hours-old, .home-phone .hp-save-old { animation: none; opacity: 1; transform: none; }
  .home-phone .hp-new-photo { animation: none; clip-path: inset(0 0 0 100%); }
}

/* ----- Closing band ----- */
.home-band { position: relative; isolation: isolate; padding: clamp(5rem, 11vw, 8rem) 0; color: #fffaf2; overflow: hidden; }
.home-band-photo { position: absolute; inset: 0; z-index: -2; }
.home-band-photo img { width: 100%; height: 100%; object-fit: cover; }
.home-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(53, 29, 18, 0.9) 0%, rgba(53, 29, 18, 0.74) 45%, rgba(53, 29, 18, 0.3) 100%);
}
.home-band-inner h2 { margin: 0; max-width: 34rem; font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.08; color: #fffaf2; }

/* ----- Fade-ins (only when motion is welcome; see home.js) ----- */
.can-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.can-reveal .reveal.is-in { opacity: 1; transform: none; }
.can-reveal .home-cards .reveal:nth-child(3n + 2), .can-reveal .home-steps .reveal:nth-child(2) { transition-delay: 0.08s; }
.can-reveal .home-cards .reveal:nth-child(3n), .can-reveal .home-steps .reveal:nth-child(3) { transition-delay: 0.16s; }
@media (prefers-reduced-motion: reduce) {
  .can-reveal .reveal { opacity: 1; transform: none; }
  .home-card, .home-card-photo img { transition: none; }
  .home-card:hover, .home-card:hover .home-card-photo img { transform: none; }
}

/* Business contact details (CHANGELOG 79): the footer line and the "Reach us" box on Contact. */
.legal.biz-contact { margin-top: 0.35rem; padding-top: 0; border-top: 0; }
.legal.biz-contact a { white-space: nowrap; }
.biz-card { margin-top: 1.4rem; padding: 1rem 1.15rem; border: 1px solid rgba(0, 0, 0, 0.12); border-radius: 12px; background: #fff; }
.biz-card h2 { font-size: 1.1rem; margin: 0 0 0.45rem; }
.biz-card p { margin: 0 0 0.5rem; line-height: 1.55; }
.biz-card p:last-child { margin-bottom: 0; }
.biz-card + .contact-custom { margin-top: 1.6rem; font-size: 1.25rem; }
.split .biz-card { margin: 1rem 0 0; }

/* Offered-or-not bits (offers.js, CHANGELOG 81): hidden wins over any display rule. */
[data-own-domain][hidden], [data-term][hidden] { display: none !important; }
