/* =====================================================
   Flowta — marketing site styles
   Single file. Vanilla CSS. No build step.
   ===================================================== */

:root {
  /* Tokens (match the app's Classic Sky theme) */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --bg: #ffffff;
  --bg-soft: #fafbfc;
  --bg-cream: #faf7f2;
  --surface: #f4f5f7;
  --text: #111418;
  --text-muted: #6b7280;
  --text-subtle: #9ca3af;
  --border: rgba(17, 20, 24, 0.10);
  --border-soft: rgba(17, 20, 24, 0.08);
  --divider: rgba(17, 20, 24, 0.06);

  --primary: #3b82f6;
  --primary-soft: rgba(59, 130, 246, 0.08);
  --primary-deep: #1d4ed8;

  --overdue: #dc2626;
  --soon: #d97706;
  --watch-overdue: #f87171;
  --watch-escalate: #fb923c;
  --watch-soon: #fbbf24;
  --watch-waiting: #94a3b8;
  --watch-accent: #f97316;

  --radius-card: 14px;
  --radius-card-lg: 28px;
  --radius-pill: 999px;
  --shadow-card: 0 1px 2px rgba(17, 20, 24, 0.04);
  --shadow-lifted: 0 24px 60px rgba(17, 20, 24, 0.12), 0 6px 16px rgba(17, 20, 24, 0.06);

  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

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

html, body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 880px) {
  .container { padding: 0 40px; }
}

/* ----------------- shared section pieces ----------------- */
.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
  font-family: var(--font-mono);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0 0 18px;
  color: var(--text);
}

.section-lede {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 0 56px;
}

/* shared dot — used everywhere */
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 4px;
  flex-shrink: 0;
}

/* ----------------- reveal-on-scroll ----------------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ===========================================================
   NAV
   =========================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--divider);
}
.nav__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.nav__logo {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(10, 14, 39, 0.25);
}
.nav__links {
  gap: 28px;
  font-size: 14px;
  color: var(--text-muted);
}
.nav__links a {
  transition: color 0.2s var(--ease);
}
.nav__links a:hover { color: var(--text); }

/* Mobile: links collapse into a dropdown panel under the header */
@media (max-width: 879.98px) {
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 8px 20px 16px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid var(--divider);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s var(--ease);
  }
  .nav__links.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav__links a {
    padding: 12px 2px;
    font-size: 15px;
    border-bottom: 1px solid var(--divider);
  }
  .nav__links a:last-child { border-bottom: none; }
}

.nav__actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--divider);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s var(--ease);
}
.nav__toggle:hover { background: rgba(0, 0, 0, 0.04); }
.nav__toggle svg { width: 18px; height: 18px; }
.nav__toggle-close { display: none; }
.nav__toggle[aria-expanded="true"] .nav__toggle-open { display: none; }
.nav__toggle[aria-expanded="true"] .nav__toggle-close { display: inline; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--text);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.nav__cta:hover {
  transform: translateY(-1px);
  background: #000;
}

@media (min-width: 880px) {
  .nav__links { display: inline-flex; }
  .nav__toggle { display: none; }
}

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  position: relative;
  padding: 80px 0 100px;
  background: var(--bg);
  overflow: hidden;
}
.hero::before {
  /* soft sky gradient corner */
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.10), transparent 60%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
@media (min-width: 880px) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 80px; }
  .hero { padding: 120px 0 140px; }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  background: var(--surface);
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
}
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse-dot 2.6s var(--ease) infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); }
}

.hero__title {
  font-size: clamp(40px, 6.5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.032em;
  line-height: 1.04;
  margin: 0 0 24px;
  color: var(--text);
}

.hero__sub {
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 0 36px;
}
.hero__sub em {
  font-style: italic;
  color: var(--text);
  font-weight: 500;
}

.hero__cta-row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.app-store-badge {
  display: inline-block;
  transition: transform 0.2s var(--ease), filter 0.2s var(--ease);
}
.app-store-badge svg {
  width: 140px;
  height: auto;
  display: block;
}
.app-store-badge:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}
.app-store-badge--lg svg {
  width: 180px;
}
.app-store-badge--soon { cursor: default; opacity: 0.92; }
.app-store-badge--soon:hover { transform: none; filter: none; }

.hero__cta-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--text-muted);
}
.hero__cta-note svg {
  color: var(--primary);
}

/* hero phone */
.hero__phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero__phone {
  position: relative;
  width: 100%;
  max-width: 330px;
  transform: rotate(-2deg);
  transition: transform 0.6s var(--ease);
}
@media (min-width: 880px) {
  .hero__phone { max-width: 360px; }
}
.hero__phone:hover { transform: rotate(0deg) translateY(-4px); }

.phone-frame {
  background: #ffffff;
  border-radius: 36px;
  padding: 0;
  box-shadow: var(--shadow-lifted);
  border: 1px solid rgba(17, 20, 24, 0.06);
  overflow: hidden;
  position: relative;
}
.phone-shadow {
  position: absolute;
  bottom: -30px;
  left: 12%;
  right: 12%;
  height: 36px;
  background: radial-gradient(ellipse at center, rgba(17, 20, 24, 0.18), transparent 70%);
  filter: blur(14px);
  z-index: -1;
}

.phone-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px 8px;
  font-size: 13px;
  font-weight: 500;
}
.phone-statusbar__notch {
  width: 90px;
  height: 22px;
  background: var(--text);
  border-radius: 12px;
}
.phone-statusbar__icons {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text);
}

.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 14px 22px 0;
}
.phone-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.phone-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}
.phone-plus {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

.phone-tabs {
  display: flex;
  gap: 18px;
  padding: 18px 22px 0;
  border-bottom: 1px solid var(--divider);
}
.phone-tab {
  background: transparent;
  border: none;
  padding: 10px 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.phone-tab--active {
  font-weight: 600;
  color: var(--text);
  border-bottom: 2px solid var(--primary);
  margin-bottom: -1px;
}
.phone-tab span {
  font-size: 9px;
  font-family: var(--font-mono);
  color: var(--text-muted);
}
.phone-tab--active span {
  color: var(--primary);
  background: var(--primary-soft);
  padding: 1px 5px;
  border-radius: var(--radius-pill);
}
.phone-tab__attn {
  color: var(--watch-accent) !important;
  background: rgba(249, 115, 22, 0.10);
  padding: 1px 5px;
  border-radius: var(--radius-pill);
  font-weight: 500;
}

.phone-body {
  padding: 16px 14px 18px;
}

.phone-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
.phone-stat {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 11px 12px;
}
.phone-stat--urgent {
  padding-left: 15px;
  box-shadow: inset 3px 0 0 var(--overdue);
}
.phone-stat__label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.phone-stat--urgent .phone-stat__label { color: var(--overdue); }
.phone-stat__num {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 3px;
}
.phone-stat__num span {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 3px;
}
.phone-stat__bar {
  height: 3px;
  background: rgba(17, 20, 24, 0.06);
  border-radius: var(--radius-pill);
  margin-top: 7px;
  overflow: hidden;
}
.phone-stat__fill {
  width: 40%;
  height: 100%;
  background: var(--primary);
  border-radius: var(--radius-pill);
}
.phone-stat__cap {
  font-size: 9px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  margin-top: 5px;
}

.phone-task {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  padding: 10px 12px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.phone-task--overdue { padding-left: 15px; box-shadow: inset 3px 0 0 var(--overdue); }
.phone-task--soon { padding-left: 15px; box-shadow: inset 3px 0 0 var(--soon); }
.phone-task--done { background: var(--surface); border-color: transparent; }

.phone-check {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(17, 20, 24, 0.20);
  flex-shrink: 0;
}
.phone-check--done {
  background: var(--primary);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-task__main { flex: 1; min-width: 0; }
.phone-task__title {
  font-size: 12.5px;
  font-weight: 500;
}
.phone-task__title--done {
  color: rgba(17, 20, 24, 0.50);
  text-decoration: line-through;
}
.phone-task__meta {
  font-size: 9.5px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  margin-top: 2px;
}
.phone-today-chip {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--primary);
  text-transform: uppercase;
  background: var(--primary-soft);
  padding: 2px 6px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

/* ===========================================================
   SECTION — THREE KINDS
   =========================================================== */
.three {
  padding: 100px 0;
  background: var(--bg-soft);
}
.three__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 16px;
}
@media (min-width: 720px) {
  .three__grid { grid-template-columns: repeat(3, 1fr); }
}

.kind {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  padding: 32px 28px 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.kind:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lifted);
}
.kind__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.kind__icon--task { background: rgba(59, 130, 246, 0.10); color: var(--primary); }
.kind__icon--repeating { background: rgba(59, 130, 246, 0.10); color: var(--primary); }
.kind__icon--watchlist { background: rgba(249, 115, 22, 0.12); color: var(--watch-accent); }
.kind__icon svg { width: 24px; height: 24px; }

.kind h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.kind__new {
  font-size: 9px;
  font-weight: 600;
  color: var(--watch-accent);
  background: rgba(249, 115, 22, 0.10);
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.kind p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 24px;
}
.kind p em { color: var(--text); font-style: italic; font-weight: 500; }

.kind__demo {
  padding-top: 16px;
  border-top: 1px solid var(--divider);
}
.mini-task {
  background: var(--surface);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.mini-task--soon {
  padding-left: 14px;
  box-shadow: inset 3px 0 0 var(--soon);
  background: #fff;
  border: 1px solid var(--border-soft);
}
.mini-check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(17, 20, 24, 0.20);
  flex-shrink: 0;
}
.mini-title {
  font-size: 13px;
  font-weight: 500;
}
.mini-meta {
  font-size: 10px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-top: 2px;
}

.mini-watch {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 11px 13px 11px 16px;
  box-shadow: inset 3px 0 0 var(--watch-escalate);
}
.mini-watch__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.mini-pill {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #c2410c;
  background: rgba(251, 146, 60, 0.16);
  padding: 3px 7px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  flex-shrink: 0;
}

/* ===========================================================
   SECTION — WATCHLIST DEEP DIVE
   =========================================================== */
.watchlist-section {
  padding: 110px 0;
  background: var(--bg);
}
.watchlist-section__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
}
@media (min-width: 880px) {
  .watchlist-section__grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
  }
}

.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.bullet-list li {
  padding: 12px 0 12px 28px;
  border-top: 1px solid var(--divider);
  position: relative;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
}
.bullet-list li:last-child { border-bottom: 1px solid var(--divider); }
.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 19px;
  width: 16px;
  height: 1px;
  background: var(--text-muted);
}
.bullet-list strong {
  color: var(--text);
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

.watchlist-board {
  background: var(--surface);
  border-radius: 22px;
  padding: 24px 20px;
}
.watchlist-board__group { margin-bottom: 20px; }
.watchlist-board__group:last-child { margin-bottom: 0; }
.watchlist-board__header {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0 4px;
  margin-bottom: 9px;
}
.watchlist-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.watchlist-board__count {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0;
}

.watchlist-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 13px 15px;
  margin-bottom: 8px;
}
.watchlist-card:last-child { margin-bottom: 0; }
.watchlist-card--overdue { box-shadow: inset 3px 0 0 var(--watch-overdue); padding-left: 18px; }
.watchlist-card--escalate { box-shadow: inset 3px 0 0 var(--watch-escalate); padding-left: 18px; }
.watchlist-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}
.watchlist-card--waiting .watchlist-card__head { margin-bottom: 0; }
.watchlist-card__title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}
.watchlist-card__subject {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 3px;
}
.watchlist-card__subject strong { color: var(--text); font-weight: 500; }
.watchlist-card__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
.watchlist-card__grid-label {
  font-size: 9px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.watchlist-card__grid-value {
  font-size: 11px;
  margin-top: 2px;
}

.status-pill {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}
.status-pill--overdue { color: #b91c1c; background: rgba(248, 113, 113, 0.13); }
.status-pill--escalate { color: #c2410c; background: rgba(251, 146, 60, 0.14); }
.status-pill--waiting { color: #475569; background: rgba(148, 163, 184, 0.18); }

/* ===========================================================
   SECTION — DUAL (Projects + Areas)
   =========================================================== */
.dual {
  padding: 110px 0;
  background: var(--bg-soft);
}
.dual__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 16px;
}
@media (min-width: 720px) {
  .dual__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

.dual__half {
  background: #fff;
  border-radius: 22px;
  padding: 30px;
  border: 1px solid var(--border-soft);
}
.dual__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  color: var(--text-muted);
  text-transform: uppercase;
  font-family: var(--font-mono);
  margin-bottom: 22px;
}
.dual__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dual__chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.dual__chip .dot {
  width: 9px;
  height: 9px;
  margin: 0;
}
.dual__chip--area {
  background: var(--surface);
  border: none;
}

.dual__example {
  margin-top: 40px;
  text-align: center;
}
.dual__example-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text-subtle);
  text-transform: uppercase;
  font-family: var(--font-mono);
  margin-bottom: 14px;
}
.dual__example-card {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 16px 22px;
  text-align: left;
  box-shadow: var(--shadow-card);
}
.dual__example-row {
  display: flex;
  align-items: center;
  gap: 11px;
}
.dual__example-check {
  width: 17px; height: 17px;
  border-radius: 50%;
  border: 1.5px solid rgba(17, 20, 24, 0.20);
}
.dual__example-title {
  font-size: 14px;
  font-weight: 500;
}
.dual__example-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  padding-left: 28px;
}
.example-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--surface);
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 500;
}
.example-tag .dot {
  width: 6px; height: 6px; margin: 0;
}
.example-tag--project {
  background: rgba(219, 39, 119, 0.10);
  color: #be185d;
}

/* ===========================================================
   SECTION — BELL STATES
   =========================================================== */
.bells {
  padding: 110px 0;
  background: var(--bg);
}
.bells__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 720px) {
  .bells__grid { grid-template-columns: repeat(3, 1fr); }
}

.bell-card {
  background: var(--surface);
  border-radius: 18px;
  padding: 28px 26px;
}
.bell-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--text-muted);
  position: relative;
}
.bell-card__pulse {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
  animation: pulse-ring 2s var(--ease) infinite;
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.45); }
  70% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

.bell-card__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  color: var(--text);
  margin-bottom: 10px;
}
.bell-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ===========================================================
   SECTION — PRIVACY
   =========================================================== */
.privacy {
  padding: 110px 0;
  background: var(--bg-cream);
}
.privacy__inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.privacy__eyebrow { display: inline-block; }
.privacy .section-title { max-width: 720px; margin-left: auto; margin-right: auto; }
.privacy .section-lede { margin-left: auto; margin-right: auto; }

.privacy__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
  text-align: left;
}
@media (min-width: 720px) {
  .privacy__grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}

.privacy__cell {
  background: #ffffff;
  border-radius: 18px;
  padding: 26px 26px 24px;
  border: 1px solid rgba(17, 20, 24, 0.05);
}
.privacy__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  margin-bottom: 14px;
}
.privacy__cell h4 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.privacy__cell p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.privacy__cta-row {
  margin-top: 36px;
}
.ghost-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  background: #fff;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.ghost-link:hover {
  background: var(--surface);
}

/* ===========================================================
   SECTION — THEMES
   =========================================================== */
.themes {
  padding: 110px 0;
  background: var(--bg);
}
.themes__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 720px) {
  .themes__grid { grid-template-columns: repeat(3, 1fr); }
}

.theme-card {
  background: var(--theme-bg, #fff);
  color: var(--theme-text, var(--text));
  border-radius: 18px;
  padding: 24px 22px;
  border: 1px solid var(--border-soft);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease);
}
.theme-card:hover { transform: translateY(-3px); }
.theme-card--dark { border-color: rgba(255, 255, 255, 0.08); }

.theme-card__swatch {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--theme-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 18px;
}

.theme-card__name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.theme-card__font {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--theme-text);
  opacity: 0.55;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.theme-card__tier {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--text-muted);
}
.theme-card--dark .theme-card__tier {
  background: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.7);
}
.theme-card__tier--plus {
  background: var(--theme-primary);
  color: #fff;
  opacity: 0.95;
}

/* ===========================================================
   SECTION — ECOSYSTEM
   =========================================================== */
.ecosystem {
  padding: 110px 0;
  background: var(--bg-soft);
}
.ecosystem__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 720px) {
  .ecosystem__grid { grid-template-columns: repeat(3, 1fr); }
}

.ecosystem__cell {
  background: #fff;
  border-radius: 18px;
  padding: 32px 28px;
  border: 1px solid var(--border-soft);
  text-align: left;
}
.ecosystem__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  margin-bottom: 18px;
}
.ecosystem__icon svg { width: 30px; height: 30px; }
.ecosystem__name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.ecosystem__cell p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ===========================================================
   SECTION — FAQ
   =========================================================== */
.faq {
  padding: 110px 0;
  background: var(--bg);
}
.faq__list {
  max-width: 760px;
  margin: 0 auto;
}
.faq__item {
  border-bottom: 1px solid var(--divider);
  padding: 4px 0;
}
.faq__item:first-of-type { border-top: 1px solid var(--divider); }

.faq__item summary {
  cursor: pointer;
  padding: 22px 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--text-muted);
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
  transition: transform 0.3s var(--ease);
}
.faq__item[open] summary::after {
  content: '−';
}
.faq__item p {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 640px;
}

/* ===========================================================
   SECTION — CTA
   =========================================================== */
.cta {
  padding: 120px 0;
  background: var(--bg-soft);
  text-align: center;
}
.cta__inner {
  max-width: 640px;
  margin: 0 auto;
}
.cta__title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 14px;
}
.cta__sub {
  font-size: 17px;
  color: var(--text-muted);
  margin: 0 0 36px;
}

/* ===========================================================
   FOOTER
   =========================================================== */
.footer {
  background: var(--text);
  color: #fff;
  padding: 56px 0 40px;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  text-align: center;
}
@media (min-width: 720px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
}
.footer__logo {
  width: 26px; height: 26px;
  border-radius: 7px;
  object-fit: cover;
}
.footer__links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  flex-wrap: wrap;
  justify-content: center;
}
.footer__links a {
  transition: color 0.2s var(--ease);
}
.footer__links a:hover { color: #fff; }

.footer__copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

/* ===========================================================
   LEGAL PAGE STYLES (privacy.html, terms.html, support.html)
   =========================================================== */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 24px 100px;
}
.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 36px;
  transition: color 0.2s var(--ease);
}
.legal__back:hover { color: var(--text); }

.legal__eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
  font-family: var(--font-mono);
  margin-bottom: 14px;
}
.legal h1 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 12px;
}
.legal__updated {
  font-size: 13px;
  color: var(--text-subtle);
  margin: 0 0 48px;
  font-family: var(--font-mono);
}
.legal h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 48px 0 14px;
  line-height: 1.25;
}
.legal h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 28px 0 10px;
}
.legal p, .legal li {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
}
.legal p { margin: 0 0 16px; }
.legal ul { padding-left: 22px; margin: 0 0 18px; }
.legal li { margin-bottom: 8px; }
.legal strong { font-weight: 600; }
.legal a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--primary-deep); }

.legal__callout {
  background: var(--surface);
  border-radius: 12px;
  padding: 18px 22px;
  font-size: 15px;
  line-height: 1.6;
  margin: 24px 0;
}
.legal__callout strong { display: block; margin-bottom: 4px; }
