@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/fraunces-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/fraunces-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin-400-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --night: #15263d;
  --night-deep: #101a2e;
  --ink: #1c2433;
  --muted: #2c384c;
  --parchment: #f7f1e6;
  --parchment-2: #fbf6ec;
  --line: #e4d5bc;
  --wax: #6d2834;
  --cream: #f6f1e6;
  --gold: #f0d7a4;
  --serif: Fraunces, "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--night-deep);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  hyphens: auto;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.sheet :focus-visible {
  outline-color: #1a365d;
}

::selection {
  background: #c4a15a;
  color: #1c1408;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 8;
  background: var(--parchment);
  color: var(--ink);
  padding: 0.65rem 1rem;
  border-radius: 0.6rem;
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    #07101c 0%,
    #10243f 22%,
    #2a446c 46%,
    #7d6484 64%,
    #e7b7a0 80%,
    #f2d3b0 100%
  );
}

#stars,
.sun,
.rays,
.vignette,
.cloud {
  position: absolute;
}

#stars {
  inset: 0;
  width: 100%;
  height: 100%;
}

.sun {
  width: 46vw;
  height: 46vw;
  min-width: 16rem;
  min-height: 16rem;
  right: -4vw;
  top: 18vh;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 228, 186, 0.72) 0%,
    rgba(244, 176, 150, 0.28) 36%,
    rgba(244, 176, 150, 0) 70%
  );
}

.rays {
  width: 110vmax;
  height: 110vmax;
  left: 18%;
  top: -10%;
  background: repeating-conic-gradient(
    from -18deg at 58% 58%,
    transparent 0deg 12deg,
    rgba(255, 228, 190, 0.11) 16deg,
    transparent 22deg
  );
  transform-origin: 58% 58%;
  animation: rays 56s linear infinite;
  -webkit-mask-image: radial-gradient(circle at 58% 58%, #000 0%, transparent 68%);
  mask-image: radial-gradient(circle at 58% 58%, #000 0%, transparent 68%);
}

.vignette {
  inset: 0;
  background: radial-gradient(
    ellipse at 72% 48%,
    transparent 0%,
    rgba(7, 12, 24, 0.18) 62%,
    rgba(7, 12, 24, 0.42) 100%
  );
}

.cloud {
  opacity: 0.72;
}

.cloud-1 {
  width: min(34vw, 22rem);
  top: 8vh;
  left: -3rem;
  animation: drift 78s ease-in-out infinite alternate;
}

.cloud-2 {
  width: min(42vw, 28rem);
  top: 34vh;
  right: -4rem;
  opacity: 0.55;
  animation: drift 104s ease-in-out infinite alternate-reverse;
}

.cloud-3 {
  width: min(28vw, 18rem);
  top: 58vh;
  left: 6vw;
  opacity: 0.4;
  animation: drift 92s ease-in-out infinite alternate;
}

.cloud-4 {
  width: min(36vw, 24rem);
  bottom: 6vh;
  right: 8vw;
  opacity: 0.38;
  animation: drift 118s ease-in-out infinite alternate-reverse;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(7vw, 1.4vh, 0); }
}

@keyframes rays {
  from { transform: rotate(0deg); }
  to { transform: rotate(18deg); }
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  z-index: 5;
  background: rgba(16, 26, 46, 0.94);
  box-shadow: inset 0 -1px 0 rgba(240, 215, 164, 0.35);
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 1rem;
  min-height: 4.5rem;
  padding: 0.35rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 48px;
  color: var(--cream);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.brand svg {
  width: 36px;
  height: 36px;
  flex: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
}

.nav a:hover {
  background: rgba(240, 215, 164, 0.14);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.5rem 2.5rem;
  align-items: center;
  min-height: calc(100svh - 4.5rem);
  padding: 1.5rem 0 3rem;
}

.hero-copy {
  background: var(--night);
  border: 1px solid rgba(240, 215, 164, 0.35);
  border-radius: 1.5rem;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  box-shadow: 0 24px 50px rgba(6, 10, 20, 0.28);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
.brand-name {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5.4vw, 4.5rem);
  line-height: 1.05;
  color: var(--cream);
}

.lead {
  margin: 1.1rem 0 0;
  font-size: 1.14rem;
  color: var(--cream);
}

.quiet {
  margin: 1rem 0 0;
  color: #e7dcc8;
  font-style: italic;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

.btn-primary {
  background: #f4e7d0;
  color: var(--ink);
}

.btn-primary:hover {
  background: #fff8ee;
}

.btn-ghost {
  color: var(--cream);
  box-shadow: inset 0 0 0 1.5px #f0e2c8;
}

.btn-ghost:hover {
  background: rgba(244, 231, 208, 0.1);
}

.hero-art {
  width: min(100%, 34rem);
  margin-inline: auto;
  filter: drop-shadow(0 18px 24px rgba(8, 12, 24, 0.28));
}

.sheet {
  color-scheme: light;
  background:
    radial-gradient(rgba(90, 60, 30, 0.035) 0.6px, transparent 0.7px),
    linear-gradient(180deg, var(--parchment-2) 0%, var(--parchment) 100%);
  background-size: 5px 5px, auto;
  color: var(--ink);
  border-radius: 1.35rem;
  padding: clamp(1.4rem, 3vw, 2.8rem);
  margin: 0 0 1.4rem;
  box-shadow: 0 22px 48px rgba(8, 12, 24, 0.22);
  scroll-margin-top: 5.5rem;
}

.sheet h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 1.12;
  color: var(--ink);
}

.sheet h2::after {
  content: "";
  display: block;
  width: 3.4rem;
  height: 2px;
  margin-top: 0.8rem;
  background: var(--wax);
}

.lede {
  max-width: 42rem;
  margin: 1rem 0 0;
  font-size: 1.12rem;
}

.steps,
.secure,
.plans {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}

.steps {
  grid-template-columns: 1fr 1fr;
}

.secure,
.plans {
  grid-template-columns: repeat(3, 1fr);
}

.step,
.card,
.plan {
  background: rgba(255, 252, 246, 0.72);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.15rem 1.15rem 1.25rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
}

.step-mark {
  width: 3.25rem;
  height: 3.25rem;
  color: var(--night);
}

.step h3,
.card h3,
.plan h3,
.faq h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.2;
  margin: 0 0 0.4rem;
}

.step p,
.card p,
.plan li,
.faq p {
  margin: 0;
  color: var(--muted);
}

.card p + p,
.step p + p {
  margin-top: 0.7rem;
}

.aside-note {
  max-width: 46rem;
  margin: 1.2rem 0 0;
  color: var(--muted);
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.store {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 64px;
  min-width: min(100%, 16rem);
  padding: 0.7rem 1rem;
  border: 1px solid #24344e;
  border-radius: 0.9rem;
  background: var(--night);
  color: var(--cream);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.store svg {
  width: 1.8rem;
  height: 1.8rem;
  flex: none;
}

.store-kicker {
  display: block;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.store-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.2;
}

.stamp {
  display: inline-block;
  margin: 0 0 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 0.35rem;
  background: var(--wax);
  color: #fff8ee;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.amount {
  margin: 0 0 0.8rem;
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1.15;
  color: var(--ink);
}

.plan ul {
  margin: 0;
  padding-left: 1.15rem;
}

.plan li + li {
  margin-top: 0.35rem;
}

.faq details {
  border-top: 1px solid var(--line);
}

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

.faq summary {
  padding: 0.95rem 0;
  cursor: pointer;
}

.faq summary h3 {
  display: inline;
  font-family: var(--sans);
  font-size: 1.08rem;
  font-weight: 600;
}

.faq details p {
  margin: 0 0 1rem;
  max-width: 46rem;
}

.sheet a {
  color: #1a3e72;
}

.site-footer {
  margin-top: 1.5rem;
  background: var(--night-deep);
  color: var(--cream);
  box-shadow: inset 0 1px 0 rgba(240, 215, 164, 0.28);
}

.foot {
  display: grid;
  gap: 1rem;
  padding: 2rem 0 2.4rem;
}

.brand-name {
  margin: 0;
  font-size: 1.6rem;
}

.foot p {
  margin: 0.3rem 0 0;
  color: #e7dcc8;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
}

.legal-nav a {
  color: var(--cream);
  font-weight: 600;
}

.tag {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.05rem 0.4rem;
  border-radius: 0.3rem;
  background: var(--wax);
  color: #fff8ee;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: 0.15em;
}

.legal .banner {
  margin: 0 0 1.2rem;
  padding: 0.9rem 1rem;
  border-radius: 0.8rem;
  background: var(--wax);
  color: #fff8ee;
  font-weight: 600;
}

.legal h1 {
  color: var(--ink);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.legal h1::after {
  content: "";
  display: block;
  width: 3.4rem;
  height: 2px;
  margin-top: 0.75rem;
  background: var(--wax);
}

.legal h2 {
  margin: 1.6rem 0 0.4rem;
  font-size: 1.45rem;
}

.legal h2::after {
  width: 2.4rem;
  margin-top: 0.45rem;
}

.legal p,
.legal li {
  max-width: 42rem;
  color: var(--muted);
}

.facts {
  display: grid;
  grid-template-columns: minmax(8rem, 14rem) 1fr;
  gap: 0.35rem 1rem;
  margin: 1.2rem 0 0;
  max-width: 40rem;
}

.facts dt {
  font-weight: 600;
  color: var(--ink);
}

.facts dd {
  margin: 0;
  color: var(--muted);
}

.page-gap {
  padding: 1.4rem 0 2rem;
}

@media (max-width: 860px) {
  .hero,
  .steps,
  .secure,
  .plans {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 1.1rem;
  }

  .facts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .wrap {
    width: min(1120px, calc(100% - 1.25rem));
  }

  .nav a {
    padding-inline: 0.55rem;
  }
}

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

  .cloud,
  .rays {
    animation: none;
  }
}

@media (forced-colors: active) {
  .sky {
    display: none;
  }

  .sheet,
  .hero-copy,
  .store,
  .site-header,
  .site-footer,
  .btn {
    border: 1px solid CanvasText;
  }
}

@media print {
  .sky,
  .site-header,
  .skip,
  .nav {
    display: none;
  }

  body,
  .sheet,
  .site-footer {
    background: #fff;
    color: #000;
    box-shadow: none;
  }
}
