@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/static/fonts/space-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/static/fonts/space-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("/static/fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("/static/fonts/dm-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #1f1b17;
  --muted: #6f675f;
  --ground: #ffffff;
  --paper: #ffffff;
  --line: rgba(31, 27, 23, .14);
  --line-strong: rgba(31, 27, 23, .25);
  --blue: #2855e7;
  --blue-dark: #1836a4;
  --coral: #ff735f;
  --yellow: #f7cf45;
  --lavender: #b9a7f6;
  --green: #164f3e;
  --display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --editorial: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --shadow: 0 24px 70px rgba(40, 31, 19, .14);
  --radius: 22px;
}
[hidden] { display:none !important; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  font-synthesis: none;
}
img { max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

/* Shared navigation */
.topbar {
  width: min(1180px, calc(100% - 48px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: relative;
  z-index: 20;
}
.topbar::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--line);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font: 700 16px/1 var(--display);
  letter-spacing: -.025em;
  text-decoration: none;
}
.brand-mark, .mini-mark {
  display: block;
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  object-fit: cover;
}
.navlinks { display: flex; align-items: center; gap: 27px; font-size: 14px; font-weight: 600; }
.navlinks a { color: var(--ink); text-decoration: none; }
.navlinks a, .navlinks summary, .wordmark span { white-space: nowrap; }
/* Between the phone menu and a wide screen the six nav items are tight. */
@media (min-width: 721px) and (max-width: 960px) { .navlinks { gap: 16px; font-size: 13px; } .navlinks a[href="/#developers"] { display: none; } }
.invitation-nav summary { cursor:pointer; }
.invitation-nav summary::marker { font-size:10px; }
.invitation-mega { position:fixed; z-index:30; top:74px; left:0; right:0; max-height:calc(100vh - 74px); overflow:auto; border-block:1px solid var(--line); background:#fff; }
.invitation-mega-inner { width:min(1400px,calc(100% - 48px)); margin:0 auto; padding:38px 0 44px; display:grid; grid-template-columns:repeat(6,minmax(130px,1fr)) minmax(150px,1fr); gap:32px; }
.invitation-mega section { min-width:0; }
.invitation-mega h2 { margin:0 0 15px; font:700 13px/1 var(--display); }
.invitation-mega a { display:block; padding:5px 0; color:var(--muted); font-size:13px; font-weight:500; line-height:1.35; }
.invitation-mega .make-own { padding-left:24px; border-left:1px solid var(--line); }
.navlinks form { display: inline; margin: 0; }
.mobile-menu { display:none; position:relative; }
.mobile-menu summary { cursor:pointer; font-weight:700; }
.mobile-menu nav { position:absolute; top:38px; right:0; z-index:40; width:210px; padding:18px; display:flex; flex-direction:column; gap:14px; border:1px solid var(--line); background:#fff; }
.mobile-menu nav a { text-decoration:none; font-weight:700; }
.mobile-menu nav form { margin:0; }
button.linkish {
  appearance: none;
  color: var(--ink);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
}
.nav-cta {
  padding: 11px 18px;
  border-radius: 3px;
  background: var(--ink);
  color: white !important;
}
.topbar.narrow { width: min(1180px, calc(100% - 48px)); }

/* Buttons */
.button, a.button, button.button, button.primary {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 46px;
  padding: 12px 21px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
  font: 700 14px/1 var(--body);
  text-decoration: none;
  cursor: pointer;
}
.button.primary, a.button.primary, button.primary, button.button.primary {
  border-color: var(--blue);
  background: var(--blue);
  color: white;
}
.button.large { min-height: 56px; padding-inline: 30px; font-size: 16px; }
.button.light { background: white; color: #171617; border-color: white; }
.text-link { font-weight: 700; text-underline-offset: 5px; }

/* Marketing home */
.marketing { overflow: hidden; background: #fff; }
.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(24px, 6vw, 88px);
  align-items: center;
  padding-block: 62px 82px;
}
.hero h1, .section-heading h2, .planning-copy h2, .developer-copy h2, .closing-cta h2 {
  margin: 0;
  font: 500 clamp(48px, 6.4vw, 84px)/.94 var(--editorial);
  letter-spacing: -.055em;
  text-wrap: balance;
}
.hero-lede {
  max-width: 560px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.5;
  text-wrap: pretty;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 34px; }
.trust-line { margin: 16px 0 0; color: var(--muted); font-size: 13px; }

.invitation-stage { min-height: 590px; display: grid; place-items: center; }
.invite-card {
  overflow: hidden;
  border: 1px solid rgba(31,27,23,.15);
  border-radius: 4px;
}
.invite-card-main {
  width: min(430px, 88%);
  min-width: 330px;
  background: #fcf0df;
}
.invite-body { min-height: 540px; padding: 48px 34px; text-align: center; display:flex; flex-direction:column; justify-content:center; }
.invite-host { margin: 0 0 10px; font: 700 10px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; }
.invite-body h2 { margin: 0; font: 600 54px/.9 var(--display); letter-spacing: -.06em; }
.invite-date { margin: 17px 0 20px; font-size: 12px; line-height: 1.6; }
.invite-rsvp { display: inline-block; padding: 9px 18px; border: 1px solid currentColor; border-radius: 3px; font: 700 10px/1 var(--display); letter-spacing: .12em; }

.event-types { border-block: 1px solid var(--line); background: var(--paper); padding: 18px 24px; }
.event-types p { width:min(1180px,100%); margin:0 auto; color:var(--muted); font-size:14px; }

.section { padding-block: 120px; }
.section-heading { margin-bottom: 48px; }
.section-heading h2, .planning-copy h2, .developer-copy h2, .closing-cta h2 { font-size: clamp(42px, 5.4vw, 68px); }
.split-heading { display: grid; grid-template-columns: 1.35fr .65fr; gap: 70px; align-items: end; }
.split-heading > p { margin: 0 0 4px; max-width: 420px; color: var(--muted); font-size: 18px; }
.centered { text-align: center; }

/* Manual invitation collection. The site around it stays neutral; the
   invitations themselves carry the visual range. */
.manual-design-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:42px 22px; }
.homepage-designs { grid-template-columns:repeat(4,minmax(0,1fr)); }
.manual-design { min-width:0; color:var(--ink); text-decoration:none; }
.manual-design-art { display:block; color:inherit; text-decoration:none; }
/* Invitation artwork: shared by the site and the invitation email. */
.manual-art { aspect-ratio:4/5.25; position:relative; overflow:hidden; display:flex; padding:9%; background:var(--art-bg); color:var(--art-ink); border:1px solid rgba(17,17,17,.18); }
.manual-art svg { position:absolute; inset:0; width:100%; height:100%; fill:none; stroke:currentColor; stroke-width:5; }
.manual-art > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.manual-art-copy { width:100%; min-width:0; position:relative; z-index:1; display:flex; flex-direction:column; justify-content:center; }
.manual-art-copy small { font:700 clamp(7px,.7vw,10px)/1 var(--display); letter-spacing:.13em; text-transform:uppercase; }
.manual-art-copy strong { max-width:100%; margin:.22em 0; font:800 clamp(25px,3.1vw,48px)/.82 var(--display); letter-spacing:-.075em; overflow-wrap:normal; word-break:normal; hyphens:none; text-wrap:balance; }
.manual-art-orbit { --art-bg:#fff; --art-ink:#151515; }
.manual-art-orbit svg { stroke:#2855e7; stroke-width:8; }
.manual-art-orbit .manual-art-copy { justify-content:flex-end; align-items:flex-start; }
.manual-art-orbit .manual-art-copy strong { max-width:78%; font-family:Impact,"Arial Black",sans-serif; font-weight:900; line-height:.76; letter-spacing:-.045em; text-transform:uppercase; transform:rotate(-4deg); transform-origin:left bottom; }
.manual-art-orbit .manual-art-copy small { font-family:"Arial Narrow",Arial,sans-serif; letter-spacing:.2em; }
.manual-art-flora { --art-bg:#f7f2e8; --art-ink:#183c2e; }
.manual-art-flora svg { stroke-width:4; opacity:.24; }
.manual-art-flora .manual-art-copy { justify-content:center; align-items:center; text-align:center; }
.manual-art-flora .manual-art-copy strong { max-width:82%; font-family:Baskerville,Georgia,"Times New Roman",serif; font-style:italic; font-weight:400; line-height:.92; letter-spacing:-.035em; }
.manual-art-flora .manual-art-copy small { font-family:Georgia,"Times New Roman",serif; font-weight:400; letter-spacing:.12em; }
.manual-art-checks { --art-bg:#ff4f9a; --art-ink:#111; }
.manual-art-checks svg { fill:#111; stroke:none; }
.manual-art-checks svg ellipse { fill:#ff4f9a; }
.manual-art-checks .manual-art-copy { align-items:center; text-align:center; }
.manual-art-checks .manual-art-copy strong { max-width:68%; font-family:"Arial Black",Impact,sans-serif; font-weight:900; line-height:.88; letter-spacing:-.025em; text-transform:uppercase; }
.manual-art-checks .manual-art-copy small { padding:4px 7px; background:#111; color:#ff4f9a; font-family:"Arial Black",sans-serif; letter-spacing:.04em; }
.manual-art-ribbon { --art-bg:#2855e7; --art-ink:#fff; }
.manual-art-ribbon svg { fill:#fff; stroke:none; }
.manual-art-ribbon .manual-art-copy { justify-content:flex-end; align-items:flex-end; text-align:right; }
.manual-art-ribbon .manual-art-copy strong { max-width:78%; font-family:"Courier New",Courier,monospace; font-weight:700; line-height:.94; letter-spacing:-.075em; text-transform:none; }
.manual-art-ribbon .manual-art-copy small { font-family:"Courier New",Courier,monospace; letter-spacing:.04em; }
.manual-art-type { --art-bg:#fff; --art-ink:#111; }
.manual-art-type svg { stroke:#111; stroke-width:2; }
.manual-art-type svg rect { fill:#111; }
.manual-art-type .manual-art-copy { justify-content:space-between; }
.manual-art-type .manual-art-copy strong { max-width:100%; font-family:"Arial Narrow","Helvetica Neue",Arial,sans-serif; font-size:clamp(39px,5.1vw,78px); font-weight:900; line-height:.7; letter-spacing:-.095em; text-transform:uppercase; }
.manual-art-type .manual-art-copy small { font-family:"Arial Narrow",Arial,sans-serif; letter-spacing:.26em; }
.manual-art-shapes { --art-bg:#f5d94e; --art-ink:#271b5a; }
.manual-art-shapes svg { fill:#ff6a4d; stroke:#271b5a; stroke-width:7; }
.manual-art-shapes svg circle, .manual-art-shapes svg path:last-child { fill:#66c8b3; }
.manual-art-shapes .manual-art-copy { align-items:center; text-align:center; }
.manual-art-shapes .manual-art-copy strong { max-width:88%; color:#f5d94e; font-family:"Trebuchet MS",Arial,sans-serif; font-weight:900; line-height:.84; letter-spacing:-.06em; text-transform:uppercase; -webkit-text-stroke:2px #271b5a; transform:rotate(5deg); }
.manual-art-shapes .manual-art-copy small { font-family:"Trebuchet MS",Arial,sans-serif; letter-spacing:.04em; }
.manual-art-grid { --art-bg:#101012; --art-ink:#8fffd2; }
.manual-art-grid svg { stroke:#8fffd2; stroke-width:3; }
.manual-art-grid .manual-art-copy { justify-content:flex-start; }
.manual-art-grid .manual-art-copy strong { max-width:84%; margin-top:18px; font-family:"Courier New",Courier,monospace; font-weight:700; line-height:.96; letter-spacing:.01em; text-transform:uppercase; }
.manual-art-grid .manual-art-copy small { font-family:"Courier New",Courier,monospace; letter-spacing:.02em; }
.manual-art-arch { --art-bg:#f4dfe3; --art-ink:#5c1731; }
.manual-art-arch svg { fill:#5c1731; stroke:none; }
.manual-art-arch svg path:last-child { fill:#f4dfe3; }
.manual-art-arch .manual-art-copy { align-items:center; text-align:center; }
.manual-art-arch .manual-art-copy strong { max-width:72%; font-family:"Bodoni 72",Didot,"Times New Roman",serif; font-style:italic; font-weight:400; line-height:.88; letter-spacing:-.045em; }
.manual-art-arch .manual-art-copy small { font-family:"Bodoni 72",Didot,"Times New Roman",serif; font-weight:400; letter-spacing:.18em; }
.manual-art-marginalia { --art-bg:#f3eddc; --art-ink:#151515; }
.manual-art-marginalia svg { stroke:#b9ad91; stroke-width:2; }
.manual-art-marginalia svg .mark { stroke:#d3392f; stroke-width:9; }
.manual-art-marginalia .manual-art-copy { justify-content:flex-start; padding-top:10%; transform:rotate(-2deg); }
.manual-art-marginalia .manual-art-copy strong { max-width:82%; font-family:Georgia,"Times New Roman",serif; font-size:clamp(31px,4vw,61px); font-weight:400; line-height:.88; letter-spacing:-.06em; }
.manual-art-marginalia .manual-art-copy small { color:#d3392f; font-family:"Comic Sans MS","Bradley Hand",cursive; font-weight:400; letter-spacing:.03em; text-transform:none; }
.manual-art-library_card { --art-bg:#e7ddbf; --art-ink:#234532; }
.manual-art-library_card svg { stroke:#234532; stroke-width:3; }
.manual-art-library_card svg circle { stroke-width:8; }
.manual-art-library_card .manual-art-copy { justify-content:flex-start; padding:8% 4%; }
.manual-art-library_card .manual-art-copy strong { max-width:74%; margin-top:15%; font-family:"Courier New",Courier,monospace; font-size:clamp(27px,3.6vw,55px); font-weight:700; line-height:.94; letter-spacing:-.06em; text-transform:uppercase; }
.manual-art-library_card .manual-art-copy small { font-family:"Courier New",Courier,monospace; letter-spacing:.08em; }
.manual-art-paperbacks { --art-bg:#ff6d54; --art-ink:#27184c; }
.manual-art-paperbacks svg { fill:#f8dc62; stroke:#27184c; stroke-width:7; }
.manual-art-paperbacks svg rect:nth-child(even) { fill:#73c9b8; }
.manual-art-paperbacks .manual-art-copy { align-items:center; text-align:center; }
.manual-art-paperbacks .manual-art-copy strong { max-width:88%; padding:.08em .12em; background:#27184c; color:#fff; font-family:"Arial Black",Impact,sans-serif; font-size:clamp(29px,4vw,61px); font-weight:900; line-height:.8; letter-spacing:-.07em; text-transform:uppercase; transform:rotate(-7deg); }
.manual-art-paperbacks .manual-art-copy small { padding:4px 7px; background:#fff; color:#27184c; font-family:Arial,sans-serif; letter-spacing:.12em; }
.manual-art-bookmark { --art-bg:#32131c; --art-ink:#f2dfb5; }
.manual-art-bookmark svg { fill:#f2dfb5; stroke:#f2dfb5; stroke-width:4; }
.manual-art-bookmark .manual-art-copy { align-items:center; justify-content:flex-start; padding-top:12%; color:#32131c; text-align:center; }
.manual-art-bookmark .manual-art-copy strong { max-width:46%; font-family:"Bodoni 72",Didot,"Times New Roman",serif; font-size:clamp(25px,3.2vw,49px); font-weight:400; line-height:.9; letter-spacing:-.04em; }
.manual-art-bookmark .manual-art-copy small { font-family:"Bodoni 72",Didot,"Times New Roman",serif; font-weight:400; letter-spacing:.16em; }
.manual-art-stacks { --art-bg:#16120f; --art-ink:#fff; }
.manual-art-stacks .manual-art-decoration > img { filter:grayscale(1) contrast(1.15); }
.manual-art-stacks::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.78)); }
.manual-art-stacks .manual-art-copy { justify-content:flex-end; }
.manual-art-stacks .manual-art-copy strong { max-width:90%; font-family:Impact,"Arial Black",sans-serif; font-size:clamp(34px,4.8vw,73px); font-weight:900; line-height:.76; letter-spacing:-.04em; text-transform:uppercase; }
.manual-art-stacks .manual-art-copy small { font-family:Arial,sans-serif; letter-spacing:.2em; }
.manual-art-open_book { --art-bg:#eee7dc; --art-ink:#18130f; }
.manual-art-open_book .manual-art-decoration > img { filter:sepia(.28); object-position:center; }
.manual-art-open_book::after { content:""; position:absolute; inset:0; background:rgba(239,231,217,.3); }
.manual-art-open_book .manual-art-copy { align-items:center; text-align:center; }
.manual-art-open_book .manual-art-copy strong { max-width:72%; padding:.18em; background:#f4eee4; font-family:Baskerville,Georgia,"Times New Roman",serif; font-size:clamp(29px,3.7vw,56px); font-style:italic; font-weight:400; line-height:.9; letter-spacing:-.045em; }
.manual-art-open_book .manual-art-copy small { padding:4px 7px; background:#f4eee4; font-family:Georgia,"Times New Roman",serif; font-weight:400; letter-spacing:.1em; }
.manual-art { padding:var(--art-padding,9%); }
.manual-art-decoration { position:absolute; inset:0; z-index:var(--layer-art,1); pointer-events:none; }
.manual-art-decoration > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.manual-art-image { z-index:var(--layer-image,2); object-position:var(--image-x,50%) var(--image-y,50%); opacity:var(--image-opacity,1); transform:scale(var(--image-scale,1)); transform-origin:var(--image-x,50%) var(--image-y,50%); }
.manual-art-copy [data-art-layer="kicker"] { position:relative; z-index:var(--layer-kicker,3); }
.manual-art-copy [data-art-layer="title"] { position:relative; z-index:var(--layer-title,4); }
.manual-art-copy [data-art-layer="date"] { position:relative; z-index:var(--layer-date,5); }
.manual-art.art-hide-art .manual-art-decoration,.manual-art.art-hide-image .manual-art-image,.manual-art.art-hide-kicker [data-art-layer="kicker"],.manual-art.art-hide-title [data-art-layer="title"],.manual-art.art-hide-date [data-art-layer="date"] { display:none !important; }
.manual-art.art-freeform .manual-art-copy { position:absolute; inset:0; z-index:auto; width:100% !important; margin:0 !important; padding:var(--art-padding,8%) !important; border:0 !important; display:block; text-shadow:none; }
.manual-art.art-freeform .manual-art-copy [data-art-layer="title"] { position:absolute; left:var(--title-x,50%); top:var(--title-y,50%); width:var(--title-width,88%); max-width:none !important; margin:0 !important; font-size:var(--title-size,64px) !important; line-height:var(--title-line,.86) !important; letter-spacing:var(--title-spacing,-.06em) !important; text-align:inherit; transform:translate(-50%,-50%); }
.manual-art.art-freeform .manual-art-copy [data-art-layer="kicker"] { position:absolute; top:var(--art-padding,8%); left:var(--art-padding,8%); right:var(--art-padding,8%); }
.manual-art.art-freeform .manual-art-copy [data-art-layer="date"] { position:absolute; bottom:var(--art-padding,8%); left:var(--art-padding,8%); right:var(--art-padding,8%); }
.manual-design-meta { padding-top:12px; display:flex; justify-content:space-between; gap:16px; font-size:13px; }
.manual-design-meta strong { font-weight:700; }
.manual-design-meta > span,.manual-design-meta > a { color:var(--muted); }
.photo-credit { display:block; margin-top:5px; color:var(--muted); font-size:10px; line-height:1.35; }
.photo-credit a { color:inherit; text-underline-offset:2px; }

.hero-invitations { width:min(620px,100%); display:grid; grid-template-columns:1.15fr .85fr; gap:18px; align-items:start; }
.hero-design { display:block; text-decoration:none; }
.hero-design-side { margin-top:110px; }
.hero-design .manual-art-copy strong { font-size:clamp(30px,4vw,58px); }

.invitation-gallery { padding:78px 0 130px; }
.gallery-heading { margin-bottom:58px; display:flex; align-items:flex-end; justify-content:space-between; gap:50px; }
.gallery-heading h1 { max-width:880px; margin:0; font:600 clamp(50px,7vw,92px)/.88 var(--display); letter-spacing:-.07em; }
.gallery-heading p { max-width:560px; margin:20px 0 0; color:var(--muted); font-size:18px; }
.invitation-gallery .manual-art-copy strong { font-size:clamp(34px,4.4vw,64px); }
.auth-art.auth-art-selection { background:#fff; }
.auth-art-selection .manual-art { width:min(380px,100%); border:0; }
.auth-selection-context { margin:12px 0 28px; color:var(--muted); font-size:14px; }

.template-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.template {
  aspect-ratio: 4/5.35;
  border-radius: 4px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.template-label { position: relative; z-index: 2; font: 700 10px/1 var(--display); letter-spacing: .15em; text-transform: uppercase; }
.template-title { position: relative; z-index: 2; font: 600 clamp(27px, 2.7vw, 43px)/.9 var(--display); letter-spacing: -.06em; }
.template-detail { position: relative; z-index: 2; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.theme-after-dark { background: #1a1528; color: #d6ff54; }
.theme-picnic { background: #fff0dc; color: #e3422f; text-align: center; }
.theme-picnic .template-title { font: 600 clamp(32px,3vw,48px)/.9 var(--display); }
.theme-birthday { background: #ff785f; color: #15120f; }
.template-number { font: 700 clamp(100px,10vw,148px)/.72 var(--display); color: #f9e75b; letter-spacing: -.12em; position: relative; z-index: 1; }
.theme-wedding { background: #e9e4d6; color: #173b2d; text-align: center; border: 1px solid #173b2d; }
.theme-wedding .template-title { font: 600 clamp(34px,3vw,50px)/.9 var(--display); }
.theme-modern-sample { background:#dfe7ff; color:#14234f; }
.theme-modern-sample .template-title { font-size:clamp(36px,3.6vw,58px); text-transform:uppercase; }
.theme-romantic-sample { background:#f4dedf; color:#5d2631; text-align:center; border:1px solid #5d2631; }
.theme-romantic-sample .template-title { font:500 clamp(36px,3.2vw,52px)/.9 var(--editorial); letter-spacing:-.035em; }
.theme-neon-sample { background:#171719; color:#73ff8f; }
.theme-neon-sample .template-title { font-size:clamp(36px,3.6vw,58px); text-transform:uppercase; }
.theme-gallery-sample { background:#f3f3f1; color:#202020; justify-content:flex-end; border:1px solid #202020; }
.theme-gallery-sample .template-label { position:absolute; top:24px; left:24px; }
.theme-gallery-sample .template-title { font-size:clamp(38px,3.8vw,60px); text-transform:uppercase; }
.template-monogram { position: relative; z-index: 2; font: 500 30px/1 var(--editorial); }
.template-monogram i { font-size: 18px; }
.center-action { text-align: center; margin: 42px 0 0; }

.planning-section { background:#fff; border-top:1px solid var(--line); }
.planning-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(50px, 9vw, 120px); align-items: center; }
.planning-copy > p { color:var(--muted); font-size:18px; max-width:500px; margin:26px 0 30px; }
.mini-mark { width: 25px; height: 25px; font-size: 9px; }
.agent-demo { max-width:590px; margin-left:auto; padding:24px; border:1px solid #39393f; border-radius:4px; background:#19191d; color:#f7f4ee; }
.agent-demo-top { display:flex; align-items:center; justify-content:space-between; gap:16px; padding-bottom:18px; border-bottom:1px solid rgba(255,255,255,.12); }
.connection-status { display:flex; align-items:center; gap:7px; color:#bcb9b4; font-size:11px; }
.agent-prompt { width:88%; margin:24px 0 20px auto; padding:15px 17px; border-radius:4px; background:var(--blue); font-size:14px; line-height:1.45; }
.agent-runs { padding:10px; border-radius:4px; background:#25252b; }
.agent-runs > div:not(.agent-result) { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:11px 10px; border-bottom:1px solid rgba(255,255,255,.08); font-size:12px; }
.agent-runs code { color:#b9a7ff; font:600 12px/1 ui-monospace,SFMono-Regular,Menlo,monospace; }
.agent-runs b { color:#6ee7a0; }
.agent-result { margin-top:10px; padding:12px; border-radius:4px; background:#f7f4ee; color:var(--ink); display:grid; grid-template-columns:32px 1fr; align-items:center; gap:11px; }
.agent-result small { display:block; margin-top:3px; color:var(--muted); }

.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.feature-card { min-height: 410px; padding: 28px; border-radius: var(--radius); display: flex; flex-direction: column; }
.feature-card h3 { margin: auto 0 8px; font: 600 28px/1.05 var(--display); letter-spacing: -.045em; }
.feature-card p { margin: 0; color: rgba(31,27,23,.72); }

.developer-section { background:#fff; color:var(--ink); border-top:1px solid var(--line); }
.developer-grid { display: grid; grid-template-columns: .83fr 1.17fr; gap: clamp(50px,8vw,110px); align-items: center; }
.developer-copy > p { color:var(--muted); font-size:18px; max-width:500px; }
.developer-links { display: flex; align-items: center; gap: 24px; margin-top: 30px; }
.light-link { color:var(--ink); }
.code-window { border: 1px solid #39393f; border-radius: 4px; overflow: hidden; background: #0f0f11; }
.code-toolbar { min-height: 58px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #34343a; }
.code-toolbar strong { font-size:13px; }
.code-tabs { display: flex; height: 58px; }
.code-tab, .copy-code { appearance: none; border: 0; background: none; color: #86868c; cursor: pointer; font: 600 13px/1 var(--body); }
.code-tab { padding: 0 16px; border-bottom: 2px solid transparent; }
.code-tab.active { color: white; border-bottom-color: var(--coral); }
.copy-code { padding: 9px 12px; border: 1px solid #39393f; border-radius: 3px; }
.copy-code:hover { color: white; background: #232329; }
.code-panel { display: none; min-height: 265px; margin: 0; padding: 30px; color: #dddde4; font: 14px/1.85 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; overflow-x: auto; white-space: pre; }
.code-panel.active { display: block; }
.code-panel code { font: inherit; }
.mcp-home .code-panel { min-height:0; white-space:pre-wrap; overflow-wrap:anywhere; }
.mcp-home-note { margin:0; padding:18px 30px; border-top:1px solid #34343a; color:#aaa8a5; font-size:13px; line-height:1.55; }

.closing-cta { text-align: center; padding-block: 140px 150px; position: relative; }
.closing-cta > p { color: var(--muted); font-size: 18px; margin: 20px 0 28px; }

/* Shared application shell */
.card {
  width: min(580px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 100px;
}
.card.wide { width: min(1040px, calc(100% - 48px)); }
.card > h1 {
  margin: 0;
  font: 500 clamp(42px,6vw,66px)/.96 var(--editorial);
  letter-spacing: -.05em;
  text-wrap: balance;
}
.tagline { margin: 16px 0 0; color: var(--muted); font-size: 18px; line-height: 1.5; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; margin: 28px 0 0; }
.notice { margin: 20px 0; padding: 14px 16px; border-radius: 4px; background: #e7defe; color: #42365f; }
.notice.shell { margin: 20px auto; }
/* The confirmation, shown where the host is after a save brings them back. */
.notice-toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; max-width: min(560px, calc(100vw - 32px)); margin: 0; transform: translateX(-50%); box-shadow: 0 10px 30px rgba(31,27,23,.18); transition: opacity .5s; }
.notice-toast-gone { opacity: 0; }
.aside, .who { color: var(--muted); font-size: 14px; }
.aside { margin-top: 18px; }
.permalink { margin: 12px 0 0; font-size: 14px; overflow-wrap: anywhere; }
.permalink a { color: var(--blue); }
.sub { display: block; color: var(--muted); font-size: 13px; }

.band { margin-top: 36px; padding: 28px; border: 1px solid var(--line); border-radius: 4px; background: rgba(255,253,248,.62); }
.band > h2 { margin: 0 0 8px; font: 600 22px/1.1 var(--display); letter-spacing: -.035em; }
.facts { margin: 28px 0 0; border-top: 1px solid var(--line); }
.fact { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.fact dt { padding-top: 2px; color: var(--muted); font: 700 10px/1.4 var(--display); letter-spacing: .12em; text-transform: uppercase; }
.fact dd { margin: 0; }
.fact dd .sub { margin-top: 3px; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 20px; margin-top: 30px; }
.field { display: flex; flex-direction: column; gap: 7px; color: #5f5851; font: 700 12px/1.3 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.caption { display: block; }
.optional { color: #9b9289; font-weight: 500; letter-spacing: normal; text-transform: none; }
.optional::before { content: "· "; }
.hint { color: #8a8178; font-size: 12px; font-weight: 400; letter-spacing: normal; line-height: 1.45; text-transform: none; }
.field-note { display: block; margin-top: 8px; }
/* A line of card text and the swatch for its colour, side by side. */
.with-color { display: flex; gap: 8px; align-items: stretch; }
.with-color > input:first-child { flex: 1; min-width: 0; }
.line-color { flex: none; width: 46px; min-height: 44px; padding: 3px; border: 1px solid var(--line); border-radius: 4px; background: #fff; cursor: pointer; }
.card-line-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 12px; }
.card-line-row .check-row { margin: 0; }
.line-color-label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.line-color-label .line-color { width: 36px; min-height: 32px; }
.field-error { display: block; margin-top: 6px; color: #a3261c; font-size: 13px; font-weight: 700; letter-spacing: normal; line-height: 1.4; text-transform: none; }
[aria-invalid="true"] { border-color: #a3261c !important; }
select, textarea, input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="number"], input[type="datetime-local"], input[type="time"], input[type="search"], input:not([type]) {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.4 var(--body);
  letter-spacing: normal;
  text-transform: none;
}
textarea { resize: vertical; min-height: 94px; }
select:focus, textarea:focus, input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(40,85,231,.12); outline: none; }
input:disabled { background:#f2f1ee; color:var(--muted); cursor:not-allowed; }
.ts-wrapper.timezone-select { width:100%; color:var(--ink); font:400 16px/1.4 var(--body); letter-spacing:normal; text-transform:none; }
.ts-wrapper.timezone-select.single .ts-control {
  min-height:50px;
  padding:12px 44px 12px 14px;
  border:1px solid var(--line-strong);
  border-radius:4px;
  background:var(--paper);
  box-shadow:none;
  color:var(--ink);
  font:inherit;
}
.ts-wrapper.timezone-select.focus .ts-control { border-color:var(--blue); box-shadow:0 0 0 3px rgba(40,85,231,.12); }
.ts-wrapper.timezone-select .ts-control > .item { max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ts-wrapper.timezone-select .ts-control input { color:var(--ink); font:inherit; }
.ts-dropdown.timezone-dropdown {
  border:1px solid var(--line-strong);
  border-radius:4px;
  background:var(--paper);
  box-shadow:none;
  color:var(--ink);
  font:400 15px/1.4 var(--body);
  overflow:hidden;
}
.timezone-dropdown .dropdown-input-wrap { padding:8px; border-bottom:1px solid var(--line); }
.timezone-dropdown .dropdown-input { width:100%; min-height:42px; padding:9px 10px; border:1px solid var(--line-strong); border-radius:3px; outline:none; box-shadow:none; }
.timezone-dropdown .dropdown-input:focus { border-color:var(--blue); box-shadow:0 0 0 3px rgba(40,85,231,.12); }
.timezone-dropdown .option { padding:9px 11px; }
.timezone-dropdown .active { background:#f2f1ee; color:var(--ink); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
/* `display: grid` outranks the UA stylesheet's rule for [hidden], so a .two
   that is meant to be folded away needs to say so itself. */
.two[hidden] { display: none; }
.form.inline { flex-direction: row; align-items: flex-end; flex-wrap: wrap; gap: 12px; }
.form.inline .field { flex: 1 1 240px; }
.form.inline > .button { align-self: flex-end; }
.form > .button { align-self: flex-start; }
label.check, .check { display: flex; align-items: flex-start; gap: 10px; color: var(--ink); font-size: 15px; font-weight: 400; letter-spacing: normal; text-transform: none; cursor: pointer; }
.check input { width: auto; margin-top: 4px; accent-color: var(--blue); }
.audience-picker { min-width:0; margin:0; padding:0; border:0; }
.audience-picker legend { margin-bottom:10px; color:var(--muted); font-size:12px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.audience-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px 24px; }
.audience-picker .hint { display:block; margin-top:10px; }
.question { gap: 8px; }
.question > .caption { color: var(--ink); font-size: 16px; font-weight: 500; letter-spacing: normal; text-transform: none; }
.picks { display: flex; flex-direction: column; gap: 8px; color: var(--ink); font-size: 15px; font-weight: 400; letter-spacing: normal; text-transform: none; }
.pick { display: flex; align-items: baseline; gap: 9px; cursor: pointer; }
.pick input { width: auto; accent-color: var(--blue); }
details.more { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
details.more summary { color: var(--blue); cursor: pointer; font-weight: 700; }
details.more[open] summary { margin-bottom: 18px; }

/* Authentication */
.auth-shell {
  width: min(1180px, calc(100% - 48px));
  min-height: 720px;
  margin: 44px auto 90px;
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
}
.auth-panel { padding: clamp(42px,7vw,86px); display: flex; flex-direction: column; justify-content: center; }
.auth-panel h1 { margin: 0; font: 500 clamp(46px,5.4vw,68px)/.95 var(--editorial); letter-spacing: -.055em; }
.auth-lede { margin: 20px 0 0; color: var(--muted); font-size: 17px; max-width: 470px; }
.auth-form { max-width: 470px; }
.auth-form button.primary { width: 100%; min-height: 54px; }
.code-input { text-align: center; font: 600 28px/1 var(--display) !important; letter-spacing: .18em !important; }
.auth-options { margin-top:22px; display:flex; flex-direction:column; gap:9px; font-size:13px; }
.auth-options a, .aside a { color:var(--blue); text-underline-offset:3px; }
.aside button.linkish { color:var(--blue); text-decoration:underline; text-underline-offset:3px; }
.auth-options .button { width:100%; color:var(--ink); }
.auth-art { min-height: 650px; padding: 60px; display: grid; place-items: center; position: relative; overflow: hidden; background: #f27b67; }
.auth-invite { width: min(360px,100%); aspect-ratio: 4/5; padding: 34px; position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: space-between; text-align: center; border-radius: 4px; background: #1e1a37; color: #f7e976; }
.auth-invite > p { margin: 0; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.auth-invite h2 { margin: 0; font: 600 clamp(42px,5vw,62px)/.82 var(--display); letter-spacing: -.055em; }
.auth-rsvp { padding: 9px 16px; border: 1px solid currentColor; border-radius: 3px; font-size: 10px; font-weight: 800; letter-spacing: .12em; }

/* Guest RSVP page */
.event-editor { padding: 54px 0 110px; }
.editor-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 44px; }
.editor-heading h1 { margin: 0; font: 500 clamp(46px,6vw,72px)/.95 var(--editorial); letter-spacing: -.055em; }
.editor-heading p { margin: 14px 0 0; color: var(--muted); font-size: 17px; }
.editor-layout { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(40px,7vw,90px); align-items: start; }
.editor-form { display: flex; flex-direction: column; gap: 26px; }
.editor-section { display: block; padding: 30px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); }
/* Each step folds at its heading; the chevron says which way it will go. */
.editor-section > summary { display: flex; align-items: baseline; gap: 18px; cursor: pointer; list-style: none; }
.editor-section > summary::-webkit-details-marker { display: none; }
.editor-section > summary::after { content: ""; align-self: center; flex: none; width: 8px; height: 8px; margin-left: auto; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); }
.editor-section:not([open]) > summary::after { transform: rotate(-45deg); }
.editor-section > div { margin-top: 18px; }
.editor-section > .advanced-fields { padding-top: 0; }
.editor-section h2 { margin: 4px 0 0; font: 600 24px/1.05 var(--display); letter-spacing: -.04em; }
.editor-help { margin: 7px 0 24px; color: var(--muted); font-size: 14px; }
.editor-section > div > .field + .field, .editor-section > div > .two + .field, .editor-section > div > .field + .two { margin-top: 17px; }
.editor-section > div > .check-row { margin-top: 12px; }
.editor-section > div > .check-row + .field, .editor-section > div > .field-note + .field { margin-top: 17px; }
.rsvp-mode-picker { margin: 20px 0 22px; border-top: 1px solid var(--line); }
.rsvp-mode-picker label { min-height: 72px; display: grid; grid-template-columns: 22px 1fr; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); cursor: pointer; }
.rsvp-mode-picker input { width: 17px; height: 17px; margin: 0; accent-color: var(--blue); }
.rsvp-mode-picker span { display: flex; flex-direction: column; gap: 3px; }
.rsvp-mode-picker strong { font-size: 14px; }
.rsvp-mode-picker small { color: var(--muted); font-size: 12px; line-height: 1.4; }
.rsvp-mode-picker input:focus-visible { outline: 3px solid rgba(40,85,231,.18); outline-offset: 3px; }
.theme-picker { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-bottom: 22px; }
.theme-choice input { position: absolute; opacity: 0; }
.theme-choice > span { display: block; padding: 7px; border: 2px solid transparent; border-radius: 4px; cursor: pointer; text-align: center; }
.theme-swatch { display: block; aspect-ratio: 1; margin-bottom: 7px; border-radius: 3px; position: relative; overflow: hidden; background:var(--swatch-bg); color:var(--swatch-ink); }
.theme-swatch::after { content: "Aa"; position: absolute; inset: 0; display: grid; place-items: center; font: 600 19px/1 var(--display); }
.theme-choice b { font-size: 10px; }
.theme-choice input:checked + span { border-color: var(--blue); background: #eef2ff; }
.color-customizer { display:flex; align-items:center; flex-wrap:wrap; gap:0 24px; margin:-6px 0 22px; padding:14px 0; border-block:1px solid var(--line); }
.color-field { display:grid; grid-template-columns:auto auto; align-items:center; gap:2px 9px; font-size:12px; font-weight:700; }
.color-field span { grid-column:1/-1; }
.color-field output { color:var(--muted); font:500 11px/1 var(--body); }
.color-customizer input[type="color"] { width:42px; height:34px; padding:2px; border:1px solid var(--line-strong); border-radius:3px; background:white; cursor:pointer; }
.color-customizer .linkish { margin-left:auto; color:var(--blue); font-size:12px; }
.custom-design { margin-top:22px; padding-top:20px; border-top:1px solid var(--line); }
.custom-design summary { color:var(--blue); cursor:pointer; font-weight:700; }
.custom-design-fields { padding-top:20px; display:flex; flex-direction:column; gap:18px; }
.custom-design textarea { font:13px/1.55 ui-monospace,SFMono-Regular,Menlo,monospace; text-transform:none; }
.custom-preview { width:100%; min-height:590px; border:1px solid var(--line); border-radius:4px; background:white; }
.selected-design-row { margin:18px 0 24px; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px 22px; padding:16px 0; border-block:1px solid var(--line); }
.editor-selected-preview .manual-art { width:100%; border-color:var(--line); }
.advanced-fields { display: flex; flex-direction: column; gap: 18px; padding-top: 26px; }
.editor-submit { display: flex; align-items: center; gap: 20px; }
.editor-submit button.primary { min-height: 54px; padding-inline: 30px; }
.live-preview { position: sticky; top: 28px; }
.preview-label { display: flex; justify-content: space-between; margin-bottom: 13px; color: var(--muted); font-size: 12px; }
.preview-label span { color: var(--ink); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.preview-label small { font-size: 10px; }
.preview-invite { --title-base: clamp(42px,5vw,64px); position: relative; overflow: hidden; container-type: inline-size; min-height: 590px; padding: 42px; border: 1px solid currentColor; border-radius: 4px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.preview-kicker { margin: 0; font: 700 10px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; }
.preview-kicker:empty { display: none; }
/* The longest word of the title fits on one line: `--title-chars` is its
   length, set where the card is drawn, and .6em is a wide letter here. */
.preview-invite .preview-title { max-width: 100%; margin: 26px 0; font: 600 min(calc(var(--title-base) * var(--title-scale, 1)), calc(100cqi / (var(--title-chars, 1) * .6)))/.85 var(--display); letter-spacing: -.055em; overflow-wrap: anywhere; }
.preview-subtitle { max-width: 480px; margin: -8px 0 22px; font-size: 16px; }
.preview-subtitle:empty { display: none; }
.preview-rule { width: 60px; border-top: 1px solid currentColor; opacity: .5; }
.preview-facts { display: flex; flex-direction: column; gap: 4px; margin: 22px 0 28px; font-size: 12px; }
.preview-button { padding: 11px 16px; border: 1px solid currentColor; border-radius: 3px; font-size: 11px; font-weight: 800; }
.preview-rsvp-controls { display:flex; justify-content:center; flex-wrap:wrap; gap:8px; padding:18px; border:1px solid var(--line); border-top:0; background:var(--paper); }
.preview-note { display:flex; flex-direction:column; gap:7px; padding:14px 18px 18px; border:1px solid var(--line); border-top:0; color:var(--muted); font-size:11px; font-weight:700; }
.preview-note-box { display:block; height:44px; border:1px solid var(--line-strong); border-radius:3px; background:white; }
.preview-note small { font-weight:500; }
.title-size-control { margin:20px 0 4px; padding:16px; border:1px solid var(--line); border-radius:3px; }
.title-size-control output { float:right; color:var(--muted); font-variant-numeric:tabular-nums; }
.title-size-control input[type="range"] { width:100%; accent-color:var(--blue); }
.rsvp-option { margin:0 0 18px; padding:14px; border:1px solid var(--line); border-radius:3px; }
.rsvp-option span { display:flex; flex-direction:column; gap:3px; }
.rsvp-option small { color:var(--muted); font-weight:400; }
.preview-invite { background:var(--preview-bg,#efc296); color:var(--preview-ink,#552318); }
.preview-theme-minimal, .preview-theme-gallery, .preview-theme-monochrome, .preview-theme-modern, .preview-theme-coastal { align-items:flex-start; text-align:left; }
.preview-theme-modern .preview-title, .preview-theme-disco .preview-title, .preview-theme-neon .preview-title, .preview-theme-playful .preview-title { text-transform:uppercase; letter-spacing:-.07em; }
.preview-theme-classic, .preview-theme-romantic, .preview-theme-vintage { border:12px solid color-mix(in srgb,currentColor 18%,transparent); }
.preview-theme-gallery { --title-base: clamp(34px,4vw,52px); }
.preview-theme-gallery .preview-title { margin-top:auto; }
.guest-page {
  --invite-bg: #efc296;
  --invite-ink: #552318;
  --response-tint: #fff3e5;
  min-height: 100vh;
  padding: clamp(22px,5vw,72px);
  background: #f6f1e8;
}
.guest-page[data-theme="after_dark"] { --invite-bg: #1b1730; --invite-ink: #d9ff59; --response-tint: #eeecf7; }
.guest-page[data-theme="garden"] { --invite-bg: #d8e5bf; --invite-ink: #214b36; --response-tint: #edf3e6; }
.guest-page[data-theme="celebration"] { --invite-bg: #ff7b66; --invite-ink: #2d1711; --response-tint: #fff0ca; }
.guest-page[data-theme="editorial"] { --invite-bg: #e7e1d5; --invite-ink: #1f1b17; --response-tint: #f1eee8; }
.guest-page[data-theme="minimal"] { --response-tint:#f2f2ef; }
.guest-page[data-theme="modern"] { --response-tint:#edf1ff; }
.guest-page[data-theme="romantic"] { --response-tint:#f8eeee; }
.guest-page[data-theme="coastal"] { --response-tint:#eaf3f5; }
.guest-page[data-theme="disco"] { --response-tint:#f0ebf8; }
.guest-page[data-theme="neon"] { --response-tint:#edf7ef; }
.guest-page[data-theme="classic"] { --response-tint:#f2eee8; }
.guest-page[data-theme="playful"] { --response-tint:#f8f2d4; }
.guest-page[data-theme="gallery"] { --response-tint:#eeeeec; }
.guest-page[data-theme="monochrome"] { --response-tint:#eeeeee; }
.guest-page[data-theme="vintage"] { --response-tint:#f1e8d9; }
.guest-layout {
  width: min(1120px,100%);
  min-height: min(800px,calc(100vh - 80px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0,1.04fr) minmax(360px,.96fr);
  overflow: hidden;
  border: 1px solid rgba(31,27,23,.14);
  border-radius: 4px;
  background: var(--paper);
}
/* A host reading their own event's page, and the way back to managing it. */
.host-view-bar { width: min(1120px,100%); margin: 0 auto 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; border: 1px solid rgba(31,27,23,.14); border-radius: 4px; background: var(--paper); color: var(--ink); font-size: 14px; line-height: 1.35; }
.host-view-bar .button { flex: none; min-height: 36px; padding: 8px 14px; font-size: 13px; }
.guest-invitation { min-width: 0; display: flex; flex-direction: column; background: var(--invite-bg); color: var(--invite-ink); }
.guest-custom-design { width:100%; min-height:620px; border:0; background:white; }
.guest-selected-design .manual-art { width:100%; min-height:620px; aspect-ratio:4/5; border:0; }
.mobile-rsvp-jump { display:none; }
.guest-preset-card .preview-invite { min-height: 620px; border-radius: 0; }
.guest-invite-details { padding: 38px clamp(32px,6vw,68px) 48px; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.guest-invite-details .facts { margin: 0; border-color: color-mix(in srgb, currentColor 18%, transparent); }
.guest-invite-details .fact { border-color: color-mix(in srgb, currentColor 18%, transparent); }
.guest-invite-details .fact dt, .guest-invite-details .sub { color: inherit; opacity: .65; }
.manual-art-image { z-index:0; }
.preview-invite > .manual-art-image { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.preview-invite > :not(.manual-art-image) { position:relative; z-index:1; }
/* The style chosen is every line on the card — the line above, the title,
   the subtitle, the date and the place — not only the title. !important to
   outrank the editor's own type for its text boxes. */
.preview-invite.art-font-serif :is(.preview-kicker,.preview-title,.preview-subtitle,.preview-facts) { font-family:Baskerville,Georgia,"Times New Roman",serif !important; }
.preview-invite.art-font-grotesk :is(.preview-kicker,.preview-title,.preview-subtitle,.preview-facts) { font-family:Impact,"Arial Black",sans-serif !important; }
.preview-invite.art-font-grotesk .preview-title { text-transform:uppercase; }
.preview-invite.art-font-mono :is(.preview-kicker,.preview-title,.preview-subtitle,.preview-facts) { font-family:"Courier New",Courier,monospace !important; }
.preview-invite.art-align-left { align-items:flex-start; text-align:left; }
.preview-invite.art-align-right { align-items:flex-end; text-align:right; }
.preview-invite.art-layout-split { width:58%; margin-left:auto; border-left:1px solid currentColor; }
.preview-invite.art-layout-poster { justify-content:space-between; }
.preview-invite.art-image-background > .manual-art-image { opacity:.42; }
.preview-invite.art-image-top > .manual-art-image { height:46%; bottom:auto; }
.preview-invite.art-image-bottom > .manual-art-image { height:46%; top:auto; }
.manual-art svg { z-index:1; }
.manual-art-copy { z-index:2; }
.manual-art.art-font-sans .manual-art-copy strong { font-family:Arial,"Helvetica Neue",sans-serif !important; font-style:normal !important; }
.manual-art.art-font-serif .manual-art-copy :is(strong,small) { font-family:Baskerville,Georgia,"Times New Roman",serif !important; }
.manual-art.art-font-grotesk .manual-art-copy :is(strong,small) { font-family:Impact,"Arial Black",sans-serif !important; font-style:normal !important; }
.manual-art.art-font-grotesk .manual-art-copy strong { text-transform:uppercase; }
.manual-art.art-font-mono .manual-art-copy :is(strong,small) { font-family:"Courier New",Courier,monospace !important; font-style:normal !important; }
.manual-art.art-align-left .manual-art-copy { align-items:flex-start !important; text-align:left !important; }
.manual-art.art-align-center .manual-art-copy { align-items:center !important; text-align:center !important; }
.manual-art.art-align-right .manual-art-copy { align-items:flex-end !important; text-align:right !important; }
.manual-art.art-layout-split .manual-art-copy { width:56%; margin-left:auto; padding-left:4%; border-left:1px solid currentColor; }
.manual-art.art-layout-poster .manual-art-copy { justify-content:space-between; }
.manual-art.art-layout-poster .manual-art-copy strong { max-width:100% !important; font-size:clamp(38px,5vw,78px) !important; line-height:.78 !important; }
.manual-art.art-layout-photo .manual-art-copy { justify-content:flex-end; text-shadow:0 1px 12px rgba(0,0,0,.38); }
.manual-art.art-image-top .manual-art-image { height:46%; bottom:auto; }
.manual-art.art-image-top .manual-art-copy { padding-top:45%; }
.manual-art.art-image-bottom .manual-art-image { height:46%; top:auto; }
.manual-art.art-image-bottom .manual-art-copy { padding-bottom:45%; }
.manual-art.art-image-background .manual-art-image { opacity:.42; }
.manual-art.art-image-full .manual-art-image { opacity:1; }
.design-controls { margin:24px 0; }
.wysiwyg:not(.is-previewing) .editor-stage .manual-art .manual-art-copy [data-art-layer="title"] { cursor:grab; touch-action:none; }
.wysiwyg:not(.is-previewing) .editor-stage .manual-art.art-freeform .manual-art-copy [data-art-layer="title"]:active { cursor:grabbing; }
.wysiwyg:not(.is-previewing) .editor-stage .manual-art .manual-art-copy [data-art-layer="kicker"] { cursor:text; }
.wysiwyg:not(.is-previewing) .editor-stage .manual-art .manual-art-copy :is([data-art-layer="title"], [data-art-layer="kicker"]) { outline:1px dashed color-mix(in srgb, currentColor 40%, transparent); outline-offset:4px; }
.editor-stage .manual-art .manual-art-copy :is([data-art-layer="title"], [data-art-layer="kicker"]):focus-visible,
.editor-stage .manual-art .manual-art-copy :is([data-art-layer="title"], [data-art-layer="kicker"])[contenteditable="true"] { outline:2px solid var(--blue); outline-offset:5px; cursor:text; }
.guest-public-note { display:block; margin-top:4px; }
.canvas-controls, .design-versions { margin-top:22px; padding-top:20px; border-top:1px solid var(--line); }
.canvas-controls + .field { margin-top:22px; }
.canvas-controls > summary, .design-versions > summary { display:flex; flex-direction:column; gap:2px; cursor:pointer; font-weight:800; }
.canvas-controls > summary small, .design-versions > summary small { color:var(--muted); font-weight:400; }
.canvas-toolbar { display:flex; flex-wrap:wrap; gap:18px; padding:20px 0 16px; border-bottom:1px solid var(--line); }
.canvas-toolbar .linkish:disabled { color:var(--muted); cursor:not-allowed; }
.canvas-controls .linkish, .design-versions .linkish, .color-customizer .linkish { min-height:24px; }
.canvas-controls input[type="range"] { min-height:24px; }
.check-row { display:flex; align-items:center; gap:10px; color:var(--ink); font-size:14px; font-weight:500; cursor:pointer; }
.check-row input { width:20px; height:20px; margin:0; accent-color:var(--blue); }
/* "Show how many are going above the names" means something only where
   names are listed, and "Show everyone else how many are going" only when
   names are for a yes, or a yes or maybe; the other choices already say it. */
.count-to-others, .count-with-names { display:none; }
.settings-pane:has(select[name="guest_list_visibility"] :is(option[value="names"], option[value="after_yes"], option[value="after_rsvp"]):checked) .count-with-names { display:flex; }
.settings-pane:has(select[name="guest_list_visibility"] :is(option[value="after_yes"], option[value="after_rsvp"]):checked) .count-to-others { display:flex; }
.canvas-control-group { padding:22px 0; border-bottom:1px solid var(--line); }
.canvas-control-group h3 { margin:0 0 14px; font:600 16px/1.2 var(--display); letter-spacing:-.02em; }
.canvas-help { margin:8px 0 0; color:var(--muted); font-size:12px; line-height:1.45; }
.canvas-control-group .canvas-range-grid { padding:16px 0 0; }
.canvas-visibility { display:grid; grid-template-columns:1fr 1fr; gap:14px 24px; }
.editor-form input[type="file"] { min-height:24px; }
.photo-picker { margin-top:24px; padding-top:18px; border-top:1px solid var(--line); }
.photo-picker > summary { display:flex; align-items:baseline; gap:12px; cursor:pointer; font:600 18px/1.1 var(--display); letter-spacing:-.03em; }
.photo-picker > summary small { color:var(--muted); font:400 13px/1.3 var(--body, inherit); letter-spacing:normal; }
.photo-library { margin:18px 0; }
.photo-library-heading { display:flex; align-items:baseline; justify-content:space-between; gap:18px; margin-bottom:14px; }
.photo-library-heading h3 { margin:0; font:600 18px/1.1 var(--display); letter-spacing:-.03em; }
.photo-library-heading a, .photo-result figcaption a { color:inherit; }
.photo-library-heading > a { color:var(--muted); font-size:12px; }
.photo-search-row { display:grid; grid-template-columns:1fr auto; gap:10px; }
.photo-search-row input { width:100%; }
.photo-search-status, .photo-selection { min-height:18px; margin:10px 0; color:var(--muted); font-size:12px; }
.photo-selection { color:var(--ink); }
.photo-results { max-height:min(620px,70vh); display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px 10px; padding-right:8px; overflow-y:auto; overscroll-behavior:contain; scrollbar-gutter:stable; }
.photo-results:focus-visible { outline:2px solid var(--blue); outline-offset:4px; }
.photo-result { min-width:0; margin:0; }
.photo-result-image { display:block; width:100%; padding:0; border:1px solid transparent; border-radius:3px; background:transparent; overflow:hidden; cursor:pointer; }
.photo-result-image[aria-pressed="true"] { border:3px solid var(--blue); }
.photo-result-image:focus-visible { outline:3px solid var(--blue); outline-offset:2px; }
.photo-result-image img { display:block; width:100%; aspect-ratio:4/5; object-fit:cover; }
.photo-result figcaption { margin-top:6px; color:var(--muted); font-size:10px; line-height:1.35; }
.canvas-range-grid { display:grid; grid-template-columns:1fr 1fr; gap:17px 24px; padding:22px 0; }
.canvas-range-grid label { display:grid; grid-template-columns:1fr auto; gap:7px; color:var(--muted); font-size:12px; font-weight:700; }
.canvas-range-grid output { color:var(--ink); font-variant-numeric:tabular-nums; }
.canvas-range-grid input { grid-column:1/-1; width:100%; accent-color:var(--blue); }
.version-list { padding-top:10px; }
.version-list > div { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:11px 0; border-bottom:1px solid var(--line); color:var(--muted); font-size:12px; }
.editor-block-section { align-items:start; }
.block-editor-row { display:grid; grid-template-columns:120px 1fr; gap:10px; padding:18px 0; border-top:1px solid var(--line); }
.block-editor-row textarea, .block-editor-row input, .block-editor-row select { width:100%; }
.block-editor-row textarea, .block-editor-row input[type="url"] { grid-column:2; }
.block-editor-row .linkish { grid-column:2; justify-self:start; }
.preview-blocks { border-top:1px solid var(--line); }
.preview-detail-block { padding:18px 0; border-bottom:1px solid var(--line); }
.preview-detail-block strong { display:block; font:700 15px/1.2 var(--body); }
.preview-detail-block p { margin:6px 0 0; color:var(--muted); white-space:pre-wrap; }
.event-detail-blocks { margin-top:34px; border-top:1px solid currentColor; }
.event-detail-block { padding:24px 0; border-bottom:1px solid color-mix(in srgb,currentColor 18%,transparent); }
.event-detail-block h2 { margin:0 0 8px; font:700 22px/1.1 var(--display); }
.event-detail-block p { margin:0; white-space:pre-wrap; }
.event-detail-block img { width:100%; max-height:520px; object-fit:cover; }
.event-detail-faq h3 { margin:18px 0 4px; font:700 16px/1.3 var(--display); }
.event-detail-faq h2 + h3 { margin-top:12px; }
.event-lock { padding-top:110px; padding-bottom:140px; }
.event-lock h1 { margin:0 0 16px; font:700 clamp(48px,8vw,88px)/.9 var(--display); letter-spacing:-.065em; }
/* The host page's two bars. Answers in colour (validated as a categorical
   set: going, maybe, waitlist, can't go), the "nothing yet" states in
   neutral; a 2px surface gap between segments, 4px rounded ends. */
.host-charts { --seg-going:#2855e7; --seg-maybe:#eda100; --seg-waitlist:#4a3aa7; --seg-not_going:#e34948; --seg-awaiting:#a39a8f; --seg-not_emailed:#ddd6cc; --seg-opened:#2855e7; --seg-unopened:#ddd6cc;
  margin-top: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.host-chart { padding: 22px 24px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); min-width: 0; }
.host-chart-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.host-chart-head h2 { margin: 0; font: 600 18px/1.1 var(--display); letter-spacing: -.02em; }
.host-chart-head span { color: var(--muted); font-size: 13px; }
.stack { display: flex; gap: 2px; height: 28px; }
.stack-seg { display: flex; align-items: center; flex-basis: 0; min-width: 6px; height: 100%; overflow: hidden; cursor: default; outline-offset: 2px; transition: filter .15s; }
/* Each segment says what it is when that fits: "4 Going", else "4", else
   nothing (the script under host.html measures). The legend says it all
   either way. Dark words on the pale segments, white on the rest. */
.seg-label { padding: 0 8px; color: #fff; font-size: 12px; font-weight: 700; line-height: 1; white-space: nowrap; }
.seg-maybe .seg-label, .seg-awaiting .seg-label, .seg-not_emailed .seg-label, .seg-unopened .seg-label { color: var(--ink); }
.stack-seg.seg-short .seg-word, .stack-seg.seg-bare .seg-label { display: none; }
.stack-seg:first-child { border-radius: 4px 0 0 4px; }
.stack-seg:last-child { border-radius: 0 4px 4px 0; }
.stack-seg:only-child { border-radius: 4px; }
.stack-seg:hover, .stack-seg:focus-visible { filter: brightness(1.12); }
.seg-going { background: var(--seg-going); } .seg-maybe { background: var(--seg-maybe); } .seg-waitlist { background: var(--seg-waitlist); }
.seg-not_going { background: var(--seg-not_going); } .seg-awaiting { background: var(--seg-awaiting); } .seg-not_emailed { background: var(--seg-not_emailed); }
.seg-opened { background: var(--seg-opened); } .seg-unopened { background: var(--seg-unopened); }
.chart-legend { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.chart-legend li { display: flex; align-items: baseline; gap: 10px; font-size: 14px; color: var(--ink); }
.chart-key { flex: none; width: 10px; height: 10px; border-radius: 2px; transform: translateY(1px); }
.chart-legend-text { min-width: 0; }
.chart-legend-text strong { font-weight: 700; }
.chart-names { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.host-chart-foot { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 13px; }
.host-chart-foot strong { color: var(--ink); }
.chart-tip { position: fixed; z-index: 70; max-width: 280px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 4px; background: #fff; box-shadow: 0 10px 28px rgba(31,27,23,.14); pointer-events: none; font-size: 13px; }
.chart-tip strong { display: block; margin-bottom: 4px; font-size: 15px; color: var(--ink); }
.chart-tip span { display: block; color: var(--muted); white-space: pre-line; }
@media (max-width: 720px) {
  .host-charts { grid-template-columns: 1fr; }
}
.analytics-strip { display:flex; flex-wrap:wrap; gap:10px 28px; padding:18px 0; border-bottom:1px solid var(--line); color:var(--muted); }
.analytics-strip strong { color:var(--ink); }
.analytics-strip small { flex-basis:100%; }
.guest-organize-form { display:grid; gap:8px; min-width:min(320px,75vw); padding:10px 0; }
.guest-organize-form input { width:100%; }
.check-in { padding-top:54px; padding-bottom:100px; }
.check-in-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:24px; padding-bottom:34px; border-bottom:1px solid var(--line); }
.check-in-heading h1 { margin:0; font:700 clamp(54px,9vw,100px)/.85 var(--display); letter-spacing:-.07em; }
.check-in-heading p { color:var(--muted); }
.check-in-search { max-width:520px; margin:30px 0; }
.check-in-list { border-top:1px solid var(--line); }
.check-in-list article { display:flex; align-items:center; justify-content:space-between; gap:20px; min-height:92px; padding:16px 0; border-bottom:1px solid var(--line); }
.check-in-list article > div { display:grid; gap:2px; }
.check-in-list article strong { font:700 20px/1.2 var(--body); }
.check-in-list article span { color:var(--muted); }
.check-in-list button { min-width:110px; }
.description { margin-top: 30px; color: inherit; opacity: .88; }
.description p { margin: 0 0 14px; }
.guest-response { min-width: 0; padding: clamp(34px,5vw,64px); display: flex; flex-direction: column; background: var(--paper); }
.rsvp { margin: 0; padding: 0; background: transparent; }
.rsvp::before { content: "RSVP"; display: block; margin-bottom: 18px; color: var(--blue); font: 800 10px/1 var(--display); letter-spacing: .18em; }
.rsvp > h2, .guests > h2 { margin: 0 0 8px; font: 600 clamp(27px,3vw,36px)/1.02 var(--display); letter-spacing: -.045em; }
.rsvp .who { margin: 0 0 26px; font-size: 15px; line-height: 1.55; }
.rsvp .event-full { margin: 0 0 20px; }
.rsvp .event-full .full-message { margin: 0 0 8px; white-space: pre-line; }
.rsvp .event-full .hint { margin: 0; }
.rsvp { scroll-margin-top: 16px; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { position: relative; }
.choice input { position:absolute; inset:0; z-index:1; width:100%; height:100%; margin:0; opacity:0; cursor:pointer; }
.choice span { display: block; padding: 14px; border: 1px solid var(--line-strong); border-radius: 3px; text-align: center; cursor: pointer; font-weight: 700; }
.choice input:checked + span { border-color: var(--blue); background: var(--blue); color: white; }
.choice input:focus-visible + span { border-color:var(--blue); box-shadow:0 0 0 3px rgba(40,85,231,.16); }
.extras { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
/* Inside `.if-coming`, whose 16px gap already sits above it: the seats keep
   the same rhythm as every other field, not a gap of their own. */
.names-fields { display: flex; flex-direction: column; gap: 16px; }
.names-fields .seat { display: flex; flex-direction: column; gap: 16px; }
.names-fields[hidden], .seat[hidden] { display: none; }
.guest-response .primary { width: 100%; min-height: 52px; }
.guests { margin-top: 36px; padding: 28px; border: 0; border-radius: 4px; background: var(--response-tint); }
.guests > h2 { font-size: 20px; }
.names { list-style: none; margin: 0; padding: 0; color: var(--muted); }
.names li { padding: 3px 0; }
.state { margin-bottom: 16px; }
.guest-footer { margin-top: auto; padding-top: 42px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 12px; }
.guest-footer a { text-underline-offset: 3px; }

/* Host and event list */
.host-workspace { padding: 56px 0 110px; display:flex; flex-direction:column; }
.host-workspace > * { width:100%; }
.host-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 44px; padding-bottom: 38px; }
.host-hero-copy { min-width: 0; }
.host-hero h1 { max-width: 820px; margin: 14px 0 0; font: 500 clamp(48px,7vw,82px)/.9 var(--editorial); letter-spacing: -.06em; text-wrap: balance; }
.status-pill { width: fit-content; margin: 0; padding: 0; color: var(--muted); font: 800 10px/1 var(--display); letter-spacing: .11em; text-transform: uppercase; }
.status-pill > span { display: none; }
.status-live { background: #dff1e6; color: #175439; }
.status-cancelled { background: #f9dfdc; color: #8b3028; }
.host-linkbar { max-width: 620px; margin-top: 22px; padding: 10px 11px 10px 15px; display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); color: var(--muted); font-size: 13px; }
.host-linkbar > a { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.host-link-note { max-width: 640px; margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.host-link-note a { color: var(--blue); font-weight: 800; }
.host-rsvp-action { margin: 14px 0 0; display: flex; align-items: center; gap: 14px; font-size: 12px; }
.host-rsvp-action a { color: var(--blue); font-weight: 800; }
.copy-link { flex: none; padding: 7px 10px; border: 0; border-radius: 3px; background: #e4eaff; color: var(--blue); cursor: pointer; font-size: 12px; font-weight: 800; }
.host-actions { flex: none; display: flex; align-items: center; gap: 10px; }
.host-actions form { margin: 0; }
.host-workspace .band { background: var(--paper); }
/* Sections that fold, with a list of them that stays beside you. */
.host-layout { margin-top: 34px; display: grid; grid-template-columns: 170px minmax(0,1fr); gap: 36px; align-items: start; }
.host-toc { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 2px; }
.host-toc a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 4px; color: var(--muted); font-size: 14px; font-weight: 700; text-decoration: none; }
.host-toc a small { font-weight: 400; }
.host-toc a:hover, .host-toc a[aria-current="true"] { background: var(--paper); color: var(--ink); }
.host-sections { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.host-section { padding: 26px 28px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); scroll-margin-top: 24px; }
.host-section > summary { display: flex; align-items: center; gap: 18px; cursor: pointer; list-style: none; }
.host-section > summary::-webkit-details-marker { display: none; }
.host-section > summary h2 { margin: 0; font: 600 24px/1.1 var(--display); letter-spacing: -.035em; }
.host-section > summary::after { content: ""; flex: none; width: 8px; height: 8px; margin-left: auto; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); }
.host-section:not([open]) > summary::after { transform: rotate(-45deg); }
.host-section-body { margin-top: 18px; }
.host-section-body > :first-child { margin-top: 0; }
.host-requests { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.host-requests h2 { margin: 0 0 6px; font: 600 18px/1.1 var(--display); }
.add-guests { margin-bottom: 22px; scroll-margin-top: 16px; }
.roster-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.roster-tools .button { min-height: 36px; padding: 8px 14px; font-size: 13px; }
.link-asks { display: flex; flex-direction: column; gap: 8px; }
.link-ask-rows { display: flex; flex-direction: column; gap: 8px; }
.link-ask-row { display: grid; grid-template-columns: 1fr 140px auto; gap: 8px; align-items: center; }
.link-ask-row:empty { display: none; }
.link-asks > [data-link-add] { width: fit-content; }
.change-reply { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.change-reply > summary { cursor: pointer; color: var(--blue); font-size: 14px; font-weight: 700; }
.change-reply-form { display: flex; align-items: flex-end; gap: 8px; margin-top: 12px; }
/* An input in its own box inside its label. A password manager may put an
   empty element beside an input (LastPass does); loose in the label, it
   gets the label's gap and pushes the input up off the label's bottom edge,
   and a button lined up with that edge sits lower than the input. */
.control { display: flex; flex-direction: column; }
/* A button beside a field is the field's height. */
.form.inline > .button, .change-reply-form .button, .manage-field .button { min-height: 50px; }
.change-reply-form .field { flex: 1; margin: 0; }
.rsvp-emails { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.rsvp-emails .hint { margin: 0; font-size: 13px; }
/* A guest's status, and one Manage button whose actions say what they do. */
.guest-status { display: inline-block; color: var(--muted); }
.guest-status-going { color: #1f6f43; font-weight: 700; }
.guest-status-not_going, .guest-status-revoked { color: #8a8178; }
.roster td.status:has(.guest-manage) { white-space: nowrap; }
.guest-manage { position: relative; display: inline-block; margin-left: 14px; text-align: left; vertical-align: middle; white-space: normal; }
.guest-manage > summary { display: inline-block; padding: 5px 12px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); font-size: 13px; font-weight: 700; cursor: pointer; list-style: none; }
.guest-manage > summary::-webkit-details-marker { display: none; }
.guest-manage[open] > summary { background: var(--paper); }
.guest-manage-panel { position: absolute; top: calc(100% + 6px); right: 0; z-index: 20; width: min(340px, 80vw); padding: 8px; border: 1px solid var(--line); border-radius: 4px; background: #fff; box-shadow: 0 10px 28px rgba(31,27,23,.14); display: flex; flex-direction: column; gap: 2px; }
.guest-manage-panel form { margin: 0; }
.manage-action { display: block; width: 100%; padding: 9px 10px; border: 0; border-radius: 3px; background: transparent; color: var(--ink); font: 600 14px/1.3 inherit; text-align: left; text-decoration: none; cursor: pointer; }
.manage-action:hover { background: var(--paper); }
.manage-field { display: flex; align-items: flex-end; gap: 8px; padding: 10px; border-top: 1px solid var(--line); }
.manage-field label { flex: 1; display: flex; flex-direction: column; gap: 4px; color: var(--muted); font-size: 12px; font-weight: 700; }
.manage-field input { width: 100%; }
.manage-details { flex-direction: column; align-items: stretch; }
.manage-details fieldset { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.manage-details legend { margin-bottom: 4px; padding: 0; color: var(--muted); font-size: 12px; font-weight: 700; }
.manage-details label.check { flex-direction: row; align-items: center; gap: 8px; color: var(--ink); font-size: 14px; font-weight: 400; }
.manage-details label.check input { width: auto; margin: 0; }
.question-list { margin: 0 0 16px; padding-left: 20px; }
.question-list li { margin: 0 0 6px; }
.question-edit > summary { margin-top: 4px; color: var(--blue); font-size: 14px; font-weight: 700; cursor: pointer; }
.question-edit[open] > summary { margin-bottom: 10px; }
#questions .rowform .linkish { color: var(--blue); font-size: 14px; font-weight: 700; }
.manage-details .button { align-self: flex-start; }
@media (max-width: 720px) {
  /* A long status ("Emailed Oct 5 · no reply") and Manage do not fit one
     line on a phone: the status wraps and Manage sits under it. After the
     rules above, which it overrides. */
  .roster td.status:has(.guest-manage) { white-space: normal; }
  .guest-manage { display: block; margin: 6px 0 0; text-align: right; }
  .guest-manage-panel { text-align: left; }
}
.compose { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.compose h3 { margin: 0 0 14px; font: 600 18px/1.1 var(--display); letter-spacing: -.02em; }
.send-status { margin: 0 0 14px; font-size: 16px; line-height: 1.5; }
.host-section .previews { margin-top: 22px; }
.reminder-preview { height: 520px; margin: 4px 0 14px; }
.host-workspace .previews .band { overflow: hidden; padding: 18px; }
.host-workspace .previews .band > h2 { padding: 5px 4px 10px; }
.host-workspace .preview { border-radius: 4px; }
.host-workspace section[id] { scroll-margin-top: 76px; }
.app-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 48px; }
.app-heading .tagline { max-width: 610px; }
.event-section { margin-top: 44px; }
.event-section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.event-section-title h2 { margin: 0; font: 600 24px/1 var(--display); letter-spacing: -.035em; }
.event-section-title > span { color: var(--muted); font-size: 13px; }
.event-card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 17px; }
.event-tile { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); text-decoration: none; }
.event-tile-art { aspect-ratio: 4/5; padding: 0; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.event-tile-art > .manual-art { width:100%; height:100%; aspect-ratio:auto; border:0; }
.event-art-title { max-width: 90%; font: 600 30px/.93 var(--display); letter-spacing: -.04em; }
.event-theme-supper .event-tile-art { background: #f1c49b; color: #4c2119; }
.event-theme-after_dark .event-tile-art { background: #1c1830; color: #d8ff58; }
.event-theme-garden .event-tile-art { background: #d7e4bd; color: #214b36; }
.event-theme-celebration .event-tile-art { background: #ff8069; color: #f8ed67; }
.event-theme-editorial .event-tile-art { background: #e7e1d5; color: #1f1b17; }
.event-tile-body { min-height: 105px; padding: 18px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.event-tile-body b { display: block; font: 600 17px/1.15 var(--display); letter-spacing: -.025em; }
.event-tile-body small { display: block; margin-top: 6px; color: var(--muted); line-height: 1.45; }
.empty-events { min-height:360px; padding:54px 0; border-block:1px solid var(--line); border-radius:0; background:#fff; display:grid; grid-template-columns:1fr; align-items:center; }
.empty-events h2 { margin: 0; font: 500 clamp(38px,5vw,58px)/.95 var(--editorial); letter-spacing: -.05em; }
.empty-events > div:last-child > p { color:var(--muted); font-size:17px; max-width:500px; }
.past-events { margin-top: 64px; }
.previews { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.previews .band { margin-top: 36px; }
.preview { width: 100%; height:620px; border: 1px solid var(--line); border-radius: 4px; background: white; }
/* No scrollbar of their own: the page sizes them to their content. */
.preview[data-fit] { overflow: hidden; }
.embed-preview { width: min(100%, 360px); height: auto; aspect-ratio: 360 / 500; }
.snippet { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.rows { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin-top: 18px; }
a.row { min-height: 142px; padding: 20px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); text-decoration: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.row-main { display: flex; flex-direction: column; gap: 7px; }
.row-title { font: 600 20px/1.05 var(--display); letter-spacing: -.035em; }
.row-meta { color: var(--muted); font-size: 13px; }
.row-side { padding: 0; color: #493c68; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.row-card { position: relative; display: grid; }
.row-card > a.row { padding-bottom: 72px; }
.row-action { position: absolute; left: 20px; bottom: 20px; }
.roster { width: 100%; border-collapse: collapse; margin-top: 14px; }
/* `anywhere`, not `break-word`: only it lets a long link or address shrink the
   table's own width. Without it one LinkedIn URL makes the table wider than a
   phone, and the phone zooms the whole page out to fit it. */
.roster td { padding: 14px 0; border-top: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.roster .status { width: 42%; text-align: right; color: var(--muted); font-size: 13px; }
.rowform { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-left: 8px; }
.rowform form { display: inline; }
.rowform input[type="number"] { width: 76px; min-height: 34px; padding: 5px 8px; }
.row-more { display: inline-block; }
.row-more summary { color: var(--blue); cursor: pointer; list-style: none; }
.note-row td { padding-top: 0; }
.note { color: var(--muted); }
.send { background: #dfe8ff; border-color: rgba(40,85,231,.2); }

.send-review { max-width:980px; padding-block:64px 110px; }
.send-review header h1 { margin:0; font:600 clamp(48px,7vw,78px)/.92 var(--display); letter-spacing:-.06em; }
.send-review header p { margin:14px 0 0; color:var(--muted); font-size:17px; }
.send-review-summary { margin-top:36px; display:grid; grid-template-columns:1fr 2fr; border-block:1px solid var(--line); }
.send-review-summary > div { min-height:110px; padding:24px 0; display:flex; flex-direction:column; justify-content:center; }
.send-review-summary > div + div { padding-left:28px; border-left:1px solid var(--line); }
.send-review-summary strong { font:600 24px/1.15 var(--display); }
.send-review-summary span { margin-top:7px; color:var(--muted); font-size:13px; }
.send-review-preview { margin-top:42px; }
.send-review-preview h2 { margin:0 0 14px; font-size:22px; }
.send-review-preview iframe { width:100%; height:640px; border:1px solid var(--line); background:#fff; }
.send-review-actions { margin-top:32px; display:grid; grid-template-columns:1fr auto; align-items:center; gap:18px 30px; }
.send-review-actions p { max-width:560px; margin:0; color:var(--muted); font-size:14px; }
.send-review-actions > a { grid-column:2; justify-self:end; font-size:13px; }

.cancel-review { max-width:1080px; padding-block:64px 110px; }
.cancel-review > header { padding-bottom:34px; border-bottom:1px solid var(--line); }
.cancel-review > header h1 { margin:0; font:600 clamp(48px,7vw,78px)/.92 var(--display); letter-spacing:-.06em; }
.cancel-review > header p { margin:14px 0 0; color:var(--muted); font-size:17px; }
.cancel-review-layout { display:grid; grid-template-columns:minmax(280px,.72fr) minmax(440px,1.28fr); gap:56px; padding-top:38px; align-items:start; }
.cancel-review-layout h2 { margin:0; font:600 22px/1.1 var(--display); letter-spacing:-.035em; }
.cancel-review-message > p { margin:9px 0 0; color:var(--muted); font-size:14px; }
.cancel-review-message .form { margin-top:24px; }
.cancel-review-actions { display:flex; align-items:center; flex-wrap:wrap; gap:20px; }
.cancel-review-actions a { font-size:14px; font-weight:700; text-underline-offset:4px; }
.cancel-review-preview iframe { width:100%; height:640px; margin-top:14px; border:1px solid var(--line); background:#fff; }

/* Account and developer settings */
.account-page { padding: 58px 0 110px; }
.account-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 50px; margin-bottom: 46px; }
.account-heading h1 { margin: 10px 0 0; font: 500 clamp(50px,7vw,78px)/.92 var(--editorial); letter-spacing: -.06em; }
.account-heading > p { max-width: 430px; margin: 0; color: var(--muted); font-size: 17px; }
.account-page > .band { max-width: 900px; background: var(--paper); }
.account-page > .band:nth-of-type(even) { margin-left: auto; }
.plan-name { margin:22px 0 20px; font:700 clamp(42px,6vw,64px)/1 var(--display); letter-spacing:-.055em; }
.plan-upgrade { margin-top:0; }
.plan-upgrade > summary { list-style:none; width:max-content; }
.plan-upgrade > summary::-webkit-details-marker { display:none; }
.plan-upgrade[open] > summary { margin-bottom:18px; }
.upgrade-table { width:min(620px,100%); border:1px solid var(--line); }
.upgrade-table-head, .upgrade-row { display:grid; grid-template-columns:minmax(110px,1fr) 90px 110px 70px; align-items:center; gap:10px; padding:10px 12px; }
.upgrade-table-head { color:var(--muted); font:700 10px/1.2 var(--display); letter-spacing:.08em; text-transform:uppercase; }
.upgrade-row { min-height:54px; border-top:1px solid var(--line); }
.upgrade-row strong { font-size:18px; }
.upgrade-row b { font-size:14px; }
.upgrade-row > span { color:var(--green); font-size:12px; font-weight:700; }
.upgrade-row .button { min-height:34px; padding:7px 10px; }
.upgrade-row .button:disabled { cursor:not-allowed; opacity:.42; }
.copy-shell { margin-top: 16px; position: relative; }
.copy-shell .code { min-height: 72px; margin: 0; padding: 22px 128px 22px 22px; border: 1px solid #303036; background: #111113; }
.copy-shell-button { position: absolute; top: 12px; right: 12px; padding: 9px 11px; border: 1px solid #3c3c42; border-radius: 3px; background: #242429; color: #dcdce1; cursor: pointer; font: 700 12px/1 var(--body); }
.copy-shell-button:hover { background: #303037; color: white; }

/* API reference */
.api-docs-page { padding-top: 66px; }
.api-docs-hero { padding-bottom: 60px; display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 60px; }
.api-docs-hero h1 { margin: 14px 0 0; font: 500 clamp(52px,7vw,86px)/.88 var(--editorial); letter-spacing: -.065em; text-wrap: balance; }
.api-docs-intro { color: var(--muted); font-size: 17px; }
.api-docs-intro > p:last-child { margin: 25px 0 0; display: flex; align-items: center; gap: 20px; }
.text-link { color: var(--blue); font-size: 13px; font-weight: 800; }
.api-docs-shell { overflow: hidden; border-top: 1px solid var(--line); background: white; }
.api-docs-shell #scalar-api-reference { min-height: 80vh; }

/* Copyable code and agent drawer */
.code { margin: 14px 0 0; padding: 17px; border-radius: 4px; background: #171719; color: #eeeef1; font: 13px/1.65 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; overflow-x: auto; white-space: pre; }
.code.wrap { white-space: pre-wrap; overflow-wrap: anywhere; }
.handover { width: min(1040px, calc(100% - 48px)); margin: 0 auto 70px; }
.handover details { padding: 22px; border: 1px solid var(--line); border-radius: 4px; background: rgba(255,255,255,.45); }
.handover summary { display: flex; justify-content: space-between; gap: 14px; cursor: pointer; font-weight: 700; }
.handover summary .sub { display: inline; }

/* An empty section still has something the host can do about it. */
.empty-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; }

/* Pricing and help: one narrow column of bands. */
.info-page { max-width: 760px; padding-block: 56px 88px; }
.info-heading h1 { margin: 0; font: 600 clamp(40px,7vw,64px)/1 var(--display); letter-spacing: -.05em; }
.info-heading p { margin: 14px 0 0; color: var(--muted); font-size: 18px; }
.info-heading .info-kicker { margin: 0 0 10px; font-size: 14px; }
.info-page .band { background: var(--paper); }
.info-page .band > h2 a { color: inherit; }
.info-page .band p { max-width: 62ch; line-height: 1.55; }
.info-list { margin: 0 0 20px; padding-left: 20px; line-height: 1.8; }
.info-page .upgrade-table-head, .info-page .upgrade-row { grid-template-columns: minmax(110px,1fr) 90px 110px; }
.info-page .code { white-space: pre-wrap; overflow-wrap: anywhere; }
.site-footer { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 34px 0 46px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 24px; color: var(--muted); font-size: 13px; }
.site-footer p { margin: 0; text-align: center; }
.site-footer nav { display: flex; justify-content: flex-end; gap: 20px; }
.site-footer nav a { color: var(--muted); }

/* Carly editorial system. Invitation colors remain expressive by request;
   the surrounding product stays flat, typographic and deliberately quiet. */
:root { --editorial: var(--display); --shadow: none; --radius: 4px; }
html { scroll-behavior: auto; }
body, h1, h2, h3, h4, h5, h6, em, i { font-style: normal; }
h1, h2, h3, h4, h5, h6 { font-family: var(--display) !important; }
*, *::before, *::after { transition: none !important; animation: none !important; }

.nav-cta,
.button, a.button, button.button, button.primary,
input, select, textarea,
.notice, .band, .auth-shell, .auth-invite,
.editor-section, .theme-choice > span, .theme-swatch,
.color-customizer, .color-customizer input[type="color"],
.preview-invite, .preview-button, .guest-layout, .choice span, .guests,
.host-linkbar, .copy-link, .host-chart, .host-toc a,
.event-tile, .empty-events, .preview, a.row, .row-side,
.agent-demo, .agent-prompt, .agent-runs, .agent-result,
.code-window, .code, .handover details, .copy-shell-button {
  border-radius: 4px;
}

.button, a.button, button.button, button.primary,
.nav-cta, .preview-button { border-radius: 3px; }
.button:hover, button.primary:hover, .template:hover, .event-tile:hover, a.row:hover {
  transform: none;
  box-shadow: none;
}
.navlinks a:not(.nav-cta):hover { color: inherit; background: transparent; }
.copy-shell-button:hover { background:#242429; color:#dcdce1; }

.invite-card, .template, .agent-demo, .code-window, .auth-shell, .auth-invite,
.preview-invite, .guest-layout, .host-chart, .host-workspace .band,
.event-tile, a.row { box-shadow: none; }
.template { border-radius:4px; }
.theme-after-dark::before, .theme-birthday::before,
.auth-art::before, .auth-art::after,
.event-tile-art::after { display:none; }

.hero h1, .section-heading h2, .planning-copy h2, .developer-copy h2,
.closing-cta h2, .invite-body h2, .template-title, .template-monogram,
.auth-panel h1, .auth-invite h2, .editor-heading h1, .preview-invite .preview-title,
.host-hero h1, .event-art-title, .empty-events h2,
.account-heading h1, .api-docs-hero h1 {
  font-family:var(--display);
  font-style:normal;
}
.hero h1 { font-weight:600; }

.invite-rsvp, .auth-rsvp { border-radius:3px; }
.auth-invite { transform:none; }
.note { font-style:normal; }

.agent-demo { box-shadow:none; border:1px solid #39393f; }

.feature-grid { display:grid; grid-template-columns:1fr; gap:0; margin-top:50px; border-bottom:1px solid var(--line); }
.feature-card { min-height:0; padding:34px 0; display:grid; grid-template-columns:minmax(220px,.7fr) minmax(0,1.3fr); gap:48px; border-top:1px solid var(--line); border-radius:0; background:transparent !important; }
.feature-card h3 { margin:0; font-size:30px; }
.feature-card p { max-width:620px; font-size:17px; }
.status-pill { padding:0; border-radius:0; background:transparent; color:var(--muted); }
.status-pill > span { display:none; }
.row-side { padding:0; border-radius:0; background:transparent; color:var(--muted); }
.guest-page { background:var(--ground); }
.rsvp::before { content:none; }
.handover details { background:transparent; }

@media (max-width: 980px) {
  .guest-page { padding: 24px; }
  .guest-layout { grid-template-columns: 1fr; max-width: 700px; }
  .hero { grid-template-columns: 1fr; padding-top: 70px; }
  .hero-copy { max-width: 720px; }
  .invitation-stage { width: min(700px,100%); margin-inline: auto; }
  .template-grid { grid-template-columns: repeat(2,1fr); }
  .manual-design-grid, .homepage-designs { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .planning-grid, .developer-grid { grid-template-columns: 1fr; }
  .agent-demo { margin: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-art { min-height: 590px; }
  .event-card-grid { grid-template-columns: repeat(2,1fr); }
  .editor-layout { grid-template-columns: 1fr; }
  .live-preview { position: static; max-width: 540px; margin: 0 auto; width: 100%; }
  .host-hero { align-items: flex-start; flex-direction: column; }
  /* Content-sized under flex-start, the copy came out wider than a phone and
     pushed the page sideways, clipping the date and the Copy link button. */
  .host-hero-copy { align-self: stretch; }
  .invitation-mega-inner { grid-template-columns:repeat(3,1fr); }
  .invitation-mega .make-own { padding-left:0; border-left:0; }
}

@media (max-width: 720px) {
  .host-layout { grid-template-columns: 1fr; margin-top: 24px; }
  .host-toc { display: none; }
  .host-section { padding: 22px; }
  .guest-page { padding: 0; background: var(--invite-bg); }
  .guest-layout { min-height: 100vh; border: 0; border-radius: 0; box-shadow: none; }
  .host-view-bar { margin: 0; border-width: 0 0 1px; border-radius: 0; }
  .guest-invite-details { padding: 28px 26px 36px; }
  .guest-response { padding: 42px 24px; }
  .shell, .topbar, .card.wide, .handover, .site-footer { width: min(100% - 32px, 1180px); }
  .topbar { min-height: 66px; }
  .navlinks { display:none; }
  .mobile-menu { display:block; }
  .mobile-menu summary { min-width:64px; min-height:44px; display:flex; align-items:center; justify-content:flex-end; }
  .mobile-menu nav { gap:0; padding:8px 14px; }
  .mobile-menu nav a, .mobile-menu nav button { width:100%; min-height:44px; display:flex; align-items:center; }
  .desktop-link { display: none; }
  .navlinks { gap: 14px; }
  .navlinks > a:not(.nav-cta):last-of-type { display: none; }
  .brand-mark { width: 27px; height: 27px; }
  .invitation-mega { top:66px; max-height:calc(100vh - 66px); }
  .invitation-mega-inner { width:calc(100% - 32px); padding:28px 0 36px; grid-template-columns:1fr 1fr; gap:28px 20px; }
  .hero { min-height: auto; padding-block: 54px 64px; }
  .hero h1 { font-size: clamp(46px,13vw,68px); }
  .hero-lede { font-size: 18px; }
  .invitation-stage { min-height: 480px; }
  .invite-card-main { min-width: 0; width: min(390px,100%); }
  .invite-body h2 { font-size: 44px; }
  .section { padding-block: 82px; }
  .split-heading { grid-template-columns: 1fr; gap: 20px; }
  .template-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .manual-design-grid, .homepage-designs { grid-template-columns:1fr 1fr; gap:34px 12px; }
  .gallery-heading { align-items:flex-start; flex-direction:column; gap:22px; }
  .gallery-heading h1 { font-size:clamp(48px,14vw,72px); }
  .hero-invitations { grid-template-columns:1fr 1fr; gap:10px; }
  .hero-design-side { margin-top:58px; }
  .template { padding: 17px; }
  .template-title { font-size: clamp(23px,7vw,34px); }
  .template-number { font-size: 100px; }
  .feature-card { min-height: 0; grid-template-columns:1fr; gap:10px; }
  .planning-section, .developer-section { padding-block: 90px; }
  .agent-demo { padding:16px; border-radius:4px; }
  .message { max-width: 94%; }
  .agent-demo-top { align-items:flex-start; flex-direction:column; }
  .code-panel { padding: 20px; font-size: 12px; }
  .site-footer { grid-template-columns: 1fr; text-align: left; }
  .site-footer p { text-align: left; }
  .site-footer nav { justify-content: flex-start; }
  .site-footer nav a, .auth-options > a:not(.button), .hero-actions .text-link, .gallery-heading > .text-link, .check-in-heading > a, .host-rsvp-action > a { min-height:44px; display:inline-flex; align-items:center; }
  .previews, .rows { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; }
  .auth-shell { width: calc(100% - 24px); margin-top: 20px; border-radius: 4px; }
  .auth-panel { padding: 42px 24px; }
  .auth-art { min-height: 520px; padding: 38px 24px; }
  .app-heading { align-items: flex-start; flex-direction: column; }
  .event-card-grid { grid-template-columns: 1fr; }
  .empty-events { padding: 30px; grid-template-columns: 1fr; }
  .event-editor { padding-top: 38px; }
  .editor-heading { align-items: flex-start; flex-direction: column; }
  .editor-section { padding: 22px; }
  .canvas-range-grid { grid-template-columns:1fr; }
  .photo-results { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .layer-row { grid-template-columns:24px 1fr auto auto; }
  .theme-picker { grid-template-columns: repeat(3,1fr); }
  .preview-invite { min-height: 520px; padding: 32px; }
  .host-workspace { padding-top: 38px; }
  .host-hero h1 { font-size: clamp(48px,15vw,68px); }
  .audience-options { grid-template-columns:1fr; }
  .copy-link, .roster-tools .button { min-height:44px; }
  .host-rsvp-action { flex-wrap:wrap; }
  .preview { height:520px; }
  .guest-selected-design .manual-art { min-height:0; }
  .mobile-rsvp-jump { margin:0; min-height:52px; display:grid; place-items:center; border-block:1px solid color-mix(in srgb,currentColor 18%,transparent); color:inherit; font-weight:800; text-decoration:none; }
  .send-review { padding-block:42px 80px; }
  .send-review-summary { grid-template-columns:1fr; }
  .send-review-summary > div + div { padding-left:0; border-left:0; border-top:1px solid var(--line); }
  .send-review-actions { grid-template-columns:1fr; }
  .send-review-actions > a { grid-column:auto; justify-self:start; }
  .cancel-review { padding-block:42px 80px; }
  .cancel-review-layout { grid-template-columns:1fr; gap:42px; }
  .cancel-review-preview iframe { height:520px; }
  .account-page { padding-top: 40px; }
  .account-heading { grid-template-columns: 1fr; gap: 20px; }
  .upgrade-table-head, .upgrade-row { grid-template-columns:minmax(76px,1fr) 58px 70px 52px; gap:6px; padding-inline:9px; }
  .upgrade-row .button { min-height:36px; padding-inline:7px; }
  .copy-shell .code { padding-right: 22px; padding-top: 64px; }
  .api-docs-page { padding-top: 42px; }
  .api-docs-hero { grid-template-columns: 1fr; gap: 26px; padding-bottom: 42px; }
}

@media (max-width: 460px) {
  .wordmark > span:last-child { display: none; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .invitation-stage { width: 100%; }
  .template-grid { grid-template-columns: 1fr; }
  .manual-design-grid, .homepage-designs { grid-template-columns:1fr; }
  .invitation-gallery .manual-design-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px 10px; }
  .invitation-gallery .manual-art-copy strong { font-size:clamp(20px,7vw,28px); }
  .invitation-gallery .manual-design-meta { font-size:11px; }
  .invitation-gallery .manual-design-meta > span { display:none; }
  .hero-invitations { grid-template-columns:1fr; }
  .hero-design-side { display:none; }
  .template { aspect-ratio: 4/4.6; }
  .fact { grid-template-columns: 1fr; gap: 4px; }
  .choices { grid-template-columns: 1fr; }
  .roster .status { width: 45%; }
  .host-rsvp-action .button { width:100%; }
  .check-in-heading, .check-in-list article { align-items:flex-start; }
  .editor-submit { padding:12px 0 calc(12px + env(safe-area-inset-bottom)); border-top:1px solid var(--line); }
  .editor-submit button.primary { width:100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Reminders: the switch, the two it looks after, and the composer folded below. */
.auto-reminders { margin: 0 0 6px; }
.auto-reminder-lines td { color: var(--ink); }
.auto-reminder-lines.is-off td { color: var(--muted); }
.compose-more { margin-top: 18px; }
.compose-more > summary { cursor: pointer; font-weight: 600; color: var(--blue); list-style: none; }
.compose-more > summary::-webkit-details-marker { display: none; }
.compose-more > summary::before { content: "+ "; }
.compose-more[open] > summary::before { content: "− "; }
.compose-more > form { margin-top: 14px; }

/* ---------------------------------------------------------------------------
   The editor is the invitation: the guest page's own layout and classes, with
   the words typed into fields that look like the words. Design opens as a
   drawer beside the card; Settings as one window with tabs.
   --------------------------------------------------------------------------- */
.event-editor.wysiwyg { padding: 0 0 110px; }
.editor-bar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 18px; padding: 12px clamp(16px,3vw,32px); border-bottom: 1px solid var(--line); background: var(--paper); }
.editor-bar-title { margin: 0; font: 600 18px/1.1 var(--display); letter-spacing: -.02em; }
.editor-close { color: var(--muted); font-size: 14px; font-weight: 700; }
.editor-bar-actions { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.editor-bar-actions .button { min-height: 40px; padding: 10px 16px; }
.editor-notice { width: min(1120px, calc(100% - 32px)); margin: 16px auto 0; }
.editor-stage.guest-page { min-height: 0; padding: clamp(16px,3vw,40px) clamp(16px,3vw,40px) 0; }
.editor-stage .guest-layout { min-height: 0; }

/* Fields that look like the words they hold. Specific enough to beat the
   site's form-field rule, and silent about font so the card's own type —
   title size, theme capitals, the chosen face — is what applies. */
.wysiwyg .card-field, .wysiwyg .page-field {
  width: 100%; max-width: 100%; min-width: 0; min-height: 0; padding: 2px 6px; border: 0; border-radius: 3px;
  background: transparent; color: inherit; text-align: inherit; resize: none; overflow: hidden;
  box-shadow: none; field-sizing: content;
  outline: 1px dashed color-mix(in srgb, currentColor 24%, transparent); outline-offset: 2px;
}
/* `:empty` is how the card hides an unused line, and a field is always
   empty to it; here an unused line is a place to type. */
.wysiwyg .preview-invite .card-field { display: block; }
.wysiwyg .card-field::placeholder, .wysiwyg .page-field::placeholder { color: currentColor; opacity: .5; }
.wysiwyg:not(.is-previewing) .card-field:hover, .wysiwyg:not(.is-previewing) .page-field:hover { background: color-mix(in srgb, currentColor 7%, transparent); }
.wysiwyg .card-field:focus, .wysiwyg .page-field:focus { border-color: transparent; background: color-mix(in srgb, currentColor 9%, transparent); box-shadow: none; outline: 2px solid color-mix(in srgb, currentColor 55%, transparent); }
.wysiwyg .preview-invite .card-field.preview-kicker { font: 700 10px/1.5 var(--display); letter-spacing: .16em; text-transform: uppercase; }
.wysiwyg .preview-invite .card-field.preview-subtitle { font: inherit; font-size: 16px; line-height: 1.35; }
.wysiwyg .preview-invite .card-field.preview-title { line-height: .95; }
.wysiwyg .page-field.sub { font-size: 14px; opacity: .7; }
.wysiwyg .description.page-field { margin-top: 30px; font: inherit; line-height: 1.55; white-space: pre-wrap; }
.preview-invite > .card-photo-button { position: absolute; right: 16px; bottom: 16px; z-index: 3; padding: 8px 14px; border: 0; border-radius: 999px; background: rgba(255,255,255,.92); color: #1f1b17; font: 700 13px/1 var(--body); cursor: pointer; box-shadow: 0 2px 12px rgba(0,0,0,.18); }
.font-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px clamp(32px,6vw,68px) 0; }
.font-chip input { position: absolute; opacity: 0; pointer-events: none; }
.font-chip span { display: inline-block; padding: 8px 14px; border: 1px solid color-mix(in srgb, currentColor 35%, transparent); border-radius: 999px; font-size: 14px; cursor: pointer; }
.font-chip input:checked + span { background: currentColor; }
.font-chip input:checked + span { color: var(--invite-bg); background: var(--invite-ink); border-color: var(--invite-ink); }
.font-chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.font-chip-sans span { font-family: var(--display); font-weight: 600; }
.font-chip-serif span { font-family: Baskerville, Georgia, "Times New Roman", serif; }
.font-chip-grotesk span { font-family: Impact, "Arial Black", sans-serif; text-transform: uppercase; }
.font-chip-mono span { font-family: "Courier New", Courier, monospace; }
.wysiwyg .when-fields { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.wysiwyg .when-fields .page-field { width: auto; }
.when-to { opacity: .65; font-size: 14px; }
/* The place and the address, each saying on its own line who sees it. */
.seen-field { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.wysiwyg .seen-field > .page-field { flex: 1 1 12em; width: auto; }
.seen-tag { appearance: none; flex: none; padding: 2px 0; border: 0; background: none; color: inherit; opacity: .6; font: 400 12px/1.4 var(--body); white-space: nowrap; text-decoration: underline dotted; text-underline-offset: 3px; cursor: pointer; }
.seen-tag:hover { opacity: .9; }
.zone-button, .editor-hint { appearance: none; display: inline-block; margin-top: 4px; padding: 2px 6px; border: 0; background: none; color: inherit; opacity: .7; font: 400 13px/1.4 var(--body); text-align: left; text-decoration: underline dotted; text-underline-offset: 3px; cursor: pointer; }
.block-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip { appearance: none; padding: 8px 13px; border: 1px solid color-mix(in srgb, currentColor 38%, transparent); border-radius: 999px; background: transparent; color: inherit; font: 600 13px/1 var(--body); cursor: pointer; }
.chip:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
.editor-blocks:empty { display: none; }
.editor-block { display: flex; flex-direction: column; gap: 6px; }
.wysiwyg .editor-block .block-title { font: 700 22px/1.15 var(--display); }
.wysiwyg .editor-block .block-body { white-space: pre-wrap; }
.wysiwyg .editor-block.event-detail-faq .block-title { font: 700 16px/1.3 var(--display); }
.editor-block.event-detail-faq h2 { margin: 0; }
.editor-block.event-detail-faq:has(+ .event-detail-faq) { padding-bottom: 0; border-bottom: 0; }
.editor-block.event-detail-faq + .event-detail-faq { padding-top: 12px; }
.block-remove { align-self: flex-start; color: inherit !important; opacity: .65; font-size: 13px !important; }
.editor-under-card { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; font-size: 12px; }
.preview-choices .choice span { cursor: default; }
.preview-extras input:disabled, .preview-extras select:disabled, .preview-extras textarea:disabled { background: var(--paper); cursor: default; }
.preview-extras textarea { min-height: 70px; }
.preview-extras button.primary:disabled { opacity: 1; cursor: default; }
.preview-extras[hidden], .preview-choices[hidden] { display: none; }
.editor-summary { margin-top: 28px; padding-top: 6px; display: flex; flex-direction: column; }
.summary-line { appearance: none; display: flex; justify-content: space-between; gap: 14px; width: 100%; padding: 11px 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--muted); font: 400 14px/1.3 var(--body); text-align: left; cursor: pointer; }
.summary-line b { color: var(--ink); font-weight: 600; text-align: right; }
.summary-line:hover b { color: var(--blue); }
.editor-summary .button { margin-top: 16px; align-self: flex-start; }
.sample-tag { margin: 0 0 10px; color: var(--muted); font-size: 11px; }

/* Preview: what a guest gets. Empty fields go, as they do on the real page. */
.wysiwyg .preview-only, .editor-preview-banner { display: none; }
.wysiwyg.is-previewing .preview-only:not([hidden]) { display: block; }
.wysiwyg.is-previewing span.preview-only:not([hidden]) { display: inline; }
.wysiwyg.is-previewing .guest-footer.preview-only { display: flex; }
.wysiwyg.is-previewing .editor-preview-banner { display: block; width: min(1120px, calc(100% - 32px)); margin: 14px auto 0; padding: 10px 14px; border-radius: 4px; background: #eef2ff; font-size: 14px; }
.wysiwyg.is-previewing .editor-only, .wysiwyg.is-previewing .editor-bar-actions > :not([data-preview-toggle]) { display: none !important; }
.wysiwyg.is-previewing .card-field, .wysiwyg.is-previewing .page-field { outline: none; cursor: default; }
.wysiwyg.is-previewing .card-field:placeholder-shown, .wysiwyg.is-previewing .page-field:placeholder-shown { display: none; }
.wysiwyg.is-previewing .zone-button { pointer-events: none; text-decoration: none; }
.wysiwyg.is-previewing .page-field.held-back { display: none; }
.wysiwyg.is-previewing .card-field, .wysiwyg.is-previewing .page-field { padding-inline: 0; }
.editor-preview-banner .linkish { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Design, beside the card. */
.editor-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 40; width: min(420px, 100%); overflow-y: auto; overscroll-behavior: contain; padding: 0 24px 40px; border-left: 1px solid var(--line); background: var(--paper); box-shadow: -18px 0 50px rgba(31,27,23,.12); }
.drawer-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); background: var(--paper); }
.drawer-tabs { display: none; }
.drawer-tabs button { appearance: none; padding: 8px 12px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: 700 13px/1 var(--body); white-space: nowrap; cursor: pointer; }
.drawer-tabs button[aria-current="true"] { background: var(--ink); color: var(--paper); }
.drawer-head h2, .settings-head h2 { margin: 0; font: 600 22px/1 var(--display); letter-spacing: -.03em; }
.drawer-head .button, .settings-head .button { min-height: 38px; padding: 8px 16px; }
.drawer-section { padding: 22px 0; border-bottom: 1px solid var(--line); }
.drawer-section > h3 { margin: 0 0 14px; font: 600 16px/1.2 var(--display); letter-spacing: -.02em; }
.editor-drawer .theme-picker { margin-bottom: 0; }
.editor-drawer .color-customizer { margin: 0; }
.line-colors { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 14px; font-size: 12px; font-weight: 700; }
.line-colors .line-color-label { display: inline-flex; align-items: center; gap: 8px; }
.canvas-visibility { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 16px; }
.photo-palette { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 12px; font-weight: 700; }
.photo-palette-swatches { display: flex; gap: 8px; }
.palette-swatch { width: 34px; height: 34px; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%; cursor: pointer; }
.palette-swatch:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.event-editor.drawer-open .editor-stage { padding-right: calc(min(420px, 100%) + 24px); }
.event-editor.drawer-open .guest-layout { grid-template-columns: minmax(0,1fr); }

/* Settings, one window. */
.editor-settings { width: min(880px, calc(100% - 32px)); max-height: min(740px, calc(100vh - 48px)); padding: 0; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.editor-settings::backdrop { background: rgba(31,27,23,.4); }
.editor-settings[open] { display: flex; flex-direction: column; }
.settings-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.settings-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 200px minmax(0,1fr); overflow: hidden; }
.settings-tabs { display: flex; flex-direction: column; gap: 2px; padding: 16px 12px; border-right: 1px solid var(--line); overflow-y: auto; }
.settings-tabs button { appearance: none; padding: 11px 12px; border: 0; border-radius: 4px; background: none; color: var(--muted); font: 600 14px/1.2 var(--body); text-align: left; cursor: pointer; }
.settings-tabs button[aria-current="true"] { background: #eef2ff; color: var(--ink); }
.settings-pane { min-height: 0; padding: 22px 26px 32px; overflow-y: auto; display: flex; flex-direction: column; gap: 18px; }
.settings-pane[hidden] { display: none; }
.settings-pane h3 { margin: 0; font: 600 16px/1.2 var(--display); }
.settings-list { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.editor-mobile-bar { display: none; }

@media (max-width: 720px) {
  .editor-bar { gap: 12px; }
  .editor-bar-actions { display: none; }
  .event-editor.wysiwyg { padding-bottom: 96px; }
  .editor-stage.guest-page { padding: 0; }
  .font-chips { padding: 14px 26px 0; }
  .editor-mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; display: grid; grid-template-columns: repeat(3, 1fr) 1.2fr; gap: 6px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper); }
  .editor-mobile-bar button { min-height: 46px; border: 1px solid var(--line-strong); border-radius: 3px; background: var(--paper); color: var(--ink); font: 700 13px/1 var(--body); }
  .editor-mobile-bar button.primary { border-color: var(--blue); background: var(--blue); color: white; }
  .wysiwyg.is-previewing .editor-mobile-bar > :not([data-preview-toggle]) { display: none; }
  .wysiwyg.is-previewing .editor-mobile-bar { grid-template-columns: 1fr; }
  /* Design is a short tray above the bar, one section at a time, with the
     card in view above it and the page still scrollable behind it. */
  .editor-drawer { top: auto; bottom: calc(63px + env(safe-area-inset-bottom)); height: auto; max-height: 42vh; width: 100%; padding: 0 16px 16px; border-left: 0; border-top: 1px solid var(--line); border-radius: 14px 14px 0 0; box-shadow: 0 -12px 34px rgba(31,27,23,.14); }
  .event-editor.drawer-open { padding-bottom: calc(42vh + 96px); }
  .event-editor.drawer-open .editor-stage { padding-right: 0; }
  .drawer-head { gap: 10px; padding: 10px 0; }
  .drawer-head h2 { display: none; }
  .drawer-tabs { display: flex; flex: 1; min-width: 0; gap: 4px; overflow-x: auto; scrollbar-width: none; }
  .drawer-tabs::-webkit-scrollbar { display: none; }
  .drawer-head .button { min-height: 36px; padding: 6px 14px; }
  .editor-drawer .drawer-section { display: none; padding: 14px 0 4px; border-bottom: 0; }
  .editor-drawer .drawer-section.is-current { display: block; }
  .editor-drawer .drawer-section > h3 { display: none; }
  .editor-drawer .theme-picker { display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x proximity; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .editor-drawer .theme-picker::-webkit-scrollbar { display: none; }
  .editor-drawer .theme-choice { flex: 0 0 78px; scroll-snap-align: start; }
  .editor-drawer .theme-choice > span { padding: 4px; }
  .editor-drawer .theme-swatch { margin-bottom: 5px; }
  .editor-drawer .photo-results { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 104px; max-height: none; overflow-x: auto; overflow-y: hidden; padding: 0 0 6px; }
  .editor-drawer .photo-library-heading h3 { display: none; }
  .editor-drawer .design-controls { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin: 0; }
  .editor-drawer .design-controls .field { gap: 4px; font-size: 11px; }
  .editor-drawer .design-controls select { min-height: 40px; padding: 6px 10px; font-size: 14px; }
  .editor-drawer .size-chips { margin-top: 12px; }
  .editor-drawer .size-chips .hint { display: none; }
  .editor-drawer .canvas-visibility { margin-top: 12px; }
  .editor-mobile-bar [aria-pressed="true"], .event-editor.drawer-open .editor-mobile-bar [data-open-panel="design"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
  .editor-settings { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; border: 0; border-radius: 0; }
  .settings-body { grid-template-columns: minmax(0,1fr); grid-template-rows: auto minmax(0,1fr); }
  .settings-tabs { flex-direction: row; padding: 8px 10px; border-right: 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
  .settings-tabs button { white-space: nowrap; }
  .settings-pane { padding: 18px 18px 28px; }
}

/* Sign up when saving. */
.signup-dialog { width: min(440px, calc(100% - 32px)); padding: 30px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.signup-dialog::backdrop { background: rgba(31,27,23,.4); }
.signup-step { display: flex; flex-direction: column; gap: 16px; }
.signup-step[hidden] { display: none; }
.signup-step h2 { margin: 0; font: 600 26px/1.05 var(--display); letter-spacing: -.035em; }
.signup-step .who { margin: 0; color: var(--muted); }
.signup-step .hint { margin: 0; color: var(--muted); font-size: 13px; }
.signup-step button.primary { width: 100%; min-height: 50px; }
.signup-close { display: block; margin: 18px auto 0; color: var(--muted) !important; font-size: 14px !important; }

/* The event page: Share beside the link, one More menu, Settings in a window. */
.share-menu, .more-menu { position: relative; display: inline-block; }
.share-menu { margin-top: 10px; }
.share-menu > summary, .more-menu > summary { list-style: none; cursor: pointer; }
.share-menu > summary::-webkit-details-marker, .more-menu > summary::-webkit-details-marker { display: none; }
.share-menu > summary { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 3px; background: #e4eaff; color: var(--blue); font-size: 12px; font-weight: 800; }
.share-menu > summary::after, .more-menu > summary::after { content: "▾"; font-size: 10px; }
.more-menu > summary { gap: 6px; }
.menu-panel { position: absolute; z-index: 25; top: calc(100% + 6px); min-width: 250px; padding: 8px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); box-shadow: var(--shadow); }
.share-menu .menu-panel { left: 0; }
.more-menu .menu-panel { right: 0; }
.menu-panel > a, .menu-item { appearance: none; display: block; width: 100%; padding: 10px 12px; border: 0; border-radius: 4px; background: none; color: var(--ink); font: 500 14px/1.3 var(--body); text-align: left; text-decoration: none; cursor: pointer; }
.menu-panel > a:hover, .menu-item:hover { background: #f3f1ec; }
.menu-form { display: flex; flex-direction: column; }
.menu-form .check { padding: 0 12px 8px; font-size: 12px; color: var(--muted); }
.menu-note { padding: 10px 12px; color: var(--muted); font-size: 13px; }
.share-qr { display: flex !important; align-items: center; gap: 12px; }
.share-embed { margin-top: 6px; padding: 10px 12px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.share-embed .code { max-width: 300px; font-size: 11px; }
.host-settings .settings-panes { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.host-settings .settings-pane { overflow: visible; }
.host-settings .settings-form { display: block; }
.settings-save { position: sticky; bottom: 0; padding: 14px 26px; border-top: 1px solid var(--line); background: var(--paper); }
.settings-save[hidden] { display: none; }
.settings-notice { margin: 12px 24px 0; }
@media (max-width: 720px) {
  .menu-panel { position: fixed; left: 12px !important; right: 12px !important; top: auto; bottom: 12px; min-width: 0; }
  .host-actions { flex-wrap: wrap; }
}
.host-rsvp-action .linkish { color: var(--blue); font-weight: 800; font-size: 12px; }

/* Title size, and an end time only when there is one. */
.size-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.size-chips .caption { width: 100%; font: 700 12px/1.3 var(--display); letter-spacing: .08em; text-transform: uppercase; color: #5f5851; }
.size-chips .chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.size-chips .hint { width: 100%; }
.when-end { display: inline-flex; align-items: center; gap: 6px; }
.when-end[hidden], .when-add[hidden] { display: none; }
.when-remove { appearance: none; width: 28px; height: 28px; border: 0; border-radius: 50%; background: color-mix(in srgb, currentColor 10%, transparent); color: inherit; font-size: 16px; line-height: 1; cursor: pointer; }
.wysiwyg .preview-invite .card-field.preview-kicker { line-height: 1.5; }
.wysiwyg .fact dd { min-width: 0; }
.wysiwyg .when-fields .page-field { max-width: 100%; }

/* A card with no photo is as tall as its words need, not a tall empty block. */
.guest-preset-card .preview-invite:not(:has(> .manual-art-image)) { min-height: 420px; justify-content: center; }
@media (max-width: 720px) { .guest-preset-card .preview-invite:not(:has(> .manual-art-image)) { min-height: 300px; } }
/* The editor's reply form is a sample of what guests get. */
.wysiwyg:not(.is-previewing) .editor-sample-rsvp > :not(.sample-tag) { opacity: .55; }
.calendar-after-yes { margin: -10px 0 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
/* What a click did, where there is nothing else to show for it: a calendar
   file downloaded, a link copied. */
.action-said { flex-basis: 100%; color: var(--muted); font-size: 12px; line-height: 1.45; }
.action-said:empty { display: none; }
/* Asked only of someone coming; put away for a "Can't go". */
.if-coming { display: flex; flex-direction: column; gap: 16px; }
.choices-hint { margin: 10px 0 0; color: #a3261c; font-size: 13px; font-weight: 700; }
.change-reply .hint { margin: 10px 0 0; }
/* A reply on record, its form behind Edit RSVP; once open, the form is all. */
.edit-reply > summary { display: inline-flex; list-style: none; }
.edit-reply > summary::-webkit-details-marker { display: none; }
.edit-reply[open] > summary { display: none; }
.calendar-after-yes + .edit-reply:not([open]) { margin-top: -14px; }
/* Beside the reader's own name on the guest list: a word to see, a thumb's
   width to tap, with the padding taken back so the row stays as it was. */
.names .edit-mine { display: inline-block; margin: -10px; padding: 10px; color: var(--blue); font-size: 13px; font-weight: 700; }

/* The Developers page. */
.developers-page { max-width: 820px; padding-block: 64px 110px; }
.developers-hero h1 { margin: 0; font: 600 clamp(48px,7vw,78px)/.92 var(--display); letter-spacing: -.06em; }
.developers-hero p { margin: 16px 0 0; color: var(--muted); font-size: 18px; }
.developers-step { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.developers-step h2 { margin: 0 0 6px; font: 600 24px/1.1 var(--display); letter-spacing: -.03em; }
.developers-step .who { margin: 0 0 16px; }
.developers-step .code { white-space: pre-wrap; overflow-wrap: anywhere; }

/* Reminders: one list of what will go out, each one's form opening under it. */
.reminder-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.reminder-item { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 6px 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.reminder-item.is-editing { background: #f6f8ff; margin: 0 -12px; padding: 16px 12px; }
.reminder-summary { min-width: 0; }
.reminder-summary p { margin: 0 0 3px; font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
.reminder-summary .reminder-when { margin-bottom: 6px; font-weight: 700; }
.reminder-key { color: var(--muted); }
.reminder-late { color: #a3261c; font-weight: 700; }
.reminder-actions { display: flex; gap: 14px; align-items: flex-start; font-size: 14px; }
.reminder-actions a, .reminder-actions .linkish { color: var(--blue); font-weight: 700; }
.reminder-actions form { margin: 0; }
.reminder-editor { grid-column: 1 / -1; margin-top: 8px; }
.reminder-timing { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.reminder-sent-heading { margin: 22px 0 8px; font: 700 12px/1.3 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.reminder-sent .reminder-item { grid-template-columns: minmax(0,1fr); color: var(--muted); }
.reminder-empty { margin: 0; }
.reminder-limit { margin: 12px 0 0; }
.preview-caption { margin: 8px 0 -4px; color: var(--muted); font-size: 13px; }
.compose-actions { display: flex; align-items: center; gap: 18px; }
@media (max-width: 720px) {
  .reminder-timing { grid-template-columns: minmax(0,1fr); }
}
.reminder-list + .compose-more, .reminder-empty + .compose-more, .reminder-sent + .compose-more { border-top: 0; padding-top: 4px; }

/* The bot trap: off-screen for people, still in the form for bots. */
.trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* A new event's reminders: a switch, and while it is on, what each will say. */
.auto-reminders { display: flex; flex-direction: column; gap: 14px; }
.auto-reminders [data-when-off], .auto-reminders[data-off] [data-when-on] { display: none; }
.auto-reminders[data-off] [data-when-off] { display: revert; }
.reminders-switch { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 6px; }
.reminders-switch strong { font-size: 16px; }
.switch { appearance: none; position: relative; flex: none; width: 74px; height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--blue); color: white; font: 700 13px/36px var(--body); text-align: left; cursor: pointer; }
.switch::after { content: ""; position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; background: white; box-shadow: 0 1px 3px rgba(31,27,23,.3); transition: right .15s; }
.switch[aria-checked="false"] { background: #d9d3c9; color: var(--ink); text-align: right; }
.switch[aria-checked="false"]::after { right: 42px; }
.switch:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.reminders-on { display: flex; flex-direction: column; gap: 12px; }
.reminders-on > p { margin: 0; }
.auto-reminder-list .reminder-item { grid-template-columns: minmax(0,1fr); }
.auto-reminder-list .reminder-item.is-editing { margin: 0; padding: 16px 12px; }
.auto-reminder-list .reminder-actions { align-items: center; }
.auto-reminder-list .reminder-actions .button { min-height: 38px; padding: 7px 16px; color: var(--ink); font-size: 14px; }
.auto-reminder-list .reminder-actions [hidden] { display: none; }
.auto-reminder-list .reminder-editor { display: flex; flex-direction: column; gap: 14px; }
.auto-reminder-list .reminder-editor[hidden] { display: none; }
.auto-reminder-list .reminder-editor .field textarea { min-height: 64px; }
.auto-reminder-list .reminder-editor > p { margin: 0; }
.auto-reminder-list .reminder-date { color: var(--muted); font-weight: 500; }
.auto-reminder-list .reminder-preview { height: 420px; margin: 0; }
@media (prefers-reduced-motion: reduce) { .switch::after { transition: none; } }

/* Filling it in on a phone: the time as words with the picker under a tap,
   one swipeable row of chips, and the reply form as its three buttons. */
.when-pick { display: contents; }
.when-words { display: none; }
@media (max-width: 720px) {
  .wysiwyg .when-fields { display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
  .wysiwyg .when-pick { position: relative; display: block; }
  .wysiwyg .when-words { display: block; padding: 8px 10px; border: 1px dashed color-mix(in srgb, currentColor 35%, transparent); border-radius: 3px; font: 600 19px/1.3 var(--display); letter-spacing: -.01em; }
  .wysiwyg .when-pick input.page-field { position: absolute; inset: 0; width: 100%; max-width: none; height: 100%; opacity: 0; }
  .wysiwyg .when-end { display: flex; align-items: center; gap: 8px; }
  .wysiwyg .when-end[hidden] { display: none; }
  .wysiwyg .when-end .when-pick { flex: 1; }
  .wysiwyg .when-end .when-words { font-size: 16px; }
  .wysiwyg .when-add { align-self: flex-start; }
  .wysiwyg .seen-field { flex-direction: column; align-items: stretch; gap: 0; }
  .wysiwyg .seen-field > .page-field { flex: none; width: 100%; }
  .wysiwyg .seen-field + .seen-field { margin-top: 8px; }
  .seen-tag { align-self: flex-start; padding: 2px 6px; }
  .font-chips, .block-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .font-chips::-webkit-scrollbar, .block-chips::-webkit-scrollbar { display: none; }
  .font-chip, .block-chips .chip { flex: none; }
  .block-chips { margin-inline: -26px; padding-inline: 26px; }
  .wysiwyg:not(.is-previewing) .editor-sample-rsvp .preview-extras { display: none; }
  .wysiwyg:not(.is-previewing) .editor-sample-rsvp .preview-choices { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
  .wysiwyg:not(.is-previewing) .editor-sample-rsvp .sample-whole { display: inline-block; }
}
.editor-sample-rsvp .sample-whole { display: none; margin: 12px 0 0; color: var(--blue); font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.wysiwyg:not(.is-previewing) .editor-sample-rsvp > .sample-whole { opacity: 1; }

/* With a limit on spots: what a yes past it does, and who gets a freed spot. */
.when-full { display: flex; flex-direction: column; gap: 6px; }
.when-full[hidden], .when-full [hidden] { display: none; }
.when-full .rsvp-mode-picker { margin: 8px 0 14px; }
.room { margin: 20px 0; padding: 16px; border: 2px solid var(--blue); border-radius: 4px; background: var(--paper); }
.room p { margin: 0 0 12px; }
.room-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.room-actions form { margin: 0; }
.room-actions .linkish { color: var(--muted); }
.waitlist-line { margin: 0 0 12px; padding: 10px 14px; border-radius: 4px; background: #f1eefb; font-size: 14px; }
.waitlist-line .linkish { color: var(--blue); font-weight: 700; }
.let-in { display: inline-block; margin: 4px 0 0 8px; }
.let-in .button { min-height: 30px; padding: 4px 12px; font-size: 13px; }
.generated-art{--art-bg:#fff;--art-ink:#111;--art-accent:#2855e7;background:var(--art-bg);color:var(--art-ink)}
.generated-art svg{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:none}
.generated-art svg .accent-fill{fill:var(--art-accent);stroke:none}
.generated-art svg .ink-fill{fill:var(--art-ink);stroke:none}
.generated-art svg .paper-fill{fill:var(--art-bg);stroke:none}
.generated-art svg .accent-stroke{fill:none;stroke:var(--art-accent);stroke-width:7}
.generated-art svg .ink-stroke{fill:none;stroke:var(--art-ink);stroke-width:5}
.generated-art svg .heavy{stroke-width:13}
.generated-art svg .dashed{stroke-dasharray:18 16}
.generated-art svg .mark{fill:var(--art-ink);stroke:none;text-anchor:middle;font:900 220px/1 Impact,"Arial Black",sans-serif;letter-spacing:-.06em}
.generated-art svg .knock-out{fill:var(--art-on-accent)}
.generated-art svg .quiet-fill{opacity:.16}
.generated-art svg .quiet-stroke{opacity:.24;stroke-width:4}
.generated-art .copy,.generated-art .manual-art-copy{width:100%;min-width:0;position:relative;z-index:1;display:flex;flex-direction:column;justify-content:center}
.generated-art .copy{min-height:82vh}
.generated-art p,.generated-art .manual-art-copy small{margin:0;font-size:clamp(9px,1.5vw,17px);font-weight:700;line-height:1;letter-spacing:.14em;text-transform:uppercase}
.generated-art h1,.generated-art .manual-art-copy strong{max-width:92%;margin:.22em 0;font-size:clamp(42px,var(--full-title-size,12vw),155px);font-weight:800;line-height:.82;letter-spacing:-.07em;overflow-wrap:normal;word-break:normal}
.generated-layout-offset .copy,.generated-layout-offset .manual-art-copy{justify-content:flex-end;align-items:flex-start;transform:rotate(var(--art-angle));transform-origin:left bottom}
.generated-layout-offset h1,.generated-layout-offset .manual-art-copy strong{max-width:72%;text-transform:uppercase}
.generated-layout-monument .copy,.generated-layout-monument .manual-art-copy{align-items:center;text-align:center;color:var(--art-on-accent)}
.generated-layout-monument svg .mark{opacity:.12;font-size:150px}
.generated-layout-monument h1,.generated-layout-monument .manual-art-copy strong{max-width:76%}
.generated-layout-frame .copy,.generated-layout-frame .manual-art-copy{align-items:center;text-align:center}
.generated-layout-frame h1,.generated-layout-frame .manual-art-copy strong{max-width:68%}
.generated-layout-split .copy,.generated-layout-split .manual-art-copy{align-items:flex-end;text-align:right}
.generated-layout-split h1,.generated-layout-split .manual-art-copy strong{max-width:54%}
.generated-layout-rays .copy,.generated-layout-rays .manual-art-copy{justify-content:flex-end}
.generated-layout-rays h1,.generated-layout-rays .manual-art-copy strong{max-width:82%;text-transform:uppercase}
.generated-layout-rings .copy,.generated-layout-rings .manual-art-copy{align-items:center;text-align:center}
.generated-layout-rings h1,.generated-layout-rings .manual-art-copy strong{max-width:62%}
.generated-layout-wave .copy,.generated-layout-wave .manual-art-copy{justify-content:flex-start;align-items:flex-end;text-align:right}
.generated-layout-wave h1,.generated-layout-wave .manual-art-copy strong{max-width:78%;margin-top:12%;color:var(--art-ink)}
.generated-layout-blocks .copy,.generated-layout-blocks .manual-art-copy{align-items:center;text-align:center;transform:rotate(var(--art-angle))}
.generated-layout-blocks h1,.generated-layout-blocks .manual-art-copy strong{max-width:90%;padding:.08em .12em;background:var(--art-bg);text-transform:uppercase}
.generated-layout-blocks p,.generated-layout-blocks .manual-art-copy small{padding:5px 8px;background:var(--art-bg)}
.generated-layout-ticket .copy,.generated-layout-ticket .manual-art-copy{justify-content:space-between;padding:4%}
.generated-layout-ticket h1,.generated-layout-ticket .manual-art-copy strong{max-width:72%;text-transform:uppercase}
.generated-layout-columns .copy,.generated-layout-columns .manual-art-copy{align-items:center;text-align:center}
.generated-layout-columns h1,.generated-layout-columns .manual-art-copy strong{max-width:74%;padding:.12em;background:var(--art-bg)}
.generated-layout-stamp .copy,.generated-layout-stamp .manual-art-copy{align-items:center;text-align:center}
.generated-layout-stamp svg .mark{opacity:.14}
.generated-layout-stamp h1,.generated-layout-stamp .manual-art-copy strong{max-width:72%;text-transform:uppercase}
.generated-layout-scribble .copy,.generated-layout-scribble .manual-art-copy{align-items:center;text-align:center;transform:rotate(var(--art-angle))}
.generated-layout-scribble h1,.generated-layout-scribble .manual-art-copy strong{max-width:66%}
.generated-layout-archway .copy,.generated-layout-archway .manual-art-copy{align-items:center;text-align:center;color:var(--art-ink)}
.generated-layout-archway h1,.generated-layout-archway .manual-art-copy strong{max-width:52%}
.generated-layout-pattern .copy,.generated-layout-pattern .manual-art-copy{align-items:center;text-align:center}
.generated-layout-pattern h1,.generated-layout-pattern .manual-art-copy strong{max-width:76%}
.generated-layout-photograph{color:var(--art-ink);background:#111}
.generated-layout-photograph:after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(0,0,0,.08) 15%,rgba(0,0,0,.76) 100%);pointer-events:none}
.generated-layout-photograph>.manual-art-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.generated-layout-photograph .copy,.generated-layout-photograph .manual-art-copy{z-index:2;justify-content:flex-end;align-items:flex-start;text-align:left;text-shadow:0 2px 24px rgba(0,0,0,.5)}
.generated-layout-photograph h1,.generated-layout-photograph .manual-art-copy strong{max-width:88%}
.generated-type-condensed h1,.generated-type-condensed .manual-art-copy strong{font-family:"Arial Narrow","Helvetica Neue",Arial,sans-serif;font-weight:900;line-height:.72;letter-spacing:-.095em;text-transform:uppercase}
.generated-type-serif h1,.generated-type-serif .manual-art-copy strong{font-family:Baskerville,Georgia,"Times New Roman",serif;font-weight:400;line-height:.9;letter-spacing:-.045em}
.generated-type-mono h1,.generated-type-mono .manual-art-copy strong,.generated-type-mono p,.generated-type-mono .manual-art-copy small{font-family:"Courier New",Courier,monospace;letter-spacing:-.045em}
.generated-type-rounded h1,.generated-type-rounded .manual-art-copy strong{font-family:"Trebuchet MS",Arial,sans-serif;font-weight:900;line-height:.84;letter-spacing:-.055em}
.generated-type-formal h1,.generated-type-formal .manual-art-copy strong{font-family:"Bodoni 72",Didot,"Times New Roman",serif;font-weight:400;line-height:.88;letter-spacing:-.05em}
.generated-type-outline h1,.generated-type-outline .manual-art-copy strong{color:var(--art-bg);font-family:"Arial Black",Impact,sans-serif;font-weight:900;line-height:.78;letter-spacing:-.055em;text-transform:uppercase;-webkit-text-stroke:3px var(--art-ink)}
.generated-type-grotesk h1,.generated-type-grotesk .manual-art-copy strong{font-family:Impact,"Arial Black",sans-serif;font-weight:900;line-height:.76;letter-spacing:-.04em;text-transform:uppercase}
.generated-type-italic h1,.generated-type-italic .manual-art-copy strong{font-family:Baskerville,Georgia,"Times New Roman",serif;font-style:italic;font-weight:400;line-height:.9;letter-spacing:-.045em}
.generated-long-title h1{font-size:clamp(38px,7vw,110px);line-height:.86}
.manual-art.generated-art .manual-art-copy strong{font-size:min(var(--preview-title-size,46px),7vw)}
@media(max-width:460px){
.manual-art.generated-art .manual-art-copy strong{font-size:min(var(--preview-title-size,46px),5.7vw)}
.manual-art.generated-long-title .manual-art-copy strong{max-width:90%;font-size:4.4vw;line-height:.86}
.manual-art.generated-layout-split .manual-art-copy strong,.manual-art.generated-layout-stamp .manual-art-copy strong,.manual-art.generated-layout-rings .manual-art-copy strong,.manual-art.generated-layout-monument .manual-art-copy strong{max-width:82%}
.manual-art.generated-long-title .manual-art-copy strong{max-width:90%}
}
