:root {
  --navy: #1F2A44;
  --pink: #E8578A;
  --pink-deep: #C2185B;
  --pink-dark: #8E1243;
  --blush: #FBE9EF;
  --blush-text: #F7B6CC;
  --bg: #FAF8F5;
  --card: #FFFFFF;
  --text: #333333;
  --muted: #5C6475;
  --line: #9AA1B1;
  --on-navy: #E4E7EF;
  --shadow: 0 1px 3px rgba(31, 42, 68, 0.08);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

a { color: var(--pink-deep); }
a:hover { color: var(--pink-dark); }

:focus-visible { outline: 3px solid var(--pink-deep); outline-offset: 2px; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--card); padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { background: var(--navy); color: #FFFFFF; }
.site-header .wrap { padding-top: 28px; padding-bottom: 26px; display: flex; flex-direction: column; gap: 14px; }
.brand { display: flex; align-items: center; gap: 12px; color: #FFFFFF; text-decoration: none; }
.brand:hover { color: #FFFFFF; }
.brand svg { width: 52px; height: 52px; flex: 0 0 auto; }
.brand-name {
  font-family: Oswald, Impact, sans-serif; font-weight: 700; font-size: 26px;
  line-height: 1.05; letter-spacing: 1px; text-transform: uppercase;
}
.tagline { margin: 0; color: var(--on-navy); font-size: 15px; font-weight: 400; line-height: 1.5; max-width: 34em; }

/* Story */
.story {
  margin-top: 20px; background: var(--blush); border-radius: 14px; padding: 18px 18px;
  display: flex; flex-direction: column; gap: 8px;
}
.eyebrow { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.story p.quote { margin: 0; font-size: 16px; line-height: 1.6; color: var(--navy); }

/* Tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 18px; }
.tab {
  min-height: 44px; padding: 0 14px; border-radius: 22px; border: 2px solid var(--navy);
  background: transparent; color: var(--navy); font: 600 14px Inter, system-ui, sans-serif; cursor: pointer;
}
.tab[aria-selected="true"] { background: var(--navy); color: #FFFFFF; }

.panel { padding-top: 20px; display: flex; flex-direction: column; gap: 16px; }
.panel[hidden] { display: none; }

h2, .h2 {
  margin: 0; font-family: Oswald, Impact, sans-serif; font-weight: 500; font-size: 20px;
  color: var(--navy); text-transform: uppercase; letter-spacing: 0.5px;
}

/* Progress */
.progress-card { background: var(--card); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); }
.progress-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.progress-count { font-size: 14px; font-weight: 600; color: var(--navy); white-space: nowrap; }
.bar { height: 10px; border-radius: 5px; background: var(--blush); overflow: hidden; }
.bar span { display: block; height: 10px; border-radius: 5px; background: var(--pink); width: 0; transition: width 0.25s ease; }

/* Journal */
.journal { background: var(--navy); border-radius: 14px; padding: 18px 16px; display: flex; flex-direction: column; gap: 8px; }
.journal .eyebrow { color: var(--blush-text); }
.journal-title { font-family: Oswald, Impact, sans-serif; font-weight: 500; font-size: 20px; color: #FFFFFF; }
.journal p { margin: 0; font-size: 14px; color: var(--on-navy); }
.btn-pink {
  align-self: flex-start; margin-top: 4px; min-height: 44px; padding: 0 18px; border-radius: 22px;
  background: var(--pink); color: var(--navy); font-weight: 600; font-size: 14px; text-decoration: none;
  display: inline-flex; align-items: center;
}
.btn-pink:hover { color: var(--navy); background: #F06C98; }

/* Checklist */
.section { display: flex; flex-direction: column; gap: 10px; }
.section h3 { margin: 6px 0 0; font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.item {
  background: var(--card); border-radius: 12px; padding: 6px 12px 6px 6px;
  display: flex; align-items: center; gap: 6px; box-shadow: 0 1px 2px rgba(31, 42, 68, 0.06);
}
.check {
  flex: 1 1 auto; min-width: 0; min-height: 56px; display: flex; align-items: center; gap: 12px;
  background: transparent; border: 0; padding: 6px 8px; text-align: left; cursor: pointer;
  font: inherit; color: inherit; border-radius: 10px;
}
.box {
  flex: 0 0 auto; width: 28px; height: 28px; border-radius: 8px; border: 2px solid var(--line);
  background: var(--card); display: flex; align-items: center; justify-content: center;
}
.box svg { width: 30px; height: 30px; flex: 0 0 auto; display: none; }
.check[aria-pressed="true"] .box { border-color: transparent; background: transparent; }
.check[aria-pressed="true"] .box svg { display: block; animation: pop 0.22s ease-out; }
@keyframes pop { from { transform: scale(0.4) rotate(-20deg); } to { transform: scale(1) rotate(0); } }
@media (prefers-reduced-motion: reduce) { .check[aria-pressed="true"] .box svg { animation: none; } .bar span { transition: none; } }
.text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.label { font-size: 15px; font-weight: 500; color: var(--navy); }
.sub { font-size: 12px; line-height: 1.4; color: var(--muted); }
.check[aria-pressed="true"] .label { color: var(--muted); font-weight: 400; text-decoration: line-through; }
.shop { flex: 0 0 auto; font-size: 13px; font-weight: 600; text-decoration: none; padding: 14px 4px; }
.soon { flex: 0 0 auto; font-size: 12px; color: var(--muted); padding: 14px 0; }

.save-card {
  margin-top: 8px; background: var(--card); border: 2px solid var(--blush); border-radius: 14px; padding: 18px 16px;
  display: flex; flex-direction: column; gap: 8px; align-items: flex-start;
}
.save-title { margin: 0; font-weight: 600; color: var(--navy); font-size: 16px; }
.save-help { margin: 0; font-size: 14px; color: var(--muted); }
.btn-save {
  margin-top: 4px; min-height: 44px; padding: 0 20px; border-radius: 22px; border: 0;
  background: var(--navy); color: #FFFFFF; font: 600 14px Inter, system-ui, sans-serif; cursor: pointer;
}
.btn-save:hover { background: #2C3A5C; }
.save-status { margin: 0; font-size: 13px; color: var(--navy); }
.save-status:empty { display: none; }
.save-link { width: 100%; min-height: 44px; padding: 8px 12px; border: 2px solid var(--line); border-radius: 10px; font: 14px Inter, system-ui, sans-serif; color: var(--text); background: var(--bg); }
.save-link[hidden] { display: none; }

.reset {
  align-self: center; min-height: 44px; padding: 0 12px; background: transparent; border: 0;
  color: var(--muted); font: 500 13px Inter, system-ui, sans-serif; text-decoration: underline; cursor: pointer;
}

/* Resources */
.intro-card { background: var(--blush); border-radius: 14px; padding: 18px 16px; display: flex; flex-direction: column; gap: 6px; }
.intro-card p { margin: 0; font-size: 14px; }
.res-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 720px) { .res-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.res { background: var(--card); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 1px 2px rgba(31, 42, 68, 0.06); }
.res h4 { margin: 0; font-size: 16px; font-weight: 600; color: var(--navy); }
.res p { margin: 0; font-size: 14px; }
.res-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 4px; }
.pill {
  min-height: 44px; padding: 0 16px; border-radius: 22px; font-weight: 600; font-size: 14px;
  text-decoration: none; display: inline-flex; align-items: center; border: 2px solid var(--navy);
}
.pill.solid { background: var(--navy); color: #FFFFFF; }
.pill.solid:hover { color: #FFFFFF; background: #2C3A5C; }
.pill.outline { color: var(--navy); background: transparent; }
.pill.outline:hover { color: var(--navy); background: var(--blush); }
.fine { margin: 0; font-size: 12px; color: var(--muted); }

/* Text pages */
.page { padding-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.back { align-self: flex-start; min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; font-size: 14px; text-decoration: none; }
.doc { background: var(--card); border-radius: 14px; padding: 20px 18px; display: flex; flex-direction: column; gap: 18px; font-size: 15px; line-height: 1.65; box-shadow: var(--shadow); }
.doc h3 { margin: 0 0 4px; font-size: 16px; color: var(--navy); }
.doc p { margin: 0; }
.updated { margin: 0; font-size: 13px; color: var(--muted); }

/* Footer */
.site-footer { margin-top: 40px; padding: 24px 0 32px; text-align: center; }
.site-footer p { margin: 0; font-size: 12px; color: var(--muted); }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 4px; margin-top: 6px; }
.footer-links a { min-height: 44px; padding: 0 8px; display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; }
