:root {
  --coral: #e8765a;
  --sage: #8fa06e;
  --yellow: #f2be4b;
  --cream: #fdf7ec;
  --paper: #fffcf6;
  --charcoal: #34322e;
  --burgundy: #6f3a35;
  --kraft: #cdb68f;
  --ink-soft: #6b655c;
  --line: rgba(143, 160, 110, 0.2);
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(52, 50, 46, 0.12);
  --card-shadow: 0 16px 42px rgba(52, 50, 46, 0.08);
  --button-shadow: 0 12px 24px rgba(232, 118, 90, 0.22);
  --body-background: var(--cream);
  --surface: rgba(255, 252, 246, 0.92);
  --surface-soft: rgba(255, 255, 255, 0.72);
  --surface-coral: #fbe4dc;
  --surface-yellow: #fbebc6;
  --surface-sage: #e8ecdc;
  --gallery-sheen: rgba(255, 255, 255, 0.7);
  --gallery-tag: rgba(255, 255, 255, 0.72);
  --focus: rgba(143, 160, 110, 0.18);
  --input-bg: var(--white);
  --button-text: var(--white);
  --display: Quicksand, ui-rounded, system-ui, sans-serif;
  --body: Mulish, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --script: Caveat, "Comic Sans MS", cursive;
}

:root[data-theme="dark"] {
  --coral: #f2a08f;
  --sage: #c4cfaa;
  --yellow: #f4cb75;
  --cream: #1f1728;
  --paper: #33273b;
  --charcoal: #fff6eb;
  --burgundy: #ffc3b6;
  --kraft: #d9bc91;
  --ink-soft: rgba(255, 246, 235, 0.78);
  --line: rgba(255, 232, 214, 0.22);
  --white: #fffaf2;
  --shadow: 0 28px 74px rgba(7, 4, 12, 0.5);
  --card-shadow: 0 20px 54px rgba(7, 4, 12, 0.34);
  --button-shadow: 0 12px 28px rgba(242, 160, 143, 0.22);
  --body-background:
    radial-gradient(circle at 14% 4%, rgba(244, 203, 117, 0.16), transparent 26rem),
    radial-gradient(circle at 90% 16%, rgba(242, 160, 143, 0.13), transparent 30rem),
    linear-gradient(180deg, #191221, var(--cream) 46%, #241a2c);
  --surface: rgba(51, 39, 59, 0.88);
  --surface-soft: rgba(255, 246, 235, 0.08);
  --surface-coral: rgba(242, 160, 143, 0.18);
  --surface-yellow: rgba(244, 203, 117, 0.2);
  --surface-sage: rgba(196, 207, 170, 0.18);
  --gallery-sheen: rgba(255, 246, 235, 0.12);
  --gallery-tag: rgba(31, 23, 40, 0.78);
  --focus: rgba(196, 207, 170, 0.26);
  --input-bg: #241b2d;
  --button-text: #271821;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--body-background);
  color: var(--charcoal);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.62;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 17% 6%, rgba(242, 190, 75, 0.12), transparent 18rem),
    radial-gradient(circle at 82% 9%, rgba(232, 118, 90, 0.1), transparent 20rem);
}

a {
  color: inherit;
}

.site-header,
.site-footer,
.launch-status,
.hero,
.section,
.society {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(143, 160, 110, 0.14);
}

.brand,
.footer-brand {
  color: var(--charcoal);
  font-family: var(--display);
  font-weight: 700;
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 21px;
}

.brand img {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
}

.site-nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.site-nav {
  justify-content: center;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}

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

.site-nav a:hover,
.site-footer a:hover {
  color: var(--coral);
}

.header-actions {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-content: end;
  min-width: 0;
}

.nav-cta {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 10px 20px rgba(232, 118, 90, 0.2);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  text-align: center;
}

.theme-toggle {
  position: relative;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--charcoal);
  box-shadow: 0 8px 22px rgba(53, 50, 47, 0.08);
  cursor: pointer;
}

.theme-toggle:hover {
  border-color: var(--coral);
}

.theme-toggle:focus-visible,
.button:focus-visible,
.nav-cta:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.theme-toggle-icon {
  position: absolute;
  display: block;
  transition: opacity 160ms ease, transform 160ms ease;
}

.theme-toggle-icon-sun {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: 0 0 0 2px rgba(241, 179, 62, 0.2);
}

.theme-toggle-icon-sun::before,
.theme-toggle-icon-sun::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  background:
    linear-gradient(var(--yellow), var(--yellow)) center top / 3px 7px no-repeat,
    linear-gradient(var(--yellow), var(--yellow)) center bottom / 3px 7px no-repeat,
    linear-gradient(var(--yellow), var(--yellow)) left center / 7px 3px no-repeat,
    linear-gradient(var(--yellow), var(--yellow)) right center / 7px 3px no-repeat;
}

.theme-toggle-icon-sun::after {
  transform: rotate(45deg);
}

.theme-toggle-icon-moon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--charcoal);
  transform: translateX(2px);
  opacity: 0;
}

.theme-toggle-icon-moon::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 6px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--surface);
}

:root[data-theme="dark"] .theme-toggle-icon-sun {
  transform: rotate(35deg) scale(0.72);
  opacity: 0;
}

:root[data-theme="dark"] .theme-toggle-icon-moon {
  transform: translateX(0);
  opacity: 1;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.82fr);
  gap: 74px;
  align-items: center;
  min-height: 560px;
  padding: 86px 0 88px;
}

.launch-status {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--card-shadow);
  padding: 14px 18px;
}

.launch-status p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.45;
}

.launch-status strong {
  color: var(--charcoal);
}

.launch-status a {
  flex: 0 0 auto;
  color: var(--burgundy);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.hero-copy,
.hero-visual {
  max-width: 100%;
  min-width: 0;
}

.script-label {
  margin: 0 0 6px;
  color: var(--coral);
  font-family: var(--script);
  font-size: 26px;
  line-height: 1;
}

.section-eyebrow {
  margin: 0 0 10px;
  color: var(--sage);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scan-line,
.scan-pill {
  margin: 0 0 22px;
  color: var(--sage);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.scan-pill {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  border-radius: 999px;
  background: var(--surface-sage);
  padding: 4px 10px;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--charcoal);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.08;
}

h1 {
  max-width: 650px;
  font-size: clamp(50px, 6.2vw, 74px);
}

h2 {
  max-width: 760px;
  font-size: clamp(34px, 4.3vw, 46px);
}

h3 {
  font-size: 20px;
}

h1 span {
  color: var(--coral);
}

.lede {
  width: 100%;
  max-width: 560px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero .hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: fit-content;
  max-width: 100%;
  margin-top: 30px;
}

.hero .store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.button.primary {
  background: var(--coral);
  color: var(--button-text);
  box-shadow: var(--button-shadow);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 252, 246, 0.8);
  color: var(--charcoal);
}

.hero-learn-button {
  align-self: center;
  min-width: 230px;
}

.ready-actions {
  margin-top: 24px;
}

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 24px 0 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
  list-style: none;
}

.hero-checks li::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--sage);
}

.hero-visual {
  display: grid;
  gap: 18px;
  align-items: center;
  justify-items: center;
  position: relative;
  min-height: 360px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  border-radius: 999px;
  background: rgba(251, 228, 220, 0.72);
  transform: translate(-8px, -14px);
}

.hero-visual::after {
  content: "POST\a YOUR\a HAPPY\a MAIL";
  position: absolute;
  top: 12px;
  left: 34px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border: 2px dashed var(--coral);
  border-radius: 999px;
  color: var(--coral);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-align: center;
  white-space: pre;
  transform: rotate(18deg);
}

.hero-art,
.footer-logo-art {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 26px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero-art {
  position: relative;
  z-index: 1;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  max-width: 290px;
  border: 22px solid var(--white);
  border-radius: 28px;
}

.section {
  padding: 92px 0;
}

.legal-page,
.content-page {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0 84px;
}

.content-page {
  width: min(1040px, calc(100% - 32px));
}

.legal-hero {
  padding: 28px 0 44px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  font-size: clamp(48px, 7vw, 82px);
}

.legal-updated {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 900;
}

.legal-section {
  padding-top: 38px;
}

.legal-section h2 {
  margin-top: 38px;
  font-size: clamp(27px, 3vw, 36px);
}

.legal-section h2:first-child {
  margin-top: 0;
}

.legal-section p {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.legal-section a {
  color: var(--burgundy);
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 18px;
  margin-top: 38px;
}

.faq-list article,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--card-shadow);
}

.faq-list article {
  padding: 24px;
}

.faq-list h2,
.contact-card h2 {
  font-size: clamp(25px, 3vw, 34px);
}

.faq-list p,
.contact-card p {
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 42px;
  align-items: center;
  padding: 58px 0 84px;
}

.contact-card {
  padding: 28px;
}

.contact-card img {
  display: block;
  margin-bottom: 18px;
  border-radius: 16px;
}

.contact-card h2 {
  font-size: 23px;
  line-height: 1.18;
  overflow-wrap: normal;
}

.feature-mark {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--sage);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-page {
  padding-top: 40px;
}

.about-hero {
  max-width: 900px;
  padding: 50px 0 58px;
  border-bottom: 1px solid var(--line);
}

.about-hero h1 {
  font-size: clamp(46px, 7vw, 84px);
}

.about-hero .lede {
  max-width: 760px;
}

.about-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 46px 0 58px;
  border-bottom: 1px solid var(--line);
}

.about-principles article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--card-shadow);
  padding: 24px;
}

.about-principles h2 {
  font-size: clamp(25px, 3vw, 34px);
}

.about-principles p {
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.about-story {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: 42px;
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}

.about-copy p,
.about-grid p,
.about-principles p,
.about-note p {
  margin: 0;
  color: var(--ink-soft);
}

.about-copy p + p,
.about-note p + p {
  margin-top: 16px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 54px 0;
}

.about-grid article,
.about-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--card-shadow);
}

.about-grid article {
  padding: 26px;
}

.about-grid h2 {
  font-size: clamp(28px, 3.6vw, 42px);
}

.about-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  margin-bottom: 76px;
  padding: 34px;
}

.about-note h2 {
  max-width: 840px;
  margin-bottom: 18px;
  font-size: clamp(32px, 4.2vw, 52px);
}

.note-signoff {
  font-family: var(--script);
  font-size: 30px;
  line-height: 1.1;
}

.about-note img {
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.society-page {
  padding-top: 40px;
}

.society-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 54px;
  align-items: center;
  padding: 50px 0 64px;
  border-bottom: 1px solid var(--line);
}

.society-page-hero h1 {
  font-size: clamp(46px, 7vw, 82px);
}

.society-stamp {
  display: grid;
  gap: 13px;
  justify-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--card-shadow);
  padding: 32px;
  text-align: center;
}

.society-stamp img {
  border-radius: 18px;
  box-shadow: 0 10px 22px rgba(52, 50, 46, 0.1);
}

.society-stamp strong {
  font-family: var(--display);
  font-size: 24px;
  line-height: 1.14;
}

.society-stamp span,
.society-note p,
.society-offers p {
  color: var(--ink-soft);
}

.society-story {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 42px;
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}

.society-offers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 54px 0;
  border-bottom: 1px solid var(--line);
}

.society-offers article,
.society-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--card-shadow);
}

.society-offers article {
  padding: 26px;
}

.society-offers h2 {
  font-size: clamp(28px, 3.6vw, 42px);
}

.society-note {
  margin: 54px 0 0;
  padding: 34px;
}

.society-note h2 {
  max-width: 840px;
  margin-bottom: 18px;
  font-size: clamp(32px, 4.2vw, 52px);
}

.social-plan {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  margin-top: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 252, 246, 0.92), rgba(232, 236, 220, 0.58));
  box-shadow: var(--card-shadow);
  padding: 34px;
}

.social-plan-copy p {
  max-width: 590px;
  margin: 18px 0 0;
  color: var(--ink-soft);
}

.social-plan-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.social-plan-details div {
  min-height: 102px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px;
}

.social-plan-details dt {
  margin: 0 0 6px;
  color: var(--sage);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.social-plan-details dd {
  margin: 0;
  color: var(--charcoal);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.18;
}

.society-join {
  margin-top: 34px;
}

.social-reservation-page {
  padding-top: 40px;
}

.social-reservation-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 54px;
  align-items: center;
  padding: 50px 0 54px;
  border-bottom: 1px solid var(--line);
}

.social-reservation-hero h1 {
  max-width: 820px;
  font-size: clamp(46px, 7vw, 82px);
}

.social-reservation-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  gap: 26px;
  align-items: start;
  padding: 54px 0 28px;
}

.social-event-list,
.social-reservation-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--card-shadow);
  padding: 26px;
}

.social-event-count {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
  padding: 7px 12px;
  white-space: nowrap;
}

.social-event-options {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.social-event-option {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px 14px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  cursor: pointer;
  padding: 16px;
}

.social-event-option.active {
  border-color: rgba(214, 121, 88, 0.58);
  box-shadow: inset 4px 0 0 var(--coral);
}

.social-event-option.disabled {
  cursor: not-allowed;
  opacity: 0.64;
}

.social-event-option input {
  grid-row: 1 / span 3;
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.social-event-option span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.social-event-option strong {
  color: var(--charcoal);
  line-height: 1.18;
}

.social-event-option small {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.35;
}

.selected-social-summary {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink-soft);
  margin-bottom: 18px;
  min-height: 94px;
  padding: 16px;
}

.selected-social-summary strong {
  color: var(--charcoal);
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.16;
}

.selected-social-summary span {
  font-size: 14px;
  line-height: 1.35;
}

.social-reservation-form {
  position: sticky;
  top: 96px;
}

.social-reservation-form label {
  display: block;
  margin-bottom: 12px;
  font-weight: 900;
}

.social-reservation-form label span {
  display: block;
  margin-bottom: 8px;
}

.social-reservation-form select,
.social-reservation-form textarea {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: 18px;
  background: var(--input-bg);
  color: var(--charcoal);
  font: inherit;
  padding: 12px 14px;
}

.social-reservation-form select:focus,
.social-reservation-form textarea:focus {
  border-color: var(--sage);
  outline: 3px solid var(--focus);
}

.social-reservation-form select {
  min-height: 50px;
}

.social-reservation-form textarea {
  min-height: 112px;
  resize: vertical;
}

.social-payment-choice {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 18px 0;
  padding: 16px;
}

.social-payment-choice legend {
  color: var(--sage);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  padding: 0 8px;
  text-transform: uppercase;
}

.social-payment-choice label {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  font-weight: 800;
  margin: 0;
}

.social-payment-choice input[type="radio"] {
  flex: 0 0 auto;
  width: 20px;
  min-height: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
}

.social-reservation-policy {
  display: grid;
  gap: 10px;
  border-left: 4px solid var(--sage);
  background: rgba(232, 236, 220, 0.36);
  margin: 18px 0;
  padding: 14px 16px;
}

.social-reservation-policy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
}

.form-note.is-success {
  color: var(--sage);
  font-weight: 800;
}

.step-grid,
.feature-grid,
.gallery-grid,
.society-grid,
.why-list {
  display: grid;
  gap: 28px;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
}

.steps,
.gallery {
  text-align: center;
}

.steps h2,
.gallery h2 {
  margin-inline: auto;
}

.step-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 80px;
  width: min(940px, 100%);
  margin-inline: auto;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-grid article,
.society-grid article,
.why-list article,
.gallery-grid article,
.qr-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--card-shadow);
}

.feature-grid article,
.society-grid article,
.why-list article {
  min-height: 236px;
  padding: 28px;
}

.step-grid li {
  min-height: 0;
  padding: 0;
}

.feature-grid article {
  position: relative;
  overflow: hidden;
}

.feature-grid article::after,
.society-grid article::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -52px;
  width: 130px;
  height: 130px;
  border-radius: 999px;
  background: rgba(242, 190, 75, 0.11);
}

.step-icon,
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.step-icon {
  width: 92px;
  height: 92px;
  margin-bottom: 26px;
  border-radius: 22px;
  color: var(--charcoal);
}

.step-icon-coral {
  background: var(--surface-coral);
}

.step-icon-yellow {
  background: var(--surface-yellow);
}

.step-icon-sage {
  background: var(--surface-sage);
}

.step-badge {
  position: absolute;
  top: -9px;
  right: -9px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 3px solid var(--paper);
  border-radius: 999px;
  background: var(--coral);
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(52, 50, 46, 0.12);
}

.step-icon-yellow .step-badge {
  background: var(--yellow);
  color: var(--charcoal);
}

.step-icon-sage .step-badge {
  background: var(--sage);
}

.step-symbol {
  font-size: 31px;
  font-weight: 900;
}

.feature-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--surface-sage);
  color: var(--sage);
  font-size: 22px;
  font-weight: 900;
}

.feature-grid article:nth-child(3n + 1) .feature-icon {
  background: var(--surface-coral);
  color: var(--coral);
}

.feature-grid article:nth-child(3n + 2) .feature-icon {
  background: var(--surface-yellow);
  color: var(--charcoal);
}

.step-grid h3,
.feature-grid h3,
.society-grid h3,
.step-grid p,
.feature-grid p,
.society-grid p {
  position: relative;
  z-index: 1;
}

.step-grid p,
.feature-grid p,
.society-grid p,
.why-list p,
.ready p,
.site-footer p {
  color: var(--ink-soft);
}

.step-grid h3 {
  font-size: 18px;
}

.step-grid p {
  max-width: 250px;
  margin-inline: auto;
  font-size: 14px;
  line-height: 1.55;
}

.features {
  width: 100%;
  padding: 96px max(16px, calc((100vw - 1120px) / 2));
  background: rgba(255, 250, 242, 0.55);
}

.section-heading {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section-heading-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
}

.section-heading-split .script-label {
  margin-bottom: 10px;
  color: var(--sage);
}

.features .feature-grid {
  width: min(1120px, 100%);
  margin-inline: auto;
  text-align: left;
}

.why-band {
  margin: 0;
  background: var(--sage);
  color: var(--paper);
}

.why {
  display: block;
  padding: 86px 0 84px;
  text-align: center;
}

.why h2,
.why h3 {
  color: var(--paper);
}

.why .section-eyebrow,
.why-list p {
  color: rgba(255, 252, 246, 0.82);
}

.why-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 54px;
  text-align: left;
}

.why-heading h2 {
  max-width: 560px;
  margin-inline: auto;
}

.why-list article {
  min-height: auto;
  border-color: rgba(255, 252, 246, 0.28);
  background: rgba(255, 252, 246, 0.14);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.society-band {
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.78), rgba(232, 236, 220, 0.56));
}

.society {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  padding: 92px 0;
}

.society-copy .lede {
  max-width: 600px;
}

.society-grid {
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 0;
}

.society-grid article {
  position: relative;
  min-height: auto;
  overflow: hidden;
}

.society-grid article:nth-child(3n + 1) .feature-icon {
  background: var(--surface-coral);
  color: var(--coral);
}

.society-grid article:nth-child(3n + 2) .feature-icon {
  background: var(--surface-yellow);
  color: var(--charcoal);
}

.society-grid article:nth-child(3n + 3) .feature-icon {
  background: var(--surface-sage);
  color: var(--sage);
}

.gallery-grid article {
  position: relative;
  display: grid;
  place-items: end start;
  min-height: 300px;
  overflow: hidden;
  padding: 18px;
  background: var(--paper);
}

.gallery-grid img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.gallery-grid article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(52, 50, 46, 0.42));
}

.gallery-grid article:hover img {
  transform: scale(1.025);
}

.gallery-grid span {
  position: relative;
  z-index: 1;
  border-radius: 999px;
  background: var(--gallery-tag);
  padding: 8px 12px;
  color: var(--charcoal);
  font-size: 13px;
  font-weight: 900;
}

.gallery-note {
  margin: 12px 0 0;
  color: rgba(107, 101, 92, 0.58);
  font-size: 12px;
}

.ready {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 110px;
  align-items: center;
  margin-bottom: 70px;
  padding: 92px 0;
  border-top: 1px solid rgba(143, 160, 110, 0.14);
  border-bottom: 1px solid rgba(143, 160, 110, 0.14);
  background: transparent;
  box-shadow: none;
}

.waitlist-form {
  max-width: 620px;
  margin-top: 28px;
}

.waitlist-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 900;
}

.form-fields {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

.waitlist-form label span {
  display: block;
  margin-bottom: 8px;
}

.form-row {
  display: flex;
}

input {
  width: 100%;
  min-height: 50px;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--input-bg);
  color: var(--charcoal);
  font: inherit;
}

input:focus {
  border-color: var(--sage);
  outline: 3px solid var(--focus);
}

input::placeholder {
  color: var(--ink-soft);
}

.form-note {
  margin: 10px 0 0;
  font-size: 13px;
}

.form-note.is-error {
  color: var(--burgundy);
  font-weight: 900;
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.qr-card {
  display: grid;
  gap: 9px;
  justify-items: center;
  padding: 30px;
  background: var(--paper);
  text-align: center;
}

.qr-card img {
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(52, 50, 46, 0.1);
}

.qr-card strong {
  font-family: var(--display);
  font-size: 18px;
}

.qr-card span {
  color: var(--ink-soft);
  font-size: 12px;
}

.qr-link {
  display: inline-grid;
  gap: 8px;
  justify-items: center;
  margin-top: 12px;
  padding: 12px;
  border: 2px solid var(--charcoal);
  border-radius: 14px;
  background: var(--input-bg);
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.qr-link:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.qr-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 320px);
}

.qr-card .qr-image {
  display: block;
  width: 132px;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: none;
}

.qr-placeholder {
  position: relative;
  display: block;
  width: 152px;
  height: 152px;
  margin-top: 12px;
  padding: 13px;
  border: 3px solid var(--charcoal);
  border-radius: 14px;
  background:
    linear-gradient(var(--input-bg), var(--input-bg)) center / 52px 52px no-repeat,
    repeating-conic-gradient(var(--charcoal) 0 25%, var(--input-bg) 0 50%) 0 0 / 18px 18px;
}

.qr-placeholder::before {
  content: "♥";
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 5px solid var(--input-bg);
  border-radius: 10px;
  background: var(--coral);
  color: var(--white);
  font-size: 16px;
  line-height: 1;
  transform: translate(-50%, -50%);
}

.qr-placeholder i {
  display: none;
  border-radius: 2px;
  background: var(--charcoal);
}

.qr-placeholder i:nth-child(1),
.qr-placeholder i:nth-child(4) {
  grid-column: span 2;
}

.qr-placeholder i:nth-child(2) {
  grid-column: 4 / span 2;
}

.qr-placeholder i:nth-child(3) {
  grid-column: 2 / span 2;
}

.qr-placeholder i:nth-child(2),
.qr-placeholder i:nth-child(3) {
  background: var(--sage);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(260px, auto);
  gap: 54px;
  align-items: start;
  padding: 50px 0 42px;
  border-top: 1px solid var(--line);
}

.footer-logo-art {
  display: none;
}

.footer-summary {
  min-width: 0;
}

.footer-summary::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  border-radius: 7px;
  background: url("/assets/handposted-envelope-icon.png") center / cover no-repeat;
  vertical-align: -5px;
}

.footer-logo-art {
  object-fit: contain;
}

.footer-brand {
  display: inline-flex;
  margin-bottom: 8px;
  font-size: 20px;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 8px 46px;
  justify-content: end;
  color: var(--ink-soft);
  font-weight: 900;
}

.copyright {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
}

.copyright::after {
  content: "Helping happy mail happen.";
  color: var(--ink-soft);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand theme"
      "nav nav"
      "cta cta";
    gap: 14px;
    padding: 16px 0 10px;
  }

  .brand {
    grid-area: brand;
  }

  .header-actions {
    display: contents;
  }

  .theme-toggle {
    grid-area: theme;
    justify-self: end;
  }

  .site-nav {
    grid-area: nav;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    min-width: 0;
    justify-content: stretch;
    font-size: 14px;
  }

  .site-nav a {
    display: inline-flex;
    min-width: 0;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface-soft);
    text-align: center;
  }

  .nav-cta {
    grid-area: cta;
    width: 100%;
    min-height: 46px;
  }

  .site-header {
    min-width: 0;
  }

  .launch-status {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 14px;
  }

  .hero,
  .society,
  .why,
  .ready,
  .contact-hero,
  .society-page-hero,
  .social-reservation-hero,
  .social-reservation-workspace,
  .society-story,
  .society-offers,
  .social-plan,
  .about-story,
  .about-grid,
  .about-principles,
  .about-note {
    grid-template-columns: 1fr;
  }

  .about-note img {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 28px;
  }

  .why {
    padding: 56px 0;
  }

  .why-band {
    margin: 28px 0;
  }

  .step-grid,
  .feature-grid,
  .society-grid,
  .social-plan-details,
  .social-event-option,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .social-reservation-form {
    position: static;
  }

  .step-grid li,
  .feature-grid article,
  .society-grid article {
    min-height: auto;
  }

  .step-icon {
    width: 82px;
    height: 82px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero .store-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-learn-button {
    align-self: stretch;
    min-width: 0;
  }

  .button,
  .form-row .button {
    width: 100%;
    max-width: 100%;
  }

  .form-row {
    flex-direction: column;
    gap: 12px;
  }

  .site-footer {
    grid-template-columns: minmax(130px, 180px) minmax(0, 1fr);
  }

  .site-footer nav {
    grid-column: 1 / -1;
    justify-content: start;
  }

  .copyright {
    grid-column: 1 / -1;
  }
}

@media (max-width: 540px) {
  .site-header,
  .site-footer,
  .launch-status,
  .hero,
  .section,
  .society,
  .legal-page,
  .content-page {
    width: calc(100% - 22px);
    max-width: 1120px;
  }

  .brand {
    gap: 8px;
    font-size: 23px;
  }

  .brand img {
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }

  .site-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    font-size: 13px;
  }

  .site-nav a {
    min-height: 38px;
    padding: 7px 6px;
  }

  .hero {
    gap: 34px;
    padding: 28px 0 52px;
  }

  .section {
    padding: 52px 0;
  }

  .legal-page,
  .content-page {
    padding: 32px 0 58px;
  }

  .legal-hero,
  .about-hero {
    padding: 26px 0 36px;
  }

  .about-page {
    padding-top: 22px;
  }

  .society-page {
    padding-top: 22px;
  }

  .social-reservation-page {
    padding-top: 22px;
  }

  .society-page-hero,
  .social-reservation-hero {
    gap: 26px;
    padding: 26px 0 36px;
  }

  .about-principles,
  .about-grid,
  .society-offers {
    gap: 14px;
    padding: 34px 0;
  }

  .about-story,
  .society-story {
    gap: 24px;
    padding: 42px 0;
  }

  .about-note,
  .society-note {
    margin-bottom: 52px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-logo-art {
    max-width: 180px;
  }

  .site-footer nav {
    grid-column: auto;
    grid-template-columns: repeat(2, minmax(0, max-content));
  }

  h1 {
    font-size: 38px;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  h1 span {
    display: block;
  }

  h2 {
    font-size: 28px;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .lede {
    width: 100%;
    max-width: 100%;
  }

  .hero-copy,
  .hero-visual,
  .hero-actions,
  .hero-art,
  .lede,
  h1,
  h2 {
    max-width: 100%;
  }

  .hero-copy,
  .hero-visual,
  .hero-actions {
    width: 100%;
  }

  .script-label {
    font-size: 27px;
  }

  .section-heading-split {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .section-heading-split .script-label {
    justify-self: start;
    margin: 0;
  }

  .features,
  .society,
  .gallery,
  .steps {
    text-align: left;
  }

  .steps h2,
  .gallery h2 {
    margin-inline: 0;
  }

  .ready {
    padding: 24px;
  }

  .why {
    padding: 46px 0;
  }

  .theme-toggle {
    width: 46px;
    height: 46px;
  }

  .nav-cta {
    flex: 1 1 auto;
  }

  .society-page-hero h1 {
    font-size: 36px;
  }

  .social-reservation-hero h1 {
    font-size: 36px;
  }

  .step-grid,
  .feature-grid,
  .society-grid,
  .gallery-grid,
  .why-list,
  .faq-list {
    gap: 14px;
  }

  .step-grid {
    grid-template-columns: 1fr;
    justify-content: stretch;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    justify-content: stretch;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .society-grid {
    grid-template-columns: 1fr;
    justify-content: stretch;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .why-list {
    grid-template-columns: 1fr;
    justify-content: stretch;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    justify-content: stretch;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .step-grid li,
  .feature-grid article,
  .society-grid article,
  .why-list article,
  .faq-list article,
  .contact-card,
  .gallery-card,
  .waitlist-card,
  .qr-card,
  .about-principles article,
  .about-grid article,
  .society-offers article,
  .social-plan,
  .social-plan-details div,
  .social-event-list,
  .social-reservation-form,
  .social-event-option,
  .about-note,
  .society-note,
  .society-stamp {
    padding: 22px;
  }

  .step-grid li {
    padding: 0;
    text-align: center;
  }

  .feature-grid article,
  .society-grid article,
  .why-list article {
    min-height: auto;
  }

  .gallery-grid article {
    min-height: 230px;
  }

  .gallery-card img {
    min-height: 220px;
  }

  .lede {
    margin-top: 18px;
    font-size: 18px;
  }
}

@media (max-width: 360px) {
  .site-header,
  .site-footer,
  .launch-status,
  .hero,
  .section,
  .society,
  .legal-page,
  .content-page {
    width: calc(100% - 16px);
  }

  .site-nav {
    gap: 7px;
    font-size: 12px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  .script-label {
    font-size: 24px;
  }

  .about-principles article,
  .about-grid article,
  .society-offers article,
  .social-plan,
  .social-plan-details div,
  .step-grid li,
  .feature-grid article,
  .society-grid article,
  .why-list article,
  .faq-list article,
  .contact-card,
  .gallery-card,
  .waitlist-card,
  .qr-card,
  .about-note,
  .society-note,
  .society-stamp {
    padding: 18px;
  }

  .step-grid li {
    padding: 0;
  }

  .site-footer nav {
    gap: 8px 14px;
  }
}
