:root {
  color-scheme: light;
  --ink: #12232b;
  --muted: #4d6670;
  --paper: #f3f7f4;
  --foam: #e4f1ec;
  --line: #c5d7d0;
  --teal: #0f7a6c;
  --teal-deep: #0a554c;
  --coral: #e35d3a;
  --band: #d8ebe3;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Outfit, "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

body.home {
  background:
    radial-gradient(ellipse 70% 45% at 12% -10%, #bfe8de 0%, transparent 55%),
    radial-gradient(ellipse 55% 40% at 95% 8%, #f2cbb8 0%, transparent 50%),
    linear-gradient(180deg, #eef6f2 0%, var(--paper) 38%, #eaf3ef 100%);
}

a {
  color: var(--teal-deep);
}

.wave-field {
  pointer-events: none;
  position: fixed;
  inset: auto -8% -18% -8%;
  height: 42vh;
  z-index: 0;
  opacity: 0.35;
  background:
    radial-gradient(ellipse 40% 60% at 20% 70%, #9fd4c6 0%, transparent 70%),
    radial-gradient(ellipse 45% 70% at 70% 80%, #f0b9a2 0%, transparent 72%);
  animation: drift 14s ease-in-out infinite alternate;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, -18px, 0);
  }
}

.topbar,
main,
.site-foot,
.legal {
  position: relative;
  z-index: 1;
}

.topbar {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.mark,
.brand {
  color: var(--ink);
  text-decoration: none;
  font-family: Fraunces, Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.top-links,
.links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.top-links a,
.links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

.top-links a::after,
.links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -4px;
  height: 2px;
  background: var(--coral);
  transition: right 0.25s ease;
}

.top-links a:hover::after,
.links a:hover::after {
  right: 0;
}

.splash {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  min-height: calc(100vh - 90px);
  padding: 56px 0 88px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: rise 0.8s ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.kicker,
.eyebrow {
  margin: 0;
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.splash-brand {
  margin: 18px 0 8px;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(64px, 14vw, 128px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.splash-line {
  margin: 0 0 18px;
  max-width: 16ch;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.splash-copy {
  margin: 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 18px;
}

.action {
  display: inline-flex;
  align-items: center;
  margin-top: 28px;
  padding: 14px 22px;
  border-radius: 4px;
  background: var(--ink);
  color: #f7fbf9;
  text-decoration: none;
  font-weight: 600;
  width: fit-content;
  transition: transform 0.2s ease, background 0.2s ease;
}

.action:hover {
  background: var(--teal-deep);
  transform: translateY(-2px);
}

.lanes {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 40px 0 100px;
}

.lanes-head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.lanes-head h2,
.invite h2,
.legal h1 {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.lanes-head h2 {
  font-size: clamp(34px, 5vw, 52px);
}

.lanes-head p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.lane-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.lane-list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 28px 24px 28px 0;
  border-bottom: 1px solid var(--line);
  animation: rise 0.7s ease both;
}

.lane-list li:nth-child(odd) {
  padding-right: 36px;
  border-right: 1px solid var(--line);
}

.lane-list li:nth-child(1) {
  animation-delay: 0.05s;
}
.lane-list li:nth-child(2) {
  animation-delay: 0.1s;
}
.lane-list li:nth-child(3) {
  animation-delay: 0.15s;
}
.lane-list li:nth-child(4) {
  animation-delay: 0.2s;
}
.lane-list li:nth-child(5) {
  animation-delay: 0.25s;
}
.lane-list li:nth-child(6) {
  animation-delay: 0.3s;
}
.lane-list li:nth-child(7) {
  animation-delay: 0.35s;
}
.lane-list li:nth-child(8) {
  animation-delay: 0.4s;
}

.lane-num {
  font-family: Fraunces, Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--coral);
  letter-spacing: -0.04em;
  line-height: 1;
}

.lane-list h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.lane-list p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.invite {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 40px;
  padding: 64px 40px;
  background:
    linear-gradient(135deg, rgba(15, 122, 108, 0.12), transparent 45%),
    linear-gradient(180deg, var(--band), #cfe4db);
  border-top: 3px solid var(--teal);
  text-align: left;
}

.invite h2 {
  max-width: 14ch;
  font-size: clamp(32px, 5vw, 54px);
}

.invite p {
  margin: 14px 0 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 18px;
}

.site-foot,
.footer {
  width: min(1120px, calc(100% - 40px));
  margin: 60px auto 0;
  padding: 28px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
}

.foot-links,
.footer div {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.foot-links a,
.footer a {
  color: var(--muted);
  text-decoration: none;
}

.foot-links a:hover,
.footer a:hover {
  color: var(--teal-deep);
}

.legal {
  width: min(820px, calc(100% - 40px));
  margin: auto;
  padding-bottom: 80px;
}

.legal .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.legal header {
  padding: 48px 0 28px;
  border-bottom: 1px solid var(--line);
}

.legal h1 {
  font-size: clamp(38px, 7vw, 62px);
  margin: 10px 0;
}

.updated {
  color: var(--muted);
}

.legal article {
  padding-top: 28px;
}

.legal h2 {
  margin: 40px 0 8px;
  font-family: Fraunces, Georgia, serif;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.legal h3 {
  margin: 22px 0 6px;
  font-size: 17px;
  color: var(--ink);
}

.legal p,
.legal li {
  color: #35545c;
}

.legal li {
  margin: 7px 0;
}

.notice {
  padding: 18px 20px;
  border-left: 3px solid var(--teal);
  background: var(--foam);
}

@media (max-width: 860px) {
  .lanes-head,
  .lane-list {
    grid-template-columns: 1fr;
  }

  .lane-list li,
  .lane-list li:nth-child(odd) {
    padding-right: 0;
    border-right: 0;
  }

  .splash {
    min-height: auto;
    padding-top: 36px;
  }
}

@media (max-width: 560px) {
  .top-links {
    gap: 12px;
    font-size: 13px;
  }

  .invite {
    padding: 48px 22px;
  }

  .site-foot,
  .footer {
    display: block;
  }

  .foot-links,
  .footer div {
    margin-top: 14px;
  }
}
