:root {
  color-scheme: dark;
  --bg: #000000;
  --surface: #1c1c1e;
  --text: #ffffff;
  --muted: #8e8e93;
  --faint: #636366;
  --line: rgba(255, 255, 255, 0.14);
  --accent: #ccff00;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #000;
}

header .wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.25rem;
  min-height: 4.25rem;
  max-width: none;
  width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

header .brand { justify-self: start; }
header nav.links { justify-self: center; }
header .wrap > .btn { justify-self: end; }

.brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
}

.mark {
  width: 36px;
  height: 36px;
  position: relative;
  overflow: hidden;
  border-radius: 9px;
  flex: 0 0 36px;
}

.mark img {
  position: absolute;
  width: 230%;
  height: 230%;
  max-width: none;
  left: 50%;
  top: 50%;
  transform: translate(-51.2%, -40.4%);
}

.mark.lg { width: 76px; height: 76px; flex-basis: 76px; border-radius: 18px; }

header nav.links,
footer nav.links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.15rem;
}

header nav.links a,
footer nav.links a {
  font-size: 0.84rem;
  color: #d4d4d4;
}

header nav.links a:hover,
footer nav.links a:hover { color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.84rem;
  line-height: 1;
  padding: 0.72rem 1.05rem;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-solid {
  background: var(--accent);
  color: #000;
}

.btn-solid:hover { background: #d8ff4d; }

.btn-line {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-line:hover { border-color: var(--accent); color: var(--accent); }

.hero {
  min-height: calc(100dvh - 4.25rem);
  min-height: calc(100svh - 4.25rem);
  display: flex;
  align-items: flex-start;
  padding: 2.5rem 0 0;
  box-sizing: border-box;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 26rem);
  gap: 2rem;
  align-items: start;
}

.hero-copy { position: relative; z-index: 2; padding-top: 20rem; margin-left: -3rem; }

.hero-grid > * { min-width: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  margin: 0 0 1.35rem;
  max-width: 10em;
  font-size: clamp(2.5rem, 4.8vw, 4.15rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.hero-ctas { display: flex; }

.phone {
  position: relative;
  z-index: 0;
  width: min(27rem, 100%);
  height: auto;
  aspect-ratio: 9 / 19.5;
  justify-self: end;
  margin-right: -3.5rem;
  margin-top: 4.75rem;
  padding: 0.55rem;
  border-radius: 3.1rem;
  background: linear-gradient(180deg, #6a6a6e 0%, #2a2a2c 18%, #111 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.35),
    inset 0 0 0 0.35rem #0a0a0a;
}

.phone::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 58%;
  border-radius: inherit;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #000 78%);
  pointer-events: none;
  z-index: 4;
}

.phone-btn {
  position: absolute;
  background: #2c2c2e;
  border-radius: 2px;
  z-index: 5;
}

.phone-btn.silent { left: -2px; top: 6.5rem; width: 3px; height: 1.5rem; }
.phone-btn.vol-up { left: -2px; top: 9.2rem; width: 3px; height: 2.6rem; }
.phone-btn.vol-down { left: -2px; top: 12.4rem; width: 3px; height: 2.6rem; }
.phone-btn.power { right: -2px; top: 10.5rem; width: 3px; height: 3.6rem; }

.phone-screen {
  height: 100%;
  border-radius: 2.45rem;
  background:
    radial-gradient(90% 55% at 50% 0%, #1c1c1e 0%, #000 58%);
  overflow: hidden;
  position: relative;
  padding: 0.7rem 0.75rem 0;
  z-index: 1;
}

.island {
  width: 5.4rem;
  height: 1.45rem;
  margin: 0.2rem auto 0;
  border-radius: 999px;
  background: #050505;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 0.45rem;
  box-shadow: inset 0 0 0 1px #161616;
}

.island span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2a3344, #05070c 70%);
  box-shadow: inset 0 0 0 1px #1a2740;
}

.lock-date {
  margin: 1.6rem 0 0;
  text-align: center;
  color: #c7c7cc;
  font-size: 0.85rem;
  font-weight: 500;
}

.lock-time {
  margin: 0;
  text-align: center;
  font-size: clamp(3.4rem, 8vh, 4.4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.note {
  display: grid;
  grid-template-columns: 2.15rem minmax(0, 1fr);
  gap: 0.55rem;
  align-items: start;
  margin: 3.4rem 0.1rem 0;
  padding: 0.7rem 0.75rem;
  border-radius: 1.25rem;
  background: rgba(58, 58, 60, 0.72);
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.12);
}

.note .mark {
  width: 2.15rem;
  height: 2.15rem;
  flex-basis: 2.15rem;
  border-radius: 0.45rem;
}

.note-top,
.note-title,
.note-body {
  margin: 0;
}

.note-top {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: #aeaeb2;
}

.note-top strong {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.note-title {
  margin-top: 0.1rem;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.note-body {
  margin-top: 0.12rem;
  font-size: 0.78rem;
  line-height: 1.3;
  color: #d1d1d6;
}

.home-bar {
  position: absolute;
  left: 50%;
  bottom: 0.55rem;
  width: 6.5rem;
  height: 0.28rem;
  border-radius: 999px;
  background: #fff;
  transform: translateX(-50%);
}

.section { padding: 4.5rem 0; }

.hero + .section {
  position: relative;
  z-index: 2;
  padding-top: 1.5rem;
  scroll-margin-top: 5rem;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.rows { list-style: none; margin: 0; padding: 0; }

.rows li {
  display: grid;
  grid-template-columns: 1.4rem minmax(0, 13rem) 1fr;
  gap: 0.85rem 1.4rem;
  align-items: start;
  border-top: 1px solid var(--line);
  padding: 1.25rem 0;
}

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

.ico { color: var(--accent); width: 1.35rem; height: 1.35rem; margin-top: 0.1rem; }
.ico svg { width: 100%; height: 100%; display: block; }

.rows h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.rows p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.plain-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.75rem 0 0;
}

.plain-line span {
  border: 1px solid rgba(204, 255, 0, 0.35);
  color: #e7ff9a;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
}

.closer {
  padding: 4.5rem 0 4rem;
  text-align: center;
}

.closer .mark { margin: 0 auto 1rem; }

.closer h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 1.7rem;
}

footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.legal { margin: 0; font-size: 0.78rem; color: var(--faint); }

.doc {
  max-width: 40rem;
  margin: 0 auto;
  padding: 4rem 0 5rem;
}

.doc h1 {
  margin: 0 0 0.55rem;
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.doc .muted { margin: 0 0 2rem; color: var(--faint); font-size: 0.9rem; }

.doc h2 {
  margin: 2.1rem 0 0.55rem;
  font-size: 1rem;
  font-weight: 600;
}

.doc p, .doc li { color: var(--muted); }
.doc p { line-height: 1.7; }
.doc ul { margin: 0; padding-left: 1.1rem; line-height: 1.7; }
.doc a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.invite-hero {
  min-height: calc(100vh - 8rem);
  display: flex;
  align-items: center;
  text-align: center;
  padding: 3rem 0;
}

.invite-hero .mark { width: 88px; height: 88px; flex-basis: 88px; border-radius: 20px; margin: 0 auto 1.25rem; }

.invite-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.invite-hero p {
  margin: 0 auto 1.5rem;
  max-width: 26rem;
  color: var(--muted);
}

@media (max-width: 860px) {
  header .wrap {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand cta" "nav nav";
    gap: 0.65rem 0.75rem;
    padding-top: 0.75rem;
    padding-bottom: 0.7rem;
  }
  header .brand { grid-area: brand; }
  header .wrap > .btn { grid-area: cta; justify-self: end; width: auto; }
  header nav.links {
    grid-area: nav;
    justify-content: flex-start;
    gap: 0.75rem 1rem;
  }
  .hero {
    min-height: calc(100dvh - 7.25rem);
    min-height: calc(100svh - 7.25rem);
    padding: 1rem 0;
  }
  .hero { padding-top: 1.5rem; }
  .hero-copy { padding-top: 1.25rem; margin-left: 0; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    justify-items: center;
    text-align: center;
  }
  header .brand { letter-spacing: 0.08em; }
  .hero h1 { font-size: clamp(1.7rem, 8vw, 2.35rem); max-width: none; }
  .hero-ctas, .eyebrow { justify-content: center; }
  .phone {
    width: min(18rem, 72vw);
    margin: 1rem auto 0;
  }
  .hero + .section { padding-top: 1rem; }
  .rows li { grid-template-columns: 1.4rem minmax(0, 1fr); }
  .rows h3, .rows p { grid-column: 2; }
  .ico { grid-row: 1 / span 2; }
  .section { padding: 3rem 0; }
  .closer { padding: 3rem 0; }
  footer .wrap { align-items: flex-start; }
  footer nav.links { justify-content: flex-start; }
}
