/* ═══════════════════════════════════════════════════════════════
   TREEMED — Premium Editorial Design System
   Serif + Sans-Serif · Dark Luxury Palette · Glass Panels
   ═══════════════════════════════════════════════════════════════ */

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

:root {
  /* ── Palette ── */
  --black:      #0A0A0A;
  --charcoal:   #141414;
  --graphite:   #1A1A1A;
  --slate:      #2A2A2A;
  --ash:        #3A3A3A;
  --stone:      #6B6B6B;
  --silver:     #999999;
  --cloud:      #C4C4C4;
  --mist:       #E8E5E0;
  --cream:      #F5F3EF;
  --ivory:      #FAF9F7;
  --white:      #FFFFFF;

  --accent:     #8B7355;       /* warm bronze / muted gold */
  --accent-light: rgba(139,115,85,0.08);
  --accent-text:  #A08B6D;

  --green:      #4A7C59;
  --green-bg:   rgba(74,124,89,0.1);
  --amber:      #B8860B;
  --amber-bg:   rgba(184,134,11,0.1);
  --soft-red:   #9B4D4D;
  --soft-red-bg: rgba(155,77,77,0.08);
  --blue:       #4A6FA5;

  /* ── Glass ── */
  --glass-bg:    rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.06);
  --glass-bg-light:    rgba(0,0,0,0.02);
  --glass-border-light: rgba(0,0,0,0.06);

  /* ── Typography ── */
  --serif:  'DM Serif Display', Georgia, 'Times New Roman', serif;
  --sans:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* ── Spacing ── */
  --section-pad: clamp(100px, 12vw, 160px);

  /* ── Radii ── */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* ── Transitions ── */
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --t-base: 0.4s var(--ease);
  --t-slow: 0.7s var(--ease);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--sans);
  background: var(--ivory);
  color: var(--charcoal);
  line-height: 1.6;
  font-size: 16px;
  font-weight: 400;
}

::selection {
  background: var(--accent);
  color: var(--white);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ═══════════════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════ */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

h2 { font-size: clamp(32px, 4.5vw, 52px); }
h3 { font-size: clamp(22px, 2.5vw, 30px); }

h2 em, h3 em {
  font-style: italic;
  color: var(--accent-text);
}

.overline {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 20px;
}

.overline--light {
  color: var(--accent-text);
}

/* ── Section Heads ── */
.section-head {
  max-width: 580px;
  margin-bottom: 80px;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  margin-bottom: 20px;
}

.section-head__sub {
  font-size: 17px;
  color: var(--stone);
  line-height: 1.7;
  max-width: 480px;
}

.section-cta {
  margin-top: 64px;
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all var(--t-base);
  text-decoration: none;
  white-space: nowrap;
  padding: 16px 36px;
}

.btn--primary {
  background: var(--charcoal);
  color: var(--white);
  border: 1px solid var(--charcoal);
}
.btn--primary:hover {
  background: var(--black);
  border-color: var(--black);
}

.btn--ghost {
  background: transparent;
  color: var(--charcoal);
  border: 1px solid var(--cloud);
}
.btn--ghost:hover {
  border-color: var(--charcoal);
}

.btn--white {
  background: var(--white);
  color: var(--charcoal);
  border: 1px solid var(--white);
}
.btn--white:hover {
  background: var(--cream);
  border-color: var(--cream);
}

.btn--ghost-light {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn--ghost-light:hover {
  border-color: rgba(255,255,255,0.5);
}

.btn--full { width: 100%; }

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250,249,247,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: all var(--t-base);
}

.nav--scrolled {
  border-bottom-color: rgba(0,0,0,0.08);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--charcoal);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone);
  transition: color var(--t-base);
}

.nav__links a:hover {
  color: var(--charcoal);
}

.nav__cta {
  color: var(--charcoal) !important;
  padding: 10px 24px;
  border: 1px solid var(--cloud);
  transition: all var(--t-base);
}

.nav__cta:hover {
  border-color: var(--charcoal);
  background: var(--charcoal);
  color: var(--white) !important;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 6px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--charcoal);
  transition: all var(--t-base);
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
  padding-top: 160px;
  background: var(--ivory);
  overflow: hidden;
}

.hero__content {
  max-width: 680px;
  padding-bottom: 80px;
}

.hero__overline {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 28px;
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  color: var(--charcoal);
}

.hero__title em {
  font-style: italic;
  color: var(--accent-text);
}

.hero__subtitle {
  font-size: 18px;
  line-height: 1.75;
  color: var(--stone);
  max-width: 520px;
  margin-bottom: 44px;
  font-weight: 300;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ── Hero Mockup ── */
.hero__mockup-wrapper {
  padding-bottom: 0;
}

.hero__mockup {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  overflow: hidden;
  background: var(--charcoal);
  box-shadow:
    0 -1px 0 rgba(0,0,0,0.1),
    0 40px 80px -20px rgba(0,0,0,0.25);
}

.mockup__chrome {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  background: var(--graphite);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.mockup__dots {
  display: flex;
  gap: 7px;
}

.mockup__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}

.mockup__url {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: var(--silver);
  letter-spacing: 0.02em;
}

.mockup__spacer { width: 50px; }

.mockup__body {
  display: flex;
  min-height: 380px;
}

.mockup__nav {
  width: 180px;
  background: var(--black);
  padding: 20px 12px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.mockup__nav-logo {
  width: 80px;
  height: 16px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  margin-bottom: 28px;
}

.mockup__nav-item {
  height: 30px;
  border-radius: 4px;
  margin-bottom: 3px;
  background: transparent;
}

.mockup__nav-item.active {
  background: rgba(255,255,255,0.06);
}

.mockup__nav-item.dim {
  opacity: 0.3;
}

.mockup__nav-spacer { flex: 1; }

.mockup__main {
  flex: 1;
  padding: 24px;
  background: var(--charcoal);
}

.mockup__topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.mockup__topbar-title {
  width: 160px;
  height: 18px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
}

.mockup__topbar-actions {
  display: flex;
  gap: 8px;
}

.mockup__pill {
  width: 72px;
  height: 30px;
  border-radius: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

.mockup__pill.dark {
  background: rgba(255,255,255,0.1);
  border-color: transparent;
}

.mockup__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.mockup__stat {
  padding: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--r-md);
}

.mockup__stat-label {
  display: block;
  font-size: 10px;
  color: var(--silver);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.mockup__stat-value {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--white);
}

.mockup__table {
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--r-md);
  overflow: hidden;
}

.mockup__row {
  display: grid;
  grid-template-columns: 2fr 1.4fr 1.4fr 1fr;
  padding: 10px 16px;
  font-size: 12px;
  color: var(--cloud);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  align-items: center;
}

.mockup__row:last-child { border-bottom: none; }

.mockup__row--head {
  background: rgba(255,255,255,0.02);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--silver);
  font-weight: 500;
}

.mockup__row span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mockup__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 3px;
}
.tag--green { background: var(--green-bg); color: var(--green); }
.tag--amber { background: var(--amber-bg); color: var(--amber); }

/* ═══════════════════════════════════════════════════════════════
   TRUST
   ═══════════════════════════════════════════════════════════════ */
.trust {
  padding: 56px 0;
  background: var(--ivory);
  border-top: 1px solid rgba(0,0,0,0.04);
}

.trust__label {
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--silver);
  margin-bottom: 28px;
}

.trust__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}

.trust__logo {
  font-size: 13px;
  font-weight: 500;
  color: var(--cloud);
  letter-spacing: 0.04em;
  padding: 10px 24px;
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: var(--r-sm);
}

/* ═══════════════════════════════════════════════════════════════
   BENEFITS
   ═══════════════════════════════════════════════════════════════ */
.benefits {
  padding: var(--section-pad) 0;
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: var(--r-md);
  overflow: hidden;
}

.glass-card {
  padding: 40px 36px;
  background: var(--ivory);
  transition: background var(--t-slow);
}

.glass-card:hover {
  background: var(--white);
}

.glass-card__number {
  display: block;
  font-family: var(--serif);
  font-size: 14px;
  color: var(--cloud);
  margin-bottom: 20px;
}

.glass-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--charcoal);
}

.glass-card p {
  font-size: 14px;
  color: var(--stone);
  line-height: 1.7;
  font-weight: 300;
}

/* ═══════════════════════════════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════════════════════════════ */
.features {
  padding: var(--section-pad) 0;
  background: var(--charcoal);
  color: var(--white);
}

.features .overline {
  color: var(--accent-text);
}

.features .section-head__sub {
  color: var(--silver);
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 120px;
}

.feature:last-child { margin-bottom: 0; }

.feature--reverse {
  direction: rtl;
}
.feature--reverse > * {
  direction: ltr;
}

.feature__label {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-text);
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.feature__text h3 {
  margin-bottom: 20px;
  color: var(--white);
}

.feature__text > p {
  font-size: 15px;
  color: var(--silver);
  line-height: 1.75;
  margin-bottom: 28px;
  font-weight: 300;
}

.feature__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature__list li {
  font-size: 14px;
  color: var(--cloud);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 300;
}

.feature__list li::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Feature Mockups */
.feature__mockup {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-lg);
  padding: 28px;
}

/* Calendar mockup */
.fm-calendar__head {
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: 16px;
  color: var(--white);
}

.fm-calendar__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.fm-day { min-height: 80px; }

.fm-day__label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--silver);
  margin-bottom: 6px;
}

.fm-shift {
  padding: 5px 8px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fm-shift small { font-weight: 300; opacity: 0.7; }

.fm-shift--a { background: rgba(74,111,165,0.2); color: #8BB0D6; }
.fm-shift--b { background: rgba(74,124,89,0.2); color: #8BC49C; }
.fm-shift--c { background: rgba(139,115,85,0.2); color: #C4A87A; }
.fm-shift--d { background: rgba(155,77,77,0.15); color: #C98888; }

/* Invoice mockup */
.fm-invoice {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: var(--r-md);
  padding: 24px;
}

.fm-invoice__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 16px;
}

.fm-invoice__logo {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: var(--r-sm);
  margin-bottom: 4px;
  opacity: 0.6;
}

.fm-invoice__brand {
  display: block;
  font-size: 11px;
  color: var(--silver);
}

.fm-invoice__id {
  font-size: 11px;
  color: var(--silver);
}

.fm-invoice__row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--cloud);
}

.fm-invoice__row--head {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--silver);
  font-weight: 500;
}

.fm-invoice__total {
  display: flex;
  justify-content: space-between;
  padding: 14px 0 0;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--white);
}

/* Profile mockup */
.fm-profile {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: var(--r-md);
  padding: 24px;
}

.fm-profile__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.fm-profile__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(139,115,85,0.15);
  color: var(--accent-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 13px;
}

.fm-profile__info strong {
  display: block;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}

.fm-profile__info span {
  font-size: 11px;
  color: var(--silver);
}

.fm-profile__badge {
  margin-left: auto;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  background: var(--green-bg);
  color: var(--green);
  border-radius: 3px;
}

.fm-profile__stat {
  margin-bottom: 16px;
}

.fm-profile__stat-head {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 8px;
}

.fm-profile__stat-head span:first-child { color: var(--silver); }
.fm-profile__stat-head span:last-child { color: var(--white); font-weight: 600; font-family: var(--serif); font-size: 14px; }

.fm-profile__bar {
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 6px;
}

.fm-profile__fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
}

.fm-profile__detail {
  font-size: 11px;
  color: var(--silver);
}

.fm-profile__tabs {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 12px;
}

.fm-profile__tabs span {
  padding: 6px 14px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--silver);
}

.fm-profile__tabs span.active {
  color: var(--accent-text);
  border-bottom: 1px solid var(--accent);
}

/* Workers mockup */
.fm-workers {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fm-worker {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: var(--r-md);
}

.fm-worker__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 12px;
  color: var(--cloud);
  flex-shrink: 0;
}

.fm-worker__detail { flex: 1; min-width: 0; }
.fm-worker__detail strong { display: block; font-size: 13px; font-weight: 600; color: var(--white); }
.fm-worker__detail span { font-size: 11px; color: var(--silver); }

.fm-worker__tags { display: flex; gap: 4px; }

.fm-tag--ok, .fm-tag--warn {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 2px;
  white-space: nowrap;
}

.fm-tag--ok { background: var(--green-bg); color: var(--green); }
.fm-tag--warn { background: var(--amber-bg); color: var(--amber); }

/* Brands mockup */
.fm-brands {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fm-brand {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.04);
}

.fm-brand__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bc);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}

.fm-brand__circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}

.fm-brand__body { padding: 14px; }

.fm-brand__line {
  height: 6px;
  background: rgba(255,255,255,0.04);
  border-radius: 3px;
  margin-bottom: 6px;
}
.fm-brand__line.w60 { width: 60%; }
.fm-brand__line.w80 { width: 80%; }

.fm-brand__btn {
  width: 70px;
  height: 24px;
  background: var(--bc);
  border-radius: 3px;
  opacity: 0.4;
  margin-top: 4px;
}

/* Chat mockup */
.fm-chat {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fm-msg {
  display: flex;
  gap: 10px;
  max-width: 85%;
}

.fm-msg--out {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.fm-msg__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(139,115,85,0.15);
  color: var(--accent-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  flex-shrink: 0;
}

.fm-msg__content {
  padding: 12px 16px;
  border-radius: var(--r-md);
  font-size: 13px;
  line-height: 1.5;
}

.fm-msg--in .fm-msg__content {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--cloud);
}

.fm-msg--out .fm-msg__content {
  background: var(--accent);
  color: var(--white);
}

.fm-msg__name {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--cloud);
  margin-bottom: 4px;
}

.fm-msg__content p { margin: 0; }

.fm-msg__time {
  display: block;
  font-size: 10px;
  opacity: 0.4;
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════════
   BRANDED
   ═══════════════════════════════════════════════════════════════ */
.branded {
  padding: var(--section-pad) 0;
  background: var(--ivory);
}

.branded__layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.branded__content-col h2 {
  margin-bottom: 24px;
}

.branded__intro {
  font-size: 16px;
  color: var(--stone);
  line-height: 1.75;
  margin-bottom: 40px;
  font-weight: 300;
}

.branded__points {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.branded__point h4 {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.branded__point p {
  font-size: 14px;
  color: var(--stone);
  line-height: 1.65;
  font-weight: 300;
}

/* Phone */
.branded__phone {
  display: flex;
  justify-content: center;
}

.branded__phone-frame {
  width: 280px;
  background: var(--charcoal);
  border-radius: 40px;
  padding: 10px;
  box-shadow:
    0 40px 80px -20px rgba(0,0,0,0.2),
    0 0 0 1px rgba(0,0,0,0.08);
}

.branded__phone-notch {
  width: 100px;
  height: 24px;
  background: var(--charcoal);
  border-radius: 0 0 16px 16px;
  margin: -10px auto 0;
}

.branded__phone-screen {
  background: var(--white);
  border-radius: 30px;
  overflow: hidden;
  margin-top: -12px;
}

.branded__app-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
  background: var(--charcoal);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
}

.branded__app-logo-circle {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(255,255,255,0.15);
}

.branded__app-body {
  padding: 20px;
}

.branded__app-greeting {
  font-family: var(--serif);
  font-size: 18px;
  margin-bottom: 16px;
  color: var(--charcoal);
}

.branded__app-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
}

.branded__app-metric {
  padding: 14px;
  background: var(--cream);
  border-radius: var(--r-md);
  text-align: center;
}

.branded__app-metric span {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--stone);
  margin-bottom: 4px;
}

.branded__app-metric strong {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--charcoal);
}

.branded__app-section-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--silver);
  margin-bottom: 10px;
  font-weight: 500;
}

.branded__app-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  border-top: 1px solid var(--mist);
  font-size: 12px;
}

.branded__app-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 5px;
  flex-shrink: 0;
}

.branded__app-row strong {
  font-size: 12px;
  font-weight: 600;
}

.branded__app-row small {
  color: var(--stone);
  font-size: 11px;
}

/* ═══════════════════════════════════════════════════════════════
   COMPARISON
   ═══════════════════════════════════════════════════════════════ */
.compare {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.compare .section-head {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.compare .section-head__sub {
  margin-left: auto;
  margin-right: auto;
}

.compare__table {
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--r-md);
  overflow: hidden;
}

.compare__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.compare__row:last-child { border-bottom: none; }

.compare__row span {
  padding: 16px 24px;
  font-size: 14px;
}

.compare__row--head {
  background: var(--cream);
}

.compare__row--head span {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--stone);
}

.compare__row--head span:last-child {
  color: var(--charcoal);
}

.compare__row span:first-child {
  font-weight: 600;
  color: var(--charcoal);
}

.compare__row span:nth-child(2) {
  color: var(--silver);
  border-left: 1px solid rgba(0,0,0,0.04);
}

.compare__yes {
  color: var(--charcoal) !important;
  font-weight: 500;
  background: rgba(139,115,85,0.03);
  border-left: 1px solid rgba(0,0,0,0.04);
}

.compare .section-cta {
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════════
   MIGRATION
   ═══════════════════════════════════════════════════════════════ */
.migration {
  padding: var(--section-pad) 0;
  background: var(--ivory);
}

.migration__layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.migration__text h2 {
  margin-bottom: 20px;
}

.migration__text > p {
  font-size: 16px;
  color: var(--stone);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 36px;
}

.migration__steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.migration__step {
  padding-left: 20px;
  border-left: 1px solid var(--mist);
}

.migration__step h4 {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.migration__step p {
  font-size: 14px;
  color: var(--stone);
  line-height: 1.65;
  font-weight: 300;
}

/* Before/After */
.migration__visual {
  display: flex;
  align-items: center;
  gap: 24px;
}

.migration__before, .migration__after { flex: 1; }

.migration__label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--silver);
  margin-bottom: 12px;
}

.migration__label--after { color: var(--accent); }

.migration__item {
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 400;
  margin-bottom: 5px;
}

.migration__item--old {
  background: var(--soft-red-bg);
  color: var(--soft-red);
  border: 1px solid rgba(155,77,77,0.06);
}

.migration__item--new {
  background: var(--charcoal);
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
}

.migration__item--detail {
  background: var(--accent-light);
  color: var(--accent);
  font-size: 12px;
  padding: 8px 14px;
}

.migration__arrow {
  color: var(--cloud);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════════════════ */
.pricing {
  padding: var(--section-pad) 0;
  background: var(--charcoal);
  color: var(--white);
}

.pricing .overline { color: var(--accent-text); }

.pricing__layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.pricing__text h2 {
  margin-bottom: 20px;
  color: var(--white);
}

.pricing__text > p {
  font-size: 16px;
  color: var(--silver);
  line-height: 1.75;
  font-weight: 300;
}

.pricing__card-inner {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-lg);
  padding: 44px;
}

.pricing__plan-label {
  font-family: var(--serif);
  font-size: 18px;
  margin-bottom: 32px;
  color: var(--white);
}

.pricing__amounts {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.pricing__primary-price,
.pricing__setup-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pricing__dollar {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--white);
}

.pricing__dollar--sm { font-size: 22px; }

.pricing__number {
  font-family: var(--serif);
  font-size: 64px;
  line-height: 1;
  color: var(--white);
  letter-spacing: -0.03em;
}

.pricing__number--sm { font-size: 40px; }

.pricing__meta {
  font-size: 13px;
  color: var(--silver);
  margin-left: 6px;
  line-height: 1.5;
}

.pricing__gst {
  font-size: 11px;
  color: var(--stone);
}

.pricing__separator {
  width: 1px;
  height: 56px;
  background: rgba(255,255,255,0.08);
}

.pricing__includes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 32px;
}

.pricing__include {
  font-size: 13px;
  color: var(--cloud);
  padding-left: 16px;
  position: relative;
  font-weight: 300;
}

.pricing__include::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

.pricing__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing .btn--primary {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
}
.pricing .btn--primary:hover {
  background: var(--cream);
  border-color: var(--cream);
}

.pricing .btn--ghost {
  color: var(--silver);
  border-color: rgba(255,255,255,0.1);
}
.pricing .btn--ghost:hover {
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}

/* ═══════════════════════════════════════════════════════════════
   ONBOARDING
   ═══════════════════════════════════════════════════════════════ */
.onboarding {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.onboarding .section-head {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.onboarding .section-head__sub {
  margin-left: auto;
  margin-right: auto;
}

.onboarding__timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 0;
}

.onboarding__step {
  padding: 36px 32px;
  background: var(--white);
}

.onboarding__marker {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--accent-text);
  margin-bottom: 16px;
}

.onboarding__step h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.onboarding__step p {
  font-size: 14px;
  color: var(--stone);
  line-height: 1.65;
  font-weight: 300;
}

.onboarding .section-cta {
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════════
   GROWTH
   ═══════════════════════════════════════════════════════════════ */
.growth {
  padding: var(--section-pad) 0;
  background: var(--ivory);
}

.growth__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.growth__text h2 {
  margin-bottom: 20px;
}

.growth__text > p {
  font-size: 16px;
  color: var(--stone);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 24px;
}

.growth__points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.growth__points li {
  font-size: 14px;
  color: var(--stone);
  padding-left: 16px;
  position: relative;
  font-weight: 300;
}

.growth__points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

/* Chart */
.growth__chart {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  height: 220px;
  padding: 20px 32px 0;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: var(--r-md);
}

.growth__bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
}

.growth__bar-val {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.growth__bar {
  width: 100%;
  max-width: 56px;
  height: var(--h);
}

.growth__bar-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--accent) 0%, rgba(139,115,85,0.3) 100%);
  border-radius: var(--r-sm) var(--r-sm) 0 0;
}

.growth__bar-label {
  font-size: 11px;
  color: var(--silver);
  margin-top: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}

.growth__chart-note {
  text-align: center;
  font-size: 13px;
  color: var(--silver);
  margin-top: 16px;
}

/* ═══════════════════════════════════════════════════════════════
   DEMO BOOKING
   ═══════════════════════════════════════════════════════════════ */
.demo {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.demo__layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.demo__text h2 {
  margin-bottom: 20px;
}

.demo__intro {
  font-size: 16px;
  color: var(--stone);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 36px;
}

.demo__details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.demo__detail {
  padding-left: 20px;
  border-left: 1px solid var(--mist);
}

.demo__detail strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.demo__detail span {
  font-size: 13px;
  color: var(--stone);
  font-weight: 300;
}

.demo__quote {
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.6;
  padding: 24px;
  border-left: 2px solid var(--accent);
  background: var(--cream);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}

.demo__quote cite {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 12px;
  color: var(--silver);
  margin-top: 10px;
  letter-spacing: 0.02em;
}

/* Embed */
.demo__embed {
  min-height: 520px;
  background: var(--cream);
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.demo__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 72px 40px;
  height: 100%;
  min-height: 520px;
  color: var(--stone);
}

.demo__placeholder svg {
  color: var(--cloud);
  margin-bottom: 20px;
}

.demo__placeholder p {
  font-size: 15px;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.demo__placeholder span {
  font-size: 13px;
  color: var(--silver);
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════════ */
.contact {
  padding: var(--section-pad) 0;
  background: var(--ivory);
}

.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact__intro h2 {
  margin-bottom: 20px;
}

.contact__intro > p {
  font-size: 16px;
  color: var(--stone);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 36px;
}

.contact__aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact__aside-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: var(--r-md);
}

.contact__aside-card h4 {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.contact__aside-card p {
  font-size: 13px;
  color: var(--stone);
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 14px;
}

.contact__aside-card p:last-child { margin-bottom: 0; }

/* Form */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact__field label {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--stone);
}

.contact__field label span {
  color: var(--soft-red);
}

.contact__field input,
.contact__field select,
.contact__field textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 0;
  transition: border-color var(--t-base);
  outline: none;
}

.contact__field input:focus,
.contact__field select:focus,
.contact__field textarea:focus {
  border-color: var(--accent);
}

.contact__field input::placeholder,
.contact__field textarea::placeholder {
  color: var(--cloud);
  font-weight: 300;
}

.contact__field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23999' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.contact__field textarea {
  resize: vertical;
  min-height: 100px;
}

/* Success */
.contact__success {
  text-align: center;
  padding: 60px 40px;
}

.contact__success h3 {
  margin-bottom: 8px;
}

.contact__success p {
  font-size: 15px;
  color: var(--stone);
  font-weight: 300;
}

/* ═══════════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════════ */
.faq {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.faq__layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.faq__head h2 {
  margin-bottom: 0;
}

.faq__list {
  border-top: 1px solid rgba(0,0,0,0.06);
}

.faq__item {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  list-style: none;
  user-select: none;
  color: var(--charcoal);
}

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

.faq__item summary svg {
  flex-shrink: 0;
  transition: transform var(--t-base);
  color: var(--silver);
}

.faq__item[open] summary svg {
  transform: rotate(180deg);
}

.faq__item p {
  padding: 0 0 22px;
  font-size: 14px;
  color: var(--stone);
  line-height: 1.75;
  font-weight: 300;
}

/* ═══════════════════════════════════════════════════════════════
   FINAL CTA
   ═══════════════════════════════════════════════════════════════ */
.final-cta {
  padding: var(--section-pad) 0;
  background: var(--charcoal);
  color: var(--white);
}

.final-cta__inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.final-cta__inner h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 36px;
  color: var(--white);
}

.final-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer {
  padding: 64px 0 0;
  background: var(--black);
  color: var(--silver);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 3fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer__logo {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--white);
  display: block;
  margin-bottom: 12px;
}

.footer__brand p {
  font-size: 13px;
  color: var(--stone);
  line-height: 1.6;
  font-weight: 300;
}

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

.footer__col h4 {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--stone);
  margin-bottom: 18px;
}

.footer__col a {
  display: block;
  font-size: 13px;
  color: var(--silver);
  padding: 3px 0;
  transition: color var(--t-base);
  font-weight: 300;
}

.footer__col a:hover {
  color: var(--white);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 12px;
  color: var(--stone);
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal a {
  color: var(--stone);
  transition: color var(--t-base);
  font-size: 12px;
}

.footer__legal a:hover { color: var(--silver); }

/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .mockup__stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .mockup__nav {
    width: 140px;
  }

  .benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .onboarding__timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 72px;
  }

  .container {
    padding: 0 20px;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(250,249,247,0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 20px 32px;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }

  .nav__links.active {
    display: flex;
  }

  .nav__toggle {
    display: flex;
  }

  .hero {
    padding-top: 120px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .mockup__nav { display: none; }
  .mockup__stats { grid-template-columns: 1fr 1fr; }

  .mockup__row {
    grid-template-columns: 1fr 1fr;
    gap: 2px;
  }
  .mockup__row span:nth-child(3),
  .mockup__row span:nth-child(4) { display: none; }
  .mockup__row--head span:nth-child(3),
  .mockup__row--head span:nth-child(4) { display: none; }

  .benefits__grid {
    grid-template-columns: 1fr;
  }

  .feature,
  .feature--reverse {
    grid-template-columns: 1fr;
    gap: 40px;
    direction: ltr;
  }

  .branded__layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .compare__row {
    grid-template-columns: 0.7fr 1fr 1fr;
  }

  .compare__row span {
    padding: 12px 14px;
    font-size: 12px;
  }

  .migration__layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .migration__visual {
    flex-direction: column;
  }

  .migration__arrow {
    transform: rotate(90deg);
  }

  .pricing__layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .pricing__amounts {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .pricing__separator {
    width: 100%;
    height: 1px;
  }

  .pricing__includes {
    grid-template-columns: 1fr;
  }

  .onboarding__timeline {
    grid-template-columns: 1fr;
  }

  .growth__layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .demo__layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact__layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact__row {
    grid-template-columns: 1fr;
  }

  .faq__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .final-cta__actions {
    flex-direction: column;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__links {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .feature {
    margin-bottom: 72px;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .pricing__card-inner { padding: 28px 20px; }

  .footer__links {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   FINAL POLISH
   ═══════════════════════════════════════════════════════════════ */

/* ── Focus-visible accessibility ── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

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

/* ── Nav hamburger to X animation ── */
.nav__links.active ~ .nav__toggle span:first-child,
.nav__toggle.is-open span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav__links.active ~ .nav__toggle span:last-child,
.nav__toggle.is-open span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ── Hero entry animation ── */
.hero__overline,
.hero__title,
.hero__subtitle,
.hero__actions {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 0.8s var(--ease) forwards;
}

.hero__overline  { animation-delay: 0.1s; }
.hero__title     { animation-delay: 0.25s; }
.hero__subtitle  { animation-delay: 0.4s; }
.hero__actions   { animation-delay: 0.55s; }

.hero__mockup {
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeIn 1s var(--ease) 0.7s forwards;
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Trust logo hover ── */
.trust__logo {
  transition: all var(--t-base);
}

.trust__logo:hover {
  color: var(--charcoal);
  border-color: rgba(0,0,0,0.12);
}

/* ── FAQ smooth expand/collapse ── */
.faq__item p {
  overflow: hidden;
  animation: faqClose 0.3s var(--ease);
}

.faq__item[open] p {
  animation: faqOpen 0.35s var(--ease);
}

@keyframes faqOpen {
  from {
    opacity: 0;
    max-height: 0;
    padding-bottom: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    max-height: 200px;
    transform: translateY(0);
  }
}

@keyframes faqClose {
  from {
    opacity: 1;
    max-height: 200px;
  }
  to {
    opacity: 0;
    max-height: 0;
    padding-bottom: 0;
  }
}

/* ── Comparison table — stronger Treemed column ── */
.compare__yes {
  position: relative;
}

.compare__row:first-child .compare__yes,
.compare__row--head span:last-child {
  font-weight: 700;
}

.compare__row:not(.compare__row--head) .compare__yes {
  background: rgba(139,115,85,0.06);
}

/* ── Contact success polish ── */
.contact__success {
  text-align: center;
  padding: 60px 40px;
}

.contact__success h3 {
  color: var(--green);
  margin-bottom: 12px;
}

.contact__success p {
  font-size: 15px;
  color: var(--stone);
  font-weight: 300;
  max-width: 360px;
  margin: 0 auto;
}

/* ── Back to top button ── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--t-base);
  z-index: 900;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent);
  border-color: var(--accent);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}

/* ── Reduced motion preference ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__overline,
  .hero__title,
  .hero__subtitle,
  .hero__actions,
  .hero__mockup {
    opacity: 1;
    transform: none;
  }
}

/* ── Smooth selection on dark sections ── */
.features ::selection,
.pricing ::selection,
.final-cta ::selection,
.footer ::selection {
  background: var(--accent);
  color: var(--white);
}

/* ── Button active/pressed state ── */
.btn:active {
  transform: scale(0.98);
}

/* ── Nav CTA subtle pulse on idle (desktop) ── */
@media (min-width: 769px) {
  .nav__cta {
    position: relative;
  }
}
