:root {
  --navy-950: #041421;
  --navy-900: #071f35;
  --navy-800: #0a2a45;
  --navy-700: #123b5d;
  --navy-600: #235779;
  --ink: #102333;
  --muted: #647481;
  --paper: #f7f5f0;
  --paper-2: #f0ece4;
  --white: #ffffff;
  --gold: #f0c477;
  --gold-light: #ffe0aa;
  --gold-dark: #b77a29;
  --green: #2c8b66;
  --border: #dfe4e6;
  --shadow: 0 28px 70px rgba(7, 31, 53, .14);
  --shadow-soft: 0 14px 35px rgba(7, 31, 53, .09);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 15px;
  --radius-sm: 10px;
  --container: 1220px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { color: inherit; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  background: var(--gold);
  color: var(--navy-950);
  padding: .8rem 1rem;
  border-radius: 0 0 8px 8px;
  font-weight: 800;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 110px 0; }

h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -.025em;
  line-height: 1.08;
}
h1 { font-size: clamp(3rem, 6.2vw, 6rem); }
h2 { font-size: clamp(2.35rem, 4.6vw, 4.25rem); }
h3 { font-size: clamp(1.55rem, 2.2vw, 2.15rem); }
h4 { font-size: 1.35rem; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 17px;
  color: #dce7ee;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.eyebrow span { width: 30px; height: 2px; background: var(--gold); }
.eyebrow.dark { color: var(--navy-700); }
.lead { font-size: 1.08rem; color: var(--muted); }
.mini-label { margin: 0 0 8px; color: var(--navy-600); font-size: .75rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.mini-label.gold { color: var(--gold); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: .91rem;
  font-weight: 820;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(240, 196, 119, .48);
  outline-offset: 2px;
}
.button-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--navy-950); box-shadow: 0 12px 28px rgba(240, 196, 119, .19); }
.button-gold:hover { box-shadow: 0 16px 34px rgba(240, 196, 119, .27); }
.button-ghost { color: white; border-color: rgba(255,255,255,.46); background: rgba(255,255,255,.025); }
.button-ghost:hover { background: rgba(255,255,255,.08); border-color: white; }
.button-navy { background: var(--navy-900); color: white; }
.button-outline { background: white; color: var(--navy-900); border-color: #b9c3c9; }
.button-outline:hover { border-color: var(--navy-700); }
.button-small { min-height: 42px; padding-inline: 18px; font-size: .82rem; }
.button-compact { min-height: 42px; padding-inline: 16px; font-size: .8rem; }
.text-button { border: 0; padding: 0; background: transparent; color: var(--navy-700); font-weight: 780; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.text-button.light { color: #cbd9e2; }

.site-header {
  position: absolute;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.nav-wrap { min-height: 82px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 13px; color: white; font-family: Georgia, "Times New Roman", serif; font-size: 1.72rem; font-weight: 700; letter-spacing: -.035em; line-height: 1; text-decoration: none; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; flex: 0 0 45px; width: 45px; height: 40px; }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand-name > span { color: var(--gold); font-size: .68em; letter-spacing: -.01em; margin-left: 1px; }
.main-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.main-nav a { color: #dbe5ec; font-size: .85rem; font-weight: 750; text-decoration: none; }
.main-nav a:hover { color: white; }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; margin-left: auto; }
.nav-toggle span { display: block; width: 23px; height: 2px; background: white; margin: 5px auto; }

.hero {
  position: relative;
  min-height: 760px;
  padding: 160px 0 120px;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 86% 10%, rgba(41,102,135,.28), transparent 34%),
    radial-gradient(circle at 15% 30%, rgba(22,73,111,.23), transparent 27%),
    linear-gradient(128deg, #051827 0%, #071f35 52%, #061a2a 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .11;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cpath d='M0 96 96 0M-24 72 72-24M24 120 120 24' stroke='%23ffffff' stroke-width='.35'/%3E%3C/svg%3E");
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .96fr 1.04fr; align-items: center; gap: 56px; }
.hero-copy { padding-top: 12px; }
.hero h1 { max-width: 680px; margin-bottom: 25px; }
.hero h1::first-line { color: white; }
.hero-lead { max-width: 650px; color: #c6d3dc; font-size: 1.09rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin: 34px 0 30px; }
.hero-benefits { display: flex; flex-wrap: wrap; gap: 22px; list-style: none; padding: 0; margin: 0; color: #dbe6ec; font-size: .79rem; }
.hero-benefits li { display: flex; align-items: center; gap: 7px; }
.hero-benefits svg { width: 16px; height: 16px; color: var(--gold); stroke-width: 2.3; }
.hero-visual { position: relative; isolation: isolate; }
.hero-visual::before { content: ""; position: absolute; z-index: -1; inset: 4% 3% -5%; border-radius: 50%; background: rgba(34,86,119,.35); filter: blur(45px); }
.hero-visual { overflow: visible; }
.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: contain;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 26px;
  box-shadow: 0 35px 80px rgba(0,0,0,.38);
}
.hero-stat { position: absolute; display: flex; align-items: center; gap: 11px; padding: 12px 15px; border: 1px solid rgba(255,255,255,.3); border-radius: 12px; background: rgba(6,24,39,.82); backdrop-filter: blur(12px); box-shadow: 0 15px 30px rgba(0,0,0,.24); }
.hero-stat strong, .hero-stat small { display: block; }
.hero-stat strong { font-size: .76rem; }
.hero-stat small { color: #afc0ca; font-size: .64rem; }
.hero-stat-top { top: 7%; right: -3%; }
.hero-stat-bottom { left: -5%; bottom: 7%; }
.stat-icon, .progress-ring { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: rgba(240,196,119,.14); color: var(--gold); font-size: .72rem; font-weight: 900; }
.progress-ring { border: 3px solid var(--gold); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .24; }
.hero-glow-one { width: 330px; height: 330px; right: -100px; top: 120px; background: #3e88a5; }
.hero-glow-two { width: 260px; height: 260px; left: 35%; bottom: -110px; background: #d59c49; opacity: .08; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 54px; background: var(--paper); clip-path: polygon(0 72%, 12% 48%, 25% 61%, 40% 35%, 54% 60%, 70% 44%, 85% 64%, 100% 38%, 100% 100%, 0 100%); }

.trust-strip { padding: 24px 0 6px; background: var(--paper); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid #dddcd7; }
.trust-grid > div { display: flex; align-items: center; gap: 16px; padding: 28px 24px; }
.trust-grid > div + div { border-left: 1px solid #dddcd7; }
.trust-number { color: #c5a269; font-family: Georgia, serif; font-size: 1.5rem; }
.trust-grid strong, .trust-grid small { display: block; }
.trust-grid strong { color: var(--navy-900); font-family: Georgia, serif; font-size: 1.05rem; }
.trust-grid small { color: var(--muted); font-size: .74rem; }

.section-heading { max-width: 760px; margin-bottom: 46px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading h2 { margin-bottom: 17px; color: var(--navy-900); }
.section-heading > p:last-child { color: var(--muted); font-size: 1rem; }

.tool-section { padding-top: 96px; }
.workspace { display: grid; grid-template-columns: 245px minmax(0,1fr); min-height: 670px; overflow: hidden; border: 1px solid #d8dfe2; border-radius: var(--radius-xl); background: white; box-shadow: var(--shadow); }
.workspace-sidebar { display: flex; flex-direction: column; padding: 26px 18px; color: white; background: linear-gradient(180deg, var(--navy-900), #092942); }
.sidebar-project { display: flex; align-items: center; gap: 12px; padding: 3px 4px 24px; border-bottom: 1px solid rgba(255,255,255,.1); }
.project-symbol { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; border: 1px solid rgba(240,196,119,.36); border-radius: 11px; color: var(--gold); background: rgba(240,196,119,.08); font-family: Georgia, serif; font-size: .8rem; }
.sidebar-project small, .sidebar-project strong { display: block; min-width: 0; }
.sidebar-project small { color: #8ca3b1; font-size: .66rem; }
.sidebar-project strong { max-width: 145px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .78rem; }
.step-list { display: grid; gap: 8px; margin-top: 22px; }
.step-button { display: flex; align-items: center; gap: 11px; width: 100%; padding: 12px; border: 1px solid transparent; border-radius: 12px; color: #9db2bf; background: transparent; text-align: left; cursor: pointer; }
.step-button > span:first-child { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; font-size: .7rem; font-weight: 850; }
.step-button strong, .step-button small { display: block; }
.step-button strong { color: inherit; font-size: .78rem; }
.step-button small { color: #6f8a9b; font-size: .63rem; }
.step-button.active { color: white; border-color: rgba(240,196,119,.22); background: rgba(240,196,119,.1); }
.step-button.active > span:first-child { color: var(--navy-950); border-color: var(--gold); background: var(--gold); }
.step-button.active small { color: #b7c7d0; }
.save-status { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 16px 7px 2px; border-top: 1px solid rgba(255,255,255,.1); }
.save-dot { width: 8px; height: 8px; border-radius: 50%; background: #64d4a7; box-shadow: 0 0 0 4px rgba(100,212,167,.1); }
.save-status strong, .save-status small { display: block; }
.save-status strong { font-size: .65rem; }
.save-status small { color: #7f97a6; font-size: .58rem; }

.workspace-main { min-width: 0; }
.workspace-topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px 32px; border-bottom: 1px solid #e4e8ea; }
.workspace-topbar p { margin: 0 0 5px; color: var(--gold-dark); font-size: .68rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.workspace-topbar h3 { margin: 0; font-size: 1.65rem; }
.topbar-actions { display: flex; align-items: center; gap: 9px; }
.icon-button { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #d6dde0; border-radius: 10px; background: white; cursor: pointer; }
.icon-button svg { width: 19px; height: 19px; }
.planner-panel { padding: 32px; }
.form-grid { display: grid; gap: 18px; }
.form-grid-three { grid-template-columns: repeat(3, 1fr); }
.field { display: grid; gap: 8px; }
.field-span-two { grid-column: span 2; }
.field > span { color: #394b58; font-size: .75rem; font-weight: 780; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid #ced7dc;
  border-radius: 10px;
  color: var(--ink);
  background: white;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { padding-block: 11px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(35,87,121,.09); outline: 0; }
.goal-summary { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 13px; margin-top: 26px; }
.goal-card { display: flex; align-items: center; gap: 13px; min-height: 108px; padding: 18px; border: 1px solid #dce2e5; border-radius: 14px; background: #f9faf9; }
.goal-card.primary { color: white; border-color: var(--navy-900); background: var(--navy-900); }
.goal-icon { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 11px; color: var(--navy-700); background: #eef2f3; }
.goal-card.primary .goal-icon { color: var(--gold); background: rgba(255,255,255,.08); }
.goal-icon svg { width: 21px; height: 21px; }
.goal-card small, .goal-card strong, .goal-card em { display: block; }
.goal-card small { color: #71818c; font-size: .65rem; font-weight: 700; }
.goal-card.primary small { color: #adc0cb; }
.goal-card strong { margin: 3px 0 1px; font-family: Georgia, serif; font-size: 1.45rem; line-height: 1.1; }
.goal-card em { color: #75838c; font-size: .62rem; font-style: normal; }
.goal-card.primary em { color: #a9bdc8; }
.panel-footer { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 28px; padding-top: 21px; border-top: 1px solid #e4e8e9; }
.panel-footer p { max-width: 510px; margin: 0; color: var(--muted); font-size: .72rem; }

.chapter-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.chapter-toolbar h4, .chapter-toolbar p { margin-bottom: 0; }
.chapter-toolbar h4 { font-size: 1.35rem; }
.chapter-toolbar p { color: var(--muted); font-size: .76rem; }
.chapter-list { display: grid; gap: 9px; max-height: 420px; overflow: auto; padding-right: 3px; }
.chapter-row { display: grid; grid-template-columns: 38px minmax(0,1fr) 130px 38px; align-items: center; gap: 10px; padding: 10px; border: 1px solid #dce2e5; border-radius: 11px; background: #fbfcfb; }
.chapter-number { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: #edf1f2; color: var(--navy-700); font-size: .7rem; font-weight: 850; }
.chapter-row input { width: 100%; min-height: 39px; padding: 0 10px; border: 1px solid transparent; border-radius: 7px; background: transparent; }
.chapter-row input:focus { border-color: #b8c5cb; background: white; outline: 0; }
.chapter-unit-wrap { display: flex; align-items: center; overflow: hidden; border: 1px solid #d3dade; border-radius: 8px; background: white; }
.chapter-unit-wrap input { min-width: 0; text-align: right; }
.chapter-unit-wrap span { padding-right: 9px; color: var(--muted); font-size: .62rem; }
.chapter-delete { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 8px; color: #9a5860; background: #f9eeee; cursor: pointer; }
.chapter-delete svg { width: 16px; height: 16px; }
.allocation-note { margin-top: 14px; padding: 11px 13px; border-radius: 9px; color: #566872; background: #f0f3f3; font-size: .7rem; }
.allocation-note.warning { color: #7b5421; background: #fff4df; }

.progress-dashboard { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; padding: 22px; border-radius: 18px; color: white; background: linear-gradient(135deg, var(--navy-900), #123c5d); }
.progress-overview { display: flex; align-items: center; gap: 18px; }
.big-progress { --progress: 0deg; display: grid; place-items: center; flex: 0 0 104px; width: 104px; height: 104px; border-radius: 50%; background: conic-gradient(var(--gold) var(--progress), rgba(255,255,255,.12) 0); position: relative; }
.big-progress::before { content: ""; position: absolute; inset: 8px; border-radius: inherit; background: var(--navy-900); }
.big-progress span { position: relative; z-index: 1; font-family: Georgia, serif; font-size: 1.35rem; }
.progress-overview .mini-label { color: var(--gold); }
.progress-overview h4 { margin: 0 0 6px; }
.progress-overview p:last-child { margin: 0; color: #b5c7d1; font-size: .72rem; }
.progress-stats { display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; border-left: 1px solid rgba(255,255,255,.12); }
.progress-stats > div { padding: 13px; }
.progress-stats small, .progress-stats strong { display: block; }
.progress-stats small { color: #98afbd; font-size: .61rem; }
.progress-stats strong { margin-top: 4px; font-family: Georgia, serif; font-size: .98rem; }
.progress-chapter-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; max-height: 330px; overflow: auto; margin-top: 18px; padding-right: 3px; }
.progress-chapter { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid #dce2e4; border-radius: 11px; background: white; cursor: pointer; }
.progress-chapter input { width: 18px; height: 18px; accent-color: var(--green); }
.progress-chapter strong, .progress-chapter small { display: block; }
.progress-chapter strong { font-size: .74rem; }
.progress-chapter small { color: var(--muted); font-size: .62rem; }
.progress-chapter.completed { border-color: #bcdccb; background: #f0faf5; }
.progress-chapter.completed strong { text-decoration: line-through; color: #547363; }

.export-intro { display: flex; align-items: center; gap: 18px; padding: 24px; border-radius: 16px; background: #f3f1ea; }
.export-icon { display: grid; place-items: center; flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%; color: var(--navy-900); background: var(--gold); }
.export-icon svg { width: 26px; height: 26px; }
.export-intro h4, .export-intro p { margin-bottom: 0; }
.export-intro h4 { margin-bottom: 5px; }
.export-intro p:last-child { color: var(--muted); font-size: .76rem; }
.export-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 18px; }
.export-card { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 14px; min-height: 100px; padding: 17px; border: 1px solid #d7dfe2; border-radius: 14px; background: white; text-align: left; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.export-card:hover { transform: translateY(-2px); border-color: #aebdc4; box-shadow: var(--shadow-soft); }
.file-type { display: grid; place-items: center; width: 52px; height: 58px; border-radius: 8px; color: var(--navy-900); background: #f0ede6; font-size: .72rem; font-weight: 900; }
.export-card strong, .export-card small { display: block; }
.export-card strong { font-size: .78rem; }
.export-card small { margin-top: 4px; color: var(--muted); font-size: .64rem; }
.export-card .arrow { color: var(--gold-dark); font-size: 1.2rem; }
.privacy-box { display: flex; gap: 12px; margin-top: 18px; padding: 15px; border: 1px solid #cfe1d9; border-radius: 12px; color: #305e4c; background: #f2faf6; }
.privacy-box svg { flex: 0 0 21px; width: 21px; height: 21px; }
.privacy-box strong { font-size: .74rem; }
.privacy-box p { margin: 2px 0 0; font-size: .65rem; }

.how-section { background: #eeeae2; }
.how-grid { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: 82px; }
.how-image { position: relative; max-width: 560px; }
.how-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.image-quote { position: absolute; right: -28px; bottom: 28px; width: min(340px, 72%); padding: 22px; border-radius: 16px; color: white; background: var(--navy-900); box-shadow: 0 20px 40px rgba(7,31,53,.23); }
.image-quote span { color: var(--gold); font-family: Georgia, serif; font-size: 2rem; line-height: .7; }
.image-quote p { margin: 5px 0 0; font-family: Georgia, serif; font-size: .95rem; font-style: italic; }
.how-copy h2 { margin-bottom: 20px; color: var(--navy-900); }
.how-list { display: grid; gap: 20px; list-style: none; padding: 0; margin: 32px 0 0; }
.how-list li { display: flex; gap: 16px; }
.how-list li > span { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; color: var(--navy-900); background: var(--gold); font-family: Georgia, serif; font-weight: 700; }
.how-list strong { font-family: Georgia, serif; font-size: 1.05rem; }
.how-list p { margin: 4px 0 0; color: var(--muted); font-size: .82rem; }

.extra-tools { color: white; background: linear-gradient(145deg, #061a2a, #0a2b45); }
.light-heading h2 { color: white; }
.light-heading > p:last-child { color: #aebfca; }
.tool-tabs { display: flex; gap: 8px; margin-bottom: 17px; }
.tool-tab { display: flex; align-items: center; gap: 8px; min-height: 47px; padding: 0 18px; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; color: #9db0bc; background: transparent; font-size: .78rem; font-weight: 780; cursor: pointer; }
.tool-tab span { color: var(--gold); font-family: Georgia, serif; }
.tool-tab.active { color: var(--navy-950); border-color: var(--gold); background: var(--gold); }
.tool-tab.active span { color: var(--navy-950); }
.tool-card { display: grid; grid-template-columns: 1fr .9fr; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 24px; background: rgba(255,255,255,.04); box-shadow: 0 30px 70px rgba(0,0,0,.2); }
.tool-card-copy { padding: 38px; }
.tool-card-copy h3 { margin-bottom: 14px; }
.tool-card-copy > p:not(.mini-label) { color: #abc0cb; font-size: .82rem; }
.tool-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 25px; }
.tool-form .full { grid-column: 1 / -1; }
.dark-field > span { color: #b9c9d2; }
.dark-field input, .dark-field select, .dark-field textarea { color: white; border-color: rgba(255,255,255,.19); background: rgba(255,255,255,.06); }
.dark-field input::placeholder, .dark-field textarea::placeholder { color: #788f9c; }
.dark-field select option { color: var(--ink); }
.tool-form .button { justify-self: start; }
.tool-result { min-width: 0; padding: 26px; border-left: 1px solid rgba(255,255,255,.11); background: rgba(0,0,0,.11); }
.result-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; color: #91a8b5; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.name-results { display: grid; gap: 10px; }
.name-results button { display: grid; grid-template-columns: 38px 1fr; column-gap: 12px; align-items: center; min-height: 88px; padding: 13px; border: 1px solid rgba(255,255,255,.13); border-radius: 12px; color: white; background: rgba(255,255,255,.05); text-align: left; cursor: pointer; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.name-results button:hover { transform: translateX(4px); border-color: rgba(240,196,119,.48); background: rgba(240,196,119,.07); }
.name-results button > span { grid-row: 1 / 3; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; color: var(--gold); background: rgba(240,196,119,.09); font-family: Georgia, serif; }
.name-results strong { font-family: Georgia, serif; font-size: 1rem; }
.name-results small { color: #7f96a4; font-size: .61rem; }
.blurb-result-wrap { display: flex; flex-direction: column; }
.blurb-result { flex: 1; width: 100%; min-height: 340px; padding: 20px; resize: vertical; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; color: #e9f0f4; background: rgba(255,255,255,.05); font-family: Georgia, serif; font-size: .97rem; line-height: 1.7; }
.result-tip { margin: 13px 0 0; color: #879da9; font-size: .66rem; }
.cost-form { display: grid; gap: 10px; margin-top: 24px; }
.cost-form label { display: flex; align-items: center; justify-content: space-between; gap: 14px; color: #b4c5ce; font-size: .72rem; }
.cost-form label > div { display: flex; align-items: center; overflow: hidden; width: 145px; border: 1px solid rgba(255,255,255,.16); border-radius: 8px; background: rgba(255,255,255,.05); }
.cost-form input { min-width: 0; width: 100%; height: 40px; padding: 0 8px; border: 0; color: white; background: transparent; text-align: right; }
.cost-form em { padding-right: 10px; color: #7f97a4; font-size: .67rem; font-style: normal; }
.cost-result { padding: 38px; }
.cost-result .mini-label { color: var(--gold); }
.cost-total { margin: 28px 0; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.12); }
.cost-total span, .cost-total strong { display: block; }
.cost-total span { color: #8ea4b1; font-size: .72rem; }
.cost-total strong { margin-top: 4px; color: var(--gold); font-family: Georgia, serif; font-size: 2.7rem; }
.cost-breakdown { display: grid; gap: 15px; }
.cost-breakdown > div { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.cost-breakdown span { color: #8ea4b1; font-size: .72rem; }
.cost-breakdown strong { font-family: Georgia, serif; }
.cost-disclaimer { margin: 28px 0 0; color: #6f8795; font-size: .61rem; }

.checklist-section { background: var(--paper); }
.checklist-grid { display: grid; grid-template-columns: .72fr 1.28fr; align-items: start; gap: 72px; }
.checklist-intro { position: sticky; top: 30px; }
.checklist-intro h2 { margin-bottom: 18px; color: var(--navy-900); }
.checklist-progress-card { margin: 30px 0 16px; padding: 20px; border-radius: 15px; color: white; background: var(--navy-900); }
.checklist-progress-card > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.checklist-progress-card span { color: #9ab0bd; font-size: .67rem; }
.checklist-progress-card strong { font-family: Georgia, serif; font-size: .9rem; }
.horizontal-progress { height: 7px; margin-top: 15px; overflow: hidden; border-radius: 100px; background: rgba(255,255,255,.12); }
.horizontal-progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--gold); transition: width .3s ease; }
.checklist { display: grid; gap: 12px; }
.checklist-group { overflow: hidden; border: 1px solid #d9e0e2; border-radius: 15px; background: white; box-shadow: 0 8px 22px rgba(7,31,53,.04); }
.checklist-group-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; width: 100%; padding: 18px 20px; border: 0; color: var(--navy-900); background: transparent; cursor: pointer; }
.checklist-group-header > span:first-child { display: flex; align-items: center; gap: 12px; text-align: left; }
.checklist-group-number { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; color: var(--navy-900); background: #f2eadc; font-family: Georgia, serif; font-weight: 700; }
.checklist-group-header strong { display: block; font-family: Georgia, serif; }
.checklist-group-header small { display: block; color: var(--muted); font-size: .62rem; }
.chevron { width: 18px; height: 18px; transition: transform .2s ease; }
.checklist-group.open .chevron { transform: rotate(180deg); }
.checklist-items { display: none; padding: 0 20px 16px 65px; }
.checklist-group.open .checklist-items { display: grid; gap: 4px; }
.checklist-item { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid #edf0f1; cursor: pointer; }
.checklist-item input { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green); }
.checklist-item strong, .checklist-item small { display: block; }
.checklist-item strong { font-size: .77rem; }
.checklist-item small { margin-top: 2px; color: var(--muted); font-size: .63rem; }
.checklist-item.done strong { color: #668074; text-decoration: line-through; }

.help-section { background: #ece9e2; }
.help-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.help-card { position: relative; display: flex; flex-direction: column; min-height: 320px; padding: 25px; border: 1px solid #d6dcde; border-radius: 18px; background: white; box-shadow: 0 10px 30px rgba(7,31,53,.05); transition: transform .2s ease, box-shadow .2s ease; }
.help-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.help-card.featured { color: white; border-color: var(--navy-900); background: var(--navy-900); }
.help-badge { position: absolute; top: 16px; right: 16px; padding: 5px 8px; border-radius: 100px; color: var(--navy-950); background: var(--gold); font-size: .55rem; font-weight: 900; text-transform: uppercase; }
.help-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 25px; border-radius: 13px; color: var(--navy-700); background: #f0ede6; }
.featured .help-icon { color: var(--gold); background: rgba(255,255,255,.08); }
.help-icon svg { width: 24px; height: 24px; }
.help-card h3 { margin-bottom: 12px; font-size: 1.35rem; }
.help-card p { color: var(--muted); font-size: .76rem; }
.featured p { color: #aec1cc; }
.help-cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: auto; padding: 13px 0 0; border: 0; border-top: 1px solid #e4e8e9; color: var(--navy-700); background: transparent; font-size: .72rem; font-weight: 850; cursor: pointer; }
.featured .help-cta { color: var(--gold); border-color: rgba(255,255,255,.12); }

.final-cta { padding: 75px 0; color: white; background: linear-gradient(125deg, #071f35, #0d3856); }
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.final-cta h2 { margin-bottom: 12px; }
.final-cta p:last-child { margin-bottom: 0; color: #afc1cc; }
.final-cta .button { flex: 0 0 auto; }
.site-footer { padding: 70px 0 20px; color: #9db0bc; background: var(--navy-950); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 52px; }
.footer-brand { color: white; }
.footer-grid p { max-width: 310px; font-size: .72rem; }
.footer-grid h3 { margin-bottom: 16px; color: white; font-family: inherit; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; }
.footer-grid a:not(.brand) { margin-bottom: 9px; color: #9db0bc; font-size: .72rem; text-decoration: none; }
.footer-grid a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 45px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); color: #637b89; font-size: .65rem; }

.modal { width: min(560px, calc(100% - 28px)); padding: 0; border: 0; border-radius: 20px; background: transparent; }
.modal::backdrop { background: rgba(2,14,23,.72); backdrop-filter: blur(4px); }
.modal-card { position: relative; padding: 32px; border-radius: 20px; background: white; box-shadow: 0 30px 90px rgba(0,0,0,.3); }
.modal-card h2 { margin-bottom: 12px; color: var(--navy-900); font-size: 2.2rem; }
.modal-card > p:not(.mini-label) { color: var(--muted); }
.modal-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; color: var(--navy-900); background: #edf0f1; font-size: 1.4rem; cursor: pointer; }
.modal-options { display: grid; gap: 9px; margin-top: 22px; }
.modal-options a { display: flex; align-items: center; justify-content: space-between; padding: 14px 15px; border: 1px solid #d9e0e3; border-radius: 11px; color: var(--navy-900); font-size: .78rem; font-weight: 800; text-decoration: none; }
.modal-options a:hover { border-color: var(--navy-600); background: #f7f9f9; }
.modal-note { margin-top: 18px; padding: 12px; border-radius: 9px; color: #6e797f; background: #f1efe9; font-size: .63rem; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 22px; transform: translate(-50%, 30px); padding: 11px 16px; border-radius: 9px; color: white; background: var(--navy-950); box-shadow: 0 15px 35px rgba(0,0,0,.23); font-size: .75rem; font-weight: 750; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1080px) {
  .main-nav { gap: 18px; }
  .nav-cta { display: none; }
  .hero-grid { gap: 34px; }
  .hero { min-height: auto; }
  .workspace { grid-template-columns: 210px minmax(0,1fr); }
  .planner-panel, .workspace-topbar { padding-inline: 24px; }
  .goal-summary { grid-template-columns: 1fr 1fr; }
  .goal-card.primary { grid-column: 1 / -1; }
  .progress-dashboard { grid-template-columns: 1fr; }
  .progress-stats { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .help-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .section { padding: 82px 0; }
  .nav-toggle { display: block; }
  .main-nav { position: absolute; top: 82px; left: 20px; right: 20px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; border: 1px solid rgba(255,255,255,.15); border-radius: 14px; background: rgba(5,24,39,.97); box-shadow: 0 20px 50px rgba(0,0,0,.25); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 12px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow, .hero-actions, .hero-benefits { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .hero-visual { width: min(680px, 100%); margin-inline: auto; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid > div + div { border-left: 0; border-top: 1px solid #dddcd7; }
  .workspace { grid-template-columns: 1fr; }
  .workspace-sidebar { padding: 16px; }
  .sidebar-project { display: none; }
  .step-list { grid-template-columns: repeat(4, 1fr); margin: 0; }
  .step-button { justify-content: center; padding: 9px 5px; }
  .step-button > span:nth-child(2), .save-status { display: none; }
  .step-button > span:first-child { flex-basis: 35px; width: 35px; height: 35px; }
  .how-grid, .checklist-grid { grid-template-columns: 1fr; gap: 55px; }
  .checklist-intro { position: static; }
  .tool-card { grid-template-columns: 1fr; }
  .tool-result { border-left: 0; border-top: 1px solid rgba(255,255,255,.11); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 26px), var(--container)); }
  .section { padding: 68px 0; }
  h1 { font-size: clamp(2.75rem, 15vw, 4.3rem); }
  h2 { font-size: clamp(2.15rem, 11vw, 3.25rem); }
  .site-header .brand { gap: 9px; font-size: 1.35rem; }
  .site-header .brand-mark { flex-basis: 38px; width: 38px; height: 34px; }
  .hero { padding: 126px 0 90px; }
  .hero-benefits { display: grid; gap: 9px; }
  .hero-stat-top { top: -10px; right: 4px; }
  .hero-stat-bottom { left: 5px; bottom: -20px; }
  .trust-grid > div { padding-inline: 8px; }
  .workspace { border-radius: 20px; }
  .workspace-topbar { align-items: flex-start; padding: 20px 16px; }
  .workspace-topbar h3 { font-size: 1.4rem; }
  .topbar-actions .button { display: none; }
  .planner-panel { padding: 22px 16px; }
  .form-grid-three { grid-template-columns: 1fr; }
  .field-span-two { grid-column: auto; }
  .goal-summary { grid-template-columns: 1fr; }
  .goal-card.primary { grid-column: auto; }
  .panel-footer { align-items: stretch; flex-direction: column-reverse; }
  .panel-footer .button { width: 100%; }
  .chapter-toolbar { align-items: flex-start; flex-direction: column; }
  .chapter-row { grid-template-columns: 32px minmax(0,1fr) 32px; }
  .chapter-unit-wrap { grid-column: 2 / 3; }
  .chapter-delete { grid-column: 3; grid-row: 1; }
  .progress-overview { align-items: flex-start; flex-direction: column; }
  .progress-stats { grid-template-columns: 1fr; }
  .progress-stats > div + div { border-top: 1px solid rgba(255,255,255,.08); }
  .progress-chapter-list, .export-grid { grid-template-columns: 1fr; }
  .how-image { padding-right: 15px; }
  .image-quote { right: 0; bottom: -25px; }
  .tool-tabs { display: grid; grid-template-columns: 1fr; }
  .tool-tab { justify-content: center; }
  .tool-card-copy, .tool-result, .cost-result { padding: 24px 18px; }
  .tool-form { grid-template-columns: 1fr; }
  .tool-form .full { grid-column: auto; }
  .tool-form .button { width: 100%; }
  .cost-form label { align-items: flex-start; flex-direction: column; }
  .cost-form label > div { width: 100%; }
  .checklist-items { padding-left: 20px; }
  .help-grid { grid-template-columns: 1fr; }
  .final-cta-inner { align-items: stretch; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; }
}

@media print {
  body > *:not(main), main > *:not(#verktyg), #verktyg > .container > *:not(.workspace) { display: none !important; }
  body, .tool-section, .workspace { background: white !important; }
  .workspace { display: block; border: 0; box-shadow: none; }
  .workspace-sidebar, .workspace-topbar, .planner-panel:not(.active), .panel-footer, button { display: none !important; }
  .planner-panel.active { display: block !important; padding: 0; }
}
