/* ==========================================================================
   AskFrankie V2 Design System
   Editorial luxury meets high-velocity CRM engineering.
   ========================================================================== */

@font-face {
  font-family: "Familjen Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/familjen-grotesk-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/newsreader-italic-latin.woff2") format("woff2");
}

:root {
  --bg: #F7F6F2;
  --surface: #EFEFE9;
  --surface-subtle: #F2F1EC;
  --ink: #111215;
  --slate: #4E5057;
  --mist: #8E9097;
  --hairline: #E1E0D7;
  --hairline-dark: #CDCCC2;
  
  --blue: #2B3BE0;
  --blue-hover: #202DB8;
  --blue-soft: #ECEEFC;
  --blue-text: #1C29BC;

  --emerald: #147D4E;
  --emerald-bg: #E8F6EF;

  --amber: #B45309;
  --amber-bg: #FEF3C7;

  --font-sans: "Familjen Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Newsreader", Georgia, serif;

  --section-pad: clamp(5.5rem, 10vw, 9.5rem);
  --section-pad-sm: clamp(3.5rem, 6vw, 5.5rem);
  --wrap: 76rem;
  --wrap-narrow: 56rem;
  --wrap-wide: 88rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  background-color: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--bg);
}

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

a {
  color: inherit;
  text-decoration: none;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.86em;
  background: var(--surface-subtle);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 0.05em 0.35em;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Container Wrappers */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.wrap-wide {
  max-width: var(--wrap-wide);
}

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

/* Typography Utilities */
.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mist);
  margin-bottom: 1.25rem;
}

.eyebrow--blue {
  color: var(--blue);
}

.eyebrow--emerald {
  color: var(--emerald);
}

.h1-hero {
  font-size: clamp(2.75rem, 7.5vw, 6.25rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 1.75rem;
}

.h2-section {
  font-size: clamp(2.2rem, 4.8vw, 3.75rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.h3-card {
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.lede {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.45;
  color: var(--slate);
  letter-spacing: -0.015em;
  max-width: 42em;
}

.body-text {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--slate);
}

.caption-text {
  font-size: 0.875rem;
  color: var(--mist);
  line-height: 1.4;
}

/* Header & Navigation */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 246, 242, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hairline);
  transition: border-color 0.2s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
}

.wordmark-svg {
  height: 1.35rem;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate);
  transition: color 0.15s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--ink);
}

.nav-link.active {
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: #FFFFFF;
}

.btn-primary:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--hairline-dark);
}

.btn-secondary:hover {
  background: #E8E7DF;
  border-color: var(--ink);
}

.btn-ghost {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--hairline);
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--surface-subtle);
}

.btn-sm {
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1.1rem 1.85rem;
  font-size: 1.0625rem;
}

/* Sections */
.section {
  padding-block: var(--section-pad);
  position: relative;
}

.section--surface {
  background: var(--surface);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.section-head {
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-head--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-head--center .lede {
  margin-inline: auto;
}

/* Hero Section */
.hero-v2 {
  padding-top: clamp(3.5rem, 7vw, 6.5rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  border-bottom: 1px solid var(--hairline);
  position: relative;
}

.hero-v2-grid {
  display: grid;
  grid-template-columns: minmax(0, 7.5fr) minmax(0, 4.5fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.hero-v2-copy {
  max-width: 48rem;
}

.hero-v2-aside {
  border-left: 2px solid var(--blue);
  padding-left: 1.75rem;
  padding-block: 0.5rem;
}

.hero-v2-aside p {
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.hero-v2-aside .meta-tag {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--mist);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-v2-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.hero-v2-visual {
  margin-top: 1.5rem;
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(0,0,0,0.07);
  background: var(--surface);
}

.hero-v2-visual img {
  width: 100%;
  display: block;
}

/* Audience Path Picker */
.path-selector-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: 2rem;
}

.path-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(2rem, 4vw, 3rem);
  background: #FFFFFF;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  transition: all 0.25s var(--ease-out);
  position: relative;
  text-decoration: none;
}

.path-card:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
  box-shadow: 0 16px 32px -12px rgba(0,0,0,0.08);
}

.path-card-badge {
  align-self: flex-start;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.path-card-badge--agency {
  background: var(--blue-soft);
  color: var(--blue-text);
}

.path-card-badge--biz {
  background: var(--emerald-bg);
  color: var(--emerald);
}

.path-card-badge--solo {
  background: var(--amber-bg);
  color: var(--amber);
}

.path-card--static {
  cursor: default;
}
.path-card--static:hover {
  transform: none;
  border-color: var(--hairline-dark);
  box-shadow: none;
}

.path-card-note {
  font-size: 0.8125rem;
  color: var(--mist);
  margin-top: -1rem;
  margin-bottom: 1.25rem;
}

/* Plans */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.plan-card {
  background: #FFFFFF;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: clamp(1.75rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
}
.plan-card--featured {
  border-color: var(--ink);
  box-shadow: 0 16px 32px -16px rgba(0,0,0,0.1);
}
.plan-card-name {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0.5rem 0 0.65rem;
}
.plan-card p {
  font-size: 0.9375rem;
  color: var(--slate);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}
.plan-card ul {
  list-style: none;
  margin-top: auto;
}
.plan-card li {
  font-size: 0.875rem;
  color: var(--slate);
  padding: 0.4rem 0 0.4rem 1.15rem;
  position: relative;
  border-top: 1px solid var(--hairline);
}
.plan-card li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--mist);
}
.plan-card li:first-child {
  border-top: none;
}

.connect-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  background: #FFFFFF;
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-md);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  margin-top: 3rem;
}
.connect-panel h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0.4rem 0 0.75rem;
}
.connect-panel p {
  font-size: 1rem;
  color: var(--slate);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.connect-steps {
  list-style: none;
}
.connect-steps li {
  font-size: 0.9rem;
  color: var(--slate);
  padding: 0.55rem 0;
  border-top: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  gap: 0.5rem;
}
.connect-steps li:first-child { border-top: none; }
.connect-steps strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.75rem;
  color: var(--blue);
  font-weight: 700;
}

.path-card h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.path-card p {
  color: var(--slate);
  font-size: 1.0625rem;
  line-height: 1.55;
  margin-bottom: 2rem;
}

.path-card-features {
  list-style: none;
  margin-bottom: 2rem;
  border-top: 1px solid var(--hairline);
  padding-top: 1.25rem;
}

.path-card-features li {
  font-size: 0.9375rem;
  color: var(--slate);
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.path-card-features li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--mist);
}

.path-card-cta {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   Interactive Mode Switcher (The 3 Ways to Work)
   ========================================================================== */
.modes-console {
  background: #FFFFFF;
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 24px 48px -18px rgba(0,0,0,0.06);
}

.modes-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--hairline);
  background: var(--surface-subtle);
}

.mode-tab {
  padding: 1.5rem 1.75rem;
  text-align: left;
  border-right: 1px solid var(--hairline);
  background: transparent;
  transition: all 0.2s ease;
  position: relative;
}

.mode-tab:last-child {
  border-right: none;
}

.mode-tab:hover {
  background: #FFFFFF;
}

.mode-tab.active {
  background: #FFFFFF;
}

.mode-tab.active::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue);
}

.mode-tab-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.mode-tab-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-pill);
}

.tag-chat { background: #E5E7EB; color: #374151; }
.tag-work { background: var(--emerald-bg); color: var(--emerald); }
.tag-creative { background: #F3E8FF; color: #7E22CE; }

.mode-tab-desc {
  font-size: 0.875rem;
  color: var(--slate);
  line-height: 1.4;
}

.mode-panel {
  display: none;
  padding: clamp(2rem, 4vw, 3.5rem);
}

.mode-panel.active {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.mode-panel-copy h3 {
  font-size: clamp(1.75rem, 2.8vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.mode-panel-copy p {
  font-size: 1.125rem;
  color: var(--slate);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.mode-panel-spec {
  list-style: none;
  border-top: 1px solid var(--hairline);
  padding-top: 1.25rem;
}

.mode-panel-spec li {
  font-size: 0.9375rem;
  color: var(--ink);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.mode-panel-spec li strong {
  color: var(--blue);
  font-weight: 600;
}

.mode-panel-preview {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

/* Chat bubble styling */
.chat-window {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.chat-bubble {
  max-width: 92%;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.chat-bubble--user {
  align-self: flex-end;
  background: var(--ink);
  color: #FFFFFF;
  border-bottom-right-radius: 2px;
}

.chat-bubble--frankie {
  align-self: flex-start;
  background: #FFFFFF;
  color: var(--ink);
  border: 1px solid var(--hairline);
  border-bottom-left-radius: 2px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.chat-bubble--frankie p + p {
  margin-top: 0.75rem;
}

.chat-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.chat-approval-card {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  background: var(--surface-subtle);
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-sm);
}

.chat-approval-title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--emerald);
  margin-bottom: 0.4rem;
}

.chat-approval-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.9rem;
}

/* ==========================================================================
   Full Platform Pillars (Agency & Business Depth)
   ========================================================================== */
.pillar-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  padding-block: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--hairline);
}

.pillar-row:last-child {
  border-bottom: none;
}

.pillar-row--flip {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.pillar-row--flip .pillar-media {
  order: -1;
}

.pillar-copy {
  display: flex;
  flex-direction: column;
}

.pillar-num {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.pillar-copy h3 {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
}

.pillar-copy p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--slate);
  margin-bottom: 1.5rem;
}

.pillar-points {
  list-style: none;
}

.pillar-points li {
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.98rem;
  color: var(--ink);
  margin-bottom: 0.75rem;
  line-height: 1.45;
}

.pillar-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.pillar-media {
  background: var(--surface);
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 16px 36px -12px rgba(0,0,0,0.06);
}

.pillar-media img {
  width: 100%;
  display: block;
}

.pillar-media--phone {
  max-width: 24rem;
  margin-inline: auto;
  border-radius: 36px;
  border: 6px solid #1C1D22;
  box-shadow: 0 24px 48px -12px rgba(0,0,0,0.18);
}

/* ==========================================================================
   Scheduled Automations Ledger Table
   ========================================================================== */
.ledger-table-wrap {
  background: #FFFFFF;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.ledger-header {
  padding: 1.5rem 2rem;
  background: var(--surface-subtle);
  border-bottom: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ledger-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ledger-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid var(--hairline);
}

.ledger-item {
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  transition: background 0.15s ease;
}

.ledger-item:nth-child(odd) {
  border-right: 1px solid var(--hairline);
}

.ledger-item:hover {
  background: var(--surface-subtle);
}

.ledger-item-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
}

.ledger-item-sched {
  font-size: 0.8125rem;
  color: var(--mist);
  font-weight: 500;
}

/* ==========================================================================
   Everywhere You Work (Hardware / Device Grid)
   ========================================================================== */
.device-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 3rem;
}

.device-cell {
  background: #FFFFFF;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.device-cell-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 1rem;
}

.device-cell h4 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.device-cell p {
  font-size: 0.875rem;
  color: var(--slate);
  line-height: 1.5;
}

/* ==========================================================================
   Architecture & Trust Grid
   ========================================================================== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: 3rem;
}

.trust-card {
  padding: 2rem;
  background: #FFFFFF;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
}

.trust-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.trust-card p {
  font-size: 0.98rem;
  color: var(--slate);
  line-height: 1.55;
}

/* ==========================================================================
   Quote Banner
   ========================================================================== */
.quote-v2 {
  padding-block: clamp(4rem, 8vw, 6.5rem);
  background: var(--ink);
  color: #FFFFFF;
}

.quote-v2-inner {
  max-width: 52rem;
  margin-inline: auto;
  text-align: center;
}

.quote-v2 blockquote p {
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.quote-v2 cite {
  font-style: normal;
  font-weight: 600;
  font-size: 1.1rem;
  display: block;
}

.quote-v2 .quote-role {
  font-size: 0.9375rem;
  color: var(--mist);
}

/* ==========================================================================
   Final CTA Banner
   ========================================================================== */
.cta-v2 {
  padding-block: clamp(5rem, 10vw, 8.5rem);
  text-align: center;
  border-top: 1px solid var(--hairline);
}

.cta-v2-inner {
  max-width: 44rem;
  margin-inline: auto;
}

.cta-v2 h2 {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.cta-v2 p {
  font-size: 1.25rem;
  color: var(--slate);
  margin-bottom: 2.5rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding-block: 3.5rem;
  background: var(--bg);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-meta {
  font-size: 0.875rem;
  color: var(--mist);
}

.footer-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--slate);
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--ink);
}

/* ==========================================================================
   Animations & Reveals
   ========================================================================== */
.hero-v2-copy,
.hero-v2-aside,
.hero-v2-visual {
  opacity: 1;
  transform: none;
}

[data-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.js [data-reveal]:not(.is-revealed) {
  opacity: 0;
  transform: translateY(16px);
}

.js [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal], .hero-v2-copy, .hero-v2-aside, .hero-v2-visual {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 68rem) {
  .hero-v2-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-v2-aside {
    border-left: none;
    border-top: 2px solid var(--blue);
    padding-left: 0;
    padding-top: 1.25rem;
  }
  .mode-panel.active {
    grid-template-columns: 1fr;
  }
  .device-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .device-strip .device-cell:last-child {
    grid-column: span 2;
  }
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 52rem) {
  .path-selector-grid,
  .plan-grid,
  .connect-panel {
    grid-template-columns: 1fr;
  }
  .modes-tabs {
    grid-template-columns: 1fr;
  }
  .mode-tab {
    border-right: none;
    border-bottom: 1px solid var(--hairline);
  }
  .pillar-row, .pillar-row--flip {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .pillar-row--flip .pillar-media {
    order: 0;
  }
  .ledger-grid {
    grid-template-columns: 1fr;
  }
  .ledger-item:nth-child(odd) {
    border-right: none;
  }
  .device-strip {
    grid-template-columns: 1fr;
  }
  .device-strip .device-cell:last-child {
    grid-column: span 1;
  }
}

/* ==========================================================================
   Legal Documents (.doc)
   ========================================================================== */
.doc-head {
  padding-top: clamp(6rem, 12vh, 9rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--hairline);
}
.doc-head h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  letter-spacing: -0.03em;
  margin-block: 0.5rem 0.75rem;
}
.doc-meta {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8125rem;
  color: var(--mist);
}

.doc {
  max-width: 46rem;
  padding-block: clamp(2.5rem, 5vw, 4.5rem) 6rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
}
.doc > p { margin-bottom: 1.25em; max-width: 65ch; }
.doc > p em { font-family: var(--font-serif); }

.doc h2 {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 2.75em 0 0.9em;
  padding-top: 1.5em;
  border-top: 1px solid var(--hairline);
}
.doc h2:first-of-type { margin-top: 1.5em; }
.doc h2 .clause { color: var(--mist); font-weight: 500; margin-right: 0.5em; }

.doc h3 {
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  margin: 1.75em 0 0.5em;
}

.doc ul, .doc ol {
  margin: 0 0 1.25em 1.5em;
  max-width: 62ch;
}
.doc li { margin-bottom: 0.5em; padding-left: 0.35em; }
.doc li::marker { color: var(--mist); }

.doc strong { font-weight: 600; }
.doc a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.doc a:hover { color: var(--blue-hover); }

.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0 2em;
  font-size: 0.9375rem;
}
.doc th, .doc td {
  text-align: left;
  vertical-align: top;
  padding: 0.75em 1em 0.75em 0;
  border-bottom: 1px solid var(--hairline);
}
.doc th {
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mist);
  border-bottom-color: var(--ink);
}
.doc td:first-child { font-weight: 600; white-space: nowrap; }

.doc hr { border: none; border-top: 1px solid var(--hairline); margin: 2.5em 0 0; }

.doc-contact {
  margin-top: 3em;
  padding-top: 1.5em;
  border-top: 1px solid var(--hairline);
  color: var(--slate);
}

.ph {
  background: color-mix(in srgb, #E0B748 18%, transparent);
  border-bottom: 1px dashed #B8912E;
  border-radius: 2px;
  padding-inline: 0.15em;
  font-weight: 500;
  white-space: nowrap;
}

