@font-face {
  font-family: "Fredoka";
  src: url("/assets/fonts/Fredoka-Variable.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "Andika";
  src: url("/assets/fonts/Andika-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Andika";
  src: url("/assets/fonts/Andika-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --night: #011c3b;
  --path: #152f55;
  --ivory: #fef9e6;
  --cream: #fff3e1;
  --gold: #e2b34f;
  --amber: #d08254;
  --coral: #cc4b3c;
  --red: #a53227;
  --periwinkle: #57659c;
  --white: #fffdf7;
  --shadow: 0 22px 60px rgba(1, 28, 59, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--night);
  background:
    radial-gradient(circle at 8% 7%, rgba(226, 179, 79, 0.20) 0 2px, transparent 3px),
    radial-gradient(circle at 87% 13%, rgba(226, 179, 79, 0.18) 0 3px, transparent 4px),
    linear-gradient(180deg, #fffdf5 0%, var(--ivory) 52%, #f8eedb 100%);
  font-family: "Andika", sans-serif;
}

a { color: inherit; }

img { display: block; max-width: 100%; }

.page-shell {
  position: relative;
  overflow: hidden;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
  z-index: -1;
}

.page-shell::before {
  top: 80px;
  right: -250px;
  background: rgba(87, 101, 156, 0.09);
}

.page-shell::after {
  bottom: 100px;
  left: -250px;
  background: rgba(204, 75, 60, 0.07);
}

.site-header,
.site-footer,
.container {
  width: min(1120px, calc(100% - 36px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
}

.brand {
  font-family: "Fredoka", sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 620;
  text-decoration: none;
}

.adult-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid rgba(87, 101, 156, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--path);
  font-size: 0.84rem;
}

.adult-label::before {
  content: "✦";
  color: var(--gold);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  align-items: center;
  gap: clamp(36px, 7vw, 90px);
  padding: clamp(42px, 8vw, 92px) 0 74px;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--coral);
  font-family: "Fredoka", sans-serif;
  font-weight: 620;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.79rem;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Fredoka", sans-serif;
  line-height: 1.06;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(2.55rem, 6.4vw, 5.7rem);
  font-weight: 640;
  letter-spacing: -0.035em;
}

.hero-copy {
  max-width: 680px;
  margin: 0;
  color: var(--path);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.65;
}

.cover-frame {
  position: relative;
  max-width: 365px;
  justify-self: center;
  padding: 13px;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 243, 225, 0.96));
  box-shadow: var(--shadow);
  transform: rotate(1.7deg);
}

.cover-frame::before,
.cover-frame::after {
  content: "✦";
  position: absolute;
  color: var(--gold);
  font-family: "Fredoka";
  font-size: 28px;
}

.cover-frame::before { top: -19px; left: -18px; }
.cover-frame::after { right: -20px; bottom: 28px; }

.cover-frame img {
  border-radius: 19px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.section {
  padding: 78px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin-bottom: 15px;
  font-size: clamp(2rem, 4.5vw, 3.65rem);
}

.section-heading p {
  margin: 0;
  color: var(--path);
  font-size: 1.08rem;
  line-height: 1.65;
}

.bonus-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
}

.return-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  max-width: 780px;
  margin: 28px auto 0;
  padding: 22px 24px;
  border: 1px solid rgba(226, 179, 79, 0.38);
  border-radius: 22px;
  background: rgba(255, 253, 247, 0.76);
  box-shadow: 0 14px 34px rgba(1, 28, 59, 0.07);
}

.return-note-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--night);
  font-size: 1rem;
}

.return-note strong {
  display: block;
  margin-bottom: 5px;
  font-family: "Fredoka", sans-serif;
  font-size: 1.12rem;
}

.return-note p {
  margin: 0;
  color: var(--path);
  line-height: 1.55;
}

.bonus-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(1, 28, 59, 0.10);
  border-radius: 30px;
  background: rgba(255, 253, 247, 0.92);
  box-shadow: 0 18px 50px rgba(1, 28, 59, 0.10);
}

.bonus-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.bonus-card-media {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  background: #e8e7ef;
}

.starter-gifts-mockup {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  padding: 28px 22px;
  background:
    radial-gradient(circle at 17% 18%, rgba(232, 186, 75, 0.27), transparent 25%),
    radial-gradient(circle at 82% 84%, rgba(216, 76, 57, 0.13), transparent 30%),
    linear-gradient(145deg, #f8f0de 0%, #eceaf4 100%);
}

.map-mini-card {
  position: relative;
  z-index: 2;
  padding: 10px 10px 14px;
  border: 1px solid rgba(1, 28, 59, 0.10);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 34px rgba(1, 28, 59, 0.17);
  margin-right: -16px;
  transform: translateX(8px) rotate(-2.2deg);
}

.map-mini-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  object-fit: contain;
  background: var(--cream);
}

.map-mini-card strong {
  display: block;
  padding-top: 9px;
  color: var(--night);
  font-family: "Fredoka", sans-serif;
  font-size: 0.78rem;
  text-align: center;
}

.mockup-label {
  position: absolute;
  top: -15px;
  left: 50%;
  z-index: 2;
  min-width: 88px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--night);
  font-family: "Fredoka", sans-serif;
  font-size: 0.72rem;
  font-weight: 650;
  text-align: center;
  transform: translateX(-50%);
}

.clue-fan {
  position: relative;
  z-index: 3;
  min-height: 310px;
  transform: translateX(-7px);
}

.clue-sheet {
  position: absolute;
  top: 20px;
  left: 50%;
  width: 69%;
  height: auto;
  border: 5px solid white;
  border-radius: 11px;
  background: white;
  box-shadow: 0 14px 28px rgba(1, 28, 59, 0.18);
  transform-origin: 50% 92%;
}

.clue-sheet-one {
  z-index: 1;
  transform: translateX(-67%) rotate(-11deg);
}

.clue-sheet-two {
  z-index: 3;
  transform: translateX(-50%) rotate(0deg);
}

.clue-sheet-three {
  z-index: 2;
  transform: translateX(-33%) rotate(11deg);
}

.clue-caption {
  position: absolute;
  right: 2px;
  bottom: 0;
  z-index: 4;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--night);
  color: white;
  font-family: "Fredoka", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
}

.mockup-spark {
  position: absolute;
  z-index: 4;
  color: var(--gold);
  font-size: 1.3rem;
}

.mockup-spark-one { top: 17px; right: 18px; }
.mockup-spark-two { bottom: 21px; left: 15px; font-size: 0.9rem; }

.certificate-preview {
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 16% 18%, rgba(232, 186, 75, 0.27), transparent 24%),
    radial-gradient(circle at 85% 82%, rgba(216, 76, 57, 0.12), transparent 29%),
    linear-gradient(145deg, #f8f0de 0%, #eceaf4 100%);
}

.certificate-preview img {
  position: relative;
  z-index: 2;
  display: block;
  width: 92%;
  max-height: 360px;
  border-radius: 18px;
  object-fit: contain;
  box-shadow: 0 18px 38px rgba(1, 28, 59, 0.20);
  transform: rotate(-0.8deg);
}

.certificate-spark {
  position: absolute;
  z-index: 3;
  color: var(--gold);
  font-size: 1.35rem;
}

.certificate-spark-one { top: 22px; right: 24px; }
.certificate-spark-two { bottom: 24px; left: 24px; font-size: 0.9rem; }

.bonus-card-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
}

.bonus-card h3 {
  margin-bottom: 13px;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.card-step {
  margin-bottom: 9px !important;
  color: var(--coral) !important;
  font-family: "Fredoka", sans-serif;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.bonus-card p {
  margin: 0 0 22px;
  color: var(--path);
  line-height: 1.58;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 50px;
  padding: 13px 21px;
  border: 0;
  border-radius: 999px;
  background: var(--night);
  color: white;
  font-family: "Andika", sans-serif;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(1, 28, 59, 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(1, 28, 59, 0.24);
}

.button.secondary {
  background: var(--red);
}

.journey {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  counter-reset: step;
}

.journey-step {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 15px;
  padding: 17px 19px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.67);
  border: 1px solid rgba(87, 101, 156, 0.15);
}

.journey-step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  grid-row: 1 / 3;
  margin-bottom: 0;
  border-radius: 50%;
  background: var(--gold);
  color: var(--night);
  font-family: "Fredoka";
  font-weight: 650;
}

.journey-step strong {
  display: block;
  margin: 1px 0 5px;
  font-family: "Fredoka";
  font-size: 1.07rem;
}

.journey-step p {
  margin: 0;
  color: var(--path);
  line-height: 1.5;
  font-size: 0.94rem;
}

.route-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.88fr);
  align-items: center;
  gap: clamp(38px, 7vw, 84px);
  padding: 62px 0 88px;
}

.route-hero-single {
  grid-template-columns: minmax(0, 920px);
  justify-content: center;
}

.route-hero h1 {
  font-size: clamp(2.45rem, 5.7vw, 5rem);
}

.preview-panel {
  padding: 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.preview-panel img {
  width: 100%;
  max-height: 520px;
  border-radius: 18px;
  object-fit: contain;
  background: var(--cream);
}

.form-panel {
  margin-top: 32px;
  padding: 28px;
  border: 1px solid rgba(1, 28, 59, 0.11);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 45px rgba(1, 28, 59, 0.10);
}

.form-panel h2 {
  margin-bottom: 11px;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.form-panel > p {
  margin: 0 0 22px;
  color: var(--path);
  line-height: 1.55;
}

.signup-form {
  display: grid;
  gap: 15px;
}

.field-label {
  display: grid;
  gap: 7px;
  font-weight: 700;
}

.field-label input[type="email"] {
  width: 100%;
  min-height: 52px;
  padding: 12px 15px;
  border: 1.5px solid rgba(21, 47, 85, 0.30);
  border-radius: 14px;
  background: white;
  color: var(--night);
  font: 400 1rem/1.3 "Andika";
}

.field-label input[type="text"] {
  width: 100%;
  min-height: 52px;
  padding: 12px 15px;
  border: 1.5px solid rgba(21, 47, 85, 0.30);
  border-radius: 14px;
  background: white;
  color: var(--night);
  font: 400 1rem/1.3 "Andika";
}

.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--path);
  font-size: 0.9rem;
  line-height: 1.45;
}

.consent input { margin-top: 4px; }

.consent a {
  color: var(--red);
  font-weight: 700;
  text-underline-offset: 3px;
}

.optional-consent {
  padding-top: 12px;
  border-top: 1px solid rgba(21, 47, 85, 0.10);
}

.access-hero {
  padding-bottom: 58px;
}

.access-section {
  padding-top: 44px;
}

.access-flow {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: start;
}

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

.access-form-panel {
  position: sticky;
  top: 24px;
  margin-top: 0;
}

.systeme-embed {
  min-height: 360px;
  margin-top: 20px;
}

.systeme-embed iframe {
  display: block;
  width: 100% !important;
  min-height: 410px !important;
  height: 410px !important;
  border: 0;
}

.privacy-link-note {
  margin: 16px 0 0;
  color: var(--path);
  font-size: 0.84rem;
  line-height: 1.55;
}

.privacy-link-note a {
  color: var(--red);
  font-weight: 700;
  text-underline-offset: 3px;
}

.return-copy {
  margin: 20px 0 0;
  padding: 17px 19px;
  border-left: 4px solid var(--gold);
  border-radius: 0 15px 15px 0;
  background: rgba(255, 253, 247, 0.72);
  color: var(--path);
  line-height: 1.55;
}

.form-status {
  margin: 2px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff1d9;
  color: var(--path);
  font-size: 0.84rem;
  line-height: 1.45;
}

.draft-note {
  display: none;
  margin: 3px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff1d9;
  color: var(--path);
  font-size: 0.9rem;
}

.draft-note.visible { display: block; }

.download-list {
  display: grid;
  gap: 14px;
}

.download-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 18px;
  border: 1px solid rgba(21, 47, 85, 0.13);
  border-radius: 18px;
  background: rgba(255, 253, 247, 0.88);
}

.download-item.featured-download {
  border-color: rgba(204, 75, 60, 0.24);
  background: rgba(255, 243, 225, 0.78);
}

.download-item strong,
.download-item span {
  display: block;
}

.download-item strong {
  margin-bottom: 5px;
  font-family: "Fredoka", sans-serif;
  font-size: 1.05rem;
}

.download-item span,
.helper-copy {
  color: var(--path);
  font-size: 0.9rem;
  line-height: 1.5;
}

.text-link {
  color: var(--red);
  font-weight: 700;
  text-underline-offset: 4px;
  white-space: nowrap;
}

.helper-copy {
  margin: 18px 0 0;
}

.closing-note {
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(21, 47, 85, 0.12);
  color: var(--red);
  font-family: "Fredoka", sans-serif;
  font-size: 1.05rem;
  font-weight: 560;
}

.privacy-copy {
  max-width: 780px;
  padding: 55px 0 90px;
}

.privacy-copy h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.privacy-copy h2 {
  margin-top: 38px;
  margin-bottom: 12px;
  font-size: 1.55rem;
}

.privacy-copy p,
.privacy-copy li {
  color: var(--path);
  line-height: 1.68;
}

.placeholder {
  padding: 18px;
  border: 1px dashed var(--coral);
  border-radius: 16px;
  background: rgba(255, 243, 225, 0.7);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 32px 0 42px;
  border-top: 1px solid rgba(1, 28, 59, 0.12);
  color: var(--path);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a { text-underline-offset: 3px; }

@media (max-width: 900px) {
  .hero,
  .route-hero {
    grid-template-columns: 1fr;
  }

  .hero-copy-wrap { order: 1; }
  .cover-frame,
  .preview-panel { order: 2; }
  .cover-frame { max-width: 330px; }
  .bonus-grid { grid-template-columns: 1fr; }
  .journey { grid-template-columns: repeat(2, 1fr); }
  .access-flow { grid-template-columns: 1fr; }
  .access-form-panel { position: static; }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero { padding-top: 30px; }
  .bonus-card { grid-template-columns: 1fr; }
  .bonus-card > img { max-height: 290px; }
  .bonus-card-media { min-height: 310px; }
  .starter-gifts-mockup { grid-template-columns: 0.92fr 1.08fr; }
  .map-mini-card { margin-right: -10px; transform: translateX(4px) rotate(-2deg); }
  .clue-sheet { width: 72%; }
  .certificate-preview { min-height: 320px; padding: 18px; }
  .certificate-preview img { width: 100%; max-height: 280px; }
  .journey { grid-template-columns: 1fr; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .form-panel { padding: 22px 18px; }
  .systeme-embed iframe {
    min-height: 520px !important;
    height: 520px !important;
  }
  .download-item { grid-template-columns: 1fr; }
  .download-item .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
