@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght,SOFT,WONK@9..144,500,40,1;9..144,600,40,1&display=swap');
:root {
  --paper: #fff8ec;
  --ink: #392333;
  --red: #dc482f;
  --butter: #f5d579;
  --line: #ddcfc0;
  --muted: #76646a;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 16px;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #305ac7;
  outline-offset: 5px;
}
header {
  max-width: 1440px;
  margin: auto;
  padding: 15px 5.5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}
.logo {
  display: block;
  width: 195px;
  flex-shrink: 0;
}
.logo img {
  width: 100%;
  height: auto;
  display: block;
}
nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
  font-weight: 600;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border: 0;
  border-radius: 6px;
  background: var(--red);
  color: white;
  padding: 18px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.18s,
    background 0.18s;
}
.button:hover {
  background: #bd3726;
  transform: translateY(-2px);
}
.button.small {
  padding: 13px 17px;
}
.text-link {
  font-size: 14px;
  font-weight: 600;
}
.hero {
  max-width: 1440px;
  padding: 50px 7% 85px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 7%;
  align-items: center;
}
.hero-copy {
  position: relative;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.8;
}
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  margin-right: 8px;
}
h1,
h2,
h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
}
h1 {
  font-size: clamp(58px, 6.3vw, 88px);
  line-height: 1.035;
  letter-spacing: -4px;
  margin: 26px 0;
}
h1 em,
h2 em {
  font-weight: 500;
  color: var(--red);
}
.intro {
  font-size: 16px;
  line-height: 1.85;
  max-width: 415px;
  color: var(--muted);
}
.actions {
  display: flex;
  align-items: center;
  gap: 27px;
  margin: 29px 0 20px;
}
.aside {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.65;
}
.doodle {
  font-size: 80px;
  color: var(--red);
  position: absolute;
  right: 18px;
  bottom: -18px;
  transform: rotate(17deg);
}
.hero-art {
  position: relative;
  padding: 35px 12px 0;
}
.sample-card {
  display: block;
  background: #fff9ef;
  box-shadow:
    0 15px 40px #4b281725,
    0 1px 2px #4b281730;
  border: 10px solid #fffdf6;
  transform: rotate(4deg);
  position: relative;
  max-width: 440px;
  margin: auto;
  transition: transform 0.3s;
}
.sample-card:hover {
  transform: rotate(1deg);
}
.sample-card > img {
  display: block;
  width: 100%;
  height: 365px;
  object-fit: cover;
}
.sample-caption {
  text-align: center;
  padding: 23px 10px 17px;
}
.sample-caption > span {
  font-size: 9px;
  letter-spacing: 2px;
}
.sample-caption h2 {
  font-size: 38px;
  line-height: 1.05;
  margin: 13px 0 18px;
  letter-spacing: -1.5px;
}
.sample-caption p {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.6px;
}
.floating-note {
  position: absolute;
  top: -15px;
  left: 15px;
  transform: rotate(-8deg);
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 18px;
  z-index: 2;
}
.floating-note span {
  font-size: 45px;
  position: absolute;
  top: 10px;
  right: -50px;
}
.sticker {
  position: absolute;
  right: -20px;
  bottom: 60px;
  border-radius: 50%;
  background: var(--butter);
  width: 125px;
  height: 125px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transform: rotate(-13deg);
  font-family: 'Fraunces', Georgia, serif;
  font-size: 27px;
  line-height: 1;
}
.sticker span {
  font:
    9px 'DM Sans',
    sans-serif;
  margin-top: 7px;
}
.fineprint {
  text-align: right;
  font-size: 9px;
  color: var(--muted);
  margin-top: 24px;
}
.ribbon {
  background: var(--butter);
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 20px;
  padding: 23px 3%;
  font-size: 23px;
}
.ribbon span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
}
.how {
  max-width: 1260px;
  margin: auto;
  padding: 92px 6% 85px;
}
.how h2,
.closing h2 {
  font-size: 48px;
  line-height: 1.15;
  letter-spacing: -2px;
  margin: 18px 0 44px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}
.steps article > span {
  color: var(--red);
  font-size: 11px;
  border-top: 1px solid var(--line);
  display: block;
  padding-top: 23px;
}
.steps h3 {
  font-size: 24px;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.steps p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}
.closing {
  background: #f1e4d9;
  text-align: center;
  padding: 64px 20px 76px;
}
.closing h2 {
  margin-bottom: 28px;
}
footer {
  padding: 35px 6%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  color: var(--muted);
}
footer a {
  font-weight: 700;
}
.invitation {
  max-width: 1180px;
  margin: 36px auto 70px;
  padding: 0 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7%;
  align-items: start;
}
.invite-cover {
  position: sticky;
  top: 30px;
  transform: rotate(-2deg);
  border: 12px solid #fffdf6;
  box-shadow: 0 12px 40px #39233318;
  overflow: hidden;
}
.invite-cover > img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: cover;
}
.cover-label {
  position: absolute;
  top: 30px;
  left: 30px;
  border-radius: 50%;
  width: 110px;
  height: 110px;
  background: var(--paper);
  display: grid;
  place-content: center;
  text-align: center;
  font-size: 11px;
  letter-spacing: 2px;
  line-height: 1.8;
  transform: rotate(-8deg);
}
.invite-details h1 {
  font-size: 57px;
  letter-spacing: -2.5px;
  margin: 18px 0;
}
.host {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 30px;
}
.details-row {
  display: flex;
  gap: 18px;
  margin: 20px 0;
}
.details-row > span {
  font-size: 28px;
  width: 28px;
  color: var(--red);
}
.details-row strong {
  font-size: 14px;
  font-weight: 600;
}
.details-row p {
  font-size: 13px;
  color: var(--muted);
  margin: 5px 0;
}
.description {
  white-space: pre-wrap;
  font-size: 14px;
  line-height: 1.9;
  margin: 30px 0;
}
.rsvp {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.rsvp fieldset {
  border: 0;
  padding: 0;
  margin: 15px 0 22px;
}
.response-options {
  display: flex;
  gap: 8px;
}
.response-options label {
  flex: 1;
}
.response-options input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.response-options span {
  display: block;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 13px 5px;
  text-align: center;
  font-size: 12px;
  cursor: pointer;
}
.response-options input:checked + span {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.response-options input:focus-visible + span {
  outline: 3px solid #305ac7;
  outline-offset: 3px;
}
.field {
  display: block;
  font-size: 12px;
  margin: 15px 0;
}
.field > span {
  color: var(--muted);
}
.auth input[type='email'] {
  display: block;
  width: 100%;
  margin: 10px 0 24px;
  padding: 15px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 16px;
}
.auth {
  max-width: 720px;
}
.auth h1 {
  font-size: clamp(40px, 6vw, 60px);
  letter-spacing: -2px;
}
.auth li {
  line-height: 1.8;
  margin: 12px 0;
}
textarea,
select {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: transparent;
  margin-top: 8px;
  color: var(--ink);
}
textarea {
  min-height: 75px;
  resize: vertical;
  font-size: 13px;
}
.rsvp .button {
  width: 100%;
}
.rsvp .aside {
  text-align: center;
}
.notice {
  padding: 20px;
  background: #f5e8c4;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.7;
  margin: 20px 0;
}
.demo-banner {
  text-align: center;
  background: #f3e6d8;
  padding: 12px;
  font-size: 12px;
}
.form-status {
  font-size: 13px;
  line-height: 1.7;
}
.connect {
  max-width: 820px;
  padding: 50px 30px 100px;
  margin: auto;
}
.connect h1 {
  font-size: 64px;
}
.connect .intro {
  max-width: none;
}
.connect-box {
  background: white;
  border: 1px solid var(--line);
  padding: 28px;
  border-radius: 12px;
  margin: 35px 0;
  line-height: 1.7;
}
.connect-box h2 {
  margin: 0;
}
.agent-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 2px solid var(--red);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  padding: 13px 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.agent-pill:hover {
  background: #fce8dc;
}
.agent-pill svg {
  flex-shrink: 0;
  color: var(--red);
}
.agent-shortcut {
  position: relative;
}
.copy-status {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.agent-shortcut .copy-status:not(:empty) {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 240px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 8px 24px #39233312;
  z-index: 3;
}
.setup-prompt {
  background: var(--paper);
  font-size: 15px;
  line-height: 1.8;
  padding: 18px;
  min-height: 146px;
}
.setup-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
}
.setup-actions .text-link {
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.connect-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 0;
  list-style: none;
  counter-reset: connect-step;
}
.connect-steps li::before {
  counter-increment: connect-step;
  content: '0' counter(connect-step);
  display: block;
  color: var(--red);
  font-size: 11px;
  margin-bottom: 12px;
}
.connect-steps strong,
.connect-steps span {
  display: block;
  font-size: 13px;
  line-height: 1.7;
}
.connect-steps span {
  color: var(--muted);
  margin-top: 6px;
}
.beta-note {
  margin: 30px 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.connection-details {
  margin-top: 30px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
.connection-details summary {
  cursor: pointer;
  color: var(--ink);
}
.connection-details dt {
  font-weight: 600;
}
.connection-details dd {
  margin: 0 0 12px;
  overflow-wrap: anywhere;
}
.connect p {
  line-height: 1.8;
}
.connect pre {
  overflow: auto;
  font-size: 12px;
  background: var(--paper);
  padding: 20px;
}
.prompt-card {
  background: var(--butter);
  padding: 20px 28px;
  border-radius: 10px;
}
.prompt-card > p:last-child {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 24px;
  line-height: 1.5;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
}
.theme-art {
  min-height: 540px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  place-items: center;
  font-size: 150px;
  color: var(--red);
  background: var(--butter);
}
.theme-art.midnight {
  background: var(--ink);
  color: var(--butter);
}
.theme-art span:nth-child(2) {
  color: #305ac7;
  font-size: 100px;
}
.theme-art span:nth-child(4) {
  transform: rotate(40deg);
}
@media (min-width: 1450px) {
  .hero {
    padding-top: 65px;
    padding-bottom: 105px;
  }
  .sample-card > img {
    height: 390px;
  }
}
@media (max-width: 900px) {
  header {
    padding: 10px 5%;
  }
  nav {
    gap: 15px;
  }
  nav > a:first-child {
    display: none;
  }
  .hero {
    padding: 30px 6% 70px;
    gap: 4%;
  }
  h1 {
    font-size: 61px;
  }
  .hero-art {
    padding: 35px 0 0;
  }
  .sample-card > img {
    height: 300px;
  }
  .sample-caption h2 {
    font-size: 31px;
  }
  .sticker {
    width: 105px;
    height: 105px;
    font-size: 23px;
    right: -15px;
  }
  .doodle {
    display: none;
  }
  .actions {
    gap: 16px;
    align-items: flex-start;
    flex-direction: column;
  }
  .intro {
    font-size: 14px;
  }
  .invite-details h1 {
    font-size: 46px;
  }
  .invitation {
    gap: 5%;
  }
}
@media (max-width: 640px) {
  .agent-shortcut .agent-pill {
    font-size: 11px;
    padding: 10px 12px;
    gap: 8px;
  }
  .agent-shortcut .agent-pill svg {
    display: none;
  }
  .connect-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .setup-prompt {
    min-height: 195px;
  }
  header {
    gap: 10px;
  }
  .logo {
    width: 155px;
  }
  nav > a:nth-child(2) {
    display: none;
  }
  .button.small {
    padding: 11px;
    font-size: 11px;
    gap: 8px;
  }
  .hero {
    display: flex;
    flex-direction: column;
    padding: 23px 7% 45px;
    gap: 55px;
    align-items: stretch;
  }
  .hero h1 {
    font-size: 67px;
    letter-spacing: -3px;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.5px;
  }
  .intro {
    font-size: 15px;
    max-width: 360px;
  }
  .actions {
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }
  .actions .button {
    font-size: 12px;
    padding: 16px;
  }
  .aside {
    font-size: 10px;
  }
  .hero-art {
    max-width: 365px;
    width: 95%;
    align-self: center;
  }
  .sample-card > img {
    height: 310px;
  }
  .sample-caption h2 {
    font-size: 35px;
  }
  .sticker {
    right: -20px;
    bottom: 46px;
  }
  .ribbon {
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px 15px;
    font-size: 16px;
  }
  .ribbon span {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .how {
    padding: 55px 7%;
  }
  .how h2,
  .closing h2 {
    font-size: 37px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .steps h3 {
    margin-top: 12px;
  }
  .steps article > span {
    padding-top: 17px;
  }
  .steps p {
    margin-bottom: 5px;
  }
  .closing {
    padding: 48px 20px 55px;
  }
  footer {
    font-size: 9px;
    padding: 25px 7%;
  }
  .invitation {
    display: flex;
    flex-direction: column;
    padding: 0 7%;
    margin-top: 30px;
    gap: 35px;
  }
  .invite-cover {
    position: relative;
    top: auto;
    width: 100%;
    max-width: 400px;
    align-self: center;
  }
  .invite-cover > img {
    max-height: 430px;
    object-fit: cover;
  }
  .invite-details {
    width: 100%;
  }
  .invite-details h1 {
    font-size: 48px;
  }
  .connect {
    padding: 30px 7% 60px;
  }
  .connect h1 {
    font-size: 48px;
    letter-spacing: -2px;
  }
  .connect-box {
    padding: 20px;
  }
  .connect-box pre {
    padding: 12px;
    font-size: 10px;
  }
  header > .text-link {
    font-size: 10px;
    max-width: 130px;
  }
  .theme-art {
    min-height: 390px;
  }
  .demo-banner {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
