@import url("/tokens.css");
@font-face {
  font-family: Geist;
  src: url("/assets/GeistVF.woff") format("woff");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --font-geist-sans: Geist;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Geist, system-ui, sans-serif;
  min-height: 100svh;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
a:hover {
  color: var(--primary);
}
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 5px;
}
::selection {
  background: var(--primary);
  color: var(--primary-foreground);
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
[hidden] {
  display: none !important;
}
.masthead,
main,
footer {
  max-width: 1440px;
  margin-inline: auto;
}
.masthead {
  padding: 36px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.masthead a {
  display: inline-flex;
}
.logo {
  width: 145px;
  height: auto;
}
.masthead > span {
  font-size: 14px;
  color: var(--muted-foreground);
}
main {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 64px;
  padding: 12px 56px 56px;
  min-height: calc(100svh - 180px);
}
.invitation {
  max-width: 530px;
  padding-bottom: 24px;
}
h1 {
  font-size: clamp(56px, 6.2vw, 88px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 500;
  margin: 0 0 28px;
  text-wrap: balance;
}
.intro {
  font-size: 22px;
  line-height: 1.6;
  margin: 0 0 48px;
  color: var(--muted-foreground);
}
label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 12px;
}
.email-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
input {
  border-color: var(--input);
  min-width: 0;
  width: 100%;
  border: 1px solid var(--input);
  border-radius: 6px;
  background: var(--card);
  color: var(--foreground);
  padding: 16px;
  min-height: 56px;
  caret-color: var(--primary);
}
input::placeholder {
  color: var(--muted-foreground);
}
input:focus {
  border-color: var(--primary);
}
input[aria-invalid="true"] {
  border-color: var(--destructive);
}
.email-row button {
  flex-shrink: 0;
  border: 0;
  border-radius: 6px;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 16px 22px;
  font-weight: 600;
  min-height: 56px;
}
.email-row button:hover {
  background: var(--primary);
}
.consent {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted-foreground);
  margin: 16px 0 0;
}
.consent a {
  color: var(--foreground);
}
.form-status {
  font-size: 14px;
  line-height: 1.5;
  color: var(--foreground);
  min-height: 24px;
  margin: 16px 0 0;
}
.form-status.error {
  color: var(--destructive);
}
.honey {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.opening {
  margin: 0;
  position: relative;
  max-width: 550px;
  width: 100%;
  justify-self: end;
  background: var(--card);
  aspect-ratio: 4/5;
}
.opening video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.motion {
  position: absolute;
  right: 18px;
  bottom: 18px;
  border: 1px solid var(--input);
  background: var(--primary-foreground);
  color: var(--foreground);
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 12px;
  min-height: 44px;
}
.motion:hover {
  border-color: var(--primary);
}
footer {
  padding: 0 56px 28px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  color: var(--muted-foreground);
  font-size: 12px;
  line-height: 1.7;
}
footer > span {
  flex-shrink: 0;
}
details {
  max-width: 460px;
  text-align: right;
}
summary {
  cursor: pointer;
  min-height: 32px;
}
details p {
  margin: 12px 0 0;
  text-align: left;
}
.joined h2 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
}
.joined p {
  color: var(--muted-foreground);
  line-height: 1.6;
  margin: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--background);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border: 2px solid var(--background);
  border-radius: 5px;
}
@media (min-width: 1600px) {
  main {
    min-height: 760px;
  }
}
@media (max-width: 1000px) {
  .masthead {
    padding: 28px 32px;
  }
  main {
    padding: 20px 32px 48px;
    gap: 32px;
  }
  .intro {
    font-size: 19px;
  }
  .email-row {
    flex-direction: column;
  }
  .email-row button {
    width: 100%;
  }
  footer {
    padding-inline: 32px;
  }
}
@media (max-width: 700px) {
  .masthead {
    padding: 24px;
  }
  .logo {
    width: 120px;
  }
  main {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 36px 24px 32px;
    min-height: 0;
  }
  .invitation {
    max-width: 100%;
    padding: 0;
  }
  h1 {
    font-size: 56px;
    margin-bottom: 20px;
  }
  .intro {
    font-size: 18px;
    margin-bottom: 32px;
  }
  .email-row {
    flex-direction: row;
  }
  .email-row button {
    width: auto;
    padding-inline: 16px;
  }
  .opening {
    justify-self: center;
    max-width: 420px;
  }
  .form-status {
    margin-bottom: 8px;
  }
  footer {
    padding: 0 24px 24px;
    gap: 16px;
    flex-wrap: wrap;
  }
  details {
    text-align: left;
    max-width: 100%;
  }
}
@media (max-width: 360px) {
  h1 {
    font-size: 48px;
  }
  .email-row {
    flex-direction: column;
  }
  .email-row button {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.brand-product {
  margin-left: 12px;
  font-size: 22px;
  align-self: center;
  font-weight: 500;
}
.masthead a {
  text-decoration: none;
}
.skip-link {
  position: absolute;
  left: 24px;
  top: -100px;
  padding: 12px;
  background: var(--primary);
  color: var(--primary-foreground);
  z-index: 2;
}
.skip-link:focus {
  top: 12px;
}
.product-notes {
  max-width: 1328px;
  margin: 0 auto;
  padding: 40px 56px 64px;
  border-top: 1px solid var(--border);
}
.product-notes h2 {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: 0 0 32px;
}
.product-notes dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.product-notes dt {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 12px;
}
.product-notes dd {
  margin: 0;
  color: var(--muted-foreground);
  line-height: 1.7;
  max-width: 40ch;
}
.product-notes > p {
  color: var(--muted-foreground);
  line-height: 1.7;
  max-width: 72ch;
  margin: 40px 0 0;
}
footer nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.document {
  display: block;
  max-width: 900px;
  min-height: 0;
  padding: 48px 56px 80px;
}
.document h1 {
  font-size: 56px;
}
.document h2 {
  font-size: 24px;
  font-weight: 500;
  margin: 40px 0 16px;
}
.document p,
.document li {
  font-size: 17px;
  line-height: 1.8;
  max-width: 70ch;
  color: var(--muted-foreground);
}
.document a {
  color: var(--primary);
}
@media (max-width: 700px) {
  .product-notes {
    padding: 32px 24px 48px;
  }
  .product-notes dl {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .document {
    padding: 32px 24px 48px;
  }
  .document h1 {
    font-size: 40px;
  }
  .masthead > span {
    max-width: 10ch;
    text-align: right;
  }
  .email-row {
    flex-direction: column;
  }
  .email-row button {
    width: 100%;
  }
}
