@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap");
:root {
  --paper: #f8f7f2;
  --white: #fffefa;
  --ink: #243e34;
  --green: #2b493a;
  --muted: #6b7167;
  --line: #dedfd4;
  --lime: #dce99b;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "DM Sans", "Avenir Next", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.6 var(--sans);
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
}
a {
  color: inherit;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
:focus-visible {
  outline: 3px solid #9caa55;
  outline-offset: 4px;
}
.hidden,
[hidden] {
  display: none !important;
}
.skip-link {
  position: absolute;
  top: -80px;
  background: white;
  padding: 12px;
  z-index: 20;
}
.skip-link:focus {
  top: 0;
}
.site-header {
  max-width: 1320px;
  margin: auto;
  padding: 28px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 24px;
}
.brand {
  font: 27px var(--serif);
  letter-spacing: -1px;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}
.brand > span {
  font: 36px Georgia;
  margin-right: 10px;
  line-height: 1;
}
.site-header nav {
  display: flex;
  gap: 30px;
  align-items: center;
}
.site-header nav > a {
  font-size: 13px;
  text-decoration: none;
}
.button {
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 7px;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 16px 23px;
  font-size: 14px;
  min-height: 48px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: #41634b;
  transform: translateY(-1px);
}
.button.small {
  padding: 11px 17px;
  min-height: 42px;
  font-size: 12px;
}
.text-button {
  background: none;
  border: 0;
  padding: 10px 0;
  font-size: 13px;
}
.text-button:hover {
  color: #758340;
}
.underlined {
  text-decoration: underline;
  text-underline-offset: 6px;
}
.account-email {
  font-size: 12px;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
}
main {
  min-height: 65vh;
}
.hero {
  max-width: 1208px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 69px 0 76px;
  gap: 55px;
  align-items: center;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 700;
  margin: 0 0 23px;
}
h1,
h2,
h3 {
  font-weight: 400;
  font-family: var(--serif);
  line-height: 1.1;
  margin: 0;
}
h1 {
  font-size: clamp(56px, 6.4vw, 89px);
  letter-spacing: -3px;
}
em {
  color: #78834c;
  font-weight: 400;
}
h2 {
  font-size: 39px;
  letter-spacing: -1px;
}
h3 {
  font-size: 26px;
  letter-spacing: -0.4px;
}
.hero-description {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  margin: 26px 0 29px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}
.fine-print {
  font-size: 11px;
  color: var(--muted);
  margin-top: 19px;
}
.invitation-scene {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
  isolation: isolate;
}
.scene-orbit {
  position: absolute;
  width: 480px;
  height: 480px;
  background: #e9eadd;
  border-radius: 50%;
  z-index: -1;
  right: 0;
}
.sample-card {
  width: 340px;
  min-height: 458px;
  background: #edf0d7;
  border: 1px solid #d0d5b5;
  padding: 29px 29px 22px;
  text-align: center;
  transform: rotate(7deg);
  box-shadow: 5px 20px 45px #34442b1c;
}
.card-overline {
  font-size: 8px;
  letter-spacing: 2px;
  font-weight: 600;
}
.table-art {
  height: 163px;
  position: relative;
  width: 230px;
  margin: 6px auto;
}
.plate {
  position: absolute;
  width: 130px;
  height: 130px;
  border: 2px solid #b5bd85;
  border-radius: 50%;
  left: 45px;
  top: 17px;
  background: repeating-radial-gradient(
    circle,
    #f7f5df 0 42px,
    #d6d9b3 43px 45px,
    #f5f3dc 46px 51px
  );
  box-shadow: 3px 5px 0 #cbd1a466;
}
.lemon {
  width: 46px;
  height: 28px;
  position: absolute;
  top: 52px;
  left: 43px;
  background: #e4bf4a;
  border-radius: 65% 30% 65% 30%;
  transform: rotate(-25deg);
}
.leaf {
  position: absolute;
  width: 28px;
  height: 13px;
  background: #64783b;
  border-radius: 90% 0;
  top: 41px;
  left: 76px;
  transform: rotate(-40deg);
}
.fork {
  position: absolute;
  left: 15px;
  top: 28px;
  font-size: 11px;
  letter-spacing: -2px;
  color: #707846;
}
.fork:after {
  content: "";
  position: absolute;
  width: 2px;
  height: 88px;
  background: #707846;
  top: 13px;
  left: 6px;
}
.knife {
  position: absolute;
  height: 108px;
  width: 5px;
  background: #707846;
  border-radius: 80% 0 0 15%;
  left: 193px;
  top: 29px;
}
.glass {
  position: absolute;
  width: 37px;
  height: 38px;
  border: 1px solid #9b784b;
  border-radius: 5px 5px 60% 60%;
  top: 3px;
  right: -12px;
  background: #e6ce9333;
}
.glass:after {
  content: "";
  position: absolute;
  height: 32px;
  border-left: 1px solid #9b784b;
  top: 37px;
  left: 17px;
}
.glass:before {
  content: "";
  position: absolute;
  width: 24px;
  border-bottom: 1px solid #9b784b;
  top: 69px;
  left: 5px;
}
.sample-script {
  font: italic 34px/1.1 var(--serif);
  letter-spacing: -1px;
  margin: 8px 0 20px;
}
.card-rule {
  width: 40px;
  border-top: 1px solid #8a9565;
  margin: auto;
}
.sample-date {
  font-size: 9px;
  letter-spacing: 1.5px;
  margin: 17px 0 5px;
}
.sample-location {
  font-size: 9px;
  margin: 0;
}
.sample-rsvp {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  background: var(--green);
  color: white;
  padding: 10px 15px;
  margin: 19px 15px 0;
  border-radius: 3px;
}
.scene-star {
  position: absolute;
  color: #aa684a;
  font-size: 64px;
  z-index: 2;
}
.star-one {
  right: 4px;
  top: 18px;
  transform: rotate(15deg);
}
.star-two {
  left: 10px;
  bottom: 65px;
  color: #718346;
  font-size: 74px;
}
.floating-note {
  position: absolute;
  left: 12px;
  bottom: 76px;
  display: flex;
  gap: 13px;
  align-items: center;
  background: var(--white);
  box-shadow: 0 6px 24px #34442b12;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 17px 21px;
  font-size: 12px;
  transform: rotate(-5deg);
  z-index: 3;
}
.note-check {
  border-radius: 50%;
  background: var(--lime);
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}
.scene-caption {
  position: absolute;
  bottom: 2px;
  font-size: 10px;
  color: var(--muted);
  transform: rotate(-3deg);
}
.occasion-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  max-width: 1208px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 27px 0;
}
.occasion-strip > span {
  font-size: 9px;
  letter-spacing: 1.4px;
  color: var(--muted);
  flex-shrink: 0;
}
.occasion-strip p {
  font: 23px var(--serif);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.occasion-strip i {
  font-style: normal;
  color: #a8ad81;
  font-size: 20px;
}
.how-section {
  max-width: 1208px;
  margin: auto;
  padding: 74px 0 80px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.section-heading > p {
  font-size: 13px;
  color: var(--muted);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
  margin-top: 42px;
}
.steps article {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.steps article > span {
  display: block;
  color: #78834c;
  font-size: 12px;
  margin-bottom: 25px;
}
.steps p {
  font-size: 13px;
  color: var(--muted);
  max-width: 290px;
  line-height: 1.9;
}
.steps h3 {
  font-size: 25px;
}
footer {
  border-top: 1px solid var(--line);
  padding: 30px 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  max-width: 1320px;
  margin: auto;
}
footer > span {
  font-size: 11px;
  color: var(--muted);
}
footer .brand {
  font-size: 22px;
}
.workspace {
  max-width: 1208px;
  margin: 60px auto 80px;
}
.workspace h1 {
  font-size: 52px;
  letter-spacing: -1.5px;
}
.muted {
  color: var(--muted);
  font-size: 14px;
}
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px;
  margin-top: 24px;
}
.event-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.event-card {
  background: #e9edd9;
  border: 1px solid #d6dcc4;
  border-radius: 12px;
  padding: 24px;
  text-align: left;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 15px;
}
.event-card:nth-child(3n + 2) {
  background: #f1dfd2;
  border-color: #e8cdbb;
}
.event-card:nth-child(3n) {
  background: #e1e9e8;
  border-color: #cddcda;
}
.event-card[aria-pressed="true"] {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
.event-card h3 {
  overflow-wrap: anywhere;
}
.event-card span {
  font-size: 11px;
}
.event-card .event-day {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.empty-state {
  grid-column: 1/-1;
  border: 1px dashed #bfc6ab;
  border-radius: 14px;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(130deg, #eef0e1, transparent);
}
.empty-state h2 {
  font-size: 32px;
}
.empty-state .button {
  margin-top: 14px;
}
.compact {
  margin-bottom: 18px;
}
.compact h2 {
  font-size: 30px;
}
.compact .eyebrow {
  margin-bottom: 8px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 28px 0;
}
.stat {
  padding: 20px;
  background: #f3f4eb;
  border-radius: 8px;
}
.stat h3 {
  font: 11px var(--sans);
  color: var(--muted);
}
.stat p {
  font: 37px var(--serif);
  margin: 10px 0 0;
}
.guest-controls {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin: 20px 0;
}
.search-label {
  max-width: 340px;
  flex: 1;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
th {
  text-align: left;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  font-weight: 500;
}
th,
td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
td {
  max-width: 250px;
  overflow-wrap: anywhere;
}
.pill {
  white-space: nowrap;
  padding: 5px 9px;
  border-radius: 20px;
  font-size: 10px;
  background: #e6e9da;
}
.pill.yes {
  background: #e3edd4;
  color: #456035;
}
.pill.maybe {
  background: #f6eccb;
  color: #866b23;
}
.pill.no {
  background: #f3e1d9;
  color: #9a5744;
}
.actions {
  display: flex;
  gap: 20px;
  align-items: center;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  padding: 42px;
  width: min(460px, calc(100% - 32px));
  max-height: 90dvh;
  overflow: auto;
  box-shadow: 0 20px 100px #142e2730;
}
dialog::backdrop {
  background: #1e382e66;
  backdrop-filter: blur(5px);
}
dialog h2 {
  font-size: 38px;
}
dialog .eyebrow {
  margin-bottom: 14px;
}
dialog p {
  font-size: 13px;
}
.close-button {
  position: absolute;
  right: 14px;
  top: 10px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  padding: 8px;
}
.event-dialog {
  width: min(700px, calc(100% - 32px));
}
.grid-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.span-2 {
  grid-column: 1/-1;
}
label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
}
input,
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #d9ddcf;
  background: #fffefa;
  border-radius: 6px;
  padding: 12px;
  color: var(--ink);
  font-size: 14px;
}
textarea {
  resize: vertical;
}
input::placeholder,
textarea::placeholder {
  color: #858b7e;
}
.auth-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: #eef0e6;
  border-radius: 7px;
  margin: 25px 0;
}
.auth-tabs button {
  flex: 1;
  border: 0;
  border-radius: 5px;
  background: transparent;
  padding: 9px;
  font-size: 12px;
}
.auth-tabs button[aria-pressed="true"] {
  background: var(--white);
  box-shadow: 0 1px 4px #283c2912;
}
.status {
  font-size: 12px;
  color: var(--muted);
  overflow-wrap: anywhere;
  margin: 12px 0 0;
}
.status:empty {
  display: none;
}
.status.error {
  color: #a23d31;
}
.status.success {
  color: #4c712f;
}
.form-note {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.global-status {
  max-width: 1208px;
  margin: 20px auto;
  padding: 0 20px;
}
.preview-response {
  background: #edf1df;
  border-radius: 10px;
  padding: 20px;
  margin: 25px 0;
  display: flex;
  gap: 14px;
  font-size: 13px;
}
.guest-view {
  max-width: 1000px;
  margin: 65px auto 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}
.guest-cover {
  text-align: center;
  background: #e9edd9;
  border: 1px solid #d6dcc4;
  border-radius: 14px;
  padding: 48px 30px;
  min-height: 540px;
  overflow-wrap: anywhere;
}
.cover-spark {
  display: block;
  font-size: 75px;
  color: #899957;
  line-height: 1;
  margin-bottom: 34px;
}
.guest-cover h1 {
  font-size: 52px;
  letter-spacing: -1.5px;
}
.guest-cover #invite-meta {
  font-size: 13px;
  white-space: pre-line;
  line-height: 2.1;
}
.cover-line {
  width: 40px;
  border-top: 1px solid #9ba97b;
  margin: 28px auto;
}
.guest-cover #invite-details {
  font-size: 14px;
  white-space: pre-wrap;
  line-height: 1.9;
}
.guest-form {
  margin: 0;
  padding: 28px;
}
.guest-form h2 {
  font-size: 33px;
}
.guest-form .eyebrow {
  margin-bottom: 10px;
}
.guest-form .grid-form {
  grid-template-columns: 1fr;
}
.guest-form .grid-form > * {
  grid-column: 1;
}
.hero-copy,
.invitation-scene {
  animation: arrive 0.65s both;
}
.invitation-scene {
  animation-delay: 0.12s;
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
@media (max-width: 1300px) {
  .hero,
  .occasion-strip,
  .how-section,
  .workspace {
    margin-left: 56px;
    margin-right: 56px;
  }
  .hero {
    gap: 20px;
  }
  .scene-orbit {
    width: 420px;
    height: 420px;
  }
  .guest-view {
    margin-left: 40px;
    margin-right: 40px;
  }
}
@media (max-width: 1000px) {
  .site-header {
    padding: 24px 30px;
  }
  .site-header nav {
    gap: 18px;
  }
  .hero,
  .occasion-strip,
  .how-section,
  .workspace {
    margin-left: 30px;
    margin-right: 30px;
  }
  .hero {
    gap: 0;
    padding-top: 48px;
  }
  .scene-orbit {
    width: 340px;
    height: 340px;
  }
  .sample-card {
    width: 290px;
    padding: 24px 20px;
    min-height: 440px;
  }
  .sample-script {
    font-size: 30px;
  }
  .floating-note {
    left: 0;
    bottom: 45px;
  }
  .star-one {
    right: 0;
  }
  .hero-actions {
    gap: 16px;
    flex-wrap: wrap;
  }
  .occasion-strip {
    gap: 30px;
  }
  .occasion-strip p {
    font-size: 19px;
    gap: 15px;
  }
  .nav-about {
    display: none;
  }
  .event-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .account-email {
    display: none;
  }
}
@media (max-width: 700px) {
  .site-header {
    padding: 19px 20px;
    gap: 14px;
  }
  .brand {
    font-size: 23px;
  }
  .brand > span {
    font-size: 27px;
    margin-right: 6px;
  }
  .site-header nav {
    gap: 12px;
  }
  .site-header .button.small {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 45px 0 36px;
    margin: 0 24px;
  }
  .hero h1 {
    font-size: 66px;
  }
  .hero-description {
    font-size: 14px;
  }
  .hero-copy .eyebrow {
    font-size: 9px;
  }
  .hero-actions .button {
    padding: 14px 18px;
    font-size: 13px;
  }
  .hero-actions {
    gap: 20px;
  }
  .invitation-scene {
    min-height: 520px;
    margin-top: 22px;
  }
  .scene-orbit {
    width: 320px;
    height: 320px;
    right: auto;
  }
  .sample-card {
    width: 280px;
  }
  .star-one {
    right: 5px;
    top: 18px;
  }
  .star-two {
    left: 0;
    bottom: 70px;
  }
  .floating-note {
    bottom: 55px;
    left: 0;
  }
  .occasion-strip {
    margin: 0 24px;
    display: block;
    padding: 22px 0;
  }
  .occasion-strip > span {
    display: block;
    margin-bottom: 16px;
  }
  .occasion-strip > span br {
    display: none;
  }
  .occasion-strip p {
    font-size: 18px;
    gap: 12px;
  }
  .how-section {
    margin: 0 24px;
    padding: 45px 0;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  h2 {
    font-size: 33px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 25px;
  }
  .steps article > span {
    margin-bottom: 14px;
  }
  .steps p {
    max-width: none;
  }
  .steps article {
    padding-top: 18px;
  }
  .section-heading > p {
    margin: 0;
  }
  .workspace {
    margin: 35px 20px 50px;
  }
  .workspace h1 {
    font-size: 39px;
  }
  .event-cards {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 22px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .guest-controls {
    flex-direction: column;
  }
  .search-label {
    max-width: none;
  }
  .guest-view {
    grid-template-columns: 1fr;
    margin: 30px 20px;
    gap: 20px;
  }
  .guest-cover {
    min-height: 0;
    padding: 32px 24px;
  }
  .guest-cover h1 {
    font-size: 43px;
  }
  .cover-spark {
    margin-bottom: 25px;
    font-size: 55px;
  }
  footer {
    padding: 25px 24px;
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }
  footer > span:last-child {
    display: none;
  }
  dialog {
    padding: 35px 24px;
  }
  .grid-form {
    grid-template-columns: 1fr;
  }
  .grid-form > * {
    grid-column: 1;
  }
  .compact h2 {
    font-size: 27px;
  }
}
@media (max-width: 370px) {
  .hero h1 {
    font-size: 57px;
  }
  .sample-card {
    width: 250px;
  }
  .scene-orbit {
    width: 275px;
    height: 275px;
  }
  .brand {
    font-size: 20px;
  }
  .table-art {
    transform: scale(0.9);
    transform-origin: left center;
  }
}
