/* ══════════════════════════════════════════════
   Akkiipc.com — Proposal for ASquare Production Design
   Design system adapted from Campfire pricing template
   ══════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; }
body { overflow-x: hidden; max-width: 100vw; }

/* ── PASSWORD GATE ── */
.pw-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 1;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.pw-gate.unlocked {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.03);
}
.pw-gate.hidden { display: none; }
body.locked { overflow: hidden; }

.pw-card {
  max-width: 440px;
  width: 100%;
  text-align: center;
}
.pw-lock {
  width: 56px; height: 56px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--ink);
  animation: pwBounce 2s ease-in-out infinite;
}
.pw-lock svg { width: 26px; height: 26px; }

@keyframes pwBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.pw-title {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3.5vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.pw-subtitle {
  font-size: 0.88rem;
  color: var(--ink2);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.pw-subtitle em { color: var(--ink); }
.pw-hint {
  font-size: 0.78rem;
  color: var(--ink3);
  line-height: 1.6;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
}
.pw-hint-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink2);
  margin-right: 0.3rem;
}
.pw-input-wrap {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.pw-input {
  flex: 1;
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem 1rem;
  outline: none;
  transition: border-color 0.15s;
}
.pw-input::placeholder { color: var(--ink3); }
.pw-input:focus { border-color: var(--ink2); }
.pw-btn {
  width: 48px;
  flex-shrink: 0;
  background: var(--ink);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.15s;
}
.pw-btn svg { width: 20px; height: 20px; color: #fff; stroke: #fff; }
.pw-btn:hover { opacity: 0.82; }
[data-theme="dark"] .pw-btn { background: #EEEEE8; }
[data-theme="dark"] .pw-btn svg { color: #121212; stroke: #121212; }

.pw-error {
  font-size: 0.78rem;
  color: var(--red);
  min-height: 1.2rem;
  margin-bottom: 1rem;
  transition: opacity 0.2s;
}
.pw-footer-note {
  font-size: 0.72rem;
  color: var(--ink3);
  line-height: 1.6;
}

/* Shake animation for wrong password */
@keyframes pwShake {
  0%, 100% { transform: translateX(0); }
  15%, 45%, 75% { transform: translateX(-6px); }
  30%, 60%, 90% { transform: translateX(6px); }
}
.pw-input.shake {
  animation: pwShake 0.4s ease;
  border-color: var(--red);
}

:root {
  --bg:        #F7F6F2;
  --surface:   #FFFFFF;
  --border:    #E5E4DF;
  --border2:   #D4D3CD;
  --ink:       #1A1916;
  --ink2:      #6B6A65;
  --ink3:      #9B9A95;
  --accent:    #1A1916;
  --tag-free:  #EFF6FF;
  --tag-free-t:#2563EB;
  --tag-pro:   #FFF7ED;
  --tag-pro-t: #C2410C;
  --red:       #DC2626;
  --red-bg:    #FEF2F2;
  --red-border:#FECACA;
  --amber:     #D97706;
  --amber-bg:  #FFFBEB;
  --amber-border:#FDE68A;
  --green:     #16A34A;
  --green-bg:  #F0FDF4;
  --green-border:#BBF7D0;
  --serif:     'Lora', Georgia, serif;
  --mono:      'DM Mono', monospace;
  --sans:      'DM Sans', sans-serif;
  --nav-bg:    rgba(247, 246, 242, 0.88);
  --card-shadow: rgba(26,25,22,0.06);
  --featured-shadow: rgba(26,25,22,0.10);
  --compare-highlight: rgba(26, 25, 22, 0.025);
}

/* ── DARK MODE ── */
[data-theme="dark"] {
  --bg:        #121212;
  --surface:   #1E1E1E;
  --border:    #2E2E2E;
  --border2:   #3A3A3A;
  --ink:       #EEEEE8;
  --ink2:      #A8A8A0;
  --ink3:      #707068;
  --accent:    #EEEEE8;
  --tag-free:  #1A2332;
  --tag-free-t:#60A5FA;
  --tag-pro:   #2A1F14;
  --tag-pro-t: #FB923C;
  --red:       #F87171;
  --red-bg:    #2A1515;
  --red-border:#5C2020;
  --amber:     #FBBF24;
  --amber-bg:  #2A2210;
  --amber-border:#5C4A14;
  --green:     #4ADE80;
  --green-bg:  #0F2A18;
  --green-border:#1A5C30;
  --nav-bg:    rgba(18, 18, 18, 0.92);
  --card-shadow: rgba(0,0,0,0.25);
  --featured-shadow: rgba(0,0,0,0.4);
  --compare-highlight: rgba(255, 255, 255, 0.03);
}

html { font-size: 17px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem;
  height: 56px;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.55rem;
  text-decoration: none; color: var(--ink);
}
.nav-logo-mark {
  width: 26px; height: 26px;
  background: var(--ink);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
}
.nav-logo-mark svg { width: 14px; height: 14px; }
.nav-logo-img { width: 28px; height: 28px; }
.nav-logo-name {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex; align-items: center; gap: 1.75rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.825rem;
  color: var(--ink2);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 0.75rem; }

/* ── BUTTONS ── */
.btn-dark {
  font-size: 0.825rem;
  font-family: var(--sans);
  font-weight: 400;
  color: #fff;
  background: var(--ink);
  border: none; cursor: pointer;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  transition: opacity 0.15s;
  text-decoration: none;
  display: inline-block;
}
.btn-dark:hover { opacity: 0.82; }

/* ── HERO ── */
.hero {
  max-width: 720px;
  margin: 0 auto;
  padding: 5rem 2rem 3.5rem;
  text-align: center;
}
.hero-eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink3);
  background: var(--border);
  border: 1px solid var(--border2);
  padding: 0.22rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1.4rem;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--ink2);
}
.hero p {
  font-size: 0.975rem;
  color: var(--ink2);
  max-width: 540px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.hero-cta {
  padding: 0.6rem 1.6rem;
  font-size: 0.9rem;
  border-radius: 8px;
}

/* ── SECTIONS ── */
.section {
  max-width: 1060px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}
.section-divider {
  max-width: 1060px;
  margin: 0 auto;
  height: 1px;
  background: var(--border);
  margin-left: auto;
  margin-right: auto;
  width: calc(100% - 4rem);
  max-width: 1060px;
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink3);
  margin-bottom: 0.75rem;
}
.section-header h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.section-subtitle {
  font-size: 0.925rem;
  color: var(--ink2);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── SCORECARD GRID ── */
.scorecard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}
.score-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.score-card:hover {
  border-color: var(--border2);
  box-shadow: 0 8px 32px var(--card-shadow);
}
.score-value {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 0.35rem;
}
.score-value span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink3);
}
.score-critical { color: var(--red); }
.score-low { color: var(--amber); }
.score-mid { color: var(--ink2); }
.score-high { color: var(--green); }
.score-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.score-note {
  font-size: 0.8rem;
  color: var(--ink3);
  line-height: 1.45;
}

/* ── FINDINGS ACCORDION ── */
.findings-wrap {
  max-width: 720px;
  margin: 0 auto 3rem;
}
.findings-wrap h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
  text-align: center;
}
.finding-item {
  border-top: 1px solid var(--border);
}
.finding-item:last-child { border-bottom: 1px solid var(--border); }

.finding-q {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--ink);
  user-select: none;
}
.finding-q .chevron {
  width: 15px; height: 15px;
  flex-shrink: 0;
  color: var(--ink3);
  transition: transform 0.22s ease;
  margin-left: auto;
}
.finding-q.open .chevron { transform: rotate(180deg); color: var(--ink); }

.finding-severity {
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}
.severity-critical {
  background: var(--red-bg);
  color: var(--red);
  border: 1px solid var(--red-border);
}
.severity-warn {
  background: var(--amber-bg);
  color: var(--amber);
  border: 1px solid var(--amber-border);
}

.finding-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease, opacity 0.25s ease;
  opacity: 0;
  font-size: 0.84rem;
  color: var(--ink2);
  line-height: 1.65;
  padding-bottom: 0;
  padding-left: 0;
}
.finding-a.open {
  opacity: 1;
  padding-bottom: 1rem;
}
.finding-a code {
  font-family: var(--mono);
  font-size: 0.78rem;
  background: var(--border);
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
}

/* ── USER JOURNEY ── */
.journey-wrap {
  max-width: 720px;
  margin: 0 auto;
}
.journey-wrap h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
  text-align: center;
}
.journey-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.journey-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}
.journey-step:last-child { border-bottom: 1px solid var(--border); }

.step-num {
  width: 32px; height: 32px;
  background: var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink2);
  flex-shrink: 0;
}
.step-content { flex: 1; }
.step-content strong {
  font-size: 0.875rem;
  font-weight: 500;
  display: block;
  margin-bottom: 0.2rem;
}
.step-content p {
  font-size: 0.82rem;
  color: var(--ink2);
  line-height: 1.5;
}
.step-status {
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  margin-top: 0.15rem;
}
.status-broken {
  background: var(--red-bg);
  color: var(--red);
  border: 1px solid var(--red-border);
}
.status-ok {
  background: var(--green-bg);
  color: var(--green);
  border: 1px solid var(--green-border);
}

/* ── STRATEGY CARDS ── */
.strategy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}
.strategy-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.strategy-card:hover {
  border-color: var(--border2);
  box-shadow: 0 8px 32px var(--card-shadow);
}
.strategy-icon {
  width: 40px; height: 40px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  color: var(--ink);
}
.strategy-icon svg { width: 20px; height: 20px; }
.strategy-card h4 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.strategy-card p {
  font-size: 0.84rem;
  color: var(--ink2);
  line-height: 1.6;
}

/* ── PRICING CARDS ── */
.cards-wrap {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-bottom: 3rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  text-align: center;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.card:hover {
  border-color: var(--border2);
  box-shadow: 0 8px 32px var(--card-shadow);
}
.card.featured {
  border-color: var(--ink);
  box-shadow: 0 4px 24px var(--featured-shadow);
}
.featured-badge {
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--ink);
  color: #fff;
  padding: 0.22rem 0.85rem;
  border-radius: 0 0 8px 8px;
}
.plan-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.18rem 0.55rem;
  border-radius: 5px;
  margin: 0 auto 1rem;
  width: fit-content;
}
.tag-free  { background: var(--tag-free);  color: var(--tag-free-t);  border: 1px solid #BFDBFE; }
.tag-pro   { background: var(--tag-pro);   color: var(--tag-pro-t);   border: 1px solid #FED7AA; }
.tag-scale { background: #F5F3FF; color: #6D28D9; border: 1px solid #DDD6FE; }

.plan-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.plan-desc {
  font-size: 0.82rem;
  color: var(--ink3);
  line-height: 1.5;
  margin-bottom: 1.4rem;
  min-height: 2.4rem;
}
.plan-price {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.15rem;
  margin-bottom: 0.3rem;
}
.price-currency {
  font-size: 1.1rem;
  color: var(--ink2);
  padding-bottom: 0.35rem;
  font-weight: 400;
}
.price-amount {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.price-plus {
  font-size: 1.4rem;
  color: var(--ink2);
}
.price-annual-note {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--ink3);
  margin-bottom: 1.4rem;
  min-height: 1.1rem;
}
.card-divider {
  height: 1px;
  background: var(--border);
  margin: 1.25rem 0;
}

/* ── CTA BUTTON (cards) ── */
.btn-plan {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 400;
  padding: 0.62rem 1rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.18s;
  letter-spacing: 0.005em;
  text-align: center;
  text-decoration: none;
  display: block;
  margin-top: auto;
}
.btn-plan-outline {
  background: none;
  border: 1px solid var(--border2);
  color: var(--ink);
}
.btn-plan-outline:hover { background: var(--bg); border-color: var(--ink); }
.btn-plan-dark {
  background: var(--ink);
  color: #fff;
}
.btn-plan-dark:hover { opacity: 0.82; }

/* ── FEATURES LIST ── */
.features-static {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}
.features-static li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.82rem;
  color: var(--ink2);
  line-height: 1.45;
}
.feat-check {
  flex-shrink: 0;
  margin-top: 0.12rem;
  width: 14px; height: 14px;
  color: #16A34A;
}
.feat-dash {
  flex-shrink: 0;
  margin-top: 0.12rem;
  width: 14px; height: 14px;
  color: var(--ink3);
}
.feat-cross {
  flex-shrink: 0;
  margin-top: 0.12rem;
  width: 14px; height: 14px;
  color: var(--red);
}
.feat-excluded {
  color: var(--ink3);
  text-decoration: line-through;
  text-decoration-color: var(--border2);
}

/* ── BUDGET TAG ── */
.tag-budget { background: #F0FDF4; color: #16A34A; border: 1px solid #BBF7D0; }

/* ── FEATURE COMPARISON TABLE ── */
.compare-wrap {
  max-width: 1060px;
  margin: 0 auto 3rem;
}
.compare-wrap h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
  text-align: center;
}
.compare-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}
.compare-table thead th {
  padding: 1rem 1rem 0.75rem;
  text-align: center;
  vertical-align: bottom;
  border-bottom: 2px solid var(--border);
  font-weight: 400;
}
.compare-feature-col {
  width: 36%;
  text-align: left !important;
}
.compare-plan-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.2rem;
}
.compare-rec {
  font-family: var(--mono);
  font-size: 0.58rem;
  background: var(--ink);
  color: #fff;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-left: 0.3rem;
  vertical-align: middle;
}
.compare-plan-price {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
}
.compare-table tbody td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
  color: var(--ink2);
  vertical-align: middle;
}
.compare-table tbody td:first-child {
  text-align: left;
  font-weight: 400;
  color: var(--ink);
}
.compare-section-row td {
  font-family: var(--mono);
  font-size: 0.68rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink3) !important;
  padding-top: 1.25rem !important;
  border-bottom: 1px solid var(--border2) !important;
  background: var(--bg);
}
.compare-highlighted {
  background: var(--compare-highlight);
}
.compare-check {
  width: 16px; height: 16px;
  color: var(--green);
  display: inline-block;
  vertical-align: middle;
}
.compare-cross {
  width: 14px; height: 14px;
  color: var(--red);
  opacity: 0.45;
  display: inline-block;
  vertical-align: middle;
}

/* ── OPTION D STRIP ── */
.option-d-strip {
  max-width: 1060px;
  margin: 0 auto 3rem;
  background: var(--surface);
  border: 1px dashed var(--border2);
  border-radius: 12px;
  padding: 1.25rem 1.75rem;
}
.option-d-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.option-d-left {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex: 1;
}
.option-d-left .plan-tag { margin-bottom: 0; margin-top: 0.15rem; }
.option-d-info strong {
  font-size: 0.9rem;
  font-weight: 500;
  display: block;
  margin-bottom: 0.2rem;
}
.option-d-info p {
  font-size: 0.78rem;
  color: var(--ink2);
  line-height: 1.55;
  margin: 0;
}
.option-d-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.option-d-price {
  display: flex;
  align-items: flex-end;
  gap: 0.1rem;
}
.option-d-price .price-currency {
  font-size: 0.85rem;
  padding-bottom: 0.2rem;
}
.option-d-price .price-amount {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}

/* ── TERMS STRIP ── */
.terms-strip {
  max-width: 720px;
  margin: 0 auto;
}
.terms-strip h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
  text-align: center;
}
.terms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.term-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
}
.term-icon {
  width: 36px; height: 36px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.75rem;
  color: var(--ink);
}
.term-icon svg { width: 18px; height: 18px; }
.term-item strong {
  font-size: 0.875rem;
  font-weight: 500;
  display: block;
  margin-bottom: 0.25rem;
}
.term-item p {
  font-size: 0.8rem;
  color: var(--ink2);
  line-height: 1.5;
}

/* ── TIMELINE ── */
.timeline {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 39px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}
.timeline-item {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 2rem;
  position: relative;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-phase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
  width: 80px;
}
.phase-num {
  width: 40px; height: 40px;
  background: var(--ink);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  position: relative;
  z-index: 1;
}
.phase-weeks {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--ink3);
  letter-spacing: 0.02em;
}
.timeline-content {
  flex: 1;
  padding-top: 0.35rem;
}
.timeline-content h4 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}
.timeline-content p {
  font-size: 0.84rem;
  color: var(--ink2);
  line-height: 1.6;
}

/* ── NEXT STEPS ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.step-card:hover {
  border-color: var(--border2);
  box-shadow: 0 8px 32px var(--card-shadow);
}
.step-circle {
  width: 40px; height: 40px;
  background: var(--ink);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 500;
  margin: 0 auto 0.85rem;
}
.step-card h4 {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}
.step-card p {
  font-size: 0.8rem;
  color: var(--ink2);
  line-height: 1.5;
}

/* ── CTA BLOCK ── */
.cta-block {
  text-align: center;
  padding: 2.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.cta-block p {
  font-size: 0.95rem;
  color: var(--ink2);
  margin-bottom: 1.25rem;
}
.cta-btn {
  padding: 0.7rem 2rem;
  font-size: 0.95rem;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}
.cta-note {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink3);
  margin-top: 0.75rem;
}
.cta-note strong { color: var(--ink2); }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-left {
  display: flex; align-items: center; gap: 0.5rem;
}
.footer-logo-mark {
  width: 20px; height: 20px;
  background: var(--ink);
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
}
.footer-logo-mark svg { width: 10px; height: 10px; }
.footer-logo-img { width: 20px; height: 20px; }
.footer-name {
  font-family: var(--serif);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
}
.footer-copy {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--ink3);
  margin-left: 0.75rem;
}
.footer-right {
  font-size: 0.78rem;
  color: var(--ink3);
}
.footer-prepared strong {
  color: var(--ink2);
  font-weight: 500;
}

/* ── DARK MODE OVERRIDES ── */
[data-theme="dark"] .btn-dark {
  background: #EEEEE8;
  color: #121212;
}
[data-theme="dark"] .btn-plan-dark {
  background: #EEEEE8;
  color: #121212;
}
[data-theme="dark"] .btn-plan-outline {
  border-color: var(--border2);
  color: var(--ink);
}
[data-theme="dark"] .btn-plan-outline:hover {
  background: var(--border);
  border-color: var(--ink3);
}
[data-theme="dark"] .nav-logo-mark {
  background: #EEEEE8;
}
[data-theme="dark"] .nav-logo-mark svg { stroke: #121212; }
[data-theme="dark"] .footer-logo-mark {
  background: #EEEEE8;
}
[data-theme="dark"] .footer-logo-mark svg { stroke: #121212; }
[data-theme="dark"] .featured-badge {
  background: #EEEEE8;
  color: #121212;
}
[data-theme="dark"] .card.featured {
  border-color: var(--ink3);
}
[data-theme="dark"] .phase-num {
  background: #EEEEE8;
  color: #121212;
}
[data-theme="dark"] .step-circle {
  background: #EEEEE8;
  color: #121212;
}
[data-theme="dark"] .compare-rec {
  background: #EEEEE8;
  color: #121212;
}
[data-theme="dark"] .tag-scale {
  background: #1F1833;
  color: #A78BFA;
  border-color: #3B2D6B;
}
[data-theme="dark"] .tag-budget {
  background: #0F2A18;
  color: #4ADE80;
  border-color: #1A5C30;
}
[data-theme="dark"] .finding-a code {
  background: var(--border);
  color: var(--ink);
}
[data-theme="dark"] .compare-section-row td {
  background: var(--bg);
}
[data-theme="dark"] .hero-eyebrow {
  background: var(--border);
  border-color: var(--border2);
}

/* ── THEME TOGGLE ── */
.theme-toggle {
  width: 36px; height: 36px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink2);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  flex-shrink: 0;
}
.theme-toggle:hover {
  background: var(--border);
  color: var(--ink);
  border-color: var(--border2);
}
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun  { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }

/* ── SMOOTH THEME TRANSITION ── */
body, nav, .card, .score-card, .strategy-card, .term-item, .step-card,
.cta-block, .option-d-strip, .compare-table, .hero-eyebrow, footer {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* ── ANIMATION ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  nav { padding: 0 1.25rem; }
  .nav-links { display: none; }
  .hero { padding: 3rem 1.25rem 2.5rem; }
  .section { padding: 2rem 1.25rem 3rem; }
  .section-divider { width: calc(100% - 2.5rem); }

  .scorecard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards-wrap {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
  .option-d-inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .option-d-left {
    flex-direction: column;
    align-items: center;
  }
  .compare-feature-col { width: 45%; }
  .strategy-grid {
    grid-template-columns: 1fr;
  }
  .terms-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline::before { left: 29px; }
  .timeline-phase { width: 60px; }
  .phase-num { width: 32px; height: 32px; font-size: 0.7rem; }

  footer {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
    padding: 1.5rem 1.25rem;
  }
  .footer-left { justify-content: center; }
}

@media (max-width: 520px) {
  .scorecard-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 { font-size: 1.75rem; }
  .price-amount { font-size: 2rem; }
}

@media (max-width: 430px) {
  nav { padding: 0 0.75rem; }
  .hero { padding: 2.5rem 0.75rem 2rem; }
  .section { padding: 1.5rem 0.75rem 2rem; }
  .section-divider { width: calc(100% - 1.5rem); }
  .cards-wrap { max-width: 100%; }
  .pw-gate { padding: 0 0.75rem; }
  .pw-card { max-width: 100%; }
  .score-card { padding: 1rem; }
  .finding-q { padding: 0.65rem 0.75rem; gap: 0.5rem; }
  .finding-a { padding: 0 0.75rem 0.75rem; }
  .compare-table { font-size: 0.72rem; }
  .compare-table tbody td,
  .compare-table thead th { padding: 0.5rem 0.5rem; }
  footer { padding: 1.5rem 0.75rem; }
  .hero h1 { font-size: 1.5rem; }
  .section-header h2 { font-size: 1.35rem; }
  .timeline-content h4 { font-size: 0.9rem; }
  .term-item { padding: 1rem; }
  .step-card { padding: 1.25rem; }
  .cta-block { padding: 2rem 1rem; }
  .option-d-inner { padding: 1rem; }
}

/* ══════════════════════════════════════════════
   OPTION SELECT MODAL
   ══════════════════════════════════════════════ */

.option-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.option-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.option-modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.75rem;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.16);
  transform: translateY(20px) scale(0.97);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.option-modal-overlay.active .option-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.option-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0;
}
.option-modal-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.option-modal-subtitle {
  font-size: 0.78rem;
  color: var(--ink3);
  margin-top: 0.2rem;
  line-height: 1.5;
}
.option-modal-actions-top {
  display: flex;
  gap: 0.35rem;
  flex-shrink: 0;
}
.option-modal-icon-btn {
  width: 30px;
  height: 30px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 7px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink2);
  font-size: 0.95rem;
  line-height: 1;
  transition: background 0.15s, color 0.15s;
  font-family: var(--sans);
}
.option-modal-icon-btn:hover {
  background: var(--border);
  color: var(--ink);
}
.option-modal-divider {
  height: 1px;
  background: var(--border);
  margin: 1rem 0 0.75rem;
}
.option-modal-label {
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink3);
  margin-bottom: 0.4rem;
}
.option-modal-textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  line-height: 1.65;
  resize: vertical;
  min-height: 152px;
  outline: none;
  transition: border-color 0.15s;
}
.option-modal-textarea:focus { border-color: var(--ink2); }
.option-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.85rem;
  gap: 0.75rem;
}
.option-modal-hint {
  font-size: 0.72rem;
  color: var(--ink3);
  line-height: 1.4;
}
.btn-send {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 400;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.58rem 1.3rem;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s;
  text-decoration: none;
  display: inline-block;
}
.btn-send:hover { opacity: 0.82; }
[data-theme="dark"] .btn-send { background: #EEEEE8; color: #121212; }
[data-theme="dark"] .option-modal-textarea { color: var(--ink); }

/* ── MINIMISED CHIP ── */
.option-modal-chip {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 801;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 0.55rem 1.1rem 0.55rem 0.9rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
  display: none;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.15s, transform 0.15s;
}
.option-modal-chip.visible { display: flex; }
.option-modal-chip:hover { opacity: 0.88; transform: translateY(-2px); }
.option-modal-chip-dot {
  width: 7px;
  height: 7px;
  background: #4ADE80;
  border-radius: 50%;
  flex-shrink: 0;
}
[data-theme="dark"] .option-modal-chip { background: #EEEEE8; color: #121212; }

@media (max-width: 520px) {
  .option-modal { padding: 1.25rem; border-radius: 14px; }
  .option-modal-chip { bottom: 1rem; right: 1rem; }
}
