:root {
  --ink: #12312d;
  --paper: #f5f2e9;
  --peach: #f6d3b4;
  --teal: #0d615b;
  --mint: #8de1b9;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { min-height: 100vh; margin: 0; color: #fff; background: radial-gradient(circle at 83% 18%, rgba(83,180,168,.44), transparent 31%), linear-gradient(135deg, #0a3d39, #07534e 68%, #0f6b64); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input { font: inherit; }
.invitation-shell { min-height: 100vh; overflow: hidden; padding: 28px clamp(24px, 6vw, 96px); }
nav { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; max-width: 1240px; margin: auto; }
.brand { color: #fff; text-decoration: none; font-size: 18px; font-weight: 650; }
.brand-mark { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-right: 10px; border-radius: 50%; color: var(--teal); background: #f5dfc4; font-family: Georgia, serif; }
.preview-label, .eyebrow { font-size: 11px; font-weight: 650; letter-spacing: .17em; text-transform: uppercase; }
.preview-label { color: rgba(255,255,255,.72); }
.invitation-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(390px, .8fr); align-items: center; min-height: calc(100vh - 96px); max-width: 1240px; margin: auto; }
.invitation-copy { position: relative; z-index: 4; max-width: 650px; padding: 56px 0; }
.eyebrow { margin: 0 0 18px; color: rgba(255,255,255,.78); }
h1 { margin: 0; font-size: clamp(50px, 6.5vw, 82px); font-weight: 500; line-height: .96; letter-spacing: -.055em; }
h1 em { color: var(--peach); font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
.intro { max-width: 560px; margin: 28px 0 34px; color: rgba(255,255,255,.76); font-size: 17px; line-height: 1.6; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 620px; }
label span { display: block; margin: 0 0 8px 4px; color: rgba(255,255,255,.72); font-size: 11px; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; }
input { width: 100%; height: 52px; padding: 0 16px; border: 1px solid rgba(255,255,255,.28); border-radius: 5px; outline: none; color: #fff; background: rgba(1,34,32,.34); transition: border-color .2s, box-shadow .2s; }
input:focus { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(141,225,185,.14); }
button { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; height: 56px; margin-top: 5px; padding: 0 19px; border: 0; border-radius: 5px; color: var(--ink); background: var(--peach); font-weight: 700; cursor: pointer; transition: transform .2s, opacity .2s; }
button:hover { transform: translateY(-2px); }
button:disabled { cursor: wait; opacity: .65; transform: none; }
.website-field { position: absolute; left: -10000px; }
.form-status { grid-column: 1 / -1; min-height: 22px; margin: 3px 2px 0; font-size: 13px; line-height: 1.5; }
.form-status.success { color: var(--mint); }
.form-status.error { color: #ffc0ad; }
.success-panel { display: grid; grid-template-columns: 62px 1fr; gap: 20px; align-items: start; max-width: 620px; padding: 28px; border: 1px solid rgba(141,225,185,.52); border-radius: 7px; outline: none; background: rgba(2,43,40,.55); box-shadow: 0 22px 60px rgba(1,28,26,.2); animation: confirmation-in .35s ease-out; }
.success-mark { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; color: var(--ink); background: var(--mint); font-size: 29px; font-weight: 800; }
.success-kicker { margin: 3px 0 7px; color: var(--mint); font-size: 11px; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
.success-panel h2 { margin: 0; color: #fff; font-size: clamp(28px, 3vw, 38px); line-height: 1.05; letter-spacing: -.035em; }
.success-panel div > p:last-child { max-width: 460px; margin: 12px 0 0; color: rgba(255,255,255,.75); font-size: 15px; line-height: 1.55; }
@keyframes confirmation-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.sign-in-link { margin: 15px 0 0; color: rgba(255,255,255,.62); font-size: 13px; }
.sign-in-link a { color: #fff; font-weight: 650; }
.voyage-note { margin: 25px 0 0; color: rgba(255,255,255,.48); font-size: 12px; }
.cruiser-stage { position: absolute; right: -4vw; bottom: -42px; width: min(48vw, 590px); aspect-ratio: 1; }
.stage-rings { position: absolute; inset: 8%; border: 1px solid rgba(255,255,255,.26); border-radius: 50%; box-shadow: 0 0 0 65px rgba(255,255,255,.025), 0 0 0 130px rgba(255,255,255,.018); }
.cruiser-stage img { position: absolute; z-index: 2; left: 50%; bottom: 0; width: 102%; transform: translateX(-50%); filter: drop-shadow(0 30px 36px rgba(2,28,26,.34)); }
.stage-shade { position: absolute; z-index: 3; right: -20%; bottom: -5%; width: 140%; height: 23%; border-radius: 50% 50% 0 0 / 100% 100% 0 0; background: var(--paper); }

@media (max-width: 850px) {
  .invitation-shell { padding-inline: 22px; }
  .invitation-grid { display: block; min-height: auto; }
  .invitation-copy { padding: 64px 0 330px; }
  h1 { font-size: clamp(48px, 13vw, 72px); }
  .intro { max-width: 92%; font-size: 15px; }
  form { grid-template-columns: 1fr; }
  button { grid-column: 1; }
  .form-status { grid-column: 1; }
  .cruiser-stage { right: -120px; bottom: -34px; width: 430px; }
}

@media (max-width: 500px) {
  .preview-label { display: none; }
  .invitation-copy { padding-top: 58px; padding-bottom: 300px; }
  .cruiser-stage { right: -150px; width: 390px; }
  .success-panel { grid-template-columns: 48px 1fr; gap: 15px; padding: 22px 18px; }
  .success-mark { width: 46px; height: 46px; font-size: 24px; }
}
