@font-face {
  font-family: "Pinyon Script";
  src: url("./assets/PinyonScript-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #19231f;
  --muted: #68736d;
  --paper: #f7f4ed;
  --white: #fffdf8;
  --line: #d9ded8;
  --green: #214f3f;
  --green-2: #39745e;
  --mint: #dfeee5;
  --amber: #f2c96d;
  --rose: #b84b5e;
  --blue: #315f7e;
  --shadow: 0 18px 50px rgba(20, 38, 31, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
}

* { box-sizing: border-box; }
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  overscroll-behavior-x: none;
}
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--paper); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, a:focus-visible {
  outline: 3px solid #f6b93b;
  outline-offset: 2px;
}
a { color: inherit; }

/* Neutral public shell. Wedding content is loaded only after session validation. */
.private-gate {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 28px;
  background: #eee8dc;
  color: #444446;
}
.private-gate-card {
  width: min(420px, 100%);
  text-align: center;
  font: 17px/1.6 Baskerville, "Iowan Old Style", Georgia, serif;
}
.private-gate-card h1 {
  margin: 18px 0 8px;
  font: 400 36px/1.15 Didot, "Bodoni 72", Baskerville, "Iowan Old Style", serif;
}
.private-gate-card p { margin: 0; }
.private-gate-mark {
  display: block;
  width: 18px;
  height: 18px;
  margin: 0 auto 18px;
  border: 1px solid #a88035;
  transform: rotate(45deg);
}

/* Private welcome */
.welcome-cover {
  --welcome-ink: #444446;
  --welcome-brown: #6f665b;
  --welcome-brown-hover: #5d554c;
  --welcome-gold: #a88035;
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(44px, 7vw, 84px) 24px;
  background-color: #fbfaf6;
  color: var(--welcome-ink);
}
.welcome-cover::before,
.welcome-cover::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border: 1px solid rgba(168, 128, 53, .72);
}
.welcome-cover::before { inset: clamp(14px, 2vw, 24px); }
.welcome-cover::after { inset: clamp(19px, 2.5vw, 30px); }
.welcome-cover-content {
  position: relative;
  z-index: 1;
  width: min(600px, 100%);
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 30px 20px;
  animation: welcome-arrive 760ms cubic-bezier(.16, 1, .3, 1) both;
}
.welcome-monogram {
  position: relative;
  width: 170px;
  height: 176px;
  color: var(--welcome-gold);
  font-family: Didot, "Bodoni 72", Baskerville, "Iowan Old Style", serif;
  font-weight: 400;
  line-height: 1;
}
.welcome-monogram-first,
.welcome-monogram-second {
  position: absolute;
  font-size: 96px;
}
.welcome-monogram-first { top: 0; left: 0; }
.welcome-monogram-second { right: 4px; bottom: 0; }
.welcome-monogram-ampersand {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font: italic 34px/1 Baskerville, "Iowan Old Style", Georgia, serif;
}
.welcome-rule {
  position: relative;
  width: 196px;
  height: 11px;
  margin: 30px 0 38px;
  background:
    linear-gradient(
      to right,
      rgba(168, 128, 53, .72) 0 43%,
      transparent 43% 57%,
      rgba(168, 128, 53, .72) 57% 100%
    ) center / 100% 1px no-repeat;
}
.welcome-rule::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--welcome-gold);
  transform: translate(-50%, -50%) rotate(45deg);
}
.welcome-recipient p,
.welcome-recipient h1,
.welcome-message { margin: 0; }
.welcome-recipient p,
.welcome-message {
  font-family: Avenir, "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.welcome-recipient p {
  margin-bottom: 15px;
  color: #626158;
  font-size: 12px;
}
.welcome-recipient h1 {
  max-width: 590px;
  color: var(--welcome-ink);
  font: 400 clamp(28px, 4vw, 43px)/1.2 Baskerville, "Iowan Old Style", Georgia, serif;
  letter-spacing: .015em;
  text-wrap: balance;
}
.welcome-message {
  margin-top: 34px;
  color: #52534c;
  font-size: 13px;
  line-height: 1.75;
}
.welcome-view-invitation {
  min-width: 228px;
  min-height: 54px;
  margin-top: 36px;
  border: 1px solid #cfc3b1;
  border-radius: 3px;
  padding: 14px 30px;
  background: var(--welcome-brown);
  color: #fffdf8;
  font: 18px/1.2 Baskerville, "Iowan Old Style", Georgia, serif;
  letter-spacing: .02em;
  text-transform: none;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .12), 0 12px 28px rgba(77, 69, 60, .2);
  transition: background-color 180ms ease-out, box-shadow 180ms ease-out, transform 180ms ease-out;
}
.welcome-view-invitation:hover {
  background: var(--welcome-brown-hover);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .12), 0 15px 32px rgba(77, 69, 60, .24);
  transform: translateY(-1px);
}
.welcome-view-invitation:active { transform: translateY(0); }
@keyframes welcome-arrive {
  from { opacity: 0; transform: translateY(14px); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes wedding-page-out {
  from { opacity: 1; transform: scale(1); filter: blur(0); }
  to { opacity: 0; transform: scale(.992); filter: blur(2px); }
}

@keyframes wedding-page-in {
  from { opacity: 0; transform: translateY(10px) scale(.994); filter: blur(3px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes wedding-crossfade-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes wedding-crossfade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

::view-transition-old(root) {
  animation: wedding-page-out 240ms cubic-bezier(.4, 0, 1, 1) both;
}

::view-transition-new(root) {
  animation: wedding-page-in 520ms cubic-bezier(.16, 1, .3, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  .welcome-cover-content { animation: none; }
  .welcome-view-invitation { transition: none; }
  ::view-transition-old(root) { animation: wedding-crossfade-out 120ms ease-out both; }
  ::view-transition-new(root) { animation: wedding-crossfade-in 150ms ease-out both; }
}

/* Opening invitation cover */
.invitation-cover {
  min-height: 100vh;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  justify-items: center;
  gap: 16px;
  padding: 24px 18px 18px;
  overflow: auto;
  background: #eee8dc;
}
.invitation-cover-frame {
  min-height: 0;
  display: grid;
  place-items: center;
  width: 100%;
}
.invitation-cover-frame img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - 132px);
  object-fit: contain;
  border: 1px solid rgba(112, 98, 80, .18);
  box-shadow:
    0 2px 6px rgba(74, 64, 52, .1),
    0 18px 42px rgba(74, 64, 52, .16);
}
.invitation-cover-next {
  min-width: 170px;
  min-height: 50px;
  border: 1px solid #cfc3b1;
  border-radius: 4px;
  padding: 11px 26px;
  background: #6f665b;
  color: #fff;
  font: 18px/1.2 Baskerville, "Iowan Old Style", Georgia, serif;
  letter-spacing: .02em;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .18), 0 8px 22px rgba(77, 69, 60, .18);
}
.invitation-cover-next:hover { background: #5d554c; }
.invitation-cover-next span { margin-left: 8px; }
.page { min-height: calc(100vh - 104px); padding-bottom: 48px; }
.eyebrow { font-size: 12px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; color: var(--green-2); }
.muted { color: var(--muted); }
.tiny { font-size: 12px; }
.label { display: block; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 5px 9px; font-size: 12px; font-weight: 750; background: #e7ece8; color: #425047; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.green { color: #246447; background: #dff1e6; }
.pill.amber { color: #7a5510; background: #fff0c8; }
.pill.rose { color: #8e3646; background: #f8e0e4; }
.pill.blue { color: #315f7e; background: #dfeaf1; }

.btn { border: 1px solid #c5ccc6; background: white; color: var(--ink); border-radius: 10px; padding: 10px 14px; font-weight: 760; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn:hover { border-color: #8a9890; }
.btn.primary { background: var(--green); border-color: var(--green); color: white; }
.btn.primary:hover { background: #173f31; }
.btn.danger { color: #9a3345; border-color: #e3b9c0; background: #fffafa; }
.btn.ghost { background: transparent; border-color: transparent; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.wide { width: 100%; }

.card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: 0 7px 24px rgba(31, 54, 45, .05); }
.card h2, .card h3, .card p:first-child { margin-top: 0; }
.callout { border-left: 4px solid var(--amber); background: #fff7df; padding: 13px 15px; border-radius: 3px 10px 10px 3px; font-size: 14px; }
.callout.secure { border-left-color: var(--green); background: #eaf4ee; }
.callout.deadline { border-left-color: var(--rose); background: #fff0f2; }

.field { margin: 16px 0; }
.field label, .field legend { display: block; font-weight: 750; margin-bottom: 7px; }
.field small { color: var(--muted); display: block; margin-top: 5px; line-height: 1.45; }
.field input[type="text"], .field input[type="email"], .field textarea, .field select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #bcc5be;
  border-radius: 9px;
  color: var(--ink);
  background: white;
}
.field textarea { min-height: 88px; resize: vertical; }
.field input:disabled, .field textarea:disabled, .field select:disabled { background: #ecefe9; color: #5c655f; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid #c6cec8;
  background: white;
  border-radius: 9px;
}
.choice.selected { border-color: var(--green); background: var(--mint); box-shadow: inset 0 0 0 1px var(--green); }
.choice input { margin: 0; }
.error { color: #a52f45 !important; font-weight: 700; }
.required-dot { color: var(--rose); }

.view-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.view-tabs button { border: 0; background: transparent; padding: 8px 4px; border-bottom: 2px solid transparent; color: var(--muted); font-weight: 750; }
.view-tabs button.active { color: var(--ink); border-bottom-color: var(--ink); }
.state-readout { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.state-readout div { background: #eef1ec; padding: 10px; border-radius: 8px; }
.state-readout b { display: block; font-size: 13px; }
.state-readout span { font-size: 12px; color: var(--muted); }

/* Guest G1: linear guided journey */
.g1 { background: linear-gradient(180deg, #eef6f0 0, var(--paper) 460px); }
.g1-header { max-width: 1180px; margin: 0 auto; padding: 34px 28px 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.g1-brand { font-family: Georgia, serif; font-size: 23px; }
.g1-grid { max-width: 1180px; margin: 0 auto; padding: 8px 28px 80px; display: grid; grid-template-columns: 255px minmax(0, 1fr); gap: 30px; align-items: start; }
.g1-rail { position: sticky; top: 118px; }
.g1-steps { list-style: none; padding: 0; margin: 18px 0; }
.g1-steps li { display: flex; gap: 11px; align-items: center; padding: 11px 0; color: var(--muted); border-bottom: 1px solid var(--line); font-size: 14px; }
.g1-steps li span { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid #aeb8b1; border-radius: 50%; font-size: 11px; font-weight: 800; }
.g1-steps li.active { color: var(--green); font-weight: 800; }
.g1-steps li.active span { background: var(--green); color: white; border-color: var(--green); }
.g1-main { display: grid; gap: 16px; }
.g1-hero { background: var(--green); color: white; border-radius: 22px; padding: 42px; display: grid; grid-template-columns: 1.35fr .8fr; gap: 34px; box-shadow: var(--shadow); }
.g1-hero h1 { font: 52px/1.04 Georgia, serif; margin: 12px 0 18px; max-width: 650px; }
.g1-hero .eyebrow, .g1-hero .muted { color: #cbe2d5; }
.g1-hero .btn.primary { background: white; color: var(--green); border-color: white; }
.event-ticket { border: 1px solid rgba(255,255,255,.3); padding: 15px 0; border-left: 0; border-right: 0; }
.event-ticket + .event-ticket { border-top: 0; }
.event-ticket b { display: block; margin-bottom: 4px; }
.person-panel { border: 1px solid var(--line); border-radius: 13px; overflow: hidden; margin-top: 12px; }
.person-panel > header { padding: 13px 15px; background: #f1f3ee; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.person-panel > .person-body { padding: 6px 16px 16px; }
.form-actions { position: sticky; bottom: 82px; background: rgba(255,253,248,.95); border: 1px solid var(--line); border-radius: 13px; padding: 13px; display: flex; justify-content: space-between; align-items: center; gap: 12px; box-shadow: 0 10px 30px rgba(25,35,31,.12); backdrop-filter: blur(10px); }

/* Guest G2: dense matrix */
.g2 { background: #12211e; color: #ebf2ef; }
.g2-shell { max-width: 1500px; margin: 0 auto; padding: 24px 24px 90px; }
.g2-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding: 18px 0 24px; }
.g2-header h1 { font-size: clamp(30px, 4vw, 58px); letter-spacing: -.04em; margin: 4px 0 0; }
.g2 .muted { color: #9fb3ab; }
.g2 .eyebrow { color: #8bceb2; }
.g2 .pill { background: #293d37; color: #b9d7c9; }
.g2-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr) 290px; border: 1px solid #3a4b46; min-height: 630px; }
.g2-panel { padding: 18px; border-right: 1px solid #3a4b46; }
.g2-panel:last-child { border-right: 0; }
.g2 .card { background: #192b27; border-color: #3a4b46; color: #edf4f1; box-shadow: none; }
.g2 .callout { background: #2c3027; color: #fff2c8; }
.g2 .choice, .g2 input, .g2 textarea, .g2 select { background: #10201c !important; color: #f0f5f2 !important; border-color: #53655f !important; }
.g2 .choice.selected { background: #27483d !important; }
.g2 .btn { background: #263a34; color: white; border-color: #4c615a; }
.g2 .btn.primary { background: #bce8d3; color: #153328; border-color: #bce8d3; }
.g2 .form-actions { position: static; display: grid; margin-top: 14px; background: #192b27; border-color: #53655f; }
.g2 .form-actions .toolbar-group { display: grid; width: 100%; }
.g2 .form-actions .btn { width: 100%; }
.member-list { list-style: none; margin: 16px 0; padding: 0; }
.member-list li { padding: 12px; border: 1px solid transparent; border-radius: 8px; margin-bottom: 6px; }
.member-list li.active { border-color: #6b847a; background: #223630; }
.member-list small { display: block; color: #91a69e; margin-top: 4px; }
.matrix { width: 100%; border-collapse: collapse; margin-top: 18px; min-width: 620px; }
.matrix th, .matrix td { border: 1px solid #40534c; padding: 12px; text-align: left; vertical-align: top; }
.matrix th { background: #20332e; color: #a8bdb5; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.matrix td:first-child { font-weight: 800; }
.matrix-wrap { overflow-x: auto; }
.metric-stack { display: grid; gap: 10px; margin: 15px 0; }
.metric-stack div { border-bottom: 1px solid #3a4b46; padding: 8px 0 12px; }
.metric-stack b { font-size: 23px; display: block; }

/* Guest G3: selected Garden Correspondence hybrid */
.g3 {
  --garden-ink: #252420;
  --garden-moss: #284f37;
  --garden-sage: #74856b;
  --garden-gold: #b38b31;
  --garden-line: #b8b8ae;
  color: var(--garden-ink);
  background: #fbfaf6;
  padding-bottom: 0;
  touch-action: pan-y pinch-zoom;
}
.g3-folio {
  position: relative;
  min-height: max(1024px, 100vh);
  overflow: hidden;
  background-color: #fbfaf6;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(115, 98, 70, .025) 0 1px, transparent 1.5px),
    radial-gradient(circle at 75% 65%, rgba(255, 255, 255, .6) 0 1px, transparent 1.5px);
  background-size: 11px 13px, 17px 19px;
}
.g3-folio::before,
.g3-folio::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background-image: url("./assets/garden-folio-background.png");
  background-repeat: no-repeat;
}
.g3-folio::before {
  top: 0;
  right: 0;
  left: 45%;
  height: min(48vw, 520px);
  background-position: top right;
  background-size: 145% auto;
  -webkit-mask-image:
    linear-gradient(to left, #000 88%, transparent),
    linear-gradient(to bottom, #000 82%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to left, #000 88%, transparent),
    linear-gradient(to bottom, #000 82%, transparent);
  mask-composite: intersect;
}
.g3-folio::after {
  bottom: 0;
  left: 0;
  right: 45%;
  height: min(40vw, 460px);
  background-position: bottom left;
  background-size: 145% auto;
  -webkit-mask-image:
    linear-gradient(to right, #000 88%, transparent),
    linear-gradient(to top, #000 82%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, #000 88%, transparent),
    linear-gradient(to top, #000 82%, transparent);
  mask-composite: intersect;
}
.g3-content {
  position: relative;
  z-index: 2;
  width: min(1030px, calc(100% - 80px));
  min-height: max(1024px, 100vh);
  margin: 0 auto;
  padding: 96px 0 70px;
}
.g3-view-invitation .g3-progress-track { display: none; }
.g3-progress-track {
  position: absolute;
  z-index: 3;
  left: max(38px, calc(50% - 610px));
  top: 0;
  width: 1px;
  height: 310px;
  background: var(--garden-gold);
}
.g3-progress-track span {
  position: absolute;
  left: -8px;
  bottom: -17px;
  width: 17px;
  height: 17px;
  border: 3px solid var(--garden-gold);
  border-radius: 50%;
  background: #fbfaf6;
}
.g3-letterhead {
  width: min(650px, 100%);
  text-align: left;
  padding: 0;
  border: 0;
}
.g3-private,
.g3-date,
.g3-kicker,
.g3-crumb,
.g3-count {
  margin: 0;
  font-family: Avenir, "Helvetica Neue", Arial, sans-serif;
}
.g3-private {
  color: #30322f;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.g3-letterhead h1 {
  margin: 0 0 16px;
  color: #292824;
  font-family: "Pinyon Script", "Snell Roundhand", "Apple Chancery", cursive;
  font-size: clamp(68px, 6.8vw, 96px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.035em;
  transform: translateX(-.1em);
}
.g3-date {
  color: #41413c;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.g3-invitation,
.g3-questionnaire,
.g3-confirmation {
  width: min(880px, 100%);
  margin-top: 64px;
}
.g3-invitation {
  width: min(760px, 100%);
  margin-top: 36px;
}
.g3-return-to-cover {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 26px;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 5px 0;
  background: transparent;
  color: var(--garden-moss);
  font: 700 11px/1.4 Avenir, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.g3-return-to-cover:hover { border-bottom-color: var(--garden-gold); }
.g3-kicker,
.g3-crumb {
  color: var(--garden-moss);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: .02em;
}
.g3-count {
  margin-top: 26px;
  color: #5d5d57;
  font-size: 14px;
}
.g3-invitation h2,
.g3-questionnaire h2,
.g3-confirmation h2 {
  margin: 22px 0 15px;
  color: var(--garden-ink);
  font-family: Didot, "Bodoni 72", Baskerville, "Iowan Old Style", serif;
  font-size: clamp(44px, 4.6vw, 66px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.025em;
}
.g3-invitation h2,
.g3-confirmation h2 { font-size: clamp(42px, 4.1vw, 58px); }
.g3-section-description {
  max-width: 660px;
  margin: 0 0 24px;
  color: #53534d;
  font: 18px/1.55 Baskerville, "Iowan Old Style", Georgia, serif;
}
.g3-lede {
  max-width: 620px;
  color: #50504a;
  font: 20px/1.6 Baskerville, "Iowan Old Style", Georgia, serif;
}
.g3-invitation .g3-request {
  max-width: 600px;
  margin: 0;
  font-family: Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.g3-invitation > .g3-kicker {
  margin-top: 18px;
  color: #465640;
  font: italic 18px/1.45 Baskerville, "Iowan Old Style", Georgia, serif;
  letter-spacing: 0;
}
.g3-venue-sections {
  display: grid;
  gap: 24px;
  margin-top: 30px;
}
.g3-venue-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, 1.1fr);
  overflow: hidden;
  border: 1px solid rgba(179, 139, 49, .56);
  background: rgba(255, 255, 255, .34);
}
.g3-venue-copy { padding: 28px 26px; }
.g3-event-label {
  margin: 0 0 6px;
  color: var(--garden-moss);
  font-family: Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.g3-venue-section h3 {
  margin: 18px 0 0;
  color: var(--garden-ink);
  font: 30px/1.14 Didot, "Bodoni 72", Baskerville, "Iowan Old Style", serif;
  font-weight: 400;
}
.g3-key-time {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 14px;
  margin: 20px 0 0;
  padding: 14px 0 12px;
  border-top: 1px solid var(--garden-line);
  border-bottom: 1px solid var(--garden-line);
}
.g3-key-time span {
  padding-bottom: 4px;
  color: var(--garden-moss);
  font: 700 10px/1.4 Avenir, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.g3-key-time time {
  color: var(--garden-ink);
  font: 27px/1 Didot, "Bodoni 72", Baskerville, "Iowan Old Style", serif;
  white-space: nowrap;
}
.g3-venue-location { margin: 10px 0 0; color: #5b5a53; font: 16px/1.45 Baskerville, "Iowan Old Style", Georgia, serif; }
.g3-venue-parking,
.g3-venue-transit {
  margin: 20px 0 0;
  color: #5b5a53;
  font: 15px/1.5 Baskerville, "Iowan Old Style", Georgia, serif;
}
.g3-venue-transit { margin-top: 14px; }
.g3-venue-parking strong,
.g3-venue-transit strong {
  display: block;
  margin-bottom: 4px;
  color: var(--garden-moss);
  font: 700 10px/1.4 Avenir, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.g3-hotel-booking {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--garden-line);
}
.g3-hotel-booking > strong {
  display: block;
  color: var(--garden-moss);
  font: 700 10px/1.4 Avenir, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.g3-hotel-booking p { margin: 5px 0 10px; color: #5b5a53; font: 15px/1.5 Baskerville, "Iowan Old Style", Georgia, serif; }
.g3-hotel-booking a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--garden-moss);
  font: 700 12px/1.4 Avenir, "Helvetica Neue", Arial, sans-serif;
  text-decoration-color: rgba(40, 79, 55, .45);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.g3-hotel-booking a:hover { color: #183723; text-decoration-color: currentColor; }
.g3-venue-map { display: grid; grid-template-rows: minmax(0, 1fr); margin: 0; border-left: 1px solid rgba(179, 139, 49, .4); }
.g3-venue-map-canvas { position: relative; min-height: 210px; overflow: hidden; background: #e8e4d9; touch-action: pan-y; }
.g3-venue-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 210px;
  border: 0;
  pointer-events: none;
}
.g3-map-scroll-shield {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  touch-action: pan-y;
}
.g3-transport-update {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(40, 79, 55, .18);
  background: rgba(40, 79, 55, .045);
  color: #575750;
}
.g3-transport-update span {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(40, 79, 55, .4);
  border-radius: 50%;
  color: var(--garden-moss);
  font: 700 10px/1 Avenir, "Helvetica Neue", Arial, sans-serif;
}
.g3-transport-update p { margin: 0; font: italic 14px/1.5 Baskerville, "Iowan Old Style", Georgia, serif; }
.g3-practical {
  position: relative;
  z-index: 2;
  margin-top: 48px;
  padding: 34px 36px 32px;
  border: 1px solid rgba(179, 139, 49, .55);
  background: rgba(251, 250, 246, .96);
}
.g3-practical > h2 {
  max-width: 520px;
  margin: 0;
  color: var(--garden-ink);
  font: 400 36px/1.08 Didot, "Bodoni 72", Baskerville, "Iowan Old Style", serif;
  letter-spacing: -.02em;
}
.g3-practical-grid {
  display: grid;
  grid-template-columns: minmax(150px, .72fr) minmax(0, 1.28fr);
  margin-top: 26px;
  border-top: 1px solid rgba(179, 139, 49, .42);
  border-bottom: 1px solid rgba(179, 139, 49, .42);
}
.g3-practical-grid > article {
  padding: 24px 28px 24px 0;
}
.g3-practical-grid > article + article {
  padding-right: 0;
  padding-left: 28px;
  border-left: 1px solid var(--garden-line);
}
.g3-practical h3 {
  margin: 0 0 10px;
  color: var(--garden-moss);
  font: 700 11px/1.4 Avenir, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.g3-practical p {
  margin: 0;
  color: #56564f;
  font: 16px/1.55 Baskerville, "Iowan Old Style", Georgia, serif;
}
.g3-heart {
  display: inline-block;
  margin-left: .18em;
  color: var(--garden-moss);
  font-size: .82em;
  line-height: 1;
}
.g3-practical .g3-practical-value {
  color: var(--garden-ink);
  font: 400 27px/1.2 Didot, "Bodoni 72", Baskerville, "Iowan Old Style", serif;
}
.g3-invitation-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
}
.g3-rsvp-deadline {
  max-width: 260px;
  margin: 0;
  color: var(--garden-muted);
  font: italic 16px/1.5 Georgia, "Times New Roman", serif;
  text-wrap: balance;
}
.g3-rsvp-deadline span { white-space: nowrap; }
.g3-questionnaire { width: min(980px, 100%); }
.g3-questionnaire-intro { width: min(700px, 100%); }
.g3-questionnaire-sections {
  margin-top: 42px;
  border-top: 1px solid rgba(179, 139, 49, .62);
}
.g3-form-section {
  display: grid;
  grid-template-columns: minmax(180px, .58fr) minmax(0, 1.42fr);
  gap: clamp(34px, 6vw, 76px);
  padding: 46px 0 50px;
  border-bottom: 1px solid rgba(179, 139, 49, .42);
}
.g3-form-section:last-child { border-bottom: 0; }
.g3-form-section > header { align-self: start; }
.g3-form-eyebrow {
  margin: 0 0 9px;
  color: var(--garden-moss);
  font: 700 11px/1.4 Avenir, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.g3-form-section > header h3 {
  margin: 0;
  color: var(--garden-ink);
  font: 400 32px/1.08 Didot, "Bodoni 72", Baskerville, "Iowan Old Style", serif;
  letter-spacing: -.015em;
}
.g3-form-section > header > p:not(.g3-form-eyebrow) {
  margin: 12px 0 0;
  color: #62625b;
  font: 15px/1.5 Baskerville, "Iowan Old Style", Georgia, serif;
}
.g3-form-section-status {
  display: inline-block;
  margin-top: 16px;
  color: #77776f;
  font: 700 10px/1.4 Avenir, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.g3-form-section-body { min-width: 0; }
.g3-answer-list { width: min(680px, 100%); }
.g3-answer-line {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 78px;
  padding: 4px 6px;
  border-bottom: 1px solid var(--garden-line);
  color: #45443f;
  font: 38px/1.15 Didot, "Bodoni 72", Baskerville, "Iowan Old Style", serif;
  cursor: pointer;
}
.g3-answer-line input {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  margin: 0;
  accent-color: var(--garden-moss);
}
.g3-answer-line.selected {
  color: var(--garden-moss);
  border-bottom-color: var(--garden-gold);
}
.g3-guidance,
.g3-step-error {
  max-width: 660px;
  font-family: Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
.g3-guidance { margin: 24px 0 0; color: #565851; }
.g3-step-error { margin: 12px 0 0; color: #8f3141; font-weight: 700; }
.g3-actions {
  display: grid;
  grid-template-columns: auto minmax(60px, 1fr) auto;
  align-items: center;
  gap: 26px;
  width: min(1100px, calc(100vw - 170px));
  margin-top: 38px;
}
.g3-actions > span { border-top: 1px solid rgba(179, 139, 49, .7); }
.g3-primary,
.g3-secondary,
.g3-previous {
  min-height: 54px;
  border-radius: 5px;
  padding: 13px 24px;
  font-family: Baskerville, "Iowan Old Style", Georgia, serif;
  font-size: 18px;
}
.g3-primary {
  border: 1px solid var(--garden-gold);
  outline: 1px solid rgba(255, 255, 255, .72);
  outline-offset: -4px;
  background: var(--garden-moss);
  color: white;
  min-width: 250px;
}
.g3-primary:hover { background: #183b28; }
.g3-primary:disabled { cursor: not-allowed; opacity: .44; }
.g3-previous,
.g3-secondary {
  min-height: auto;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  padding: 8px 0;
  background: transparent;
  color: var(--garden-moss);
}
.g3-previous:hover,
.g3-secondary:hover { border-bottom-color: var(--garden-gold); }
.g3-previous:disabled { visibility: hidden; }
.g3-planning {
  display: grid;
  gap: 24px;
  width: min(680px, 100%);
}
.g3-planning fieldset { margin: 0; padding: 0; border: 0; }
.g3-planning legend,
.g3-field {
  display: block;
  color: #353630;
  font: 18px/1.45 Baskerville, "Iowan Old Style", Georgia, serif;
}
.g3-planning legend { margin-bottom: 6px; }
.g3-planning .g3-answer-line { min-height: 54px; font-size: 22px; }
.g3-field small { color: #77776f; font: 12px/1.4 Avenir, "Helvetica Neue", Arial, sans-serif; }
.g3-field input[type="text"],
.g3-field input[type="email"],
.g3-field textarea,
.g3-field select {
  width: 100%;
  margin-top: 8px;
  border: 0;
  border-bottom: 1px solid var(--garden-line);
  border-radius: 0;
  padding: 12px 2px;
  background: rgba(255, 255, 255, .42);
  color: var(--garden-ink);
  font: 16px/1.4 Avenir, "Helvetica Neue", Arial, sans-serif;
}
.g3-field textarea { min-height: 84px; resize: vertical; }
.g3-inline-field { margin-top: 28px; width: min(680px, 100%); }
.g3-field-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .72fr);
  gap: 34px;
}
.g3-question-block {
  margin-top: 6px !important;
  border-top: 1px solid rgba(179, 139, 49, .45) !important;
  padding-top: 24px !important;
}
.g3-revision-note {
  margin-bottom: 28px;
  border-left: 2px solid var(--garden-gold);
  padding: 10px 14px;
  color: #4f4d46;
  font: 14px/1.5 Avenir, "Helvetica Neue", Arial, sans-serif;
}
.g3-confirmation-message {
  max-width: 620px;
  margin-top: 28px;
  color: #50504a;
  font: 20px/1.55 Baskerville, "Iowan Old Style", Georgia, serif;
}
.g3-confirmation-message p { margin: 0; }
.g3-confirmation-message p + p { margin-top: 6px; }
.g3-confirmation-actions { margin-top: 30px; }

/* Owner common */
.owner-top { background: #f7f8f5; border-bottom: 1px solid var(--line); }
.owner-top-inner { max-width: 1480px; margin: 0 auto; padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.owner-brand { display: flex; align-items: center; gap: 12px; }
.owner-mark { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--green); color: white; font-weight: 900; }
.owner-nav { display: flex; gap: 8px; }
.owner-nav button { border: 0; background: transparent; padding: 9px 11px; color: var(--muted); font-weight: 740; border-radius: 8px; }
.owner-nav button.active { background: #e4e9e4; color: var(--ink); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi { border: 1px solid var(--line); background: white; padding: 15px; border-radius: 12px; }
.kpi b { display: block; font-size: 26px; margin-top: 8px; }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.toolbar-group { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { border-bottom: 1px solid var(--line); padding: 13px 11px; text-align: left; vertical-align: middle; }
.data-table th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.data-table tr:hover td { background: #f7f9f5; }
.data-table button.link { padding: 0; border: 0; background: transparent; color: var(--green); font-weight: 800; text-align: left; }

/* Owner O1: table-first ops */
.o1 { background: #f1f3ef; }
.o1-main { max-width: 1480px; margin: 0 auto; padding: 26px 26px 90px; display: grid; gap: 18px; }
.o1-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; }
.o1-heading h1 { margin: 5px 0 0; font-size: 35px; letter-spacing: -.025em; }
.ops-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 18px; align-items: start; }
.needs-list { display: grid; gap: 10px; }
.need { border: 1px solid var(--line); border-radius: 10px; padding: 12px; background: white; }
.need b { display: block; margin-bottom: 4px; }

/* Owner O2: milestone board */
.o2 { background: #f8f1e8; min-height: calc(100vh - 104px); }
.o2 .owner-top { background: #26352f; color: white; border-color: #26352f; }
.o2 .owner-nav button { color: #b8c8c0; }
.o2 .owner-nav button.active { background: #42534c; color: white; }
.o2-main { max-width: 1500px; margin: 0 auto; padding: 32px 26px 100px; }
.o2-intro { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.o2-intro h1 { font: 45px/1.05 Georgia, serif; margin: 6px 0 0; }
.board { display: grid; grid-template-columns: repeat(4, minmax(235px, 1fr)); gap: 13px; overflow-x: auto; align-items: start; }
.board-column { background: #eee4d8; border-radius: 16px; padding: 12px; min-width: 235px; }
.board-column > header { display: flex; justify-content: space-between; align-items: center; padding: 5px 3px 13px; }
.board-column > header b { font-size: 14px; }
.board-card { background: #fffdf9; border: 1px solid #d8ccbf; border-radius: 12px; padding: 14px; margin-bottom: 10px; box-shadow: 0 4px 10px rgba(66,45,29,.05); }
.board-card h3 { margin: 7px 0; font-size: 15px; }
.board-card footer { display: flex; gap: 6px; margin-top: 13px; }
.board-card footer .btn { padding: 6px 8px; font-size: 12px; }
.milestone { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.milestone-index { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: white; font-weight: 850; }

/* Owner O3: dossier workbench */
.o3 { background: #eceff0; min-height: calc(100vh - 104px); }
.o3-shell { display: grid; grid-template-columns: 260px minmax(0, 1fr) 320px; min-height: calc(100vh - 104px); }
.o3-sidebar { background: #172126; color: white; padding: 26px 18px 100px; }
.o3-sidebar .owner-brand { margin-bottom: 28px; }
.o3-sidebar nav button { display: flex; width: 100%; border: 0; background: transparent; color: #aebbc0; padding: 11px 12px; margin: 4px 0; border-radius: 8px; text-align: left; font-weight: 720; }
.o3-sidebar .owner-nav { display: block; }
.o3-sidebar nav button.active { background: #2b3a40; color: white; }
.o3-list { margin-top: 30px; border-top: 1px solid #344148; padding-top: 18px; }
.o3-list button { width: 100%; text-align: left; border: 0; background: transparent; color: #c3cdd1; padding: 10px 9px; border-radius: 7px; }
.o3-list button.active { background: #314249; color: white; }
.o3-main { padding: 30px 30px 100px; overflow: auto; }
.o3-main h1 { margin: 5px 0 8px; font-family: Georgia, serif; font-size: 38px; }
.o3-inspector { background: #f8faf9; border-left: 1px solid #d3d9d8; padding: 28px 20px 100px; }
.dossier-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0; }
.dossier-meta div { background: white; border: 1px solid var(--line); border-radius: 9px; padding: 11px; }
.timeline { list-style: none; padding: 0; margin: 16px 0; }
.timeline li { position: relative; padding: 0 0 18px 25px; border-left: 1px solid #bbc5c2; margin-left: 6px; }
.timeline li::before { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--green); left: -6px; top: 4px; }
.timeline small { display: block; color: var(--muted); margin-top: 3px; }

.modal-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(9,18,15,.62); display: grid; place-items: center; padding: 20px; }
.modal { width: min(560px, 100%); max-height: 85vh; overflow: auto; background: white; border-radius: 18px; padding: 24px; box-shadow: 0 24px 80px rgba(0,0,0,.3); }
.modal h2 { margin-top: 0; }
.modal-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 22px; }
.toast { position: fixed; z-index: 120; top: 58px; right: 18px; max-width: 380px; background: #10261e; color: white; border-radius: 10px; padding: 13px 16px; box-shadow: var(--shadow); font-size: 14px; }
.empty { padding: 44px 20px; text-align: center; color: var(--muted); }

@media (max-width: 1000px) {
  .g1-grid, .ops-grid { grid-template-columns: 1fr; }
  .g1-rail { position: static; }
  .g2-grid { grid-template-columns: 1fr; }
  .g2-panel { border-right: 0; border-bottom: 1px solid #3a4b46; }
  .o3-shell { grid-template-columns: 210px 1fr; }
  .o3-inspector { grid-column: 2; border-left: 0; border-top: 1px solid var(--line); }
  .kpis { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .welcome-cover {
    padding: 34px 22px;
  }
  .welcome-cover::before { inset: 11px; }
  .welcome-cover::after { inset: 16px; }
  .welcome-cover-content { padding: 18px 0 26px; }
  .welcome-monogram { width: 142px; height: 148px; }
  .welcome-monogram-first,
  .welcome-monogram-second { font-size: 80px; }
  .welcome-monogram-first { left: 0; }
  .welcome-monogram-second { right: 3px; }
  .welcome-monogram-ampersand { font-size: 29px; }
  .welcome-rule { width: 168px; margin: 24px 0 31px; }
  .welcome-recipient h1 { max-width: 330px; font-size: clamp(28px, 8.3vw, 36px); }
  .welcome-message { margin-top: 28px; }
  .welcome-view-invitation { width: min(300px, 100%); margin-top: 31px; }
  .invitation-cover {
    display: flex;
    min-height: 100svh;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    padding: 12px 14px 18px;
  }
  .invitation-cover-frame { display: block; }
  .invitation-cover-frame img {
    width: 100%;
    max-height: none;
    box-shadow: none;
  }
  .invitation-cover-next { width: calc(100% - 32px); }
  .g1-header, .g2-header, .owner-top-inner, .o1-heading, .o2-intro { align-items: flex-start; flex-direction: column; }
  .g1-grid, .g1-header, .g3-wrap, .o1-main, .o2-main { padding-left: 16px; padding-right: 16px; }
  .g1-hero { padding: 26px 22px; grid-template-columns: 1fr; }
  .g1-hero h1, .g3-letterhead h1 { font-size: 39px; }
  .g3-message.answer { margin-left: 20px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .owner-top-inner { padding: 15px 16px; }
  .owner-nav { overflow-x: auto; width: 100%; }
  .o3-shell { display: block; }
  .o3-sidebar { padding-bottom: 24px; }
  .o3-main, .o3-inspector { padding: 22px 16px 100px; }
  .dossier-meta { grid-template-columns: 1fr; }
  .state-readout { grid-template-columns: 1fr 1fr; }
  .g3-folio {
    min-height: 100vh;
  }
  .g3-folio::before,
  .g3-folio::after {
    background-size: auto 590px;
  }
  .g3-folio::before {
    left: 44%;
    height: 180px;
    background-position: top right;
    background-size: auto 390px;
    -webkit-mask-image:
      linear-gradient(to left, #000 84%, transparent),
      linear-gradient(to bottom, #000 54%, transparent);
    mask-image:
      linear-gradient(to left, #000 84%, transparent),
      linear-gradient(to bottom, #000 54%, transparent);
  }
  .g3-folio::after {
    right: 28%;
    height: 300px;
    background-position: bottom left;
  }
  .g3-content {
    width: 100%;
    min-height: 100vh;
    padding: 50px 22px 54px;
  }
  .g3-progress-track { display: none; }
  .g3-private { max-width: 250px; font-size: 11px; line-height: 1.6; }
  .g3-letterhead h1 { margin: 0 0 14px; font-size: 47px; }
  .g3-date { font-size: 11px; line-height: 1.5; }
  .g3-invitation,
  .g3-questionnaire,
  .g3-confirmation { margin-top: 52px; }
  .g3-invitation { margin-top: 34px; }
  .g3-invitation .g3-request {
    max-width: 330px;
    font-size: 14px;
    line-height: 1.65;
    letter-spacing: .1em;
  }
  .g3-invitation > .g3-kicker {
    max-width: 310px;
    margin-top: 16px;
    font-size: 17px;
  }
  .g3-invitation .g3-venue-sections { margin-top: 28px; }
  .g3-invitation h2,
  .g3-questionnaire h2,
  .g3-confirmation h2 { font-size: 40px; line-height: 1.05; }
  .g3-answer-line { min-height: 68px; gap: 15px; font-size: 29px; }
  .g3-event-details div { grid-template-columns: 1fr; gap: 8px; }
  .g3-venue-section { grid-template-columns: 1fr; }
  .g3-venue-map { border-top: 1px solid rgba(179, 139, 49, .4); border-left: 0; }
  .g3-venue-map-canvas,
  .g3-venue-map iframe { min-height: 220px; }
  .g3-practical { margin-top: 38px; padding: 28px 22px 24px; }
  .g3-practical > h2 { font-size: 32px; }
  .g3-practical-grid { grid-template-columns: 1fr; }
  .g3-practical-grid > article { padding: 20px 0; }
  .g3-practical-grid > article + article {
    padding: 20px 0;
    border-top: 1px solid var(--garden-line);
    border-left: 0;
  }
  .g3-invitation-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }
  .g3-invitation-actions .g3-primary { width: 100%; }
  .g3-rsvp-deadline {
    align-self: center;
    max-width: 290px;
    text-align: center;
  }
  .g3-section-description { font-size: 17px; }
  .g3-questionnaire-sections { margin-top: 32px; }
  .g3-form-section {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 0 40px;
  }
  .g3-form-section > header h3 { font-size: 30px; }
  .g3-form-section > header > p:not(.g3-form-eyebrow) { max-width: 430px; }
  .g3-field-pair { grid-template-columns: 1fr; gap: 22px; }
  .g3-actions {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 42px;
  }
  .g3-actions > span { display: none; }
  .g3-actions .g3-primary { grid-row: 1; width: 100%; }
  .g3-actions .g3-previous { grid-row: 2; justify-self: start; }
}
