/* ==============================================
   SIMPLE LEAVE — WEBSITE STYLESHEET
   Shared across all pages. No inline styles.
   Fonts are loaded via <head> preconnect + link.
   ============================================== */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Brand greens */
  --green-900: #152e24;
  --green-800: #1f4e3d;
  --green-700: #2d6a52;
  --green-500: #4caf82;
  --green-200: #c6e0d4;
  --green-100: #e8f0ec;
  --green-50:  #f2f7f4;

  /* Orange accent */
  --orange:    #d4622a;
  --orange-lt: #fbeee7;

  /* Backgrounds */
  --cream:     #f7f4ef;
  --paper:     #fdfcf9;

  /* Ink / text */
  --ink-900:   #1a1a18;
  --ink-700:   #3a3a36;
  --ink-500:   #6a6a62;
  --ink-300:   #9a9a90;
  --ink-100:   #e2ddd5;
  --ink-50:    #ede9e2;

  /* Typography */
  --font-head: 'Raleway', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Border radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(26,26,24,.06), 0 4px 12px rgba(26,26,24,.06);
  --shadow-md: 0 2px 6px rgba(26,26,24,.07), 0 8px 28px rgba(26,26,24,.08);
  --shadow-lg: 0 4px 24px rgba(26,26,24,.10);
}

/* --- Base Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink-900);
  background: #fff;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: var(--font-body); }

/* Screen-reader only utility */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ==============================================
   NAVIGATION
   ============================================== */
.nav {
  background: #fff;
  border-bottom: 1px solid var(--ink-100);
  padding: 0 64px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow .2s;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(26,26,24,.08); }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-height: 44px;
}
.nav-logo-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 19px;
  color: var(--ink-900);
  letter-spacing: -0.2px;
}

.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-500);
  transition: color .14s;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.nav-links a:hover { color: var(--ink-900); }

/* Support dropdown */
.nav-dropdown { position: relative; display: flex; align-items: center; }

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-500);
  font-family: var(--font-body);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  min-height: 44px;
  transition: color .14s;
}
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.open { color: var(--ink-900); }

.nav-dropdown-chevron { transition: transform .15s; flex-shrink: 0; }
.nav-dropdown-toggle.open .nav-dropdown-chevron { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--paper);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  min-width: 210px;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s, transform .15s, visibility 0s .15s;
  z-index: 200;
}
.nav-dropdown-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity .15s, transform .15s, visibility 0s 0s;
}
.nav-dropdown-menu a {
  display: block;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-700);
  transition: background .1s, color .1s;
}
.nav-dropdown-menu a:hover {
  background: var(--green-100);
  color: var(--green-800);
}
.nav-dropdown-divider {
  height: 1px;
  background: var(--ink-100);
  margin: 5px 0;
}

/* Mobile support group */
.nav-mobile-support-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-300);
  padding: 8px 0 2px;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-login {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-500);
  padding: 8px 12px;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: color .14s;
}
.nav-login:hover { color: var(--green-800); }

.nav-btn {
  padding: 9px 22px;
  border-radius: var(--radius-sm);
  background: var(--green-800);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
  transition: background .14s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
}
.nav-btn:hover { background: var(--green-700); }

/* Hamburger button */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink-700);
  border-radius: 2px;
  transition: all .2s;
}

/* Mobile navigation drawer */
.nav-mobile {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--ink-100);
  padding: 20px 24px 28px;
  flex-direction: column;
  gap: 4px;
  z-index: 99;
  box-shadow: 0 8px 32px rgba(26,26,24,.10);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-700);
  border-radius: var(--radius-sm);
  transition: background .14s;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.nav-mobile a:hover { background: var(--green-100); color: var(--green-800); }

.nav-mobile-cta {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nav-mobile-cta a {
  text-align: center;
  padding: 13px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 14px;
  justify-content: center;
}
.nav-mobile-cta .m-login {
  border: 1px solid var(--ink-100);
  color: var(--ink-700);
}
.nav-mobile-cta .m-cta {
  background: var(--green-800);
  color: #fff;
}

/* ==============================================
   HERO
   ============================================== */
.hero {
  background: #fff;
  padding: 80px 64px 80px;
  text-align: left;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 680px);
  gap: 48px;
  align-items: center;
  justify-content: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(76,175,130,.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  min-width: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-lt);
  border: 1px solid rgba(212,98,42,.2);
  border-radius: 24px;
  padding: 6px 16px;
  margin-bottom: 30px;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
}
.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 2s ease infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.75); }
}

.hero-h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 60px;
  line-height: 1.05;
  letter-spacing: -2.5px;
  color: var(--ink-900);
  margin-bottom: 24px;
}
.hero-h1 span { color: var(--green-800); }

.hero-sub {
  font-size: 18px;
  color: var(--ink-500);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 0 44px;
}

.hero-form-wrap { max-width: 480px; margin: 0 0 14px; }

.hero-form {
  display: flex;
  gap: 6px;
  background: #fff;
  border: 1.5px solid var(--ink-100);
  border-radius: var(--radius-md);
  padding: 6px 6px 6px 18px;
  box-shadow: 0 4px 24px rgba(26,26,24,.09), 0 1px 3px rgba(26,26,24,.05);
  transition: border-color .14s, box-shadow .14s;
}
.hero-form:focus-within {
  border-color: var(--green-500);
  box-shadow: 0 4px 24px rgba(26,26,24,.09), 0 0 0 3px rgba(76,175,130,.12);
}
.hero-form input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink-900);
  outline: none;
  min-width: 0;
  padding: 6px 0;
}
.hero-form input::placeholder { color: var(--ink-300); }

.hero-form-btn {
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  background: var(--green-800);
  border: none;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  white-space: nowrap;
  transition: background .14s;
  flex-shrink: 0;
  min-height: 44px;
}
.hero-form-btn:hover { background: var(--green-700); }

.hero-form-note {
  font-size: 12.5px;
  color: var(--ink-300);
  margin-bottom: 36px;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  margin-bottom: 0;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  color: var(--ink-500);
  font-weight: 500;
}
.hero-trust-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-trust-div {
  width: 1px;
  height: 16px;
  background: var(--ink-100);
}

/* --- App Window Mockup --- */
.hero-app {
  min-width: 0;
  background: var(--cream);
  border: 1px solid var(--ink-100);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.app-chrome {
  background: var(--paper);
  border-bottom: 1px solid var(--ink-100);
  padding: 11px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.chrome-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}
.chrome-dot-red    { background: #ff5f57; }
.chrome-dot-yellow { background: #febc2e; }
.chrome-dot-green  { background: #28c840; }

.chrome-bar {
  flex: 1;
  background: var(--cream);
  border: 1px solid var(--ink-100);
  border-radius: 5px;
  height: 24px;
  margin: 0 8px;
  display: flex;
  align-items: center;
  padding: 0 12px;
}
.chrome-url { font-size: 11.5px; color: var(--ink-300); font-family: var(--font-body); }

.app-body { display: flex; height: 420px; }

/* Screenshot variant — no fixed height, image fills the frame */
.hero-app-screenshot { display: block; height: auto; overflow: hidden; }
.hero-app-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: top left;
}

/* Sidebar */
.app-sb {
  width: 150px;
  background: var(--green-800);
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
}
.app-sb-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 13px;
  color: #fff;
  padding: 4px 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 6px;
}
.app-sb-item {
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  position: relative;
  font-family: var(--font-body);
}
.app-sb-item.active {
  background: rgba(255,255,255,.12);
  color: #fff;
  font-weight: 600;
}
.app-sb-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 18px;
  background: var(--green-500);
  border-radius: 0 3px 3px 0;
}
.app-sb-section {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,.22);
  padding: 10px 10px 4px;
}

/* App main content area */
.app-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.app-topbar {
  background: var(--paper);
  border-bottom: 1px solid var(--ink-100);
  padding: 0 20px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.app-topbar-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17px;
  color: var(--ink-900);
  letter-spacing: -0.2px;
}
.app-topbar-btn {
  background: var(--green-800);
  color: #fff;
  border-radius: 7px;
  padding: 6px 14px;
  font-size: 11.5px;
  font-weight: 600;
  font-family: var(--font-body);
}
.app-content {
  padding: 18px 20px;
  background: var(--cream);
  flex: 1;
  overflow: hidden;
}
.app-content-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  color: var(--ink-900);
  letter-spacing: -0.3px;
  margin-bottom: 4px;
}
.app-content-sub {
  font-size: 11px;
  color: var(--ink-300);
  margin-bottom: 16px;
  font-weight: 500;
}

.app-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink-100);
  border: 1px solid var(--ink-100);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 14px;
}
.app-summary-cell { background: var(--paper); padding: 10px 14px; }
.app-summary-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--ink-300);
  margin-bottom: 3px;
}
.app-summary-val {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  color: var(--ink-900);
  letter-spacing: -0.8px;
  line-height: 1;
}
.app-summary-val small {
  font-size: 11px;
  font-weight: 400;
  color: var(--ink-300);
  letter-spacing: 0;
  font-family: var(--font-body);
}

.app-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.app-card {
  background: var(--paper);
  border: 1px solid var(--ink-100);
  border-radius: 10px;
  padding: 11px 13px;
  position: relative;
  overflow: hidden;
}
.app-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--green-500);
  border-radius: 10px 10px 0 0;
}
.app-card.card-orange::before { background: var(--orange); }
.app-card.card-muted::before  { background: var(--ink-100); }

.app-card-title {
  font-size: 8.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--ink-300);
  margin-bottom: 5px;
}
.app-card-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 26px;
  color: var(--ink-900);
  line-height: 1;
  letter-spacing: -0.5px;
}
.app-card-num.num-orange { color: var(--orange); }
.app-card-sub { font-size: 8.5px; color: var(--ink-300); margin-top: 2px; }
.app-card-bar {
  height: 3px;
  background: var(--green-100);
  border-radius: 2px;
  margin-top: 9px;
  overflow: hidden;
}
.app-card-fill { height: 100%; background: var(--green-500); border-radius: 2px; }
.app-card-fill.fill-orange { background: var(--orange); }

/* Static widths for the hero app mockup progress bars */
.fill-31  { width: 31%; }
.fill-25  { width: 25%; }
.fill-100 { width: 100%; }

/* --- App mockup: calendar page --- */
.app-topbar-badge {
  background: var(--green-100);
  color: var(--green-800);
  font-size: 10px;
  font-weight: 700;
  font-family: var(--font-body);
  padding: 3px 9px;
  border-radius: 20px;
  letter-spacing: 0.2px;
}

/* Calendar content area overrides .app-content padding */
.app-cal-content {
  padding: 10px 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

/* Header row + each employee row share the same grid */
.cal-head-row,
.cal-row {
  display: grid;
  grid-template-columns: 62px repeat(14, 1fr);
  gap: 1.5px;
  align-items: center;
}

/* Day header cells */
.cal-day-hdr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}
.cal-day-name {
  font-size: 7px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--ink-300);
}
.cal-day-num {
  font-size: 9px;
  font-weight: 700;
  color: var(--ink-700);
}
.cal-day-hdr.wknd .cal-day-name,
.cal-day-hdr.wknd .cal-day-num {
  color: var(--ink-100);
}

/* Employee name column */
.cal-emp-name {
  font-size: 8.5px;
  font-weight: 500;
  color: var(--ink-700);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 4px;
}
.cal-emp-name.me {
  font-weight: 700;
  color: var(--green-800);
}

/* Leave block cells */
.cal-cell {
  height: 14px;
  border-radius: 2px;
  background: transparent;
}
.cal-cell.al { background: var(--green-500); opacity: 0.85; }
.cal-cell.sk { background: #c9860a; opacity: 0.80; }
.cal-cell.ml { background: var(--orange); opacity: 0.80; }
/* Weekend tint */
.cal-cell.wk { background: var(--ink-50); border-radius: 2px; }

/* Legend */
.cal-legend {
  display: flex;
  gap: 12px;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--ink-100);
}
.cal-legend-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 8px;
  font-weight: 500;
  color: var(--ink-500);
}
.cal-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
}
.dot-al { background: var(--green-500); }
.dot-sk { background: #c9860a; }
.dot-ml { background: var(--orange); }

/* ==============================================
   PROOF BAND
   ============================================== */
.proof-band {
  background: var(--cream);
  border-top: 1px solid var(--ink-100);
  border-bottom: 1px solid var(--ink-100);
  padding: 28px 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.proof-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink-300);
  margin-right: 8px;
  flex-shrink: 0;
}
.proof-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--paper);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-500);
}

/* ==============================================
   SHARED SECTION HEADER COMPONENTS
   ============================================== */
.section-eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--green-500);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 40px;
  letter-spacing: -1px;
  color: var(--ink-900);
  margin-bottom: 14px;
  line-height: 1.1;
}
.section-sub {
  font-size: 16px;
  color: var(--ink-500);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ==============================================
   FEATURES
   ============================================== */
.features {
  padding: 100px 64px;
  background: var(--cream);
}
.features .section-header {
  text-align: center;
  margin-bottom: 56px;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feat-card {
  background: var(--paper);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  transition: box-shadow .2s, transform .2s;
  animation: fadeUp .4s ease both;
}
.feat-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.feat-card:nth-child(1) { animation-delay: .05s; }
.feat-card:nth-child(2) { animation-delay: .10s; }
.feat-card:nth-child(3) { animation-delay: .15s; }
.feat-card:nth-child(4) { animation-delay: .20s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.feat-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 13px;
  color: var(--green-500);
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}
.feat-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink-900);
  margin-bottom: 10px;
  letter-spacing: -0.2px;
  line-height: 1.3;
}
.feat-desc { font-size: 14px; color: var(--ink-500); line-height: 1.65; }

/* ==============================================
   SCREENSHOTS / VIDEOS
   ============================================== */
.screenshots {
  padding: 80px 64px 100px;
  background: var(--cream);
}
.screenshots-header {
  text-align: center;
  margin-bottom: 52px;
}

/* 2×2 tile grid */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Card wrapper */
.ss-item {
  background: var(--paper);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
  animation: fadeUp .45s ease both;
}
.ss-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.ss-item:nth-child(1) { animation-delay: .05s; }
.ss-item:nth-child(2) { animation-delay: .10s; }
.ss-item:nth-child(3) { animation-delay: .15s; }
.ss-item:nth-child(4) { animation-delay: .20s; }

/* Browser chrome bar — reuses same visual pattern as hero .app-chrome */
.ss-chrome {
  background: var(--paper);
  border-bottom: 1px solid var(--ink-100);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ss-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ss-dot-r { background: #ff5f57; }
.ss-dot-y { background: #febc2e; }
.ss-dot-g { background: #28c840; }
.ss-urlbar {
  flex: 1;
  background: var(--cream);
  border: 1px solid var(--ink-100);
  border-radius: 5px;
  height: 22px;
  margin: 0 6px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  overflow: hidden;
}
.ss-urltext {
  font-size: 11px;
  color: var(--ink-300);
  font-family: var(--font-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Video container: sized 16:9, poster shows until play */
.ss-video-wrap {
  position: relative;
  background: var(--ink-900);
  overflow: hidden;
  cursor: pointer;
}
.ss-video {
  width: 100%;
  height: auto;
  display: block;
}

/* Play button overlay */
.ss-play-btn {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.28);
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background .18s;
  /* stays visible as long as video hasn't started */
}
.ss-play-btn:hover { background: rgba(0,0,0,.18); }
.ss-play-btn:focus-visible { outline: 2px solid var(--green-500); outline-offset: -4px; }
.ss-play-btn span {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.2px;
}
/* Hide overlay once video is playing */
.ss-video-wrap.playing .ss-play-btn { display: none; }

.ss-caption {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-500);
  padding: 11px 16px;
  border-top: 1px solid var(--ink-50);
  letter-spacing: 0.1px;
}

@media (max-width: 1024px) {
  .screenshots { padding: 80px 32px 80px; }
}
@media (max-width: 768px) {
  .screenshots       { padding: 56px 20px 64px; }
  .screenshots-grid  { grid-template-columns: 1fr; gap: 16px; }
}

/* ==============================================
   ABOUT / HOW IT WORKS
   ============================================== */
.about {
  padding: 100px 64px;
  background: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about .section-header {
  text-align: left;
  margin-bottom: 44px;
}
.about .section-header .section-sub { margin: 0; }

.about-steps { display: flex; flex-direction: column; gap: 32px; }
.about-step  { display: flex; gap: 20px; align-items: flex-start; }

.about-step-num {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--green-100);
  color: var(--green-800);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about-step-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink-900);
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}
.about-step-desc { font-size: 14px; color: var(--ink-500); line-height: 1.65; }

/* Calendar mockup */
.about-visual {
  background: var(--paper);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about-visual-bar {
  background: var(--green-800);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.about-visual-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: #fff;
}
.about-visual-badge {
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.85);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  font-family: var(--font-body);
}
.about-visual-body { padding: 20px; }
.about-visual-img { width: 100%; height: auto; display: block; object-position: top left; }

.about-cal-header {
  display: grid;
  grid-template-columns: 110px repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 6px;
}
.about-cal-day {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--ink-300);
  text-align: center;
}
.about-cal-row {
  display: grid;
  grid-template-columns: 110px repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 4px;
  align-items: center;
}
.about-cal-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-700);
  padding-right: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-body);
}
.about-cal-name.me { color: var(--green-800); font-weight: 700; }

.about-cal-cell { height: 22px; border-radius: 4px; background: var(--cream); }
.about-cal-cell.leave { background: var(--green-800); }
.about-cal-cell.half  { background: var(--green-700); opacity: .75; }
.about-cal-cell.prnt  { background: var(--orange); }

.about-cal-legend {
  display: flex;
  gap: 16px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--ink-100);
  flex-wrap: wrap;
}
.about-cal-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--ink-500);
  font-family: var(--font-body);
}
.about-cal-legend-dot { width: 20px; height: 8px; border-radius: 3px; }
.legend-annual  { background: var(--green-800); }
.legend-half    { background: var(--green-700); opacity: .75; }
.legend-parental { background: var(--orange); }

/* ==============================================
   PRICING
   ============================================== */
.pricing { padding: 100px 64px; background: var(--cream); }
.pricing .section-header { text-align: center; margin-bottom: 0; }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 20px;
  max-width: 800px;
  margin: 56px auto 0;
}
.price-card {
  background: var(--paper);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-xl);
  padding: 38px 34px;
  transition: box-shadow .2s;
}
.price-card:hover { box-shadow: var(--shadow-lg); }
.price-card.featured {
  background: var(--green-800);
  border-color: var(--green-800);
  box-shadow: 0 8px 40px rgba(31,78,61,.28);
}

.price-tag {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: var(--ink-300);
  margin-bottom: 14px;
}
.price-card.featured .price-tag { color: rgba(255,255,255,.5); }

.price-popular {
  display: inline-block;
  background: var(--green-500);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.price-amount {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 50px;
  color: var(--ink-900);
  letter-spacing: -2.5px;
  line-height: 1;
  margin-bottom: 4px;
}
.price-card.featured .price-amount { color: #fff; }
.price-amount-unit {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-300);
  letter-spacing: 0;
  font-family: var(--font-body);
}
.price-card.featured .price-amount-unit { color: rgba(255,255,255,.5); }

.price-period {
  font-size: 13.5px;
  color: var(--ink-500);
  margin-bottom: 28px;
  line-height: 1.5;
}
.price-card.featured .price-period { color: rgba(255,255,255,.55); }

.price-divider { height: 1px; background: var(--ink-100); margin-bottom: 24px; }
.price-card.featured .price-divider { background: rgba(255,255,255,.12); }

.price-list { display: flex; flex-direction: column; gap: 11px; margin-bottom: 30px; }
.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-700);
  line-height: 1.4;
}
.price-card.featured .price-list li { color: rgba(255,255,255,.85); }
.price-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.price-card.featured .price-check { background: rgba(255,255,255,.15); color: #fff; }

.price-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all .14s;
  min-height: 44px;
  font-family: var(--font-body);
}
.price-cta.dark { background: var(--green-800); color: #fff; }
.price-cta.dark:hover { background: var(--green-700); }
.price-cta.light { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.2); }
.price-cta.light:hover { background: rgba(255,255,255,.25); }

/* --- Pricing comparison table --- */
.pricing-compare {
  max-width: 800px;
  margin: 40px auto 0;
  background: var(--paper);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
}
.compare-table thead tr { background: var(--green-800); }
.compare-table thead th {
  padding: 16px 22px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: rgba(255,255,255,.5);
  text-align: center;
}
.compare-th-feature {
  text-align: left;
  width: 46%;
}
.compare-th-highlight { color: #fff; }

/* Category group row */
.compare-group-row td {
  padding: 8px 22px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--green-700);
  background: var(--green-50);
  border-top: 1px solid var(--ink-100);
  border-bottom: 1px solid var(--ink-100);
}

/* Data rows */
.compare-table tbody tr:not(.compare-group-row):not(.compare-price-row) {
  border-bottom: 1px solid var(--ink-50);
  transition: background .1s;
}
.compare-table tbody tr:not(.compare-group-row):not(.compare-price-row):hover {
  background: var(--cream);
}
.compare-feature {
  padding: 13px 22px;
  font-size: 13.5px;
  color: var(--ink-700);
  text-align: left;
}
.compare-val {
  padding: 13px 22px;
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-700);
  font-weight: 500;
}
.compare-val-hi { background: var(--green-50); }

/* Tick / dash markers */
.compare-tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 10px;
  font-weight: 800;
}
.compare-dash {
  color: var(--ink-100);
  font-size: 18px;
  line-height: 1;
}

/* Price row */
.compare-price-row {
  border-top: 2px solid var(--ink-100);
}
.compare-price-row .compare-feature {
  font-weight: 600;
  color: var(--ink-900);
}
.compare-price-val {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  color: var(--ink-900);
  letter-spacing: -0.5px;
  line-height: 1;
}
.compare-price-sub {
  display: block;
  font-size: 11px;
  color: var(--ink-300);
  font-weight: 400;
  margin-top: 3px;
}

/* ==============================================
   FAQ
   ============================================== */
.faq { padding: 100px 64px; background: #fff; }
.faq-inner { max-width: 800px; margin: 0 auto; }
.faq .section-header { text-align: left; margin-bottom: 40px; }
.faq .section-header .section-sub { margin: 0; }

.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--ink-100); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  cursor: pointer;
  gap: 20px;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  min-height: 44px;
}
.faq-question-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink-900);
  letter-spacing: -0.1px;
  line-height: 1.4;
}
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--ink-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--ink-500);
  flex-shrink: 0;
  transition: all .2s;
  font-weight: 300;
  line-height: 1;
}
.faq-item.open .faq-icon {
  background: var(--green-800);
  border-color: var(--green-800);
  color: #fff;
  transform: rotate(45deg);
}
.faq-answer {
  display: none;
  padding: 0 0 20px;
  font-size: 14.5px;
  color: var(--ink-500);
  line-height: 1.7;
  max-width: 680px;
}
.faq-answer a { color: var(--green-700); text-decoration: underline; }
.faq-item.open .faq-answer { display: block; }

/* ==============================================
   CTA BANNER
   ============================================== */
.cta-banner {
  background: var(--green-800);
  padding: 100px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(76,175,130,.2) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 44px;
  color: #fff;
  letter-spacing: -1.2px;
  margin-bottom: 16px;
  position: relative;
}
.cta-banner-sub {
  font-size: 17px;
  color: rgba(255,255,255,.6);
  margin-bottom: 40px;
  position: relative;
}
.cta-banner-form {
  display: flex;
  gap: 8px;
  max-width: 460px;
  margin: 0 auto 16px;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: var(--radius-md);
  padding: 6px 6px 6px 18px;
  position: relative;
  transition: border-color .14s;
}
.cta-banner-form:focus-within {
  border-color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.12);
}
.cta-banner-form input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 14px;
  color: #fff;
  outline: none;
  min-width: 0;
  padding: 6px 0;
}
.cta-banner-form input::placeholder { color: rgba(255,255,255,.45); }
.cta-banner-form-btn {
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  background: var(--green-500);
  border: none;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background .14s;
  flex-shrink: 0;
  white-space: nowrap;
  min-height: 44px;
}
.cta-banner-form-btn:hover { background: #3d9e70; }
.cta-banner-note {
  font-size: 12.5px;
  color: rgba(255,255,255,.4);
  position: relative;
}

/* ==============================================
   FOOTER
   ============================================== */
.footer { background: var(--green-900); padding: 40px 64px 24px; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-brand-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 19px;
  color: #fff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand-logo-icon {
  width: 30px;
  height: 30px;
  background: var(--green-500);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.footer-brand-desc {
  font-size: 13.5px;
  color: rgba(255,255,255,.38);
  line-height: 1.7;
  max-width: 270px;
}
.footer-col-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  color: rgba(255,255,255,.75);
  margin-bottom: 10px;
  letter-spacing: 0.1px;
}
.footer-col a {
  font-size: 13.5px;
  color: rgba(255,255,255,.38);
  margin-bottom: 4px;
  transition: color .14s;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.footer-col a:hover { color: rgba(255,255,255,.78); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 13px; color: rgba(255,255,255,.28); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
  font-size: 13px;
  color: rgba(255,255,255,.28);
  transition: color .14s;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.footer-legal a:hover { color: rgba(255,255,255,.6); }

/* ==============================================
   404 ERROR PAGE
   ============================================== */
.error-page {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  padding: 80px 24px;
  text-align: center;
}
.error-page-inner { max-width: 480px; width: 100%; }
.error-number {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 120px;
  line-height: 1;
  letter-spacing: -4px;
  color: var(--green-500);
  margin-bottom: 8px;
}
.error-page h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 32px;
  color: var(--ink-900);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.error-page p {
  font-size: 16px;
  color: var(--ink-500);
  line-height: 1.65;
  margin-bottom: 40px;
}
.error-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.error-btn {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 22px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  transition: background .15s, color .15s, border-color .15s;
  cursor: pointer;
  text-decoration: none;
}
.error-btn-primary {
  background: var(--green-800);
  color: #fff;
  border: 1.5px solid var(--green-800);
}
.error-btn-primary:hover { background: var(--green-700); border-color: var(--green-700); }
.error-btn-ghost {
  background: transparent;
  color: var(--ink-700);
  border: 1.5px solid var(--ink-100);
}
.error-btn-ghost:hover { background: var(--green-100); color: var(--green-800); border-color: var(--green-200); }

@media (max-width: 767px) {
  .error-number { font-size: 80px; }
  .error-page h1 { font-size: 24px; }
}

/* ==============================================
   BLOG LISTING PAGE
   ============================================== */
.blog-hero {
  background: var(--cream);
  padding: 72px 64px 56px;
  border-bottom: 1px solid var(--ink-100);
  text-align: center;
}
.blog-hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 16px;
}
.blog-hero h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 42px;
  letter-spacing: -1.5px;
  color: var(--ink-900);
  margin-bottom: 12px;
}
.blog-hero-sub {
  font-size: 16px;
  color: var(--ink-500);
  max-width: 480px;
  margin: 0 auto;
}

.blog-list {
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 32px 96px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.blog-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px 32px;
  align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid var(--ink-100);
  text-decoration: none;
  color: inherit;
}
.blog-card:first-child { border-top: 1px solid var(--ink-100); }

.blog-card-body { min-width: 0; }

.blog-card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--green-700);
  background: var(--green-100);
  border-radius: 20px;
  padding: 3px 10px;
  margin-bottom: 12px;
}

.blog-card-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -.4px;
  color: var(--ink-900);
  margin-bottom: 10px;
  line-height: 1.3;
  transition: color .14s;
}
.blog-card:hover .blog-card-title { color: var(--green-800); }

.blog-card-excerpt {
  font-size: 14.5px;
  color: var(--ink-500);
  line-height: 1.65;
  margin-bottom: 14px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-300);
}
.blog-card-meta-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-200); flex-shrink: 0; }

.blog-card-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--ink-100);
  color: var(--ink-300);
  flex-shrink: 0;
  margin-top: 4px;
  transition: background .14s, border-color .14s, color .14s;
}
.blog-card:hover .blog-card-arrow {
  background: var(--green-800);
  border-color: var(--green-800);
  color: #fff;
}

/* ==============================================
   ARTICLE PAGE
   ============================================== */
.article-breadcrumb {
  padding: 16px 64px;
  background: var(--cream);
  border-bottom: 1px solid var(--ink-100);
  font-size: 13px;
  color: var(--ink-300);
  display: flex;
  align-items: center;
  gap: 8px;
}
.article-breadcrumb a { color: var(--ink-500); transition: color .14s; }
.article-breadcrumb a:hover { color: var(--green-800); }
.article-breadcrumb-sep { font-size: 11px; }

.article-hero {
  background: var(--cream);
  padding: 56px 0 32px;
  border-bottom: 1px solid var(--ink-100);
}
.article-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 64px;
}
.article-hero-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--green-700);
  background: var(--green-100);
  border-radius: 20px;
  padding: 3px 10px;
  margin-bottom: 20px;
}
.article-hero h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 40px;
  letter-spacing: -1.5px;
  color: var(--ink-900);
  line-height: 1.15;
  margin-bottom: 24px;
}
.article-hero-subtitle {
  font-size: 18px;
  color: var(--ink-500);
  line-height: 1.5;
  margin-top: -12px;
  margin-bottom: 20px;
  max-width: 680px;
}
.article-hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-500);
}
.article-hero-meta-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-300); flex-shrink: 0; }
.article-hero-author { font-weight: 600; color: var(--ink-700); }

/* Two-column grid: sidebar left, article right */
.article-page-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 56px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 64px 96px;
  align-items: start;
}

.article-layout {
  min-width: 0; /* prevent grid blowout */
}

/* Sidebar */
.article-sidebar-inner {
  position: sticky;
  top: 86px; /* nav height 70px + 16px gap */
}
.article-sidebar-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-300);
  margin-bottom: 14px;
}
.article-sidebar-list {
  list-style: none;
  padding: 0;
}
.article-sidebar-list li {
  border-bottom: 1px solid var(--ink-100);
}
.article-sidebar-list li:first-child {
  border-top: 1px solid var(--ink-100);
}
.article-sidebar-list a {
  display: block;
  padding: 11px 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-500);
  line-height: 1.45;
  transition: color .14s;
}
.article-sidebar-list a:hover { color: var(--green-800); }
.article-sidebar-list a[aria-current="page"] {
  color: var(--green-800);
  font-weight: 600;
}

/* Sidebar promo card */
.article-sidebar-promo {
  margin-top: 28px;
  background: var(--green-800);
  border-radius: var(--radius-lg);
  padding: 20px 18px 18px;
  text-align: center;
}
.article-sidebar-promo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.article-sidebar-promo-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 6px;
}
.article-sidebar-promo-sub {
  font-size: 12.5px;
  color: rgba(255,255,255,.6);
  line-height: 1.5;
  margin-bottom: 16px;
}
.article-sidebar-promo-btn {
  display: block;
  background: var(--green-500);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: background .14s;
  margin-bottom: 10px;
}
.article-sidebar-promo-btn:hover { background: #3d9b70; }
.article-sidebar-promo-note {
  font-size: 11px;
  color: rgba(255,255,255,.4);
  line-height: 1.4;
}

/* Prose styles */
.article-body { font-size: 16px; line-height: 1.8; color: var(--ink-700); }
.article-body > * + * { margin-top: 20px; }
.article-body h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -.5px;
  color: var(--ink-900);
  margin-top: 48px;
  margin-bottom: 0;
}
.article-body h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
  color: var(--ink-900);
  margin-top: 32px;
  margin-bottom: 0;
}
.article-body p { margin: 0; }
.article-body ul,
.article-body ol {
  padding-left: 22px;
}
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body p + ul,
.article-body p + ol { margin-top: 8px; }
.article-body ul + p,
.article-body ol + p { margin-top: 8px; }
.article-body li { line-height: 1.7; }
.article-body li + li { margin-top: 8px; }
.article-body strong { font-weight: 600; color: var(--ink-900); }
.article-body a { color: var(--green-700); text-decoration: underline; text-underline-offset: 2px; }
.article-body a:hover { color: var(--green-800); }

/* Article tables */
.article-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 8px 0;
  overflow-x: auto;
  display: block;
}
.article-body thead tr { background: var(--green-800); }
.article-body thead th {
  padding: 10px 14px;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  white-space: nowrap;
}
.article-body tbody tr:nth-child(even) { background: var(--green-50); }
.article-body tbody tr:nth-child(odd)  { background: var(--paper); }
.article-body tbody td {
  padding: 10px 14px;
  vertical-align: top;
  border-bottom: 1px solid var(--ink-100);
  color: var(--ink-700);
  line-height: 1.6;
}
.article-body tbody td:first-child { font-weight: 600; color: var(--ink-900); white-space: nowrap; }
/* Summary table sub-rows (recommendation text spanning all columns) */
.article-body tr.table-sub-row td {
  background: var(--cream);
  color: var(--ink-500);
  font-size: 13px;
  font-style: italic;
  padding: 6px 14px 10px;
  border-bottom: 2px solid var(--ink-100);
  font-weight: 400;
  white-space: normal;
}
.article-body tr.table-sub-row td strong { font-style: normal; }
@media (max-width: 767px) {
  .article-body table { font-size: 13px; }
  .article-body thead th,
  .article-body tbody td { padding: 8px 10px; }
}

.article-featured-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin-top: 32px;
  margin-bottom: 8px;
}

.article-callout {
  background: var(--green-50);
  border-left: 3px solid var(--green-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 20px;
  font-size: 15px;
  color: var(--ink-700);
  font-style: italic;
  margin: 32px 0;
}

.article-disclaimer {
  margin-top: 48px;
  padding: 16px 20px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  border: 1px solid var(--ink-100);
  font-size: 13px;
  color: var(--ink-300);
  line-height: 1.6;
}

.article-author-block {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  margin: 48px 0 0;
}
.article-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green-800);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.article-author-name { font-weight: 600; color: var(--ink-900); font-size: 14px; margin-bottom: 2px; }
.article-author-role { font-size: 13px; color: var(--ink-400); }

.article-end-cta {
  background: var(--green-800);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  margin-top: 56px;
  color: #fff;
}
.article-end-cta h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -.5px;
  margin-bottom: 10px;
}
.article-end-cta p {
  font-size: 15px;
  opacity: .8;
  margin-bottom: 24px;
  line-height: 1.6;
}
.article-end-cta-btn {
  display: inline-block;
  background: var(--green-500);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  transition: background .14s;
}
.article-end-cta-btn:hover { background: #3d9b70; }
.article-end-cta-note { font-size: 13px; opacity: .55; margin-top: 12px; }

/* ==============================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================== */
@media (max-width: 1024px) {
  .nav           { padding: 0 32px; }
  .proof-band    { padding: 24px 32px; }
  .features      { padding: 80px 32px; }
  .about         { padding: 80px 32px; gap: 48px; }
  .pricing       { padding: 80px 32px; }
  .faq           { padding: 80px 32px; }
  .cta-banner    { padding: 80px 32px; }
  .footer        { padding: 56px 32px 32px; }

  /* Hero: collapse from side-by-side to stacked */
  .hero          { padding: 72px 32px 0; grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-sub      { margin: 0 auto 44px; }
  .hero-form-wrap { margin: 0 auto 14px; }
  .hero-form-note { text-align: center; }
  .hero-trust    { justify-content: center; margin-bottom: 56px; }
  .hero-app      { border-radius: 16px 16px 0 0; max-width: 720px; margin: 0 auto; box-shadow: 0 -2px 0 var(--ink-100), 0 -8px 48px rgba(26,26,24,.10); }

  .feat-grid     { grid-template-columns: repeat(2, 1fr); }
  .footer-top    { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* ==============================================
   RESPONSIVE — MOBILE (max 768px)
   ============================================== */
@media (max-width: 768px) {
  /* Nav */
  .nav                    { padding: 0 20px; }
  .nav-links,
  .nav-login,
  .nav-btn                { display: none; }
  .nav-hamburger          { display: flex; }

  /* Hero */
  .hero                   { padding: 56px 20px 0; gap: 32px; }
  .hero-h1                { font-size: 38px; letter-spacing: -1.5px; }
  .hero-sub               { font-size: 16px; }
  .hero-form              { flex-direction: column; padding: 8px; }
  .hero-form input        { padding: 10px 12px; }
  .hero-form-btn          { width: 100%; }
  .hero-trust-div         { display: none; }
  .app-body               { height: 300px; }
  .app-sb                 { width: 110px; }

  /* Proof band */
  .proof-band             { padding: 20px; justify-content: flex-start; }

  /* Sections */
  .features,
  .about,
  .pricing,
  .faq,
  .cta-banner             { padding: 64px 20px; }

  .section-title          { font-size: 30px; letter-spacing: -0.5px; }
  .feat-grid              { grid-template-columns: 1fr; }
  .about                  { grid-template-columns: 1fr; gap: 40px; }
  .about-visual           { display: none; }
  .pricing-grid           { grid-template-columns: 1fr; max-width: 440px; }
  .pricing-compare        { overflow-x: auto; }
  .compare-feature,
  .compare-val            { padding: 11px 14px; font-size: 12.5px; }
  .compare-group-row td   { padding: 7px 14px; }
  .cta-banner-title       { font-size: 30px; }
  .cta-banner-form        { flex-direction: column; padding: 8px; }
  .cta-banner-form-btn    { width: 100%; }

  /* Footer */
  .footer                 { padding: 48px 20px 28px; }
  .footer-top             { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom          { flex-direction: column; align-items: flex-start; }

  /* Blog */
  .blog-hero              { padding: 56px 20px 40px; }
  .blog-hero h1           { font-size: 30px; letter-spacing: -0.5px; }
  .blog-list              { padding: 40px 20px 72px; }
  .blog-card              { grid-template-columns: 1fr; }
  .blog-card-arrow        { display: none; }

  /* Article */
  .article-breadcrumb     { padding: 14px 20px; }
  .article-hero           { padding: 36px 0 40px; }
  .article-hero-inner     { padding: 0 20px; }
  .article-hero h1        { font-size: 28px; letter-spacing: -0.5px; }
  .article-page-grid      { grid-template-columns: 1fr; gap: 0; padding: 0 20px 64px; display: block; }
  .article-sidebar        { display: none; }
  .article-body h2        { font-size: 20px; }
  .article-end-cta        { padding: 32px 24px; }
  .article-end-cta h2     { font-size: 22px; }
}

/* ==============================================
   RESPONSIVE — SMALL MOBILE (max 480px)
   ============================================== */
@media (max-width: 480px) {
  .hero-h1                { font-size: 32px; letter-spacing: -1px; }
  .app-sb                 { display: none; }
  .app-cards              { grid-template-columns: 1fr 1fr; }
}

/* ==============================================
   LEGAL PAGES (Privacy Policy, Terms)
   ============================================== */
.legal-hero {
  background: var(--cream);
  padding: 72px 64px 56px;
  border-bottom: 1px solid var(--ink-100);
  text-align: center;
}
.legal-hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 16px;
}
.legal-hero h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 42px;
  letter-spacing: -1.5px;
  color: var(--ink-900);
  margin-bottom: 12px;
}
.legal-hero-meta {
  font-size: 14px;
  color: var(--ink-300);
}

.legal-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 32px 96px;
}
.legal-section { margin-bottom: 40px; }
.legal-section h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink-900);
  margin-bottom: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--ink-100);
  padding-top: 32px;
}
.legal-section p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-700);
  margin-bottom: 14px;
}
.legal-section p:last-child { margin-bottom: 0; }
.legal-section a {
  color: var(--green-700);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-section a:hover { color: var(--green-800); }
.legal-list {
  margin: 12px 0 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-list li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-700);
}

@media (max-width: 768px) {
  .legal-hero       { padding: 56px 20px 40px; }
  .legal-hero h1    { font-size: 30px; letter-spacing: -0.5px; }
  .legal-body       { padding: 48px 20px 72px; }
}
