/* ═══════════════════════════════════════════════════════════════════
   DoneWith.ink — Landing Page (Home view + Topbar)
   Fresh brand identity: navy & teal on white. Clean, trustworthy,
   professional. Logo has a white background — the whole site uses
   a white background so it blends in naturally.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Design Tokens (landing) ── */
:root {
  /* Brand palette */
  --l-primary-navy: #2A4B7C;
  --l-primary-teal: #0BB5C7;
  --l-text-gray: #546E7A;
  --l-bg: #FFFFFF;
  --l-bg-light: #F4F6F8;
  --l-accent-peach: #FF9E80;

  /* Derived surfaces */
  --l-bg-elevated: #FFFFFF;
  --l-surface-hover: #F0F3F7;
  --l-divider: #E0E6ED;

  /* Text */
  --l-ink: #2A4B7C;           /* primary-navy for headings */
  --l-ink-2: #546E7A;         /* text-gray for body */
  --l-ink-3: #78909C;         /* lighter secondary */
  --l-ink-4: #B0BEC5;         /* placeholder */

  /* Brand actions */
  --l-emerald: #0BB5C7;       /* teal for CTAs */
  --l-emerald-hover: #0A9DAE;
  --l-emerald-soft: rgba(11, 181, 199, 0.10);
  --l-violet: #2A4B7C;        /* navy used for privacy accent */
  --l-violet-soft: rgba(42, 75, 124, 0.08);
  --l-amber: #E65100;         /* warning */
  --l-rose: #D32F2F;          /* danger */
  --l-rose-soft: rgba(211, 47, 47, 0.08);

  /* Type */
  --l-font-display: 'Montserrat', system-ui, -apple-system, sans-serif;
  --l-font-body: 'Roboto', system-ui, -apple-system, sans-serif;
  --l-font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

  /* Radii */
  --l-r-sm: 6px;
  --l-r-md: 10px;
  --l-r-lg: 16px;
  --l-r-xl: 24px;

  /* Shadows — clean and restrained */
  --l-shadow-sm: 0 1px 3px rgba(42, 75, 124, 0.06);
  --l-shadow-md: 0 4px 16px rgba(42, 75, 124, 0.08);
  --l-shadow-lg: 0 12px 40px rgba(42, 75, 124, 0.10);

  /* Layout */
  --l-container: 1180px;
  --l-container-narrow: 880px;
}

/* ── Apply tokens to the landing surface only ── */
#topbar,
#view-home {
  --bg: var(--l-bg);
  --bg-elevated: var(--l-bg-elevated);
  --surface: var(--l-bg-elevated);
  --surface-hover: var(--l-surface-hover);
  --surface-active: var(--l-surface-hover);
  --border: var(--l-divider);
  --border-strong: var(--l-ink-3);
  --border-focus: var(--l-primary-teal);
  --text: var(--l-ink);
  --text-secondary: var(--l-ink-2);
  --text-muted: var(--l-ink-3);
  --text-dim: var(--l-ink-4);
  --accent: var(--l-primary-teal);
  --accent-hover: var(--l-emerald-hover);
  --accent-soft: var(--l-emerald-soft);
  --success: var(--l-primary-teal);
  --danger: var(--l-rose);
  font-family: var(--l-font-body);
  color: var(--l-ink);
  background: var(--l-bg);
}

/* Body overrides for the landing view */
body:has(#view-home.view-active) {
  background: var(--l-bg);
  color: var(--l-ink);
}

/* Reset for landing */
#view-home *, #view-home *::before, #view-home *::after {
  box-sizing: border-box;
}
#view-home { padding-top: 0 !important; }
#view-home.view { min-height: auto; }
#view-home.view-active { display: block; }

/* Container utility */
#view-home .container {
  width: 100%;
  max-width: var(--l-container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ═══════════════════════════════════════════════════════════════
   TOPBAR
   ═══════════════════════════════════════════════════════════════ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--l-divider);
  padding: 0;
  height: 80px;
  display: flex;
  align-items: center;
}
.topbar-inner {
  width: 100%;
  max-width: var(--l-container);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--l-ink);
  text-decoration: none;
  font-weight: 700;
}
.brand-mark {
  /* The wordmark has a white background — the white site bg makes it seamless */
  display: block;
  height: auto;
  width: auto;
  max-height: 66px;
  max-width: 100%;
  flex-shrink: 0;
}
.topbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--l-ink-2);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--l-r-sm);
  transition: color 150ms ease, background 150ms ease;
}
.nav-link:hover { color: var(--l-ink); background: var(--l-surface-hover); }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.topbar-menu-btn { display: none; }

/* ── Mobile nav panel ── */
.topbar-mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 24px;
  background: var(--l-bg-elevated);
  border-top: 1px solid var(--l-divider);
}
.topbar-mobile-nav[hidden] { display: none; }
.topbar-mobile-nav:not([hidden]) { display: flex; }
.mobile-nav-link {
  display: block;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--l-ink-2);
  text-decoration: none;
  border-radius: var(--l-r-sm);
  transition: background 150ms ease, color 150ms ease;
}
.mobile-nav-link:hover {
  background: var(--l-surface-hover);
  color: var(--l-ink);
}
.mobile-nav-divider {
  height: 1px;
  background: var(--l-divider);
  margin: 8px 0;
}
@media (max-width: 960px) {
  .topbar-mobile-nav { display: flex; }
  .topbar-mobile-nav[hidden] { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS — landing variants
   ═══════════════════════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--l-primary-teal);
  color: #fff;
  font-family: var(--l-font-body);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--l-primary-teal);
  border-radius: var(--l-r-sm);
  cursor: pointer;
  transition: background 150ms ease, transform 100ms ease, box-shadow 150ms ease;
  box-shadow: 0 1px 0 rgba(42, 75, 124, 0.04);
}
.btn-primary:hover { background: var(--l-emerald-hover); border-color: var(--l-emerald-hover); }
.btn-primary:active { transform: scale(0.98); }
.btn-primary:focus-visible { outline: 2px solid var(--l-primary-teal); outline-offset: 2px; }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: transparent;
  color: var(--l-ink-2);
  font-family: var(--l-font-body);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid transparent;
  border-radius: var(--l-r-sm);
  cursor: pointer;
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease;
}
.btn-ghost:hover { color: var(--l-ink); background: var(--l-surface-hover); }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: transparent;
  color: var(--l-ink-2);
  font-family: var(--l-font-body);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--l-r-sm);
  transition: color 150ms ease;
}
.btn-link:hover { color: var(--l-primary-teal); }
.btn-link svg { transition: transform 200ms ease; }
.btn-link:hover svg { transform: translateY(2px); }

.btn-lg { padding: 14px 24px; font-size: 15px; }
.btn-xl { padding: 18px 32px; font-size: 16px; font-weight: 600; border-radius: 8px; }

.nav-cta { padding: 9px 16px; font-size: 13.5px; }
.nav-trial { color: var(--l-ink-2); font-size: 13px; font-weight: 500; padding: 8px 12px; text-decoration: none; }

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  padding: clamp(60px, 9vw, 120px) 0 clamp(40px, 6vw, 80px);
  overflow: hidden;
}
.hero::before {
  /* Subtle ambient: teal glow top-left, navy glow bottom-right */
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 600px 400px at 0% 0%, rgba(11, 181, 199, 0.06), transparent 60%),
    radial-gradient(ellipse 500px 400px at 100% 100%, rgba(42, 75, 124, 0.04), transparent 60%);
}
.hero-inner {
  position: relative;
  width: 100%;
  max-width: var(--l-container);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-copy { max-width: 640px; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--l-emerald-soft);
  border: 1px solid rgba(11, 181, 199, 0.22);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--l-emerald-hover);
  margin-bottom: 24px;
  font-family: var(--l-font-mono);
  letter-spacing: 0.01em;
}
.kicker-dot {
  width: 6px;
  height: 6px;
  background: var(--l-primary-teal);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(11, 181, 199, 0.18);
  animation: kickerPulse 2.4s ease-in-out infinite;
}
@keyframes kickerPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(11, 181, 199, 0.18); }
  50% { box-shadow: 0 0 0 6px rgba(11, 181, 199, 0.05); }
}
.hero-title {
  font-family: var(--l-font-display);
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--l-primary-navy);
  margin: 0 0 24px;
  text-wrap: balance;
}
.hero-line { display: block; }
.hero-title em {
  font-style: italic;
  font-weight: 600;
  color: var(--l-primary-teal);
  position: relative;
  display: inline-block;
}
.hero-title em::after {
  content: '';
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: -4px;
  height: 6px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 6' preserveAspectRatio='none'><path d='M0 4 Q 25 1 50 3 T 100 2' stroke='%230BB5C7' stroke-width='1.8' fill='none' stroke-linecap='round'/></svg>") no-repeat;
  background-size: 100% 100%;
}
.hero-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--l-ink-2);
  margin: 0 0 32px;
  max-width: 580px;
}
.hero-sub strong { color: var(--l-ink); font-weight: 600; }
.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  color: var(--l-ink-3);
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(11, 181, 199, 0.06);
  border-radius: 999px;
  color: var(--l-ink-2);
  font-weight: 500;
}
.trust-pill svg { color: var(--l-primary-teal); }

/* Hero visual */
.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 480 / 380;
  max-width: 520px;
  margin-left: auto;
}
.hero-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 12px 32px rgba(42, 75, 124, 0.10));
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle at 30% 70%, rgba(42, 75, 124, 0.05), transparent 60%);
  border-radius: 50%;
  z-index: -1;
}

/* ── Delivery channels ── */
.hero-svg .delivery-channels {
  animation: ch-bob 6s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
@keyframes ch-bob {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -2px; }
}
.hero-svg .ch-app {
  transform-box: fill-box;
  transform-origin: center;
  animation: ch-pulse 6s ease-in-out infinite;
  filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
}
.hero-svg .ch-app-1 { animation-delay: 0s;   }
.hero-svg .ch-app-2 { animation-delay: 0.5s; }
.hero-svg .ch-app-3 { animation-delay: 1.0s; }
.hero-svg .ch-app-4 { animation-delay: 1.5s; }

@keyframes ch-pulse {
  0%,  80%, 100% { scale: 1;    filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0)); }
  10%, 20%       { scale: 1.18; filter: drop-shadow(0 0 6px rgba(11, 181, 199, 0.45)); }
  30%            { scale: 1;    filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0)); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-svg .delivery-channels,
  .hero-svg .ch-app { animation: none !important; }
}

/* ═══════════════════════════════════════════════════════════════
   MANIFESTO STRIPE
   ═══════════════════════════════════════════════════════════════ */
.manifesto {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--l-primary-navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(11, 181, 199, 0.15), transparent 60%);
  pointer-events: none;
}
.manifesto .container { position: relative; z-index: 1; }
.manifesto-eyebrow {
  display: inline-block;
  font-family: var(--l-font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--l-primary-teal);
  margin-bottom: 24px;
  padding: 4px 0;
  border-top: 1px solid rgba(11, 181, 199, 0.4);
  padding-top: 16px;
  min-width: 140px;
}
.manifesto-headline {
  font-family: var(--l-font-display);
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
  max-width: 880px;
  text-wrap: balance;
}
.manifesto-emph {
  display: block;
  margin-top: 12px;
  font-weight: 600;
  color: var(--l-primary-teal);
  font-style: italic;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION HEAD (shared)
   ═══════════════════════════════════════════════════════════════ */
.section-head {
  margin-bottom: 64px;
  max-width: 760px;
}
.section-num {
  font-family: var(--l-font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--l-ink-3);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--l-font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--l-primary-navy);
  margin: 0 0 16px;
  text-wrap: balance;
}
.section-title em {
  font-style: italic;
  color: var(--l-primary-teal);
  font-weight: 600;
}
.section-sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--l-ink-2);
  margin: 0;
  max-width: 640px;
}

/* ═══════════════════════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════════════════════ */
.how {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--l-bg-light);
  border-top: 1px solid var(--l-divider);
}
.how-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
}
.how-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-top: 1px solid var(--l-divider);
  align-items: start;
}
.how-item:last-child { border-bottom: 1px solid var(--l-divider); }
.how-num {
  font-family: var(--l-font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--l-primary-teal);
  padding-top: 4px;
  letter-spacing: 0.05em;
}
.how-body h3 {
  font-family: var(--l-font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--l-primary-navy);
  margin: 0 0 12px;
}
.how-body p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--l-ink-2);
  margin: 0;
  max-width: 640px;
}

/* ═══════════════════════════════════════════════════════════════
   COMPARE (bento split: them vs us)
   ═══════════════════════════════════════════════════════════════ */
.compare {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--l-bg);
  border-top: 1px solid var(--l-divider);
}
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.compare-col {
  padding: 36px 32px;
  border: 1px solid var(--l-divider);
  border-radius: var(--l-r-lg);
  background: var(--l-bg-light);
  position: relative;
  transition: transform 200ms ease;
}
.compare-them {
  background: #FAFBFC;
  border-color: rgba(42, 75, 124, 0.08);
}
.compare-them::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--l-rose);
  border-radius: var(--l-r-lg) var(--l-r-lg) 0 0;
  opacity: 0.5;
}
.compare-us {
  background: linear-gradient(180deg, #F4FCFD 0%, #EFF9FA 100%);
  border-color: rgba(11, 181, 199, 0.22);
  position: relative;
}
.compare-us::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--l-primary-teal);
  border-radius: var(--l-r-lg) var(--l-r-lg) 0 0;
}
.compare-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--l-divider);
}
.compare-col-tag {
  font-family: var(--l-font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--l-ink-3);
}
.compare-us .compare-col-tag { color: var(--l-emerald-hover); }
.compare-col-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--l-r-md);
}
.compare-icon-them { background: var(--l-rose-soft); color: var(--l-rose); }
.compare-icon-us { background: var(--l-emerald-soft); color: var(--l-primary-teal); }
.compare-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.compare-list li {
  position: relative;
  padding-left: 28px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--l-ink-2);
}
.compare-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--l-rose-soft);
}
.compare-us .compare-list li::before { background: var(--l-emerald-soft); }
.compare-them .compare-list li::after {
  content: '−';
  position: absolute;
  left: 5px;
  top: 0;
  color: var(--l-rose);
  font-weight: 700;
  font-size: 14px;
}
.compare-us .compare-list li::after {
  content: '+';
  position: absolute;
  left: 5px;
  top: -1px;
  color: var(--l-primary-teal);
  font-weight: 700;
  font-size: 16px;
}
.compare-list li strong { color: var(--l-ink); font-weight: 600; }

/* ═══════════════════════════════════════════════════════════════
   PRIVACY DETAIL
   ═══════════════════════════════════════════════════════════════ */
.privacy-detail {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--l-bg-light);
  border-top: 1px solid var(--l-divider);
}
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.privacy-card {
  padding: 32px 28px;
  background: var(--l-bg);
  border: 1px solid var(--l-divider);
  border-radius: var(--l-r-lg);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.privacy-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--l-shadow-md);
  border-color: rgba(42, 75, 124, 0.25);
}
.privacy-card-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--l-violet-soft);
  color: var(--l-primary-navy);
  border-radius: var(--l-r-md);
  margin-bottom: 18px;
}
.privacy-card h3 {
  font-family: var(--l-font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--l-primary-navy);
  margin: 0 0 10px;
}
.privacy-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--l-ink-2);
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════════════════ */
.pricing {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--l-bg);
  border-top: 1px solid var(--l-divider);
}
.price-card-big {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 40px;
  background: var(--l-bg-light);
  border: 1px solid var(--l-divider);
  border-radius: var(--l-r-xl);
  text-align: center;
  position: relative;
  box-shadow: var(--l-shadow-md);
}
.price-card-big::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--l-r-xl);
  padding: 1px;
  background: linear-gradient(135deg, var(--l-primary-teal), var(--l-primary-navy));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.35;
  pointer-events: none;
}
.price-eyebrow {
  font-family: var(--l-font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--l-emerald-hover);
  margin-bottom: 16px;
}
.price-amount {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
  font-family: var(--l-font-display);
}
.price-currency {
  font-size: 28px;
  font-weight: 600;
  color: var(--l-ink-2);
  align-self: flex-start;
  margin-top: 14px;
}
.price-num {
  font-size: clamp(72px, 11vw, 96px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--l-primary-navy);
}
.price-period {
  font-size: 22px;
  font-weight: 500;
  color: var(--l-ink-3);
}
.price-tagline {
  font-size: 15px;
  color: var(--l-ink-2);
  margin: 8px 0 32px;
}
.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  text-align: left;
}
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--l-ink-2);
}
.price-features .check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--l-primary-teal);
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  margin-top: 1px;
}
.price-fine {
  font-size: 12.5px;
  color: var(--l-ink-3);
  margin: 16px 0 0;
}

/* Pricing comparison */
.price-vs {
  max-width: 540px;
  margin: 48px auto 0;
  border: 1px solid var(--l-divider);
  border-radius: var(--l-r-md);
  overflow: hidden;
  font-size: 14.5px;
}
.vs-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--l-divider);
  color: var(--l-ink-2);
}
.vs-row:last-child { border-bottom: none; }
.vs-them { background: var(--l-bg-light); }
.vs-us { background: var(--l-emerald-soft); color: var(--l-emerald-hover); }
.vs-us strong { font-weight: 700; }

/* ═══════════════════════════════════════════════════════════════
   CLOSER
   ═══════════════════════════════════════════════════════════════ */
.closer {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--l-primary-navy);
  color: #fff;
  text-align: center;
}
.closer .container { max-width: 720px; }
.closer-title {
  font-family: var(--l-font-display);
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 16px;
  text-wrap: balance;
}
.closer-sub {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 32px;
  text-wrap: pretty;
}
.closer .btn-primary {
  background: var(--l-primary-teal);
  border-color: var(--l-primary-teal);
  font-size: 16px;
  padding: 18px 32px;
}
.closer .btn-primary:hover { background: #0A9DAE; border-color: #0A9DAE; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
  padding: 40px 0 60px;
  background: var(--l-bg-light);
  border-top: 1px solid var(--l-divider);
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--l-ink);
}
.footer-brand .brand-mark {
  max-height: 44px;
  width: auto;
}
.footer-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--l-ink-3);
}
.footer-meta span:last-child { color: var(--l-ink-2); }

/* ═══════════════════════════════════════════════════════════════
   DRAG-AND-DROP VISUAL
   ═══════════════════════════════════════════════════════════════ */
#view-home.home-dragover::after {
  content: '';
  position: fixed;
  inset: 16px;
  border: 2px dashed var(--l-primary-teal);
  border-radius: var(--l-r-xl);
  background: rgba(11, 181, 199, 0.06);
  pointer-events: none;
  z-index: 9999;
  animation: dropPulse 1.2s ease-in-out infinite;
}
#view-home.home-dragover::before {
  content: 'Drop your PDF to start signing';
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--l-font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--l-emerald-hover);
  background: var(--l-bg-elevated);
  padding: 16px 28px;
  border-radius: var(--l-r-md);
  box-shadow: var(--l-shadow-lg);
  z-index: 10000;
  pointer-events: none;
}
@keyframes dropPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════════
   SCROLL ENTRY ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .kicker-dot { animation: none; }
  .hero-svg .envelope, .hero-svg path[stroke-dasharray] { animation: none !important; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .topbar-inner { gap: 16px; }
  .topbar-nav { display: none; }
  .nav-trial { display: none; }
  .topbar-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-left: auto;
    background: transparent;
    border: 1px solid var(--l-divider);
    border-radius: var(--l-r-sm);
    cursor: pointer;
    color: var(--l-ink);
  }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { margin: 0 auto; max-width: 440px; }
  .compare-grid { grid-template-columns: 1fr; }
  .privacy-grid { grid-template-columns: 1fr; }
  .how-item { grid-template-columns: 56px 1fr; gap: 16px; padding: 28px 0; }
  .price-features { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 40px; }
  .manifesto-headline { font-size: clamp(1.4rem, 5vw, 2rem); }
  .price-card-big { padding: 32px 24px; }
}
@media (max-width: 560px) {
  .topbar-inner { padding: 0 16px; }
  #view-home .container { padding: 0 16px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn-primary { width: 100%; }
  .hero-cta .btn-link { justify-content: center; }
  .nav-cta { padding: 8px 12px; font-size: 12.5px; }
  .footer-meta { flex-direction: column; align-items: flex-start; gap: 4px; }
  .footer-legal { flex-direction: column; gap: 8px; align-items: flex-start !important; }
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER LEGAL LINKS
   ═══════════════════════════════════════════════════════════════ */
.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--l-divider);
  font-size: 13px;
  color: var(--l-ink-3);
}
.footer-legal a {
  color: var(--l-ink-2);
  text-decoration: none;
  transition: color 150ms ease;
}
.footer-legal a:hover {
  color: var(--l-primary-teal);
}

/* ═══════════════════════════════════════════════════════════════
   AUTH MODAL (login/signup) — redesigned
   ═══════════════════════════════════════════════════════════════ */
.modal-auth {
  max-width: 420px;
  padding: 40px 36px;
  background: var(--l-bg);
  border: 1px solid var(--l-divider);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(42, 75, 124, 0.15);
  position: relative;
}
.modal-auth .modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--l-ink-3);
  border-radius: 8px;
  transition: color 150ms, background 150ms;
  cursor: pointer;
}
.modal-auth .modal-close:hover {
  color: var(--l-ink);
  background: var(--l-surface-hover);
}
.modal-title {
  font-family: var(--l-font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--l-primary-navy);
  margin: 0 0 8px;
  text-align: center;
  letter-spacing: -0.02em;
}
.modal-sub {
  font-size: 14px;
  color: var(--l-ink-3);
  margin: 0 0 28px;
  text-align: center;
  line-height: 1.5;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 0;
}
.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.auth-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--l-ink-2);
  letter-spacing: 0.01em;
}
.auth-field input {
  padding: 12px 16px;
  border: 1.5px solid var(--l-divider);
  border-radius: 10px;
  font-size: 15px;
  color: var(--l-ink);
  background: var(--l-bg-light);
  font-family: inherit;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.auth-field input::placeholder {
  color: var(--l-ink-4);
}
.auth-field input:focus {
  outline: none;
  border-color: var(--l-primary-teal);
  box-shadow: 0 0 0 3px rgba(11, 181, 199, 0.12);
  background: #fff;
}
.auth-field input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #fff inset;
}
.auth-form .btn-primary {
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  margin-top: 4px;
}
.auth-error {
  padding: 10px 14px;
  background: rgba(211, 47, 47, 0.08);
  border: 1px solid rgba(211, 47, 47, 0.3);
  border-radius: 8px;
  color: var(--l-rose);
  font-size: 13px;
  line-height: 1.5;
}
.auth-switch {
  text-align: center;
  font-size: 14px;
  color: var(--l-ink-3);
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--l-divider);
}
.auth-switch a {
  color: var(--l-primary-teal);
  font-weight: 600;
  text-decoration: none;
  transition: color 150ms;
}
.auth-switch a:hover {
  color: var(--l-emerald-hover);
  text-decoration: underline;
}

/* Topbar badges */
.topbar-pro-badge {
  padding: 3px 8px;
  background: linear-gradient(135deg, var(--l-primary-teal), var(--l-emerald-hover));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.topbar-user {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--l-ink-2);
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.topbar-signout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  color: var(--l-ink-3);
  border-radius: var(--l-r-sm);
  transition: color 150ms ease, background 150ms ease;
}
.topbar-signout:hover {
  color: var(--l-ink);
  background: var(--l-surface-hover);
}
.topbar-signin {
  padding: 8px 16px;
  background: transparent;
  color: var(--l-ink-2);
  font-size: 13.5px;
  font-weight: 500;
  border-radius: var(--l-r-sm);
  transition: color 150ms ease, background 150ms ease;
  cursor: pointer;
}
.topbar-signin:hover {
  color: var(--l-ink);
  background: var(--l-surface-hover);
}

/* ═══════════════════════════════════════════════════════════════
   ACCOUNT PAGE
   ═══════════════════════════════════════════════════════════════ */
.account-container {
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) 28px 80px;
}
.account-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: var(--l-primary-navy);
  margin: 0 0 8px;
  letter-spacing: -0.025em;
}
.account-sub {
  font-size: 16px;
  color: var(--l-ink-3);
  margin: 0 0 40px;
}
.account-section {
  margin-bottom: 36px;
}
.account-section-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--l-ink-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 12px;
}
.account-card {
  padding: 20px 24px;
  background: var(--l-bg);
  border: 1px solid var(--l-divider);
  border-radius: var(--l-r-lg);
}
.account-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--l-divider);
  font-size: 14px;
  color: var(--l-ink-2);
}
.account-row:last-child {
  border-bottom: none;
}
.account-row strong {
  color: var(--l-ink);
  font-weight: 600;
}
.account-foot {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--l-ink-3);
}
.account-foot a {
  color: var(--l-emerald-hover);
  text-decoration: none;
  font-weight: 500;
}
.account-foot a:hover {
  text-decoration: underline;
}
.account-loading {
  color: var(--l-ink-3);
  font-size: 14px;
  font-style: italic;
}
.account-link-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--l-divider);
  font-size: 13px;
}
.account-link-row:last-child { border-bottom: none; }
.account-link-status {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.account-link-status.pending {
  background: rgba(230, 81, 0, 0.12);
  color: #E65100;
}
.account-link-status.signed {
  background: var(--l-emerald-soft);
  color: var(--l-emerald-hover);
}
.account-link-status.verified {
  background: rgba(11, 181, 199, 0.06);
  color: #0BB5C7;
}
.account-link-row .id {
  font-family: var(--l-font-mono);
  font-size: 11px;
  color: var(--l-ink-3);
  background: var(--l-bg-light);
  padding: 2px 6px;
  border-radius: 4px;
}

/* ── Admin section ── */
.auth-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--l-ink-2);
  cursor: pointer;
}
.auth-toggle input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--l-primary-teal);
}
.auth-success {
  padding: 10px 14px;
  background: var(--l-emerald-soft);
  border: 1px solid rgba(11, 181, 199, 0.3);
  border-radius: var(--l-r-sm);
  color: var(--l-emerald-hover);
  font-size: 13px;
}
.btn-sm {
  padding: 6px 10px !important;
  font-size: 12px !important;
}
.btn-danger {
  color: var(--l-rose) !important;
}
.btn-danger:hover {
  background: rgba(211, 47, 47, 0.08) !important;
}
.admin-user-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--l-divider);
  flex-wrap: wrap;
}
.admin-user-row:last-child {
  border-bottom: none;
}
.admin-user-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
@media (max-width: 640px) {
  .admin-user-row {
    flex-direction: column;
    align-items: flex-start;
  }
}