/* ============================================================
   Revively marketing site - design system
   Brand: mint #59c593, teal #0b6c81, 12px radius, DM Sans + Fraunces
   ============================================================ */

:root {
  --revively-teal: #0b6c81;
  --revively-teal-hover: #094e5f;
  --revively-teal-dark: #053a47;
  --revively-mint: #59c593;
  --revively-mint-hover: #47b883;
  --revively-mint-soft: #d8f0e3;
  --revively-charcoal: #2a2d31;
  --revively-muted: #5a5f66;
  --revively-soft: #f4f7f7;
  --revively-neutral: #fbfcfc;
  --revively-white: #ffffff;
  --revively-amber: #f5b148;
  --revively-coral: #f17a6a;

  --text: var(--revively-charcoal);
  --muted: var(--revively-muted);
  --bg: var(--revively-neutral);
  --bg-alt: var(--revively-soft);
  --bg-elev: #ecf4f3;
  --surface: var(--revively-white);
  --border: rgba(11, 60, 70, 0.1);
  --border-strong: rgba(11, 60, 70, 0.18);
  --accent: var(--revively-mint);
  --accent-dim: var(--revively-mint-hover);
  --accent-glow: rgba(89, 197, 147, 0.32);
  --primary-teal: var(--revively-teal);

  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(11, 60, 70, 0.06), 0 1px 1px rgba(11, 60, 70, 0.04);
  --shadow-md: 0 8px 24px rgba(11, 60, 70, 0.08), 0 2px 6px rgba(11, 60, 70, 0.04);
  --shadow-lg: 0 24px 56px rgba(11, 60, 70, 0.14), 0 4px 12px rgba(11, 60, 70, 0.06);
  --shadow-glow: 0 18px 48px rgba(89, 197, 147, 0.28);

  --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;

  --grad-mint: linear-gradient(135deg, #65d4a0 0%, #3eb47d 100%);
  --grad-teal: linear-gradient(135deg, #1a8094 0%, #0b6c81 100%);
  --grad-trust: linear-gradient(160deg, #053a47 0%, #0b6c81 55%, #1d8e9e 100%);

  --container: 1180px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }

a {
  color: var(--primary-teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color 0.15s ease;
}
a:hover { color: var(--accent-dim); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}
.sr-only:focus {
  position: fixed; top: 1rem; left: 1rem; width: auto; height: auto;
  padding: 0.5rem 0.85rem; clip: auto; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); z-index: 100;
}

/* ============================================================
   Layout primitives
   ============================================================ */
.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 0; }
.section--tight { padding: 3.5rem 0; }
.section--alt { background: var(--bg-alt); }
.section--white { background: var(--surface); }
.section--trust { background: var(--grad-trust); color: rgba(255, 255, 255, 0.92); }
.section--trust h1,
.section--trust h2,
.section--trust h3 { color: #fff; }
.section--trust .section__intro { color: rgba(255, 255, 255, 0.78); }

.section__head { text-align: center; margin: 0 auto 3rem; max-width: 720px; }
.section__head--left { text-align: left; margin-left: 0; }

.section__eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 0.3rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-teal);
  background: rgba(11, 108, 129, 0.08);
  border: 1px solid rgba(11, 108, 129, 0.18);
  border-radius: 999px;
}

.section--trust .section__eyebrow {
  color: #b6efd2;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 1rem;
}
.section__intro {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.65;
  margin: 0;
}
.section__intro--center { margin: 0 auto; }

/* ============================================================
   Site header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: rgba(251, 252, 252, 0.85);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
}

.site-logo {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
  color: var(--primary-teal);
  text-decoration: none;
}
.site-logo__mark { width: 30px; height: auto; display: block; }
.site-logo:hover { color: var(--accent-dim); }

.site-nav {
  display: flex; align-items: center;
  gap: 0.35rem 1.4rem;
  flex-wrap: wrap;
}

.site-nav__links {
  display: flex; align-items: center; gap: 1.4rem;
}

.site-nav a:not(.btn) {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:not(.btn):hover {
  color: var(--primary-teal);
}
.site-nav a:not(.btn)[aria-current="page"],
.site-nav a:not(.btn)[data-section-active] {
  color: var(--primary-teal);
  border-bottom-color: var(--accent);
}

.site-nav__cta { display: inline-flex; gap: 0.5rem; align-items: center; }

.site-nav__toggle { display: none; }

@media (max-width: 880px) {
  .site-nav__links { display: none; }
  .site-nav__cta a.btn:not(.btn--primary) { display: none; }
  .site-nav__toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    background: transparent; border: 1px solid var(--border);
    border-radius: var(--radius); color: var(--text);
    cursor: pointer;
  }
  .site-nav__toggle svg { width: 22px; height: 22px; }
  #site-menu:target ~ .site-nav__panel,
  .site-nav__panel[data-open] { display: block; }
  .site-nav__panel {
    display: none;
    position: absolute; top: 100%; right: 1.5rem; left: 1.5rem;
    margin-top: 0.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 1rem;
  }
  .site-nav__panel a {
    display: block;
    padding: 0.75rem 0.5rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
  }
  .site-nav__panel a:last-child { border-bottom: none; }
  .site-nav__panel .btn { margin-top: 0.75rem; width: 100%; }
}

@media (min-width: 881px) {
  .site-nav__panel { display: none !important; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease, filter 0.15s ease;
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 2px solid var(--primary-teal);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--grad-mint);
  color: #fff;
  box-shadow: 0 6px 22px var(--accent-glow);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px var(--accent-glow);
  filter: brightness(1.04);
  color: #fff;
}

.btn--teal {
  background: var(--grad-teal);
  color: #fff;
  box-shadow: 0 4px 14px rgba(11, 108, 129, 0.25);
}
.btn--teal:hover {
  transform: translateY(-1px);
  filter: brightness(1.07);
  color: #fff;
}

.btn--ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover {
  border-color: var(--primary-teal);
  color: var(--primary-teal);
}

.btn--light {
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-teal);
  border-color: rgba(255, 255, 255, 0.92);
}
.btn--light:hover {
  background: #fff;
  color: var(--revively-teal-hover);
}

.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

.btn--link {
  padding: 0; background: none; color: var(--primary-teal);
  border: none; font-weight: 600;
}
.btn--link:hover { color: var(--accent-dim); }

.btn--sm { padding: 0.5rem 1rem; font-size: 0.88rem; }
.btn--lg { padding: 0.9rem 1.8rem; font-size: 1.05rem; }

/* ============================================================
   Pills / badges
   ============================================================ */
.pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--primary-teal);
  background: rgba(11, 108, 129, 0.08);
  border: 1px solid rgba(11, 108, 129, 0.18);
  border-radius: 999px;
}
.pill--mint {
  color: #1f7a4d; background: rgba(89, 197, 147, 0.16); border-color: rgba(89, 197, 147, 0.34);
}
.pill--amber {
  color: #8a5a14; background: rgba(245, 177, 72, 0.18); border-color: rgba(245, 177, 72, 0.4);
}
.pill__dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: 5rem 0 5.5rem;
  overflow: hidden;
}
.hero__mesh {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 12% 75%, rgba(11, 108, 129, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 88% 12%, rgba(89, 197, 147, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(89, 197, 147, 0.07) 0%, transparent 55%);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}
@media (min-width: 980px) {
  .hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 4rem; }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 5.4vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 1.25rem 0 1.25rem;
  color: var(--text);
}
.hero__title .accent { color: var(--primary-teal); font-style: italic; font-weight: 500; }
.hero__title .accent--mint { color: var(--accent-dim); font-style: italic; font-weight: 500; }
.hero__lede {
  font-size: 1.18rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 1.75rem;
  max-width: 36rem;
}
.hero__actions {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.hero__checks {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 0.65rem;
  max-width: 28rem;
}
.hero__checks li {
  display: flex; align-items: center; gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--text);
}
.hero__checks li svg {
  width: 1.15rem; height: 1.15rem;
  color: var(--accent-dim);
  flex-shrink: 0;
}

.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
}

/* ============================================================
   Dashboard hero mock illustration
   ============================================================ */
.mock {
  width: 100%; max-width: 540px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #ffffff 0%, #f9fcfb 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg), 0 0 0 6px rgba(11, 108, 129, 0.04);
  overflow: hidden;
  position: relative;
  transform: rotate(-0.6deg);
}
.mock__bar {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.75rem 1rem;
  background: #eef5f5;
  border-bottom: 1px solid var(--border);
}
.mock__bar span { width: 11px; height: 11px; border-radius: 50%; background: rgba(0,0,0,0.1); }
.mock__bar span:nth-child(1) { background: #ff5f56; }
.mock__bar span:nth-child(2) { background: #ffbd2e; }
.mock__bar span:nth-child(3) { background: #27c93f; }
.mock__bar .mock__title {
  margin-left: 0.75rem;
  font-size: 0.8rem; color: var(--muted); font-weight: 500;
}
.mock__body { padding: 1rem 1.1rem 1.25rem; }
.mock__row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.85rem; }
.mock__row h3 {
  margin: 0; font-family: var(--font-display); font-weight: 600;
  font-size: 1.05rem; color: var(--text);
}
.mock__chip {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.2rem 0.55rem; border-radius: 999px;
  font-size: 0.7rem; font-weight: 600;
  background: rgba(89, 197, 147, 0.18); color: #1f7a4d;
}
.mock__grid {
  display: grid; grid-template-columns: 60px repeat(4, 1fr); gap: 4px;
  background: rgba(11, 60, 70, 0.06);
  border-radius: 12px;
  padding: 8px;
}
.mock__col-head {
  font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--muted); text-align: center; padding: 0.35rem 0;
}
.mock__time { font-size: 0.62rem; color: var(--muted); padding: 0.4rem 0.25rem; text-align: right; }
.mock__cell {
  height: 22px; background: rgba(255,255,255,0.6); border-radius: 5px;
}
.mock__booking {
  border-radius: 6px; padding: 0.35rem 0.45rem;
  font-size: 0.66rem; font-weight: 600; color: #fff;
  display: flex; align-items: center; gap: 0.3rem;
  height: 100%;
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}
.mock__booking--mint { background: linear-gradient(135deg, #65d4a0, #3eb47d); }
.mock__booking--teal { background: linear-gradient(135deg, #1a8094, #0b6c81); }
.mock__booking--amber { background: linear-gradient(135deg, #f5b148, #e0931e); color: #4a2f06; }
.mock__booking--coral { background: linear-gradient(135deg, #f17a6a, #e25a4a); }
.mock__cell-span-2 { grid-row: span 2; }
.mock__cell-span-3 { grid-row: span 3; }

.mock__floats {
  position: absolute;
  pointer-events: none;
}
.mock__float--mint {
  top: -28px; right: -22px;
  width: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1rem;
  box-shadow: var(--shadow-md);
  transform: rotate(2.5deg);
}
.mock__float--mint .label {
  font-size: 0.7rem; color: var(--muted); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.mock__float--mint .value {
  font-family: var(--font-display); font-size: 1.6rem;
  color: var(--text); font-weight: 600; margin-top: 0.15rem;
}
.mock__float--mint .delta {
  display: inline-flex; align-items: center; gap: 0.2rem;
  margin-top: 0.4rem;
  font-size: 0.75rem; color: #1f7a4d; font-weight: 600;
}

.mock__float--coral {
  bottom: -22px; left: -18px;
  width: 240px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1rem;
  box-shadow: var(--shadow-md);
  transform: rotate(-2.5deg);
  display: flex; align-items: center; gap: 0.75rem;
}
.mock__float--coral .avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, #ffe1cb, #f5b148);
  display: grid; place-items: center;
  font-weight: 700; color: #5e3a08;
}
.mock__float--coral .name { font-weight: 600; font-size: 0.9rem; }
.mock__float--coral .meta { font-size: 0.75rem; color: var(--muted); }

@media (max-width: 720px) {
  .mock__floats { display: none; }
  .mock { transform: none; }
}

/* ============================================================
   Real app screenshot frame
   ============================================================ */
.shot {
  width: 100%; max-width: 540px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #ffffff 0%, #f9fcfb 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg), 0 0 0 6px rgba(11, 108, 129, 0.04);
  overflow: hidden;
  position: relative;
  transform: rotate(-0.6deg);
}
.shot__bar {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.75rem 1rem;
  background: #eef5f5;
  border-bottom: 1px solid var(--border);
}
.shot__bar span { width: 11px; height: 11px; border-radius: 50%; background: rgba(0,0,0,0.1); }
.shot__bar span:nth-child(1) { background: #ff5f56; }
.shot__bar span:nth-child(2) { background: #ffbd2e; }
.shot__bar span:nth-child(3) { background: #27c93f; }
.shot__img {
  width: 100%;
  display: block;
  height: auto;
}

@media (max-width: 720px) {
  .shot { transform: none; }
}

/* ============================================================
   Logo strip (trusted-by row)
   ============================================================ */
.logo-strip {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.logo-strip__caption {
  text-align: center; font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 1.5rem;
}
.logo-strip__row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 2.5rem 3.5rem;
  opacity: 0.78;
}
.logo-strip__row span {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.1rem; letter-spacing: -0.02em;
  color: var(--text);
}
.logo-strip__row svg { color: var(--text); }

/* ============================================================
   Card grids
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
}
.card-grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
@media (min-width: 980px) {
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  border-color: rgba(89, 197, 147, 0.5);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(89, 197, 147, 0.16);
  color: var(--revively-mint-hover);
  margin-bottom: 1rem;
}
.card__icon svg { width: 22px; height: 22px; }
.card__icon--teal { background: rgba(11, 108, 129, 0.12); color: var(--primary-teal); }
.card__icon--amber { background: rgba(245, 177, 72, 0.18); color: #b97315; }
.card__icon--coral { background: rgba(241, 122, 106, 0.16); color: #b04032; }

.card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
  margin: 0 0 0.55rem;
  color: var(--text);
}
.card p {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.97rem;
}
.card a.stretched {
  display: inline-flex; align-items: center; gap: 0.35rem;
  color: var(--primary-teal); font-weight: 600;
  text-decoration: none;
}
.card a.stretched:hover { color: var(--accent-dim); }
.card a.stretched::after {
  content: "→"; transition: transform 0.15s ease;
}
.card a.stretched:hover::after { transform: translateX(3px); }
.card__shot {
  margin: -1.75rem -1.75rem 1rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.card__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card--link {
  position: relative;
}
.card--link a.stretched::before {
  content: ""; position: absolute; inset: 0;
}

/* ============================================================
   Vertical strip
   ============================================================ */
.vertical-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.vertical {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem 1.75rem;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}
.vertical:hover {
  border-color: rgba(89, 197, 147, 0.5);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.vertical__icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--bg-elev);
  color: var(--primary-teal);
  margin-bottom: 1rem;
}
.vertical h3 {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 600;
  margin: 0 0 0.35rem;
}
.vertical__sub {
  color: var(--muted); font-size: 0.92rem; margin: 0 0 1rem;
}
.vertical__cta {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-weight: 600; color: var(--primary-teal);
  text-decoration: none; font-size: 0.95rem;
}
.vertical__cta::after { content: "→"; transition: transform 0.15s ease; }
.vertical:hover .vertical__cta::after { transform: translateX(3px); }
.vertical__cta::before {
  content: ""; position: absolute; inset: 0;
}

/* ============================================================
   Feature row (image + copy alternating)
   ============================================================ */
.feature-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 920px) {
  .feature-row { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .feature-row--flip > div:first-child { order: 2; }
}
.feature-row + .feature-row { margin-top: 5rem; }
.feature-row h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  letter-spacing: -0.02em;
  margin: 0.75rem 0 1rem;
}
.feature-row p {
  color: var(--muted); font-size: 1.05rem; margin: 0 0 1.25rem;
}
.feature-row ul {
  list-style: none; padding: 0; margin: 0 0 1.5rem;
  display: flex; flex-direction: column; gap: 0.55rem;
}
.feature-row ul li {
  display: flex; align-items: flex-start; gap: 0.55rem;
  font-size: 0.97rem; color: var(--text);
}
.feature-row ul li svg {
  width: 1.05rem; height: 1.05rem; margin-top: 0.25rem;
  color: var(--accent-dim); flex-shrink: 0;
}
.feature-row__visual {
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #ffffff 0%, #eef5f5 100%);
  border: 1px solid var(--border);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
}

/* ============================================================
   Pricing
   ============================================================ */
.pricing-toggle {
  display: inline-flex;
  margin: 0 auto 2.5rem;
  padding: 4px;
  background: var(--bg-elev);
  border-radius: 999px;
  border: 1px solid var(--border);
}
.pricing-toggle a {
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem; font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}
.pricing-toggle a[aria-pressed="true"] {
  background: var(--surface);
  color: var(--primary-teal);
  box-shadow: var(--shadow-sm);
}
.pricing-toggle__save {
  display: inline-block; margin-left: 0.5rem;
  padding: 0.1rem 0.45rem; border-radius: 999px;
  font-size: 0.7rem; font-weight: 700;
  color: #1f7a4d; background: rgba(89, 197, 147, 0.2);
}

.pricing-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto auto auto 1fr auto auto;
    align-items: stretch;
  }
}

.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem 2.25rem;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
@media (min-width: 900px) {
  .pricing-grid .plan {
    display: grid;
    grid-row: span 7;
    grid-template-rows: subgrid;
  }
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.plan--featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
  background: linear-gradient(180deg, #ffffff 0%, #f5fcf8 100%);
}
.plan__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  padding: 0.35rem 0.85rem;
  background: var(--grad-mint); color: #fff;
  border-radius: 999px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  box-shadow: 0 6px 14px var(--accent-glow);
}
.plan__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
  color: var(--text);
}
.plan__tag { color: var(--muted); font-size: 0.95rem; margin: 0 0 1.25rem; min-height: 3rem; }
.plan__price {
  display: flex; align-items: baseline; gap: 0.4rem;
  font-family: var(--font-display);
  margin: 0 0 0.25rem;
}
.plan__price .amount {
  font-size: 2.5rem; font-weight: 600; color: var(--text);
  letter-spacing: -0.025em;
}
.plan__price .currency { font-size: 1.1rem; color: var(--muted); font-weight: 500; }
.plan__price .period { font-size: 0.95rem; color: var(--muted); font-weight: 500; font-family: var(--font-sans); }
.plan__billing {
  font-size: 0.85rem; color: var(--muted); margin: 0 0 1.5rem;
}
.plan__cta { width: 100%; margin-bottom: 1.5rem; }
.plan__features {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 0.7rem;
  flex-grow: 1;
}
@media (min-width: 900px) {
  .pricing-grid .plan__features {
    flex-grow: 0;
    align-self: start;
  }
}
.plan__features li {
  display: flex; align-items: flex-start; gap: 0.55rem;
  font-size: 0.95rem; color: var(--text);
}
.plan__features li svg {
  width: 1.05rem; height: 1.05rem; margin-top: 0.25rem;
  color: var(--accent-dim); flex-shrink: 0;
}
.plan__features li.muted { color: var(--muted); }
.plan__features li.muted svg { color: var(--muted); opacity: 0.5; }
/* Per-plan add-ons */
.plan__addons {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.plan__addons-title {
  margin: 0 0 0.75rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
}
.plan__addons-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 0.85rem;
}
.plan__addon {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 0.75rem;
  row-gap: 0.15rem;
  align-items: baseline;
}
.plan__addon-name {
  grid-column: 1;
  font-weight: 600; font-size: 0.92rem; color: var(--text); line-height: 1.35;
}
.plan__addon-price {
  grid-column: 2;
  font-weight: 600; font-size: 0.92rem; color: var(--text);
  white-space: nowrap; text-align: right;
}
.plan__addon-note {
  grid-column: 1 / -1;
  font-size: 0.82rem; color: var(--muted); line-height: 1.4;
}
.plan__footer-note {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem; color: var(--muted);
}

/* Billing cycle toggle (CSS-only, yearly default) */
.billing-toggle__input {
  position: absolute; width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}
.billing-toggle {
  display: flex; gap: 0.25rem;
  margin: 0 auto 2.25rem;
  padding: 0.3rem;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 999px;
  width: max-content;
}
.billing-toggle__opt {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-size: 0.92rem; font-weight: 600; color: var(--muted);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.billing-toggle__save {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.02em;
  padding: 0.1rem 0.45rem; border-radius: 999px;
  color: #1f7a4d; background: rgba(89, 197, 147, 0.2);
}
.billing-toggle__input:focus-visible ~ .billing-toggle {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
.billing-toggle__input--monthly:checked ~ .billing-toggle .billing-toggle__opt--monthly,
.billing-toggle__input--yearly:checked ~ .billing-toggle .billing-toggle__opt--yearly {
  background: var(--surface); color: var(--text);
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,0.1));
}

/* Price visibility - yearly shown by default */
.plan__cycle--monthly { display: none; }
.plan__cycle--yearly { display: block; }
.billing-toggle__input--monthly:checked ~ .pricing-grid .plan__cycle--monthly { display: block; }
.billing-toggle__input--monthly:checked ~ .pricing-grid .plan__cycle--yearly { display: none; }
.plan__save {
  display: inline-block; margin-right: 0.35rem;
  font-weight: 700; color: #1f7a4d;
}

/* Pricing comparison table */
.compare {
  margin-top: 4rem;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.compare table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 720px;
}
.compare th, .compare td {
  padding: 0.95rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.compare thead th {
  background: var(--bg-alt);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
}
.compare tbody th {
  font-weight: 500; color: var(--text);
}
.compare td.center { text-align: center; }
.compare td svg { width: 18px; height: 18px; margin: 0 auto; color: var(--accent-dim); }
.compare td.text-muted { color: var(--muted); font-style: italic; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: none; }

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  display: grid; gap: 0.75rem;
  max-width: 760px; margin: 0 auto;
}
.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq__item summary {
  cursor: pointer;
  padding: 1.1rem 1.4rem;
  font-weight: 600; font-size: 1rem;
  color: var(--text);
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; font-size: 1.3rem; color: var(--primary-teal);
  transition: transform 0.2s ease;
}
.faq__item[open] summary::after { content: "−"; }
.faq__item summary:hover { color: var(--primary-teal); }
.faq__item div {
  padding: 0 1.4rem 1.25rem;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.65;
}

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  background: var(--grad-trust);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(89, 197, 147, 0.25) 0%, transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.06) 0%, transparent 45%);
  pointer-events: none;
}
@media (min-width: 900px) {
  .cta-band {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 3.5rem 3.5rem;
  }
}
.cta-band h2 {
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  color: #fff;
}
.cta-band p {
  position: relative;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
}
.cta-band__actions {
  position: relative;
  display: flex; flex-wrap: wrap; gap: 0.75rem;
}

/* ============================================================
   Metric stat boxes
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.stat {
  padding: 1.5rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
}
.stat__value {
  font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 600;
  color: var(--primary-teal);
  letter-spacing: -0.02em;
}
.stat__label {
  font-size: 0.88rem; color: var(--muted); font-weight: 500;
  margin-top: 0.25rem;
}

/* ============================================================
   Integration logo grid
   ============================================================ */
.integration-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.integration {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.integration:hover { border-color: rgba(89, 197, 147, 0.5); transform: translateY(-2px); }
.integration__logo {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--bg-elev);
  color: var(--primary-teal);
  margin-bottom: 0.5rem;
}
.integration__logo svg { width: 20px; height: 20px; }
.integration__name { font-weight: 600; font-size: 1rem; }
.integration__role {
  font-size: 0.82rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.04em;
  font-weight: 600;
}
.integration__plan {
  margin-top: 0.5rem;
  font-size: 0.78rem; color: var(--accent-dim); font-weight: 600;
}

/* ============================================================
   How it works steps
   ============================================================ */
.steps {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  position: relative;
}
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--grad-mint);
  color: #fff; font-weight: 700; font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
  box-shadow: 0 6px 14px var(--accent-glow);
}
.step h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.15rem; margin: 0 0 0.4rem;
}
.step p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ============================================================
   Quote / testimonial
   ============================================================ */
.quote {
  max-width: 760px; margin: 0 auto;
  padding: 2.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  text-align: center;
  position: relative;
}
.quote__mark {
  font-family: var(--font-display); font-size: 4rem;
  line-height: 0.5; color: var(--accent-dim);
  margin: 0 0 1rem;
}
.quote blockquote {
  font-family: var(--font-display);
  font-weight: 500; font-style: italic;
  font-size: 1.35rem; line-height: 1.45;
  color: var(--text);
  margin: 0 0 1.25rem;
}
.quote cite {
  font-style: normal; font-weight: 600; color: var(--text);
  display: block; font-size: 0.95rem;
}
.quote cite span {
  display: block;
  color: var(--muted); font-weight: 400; font-size: 0.88rem;
  margin-top: 0.15rem;
}

/* ============================================================
   Feature detail page
   ============================================================ */
.detail-hero {
  padding: 3rem 0 2rem;
}
.breadcrumb {
  font-size: 0.85rem; color: var(--muted);
  margin: 0 0 1rem;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary-teal); }
.breadcrumb span { margin: 0 0.4rem; opacity: 0.5; }

.detail-grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .detail-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}
.detail-side {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.detail-side h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.05rem; margin: 0 0 0.85rem;
}
.detail-side ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.detail-side ul li { display: flex; gap: 0.55rem; font-size: 0.95rem; }
.detail-side ul li svg { width: 1rem; height: 1rem; color: var(--accent-dim); margin-top: 0.25rem; flex-shrink: 0; }
.detail-side + .detail-side { margin-top: 1.25rem; }

.related-features {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 1.5rem;
}
.related-features a {
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  display: flex; align-items: center; justify-content: space-between;
  transition: border-color 0.15s ease;
}
.related-features a:hover {
  border-color: rgba(89, 197, 147, 0.5);
  color: var(--primary-teal);
}
.related-features a::after { content: "→"; color: var(--primary-teal); }

/* ============================================================
   Prose (legal pages)
   ============================================================ */
.prose {
  max-width: 760px;
  margin: 0 auto;
}
.prose h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.6rem);
  letter-spacing: -0.025em;
  margin: 0 0 1rem;
}
.prose h2 {
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.4rem;
  letter-spacing: -0.015em;
  margin: 2.5rem 0 0.75rem;
}
.prose h3 {
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.1rem;
  margin: 1.75rem 0 0.5rem;
}
.prose p { color: var(--muted); margin: 0 0 1rem; }
.prose ul { color: var(--muted); padding-left: 1.25rem; }
.prose ul li { margin-bottom: 0.45rem; }
.prose a { color: var(--primary-teal); }
.prose table {
  width: 100%; border-collapse: collapse;
  margin: 1rem 0; font-size: 0.95rem;
}
.prose th, .prose td {
  text-align: left; padding: 0.6rem 0.85rem;
  border: 1px solid var(--border);
}
.prose th { background: var(--bg-alt); font-weight: 600; }
.prose .card {
  margin: 1.25rem 0;
}

/* ============================================================
   Verticals page hero
   ============================================================ */
.vertical-hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(160deg, #f7fbfa 0%, #eef5f4 100%);
}
.vertical-hero__icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: inline-grid; place-items: center;
  color: var(--primary-teal);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
}
.vertical-hero__icon svg { width: 30px; height: 30px; }
.vertical-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 1rem;
}
.vertical-hero p {
  font-size: 1.15rem; color: var(--muted);
  max-width: 42rem; margin: 0 0 1.5rem;
}

.vertical-pains {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.vertical-pain {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--revively-coral);
  border-radius: var(--radius);
}
.vertical-pain h4 {
  font-weight: 600; margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.vertical-pain p { margin: 0; color: var(--muted); font-size: 0.93rem; }
.vertical-pain--good {
  border-left-color: var(--accent);
}

.seed-pack {
  display: grid; gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.seed-pack__item {
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; align-items: center; gap: 0.65rem;
  font-size: 0.93rem; font-weight: 500;
}
.seed-pack__item svg { width: 1rem; height: 1rem; color: var(--accent-dim); flex-shrink: 0; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: #053a47;
  color: rgba(255, 255, 255, 0.78);
  padding: 4rem 0 2rem;
  font-size: 0.92rem;
}
.footer a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin-bottom: 2.5rem;
}
.footer__brand { grid-column: span 2; max-width: 320px; }
.footer__brand .site-logo { color: #fff; }
.footer__brand .site-logo:hover { color: #b6efd2; }
.footer__brand p { margin: 0.75rem 0 0; opacity: 0.7; font-size: 0.9rem; }
.footer__col h4 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-size: 0.85rem;
  opacity: 0.7;
}
.footer__bottom a { color: rgba(255, 255, 255, 0.85); }
.footer-love { color: #f17a6a; margin: 0 2px; }

@media (max-width: 700px) {
  .footer__brand { grid-column: span 1; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   Tenant landing
   ============================================================ */
.tenant-hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 2rem 1.25rem 4rem;
  background: var(--bg);
}
.tenant-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 0.75rem;
  color: var(--text);
}
.tenant-hero p { color: var(--muted); margin: 0 0 2rem; max-width: 36ch; }
.tenant-actions {
  display: flex; flex-direction: column; gap: 0.75rem;
  width: 100%; max-width: 280px;
}
