:root {
  --ink: #20302d;
  --deep: #2f4640;
  --paper: #f4efdf;
  --pearl: #fff8e8;
  --foam: #eaf5f0;
  --foam-strong: #cfeee4;
  --aqua: #5fbfaf;
  --coral: #d88473;
  --brass: #bd9851;
  --muted: #637067;
  --line: rgba(32, 48, 45, 0.16);
  --white-line: rgba(255, 248, 232, 0.72);
  --shadow: 0 20px 50px rgba(32, 48, 45, 0.08);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Aptos", "Segoe UI", Verdana, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 78% 12%, rgba(234, 245, 240, 0.95), transparent 30rem),
    radial-gradient(circle at 12% 18%, rgba(216, 132, 115, 0.16), transparent 24rem),
    radial-gradient(circle at 55% 86%, rgba(189, 152, 81, 0.16), transparent 28rem),
    linear-gradient(115deg, #f4efdf 0%, #fff8e8 42%, #eaf5f0 100%);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(32, 48, 45, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 48, 45, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, #000, transparent 86%);
}

.tide-field {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.tide-field span {
  position: absolute;
  width: 58vmax;
  height: 58vmax;
  border: 1px solid rgba(95, 191, 175, 0.22);
  border-radius: 43% 57% 61% 39%;
  animation: drift 24s linear infinite;
}

.tide-field span:nth-child(1) {
  top: -18vmax;
  right: -22vmax;
}

.tide-field span:nth-child(2) {
  bottom: -26vmax;
  left: -20vmax;
  border-color: rgba(216, 132, 115, 0.18);
  animation-duration: 31s;
  animation-direction: reverse;
}

.tide-field span:nth-child(3) {
  top: 34%;
  left: 48%;
  width: 24vmax;
  height: 24vmax;
  border-color: rgba(189, 152, 81, 0.2);
  animation-duration: 18s;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: min(calc(100% - 32px), 1180px);
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(32, 48, 45, 0.14);
  border-radius: 8px;
  background: rgba(255, 248, 232, 0.84);
  color: var(--ink);
  box-shadow: 0 18px 48px rgba(32, 48, 45, 0.09);
  backdrop-filter: blur(14px);
  transform: translateX(-50%);
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-family: var(--serif);
  font-size: 20px;
  min-width: 0;
}

.brand span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-mark {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(32, 48, 45, 0.14));
}

.site-nav {
  gap: 4px;
  min-width: 0;
  justify-content: end;
}

.site-nav a {
  white-space: nowrap;
  padding: 10px 13px;
  border-radius: 6px;
  color: rgba(32, 48, 45, 0.72);
  font-size: 13px;
  letter-spacing: 0;
  transition: background 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(234, 245, 240, 0.9);
  color: var(--ink);
}

.nav-toggle {
  display: none;
}

.x-link {
  display: none;
}

main {
  width: min(calc(100% - 32px), 1180px);
  margin: 0 auto;
}

.hero {
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.78fr);
  align-items: center;
  gap: clamp(34px, 6vw, 84px);
  padding: 118px 0 76px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 790px;
  margin-bottom: 22px;
  font-size: clamp(72px, 12vw, 164px);
  line-height: 0.82;
}

h2 {
  font-size: clamp(38px, 6vw, 78px);
  line-height: 0.92;
}

h3 {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.08;
}

.hero-lede,
.section-copy p,
.signal-card p,
.steps p,
.security-strip li {
  color: var(--muted);
  font-size: clamp(16px, 1.9vw, 20px);
  line-height: 1.62;
}

.hero-lede {
  max-width: 680px;
  margin-bottom: 32px;
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  padding: 13px 18px;
  font-weight: 800;
  text-align: center;
  overflow-wrap: anywhere;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--ink);
  color: var(--pearl);
  box-shadow: 0 16px 30px rgba(32, 48, 45, 0.18);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 248, 232, 0.72);
  color: var(--ink);
}

.hero-stage {
  position: relative;
  min-height: min(640px, 75svh);
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  width: min(82vw, 520px);
  aspect-ratio: 1;
  border: 1px solid rgba(32, 48, 45, 0.14);
  border-radius: 50%;
  animation: pulseOrbit 5s ease-in-out infinite;
}

.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  border: 1px solid rgba(32, 48, 45, 0.1);
}

.orbit::before {
  inset: 42px;
}

.orbit::after {
  inset: 88px;
  border-color: rgba(216, 132, 115, 0.22);
}

.feature-study {
  position: relative;
  z-index: 2;
  width: min(82vw, 430px);
  margin: 0;
  border: 1px solid rgba(32, 48, 45, 0.16);
  border-radius: 8px;
  background: rgba(255, 248, 232, 0.72);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 260ms ease;
}

.feature-study img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.feature-study figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.feature-study figcaption strong {
  color: var(--ink);
}

.signal-panel {
  position: absolute;
  right: 0;
  bottom: 12%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 13px;
  width: min(270px, 76vw);
  padding: 16px;
  border: 1px solid rgba(32, 48, 45, 0.14);
  border-radius: 8px;
  background: rgba(255, 248, 232, 0.9);
  color: var(--ink);
  box-shadow: 0 20px 44px rgba(32, 48, 45, 0.12);
  backdrop-filter: blur(14px);
}

.status-dot {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 0 8px rgba(95, 191, 175, 0.13), 0 0 20px rgba(95, 191, 175, 0.5);
  animation: beacon 1.9s ease-in-out infinite;
}

.signal-panel p,
.signal-panel strong {
  margin: 0;
}

.signal-panel p {
  color: var(--muted);
  font-size: 12px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 110px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  overflow: hidden;
}

.metrics div {
  min-width: 0;
  min-height: 142px;
  padding: 22px;
  background: rgba(255, 248, 232, 0.76);
}

.metrics span,
.steps span {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.metrics strong {
  display: block;
  max-width: 220px;
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 42px);
  font-weight: 500;
  line-height: 1;
  overflow-wrap: anywhere;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
  padding: 20px 0 120px;
}

.section-copy p {
  max-width: 560px;
}

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

.art-row figure {
  margin: 0;
  border: 1px solid rgba(32, 48, 45, 0.12);
  border-radius: 8px;
  background: rgba(255, 248, 232, 0.72);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(32, 48, 45, 0.08);
}

.art-row img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.art-row figure:nth-child(2) {
  transform: translateY(54px);
}

.art-row figcaption {
  padding: 13px 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.signal-band {
  padding: 120px 0;
}

.signal-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 34px;
  align-items: center;
  padding: clamp(28px, 6vw, 70px);
  border-radius: 8px;
  background:
    radial-gradient(circle at 78% 20%, rgba(234, 245, 240, 0.98), transparent 24rem),
    linear-gradient(135deg, rgba(255, 248, 232, 0.94), rgba(244, 239, 223, 0.86));
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.signal-card .eyebrow,
.signal-card p {
  color: var(--muted);
}

.signal-card h2 {
  margin-bottom: 18px;
  color: var(--ink);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.countdown div {
  display: grid;
  min-width: 0;
  min-height: 128px;
  place-items: center;
  padding: 16px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 248, 232, 0.74);
}

.countdown span {
  font-family: var(--serif);
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1;
}

.countdown small {
  max-width: 100%;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.timeline {
  padding: 40px 0 112px;
}

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

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.steps article {
  min-width: 0;
  min-height: 300px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 248, 232, 0.66);
  transition: transform 190ms ease, background 190ms ease, box-shadow 190ms ease;
}

.steps article:hover {
  transform: translateY(-6px);
  background: rgba(255, 248, 232, 0.9);
  box-shadow: 0 18px 44px rgba(32, 48, 45, 0.09);
}

.steps p {
  font-size: 16px;
  overflow-wrap: anywhere;
}

.security-strip {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 28px;
  margin-bottom: 110px;
  padding: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.security-strip h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4.5vw, 58px);
}

.security-strip ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.security-strip li {
  position: relative;
  padding-left: 22px;
  font-size: 17px;
}

.security-strip li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(calc(100% - 32px), 1180px);
  margin: 0 auto;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@keyframes drift {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulseOrbit {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.74;
  }
  50% {
    transform: scale(1.04);
    opacity: 0.42;
  }
}

@keyframes beacon {
  50% {
    transform: scale(0.72);
    box-shadow: 0 0 0 13px rgba(167, 240, 219, 0.06), 0 0 26px rgba(167, 240, 219, 0.72);
  }
}

@media (max-width: 980px) {
  .site-header {
    top: 12px;
    width: calc(100% - 24px);
    min-height: 58px;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) 42px 42px;
    padding: 10px 10px 10px 14px;
  }

  .nav-toggle {
    position: relative;
    display: inline-grid;
    width: 42px;
    height: 38px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: rgba(234, 245, 240, 0.74);
    color: var(--ink);
    cursor: pointer;
  }

  .nav-toggle span {
    position: absolute;
    left: 50%;
    top: 50%;
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease, width 180ms ease;
  }

  .nav-toggle span:nth-child(1) {
    transform: translate(-50%, -7px);
  }

  .nav-toggle span:nth-child(2) {
    transform: translate(-50%, -1px);
  }

  .nav-toggle span:nth-child(3) {
    transform: translate(-50%, 5px);
  }

  body.nav-open .nav-toggle span:first-child {
    transform: translate(-50%, -1px) rotate(45deg);
  }

  body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
    transform: translate(-50%, -1px) scaleX(0.2);
  }

  body.nav-open .nav-toggle span:nth-child(3) {
    transform: translate(-50%, -1px) rotate(-45deg);
  }

  .x-link {
    display: inline-grid;
    width: 42px;
    height: 38px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: rgba(255, 248, 232, 0.86);
    color: var(--ink);
    font-size: 14px;
    font-weight: 900;
  }

  .desktop-x {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 52px;
    width: max-content;
    min-width: 126px;
    max-width: calc(100vw - 96px);
    display: grid;
    justify-items: start;
    gap: 2px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 248, 232, 0.98);
    box-shadow: 0 14px 30px rgba(32, 48, 45, 0.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  body.nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    width: 100%;
    padding: 10px 12px;
    text-align: left;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 122px;
    padding-bottom: 58px;
    gap: 34px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .split-section,
  .signal-card,
  .security-strip {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: auto;
    place-items: center;
    padding: 18px 0 34px;
  }

  .feature-study {
    width: min(100%, 640px);
  }

  .signal-panel {
    right: 24px;
    bottom: 0;
  }

  .metrics,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps article {
    min-height: 240px;
  }
}

@media (max-width: 640px) {
  main,
  .site-footer {
    width: calc(100% - 24px);
  }

  .site-header {
    width: calc(100% - 24px);
    left: 12px;
    right: 12px;
    transform: none;
    grid-template-columns: minmax(0, 1fr) 42px 42px;
  }

  .site-nav {
    right: 50px;
    width: max-content;
    min-width: 126px;
    max-width: calc(100vw - 92px);
  }

  .brand {
    font-size: 17px;
  }

  .hero {
    padding-top: 104px;
    padding-bottom: 42px;
    gap: 26px;
  }

  h1 {
    font-size: clamp(50px, 18vw, 76px);
    line-height: 0.9;
  }

  h2 {
    font-size: clamp(32px, 11vw, 48px);
    line-height: 1;
  }

  h3 {
    font-size: 23px;
  }

  .hero-lede,
  .section-copy p,
  .signal-card p,
  .security-strip li {
    font-size: 16px;
    line-height: 1.55;
  }

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

  .hero-stage {
    display: block;
    padding: 0;
  }

  .orbit {
    display: none;
  }

  .feature-study {
    width: 100%;
  }

  .feature-study figcaption {
    padding: 13px 14px;
  }

  .signal-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 12px;
    transform: none;
  }

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

  .metrics {
    margin-bottom: 76px;
  }

  .metrics div {
    min-height: auto;
    padding: 18px;
  }

  .metrics strong {
    max-width: none;
    font-size: 32px;
  }

  .split-section {
    padding: 0 0 74px;
    gap: 28px;
  }

  .art-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .art-row figure:nth-child(2) {
    transform: none;
  }

  .signal-band {
    padding: 58px 0 74px;
  }

  .signal-card {
    padding: 24px;
    gap: 22px;
  }

  .countdown div {
    min-height: 92px;
  }

  .timeline {
    padding: 0 0 74px;
  }

  .security-strip {
    margin-bottom: 76px;
    padding: 28px 0;
  }

  .site-footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
