/* ============================================
   tradumacos.com — Stylesheet
   ============================================ */

/* ============ TOKENS ============ */
:root {
  /* Brand colors — derived from app icon */
  --navy-900: #0E1A33;
  --navy-800: #14223F;
  --navy-700: #1A2B4A;
  --navy-600: #243a5f;
  --navy-500: #2f4a78;
  --blue-400: #88A8D8;
  --blue-300: #a4bee0;
  --blue-200: #c4d5ec;
  --accent: #5b8fd9;
  --accent-bright: #76a6e8;

  /* Neutrals */
  --bg: #fafaf7;
  --bg-soft: #f4f3ee;
  --bg-card: #ffffff;
  --ink: #0E1A33;
  --ink-soft: #4a5568;
  --ink-mute: #7e8aa0;
  --line: #e6e4dc;
  --line-soft: #f0eee7;

  /* Semantic */
  --success: #2d8a5c;
  --warning: #d4a017;
  --error: #c44e3d;

  /* Type */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter Tight', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  /* Layout */
  --container: 1200px;
  --container-narrow: 880px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(14, 26, 51, 0.04), 0 2px 8px rgba(14, 26, 51, 0.04);
  --shadow: 0 4px 12px rgba(14, 26, 51, 0.06), 0 12px 32px rgba(14, 26, 51, 0.08);
  --shadow-lg: 0 20px 60px rgba(14, 26, 51, 0.12), 0 8px 24px rgba(14, 26, 51, 0.08);
  --shadow-window: 0 30px 80px rgba(14, 26, 51, 0.25), 0 8px 24px rgba(14, 26, 51, 0.12);

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
em { font-style: italic; font-family: var(--font-display); font-weight: 400; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: all 220ms var(--ease);
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--navy-700);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-secondary:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--ink);
  padding: 13px 18px;
}
.btn-ghost:hover {
  background: rgba(14, 26, 51, 0.05);
}

.btn-large {
  padding: 17px 30px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 220ms var(--ease);
}
.nav.scrolled {
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  height: 68px;
  max-width: var(--container);
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 38px;
  width: auto;
  display: block;
  transition: opacity 200ms;
}
.nav-logo:hover .nav-logo-img {
  opacity: 0.8;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: 14.5px;
  color: var(--ink-soft);
  font-weight: 500;
  transition: color 180ms;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease);
}
.nav-links a:hover {
  color: var(--ink);
}
.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: all 200ms var(--ease);
}
.nav-cta:hover {
  background: var(--navy-700);
  transform: translateY(-1px);
}
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 1px;
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-logo-img { height: 32px; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: var(--bg);
    padding: 20px 32px;
    border-bottom: 1px solid var(--line);
    gap: 16px;
  }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 80px 0 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(14, 26, 51, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14, 26, 51, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 70%);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.hero-glow-1 {
  top: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--blue-400), transparent 60%);
}
.hero-glow-2 {
  top: 100px;
  right: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #d4a8e0, transparent 60%);
  opacity: 0.3;
}
.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 12px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
  animation: fadeUp 700ms var(--ease-out) both;
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(45, 138, 92, 0.15);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(45, 138, 92, 0.15); }
  50% { box-shadow: 0 0 0 5px rgba(45, 138, 92, 0.05); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.0;
  margin-bottom: 28px;
  animation: fadeUp 800ms var(--ease-out) 80ms both;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(120deg, var(--accent), var(--blue-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--font-display);
}

.hero-subtitle {
  max-width: 620px;
  margin: 0 auto 40px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  animation: fadeUp 800ms var(--ease-out) 160ms both;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  animation: fadeUp 800ms var(--ease-out) 240ms both;
}

.hero-meta {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  color: var(--ink-mute);
  flex-wrap: wrap;
  animation: fadeUp 800ms var(--ease-out) 320ms both;
}
.hero-meta .dot {
  color: var(--ink-mute);
  opacity: 0.5;
}

.hero-screenshot {
  margin-top: 80px;
  perspective: 1500px;
  animation: fadeUp 1000ms var(--ease-out) 400ms both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============ WINDOW (mac-style screenshot frame) ============ */
.window {
  background: var(--navy-800);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-window);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin: 0 auto;
  max-width: 1100px;
}
.window-chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: linear-gradient(to bottom, #2a3856, #1f2c46);
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
.window-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}
.dot-red { background: #ed6a5e; }
.dot-yellow { background: #f5bf4f; }
.dot-green { background: #62c554; }
.window-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: -0.005em;
}
.window img {
  width: 100%;
  display: block;
}

.window-sm {
  max-width: 540px;
}

/* ============ FORMATS STRIP ============ */
.formats-section {
  padding: 100px 0 60px;
  border-top: 1px solid var(--line-soft);
  margin-top: 100px;
}
.formats-eyebrow {
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 36px;
}
.formats-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 880px) {
  .formats-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 480px) {
  .formats-grid { grid-template-columns: repeat(2, 1fr); }
}
.format {
  background: var(--bg-card);
  padding: 22px 12px;
  text-align: center;
  transition: background 200ms;
}
.format:hover {
  background: var(--bg-soft);
}
.format-ext {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}
.format-name {
  display: block;
  font-size: 12px;
  color: var(--ink-mute);
}

/* ============ SECTION HEADERS ============ */
.section-head {
  margin-bottom: 80px;
  max-width: 700px;
}
.section-head-center {
  margin: 0 auto 80px;
  text-align: center;
}
.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.section-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.section-title em {
  font-style: italic;
  background: linear-gradient(120deg, var(--accent), var(--blue-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-subtitle {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-top: 20px;
  font-weight: 400;
  letter-spacing: 0;
}

/* ============ FEATURES ============ */
.features {
  padding: 140px 0;
}
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 140px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row-reverse .feature-content { order: 2; }
@media (max-width: 880px) {
  .feature-row,
  .feature-row-reverse {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .feature-row-reverse .feature-content { order: 0; }
  .features { padding: 80px 0; }
  .feature-row { margin-bottom: 80px; }
}

.feature-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.feature-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.feature-title em {
  font-style: italic;
  background: linear-gradient(120deg, var(--accent), var(--blue-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.feature-text {
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-list li {
  position: relative;
  padding-left: 28px;
  font-size: 15.5px;
  color: var(--ink);
  line-height: 1.5;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 8px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}

.qa-checks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 8px;
}
@media (max-width: 480px) {
  .qa-checks { grid-template-columns: 1fr; }
}
.qa-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: all 200ms var(--ease);
}
.qa-check:hover {
  border-color: var(--accent);
  transform: translateX(2px);
}
.qa-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--bg-soft);
  border-radius: 5px;
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
}

/* ============ WORKFLOW ============ */
.workflow {
  padding: 140px 0;
  background: var(--ink);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
.workflow::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(136, 168, 216, 0.08), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(91, 143, 217, 0.08), transparent 50%);
  pointer-events: none;
}
.workflow .container { position: relative; }
.workflow .section-eyebrow { color: var(--blue-400); }
.workflow .section-title { color: var(--bg); }
.workflow .section-title em {
  background: linear-gradient(120deg, var(--blue-300), var(--blue-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 880px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .step-arrow { display: none; }
  .workflow { padding: 80px 0; }
}
.step-arrow {
  font-size: 24px;
  color: var(--blue-400);
  opacity: 0.5;
  margin-top: 28px;
}
.step {
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(136, 168, 216, 0.12);
  color: var(--blue-300);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 18px;
  border: 1px solid rgba(136, 168, 216, 0.25);
}
.step-title {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--bg);
}
.step-text {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(250, 250, 247, 0.7);
}

/* ============ PROVIDERS ============ */
.providers {
  padding: 140px 0;
  background: var(--bg-soft);
}
@media (max-width: 880px) { .providers { padding: 80px 0; } }
.provider-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
@media (max-width: 720px) {
  .provider-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .provider-grid { grid-template-columns: 1fr; }
}
.provider-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 220ms var(--ease);
  position: relative;
  overflow: hidden;
}
.provider-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--blue-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms var(--ease);
}
.provider-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.provider-card:hover::before { transform: scaleX(1); }
.provider-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.provider-desc {
  font-size: 14px;
  color: var(--ink-mute);
  font-family: var(--font-mono);
}

.privacy-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-soft);
  text-align: center;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  max-width: 600px;
  margin: 0 auto;
}
.privacy-note svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* ============ STATS ============ */
.stats {
  padding: 100px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
  text-align: center;
}
@media (max-width: 720px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(160deg, var(--ink), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============ PRICING ============ */
.pricing {
  padding: 140px 0;
}
@media (max-width: 880px) { .pricing { padding: 80px 0; } }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  position: relative;
  transition: all 240ms var(--ease);
}
.price-card-featured {
  background: linear-gradient(165deg, var(--ink), var(--navy-700));
  border-color: var(--ink);
  color: var(--bg);
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}
.price-card-featured::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent), var(--blue-400), transparent);
  z-index: -1;
  opacity: 0.4;
}
.price-badge {
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 11px;
  background: var(--accent);
  color: white;
  border-radius: 999px;
}
.price-name {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 18px;
}
.price-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}
.price-currency {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  align-self: flex-start;
  margin-top: 8px;
}
.price-num {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price-period {
  font-size: 16px;
  color: var(--ink-mute);
}
.price-card-featured .price-period { color: rgba(250, 250, 247, 0.6); }
.price-tagline {
  font-size: 14.5px;
  color: var(--ink-mute);
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.price-card-featured .price-tagline {
  color: rgba(250, 250, 247, 0.7);
  border-color: rgba(250, 250, 247, 0.12);
}

.price-features {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-features li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  line-height: 1.5;
}
.price-features li.incl::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 7px;
  border-left: 1.5px solid var(--success);
  border-bottom: 1.5px solid var(--success);
  transform: rotate(-45deg);
}
.price-card-featured .price-features li.incl::before {
  border-color: var(--blue-300);
}
.price-features li.excl {
  color: var(--ink-mute);
}
.price-features li.excl::before {
  content: '×';
  position: absolute;
  left: 4px;
  top: 0;
  color: var(--ink-mute);
  font-size: 14px;
}

.price-features li.excl-note {
  padding-left: 0;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: var(--ink-mute);
  font-style: italic;
  line-height: 1.5;
}
.price-features li.excl-note::before {
  display: none;
}

.price-fineprint {
  margin-top: 14px;
  text-align: center;
  font-size: 12.5px;
  color: rgba(250, 250, 247, 0.55);
}

/* ============ PRICING TABLE (full breakdown) ============ */
.pricing-table-wrap {
  max-width: 920px;
  margin: 100px auto 0;
}
@media (max-width: 880px) {
  .pricing-table-wrap { margin-top: 64px; }
}

.pricing-table-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 10px;
  color: var(--ink);
}

.pricing-table-intro {
  text-align: center;
  font-size: 15.5px;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.5;
}

.pricing-table-scroll {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.pricing-table thead {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.pricing-table th {
  padding: 18px 20px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  vertical-align: middle;
}
.pricing-table th.pt-free,
.pricing-table th.pt-premium {
  text-align: center;
  width: 26%;
}
.pricing-table th.pt-feature {
  width: 48%;
}

.pricing-table th.pt-premium {
  position: relative;
  background: linear-gradient(180deg, rgba(91, 143, 217, 0.08), transparent);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.01em;
}
.pricing-table th.pt-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--blue-400));
}
.pricing-table th.pt-free {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.pricing-table tbody tr {
  border-bottom: 1px solid var(--line-soft);
}
.pricing-table tbody tr:last-child {
  border-bottom: none;
}

/* Group rows (section headers within the table) */
.pricing-table tr.pt-group td {
  background: var(--bg-soft);
  padding: 12px 20px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pricing-table tr.pt-group:first-child td {
  border-top: none;
}

/* Highlighted "key difference" rows */
.pricing-table tr.pt-key {
  background: rgba(91, 143, 217, 0.025);
}
.pricing-table tr.pt-key td.pt-feature strong {
  color: var(--ink);
  font-weight: 600;
}

.pricing-table td {
  padding: 14px 20px;
  vertical-align: middle;
  line-height: 1.45;
  color: var(--ink);
}
.pricing-table td.pt-feature {
  font-weight: 500;
}
.pricing-table td:not(.pt-feature):not([colspan]) {
  text-align: center;
}

/* Premium column has subtle tint */
.pricing-table tbody td:last-child {
  background: rgba(91, 143, 217, 0.04);
}
.pricing-table tr.pt-group td:last-child,
.pricing-table tr.pt-group td {
  background: var(--bg-soft);
}

/* Status indicators */
.pt-yes {
  color: var(--success);
  font-weight: 500;
}
.pt-no {
  color: var(--ink-mute);
  font-size: 16px;
}
.pt-limit {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(212, 160, 23, 0.12);
  color: #a07c0d;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(212, 160, 23, 0.25);
}

/* Mobile */
@media (max-width: 720px) {
  .pricing-table {
    font-size: 13px;
    min-width: 560px;
  }
  .pricing-table th,
  .pricing-table td {
    padding: 12px 14px;
  }
  .pricing-table th.pt-free,
  .pricing-table th.pt-premium {
    font-size: 14px;
  }
  .pricing-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius);
  }
  .pricing-table tr.pt-group td {
    padding: 10px 14px;
    font-size: 11px;
  }
  .pt-limit {
    font-size: 11.5px;
    padding: 2px 8px;
  }
}

/* ============ ABOUT ============ */
.about {
  padding: 120px 0;
  background: var(--bg-soft);
}
.about-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.about-quote {
  position: relative;
}
.quote-mark {
  color: var(--accent);
  margin: 0 auto 12px;
}
.about-text {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: -0.015em;
  margin-bottom: 22px;
}
.about-sig {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.about-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 4px;
}
.about-role {
  font-size: 14px;
  color: var(--ink-mute);
}

/* ============ FAQ ============ */
.faq {
  padding: 140px 0;
}
@media (max-width: 880px) { .faq { padding: 80px 0; } }
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 200ms var(--ease);
}
.faq-item:hover {
  border-color: var(--ink-mute);
}
.faq-item[open] {
  background: var(--bg-soft);
  border-color: var(--accent);
}
.faq-item summary {
  padding: 22px 26px;
  font-weight: 500;
  font-size: 16.5px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
  color: var(--ink-mute);
  transition: transform 240ms var(--ease);
  flex-shrink: 0;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--accent);
}
.faq-item p {
  padding: 0 26px 24px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.65;
}

/* ============ FINAL CTA ============ */
.final-cta {
  padding: 120px 0;
  background: var(--ink);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(136, 168, 216, 0.12), transparent 60%),
    radial-gradient(ellipse at 70% 70%, rgba(91, 143, 217, 0.08), transparent 60%);
}
.final-cta-inner {
  position: relative;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.final-cta-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  line-height: 1.05;
}
.final-cta-title em {
  font-style: italic;
  background: linear-gradient(120deg, var(--blue-300), var(--blue-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.final-cta-text {
  font-size: 17px;
  color: rgba(250, 250, 247, 0.7);
  margin-bottom: 36px;
}
.final-cta .btn-primary {
  background: var(--bg);
  color: var(--ink);
}
.final-cta .btn-primary:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(136, 168, 216, 0.2);
}

/* ============ FOOTER ============ */
.footer {
  padding: 80px 0 40px;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
}
.footer-logo-img {
  height: 44px;
  width: auto;
  display: block;
  transition: opacity 200ms;
}
.footer-logo:hover .footer-logo-img {
  opacity: 0.75;
}
.footer-tagline {
  color: var(--ink-mute);
  font-size: 14.5px;
  max-width: 280px;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 16px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 14.5px;
  color: var(--ink-soft);
  transition: color 180ms;
}
.footer-col a:hover {
  color: var(--ink);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-mute);
  flex-wrap: wrap;
  gap: 12px;
}

/* ============ COMPARISON TABLE ============ */
.comparison {
  padding: 140px 0 60px;
  background: var(--bg);
}
@media (max-width: 880px) {
  .comparison { padding: 80px 0 40px; }
}

.compare-table-wrap {
  max-width: 920px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.compare-table thead {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.compare-table th {
  padding: 22px 18px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  vertical-align: top;
  line-height: 1.3;
}

.compare-table th.compare-feature {
  width: 30%;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
}

.compare-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
  margin-top: 4px;
  text-transform: none;
}

.compare-table th.compare-us {
  position: relative;
  background: linear-gradient(180deg, rgba(91, 143, 217, 0.08), transparent);
}
.compare-table th.compare-us::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--blue-400));
}
.compare-table th.compare-us {
  color: var(--ink);
}

.compare-table tbody tr {
  border-bottom: 1px solid var(--line-soft);
}
.compare-table tbody tr:last-child {
  border-bottom: none;
}
.compare-table tbody tr:hover {
  background: var(--bg-soft);
}

.compare-table td {
  padding: 16px 18px;
  vertical-align: middle;
  line-height: 1.45;
}

.compare-table td.compare-feature {
  font-weight: 500;
  color: var(--ink);
}

.compare-table td.compare-us {
  background: rgba(91, 143, 217, 0.04);
  font-weight: 500;
  color: var(--ink);
  position: relative;
}

.compare-note {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-mute);
  margin-top: 2px;
}

.compare-check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--success);
  font-weight: 500;
}
.compare-check::before {
  content: '';
  width: 14px;
  height: 8px;
  border-left: 1.6px solid var(--success);
  border-bottom: 1.6px solid var(--success);
  transform: rotate(-45deg) translate(2px, -2px);
  flex-shrink: 0;
}

.compare-x {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-mute);
}
.compare-x::before {
  content: '×';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(196, 78, 61, 0.1);
  color: var(--error);
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

.compare-mid {
  color: var(--ink-soft);
}
.compare-mid::before {
  content: '~';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(212, 160, 23, 0.12);
  color: var(--warning);
  font-size: 13px;
  font-weight: 600;
  margin-right: 7px;
  flex-shrink: 0;
}

.compare-disclaimer {
  padding: 18px 22px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-mute);
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  text-align: center;
}

/* Mobile: scroll horizontally */
@media (max-width: 720px) {
  .compare-table-wrap {
    border-radius: var(--radius);
  }
  .compare-table {
    font-size: 13px;
    min-width: 600px;
  }
  .compare-table th,
  .compare-table td {
    padding: 12px 12px;
  }
  .compare-table th {
    font-size: 14px;
  }
  /* Wrap a scrollable container */
  .compare-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ============ MOTION REDUCE ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============ LEGAL PAGES (privacy, terms) ============ */
.legal-page {
  padding: 60px 0 100px;
  background: var(--bg);
}
.legal-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) {
  .legal-container { padding: 0 20px; }
  .legal-page { padding: 40px 0 80px; }
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--ink-mute);
  margin-bottom: 32px;
  transition: color 180ms;
}
.legal-back:hover {
  color: var(--ink);
}
.legal-back svg {
  transition: transform 200ms var(--ease);
}
.legal-back:hover svg {
  transform: translateX(-3px);
}

.legal-content h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.legal-content > p:first-of-type {
  color: var(--ink-mute);
  font-size: 15px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-top: 56px;
  margin-bottom: 20px;
  color: var(--ink);
}
.legal-content h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-top: 32px;
  margin-bottom: 14px;
  color: var(--ink);
}
.legal-content h2:first-of-type {
  margin-top: 24px;
}

.legal-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 18px;
}

.legal-content strong {
  font-weight: 600;
  color: var(--ink);
}
.legal-content em {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-mute);
}

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(91, 143, 217, 0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 200ms;
}
.legal-content a:hover {
  text-decoration-color: var(--accent);
}

.legal-content ul {
  margin: 0 0 22px 0;
  padding-left: 0;
  list-style: none;
}
.legal-content ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
}
.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 11px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.5;
}

.legal-content code {
  font-family: var(--font-mono);
  font-size: 13.5px;
  background: var(--bg-soft);
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid var(--line);
  color: var(--navy-700);
}

.legal-content hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 48px 0;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 32px;
  font-size: 14.5px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.legal-content thead {
  background: var(--bg-soft);
}
.legal-content th,
.legal-content td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.5;
}
.legal-content th {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.legal-content tr:last-child td {
  border-bottom: none;
}
@media (max-width: 600px) {
  .legal-content table {
    font-size: 13px;
  }
  .legal-content th,
  .legal-content td {
    padding: 10px 12px;
  }
}

.legal-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 20px;
  margin: 22px 0;
  color: var(--ink-soft);
  font-style: italic;
}

/* Footer note for legal pages */
.legal-footer-note {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 14px;
  color: var(--ink-mute);
}

/* Reuse ALL CAPS legal warnings (bold uppercase paragraphs in Terms) */
.legal-content p strong:only-child {
  /* Style for paragraphs that are entirely strong (legal disclaimers) */
}
