@font-face {
  font-family: Pretendard;
  src: url("/assets/fonts/PretendardVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  --background: #fafafa;
  --foreground: #18181b;
  --card: #ffffff;
  --muted: #f4f4f5;
  --muted-foreground: #71717a;
  --border: #e4e4e7;
  --input: #e4e4e7;
  --primary: #18181b;
  --primary-foreground: #fafafa;
  --accent: #fdf2f4;
  --accent-foreground: #9f1239;
  --ring: #18181b;
  --success: #15803d;
  --danger: #be123c;
  --radius: 8px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  background: var(--background);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--foreground);
  background: var(--background);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button,
a,
input,
summary {
  touch-action: manipulation;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

button svg,
.icon-button svg,
.button svg {
  width: 17px;
  height: 17px;
  flex: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

p {
  line-height: 1.65;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  height: 64px;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.wordmark {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  font-size: 19px;
  font-weight: 720;
  line-height: 1;
}

.wordmark > span:not(.brand-dot) {
  font-weight: 430;
}

.brand-dot {
  width: 5px;
  height: 5px;
  margin: 0 0 13px 3px;
  border-radius: 50%;
  background: #e11d48;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #52525b;
  font-size: 13px;
  font-weight: 500;
}

.site-header nav > a:not(.button):hover {
  color: var(--foreground);
}

.button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--primary);
  border-radius: 6px;
  padding: 9px 15px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.button:hover:not(:disabled) {
  background: #27272a;
}

.button.small {
  min-height: 34px;
  padding: 7px 11px;
  font-size: 12px;
}

.button.secondary {
  border-color: var(--border);
  background: var(--card);
  color: var(--foreground);
}

.button.secondary:hover:not(:disabled) {
  border-color: #d4d4d8;
  background: var(--muted);
}

.button.kakao {
  border-color: #fee500;
  background: #fee500;
  color: #191600;
}

.button.kakao:hover:not(:disabled) {
  background: #f3da00;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-bottom: 1px solid #a1a1aa;
  padding-bottom: 2px;
  color: #3f3f46;
  font-size: 13px;
  font-weight: 500;
}

.text-link:hover {
  border-color: var(--foreground);
  color: var(--foreground);
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--muted-foreground);
  font-size: 11px;
  font-weight: 700;
}

.fine,
.field-hint {
  color: var(--muted-foreground);
  font-size: 12px;
  line-height: 1.55;
}

.hero {
  position: relative;
  display: flex;
  min-height: 620px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 72px 24px 58px;
  border-bottom: 1px solid var(--border);
  background: #ffffff;
  text-align: center;
}

.hero::before,
.hero::after {
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px solid #f4f4f5;
  border-radius: 50%;
  content: "";
}

.hero::before {
  top: -102px;
  left: max(8%, calc((100vw - 1080px) / 2));
}

.hero::after {
  right: max(6%, calc((100vw - 1080px) / 2));
  bottom: -128px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.hero h1 {
  margin-bottom: 16px;
  font-size: 62px;
  font-weight: 720;
  line-height: 1;
}

.lead {
  margin-bottom: 25px;
  color: #52525b;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.hero .fine {
  margin: 12px 0 0;
}

.hero-couple {
  position: absolute;
  right: max(4%, calc((100vw - 1300px) / 2));
  bottom: 0;
  width: 332px;
  height: 250px;
  pointer-events: none;
}

.hero-couple img {
  position: absolute;
  object-fit: contain;
}

.hero-groom {
  bottom: 0;
  left: 0;
  width: 195px;
  height: 250px;
  transform: rotate(-4deg);
}

.hero-bride {
  right: 0;
  bottom: 0;
  width: 197px;
  height: 252px;
  transform: rotate(3deg);
}

.hero-bottom {
  position: absolute;
  bottom: 24px;
  left: 50%;
  display: flex;
  width: min(1180px, calc(100% - 48px));
  align-items: center;
  justify-content: space-between;
  color: var(--muted-foreground);
  font-size: 12px;
  transform: translateX(-50%);
}

.hero-bottom a {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--foreground);
  font-size: 16px;
}

.band {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 96px 32px;
}

.section-heading h2,
.faq h2 {
  margin-bottom: 14px;
  font-size: 36px;
  font-weight: 680;
  line-height: 1.18;
}

.section-heading p:not(.eyebrow) {
  max-width: 500px;
  margin-bottom: 0;
  color: var(--muted-foreground);
  font-size: 15px;
}

.story {
  display: grid;
  grid-template-columns: minmax(230px, 0.8fr) minmax(0, 1.2fr);
  gap: 110px;
}

.story-list {
  border-top: 1px solid var(--border);
}

.story-list article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  padding: 22px 0 24px;
  border-bottom: 1px solid var(--border);
}

.story-list article > span {
  color: #a1a1aa;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.story-list h3 {
  margin-bottom: 7px;
  font-size: 16px;
  font-weight: 650;
}

.story-list p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 14px;
}

.pricing {
  border-top: 1px solid var(--border);
}

.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.plan {
  display: flex;
  min-height: 262px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.plan > span {
  color: var(--muted-foreground);
  font-size: 11px;
}

.plan h3 {
  margin: 24px 0 10px;
  font-size: 17px;
  font-weight: 650;
}

.plan .price {
  margin-bottom: 12px;
  font-size: 25px;
  font-weight: 700;
}

.plan p:not(.price) {
  margin-bottom: 22px;
  color: var(--muted-foreground);
  font-size: 12px;
}

.plan .button {
  width: 100%;
  margin-top: auto;
}

.faq {
  border-top: 1px solid var(--border);
}

.faq h2 {
  margin-bottom: 26px;
}

.faq details {
  border-top: 1px solid var(--border);
  padding: 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  position: relative;
  padding: 20px 30px 20px 0;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  position: absolute;
  top: 19px;
  right: 2px;
  color: var(--muted-foreground);
  content: "+";
  font-size: 21px;
  font-weight: 400;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  max-width: 680px;
  margin: -4px 0 20px;
  color: var(--muted-foreground);
  font-size: 14px;
}

footer {
  display: flex;
  width: min(1180px, 100%);
  align-items: center;
  gap: 18px;
  margin: 0 auto;
  padding: 34px 32px;
  border-top: 1px solid var(--border);
}

footer p,
footer > span {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 12px;
}

footer > span {
  margin-left: auto;
}

.footer-brand,
.footer-operator {
  display: grid;
  gap: 8px;
}

.footer-operator nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 12px;
}

.footer-operator a {
  text-underline-offset: 3px;
}

.admin-main {
  width: min(1220px, 100%);
  margin: 0 auto;
  padding: 44px 28px 88px;
}

.editor-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.editor-heading .eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
}

.editor-heading h1 {
  margin-bottom: 8px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.editor-heading p:last-child {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 13px;
}

.editor-heading-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 374px;
  gap: 24px;
  align-items: start;
}

.editor-content {
  min-width: 0;
}

.form-section {
  margin-bottom: 14px;
}

.form-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.card-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 22px;
}

.card-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #fbcfe8;
  border-radius: 7px;
  background: var(--accent);
  color: var(--accent-foreground);
}

.card-icon svg {
  width: 16px;
  height: 16px;
}

.card-heading h2 {
  margin: 1px 0 4px;
  font-size: 16px;
  font-weight: 680;
  line-height: 1.35;
}

.card-heading p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 12px;
  line-height: 1.55;
}

label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 17px;
  color: #3f3f46;
  font-size: 12px;
  font-weight: 600;
}

label:last-child {
  margin-bottom: 0;
}

input:not([type="checkbox"], [type="radio"], [type="file"]) {
  width: 100%;
  min-width: 0;
  height: 42px;
  border: 1px solid var(--input);
  border-radius: 6px;
  padding: 9px 11px;
  background: var(--card);
  color: var(--foreground);
  font-size: 13px;
  font-weight: 450;
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

input:not([type="checkbox"], [type="radio"], [type="file"]):focus {
  border-color: #71717a;
  box-shadow: 0 0 0 3px #f4f4f5;
}

input[readonly] {
  background: #fafafa;
  color: var(--muted-foreground);
}

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

.field-hint {
  display: block;
  margin: -7px 0 17px;
}

.address-edit-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 17px;
}

.address-edit-row label {
  flex: 1;
  min-width: 0;
  margin-bottom: 0;
}

.address-edit-row > button {
  flex: 0 0 auto;
  min-height: 44px;
}

.address-preview,
.address-status {
  font-size: 13px;
  overflow-wrap: anywhere;
  margin: 0 0 14px;
}

.address-status:empty {
  display: none;
}

.slug-control {
  display: grid;
  grid-template-columns: auto minmax(108px, 1fr) auto;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--input);
  border-radius: 6px;
  background: #fafafa;
  color: var(--muted-foreground);
  font-size: 12px;
  font-weight: 450;
}

.slug-control:focus-within {
  border-color: #71717a;
  box-shadow: 0 0 0 3px #f4f4f5;
}

.slug-control > span {
  min-width: 0;
  padding: 0 10px;
  white-space: nowrap;
}

.slug-control input {
  height: 40px;
  min-width: 0;
  border: 0;
  border-right: 1px solid var(--input);
  border-left: 1px solid var(--input);
  border-radius: 0;
  background: var(--card);
  box-shadow: none !important;
}

.link-row,
.upload-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.link-row input {
  flex: 1;
}

.public-link-row {
  margin-bottom: 14px;
}

.icon-button {
  display: inline-grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0;
  background: var(--card);
  color: #52525b;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}

.icon-button:hover:not(:disabled) {
  border-color: #d4d4d8;
  background: var(--muted);
  color: var(--foreground);
}

.publish-button {
  width: 100%;
}

.save-bar {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0 22px;
  padding: 10px 10px 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 10px 30px rgba(24, 24, 27, 0.08);
}

.save-bar span {
  color: var(--muted-foreground);
  font-size: 12px;
}

.check-label {
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted-foreground);
  font-size: 12px;
  font-weight: 450;
  line-height: 1.55;
}

.check-label input {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  margin-top: 1px;
  accent-color: var(--primary);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.media-group + .media-group {
  border-left: 1px solid var(--border);
  padding-left: 28px;
}

.media-group h3 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 650;
}

.media-group h3 svg {
  width: 15px;
  height: 15px;
  color: var(--muted-foreground);
}

.cover-preview {
  display: grid;
  width: 100%;
  min-height: 132px;
  place-items: center;
  overflow: hidden;
  border: 1px dashed #d4d4d8;
  border-radius: 7px;
  background: #fafafa;
}

.cover-preview img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
}

.cover-preview span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: var(--muted-foreground);
  font-size: 12px;
}

.cover-preview span svg {
  width: 20px;
  height: 20px;
}

.media-name {
  min-height: 20px;
  margin: 10px 0 12px;
  overflow: hidden;
  color: var(--muted-foreground);
  font-size: 12px;
  line-height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-row {
  flex-wrap: wrap;
  margin-top: 13px;
}

.upload-label {
  margin: 0;
  flex-direction: row;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}

.upload-row .fine {
  margin-left: 2px;
}

.media-group [role="status"] {
  min-height: 18px;
  margin: 9px 0 0;
  color: var(--muted-foreground);
  font-size: 12px;
}

audio {
  width: 100%;
  height: 34px;
  margin: 0 0 12px;
}

.plan-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 2px 0 18px;
}

.plan-option {
  position: relative;
  display: flex;
  min-height: 66px;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 7px;
  cursor: pointer;
}

.plan-option:has(input:checked) {
  border-color: var(--foreground);
  background: #fafafa;
}

.plan-option input {
  margin: 0;
  accent-color: var(--primary);
}

.plan-option span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.plan-option strong {
  color: var(--foreground);
  font-size: 13px;
}

.plan-option small {
  color: var(--muted-foreground);
  font-size: 12px;
  font-weight: 450;
}

#billing-section > .button {
  width: 100%;
}

.editor-preview {
  position: sticky;
  top: 84px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.preview-heading {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 0 16px;
  border-bottom: 1px solid var(--border);
  color: #52525b;
  font-size: 12px;
  font-weight: 600;
}

.preview-save-hint {
  margin: 0;
  padding: 12px 16px;
  color: var(--muted-foreground);
  font-size: 12px;
  line-height: 1.6;
}

.preview-heading > span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.preview-heading svg {
  width: 15px;
  height: 15px;
}

.preview-frame {
  padding: 12px;
  background: #f4f4f5;
}

.editor-preview iframe {
  display: block;
  width: 100%;
  height: 674px;
  border: 1px solid #d4d4d8;
  border-radius: 6px;
  background: white;
}

.message {
  margin: 0 0 16px;
  border: 1px solid #fecdd3;
  border-radius: 7px;
  padding: 12px 14px;
  background: #fff1f2;
  color: var(--danger);
  font-size: 13px;
  line-height: 1.55;
}

.login-view {
  width: min(440px, 100%);
  margin: 84px auto;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  text-align: center;
}

.login-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin: 0 auto 20px;
  border: 1px solid #fbcfe8;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-foreground);
}

.login-mark svg {
  width: 19px;
  height: 19px;
}

.login-view h1 {
  margin-bottom: 13px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
}

.login-view > p:not(.eyebrow, .fine) {
  color: var(--muted-foreground);
  font-size: 14px;
}

.login-view .kakao {
  width: 100%;
  margin: 18px 0 10px;
}

.login-view .fine {
  min-height: 18px;
  margin: 0 auto 12px;
}

.loading {
  margin: 120px auto;
  color: var(--muted-foreground);
  font-size: 14px;
  text-align: center;
}

.message-page,
.checkout-page {
  width: min(620px, 100%);
  margin: 0 auto;
  padding: 84px 24px;
}

.message-page {
  text-align: center;
}

.message-page h1,
.checkout-page h1 {
  margin-bottom: 12px;
  font-size: 30px;
  font-weight: 700;
}

.message-page p {
  color: var(--muted-foreground);
}

.message-page .button {
  margin-top: 12px;
}

.checkout-page > .eyebrow {
  margin-bottom: 9px;
}

.order-summary {
  margin: 24px 0;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.order-summary h2 {
  margin-bottom: 10px;
  font-size: 17px;
}

.order-summary strong {
  display: block;
  font-size: 28px;
}

.order-summary p {
  margin: 16px 0 0;
  color: var(--muted-foreground);
  font-size: 13px;
}

.checkout-page > .button {
  width: 100%;
  margin: 20px 0;
}

.checkout-page > .text-link {
  margin: 0 auto;
}

#toast {
  position: fixed;
  z-index: 50;
  bottom: 22px;
  left: 50%;
  max-width: calc(100% - 32px);
  transform: translateX(-50%);
  border: 1px solid #3f3f46;
  border-radius: 7px;
  padding: 11px 15px;
  background: #27272a;
  color: #fafafa;
  box-shadow: 0 12px 28px rgba(24, 24, 27, 0.2);
  font-size: 13px;
}

@media (max-width: 1120px) {
  .hero-couple {
    right: 4%;
    width: 280px;
    height: 210px;
  }

  .hero-groom {
    width: 165px;
    height: 212px;
  }

  .hero-bride {
    width: 168px;
    height: 214px;
  }

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

  .editor-layout {
    grid-template-columns: minmax(0, 1fr) 330px;
  }
}

@media (max-width: 900px) {
  .hero-couple {
    display: none;
  }

  .story {
    gap: 56px;
  }

  .editor-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .editor-preview {
    position: static;
    width: min(390px, 100%);
    margin: 0 auto;
  }
}

@media (max-width: 700px) {
  .site-header {
    height: 60px;
    padding: 0 18px;
  }

  .site-header nav {
    gap: 12px;
  }

  .site-header nav > a[href="/#pricing"] {
    display: none;
  }

  .site-header nav > a:not(.button) {
    font-size: 12px;
  }

  .site-header .button.small {
    padding: 7px 10px;
  }

  .hero {
    min-height: 490px;
    padding: 54px 20px 66px;
  }

  .hero::before,
  .hero::after {
    width: 160px;
    height: 160px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .lead {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 13px;
  }

  .hero-bottom {
    bottom: 18px;
    width: calc(100% - 40px);
    font-size: 10px;
  }

  .band {
    padding: 64px 20px;
  }

  .section-heading h2,
  .faq h2 {
    font-size: 29px;
  }

  .story {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .plans {
    grid-template-columns: 1fr;
  }

  .plan {
    min-height: 220px;
  }

  footer {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 28px 20px;
  }

  footer > span {
    width: 100%;
    margin-left: 0;
  }

  .admin-main {
    padding: 28px 16px 68px;
  }

  .editor-heading {
    margin-bottom: 20px;
  }

  .editor-heading h1 {
    font-size: 26px;
  }

  .editor-heading-actions .button {
    display: none;
  }

  .form-card {
    padding: 18px;
  }

  .card-heading {
    margin-bottom: 18px;
  }

  .field-grid,
  .media-grid {
    grid-template-columns: 1fr;
  }

  .media-group + .media-group {
    margin-top: 24px;
    border-top: 1px solid var(--border);
    border-left: 0;
    padding-top: 24px;
    padding-left: 0;
  }

  .save-bar {
    min-height: 58px;
    padding: 8px 8px 8px 12px;
  }

  .save-bar span {
    max-width: 132px;
  }

  .save-bar .button {
    min-height: 38px;
    padding: 8px 11px;
    font-size: 12px;
  }

  .editor-preview iframe {
    height: 650px;
  }

  .login-view {
    margin: 42px auto;
    padding: 26px 20px;
  }

  .login-view h1 {
    font-size: 28px;
  }

  .message-page,
  .checkout-page {
    padding: 58px 20px;
  }
}

@media (max-width: 520px) {
  .site-header nav > a:not(.button) {
    display: none;
  }

  .address-edit-row {
    flex-wrap: wrap;
  }

  .address-edit-row label {
    flex-basis: 100%;
  }

  .address-edit-row > button {
    width: 100%;
  }

  .slug-control {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .slug-control #public-origin {
    grid-column: 1 / -1;
    overflow: hidden;
    border-bottom: 1px solid var(--input);
    padding-top: 8px;
    padding-bottom: 8px;
    text-overflow: ellipsis;
  }

  .slug-control input {
    border-left: 0;
  }

  .plan-options {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Storefront and editor theme; shadcn/ui primitives live in web/components/ui. */
:root {
  --background: #f8f9f5;
  --foreground: #20251e;
  --muted: #f0f2ec;
  --muted-foreground: #697064;
  --border: #e0e4da;
  --input: #d9dfd2;
  --primary: #263323;
  --primary-foreground: #ffffff;
  --accent: #eaf5ca;
  --accent-foreground: #35451e;
  --ring: #70834b;
  --radius: 12px;
}
.site-header { height: 76px; background: rgba(248,249,245,.94); }
.brand-dot { background: #7e9b41; }
.button { border-radius: 9px; }
.button:hover:not(:disabled) { background: #3a4c31; }
.site-header .button { padding: 11px 16px; }
.storefront { overflow: clip; }
.storefront [data-slot="button"] { min-height: 46px; padding: 12px 22px; border-radius: 10px; font-size: 14px; line-height: 1.3; }
.storefront [data-slot="button"][data-variant="default"] { border-color: transparent; }
.storefront [data-slot="button"][data-variant="outline"] { border-color: var(--border); }
.storefront [data-slot="badge"] { padding: 6px 10px; line-height: 1.2; }
.event-strip { display: flex; justify-content: center; align-items: center; gap: 14px; padding: 12px 20px; background: #e5f3bd; color: #344327; font-size: 12px; font-weight: 600; }
.event-strip > span:first-child { font-size: 10px; letter-spacing: 1px; border-right: 1px solid #b7cc90; padding-right: 14px; }
.launch-hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 70px; max-width: 1180px; margin: 0 auto; padding: 85px 32px 105px; }
.launch-badge { background: #fff; border-color: var(--border); color: #56604d; gap: 8px; }
.live-dot { display: inline-block; width: 6px; height: 6px; background: #819b4a; border-radius: 50%; }
.launch-copy h1 { font-size: clamp(40px, 4.7vw, 64px); line-height: 1.22; letter-spacing: -2.5px; font-weight: 650; margin: 25px 0 22px; }
.launch-copy h1 em { font-style: normal; position: relative; z-index: 0; }
.launch-copy h1 em::after { content: ''; position: absolute; bottom: 3px; left: -4px; width: calc(100% + 8px); height: 17px; background: #d4eb9d; z-index: -1; transform: rotate(-3deg); }
.launch-description { color: #687060; font-size: 17px; line-height: 1.8; margin-bottom: 29px; }
.launch-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.launch-fine { font-size: 12px; color: #717867; margin: 16px 0 0; }
.invitation-stage { position: relative; display: flex; justify-content: center; align-items: center; min-height: 490px; background: #e8ecdF; border-radius: 46% 46% 20px 20px; }
.invitation-paper { display: block; width: 300px; padding: 32px 25px 27px; background: #fffefa; border: 1px solid #e4e4d9; border-radius: 4px; box-shadow: 0 20px 45px #36472b17, 0 3px 8px #36472b0a; transform: rotate(-6deg); text-align: center; transition: transform .25s ease; }
.invitation-paper:hover { transform: rotate(-2deg) translateY(-4px); }
.paper-kicker { font-size: 8px; letter-spacing: 2px; color: #777e6b; }
.paper-couple { height: 175px; display: flex; align-items: center; justify-content: center; margin: 17px 0 10px; }
.paper-couple img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.paper-names { font-size: 22px; font-weight: 550; margin-bottom: 17px; }
.paper-names span { font-family: Georgia, serif; font-style: italic; color: #8f9d7e; margin: 0 7px; }
.paper-rule { width: 28px; height: 1px; margin: 0 auto 16px; background: #cad3ba; }
.paper-note { font-size: 10px; color: #757b6e; }
.paper-open { display: block; margin: 18px auto 0; font-size: 10px; color: #49563a; }
.stage-stamp { position: absolute; top: -15px; right: 9px; z-index: 2; display: flex; width: 104px; height: 104px; align-items: center; justify-content: center; flex-direction: column; background: #d5ec9e; border: 1px solid #bccf90; border-radius: 50%; font-size: 12px; line-height: 1.3; font-weight: 650; transform: rotate(13deg); }
.stage-stamp span { font-size: 22px; line-height: 1; margin-top: 3px; }
.stage-note { position: absolute; bottom: 5px; right: -15px; background: white; border: 1px solid var(--border); padding: 14px 19px; border-radius: 12px; font-size: 12px; box-shadow: 0 8px 24px #3443270a; transform: rotate(3deg); }
.stage-note span { color: #6b8345; font-size: 19px; margin-right: 8px; }
.feature-section { background: #fff; padding: 80px max(32px, calc((100% - 1116px) / 2)); border-block: 1px solid var(--border); }
.section-intro { margin-bottom: 35px; }
.section-kicker { font-size: 10px; letter-spacing: 1.5px; font-weight: 650; color: #71855a; margin-bottom: 18px; }
.storefront h2 { font-weight: 620; font-size: 36px; line-height: 1.35; letter-spacing: -1.2px; margin-bottom: 18px; }
.section-intro > p:last-child { color: var(--muted-foreground); font-size: 14px; }
.feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.feature-card { background: #f8f9f5; box-shadow: none; gap: 16px; border-color: var(--border); border-radius: 16px; }
.feature-number { display: flex; justify-content: space-between; align-items: center; color: #8b977c; font-family: Georgia, serif; font-size: 20px; margin-bottom: 22px; }
.feature-number span { color: #5b6e43; }
.feature-card h3 { font-size: 19px; font-weight: 600; margin: 0; }
.feature-card [data-slot="card-content"] { flex: 1; }
.feature-card p { color: var(--muted-foreground); font-size: 13px; margin: 0; line-height: 1.85; }
.feature-card [data-slot="badge"] { background: #eaf0df; color: #536340; font-size: 10px; font-weight: 500; }
.event-section { max-width: 1180px; margin: auto; padding: 95px 32px 80px; scroll-margin-top: 95px; }
.event-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 35px; gap: 20px; }
.event-label { background: #dfefb8; color: #42552b; border: 0; }
.event-heading h2 { margin-top: 20px; }
.event-heading h2 span { color: #7c8573; }
.event-heading p { color: #697064; font-size: 14px; margin: 0; }
.saving-stamp { display: flex; flex-direction: column; align-items: center; min-width: 165px; padding: 24px 16px; border: 1px dashed #b8c69d; border-radius: 20px; background: #f0f5e5; transform: rotate(4deg); }
.saving-stamp > span { font-size: 11px; color: #63734f; }
.saving-stamp strong { font-size: 33px; font-weight: 650; margin: 7px 0; letter-spacing: -1px; }
.saving-stamp strong span { font-size: 15px; margin-left: 3px; }
.event-plans { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.event-plan { border-color: #dce1d4; border-radius: 16px; gap: 20px; box-shadow: 0 3px 6px #32442303; padding: 23px 0; }
.event-plan [data-slot="card-header"], .event-plan [data-slot="card-content"], .event-plan [data-slot="card-footer"] { padding-inline: 20px; }
.plan-heading { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; min-height: 27px; }
.plan-heading h3 { margin: 0; font-size: 19px; font-weight: 600; }
.storefront .value-badge { background: #d7ebae; color: #3e5228; font-size: 10px; padding: 4px 7px; }
.event-plan [data-slot="card-header"] p { margin: 0; font-size: 10px; color: var(--muted-foreground); }
.offer-original { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; font-size: 11px; color: #7b8272; }
.storefront .discount-badge { background: #f0f5e6; color: #4c662d; font-size: 10px; padding: 4px 6px; border: none; }
.event-price { font-size: 32px; font-weight: 700; letter-spacing: -1.3px; margin: 11px 0 3px; line-height: 1.3; }
.event-price > span { font-size: 10px; font-weight: 400; color: #78806f; letter-spacing: 0; }
.plan-saving { font-size: 11px; color: #5c7640; margin: 0 0 20px; }
.event-plan ul { list-style: none; padding: 17px 0 0; margin: 0; border-top: 1px solid var(--border); display: grid; gap: 10px; font-size: 11px; color: #66705c; }
.event-plan li::before { content: '✓'; color: #728d50; padding-right: 7px; }
.storefront .plan-start { width: 100%; padding: 11px 10px; font-size: 12px; min-height: 40px; justify-content: space-between; }
.featured-plan { background: #f1f7e7; border-color: #a7ba85; box-shadow: 0 0 0 2px #d8e5c2; }
.event-footnote { text-align: center; color: #737b69; font-size: 11px; margin: 25px 0 0; line-height: 1.8; }
.questions-section { display: grid; grid-template-columns: .7fr 1fr; gap: 75px; max-width: 1116px; margin: 0 auto; padding: 70px 0; border-top: 1px solid var(--border); }
.questions-section > div > a { font-size: 12px; color: #69755a; text-decoration: underline; text-underline-offset: 5px; }
.questions-list details { border-bottom: 1px solid var(--border); }
.questions-list summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; padding: 23px 0; font-size: 14px; font-weight: 550; cursor: pointer; }
.questions-list summary::-webkit-details-marker { display: none; }
.questions-list summary span { font-size: 19px; font-weight: 400; color: #7c8c67; }
.questions-list details[open] summary span { transform: rotate(45deg); }
.questions-list p { margin: 0 0 22px; font-size: 13px; line-height: 1.8; color: var(--muted-foreground); }
.closing-note { padding: 58px 24px; text-align: center; background: #e9efde; border-block: 1px solid #dee5d3; }
.closing-note > span { display: block; color: #839a5d; font-size: 33px; margin-bottom: 20px; }
.closing-note h2 { font-size: 36px; }
.closing-note p { margin: 13px 0 0; color: #718060; font-size: 11px; }
.service-footer { border-top: 0; padding-block: 36px; gap: 28px; }
.form-card { border-radius: 16px; border-color: var(--border); box-shadow: 0 2px 8px #23331803; }
.card-icon, .login-mark { background: #eef4e3; color: #607b3e; border-color: #dde8cb; border-radius: 12px; }
.editor-preview { border-color: var(--border); border-radius: 18px; }
.preview-heading { background: #edf2e5; }
input:not([type="radio"]):not([type="checkbox"]):not([type="file"]) { border-radius: 9px; }
.plan-option { border-radius: 12px; background: #fff; padding: 16px 12px; }
.plan-option:has(input:checked) { background: #f0f6e5; border-color: #91a773; box-shadow: 0 0 0 1px #91a773; }
.plan-option small { font-size: 10px; }
.plan-option b { font-size: 20px; margin-top: 5px; font-weight: 650; }
.billing-event { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin: 0 0 17px; }
.billing-event p { font-size: 11px; color: #64764e; margin: 0; }
.login-view { border: 1px solid var(--border); border-radius: 24px; background: #fff; padding: 44px 24px; }
@media (max-width: 1100px) {
  .launch-hero { gap: 35px; }
  .event-plans { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
  .event-price { font-size: 35px; }
  .questions-section { margin-inline: 32px; }
}
@media (max-width: 700px) {
  .site-header { height: 64px; padding-inline: 20px; }
  .site-header nav { gap: 12px; }
  .site-header nav > a[href="/#pricing"] { display: none; }
  .site-header .button { padding: 9px 10px; font-size: 11px; }
  .event-strip { font-size: 11px; gap: 9px; }
  .event-strip > span:first-child { font-size: 9px; padding-right: 9px; }
  .launch-hero { grid-template-columns: 1fr; padding: 45px 24px 58px; gap: 45px; }
  .launch-copy { text-align: center; }
  .launch-copy h1 { font-size: clamp(36px,9.5vw,49px); letter-spacing: -1.6px; margin-top: 22px; }
  .launch-description { font-size: 14px; margin-bottom: 24px; }
  .launch-actions { justify-content: center; flex-wrap: nowrap; gap: 8px; }
  .storefront .launch-actions [data-slot="button"] { padding: 12px 13px; font-size: 12px; }
  .launch-fine { font-size: 10px; }
  .invitation-stage { width: min(330px,100%); min-height: 398px; margin: auto; }
  .invitation-paper { width: 250px; padding: 26px 20px 22px; }
  .paper-couple { height: 140px; }
  .paper-couple img { height: 140px; }
  .stage-stamp { width: 82px; height: 82px; font-size: 10px; right: -2px; }
  .stage-note { right: -5px; bottom: 0; font-size: 10px; padding: 10px 14px; }
  .feature-section { padding: 50px 24px; }
  .storefront h2 { font-size: 29px; }
  .feature-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-number { margin-bottom: 7px; }
  .feature-card { gap: 12px; }
  .feature-card h3 { font-size: 18px; }
  .event-section { padding: 55px 20px; }
  .event-heading { align-items: flex-start; gap: 12px; }
  .event-heading h2 { font-size: 26px; }
  .event-heading p { font-size: 12px; }
  .saving-stamp { display: none; }
  .event-plans { gap: 12px; }
  .event-plan { padding-block: 18px; gap: 17px; }
  .event-plan [data-slot="card-header"], .event-plan [data-slot="card-content"], .event-plan [data-slot="card-footer"] { padding-inline: 14px; }
  .plan-heading { min-height: 49px; align-content: flex-start; gap: 6px; }
  .plan-heading h3 { font-size: 17px; }
  .event-price { font-size: 27px; }
  .event-price > span { display: block; font-size: 10px; margin-top: 4px; }
  .offer-original { font-size: 10px; gap: 4px; }
  .offer-original .discount-badge { margin-top: 3px; }
  .event-plan li { font-size: 10px; line-height: 1.5; }
  .event-plan li::before { padding-right: 4px; }
  .storefront .plan-start { font-size: 11px; padding-inline: 7px; }
  .event-footnote { font-size: 10px; text-align: left; }
  .questions-section { grid-template-columns: 1fr; margin-inline: 24px; padding: 48px 0; gap: 20px; }
  .questions-section h2 br { display: none; }
  .questions-list summary { font-size: 13px; padding-block: 21px; }
  .closing-note { padding: 45px 24px; }
  .service-footer { gap: 20px; }
  .service-footer .footer-brand, .service-footer .footer-operator { width: 100%; }
  .plan-option { padding: 12px 10px; }
  .plan-option small { line-height: 1.5; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .invitation-paper { transition: none; }
}

.plan-pitch { min-height: 42px; margin: -4px 0 14px; color: #526b36; font-size: 12px; font-weight: 550; line-height: 1.6; }
.plan-pitch small { display: block; margin-top: 3px; color: var(--muted-foreground); font-size: 10px; font-weight: 400; }
@media (max-width: 700px) { .plan-pitch { min-height: 65px; font-size: 11px; } }

/* Editorial feature illustrations and the account's live expiry card. */
.feature-number span { font: 500 9px/1.5 sans-serif; letter-spacing: .16em; color: #8b977c; }
.feature-number { margin-bottom: 0; }
.feature-art { width: 100%; height: 160px; margin: 4px 0 20px; display: block; }
.branding-benefit { font-weight: 700; color: #395535; }
.expiry-banner { display: flex; justify-content: space-between; gap: 24px; align-items: center; margin: 0 0 28px; padding: 28px 32px; background: #e9eee1; border: 1px solid #d7dfcc; border-radius: 24px; color: #304332; }
.expiry-label { font-size: 10px; letter-spacing: .19em; font-weight: 700; }
.expiry-banner p { margin: 10px 0 7px; font-size: 14px; }
.expiry-banner time { display: block; margin-top: 6px; font-weight: 700; font-size: 20px; letter-spacing: -.04em; }
.expiry-hint, .expiry-clock > span { font-size: 11px; color: #6b7964; }
.expiry-clock { display: flex; flex-direction: column; gap: 9px; text-align: right; }
.expiry-clock strong { font-size: clamp(20px, 2.5vw, 30px); letter-spacing: -.055em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.expiry-banner.is-expired { background: #f4e9df; border-color: #e5d2c2; }
@media(max-width: 640px) { .expiry-banner { padding: 23px; flex-direction: column; align-items: stretch; gap: 20px; } .expiry-clock { text-align: left; border-top: 1px solid #ced7c4; padding-top: 17px; } .expiry-banner time { font-size: 18px; } .feature-art { height: 150px; } }

.payapp-form { display: grid; gap: 12px; margin: 24px 0; text-align: left; }
.payapp-form .payapp-intro { line-height: 1.7; color: #706a64; }
.payapp-form > label { font-weight: 600; margin-bottom: 0; }
.payapp-form > input { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #dedad4; border-radius: 12px; background: #fff; font: inherit; }
.payapp-form .field-hint { margin: 0; font-size: 13px; line-height: 1.6; color: #706a64; }
.payapp-form .payment-consent { display: flex; flex-direction: row; align-items: flex-start; gap: 10px; font-size: 13px; font-weight: 400; line-height: 1.7; }
.payapp-form .payment-consent input { flex: 0 0 auto; margin-top: 5px; width: 18px; height: 18px; accent-color: #272622; }
.payapp-form .payment-consent[hidden] { display: none; }

/* Invitation library and occasion selection */
.invitation-dashboard { min-height: 70vh; }
.manager-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 18px 0 32px; }
.manager-heading h1 { margin: 8px 0 12px; font-size: clamp(28px, 4vw, 38px); letter-spacing: -1.4px; }
.manager-heading h1 span { display: inline-block; vertical-align: middle; margin-left: 10px; padding: 5px 10px; border-radius: 20px; font-size: 13px; letter-spacing: 0; color: #63734d; background: #edf2e5; }
.manager-heading p { color: var(--muted-foreground); }
.manager-actions { display: flex; gap: 8px; flex-shrink: 0; }
.invitation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.invitation-card { overflow: hidden; border: 1px solid var(--border); border-radius: 20px; background: #fff; box-shadow: 0 8px 28px #26332206; }
.invitation-card-preview { position: relative; display: block; padding: 48px 18px 22px; background: linear-gradient(#fcfcf8, #fff); color: inherit; text-decoration: none; }
.invitation-card-preview img { display: block; width: 100%; height: 180px; object-fit: contain; }
.invitation-badge { position: absolute; top: 16px; left: 16px; border-radius: 20px; padding: 5px 10px; font-size: 11px; font-weight: 600; background: #f0f0ed; color: #696b61; }
.invitation-badge.inviting { background: #e9f1dc; color: #526b31; }
.invitation-badge.expired { background: #f8ede8; color: #976048; }
.invitation-card-copy { text-align: center; padding-top: 18px; overflow-wrap: anywhere; }
.invitation-card-copy h2 { margin: 10px 0 16px; font-size: 19px; line-height: 1.5; letter-spacing: -.6px; }
.invitation-card-copy p { margin: 6px 0; line-height: 1.6; font-size: 12px; }
.invitation-card-copy .mini-notice { color: #918575; font-size: 11px; }
.mini-venue { color: var(--muted-foreground); min-height: 38px; }
.invitation-card-bottom { border-top: 1px solid #f0f0e9; padding: 16px; }
.invitation-card-meta { display: flex; justify-content: space-between; margin-bottom: 14px; color: var(--muted-foreground); font-size: 12px; }
.invitation-card-actions { display: flex; gap: 6px; }
.invitation-card-actions .button { flex: 1; min-width: 0; padding: 9px 8px; font-size: 12px; }
.text-danger { background: transparent; color: #a35c4d; border: 1px solid transparent; }
.invitation-empty { text-align: center; border: 1px dashed #d5ddcb; border-radius: 24px; padding: 64px 20px; background: #fcfdf9; }
.invitation-empty > span { display: block; font-size: 44px; color: #849768; }
.invitation-empty h2 { margin-top: 20px; font-size: 22px; }
.invitation-empty p { color: var(--muted-foreground); line-height: 1.8; margin: 16px 0 24px; }
#delete-invitation-dialog { width: min(460px, calc(100% - 32px)); border: 1px solid var(--border); border-radius: 20px; padding: 28px; color: var(--foreground); }
#delete-invitation-dialog::backdrop { background: #18201566; backdrop-filter: blur(3px); }
#delete-invitation-dialog h2 { margin: 0 0 18px; font-size: 22px; }
#delete-invitation-dialog p { color: var(--muted-foreground); line-height: 1.7; font-size: 14px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 24px; }
.button.danger { background: #a34737; color: #fff; }
#dashboard-toast { position: fixed; z-index: 100; bottom: 28px; left: 50%; transform: translateX(-50%); background: #283424; color: #fff; padding: 12px 20px; border-radius: 12px; box-shadow: 0 8px 30px #0002; }
.editor-back { display: inline-block; margin-bottom: 20px; }
.occasion-tabs { display: flex; gap: 5px; padding: 5px; border: 1px solid var(--border); border-radius: 14px; background: #f0f2eb; margin-bottom: 28px; width: fit-content; max-width: 100%; }
.occasion-tabs button { font: inherit; font-size: 14px; border: 0; border-radius: 10px; padding: 12px 24px; color: #6b7261; background: transparent; }
.occasion-tabs button[aria-selected="true"] { background: #fff; color: #283424; box-shadow: 0 2px 5px #2633220d; font-weight: 650; }
.occasion-tabs button:disabled { color: #969d8f; cursor: not-allowed; }
.occasion-tabs span { display: block; font-size: 9px; margin-top: 3px; }
@media (max-width: 1000px) { .invitation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .manager-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .manager-actions { width: 100%; } .manager-actions .button:first-child { flex: 1; }
  .invitation-grid { grid-template-columns: 1fr; gap: 18px; }
  .occasion-tabs { width: 100%; } .occasion-tabs button { flex: 1; padding: 10px 7px; font-size: 13px; }
}

/* Occasion showcase: keep the original two-column composition. */
[data-occasion-panel][hidden], [data-occasion-story][hidden] { display: none; }
.occasion-showcase .launch-hero { padding-bottom: 60px; }
.occasion-showcase .launch-copy { min-width: 0; }
.occasion-baby { --occasion-accent: #efd5a8; --occasion-stage: #f2e8d7; }
.occasion-party { --occasion-accent: #ddc8eb; --occasion-stage: #eee5f3; }
.occasion-home { --occasion-accent: #c8e0d3; --occasion-stage: #e0ebe5; }
.occasion-showcase .invitation-stage { background: var(--occasion-stage, #e8ecdf); }
.occasion-showcase .stage-stamp, .occasion-showcase h1 em::after { background: var(--occasion-accent, #d5ec9e); }
.occasion-showcase .stage-stamp { border-color: #6f735929; }
.paper-couple svg { width: 100%; height: 100%; }
.paper-baby { border-radius: 100px 100px 5px 5px; background: #fffaf1; }
.paper-party { background: #fffafd; border: 7px solid #eee0f3; transform: rotate(5deg); }
.paper-home { background: #fffdf6; border-radius: 6px; outline: 1px solid #c7d6cb; outline-offset: -13px; }
.occasion-controls { display: flex; justify-content: center; align-items: center; gap: 18px; padding: 0 24px; }
.landing-tabs { display: flex; gap: 5px; padding: 6px; border: 1px solid var(--border); border-radius: 999px; background: #fff; box-shadow: 0 5px 18px #23331805; }
.landing-tabs button { padding: 12px 22px; border: 0; border-radius: 999px; background: transparent; color: #6d7467; font: inherit; font-size: 14px; cursor: pointer; transition: background .2s; }
.landing-tabs button span { margin-right: 7px; }
.landing-tabs button[aria-selected="true"] { background: #263322; color: #fff; }
.landing-tabs button:hover:not([aria-selected="true"]) { background: #eff3e9; }
.landing-tabs button:focus-visible, .rotation-toggle:focus-visible { outline: 2px solid #607b3e; outline-offset: 3px; }
.rotation-toggle { display: flex; align-items: center; gap: 6px; border: 0; padding: 10px 0; background: transparent; color: #69735e; font-size: 11px; cursor: pointer; min-width: 73px; }
.rotation-toggle [data-rotation-icon] { font-size: 18px; }
.occasion-help { text-align: center; color: #7b8373; font-size: 11px; margin: 16px 20px 40px; }
#story { scroll-margin-top: 85px; }
.invitation-card { position: relative; }
.invitation-card-preview { position: static; }
.invitation-card-preview::after { content: ''; position: absolute; inset: 0; border-radius: 20px; }
.invitation-card-preview:focus-visible { outline: none; }
.invitation-card:has(.invitation-card-preview:focus-visible) { outline: 2px solid #607b3e; outline-offset: 4px; }
.invitation-card-actions { position: relative; z-index: 1; }
@media (max-width: 700px) {
  .occasion-showcase .launch-hero { padding-bottom: 38px; }
  .occasion-controls { gap: 9px; padding-inline: 12px; flex-wrap: wrap; }
  .landing-tabs { gap: 2px; padding: 4px; }
  .landing-tabs button { padding: 10px 12px; font-size: 12px; }
  .landing-tabs button span { margin-right: 4px; }
  .occasion-help { margin-top: 10px; margin-bottom: 28px; }
}
.feature-art > svg { width: 100%; height: 100%; }
