@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/dupa-nastere/assets/BricolageGrotesqueLatinExt.19e88a33c8f2.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-024F, U+1E00-1EFF;
}

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/dupa-nastere/assets/BricolageGrotesqueLatin.20fe060fe59c.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("/dupa-nastere/assets/SourceSerif4LatinExt.9d0f2f84d336.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  unicode-range: U+0100-024F, U+1E00-1EFF;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("/dupa-nastere/assets/SourceSerif4Latin.fafca76cdf16.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/dupa-nastere/assets/IBMPlexMonoLatinExt.f1050dc5317b.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-024F, U+1E00-1EFF;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/dupa-nastere/assets/IBMPlexMonoLatin.c36f509c0a8f.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f8f9fc;
  --white: #ffffff;
  --ink: #172036;
  --muted: #56617a;
  --cobalt: #1746d2;
  --cobalt-dark: #0d2f98;
  --mint: #9be7c4;
  --mint-light: #dcf8eb;
  --apricot: #ffb38a;
  --apricot-light: #fff0e8;
  --lavender: #d8dcf0;
  --lavender-light: #eef0fa;
  --line: #cad0df;
  --line-dark: #172036;
  --display: "Bricolage Grotesque", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  --max: 92rem;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  min-width: 18rem;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--cobalt-dark);
  text-decoration-thickness: .08em;
  text-underline-offset: .2em;
}

a:hover {
  color: var(--cobalt);
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: .2rem solid var(--apricot);
  outline-offset: .2rem;
}

[hidden] {
  display: none !important;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 720;
  letter-spacing: -.035em;
  line-height: 1.04;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.25rem, 5vw, 5.2rem);
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 2.1rem);
  line-height: 1.15;
}

section,
[id] {
  scroll-margin-top: 5rem;
}

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 100;
  transform: translateY(-160%);
  min-height: 2.75rem;
  padding: .65rem 1rem;
  border: 2px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  display: flex;
  position: relative;
  z-index: 10;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  min-height: 4.75rem;
  margin: 0 auto;
  padding: .7rem clamp(1.1rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--display);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  gap: .65rem;
  color: var(--ink);
  font-weight: 720;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  border-radius: 50%;
  background: var(--cobalt);
  color: var(--white);
  font-family: var(--mono);
  font-size: .72rem;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(.75rem, 2vw, 1.8rem);
  font-size: .88rem;
}

.site-header nav a {
  min-height: 2.75rem;
  padding-top: .72rem;
  color: var(--ink);
  text-decoration: none;
}

.site-header nav a:hover {
  text-decoration: underline;
}

.hero {
  display: grid;
  position: relative;
  max-width: var(--max);
  min-height: min(50rem, calc(100svh - 4.75rem));
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.18fr) minmax(20rem, .82fr);
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.hero-copy {
  display: flex;
  position: relative;
  justify-content: center;
  flex-direction: column;
  padding: clamp(4rem, 8vw, 8.5rem) clamp(1.25rem, 6vw, 6.5rem);
  overflow: hidden;
}

.hero-copy::after {
  position: absolute;
  right: -3rem;
  bottom: -6rem;
  width: 22rem;
  height: 22rem;
  border: 1px solid var(--lavender);
  border-radius: 50%;
  box-shadow: 0 0 0 3rem var(--lavender-light), 0 0 0 3.1rem var(--lavender);
  content: "";
  opacity: .56;
  pointer-events: none;
}

.kicker,
.folio,
.branch-label,
.time-label {
  color: var(--cobalt-dark);
  font-family: var(--mono);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero h1 {
  position: relative;
  z-index: 1;
  max-width: 13ch;
  margin-bottom: 0;
  font-size: clamp(3.15rem, 6.4vw, 7.2rem);
  line-height: .93;
}

.hero h1 span {
  display: block;
  margin-top: .23em;
  color: var(--cobalt);
  font-size: .59em;
  line-height: 1.03;
}

.deck {
  position: relative;
  z-index: 1;
  max-width: 46rem;
  margin: clamp(1.7rem, 4vw, 3rem) 0 1.6rem;
  color: #34405b;
  font-size: clamp(1.18rem, 1.75vw, 1.5rem);
  line-height: 1.48;
}

.trust-line {
  display: flex;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  gap: .45rem 1.2rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: .7rem;
}

.trust-line span::before {
  color: var(--cobalt);
  content: "✓ ";
  font-weight: 700;
}

.jump-link {
  display: inline-flex;
  position: relative;
  z-index: 1;
  align-items: center;
  align-self: flex-start;
  min-height: 2.75rem;
  margin-top: 1.6rem;
  gap: .55rem;
  font-family: var(--display);
  font-weight: 720;
}

.first-step {
  display: flex;
  position: relative;
  justify-content: center;
  flex-direction: column;
  padding: clamp(3rem, 5vw, 5.5rem) clamp(1.5rem, 4vw, 4.5rem);
  overflow: hidden;
  border-left: 1px solid var(--line-dark);
  background: var(--white);
}

.first-step::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 2rem;
  width: 2px;
  background: var(--cobalt);
  content: "";
}

.first-step::after {
  position: absolute;
  top: 14%;
  bottom: 14%;
  left: 2rem;
  width: 1.35rem;
  background: repeating-linear-gradient(to bottom, transparent 0 1.45rem, var(--cobalt) 1.45rem 1.55rem);
  content: "";
}

.deadline-badge {
  display: inline-flex;
  position: relative;
  align-items: flex-end;
  align-self: flex-start;
  margin: 1rem 0 2.2rem;
  padding: .9rem 1rem .75rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--apricot);
  line-height: .8;
  transform: rotate(-4deg);
}

.deadline-badge strong {
  font-family: var(--display);
  font-size: 4rem;
  letter-spacing: -.08em;
}

.deadline-badge span {
  margin: 0 0 .4rem .35rem;
  font-family: var(--mono);
  font-size: .72rem;
}

.first-step h2 {
  max-width: 10ch;
  margin-bottom: 1.35rem;
  font-size: clamp(2.05rem, 3.2vw, 3.6rem);
}

.first-step p:not(.folio) {
  max-width: 35rem;
}

.source-link,
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-family: var(--display);
  font-size: .95rem;
  font-weight: 720;
}

.source-link::after {
  margin-left: .35rem;
  content: "↗";
  font-family: var(--mono);
}

.fine-print {
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.5;
}

.first-step .fine-print {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.parallel-note {
  margin-top: 1rem;
  padding: .85rem 1rem;
  border-left: .35rem solid var(--cobalt);
  background: var(--mint-light);
  font-size: .92rem;
  line-height: 1.48;
}

.planner-section,
.checklist-section,
.boundaries-section,
.sources-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 6vw, 6.5rem);
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.section-heading {
  max-width: 62rem;
  margin-bottom: clamp(2.8rem, 6vw, 5.2rem);
}

.section-heading h2 {
  max-width: 14ch;
  margin-bottom: 1.2rem;
}

.section-heading > p:last-child {
  max-width: 47rem;
  color: var(--muted);
  font-size: 1.2rem;
}

.planner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, .85fr);
  gap: clamp(1.5rem, 4vw, 4rem);
}

.planner-form {
  display: grid;
  gap: 1rem;
}

fieldset {
  margin: 0;
  padding: 1.35rem;
  border: 1px solid var(--ink);
  background: var(--white);
}

legend {
  max-width: 34rem;
  padding: 0 .45rem;
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 720;
  line-height: 1.3;
}

fieldset label {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  gap: .7rem;
  cursor: pointer;
}

input[type="radio"],
input[type="checkbox"] {
  flex: 0 0 auto;
  width: 1.2rem;
  height: 1.2rem;
  accent-color: var(--cobalt);
}

.planner-actions,
.card-links,
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: .76rem 1.15rem;
  border: 2px solid var(--ink);
  border-radius: 0;
  font-family: var(--display);
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  background: var(--cobalt);
  color: var(--white);
  box-shadow: .28rem .28rem 0 var(--ink);
}

.button-primary:hover {
  background: var(--cobalt-dark);
  color: var(--white);
}

.button-quiet {
  background: var(--white);
  color: var(--ink);
}

.plan-output {
  align-self: start;
  padding: clamp(1.5rem, 3vw, 2.6rem);
  border: 2px solid var(--ink);
  background: var(--mint-light);
  box-shadow: .65rem .65rem 0 var(--mint);
}

.plan-output h3 {
  margin-bottom: 1.4rem;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.plan-output ol {
  display: grid;
  margin: 0 0 1.2rem;
  padding: 0;
  gap: 1rem;
  list-style: none;
  counter-reset: plan;
}

.plan-output li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: .8rem;
  counter-increment: plan;
}

.plan-output li::before {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  background: var(--cobalt);
  color: var(--white);
  content: counter(plan);
  font-family: var(--mono);
  font-size: .75rem;
  font-weight: 700;
}

.plan-output li strong,
.plan-output li span,
.plan-output li a {
  display: block;
}

.plan-output li strong {
  margin-bottom: .15rem;
  font-family: var(--display);
  line-height: 1.3;
}

.plan-output li span {
  color: #34405b;
  font-size: .94rem;
  line-height: 1.45;
}

.plan-output li a {
  margin-top: .25rem;
  font-family: var(--display);
  font-size: .84rem;
  font-weight: 700;
}

.noscript-note {
  padding: 1rem;
  border-left: .3rem solid var(--apricot);
  background: var(--apricot-light);
}

.timeline-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 6vw, 6.5rem);
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
  background: var(--ink);
  color: var(--paper);
}

.timeline-section .folio {
  color: var(--mint);
}

.section-heading.inverse > p:last-child {
  color: #c7cde0;
}

.growth-line {
  display: grid;
  position: relative;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0 0 4rem;
  padding: 0;
  gap: 1.2rem;
  list-style: none;
}

.growth-line::before {
  position: absolute;
  top: 1.1rem;
  right: 1rem;
  left: 1rem;
  height: 3px;
  background: var(--lavender);
  content: "";
}

.growth-line li {
  position: relative;
  padding-top: 3.4rem;
}

.marker {
  position: absolute;
  top: .3rem;
  left: .2rem;
  z-index: 1;
  width: 1.7rem;
  height: 1.7rem;
  border: 3px solid var(--paper);
  border-radius: 50%;
  box-shadow: 0 0 0 .3rem var(--ink);
}

.marker.mint {
  background: var(--mint);
}

.marker.apricot {
  background: var(--apricot);
}

.marker.lavender {
  background: var(--lavender);
}

.growth-line .time-label {
  color: var(--mint);
}

.growth-line h3 {
  margin-bottom: .65rem;
  font-size: 1.35rem;
}

.growth-line li > p:last-child {
  color: #c7cde0;
  font-size: .94rem;
  line-height: 1.45;
}

.deadline-table-wrap {
  overflow-x: auto;
  border: 1px solid #67718d;
}

table {
  width: 100%;
  min-width: 54rem;
  border-collapse: collapse;
  color: var(--paper);
  font-size: .94rem;
}

caption {
  padding: 1.2rem;
  background: #202b47;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 720;
  text-align: left;
}

th,
td {
  padding: 1rem;
  border-top: 1px solid #67718d;
  text-align: left;
  vertical-align: top;
}

thead th {
  color: var(--mint);
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

tbody th {
  font-family: var(--display);
}

.chapter {
  display: grid;
  max-width: var(--max);
  margin: 0 auto;
  grid-template-columns: minmax(8rem, .25fr) minmax(0, 1fr);
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.chapter-number {
  padding: clamp(3rem, 7vw, 7rem) 1rem;
  border-right: 1px solid var(--line-dark);
  color: var(--cobalt);
  font-family: var(--display);
  font-size: clamp(5rem, 10vw, 11rem);
  font-weight: 760;
  letter-spacing: -.1em;
  line-height: .8;
  text-align: center;
  writing-mode: vertical-rl;
}

.chapter-copy {
  padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 6vw, 6.5rem);
}

.chapter-copy > h2 {
  max-width: 14ch;
  margin-bottom: 1.6rem;
}

.lead {
  max-width: 50rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.8rem);
  color: #34405b;
  font-size: clamp(1.18rem, 1.8vw, 1.48rem);
}

.certificate {
  background: var(--white);
}

.branch-grid,
.leave-grid,
.boundary-grid,
.source-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.branch-grid article,
.leave-grid article {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--ink);
  background: var(--paper);
}

.branch-grid article:nth-child(2) {
  background: var(--lavender-light);
}

.branch-grid h3,
.leave-grid h3 {
  margin-bottom: 1rem;
}

.health {
  background: var(--mint-light);
}

.action-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 2rem;
  border: 1px solid var(--ink);
  background: var(--white);
}

.action-strip > div {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  padding: 1.4rem;
  gap: .7rem;
}

.action-strip > div + div {
  border-left: 1px solid var(--ink);
}

.action-strip span {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  background: var(--cobalt);
  color: var(--white);
  font-family: var(--mono);
  font-size: .78rem;
}

.action-strip p {
  margin: 0;
  line-height: 1.45;
}

.safety-note {
  max-width: 56rem;
  margin: 2rem 0 1.5rem;
  padding: 1.5rem;
  border-left: .5rem solid var(--apricot);
  background: var(--white);
}

.safety-note h3 {
  margin-bottom: .6rem;
  font-size: 1.35rem;
}

.safety-note p {
  margin-bottom: 0;
}

.benefits {
  background: var(--paper);
}

.money-card,
.cic-card {
  display: grid;
  margin-bottom: 1.25rem;
  padding: clamp(1.5rem, 4vw, 3.4rem);
  border: 2px solid var(--ink);
  background: var(--white);
}

.money-card {
  grid-template-columns: minmax(0, 1fr) minmax(14rem, .32fr);
  gap: 2rem;
  box-shadow: .7rem .7rem 0 var(--apricot);
}

.money-main h3,
.cic-copy h3 {
  font-size: clamp(1.8rem, 3.4vw, 3.5rem);
}

.money-card aside {
  align-self: center;
  padding: 1.4rem;
  border: 1px solid var(--ink);
  background: var(--apricot-light);
}

.money-card aside > p:not(.fine-print) {
  font-family: var(--display);
  font-weight: 700;
}

.amount {
  margin-bottom: .3rem;
  color: var(--cobalt);
  font-family: var(--display);
  font-size: clamp(3rem, 5vw, 5.2rem);
  font-weight: 760;
  letter-spacing: -.08em;
  line-height: .85;
}

.amount span {
  display: block;
  margin-top: .5rem;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: 0;
}

.card-links {
  grid-column: 1 / -1;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.leave-grid {
  margin: 2.5rem 0 1.25rem;
}

.leave-grid article:first-child {
  background: var(--lavender-light);
}

.leave-grid article:last-child {
  background: var(--mint-light);
}

.cic-card {
  background: var(--ink);
  color: var(--paper);
}

.cic-card .branch-label,
.cic-card .source-link {
  color: var(--mint);
}

.cic-copy p {
  max-width: 58rem;
}

.cic-rules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1.5rem 0 2rem;
  border: 1px solid #67718d;
}

.cic-rules div {
  padding: 1.35rem;
}

.cic-rules div + div {
  border-left: 1px solid #67718d;
}

.cic-rules strong,
.cic-rules span {
  display: block;
}

.cic-rules strong {
  margin-bottom: .45rem;
  color: var(--apricot);
  font-family: var(--display);
  font-size: 1.5rem;
}

.cic-rules span {
  color: #d6daea;
  font-size: .94rem;
  line-height: 1.45;
}

.choice-note {
  margin-top: 2.5rem;
  padding: clamp(1.4rem, 3vw, 2.3rem);
  border: 1px solid var(--ink);
  background: var(--lavender-light);
}

.choice-note h3 {
  margin-bottom: .7rem;
}

.checklist-section {
  background: var(--white);
}

.checklist-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, .36fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.checklist {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0;
  list-style: none;
}

.checklist li {
  border-top: 1px solid var(--line);
}

.checklist li:last-child {
  border-bottom: 1px solid var(--line);
}

.checklist label {
  display: grid;
  grid-template-columns: 1.4rem 1fr;
  min-height: 4.5rem;
  padding: 1rem .2rem;
  gap: .8rem;
  cursor: pointer;
}

.checklist strong,
.checklist span {
  display: block;
}

.checklist strong {
  font-family: var(--display);
  font-size: 1.05rem;
}

.checklist span {
  color: var(--muted);
  font-size: .93rem;
  line-height: 1.45;
}

.print-panel {
  align-self: start;
  padding: 1.7rem;
  border: 2px solid var(--ink);
  background: var(--apricot-light);
  box-shadow: .6rem .6rem 0 var(--apricot);
}

.print-panel h3 {
  font-size: 1.8rem;
}

.print-panel .button {
  width: 100%;
  margin-top: .65rem;
}

.boundaries-section {
  background: var(--lavender-light);
}

.boundary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.boundary-grid article {
  position: relative;
  padding: 1.6rem;
  border: 1px solid var(--ink);
  background: var(--paper);
}

.boundary-grid article > span {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1.5rem;
  place-items: center;
  border-radius: 50%;
  background: var(--cobalt);
  color: var(--white);
  font-family: var(--mono);
  font-size: .8rem;
}

.boundary-grid h3 {
  font-size: 1.5rem;
}

.boundary-grid p {
  margin-bottom: 0;
}

.privacy-warning {
  display: grid;
  grid-template-columns: minmax(12rem, .28fr) minmax(0, 1fr);
  margin-top: 2rem;
  padding: 1.5rem;
  border: 2px solid var(--ink);
  background: var(--apricot);
  gap: 1.5rem;
}

.privacy-warning strong {
  font-family: var(--display);
  font-size: 1.35rem;
}

.privacy-warning p {
  margin-bottom: 0;
}

.sources-section {
  background: var(--white);
}

.source-groups {
  gap: 3rem;
}

.source-groups h3 {
  padding-bottom: .8rem;
  border-bottom: 2px solid var(--ink);
  font-size: 1.4rem;
}

.source-groups ul {
  margin: 0;
  padding-left: 1.25rem;
}

.source-groups li {
  margin-bottom: .75rem;
}

.method-note {
  max-width: 62rem;
  margin: 3rem 0 0;
  padding: 1.4rem;
  border-left: .35rem solid var(--cobalt);
  background: var(--lavender-light);
}

footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem clamp(1.25rem, 6vw, 6.5rem);
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
  background: var(--cobalt);
  color: var(--white);
}

footer a {
  color: var(--white);
}

footer p {
  max-width: 48rem;
}

footer p:last-child {
  margin-bottom: 0;
  color: #dbe2ff;
}

.error-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 1.5rem;
}

.error-page main {
  max-width: 44rem;
  padding: clamp(2rem, 6vw, 5rem);
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: .8rem .8rem 0 var(--lavender);
}

.error-page h1 {
  font-size: clamp(2.8rem, 7vw, 6rem);
}

@media (max-width: 68rem) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .first-step {
    border-top: 1px solid var(--line-dark);
    border-left: 0;
  }

  .planner-grid,
  .checklist-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .plan-output,
  .print-panel {
    max-width: 44rem;
  }

  .growth-line {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .growth-line::before {
    display: none;
  }

  .growth-line li {
    padding: 3.2rem 1rem 1rem;
    border-top: 2px solid var(--lavender);
  }

  .chapter {
    grid-template-columns: minmax(5rem, .12fr) minmax(0, 1fr);
  }

  .chapter-number {
    font-size: 5rem;
  }

  .boundary-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 48rem) {
  body {
    font-size: 1rem;
  }

  .site-header {
    min-height: 4rem;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    min-height: calc(100svh - 4rem);
    padding-top: 3.3rem;
    padding-bottom: 3.3rem;
  }

  .hero h1 {
    font-size: clamp(3.05rem, 15vw, 5.1rem);
  }

  .first-step {
    padding-left: 3.3rem;
  }

  .first-step::before,
  .first-step::after {
    left: 1.25rem;
  }

  .planner-section,
  .timeline-section,
  .checklist-section,
  .boundaries-section,
  .sources-section,
  .chapter-copy {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .planner-actions .button {
    width: 100%;
  }

  .growth-line {
    display: block;
    position: relative;
    padding-left: 2rem;
  }

  .growth-line::before {
    display: block;
    top: .5rem;
    bottom: 1rem;
    left: .77rem;
    width: 3px;
    height: auto;
  }

  .growth-line li {
    min-height: 7.5rem;
    padding: 0 0 2.2rem 1rem;
    border-top: 0;
  }

  .marker {
    top: 0;
    left: -2rem;
  }

  .chapter {
    display: block;
  }

  .chapter-number {
    padding: 1.25rem;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
    font-size: 3.6rem;
    text-align: left;
    writing-mode: horizontal-tb;
  }

  .branch-grid,
  .leave-grid,
  .source-groups {
    grid-template-columns: minmax(0, 1fr);
  }

  .action-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .action-strip > div + div {
    border-top: 1px solid var(--ink);
    border-left: 0;
  }

  .money-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .money-card aside {
    max-width: 22rem;
  }

  .cic-rules {
    grid-template-columns: minmax(0, 1fr);
  }

  .cic-rules div + div {
    border-top: 1px solid #67718d;
    border-left: 0;
  }

  .privacy-warning {
    grid-template-columns: minmax(0, 1fr);
    gap: .5rem;
  }
}

@media (max-width: 24rem) {
  .hero h1 {
    font-size: 2.75rem;
  }

  .deadline-badge strong {
    font-size: 3.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  @page {
    margin: 1.4cm;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 10.5pt;
  }

  .site-header,
  .hero,
  .planner-section,
  .timeline-section,
  .chapter,
  .boundaries-section,
  .sources-section,
  footer,
  .print-panel .button {
    display: none !important;
  }

  .checklist-section {
    margin: 0;
    padding: 0;
    border: 0;
  }

  .checklist-section::before {
    display: block;
    margin-bottom: 1rem;
    content: "După naștere · lista familiei";
    font-family: var(--display);
    font-size: 24pt;
    font-weight: 700;
  }

  .checklist-layout {
    display: block;
  }

  .checklist label {
    min-height: 0;
    break-inside: avoid;
  }

  .print-panel {
    margin-top: 1.5rem;
    padding: 1rem;
    border: 1px solid #000;
    box-shadow: none;
  }
}
