:root {
  color-scheme: light;
  --cream: #fbf7ee;
  --cream-deep: #f2eadb;
  --navy: #10283d;
  --navy-soft: #263f54;
  --sage: #6f9587;
  --sage-pale: #dfe8df;
  --gold: #efbd4f;
  --gold-soft: #f6e2b0;
  --ink-muted: #65756f;
  --panel: rgba(255, 252, 245, 0.78);
  --border: rgba(16, 40, 61, 0.1);
  --shadow: 0 22px 60px rgba(16, 40, 61, 0.08);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--cream);
  color: var(--navy);
  font-family:
    "Avenir Next", Avenir, Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  content: "";
  pointer-events: none;
}

body::before {
  inset: auto auto -18vw -18vw;
  width: 72vw;
  height: 42vw;
  min-width: 520px;
  min-height: 280px;
  border-radius: 50% 50% 0 0;
  background: linear-gradient(16deg, rgba(111, 149, 135, 0.22), rgba(223, 232, 223, 0.55));
}

body::after {
  top: 18vh;
  right: -16vw;
  width: 42vw;
  height: 42vw;
  min-width: 340px;
  min-height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 189, 79, 0.28), rgba(239, 189, 79, 0));
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 30;
  transform: translateY(-140%);
  border-radius: 10px;
  background: var(--navy);
  color: var(--cream);
  padding: 10px 14px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(251, 247, 238, 0.82);
  backdrop-filter: blur(18px);
}

.header-logo {
  display: block;
  width: min(230px, 54vw);
}

.header-logo img,
.hero-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-soft);
  font-size: 0.94rem;
  letter-spacing: 0.02em;
}

.site-nav a {
  border-radius: 999px;
  padding: 9px 12px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(111, 149, 135, 0.12);
  outline: none;
}

.hero {
  position: relative;
  min-height: calc(100vh - 86px);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(48px, 8vw, 92px) 20px clamp(72px, 9vw, 120px);
}

.hero::before {
  position: absolute;
  left: 50%;
  bottom: -17vw;
  width: 130vw;
  height: 34vw;
  min-height: 230px;
  content: "";
  transform: translateX(-50%) rotate(-1.5deg);
  border-radius: 50% 50% 0 0;
  background: rgba(223, 232, 223, 0.72);
}

.hero-inner {
  position: relative;
  width: min(920px, 100%);
  text-align: center;
}

.hero-logo {
  width: min(620px, 92vw);
  margin: 0 auto clamp(18px, 4vw, 34px);
  animation: logo-settle 900ms ease both;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin: 0 auto 18px;
  color: var(--navy);
  font-size: clamp(2.55rem, 7vw, 5.4rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.04;
}

h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.45rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.12;
}

h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.hero-copy {
  max-width: 680px;
  margin: 0 auto;
  color: var(--navy-soft);
  font-size: clamp(1.06rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  cursor: pointer;
  font-weight: 650;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 12px 28px rgba(239, 189, 79, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #e7af36;
}

.button-secondary {
  background: rgba(255, 252, 245, 0.68);
  color: var(--navy);
  box-shadow: inset 0 0 0 1px rgba(16, 40, 61, 0.12);
}

.section {
  width: min(1120px, 100%);
  margin-inline: auto;
  padding: clamp(68px, 9vw, 118px) clamp(20px, 5vw, 64px);
}

.about-section {
  position: relative;
}

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

.section-copy p,
.subscribe-copy p,
.value-card p,
.site-footer p {
  color: var(--ink-muted);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.value-card {
  min-height: 250px;
  border-radius: var(--radius);
  background: var(--panel);
  padding: 26px;
  box-shadow: var(--shadow);
}

.value-icon {
  position: relative;
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: 13px;
  background: var(--sage-pale);
}

.privacy-icon::before,
.support-icon::before,
.access-icon::before,
.privacy-icon::after,
.support-icon::after,
.access-icon::after {
  position: absolute;
  content: "";
}

.privacy-icon::before {
  inset: 17px 11px 9px;
  border-radius: 4px;
  background: var(--navy);
}

.privacy-icon::after {
  left: 13px;
  top: 8px;
  width: 16px;
  height: 14px;
  border: 3px solid var(--navy);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}

.support-icon::before {
  left: 10px;
  bottom: 10px;
  width: 6px;
  height: 16px;
  border-radius: 999px;
  background: var(--sage);
  box-shadow: 10px -8px 0 var(--sage), 20px -16px 0 var(--sage);
}

.support-icon::after {
  inset: 8px;
  border: 4px solid var(--gold);
  border-top-color: var(--navy);
  border-radius: 50%;
}

.access-icon::before {
  left: 9px;
  top: 20px;
  width: 24px;
  height: 4px;
  border-radius: 999px;
  background: var(--gold);
  transform: rotate(-18deg);
}

.access-icon::after {
  left: 18px;
  top: 9px;
  width: 6px;
  height: 24px;
  border-radius: 999px;
  background: var(--navy);
}

.subscribe-section {
  padding-top: 0;
}

.subscribe-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.74fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(246, 226, 176, 0.58), rgba(255, 252, 245, 0.4) 42%),
    rgba(255, 252, 245, 0.76);
  padding: clamp(26px, 5vw, 50px);
  box-shadow: var(--shadow);
}

.subscribe-form {
  display: grid;
  gap: 14px;
}

.subscribe-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 650;
}

.subscribe-form input {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 12px;
  background: #fffaf1;
  color: var(--navy);
  padding: 12px 14px;
  box-shadow: inset 0 0 0 1px rgba(16, 40, 61, 0.12);
}

.subscribe-form input:focus {
  outline: 3px solid rgba(239, 189, 79, 0.35);
}

.subscribe-form .button {
  width: 100%;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.site-footer {
  padding: 36px clamp(20px, 5vw, 64px) 46px;
  background: rgba(242, 234, 219, 0.72);
  color: var(--navy-soft);
}

.site-footer strong {
  display: block;
  margin-bottom: 5px;
  color: var(--navy);
  font-weight: 650;
}

.site-footer p {
  margin: 0;
}


.reveal {
  transform: translateY(18px);
  opacity: 0;
  transition: transform 760ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 760ms ease;
}

.reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@keyframes logo-settle {
  from {
    transform: translateY(10px) scale(0.985);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

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

  .site-header {
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  .site-nav {
    display: none;
  }

  .header-logo {
    width: min(260px, 76vw);
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  .hero-logo {
    width: min(430px, 96vw);
  }

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    transform: none;
    opacity: 1;
  }
}
