:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #07100c;
  color: #f7fbf8;
  line-height: 1.5;
  --bg: #07100c;
  --bg-2: #0d1c18;
  --panel: #10231e;
  --panel-2: #152a32;
  --text: #f7fbf8;
  --muted: #cbded6;
  --soft: #91b6a5;
  --mint: #9fe4c3;
  --teal: #1d9b73;
  --gold: #f6d36b;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(155deg, rgba(29, 155, 115, 0.24), rgba(7, 16, 12, 0.18) 44%, rgba(20, 41, 51, 0.86)),
    radial-gradient(circle at 78% 12%, rgba(246, 211, 107, 0.12), transparent 26%),
    var(--bg);
}

a {
  color: inherit;
}

.site-header,
.hero,
.feature-band,
.launch-note,
.site-footer {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
}

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

.brand-mark {
  gap: 10px;
  color: var(--text);
  font-weight: 850;
  text-decoration: none;
}

.brand-mark img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.site-nav,
.site-footer nav {
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 750;
}

.site-nav a,
.site-footer a {
  text-decoration: none;
}

.hero {
  min-height: calc(100vh - 210px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
  padding: 42px 0 46px;
}

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

.app-icon {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--mint);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(3.25rem, 9vw, 7rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.lede {
  max-width: 680px;
  margin: 24px 0 0;
  color: #d9eee5;
  font-size: clamp(1.08rem, 2vw, 1.38rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.primary {
  background: var(--gold);
  color: #11190f;
  box-shadow: 0 14px 36px rgba(246, 211, 107, 0.18);
}

.secondary {
  border: 1px solid rgba(217, 238, 229, 0.32);
  color: var(--text);
}

.unavailable {
  cursor: default;
}

.availability-note {
  max-width: 540px;
  margin: 14px 0 0;
  color: var(--soft);
  font-size: 0.96rem;
  font-weight: 700;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
  margin: 34px 0 0;
}

.trust-strip div {
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
}

.trust-strip dt {
  color: var(--soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-strip dd {
  margin: 4px 0 0;
  color: var(--text);
  font-weight: 800;
}

.product-preview {
  display: grid;
  min-width: 0;
  place-items: center;
}

.screenshot-stack {
  position: relative;
  width: min(460px, 100%);
  min-height: 620px;
  margin: 0;
}

.screenshot {
  position: absolute;
  width: min(292px, 64vw);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  background: #0b1714;
  box-shadow: var(--shadow);
}

.screenshot-primary {
  right: 0;
  top: 0;
  z-index: 2;
}

.screenshot-secondary {
  left: 0;
  top: 86px;
  z-index: 1;
  opacity: 0.74;
  transform: scale(0.88);
  transform-origin: left top;
}

.screenshot-stack figcaption {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: max-content;
  max-width: 100%;
  transform: translateX(-50%);
  color: var(--soft);
  font-size: 0.9rem;
  font-weight: 750;
  text-align: center;
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 34px 0 68px;
}

.feature-band article {
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
}

.feature-number {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.feature-band h2,
.launch-note h2 {
  margin: 10px 0 8px;
  font-size: 1.24rem;
  line-height: 1.1;
}

.feature-band p,
.launch-note p,
.content-shell p,
.content-shell li {
  color: var(--muted);
}

.feature-band p {
  margin-bottom: 0;
}

.launch-note {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.launch-note p {
  margin: 0;
  font-size: 1.02rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 34px 0 42px;
  color: var(--soft);
  font-size: 0.92rem;
}

.content-shell {
  width: min(680px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 76px 0;
}

.content-shell h1 {
  font-size: clamp(2.4rem, 8vw, 4.5rem);
}

.invite-page {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(118deg, rgba(2, 5, 7, 0) 0 54%, rgba(24, 47, 62, 0.58) 54% 100%),
    linear-gradient(180deg, #020507 0%, #07100c 58%, #0b1518 100%);
}

.invite-page::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.76), transparent 72%);
}

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

.invite-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0 0;
}

.invite-support-link {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
}

.invite-shell {
  min-height: calc(100vh - 56px);
  padding: 34px 0 32px;
}

.invite-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.68fr);
  gap: clamp(30px, 7vw, 84px);
  align-items: center;
  min-height: calc(100vh - 190px);
}

.invite-copy {
  max-width: 690px;
}

.invite-app-icon {
  width: 86px;
  height: 86px;
  border-radius: 20px;
  box-shadow: 0 20px 64px rgba(0, 0, 0, 0.38);
}

.invite-copy h1 {
  margin: 28px 0 0;
  max-width: 740px;
  font-size: clamp(3.4rem, 8vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.invite-lede {
  max-width: 590px;
  margin: 24px 0 0;
  color: #d9eee5;
  font-size: clamp(1.1rem, 2vw, 1.38rem);
}

.invite-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.invite-open {
  gap: 10px;
}

.invite-open svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.invite-note {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--soft);
  font-size: 0.94rem;
  font-weight: 750;
}

.invite-preview {
  position: relative;
  min-height: 530px;
}

.invite-phone-frame {
  position: absolute;
  top: 0;
  right: 0;
  width: min(262px, 72vw);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;
  background: #08100e;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.48);
}

.invite-phone-frame img {
  display: block;
  width: 100%;
}

.invite-ticket {
  position: absolute;
  right: min(192px, 40vw);
  bottom: 22px;
  width: min(300px, 74vw);
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 12, 12, 0.84);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.invite-ticket span,
.invite-steps span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.invite-ticket strong {
  display: block;
  margin-top: 7px;
  color: var(--text);
  font-size: 1.22rem;
  line-height: 1.12;
}

.invite-ticket p {
  margin: 8px 0 0;
  color: var(--muted);
}

.invite-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.invite-steps div {
  min-height: 104px;
  padding: 22px 24px 10px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.11);
}

.invite-steps div:last-child {
  border-right: 0;
}

.invite-steps strong {
  display: block;
  max-width: 270px;
  margin-top: 9px;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.22;
}

.text-link {
  color: var(--mint);
  font-weight: 800;
  text-decoration: none;
}

ul {
  padding-left: 22px;
}

@media (max-width: 820px) {
  .site-header,
  .hero,
  .feature-band,
  .launch-note,
  .site-footer {
    width: min(100% - 28px, 620px);
  }

  .site-header {
    padding-top: 18px;
  }

  .site-nav {
    gap: 12px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 34px 0;
  }

  h1 {
    font-size: clamp(3rem, 13vw, 4.5rem);
  }

  .trust-strip {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .screenshot-stack {
    width: min(360px, 100%);
    min-height: 540px;
  }

  .screenshot {
    width: min(244px, 68vw);
  }

  .feature-band,
  .launch-note {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .feature-band {
    padding-bottom: 44px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .invite-topbar,
  .invite-shell {
    width: min(100% - 28px, 620px);
  }

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

  .invite-hero {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: auto;
  }

  .invite-copy h1 {
    font-size: clamp(3.05rem, 13vw, 4.55rem);
  }

  .invite-preview {
    min-height: 455px;
  }

  .invite-phone-frame {
    left: 50%;
    right: auto;
    width: min(250px, 68vw);
    transform: translateX(-26%);
  }

  .invite-ticket {
    right: auto;
    left: 0;
    bottom: 18px;
    width: min(285px, 78vw);
  }

  .invite-steps {
    grid-template-columns: 1fr;
    margin-top: 12px;
  }

  .invite-steps div {
    min-height: auto;
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  }

  .invite-steps div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 440px) {
  .brand-mark span {
    display: none;
  }

  .invite-page .brand-mark span {
    display: inline;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .invite-topbar {
    padding-top: 18px;
  }

  .invite-app-icon {
    width: 74px;
    height: 74px;
    border-radius: 17px;
  }

  .invite-copy h1 {
    margin-top: 22px;
    font-size: clamp(2.75rem, 14vw, 3.55rem);
  }

  .invite-actions {
    flex-direction: column;
  }

  .invite-preview {
    min-height: 410px;
  }

  .invite-phone-frame {
    width: min(220px, 70vw);
    transform: translateX(-18%);
  }

  .invite-ticket {
    bottom: 12px;
    width: min(265px, 88vw);
  }
}
