/* Fonts are bundled with the app, never fetched from a third party. */
/* manrope-cyrillic-ext-wght-normal */
@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(fonts/manrope-cyrillic-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* manrope-cyrillic-wght-normal */
@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(fonts/manrope-cyrillic-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* manrope-greek-wght-normal */
@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(fonts/manrope-greek-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
}

/* manrope-vietnamese-wght-normal */
@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(fonts/manrope-vietnamese-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* manrope-latin-ext-wght-normal */
@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(fonts/manrope-latin-ext-wght-normal.woff2) format('woff2-variations');
  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;
}

/* manrope-latin-wght-normal */
@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(fonts/manrope-latin-wght-normal.woff2) format('woff2-variations');
  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;
}
/* dm-mono-latin-ext-400-normal */
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/dm-mono-latin-ext-400-normal.woff2) format('woff2'), url(fonts/dm-mono-latin-ext-400-normal.woff) format('woff');
  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;
}

/* dm-mono-latin-400-normal */
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/dm-mono-latin-400-normal.woff2) format('woff2'), url(fonts/dm-mono-latin-400-normal.woff) format('woff');
  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;
}
/* dm-mono-latin-ext-500-normal */
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(fonts/dm-mono-latin-ext-500-normal.woff2) format('woff2'), url(fonts/dm-mono-latin-ext-500-normal.woff) format('woff');
  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;
}

/* dm-mono-latin-500-normal */
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(fonts/dm-mono-latin-500-normal.woff2) format('woff2'), url(fonts/dm-mono-latin-500-normal.woff) format('woff');
  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;
}

:root {
  --bg: #fff8ee;
  --surface: #fffdf8;
  --surface-strong: #ffffff;
  --text: #342a26;
  --muted: #7e6960;
  --line: #eadccc;
  --accent: #e45c3d;
  --accent-strong: #b93b28;
  --accent-soft: #ffe2d6;
  --danger: #a63c31;
  --warning: #9b681b;
  --pop-sun: #f5b53d;
  --pop-sun-soft: #ffeec6;
  --pop-sea: #2f9e8f;
  --pop-sea-soft: #d3efe9;
  --pop-berry: #d9628f;
  --pop-berry-soft: #ffdde9;
  --pop-sky: #6478d8;
  --pop-sky-soft: #e0e4fb;
  --radius: 16px;
  --radius-lg: 28px;
  --shadow: 0 20px 55px rgba(123, 63, 35, 0.12);
  --font-body: 'Manrope Variable', sans-serif;
  --font-display: 'Manrope Variable', sans-serif;
  --font-mono: 'DM Mono', monospace;
  color: var(--text);
  background: var(--bg);
  font: 16px/1.55 var(--font-body);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: clip;
  background-image:
    radial-gradient(42rem 30rem at 88% -6%, var(--pop-sun-soft), transparent 70%),
    radial-gradient(38rem 26rem at 2% 22%, var(--pop-berry-soft), transparent 68%),
    radial-gradient(36rem 26rem at 96% 68%, var(--pop-sea-soft), transparent 66%);
  background-attachment: fixed;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
svg { width: 1.15em; height: 1.15em; stroke-width: 1.8; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--text); line-height: 1.08; }
h1, h2 { font-family: var(--font-display); font-weight: 700; }
h1 { font-size: clamp(2.5rem, 5vw, 4.9rem); letter-spacing: -0.05em; margin-bottom: 1.25rem; }
h2 { font-size: clamp(1.75rem, 3vw, 2.7rem); letter-spacing: -0.05em; }
h3 { font-size: 1.2rem; }
p { color: var(--muted); }
code { font-family: var(--font-mono); }

.site-shell { min-height: 100vh; overflow-x: clip; }
.page { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.site-header {
  width: min(1280px, calc(100% - 48px));
  height: 86px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: -0.02em; }
.brand-mark {
  width: 32px; height: 32px; display: grid; place-items: center;
  background: var(--accent); color: white; border-radius: 50%;
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 700;
  transition: transform .3s cubic-bezier(.34, 1.7, .64, 1);
}
.brand:hover .brand-mark { transform: rotate(-12deg) scale(1.1); }
.top-nav { display: flex; align-items: center; gap: 24px; }
.top-nav a:not(.button) { text-decoration: none; color: var(--muted); }
.mobile-menu-button {
  display: none; width: 44px; height: 44px; place-items: center; padding: 0;
  color: var(--text); background: var(--surface-strong); border: 1px solid var(--line);
  border-radius: 50%; cursor: pointer;
}
.text-button { border: 0; padding: 0; color: var(--muted); background: transparent; cursor: pointer; }
.text-button:hover, a:hover { color: var(--accent); }

.button {
  appearance: none; border: 1px solid var(--accent); background: var(--accent); color: #fff;
  min-height: 50px; padding: 0 24px; border-radius: 99px; display: inline-flex;
  align-items: center; justify-content: center; gap: 9px; text-decoration: none; font-weight: 700; cursor: pointer;
  transition: transform .25s cubic-bezier(.34, 1.6, .64, 1), background .18s, box-shadow .25s;
}
.button:hover { background: var(--accent-strong); color: white; transform: translateY(-3px) rotate(-1deg); box-shadow: 0 12px 26px color-mix(in srgb, var(--accent) 32%, transparent); }
.button:active { transform: translateY(0) scale(.97); }
.button svg { transition: transform .25s cubic-bezier(.34, 1.6, .64, 1); }
.button:hover svg:last-child { transform: translateX(3px); }
.button:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.button.secondary { color: var(--text); border-color: var(--line); background: var(--surface-strong); }
.button.secondary:hover { color: var(--accent); border-color: var(--accent); }
.button.small { min-height: 39px; padding: 0 15px; }
.button.wide { width: 100%; }
.button.danger { background: var(--danger); border-color: var(--danger); color: white; }
.button.danger.secondary { background: transparent; color: var(--danger); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px; color: var(--accent-strong);
  background: var(--accent-soft); border-radius: 99px; padding: 6px 13px;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px;
}
.marker {
  position: relative; white-space: nowrap;
  background: linear-gradient(transparent 58%, var(--pop-sun) 58%, var(--pop-sun) 92%, transparent 92%);
  padding-inline: 2px;
}
.wave { display: inline-block; vertical-align: -.2em; color: var(--accent); transform-origin: 70% 80%; animation: wave 3.2s ease-in-out infinite; }
@keyframes wave {
  0%, 62%, 100% { transform: rotate(0deg); }
  68% { transform: rotate(-14deg); }
  74% { transform: rotate(12deg); }
  80% { transform: rotate(-8deg); }
  86% { transform: rotate(6deg); }
}

.hero { min-height: 680px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; padding-block: 80px; }
.hero-copy h1 { max-width: 700px; }
.hero-lede { font-size: 1.2rem; max-width: 600px; margin-bottom: 32px; }
.microcopy { display: flex; gap: 8px; align-items: center; margin-top: 22px; font-size: .84rem; }
.hero-visual { height: 500px; position: relative; display: grid; place-items: center; }
.orbit { position: absolute; border: 2px dashed var(--line); border-radius: 50%; }
.orbit-one { width: 440px; height: 440px; animation: drift 40s linear infinite; }
.orbit-two { width: 310px; height: 310px; animation: drift 28s linear infinite reverse; }
@keyframes drift { to { transform: rotate(360deg); } }
.visual-card {
  position: absolute; width: 245px; padding: 22px; background: color-mix(in srgb, var(--surface-strong) 93%, transparent);
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  display: grid; grid-template-columns: auto 1fr; gap: 11px 12px; backdrop-filter: blur(8px);
}
.visual-card > svg { color: var(--accent); width: 1.4em; height: 1.4em; }
.contact-card > svg { color: var(--pop-sea); }
.visual-card > span { font-size: .78rem; color: var(--muted); }
.visual-card strong, .visual-card small { grid-column: 1 / -1; }
.visual-card small { color: var(--muted); }
.calendar-card { transform: translate(-60px, -60px) rotate(-4deg); animation: float-a 7s ease-in-out infinite; }
.contact-card { transform: translate(80px, 100px) rotate(5deg); animation: float-b 8.5s ease-in-out infinite; }
@keyframes float-a {
  50% { transform: translate(-60px, -76px) rotate(-2deg); }
}
@keyframes float-b {
  50% { transform: translate(80px, 84px) rotate(3deg); }
}
.avatar-stack { grid-column: 1 / -1; display: flex; }
.avatar-stack i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); border: 2px solid var(--surface); font-style: normal; font-weight: 700; margin-right: -8px; }
.avatar-stack i:nth-child(2) { background: var(--pop-sea-soft); color: var(--pop-sea); }
.avatar-stack i:nth-child(3) { background: var(--pop-sky-soft); color: var(--pop-sky); }
.sync-badge { position: absolute; transform: translate(130px, -145px); background: var(--accent); color: white; border-radius: 99px; padding: 8px 13px; display: flex; gap: 7px; align-items: center; font-size: .8rem; box-shadow: var(--shadow); }
.sync-badge svg { animation: spin 5s linear infinite; }
.sticker {
  position: absolute; transform: translate(-135px, 155px) rotate(-9deg);
  background: var(--pop-sun); color: #4a3208; border-radius: 99px;
  padding: 10px 16px; font-weight: 700; font-size: .82rem; box-shadow: var(--shadow);
  border: 2px solid #fff;
}
.proof-strip { border-block: 2px dashed var(--line); min-height: 80px; display: flex; align-items: center; overflow: hidden; color: var(--muted); font-size: .84rem; font-weight: 600; }
.proof-track { flex: 0 0 auto; display: flex; align-items: center; gap: 30px; padding-right: 30px; white-space: nowrap; animation: marquee 32s linear infinite; }
.proof-track span { display: inline-flex; align-items: center; gap: 9px; }
.proof-track i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.proof-track span:nth-child(4n + 2) i { background: var(--pop-sea); }
.proof-track span:nth-child(4n + 3) i { background: var(--pop-sun); }
.proof-track span:nth-child(4n) i { background: var(--pop-berry); }
@keyframes marquee { to { transform: translateX(-100%); } }
.features { padding-block: 120px; }
.promises { padding-block: 90px 20px; }
.promises-grid article {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}
.section-heading { max-width: 720px; margin-bottom: 55px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-grid article {
  padding: 30px; border-radius: var(--radius-lg);
  transition: transform .3s cubic-bezier(.34, 1.5, .64, 1);
}
.feature-grid article:hover { transform: translateY(-6px) rotate(-1deg); }
.feature-grid article:nth-child(even):hover { transform: translateY(-6px) rotate(1deg); }
.feature-icon {
  display: inline-grid; place-items: center; width: 52px; height: 52px;
  background: var(--accent-soft); color: var(--accent); border-radius: 18px; margin-bottom: 26px;
  transition: transform .3s cubic-bezier(.34, 1.7, .64, 1);
}
.feature-grid article:nth-child(2) .feature-icon { background: var(--pop-sea-soft); color: var(--pop-sea); }
.feature-grid article:nth-child(3) .feature-icon { background: var(--pop-sky-soft); color: var(--pop-sky); }
.feature-grid article:hover .feature-icon { transform: rotate(-8deg) scale(1.08); }
.feature-grid p { margin-bottom: 0; }
.showcase { display: grid; grid-template-columns: 1fr .8fr; gap: 55px; align-items: center; }
.showcase .feature-grid { grid-template-columns: 1fr; gap: 6px; }
.showcase .feature-grid article { padding: 22px 24px; }
.showcase .feature-icon { margin-bottom: 16px; }
.showcase-visual { display: grid; place-items: center; }
/* The badge rides on the frame so it floats with the card instead of drifting across it. */
.profile-preview-frame {
  position: relative; width: min(330px, 100%);
  transform: rotate(-1.5deg); animation: float-preview 9s ease-in-out infinite;
}
.profile-preview {
  overflow: hidden; background: var(--surface-strong);
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
@keyframes float-preview {
  50% { transform: translateY(-14px) rotate(1deg); }
}
.profile-preview-bar {
  display: flex; align-items: center; gap: 7px; padding: 12px 16px;
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.profile-preview-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.profile-preview-url {
  flex: 1; margin-left: 6px; padding: 4px 10px; border-radius: 999px; background: var(--bg);
  font-family: var(--font-mono); font-size: .72rem; color: var(--muted); text-align: center;
}
.profile-preview-body { display: grid; justify-items: center; gap: 9px; padding: 26px 22px 24px; text-align: center; }
.profile-preview-avatar {
  width: 68px; height: 68px; display: grid; place-items: center; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent); font-size: 1.7rem; font-weight: 700;
}
.profile-preview-body strong { font-size: 1.15rem; }
.profile-preview-pronouns {
  padding: 3px 11px; border-radius: 999px; background: var(--pop-sea-soft);
  color: var(--pop-sea); font-size: .72rem; font-weight: 700;
}
.profile-preview-handle { display: flex; align-items: center; gap: 7px; font-size: .82rem; color: var(--muted); }
.profile-preview-handle .brand-mark { width: 18px; height: 18px; font-size: .7rem; }
.profile-preview-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; margin-top: 5px; }
.profile-preview-actions span {
  padding: 9px 8px; border-radius: 999px; background: var(--accent); color: white;
  font-size: .76rem; font-weight: 700;
}
.profile-preview-actions span + span { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
.profile-preview-rows { display: grid; gap: 7px; width: 100%; margin-top: 3px; text-align: left; }
.profile-preview-rows span {
  display: flex; align-items: center; gap: 9px; padding: 9px 12px;
  border: 1px solid var(--line); border-radius: 12px; font-size: .78rem; color: var(--muted);
}
.profile-preview-rows svg { width: 15px; height: 15px; color: var(--accent); }
.profile-preview-rows span:nth-child(2) svg { color: var(--pop-sea); }
.profile-preview-rows span:nth-child(3) svg { color: var(--pop-berry); }
.showcase-badge {
  position: absolute; top: -17px; right: -16px; display: flex; align-items: center; gap: 7px;
  padding: 8px 13px; border-radius: 99px; background: var(--pop-sun); color: #4a3208;
  border: 2px solid #fff; box-shadow: var(--shadow); font-size: .78rem; font-weight: 700;
}
.showcase-badge svg { width: 15px; height: 15px; animation: spin 5s linear infinite; }
.steps { padding-block: 110px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 100px; }
.steps ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li {
  display: grid; grid-template-columns: 46px 1fr; gap: 18px; align-items: start;
  padding: 22px 24px; background: var(--surface-strong); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  transition: transform .3s cubic-bezier(.34, 1.5, .64, 1);
}
.steps li:hover { transform: translateX(6px); }
.steps li > span {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-strong); font-weight: 700; font-size: .95rem;
}
.steps li:nth-child(2) > span { background: var(--pop-sun-soft); color: #8a5d0b; }
.steps li:nth-child(3) > span { background: var(--pop-sea-soft); color: var(--pop-sea); }
.steps li p { margin: 5px 0 0; }
.closing-cta { position: relative; padding-block: 130px; text-align: center; }
.closing-cta h2 { max-width: 750px; margin-inline: auto; }
.closing-cta .confetti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.closing-cta .confetti i {
  position: absolute; width: 13px; height: 13px; border-radius: 4px;
  background: var(--pop-sun); animation: bob 6s ease-in-out infinite;
}
.confetti i:nth-child(1) { top: 18%; left: 9%; background: var(--pop-berry); transform: rotate(18deg); }
.confetti i:nth-child(2) { top: 62%; left: 17%; background: var(--pop-sea); animation-delay: -1.4s; }
.confetti i:nth-child(3) { top: 26%; right: 12%; background: var(--pop-sky); animation-delay: -2.6s; transform: rotate(-24deg); }
.confetti i:nth-child(4) { top: 70%; right: 8%; background: var(--pop-sun); animation-delay: -3.8s; }
.confetti i:nth-child(5) { top: 44%; left: 4%; background: var(--accent); animation-delay: -2s; border-radius: 50%; }
.confetti i:nth-child(6) { top: 12%; right: 30%; background: var(--pop-sea); animation-delay: -4.6s; border-radius: 50%; }
@keyframes bob { 50% { transform: translateY(-16px) rotate(28deg); } }

.roadmap-page { padding-block: 70px 120px; }
.roadmap-intro { max-width: 820px; margin: 0 auto 75px; text-align: center; }
.roadmap-intro .eyebrow { justify-content: center; }
.roadmap-intro .content-lede { max-width: 720px; margin-inline: auto; }
.roadmap-note {
  display: inline-block; margin: 0; padding: 7px 13px; border-radius: 999px;
  background: var(--pop-sun-soft); color: #79520c; font-size: .8rem; font-weight: 700;
}
.roadmap-timeline {
  position: relative; max-width: 1000px; margin: 0 auto; padding: 0; list-style: none;
}
.roadmap-timeline::before {
  content: ""; position: absolute; top: 26px; bottom: 26px; left: 218px; width: 3px;
  border-radius: 99px; background: linear-gradient(var(--accent), var(--pop-sea), var(--pop-sky));
}
.roadmap-milestone {
  position: relative; display: grid; grid-template-columns: 190px 56px minmax(0, 1fr);
  align-items: start; margin-bottom: 62px;
}
.roadmap-milestone:last-child { margin-bottom: 0; }
.roadmap-when { padding: 17px 20px 0 0; text-align: right; }
.roadmap-when span, .roadmap-when strong { display: block; }
.roadmap-when span { color: var(--muted); font-family: var(--font-mono); font-size: .75rem; }
.roadmap-when strong { margin-top: 5px; font-size: .9rem; }
.roadmap-dot {
  position: relative; z-index: 1; width: 52px; height: 52px; display: grid; place-items: center;
  border: 5px solid var(--bg); border-radius: 50%; background: var(--accent); color: white;
  box-shadow: 0 8px 22px rgba(123, 63, 35, .18);
}
.roadmap-dot svg { width: 20px; height: 20px; }
.is-next .roadmap-dot { background: var(--pop-sea); }
.is-later .roadmap-dot { background: var(--pop-sky); }
.roadmap-card {
  margin-left: 20px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface-strong) 94%, transparent); box-shadow: var(--shadow);
}
.roadmap-card h2 { margin-bottom: 12px; }
.roadmap-card > p:last-child { margin-bottom: 0; }
.roadmap-status {
  display: inline-block; margin: 0 0 14px; padding: 5px 10px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-strong);
  font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
}
.is-next .roadmap-status { background: var(--pop-sea-soft); color: #23786d; }
.is-later .roadmap-status { background: var(--pop-sky-soft); color: #4c5eb5; }
.roadmap-features { display: grid; margin-top: 24px; }
.roadmap-features > div {
  display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start;
  padding: 20px 0; border-top: 1px solid var(--line);
}
.roadmap-features > div:last-child { padding-bottom: 0; }
.roadmap-icon {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 15px;
  background: var(--accent-soft); color: var(--accent);
}
.roadmap-features > div:nth-child(2) .roadmap-icon { background: var(--pop-sea-soft); color: var(--pop-sea); }
.roadmap-features > div:nth-child(3) .roadmap-icon { background: var(--pop-sky-soft); color: var(--pop-sky); }
.roadmap-features > div:nth-child(4) .roadmap-icon { background: var(--pop-sun-soft); color: #8a5d0b; }
.roadmap-features > div:nth-child(5) .roadmap-icon { background: var(--pop-berry-soft); color: var(--pop-berry); }
.roadmap-features h3 { margin: 1px 0 5px; }
.roadmap-features p { margin: 0; }
.roadmap-suggest {
  max-width: 760px; margin: 85px auto 0; padding: 30px; display: flex; gap: 22px; align-items: center;
  border: 2px dashed var(--line); border-radius: var(--radius-lg); background: var(--surface);
}
.roadmap-suggest .feature-icon { flex: 0 0 auto; margin: 0; background: var(--pop-sun-soft); color: #8a5d0b; }
.roadmap-suggest .eyebrow { margin-bottom: 7px; }
.roadmap-suggest h2 { margin-bottom: 8px; }
.roadmap-suggest p:last-child { margin-bottom: 0; }

.site-footer {
  width: min(1280px, calc(100% - 48px)); margin: auto; padding: 16px 0 28px;
  border-top: 1px solid var(--line); display: flex; align-items: center;
  justify-content: space-between; gap: 16px; color: var(--muted); font-size: .85rem;
}
.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
.site-footer a { color: inherit; font-weight: 700; }

.auth-page { min-height: calc(100vh - 86px); padding-block: 80px 120px; display: grid; grid-template-columns: 1fr 480px; gap: 100px; align-items: center; }
.auth-page.compact { display: flex; justify-content: center; }
.rsvp-letter {
  width: min(520px, 100%);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.rsvp-wordmark { font-weight: 700; color: var(--accent-strong); letter-spacing: -0.02em; margin: 0 0 22px; }
.rsvp-meta {
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  font-family: var(--font-mono);
  font-size: .95rem;
  line-height: 1.9;
  color: var(--text);
  margin: 22px 0;
}
.rsvp-footer { margin: 26px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.rsvp-footer a { color: var(--accent-strong); font-weight: 600; text-decoration: none; }
.auth-page.compact .auth-card, .auth-page.compact .secret-panel { width: min(100%, 550px); }
.auth-intro h1 { font-size: clamp(2.5rem, 4vw, 4rem); }
.auth-intro > p:not(.eyebrow) { font-size: 1.15rem; max-width: 580px; }
.feature-list { list-style: none; padding: 0; margin: 35px 0 0; display: grid; gap: 17px; color: var(--muted); }
.feature-list li { display: flex; align-items: center; gap: 12px; }
.feature-list svg { color: var(--accent); }
.auth-card, .secret-panel { padding: 38px; background: var(--surface-strong); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.auth-card h1 { font-size: 2.4rem; }
.auth-card h2 { font-size: 2rem; }
.auth-card label { display: grid; gap: 8px; margin: 22px 0; font-weight: 600; }
.auth-card label small, label small { font-weight: 400; color: var(--muted); }
.auth-card .feature-icon { margin-bottom: 20px; }
.completion-card { text-align: center; }
.completion-card .feature-icon { margin-inline: auto; }
.auth-method-picker {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin: 22px 0 28px;
  padding: 5px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface);
}
.auth-method-picker button {
  min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 7px;
  border: 0; border-radius: 13px; background: transparent; color: var(--muted); cursor: pointer; font-weight: 700;
}
.auth-method-picker button.is-active { background: var(--surface-strong); color: var(--accent); box-shadow: 0 3px 12px rgba(123, 63, 35, .1); }
.phone-number-field { display: grid; gap: 8px; margin: 22px 0; font-weight: 600; }
.auth-back { display: block; margin: 18px auto 0; }
input, select, textarea {
  width: 100%; height: 49px; padding: 0 14px; color: var(--text); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); outline: none;
}
textarea { min-height: 120px; height: auto; padding-block: 12px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 13%, transparent); }
.PhoneInput { --PhoneInput-color--focus: var(--accent); gap: 10px; }
.PhoneInputCountry {
  align-self: stretch;
  margin: 0;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.PhoneInputCountry:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 13%, transparent);
}
.PhoneInputCountrySelect {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  opacity: 0;
  background: transparent;
  box-shadow: none;
}
.PhoneInputCountrySelect:focus { border: 0; box-shadow: none; }
.PhoneInputCountrySelectArrow { color: var(--muted); }
.PhoneInputInput { min-width: 0; }
input[type=file] { padding-top: 10px; height: auto; min-height: 49px; }
.input-suffix { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.input-suffix:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 13%, transparent); }
.input-suffix input { border: 0; box-shadow: none; }
.input-suffix span { color: var(--muted); padding-right: 13px; }
.field-error, .danger-text { color: var(--danger) !important; }
.eyebrow.danger-text { background: #fbe8e5; }
.form-footnote { text-align: center; font-size: .88rem; margin: 20px 0 0; }
.form-error { background: #fbe8e5; color: var(--danger); padding: 12px 14px; border-radius: var(--radius); margin: 15px 0; font-size: .9rem; }
.notice { padding: 14px 16px; background: var(--accent-soft); color: var(--accent-strong); border-radius: var(--radius); margin: 20px 0; }
.notice.success { background: #e2f1e8; color: #24613d; }
.notice.danger { background: #fbe8e5; color: var(--danger); }
.centered { min-height: 400px; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.spinner { animation: spin .8s linear infinite; color: var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }

.secret-heading { display: flex; align-items: center; gap: 16px; }
.secret-heading > svg { width: 36px; height: 36px; color: var(--accent); }
.secret-heading h2, .secret-heading p { margin-bottom: 0; }
.secret-list { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 25px 0; }
.secret-list code { padding: 10px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.secret-panel .checkbox { display: flex; gap: 10px; align-items: center; margin: 24px 0; color: var(--muted); }
.secret-panel .checkbox input { width: 18px; height: 18px; }

.account-layout { padding-block: 70px 120px; display: grid; grid-template-columns: 230px 1fr; gap: 70px; align-items: start; }
.account-sidebar { position: sticky; top: 30px; }
.account-sidebar h2 { font-family: var(--font-body); font-size: 1.3rem; }
.account-sidebar nav { display: grid; gap: 4px; margin-top: 30px; }
.account-sidebar nav a { padding: 10px 12px; text-decoration: none; color: var(--muted); border-radius: var(--radius); }
.account-sidebar nav a.active { color: var(--accent); background: var(--accent-soft); font-weight: 600; }
.account-section-picker { display: none; }
.select-wrap { position: relative; display: block; }
.select-wrap select { appearance: none; padding-right: 42px; }
.select-wrap svg { position: absolute; top: 50%; right: 14px; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.collection-select { display: flex; align-items: center; gap: 15px; flex: 1; min-width: 0; border: 0; background: transparent; text-align: left; cursor: pointer; color: inherit; font: inherit; padding: 0; }
.collection-select:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.setting-row.is-selected { background: color-mix(in srgb, var(--accent-soft) 70%, transparent); border-radius: var(--radius); }
.compact-list { margin-block: 0; }
.compact-row { padding: 10px 8px; }
.contacts-page h1 { margin-bottom: 8px; }
.contacts-manager { display: grid; grid-template-columns: minmax(180px, 0.9fr) minmax(200px, 1fr) minmax(240px, 1.2fr); min-height: 560px; height: calc(100dvh - 16rem); max-height: calc(100dvh - 12rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.contacts-pane { min-width: 0; min-height: 0; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.contacts-pane:last-child { border-right: 0; }
.lists-body { min-width: 0; min-height: 0; display: flex; flex-direction: column; flex: 1; overflow: hidden; }
.lists-body .compact-list { flex: 1; min-height: 0; overflow: auto; }
.lists-rail { display: none; padding: 12px 0; justify-content: center; align-items: flex-start; }
.contacts-manager.lists-collapsed { grid-template-columns: 52px minmax(200px, 1fr) minmax(240px, 1.4fr); }
.contacts-manager.lists-collapsed .lists-body { display: none; }
.contacts-manager.lists-collapsed .lists-rail { display: flex; }
.pane-header { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.pane-header h2 { font-size: 1.05rem; margin: 0; flex: 1; }
.pane-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pane-create { display: grid; gap: 8px; padding: 14px 16px; border-top: 1px solid var(--line); margin-top: auto; flex-shrink: 0; }
.pane-create label { display: grid; gap: 6px; font-weight: 600; font-size: .85rem; }
.contact-search { display: flex; align-items: center; gap: 8px; margin: 10px 12px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); flex-shrink: 0; }
.contact-search svg { width: 16px; height: 16px; color: var(--muted); }
.contact-search input { border: 0; box-shadow: none; background: transparent; padding: 8px 0; }
.contact-index { list-style: none; padding: 0; margin: 0; overflow: auto; flex: 1; min-height: 0; }
.contact-index li button { width: 100%; display: grid; gap: 2px; text-align: left; padding: 10px 16px; border: 0; border-bottom: 1px solid var(--line); background: transparent; cursor: pointer; color: inherit; font: inherit; }
.contact-index li button.is-selected, .contact-index li button:hover { background: var(--accent-soft); }
.contact-index li button span { color: var(--muted); font-size: .8rem; }
.empty-row { padding: 24px 16px; color: var(--muted); }
.detail-pane { padding-bottom: 16px; overflow: auto; min-height: 0; }
.contact-view { display: grid; gap: 12px; padding: 18px 16px; margin: 0; }
.contact-address { white-space: pre-line; }
.contact-view div { display: grid; gap: 2px; }
.contact-view dt { color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.contact-view dd { margin: 0; }
.contact-photo img { width: 96px; height: 96px; object-fit: cover; border-radius: var(--radius); }
.contact-editor, .repeat-group { display: grid; gap: 12px; padding: 16px; }
.contact-editor { min-height: 0; }
.contact-editor label { display: grid; gap: 6px; font-weight: 600; font-size: .85rem; }
.contact-list-field {
  display: grid; gap: 6px; margin: 16px 16px 0; font-weight: 600; font-size: .85rem;
}
.name-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.add-field { display: grid; gap: 10px; padding-top: 8px; border-top: 1px solid var(--line); }
.field-row { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.back-pane { display: none; }

@media (max-width: 900px) {
  .contacts-manager, .contacts-manager.lists-collapsed { grid-template-columns: 1fr; min-height: 420px; height: calc(100dvh - 12rem); max-height: calc(100dvh - 10rem); }
  .contacts-pane { display: none; border-right: 0; }
  .contacts-manager.pane-lists .lists-pane,
  .contacts-manager.pane-people .people-pane,
  .contacts-manager.pane-detail .detail-pane { display: flex; }
  .back-pane { display: inline-flex; }
  /* Drill-down already gives each pane the full width, so collapsing would hide the picker. */
  .contacts-manager.lists-collapsed .lists-body { display: flex; }
  .contacts-manager.lists-collapsed .lists-rail { display: none; }
}
.account-content { min-width: 0; }
.account-content h1 { font-size: clamp(2.4rem, 4vw, 3.8rem); }
.account-events-section { margin-top: 36px; }
.account-events-section h2 { font-size: 1.35rem; letter-spacing: -0.03em; margin-bottom: 12px; }
.account-events-section .button { margin-bottom: 16px; }
.content-lede { font-size: 1.1rem; margin-bottom: 35px; }
.status-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.status-grid article, .status-grid > a, .service-card { display: flex; align-items: center; gap: 15px; padding: 22px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); }
.profile-qr-card { color: inherit; text-decoration: none; }
.profile-qr-card:hover { border-color: var(--accent); }
.status-grid article div, .status-grid > a > div { display: grid; }
.status-grid small, .service-grid small { color: var(--muted); }
.status-grid p { margin: 2px 0 0; font-size: .82rem; }
.profile-summary-card img, .profile-summary-placeholder {
  width: 72px; height: 72px; flex: 0 0 auto; border-radius: 50%; object-fit: cover;
}
.profile-summary-placeholder {
  display: grid; place-items: center; background: var(--accent-soft); color: var(--accent);
  font-size: 2rem; font-weight: 700;
}
.profile-summary-card a, .profile-qr-card p {
  color: var(--muted); font-family: var(--font-mono); font-size: .78rem;
  overflow-wrap: anywhere;
}
/* The global icon sizing would shrink the QR code to an icon. */
.profile-qr-card svg { flex: 0 0 auto; width: 84px; height: 84px; }
.status-icon { flex: 0 0 auto; width: 40px; height: 40px; border-radius: var(--radius); background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.status-icon.success { background: #ddefe4; color: #27744b; }
.calendar-swatch {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
  position: relative; overflow: hidden; cursor: pointer; border: 0; padding: 0;
}
.calendar-swatch input[type="color"] {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; padding: 0; opacity: 0; cursor: pointer;
}
.calendar-swatch:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.setting-row.is-dragging { opacity: .55; }
.todo-card {
  margin: 25px 0; padding: 28px; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: var(--surface-strong); display: grid; gap: 16px;
}
.todo-card h2 { margin: 0; }
.todo-card > p { margin: 0; }
.todo-card .settings-list { margin-block: 0; }
.todo-action {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding-top: 8px;
}
.todo-action p { margin: 4px 0 0; }
.todo-card.is-complete { background: color-mix(in srgb, var(--accent-soft) 55%, var(--surface-strong)); }
.next-step-card { margin: 25px 0; padding: 32px; border-radius: var(--radius-lg); background: var(--accent); color: white; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.next-step-card h2, .next-step-card p, .next-step-card .eyebrow { color: white; }
.next-step-card .eyebrow { background: rgba(255, 255, 255, .22); }
.next-step-card h2 { margin-bottom: 8px; }
.next-step-card p { margin-bottom: 0; opacity: .8; }
.next-step-card .button { background: white; color: var(--accent); border-color: white; white-space: nowrap; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.service-card { color: inherit; text-decoration: none; transition: border-color .2s, transform .2s; }
.service-card:hover { border-color: var(--accent); transform: translateY(-1px); }
.service-card div { display: grid; gap: 2px; min-width: 0; flex: 1; }
.service-card p { margin: 0; color: var(--muted); font-size: .82rem; overflow-wrap: anywhere; }
.service-card-arrow { width: 18px; color: var(--muted); }
.settings-list { display: grid; border-top: 1px solid var(--line); margin-block: 25px; }
.setting-row { display: flex; align-items: center; gap: 15px; padding: 18px 5px; border-bottom: 1px solid var(--line); }
.setting-main { flex: 1; min-width: 0; }
.setting-main p { margin: 3px 0 0; font-size: .85rem; }
.setting-row.muted { opacity: .55; }
.badge-row { display: flex; gap: 6px; margin-top: 6px; }
.badge { display: inline-flex; padding: 2px 7px; background: var(--accent-soft); color: var(--accent); border-radius: 99px; font-size: .68rem; font-weight: 700; }
.badge.success { background: #ddefe4; color: #27744b; }
.badge.warning { background: #f8ecd3; color: var(--warning); }
.row-actions { display: flex; align-items: center; gap: 15px; }
.compact-row .row-actions { width: auto; margin-left: 0; flex-wrap: nowrap; }
.collection-more svg { width: 22px; height: 22px; }
.icon-button, .dialog-close {
  border: 0; background: transparent; cursor: pointer; padding: 7px;
  min-width: 44px; min-height: 44px; display: inline-grid; place-items: center;
}
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.inline-form { margin-top: 35px; }
.inline-form h2, .device-create h2, .security-card h2, .data-card h2 { font-size: 1.5rem; margin-bottom: 6px; }
.inline-fields { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; margin-top: 20px; }
.inline-fields.triple { grid-template-columns: minmax(0, 1fr) minmax(120px, auto) auto; }
.device-create { display: grid; grid-template-columns: auto 1fr; gap: 0 18px; align-items: center; }
.device-create .feature-icon { grid-row: span 2; margin: 0; }
.device-create input { grid-column: 2; margin-top: 15px; }
.device-create .button { grid-column: 2; justify-self: start; margin-top: 10px; }
.settings-section { margin-top: 45px; }
.empty-state { text-align: center; padding: 50px 20px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.empty-state > svg { width: 36px; height: 36px; margin-bottom: 12px; }
.empty-state strong, .empty-state p { display: block; }
.setup-guide { margin-top: 70px; padding-top: 45px; border-top: 1px solid var(--line); }
.setup-steps { list-style: none; padding: 0; display: grid; gap: 20px; }
.setup-steps li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; }
.setup-steps li > span { width: 28px; height: 28px; display: grid; place-items: center; color: var(--accent); background: var(--accent-soft); border-radius: 50%; font-size: .75rem; font-weight: 700; }
.setup-steps p { margin: 3px 0 0; }
.connection-details { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 25px 0; }
.connection-details button { display: grid; grid-template-columns: 1fr auto; gap: 3px; padding: 13px; text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); cursor: pointer; }
.connection-details small { grid-column: 1 / -1; color: var(--muted); }
.connection-details code { color: var(--text); }
.connection-details span { color: var(--accent); font-size: .75rem; }
.security-card, .data-card { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; }
.step-up { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.step-up h2, .step-up h3, .step-up p, .step-up .form-error, .step-up form { width: 100%; }
.step-up h2, .step-up h3, .step-up p { margin-bottom: 0; }
.step-up-dialog { display: grid; }
.step-up-dialog .step-up { margin-top: 0; }
.security-card + .security-card { margin-top: 18px; }
.security-emphasis { border-color: var(--accent); background: var(--accent-soft); }
.username-card { display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: stretch; }
.username-card > div { display: grid; gap: 8px; align-content: center; }
/* The global icon sizing would shrink the QR code, so size it off the card instead. */
.username-card svg { width: min(300px, 100%); height: auto; }
.username-handle { font-size: clamp(2rem, 5vw, 4rem); letter-spacing: -.05em; }
.username-claim { max-width: 650px; }
.username-claim label { display: grid; gap: 8px; margin: 22px 0; font-weight: 600; }
.security-card .feature-icon, .data-card .feature-icon { margin: 0; }
.security-card p, .data-card p { margin: 0; }
.data-card + .data-card { margin-top: 18px; }
.data-card.stacked { grid-template-columns: auto 1fr; align-items: start; }
.data-card.stacked .export-list, .data-card.stacked .import-form { grid-column: 1 / -1; }
.export-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; }
.export-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.import-form { display: grid; gap: 14px; margin-top: 8px; }
.import-form label { display: grid; gap: 8px; font-weight: 600; }
.dest-toggle { display: flex; gap: 18px; flex-wrap: wrap; }
.dest-toggle label { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.dest-toggle input { width: auto; height: auto; }
.import-result { margin: 0; }
.skip-list { list-style: none; padding: 0; margin: 10px 0 0; font-family: var(--font-mono); font-size: .85rem; display: grid; gap: 4px; }
.danger-zone { margin-top: 50px; padding: 30px; border: 1px solid color-mix(in srgb, var(--danger) 40%, var(--line)); border-radius: var(--radius-lg); display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.danger-zone h2 { font-size: 1.5rem; }
.danger-zone p { margin-bottom: 0; }
.dialog-backdrop {
  position: fixed; inset: 0; background: rgba(10, 14, 12, .55); display: grid; place-items: center;
  padding: max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right))
    max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  z-index: 20; backdrop-filter: blur(5px); overflow-y: auto;
}
.dialog {
  position: relative; width: min(100%, 480px); max-height: calc(100dvh - 48px); overflow-y: auto;
  background: var(--surface-strong); border-radius: var(--radius-lg); padding: 35px; box-shadow: var(--shadow);
}
.dialog h2 { font-size: 2rem; }
.dialog-close { position: absolute; top: 15px; right: 15px; }
.dialog .button-row { justify-content: flex-end; margin-top: 20px; }
.collection-actions-dialog { width: min(100%, 640px); }
.collection-actions-dialog h3 { margin: 0 0 6px; }
.collection-actions-dialog .inline-form { margin-top: 22px; }
.collection-sharing { display: grid; gap: 6px; }
.contact-list-servers {
  margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line);
  display: grid; gap: 10px;
}
.contact-list-servers p { margin: 0; }
.server-url-list { display: grid; gap: 10px; }
.server-url-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.server-url-row label { min-width: 0; display: grid; gap: 5px; }
.server-url-row label span { color: var(--muted); font-size: .8rem; font-weight: 700; }
.server-url-row input { width: 100%; min-width: 0; font-family: var(--font-mono); font-size: .8rem; }
.collection-delete {
  margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.collection-delete p { margin: 0; }

.profile-public { max-width: 560px; margin-inline: auto; text-align: center; }
.profile-hero { display: grid; gap: 8px; justify-items: center; margin-bottom: 24px; }
.profile-avatar {
  width: 120px; height: 120px; border-radius: 50%; object-fit: cover;
  background: var(--surface); color: var(--ink);
}
.profile-avatar.placeholder { display: grid; place-items: center; font-size: 2.5rem; font-weight: 700; }
.profile-handle, .profile-joined { margin: 0; color: var(--muted); }
.profile-handle {
  display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px;
}
/* Reuses the header's .brand-mark, shrunk to sit inline with the handle. */
.profile-handle-mark { width: 20px; height: 20px; font-size: .8rem; }
.profile-handle-site { font-weight: 600; color: var(--ink); }
.profile-pronouns {
  margin: 0; padding: 4px 12px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-strong);
  font-size: .85rem; font-weight: 700; letter-spacing: .01em;
}
.profile-joined { font-size: .9rem; }
.profile-actions, .profile-links { display: grid; gap: 10px; margin: 0 0 22px; }
.profile-link {
  display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 2px 10px;
  justify-content: stretch; text-align: left;
}
.profile-link > svg { grid-row: 1 / 3; align-self: center; width: 20px; height: 20px; }
.profile-link > span { font-weight: 700; }
.profile-link > small {
  min-width: 0; overflow: hidden; color: var(--muted); font-size: .72rem;
  font-weight: 500; text-overflow: ellipsis; white-space: nowrap;
}
.profile-link:hover > small { color: inherit; }
.profile-details { text-align: left; margin-top: 8px; }
.profile-list-picker { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 8px; }
.profile-photo-edit { display: flex; gap: 20px; align-items: center; margin-bottom: 8px; }
.profile-photo-edit img, .profile-photo-placeholder {
  width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: var(--surface);
}
.profile-photo-placeholder { display: grid; place-items: center; font-size: 2rem; font-weight: 700; }
.profile-photo-edit .button { margin-right: 12px; }
.profile-settings form { display: grid; gap: 16px; }
.birthday-settings, .email-settings, .contact-settings {
  margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius);
}
.birthday-settings legend, .email-settings legend, .contact-settings legend { padding: 0 6px; font-weight: 700; }
.birthday-settings .field-row { align-items: end; }
.birthday-settings .field-row > label { flex: 1 1 210px; }
.birthday-settings .field-help, .email-settings .field-help, .contact-settings .field-help { margin: 10px 0; color: var(--muted); font-size: .85rem; }
.email-setting-row, .contact-setting-row {
  display: grid; grid-template-columns: minmax(220px, 1fr) minmax(110px, auto) minmax(110px, auto) auto;
  gap: 12px; align-items: end; padding: 14px 0; border-top: 1px solid var(--line);
}
.email-setting-address, .contact-setting-address { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; min-width: 0; }
.email-setting-address strong, .contact-setting-address strong { overflow-wrap: anywhere; }
.email-setting-address small, .contact-setting-address small { width: 100%; color: var(--muted); }
.email-setting-row label, .contact-setting-row label { margin: 0; }
.contact-settings > .button { justify-self: start; margin-top: 4px; }
.profile-details dd .verified-pill { display: inline-block; margin-left: 8px; vertical-align: middle; }
.verified-pill {
  font-size: .72rem; font-weight: 700; letter-spacing: .02em; padding: 4px 8px;
  border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); white-space: nowrap;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 60px; }
  .hero-visual { height: 420px; }
  .feature-grid { grid-template-columns: 1fr; }
  .showcase { grid-template-columns: 1fr; gap: 45px; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .auth-page { grid-template-columns: 1fr; gap: 40px; }
  .account-layout { grid-template-columns: minmax(0, 1fr); gap: 35px; }
  .account-sidebar { min-width: 0; position: static; }
  .account-sidebar nav { display: flex; overflow-x: auto; padding-bottom: 8px; }
  .account-sidebar nav a { white-space: nowrap; }
  .security-card, .data-card { grid-template-columns: auto minmax(0, 1fr); }
  .security-card > .button, .data-card > .button { grid-column: 1 / -1; justify-self: start; }
  .setting-row { flex-wrap: wrap; }
  .row-actions { flex-wrap: wrap; margin-left: auto; }
  .inline-fields.triple { grid-template-columns: minmax(0, 1fr) minmax(120px, auto); }
  .inline-fields.triple .button { grid-column: 1 / -1; justify-self: start; }
  .contact-setting-row, .email-setting-row { grid-template-columns: minmax(0, 1fr) minmax(110px, auto) minmax(110px, auto); }
  .contact-setting-row > .text-button { justify-self: start; }
}

@media (max-width: 600px) {
  .page, .site-header, .site-footer { width: min(100% - 28px, 1180px); }
  .page, .site-header, .site-footer {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  .site-header { height: 72px; position: relative; }
  .roadmap-page { padding-block: 48px 80px; }
  .roadmap-intro { margin-bottom: 55px; text-align: left; }
  .roadmap-intro .eyebrow { justify-content: flex-start; }
  .roadmap-timeline::before { left: 20px; }
  .roadmap-milestone {
    grid-template-columns: 42px minmax(0, 1fr); row-gap: 12px; margin-bottom: 48px;
  }
  .roadmap-when { grid-column: 2; padding: 3px 0 0 14px; text-align: left; }
  .roadmap-dot { grid-column: 1; grid-row: 1 / 3; width: 42px; height: 42px; border-width: 4px; }
  .roadmap-dot svg { width: 17px; height: 17px; }
  .roadmap-card { grid-column: 2; margin-left: 14px; padding: 22px 19px; }
  .roadmap-card h2 { font-size: 1.75rem; }
  .roadmap-features > div { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
  .roadmap-icon { width: 38px; height: 38px; border-radius: 13px; }
  .roadmap-suggest { margin-top: 58px; padding: 23px; align-items: flex-start; }
  .mobile-menu-button { display: grid; }
  .top-nav {
    display: none; position: absolute; top: calc(100% + 10px); right: 0; z-index: 30;
    width: min(280px, calc(100vw - 28px)); padding: 12px; gap: 4px; align-items: stretch;
    flex-direction: column; background: var(--surface-strong); border: 1px solid var(--line);
    border-radius: var(--radius); box-shadow: var(--shadow);
  }
  .top-nav.is-open { display: flex; }
  .top-nav a, .top-nav .text-button {
    min-height: 44px; padding: 10px 12px; border-radius: 12px;
    text-align: left; justify-content: flex-start;
  }
  .top-nav .button { justify-content: center; margin-top: 4px; }
  .hero { min-height: auto; padding-block: 55px; gap: 20px; }
  .hero h1 { font-size: 3rem; }
  .hero-visual { height: 330px; width: 100%; overflow: clip; }
  .orbit-one { width: 290px; height: 290px; }
  .orbit-two { width: 210px; height: 210px; }
  .visual-card { width: min(205px, 68vw); padding: 17px; }
  .calendar-card { animation: none; transform: translate(-38px, -42px) rotate(-4deg); }
  .contact-card { animation: none; transform: translate(42px, 67px) rotate(5deg); }
  .sync-badge { transform: translate(78px, -110px); }
  .sticker { transform: translate(-88px, 118px) rotate(-9deg); }
  .proof-strip { overflow: hidden; gap: 15px; white-space: nowrap; padding-inline: 15px; }
  .features, .promises, .steps, .closing-cta { padding-block: 75px; }
  /* Unboxed feature rows align with the section; bordered promise cards keep inset padding. */
  .feature-grid:not(.promises-grid) article { padding-inline: 0; }
  .showcase .feature-grid article { padding-inline: 0; }
  .promises-grid article { padding: 24px; }
  .profile-preview-frame { width: min(300px, 100%); }
  .showcase-badge { right: -8px; }
  .site-footer { padding: 14px 0 22px; }
  .auth-page { padding-block: 45px 75px; }
  .auth-intro .feature-list { display: none; }
  .auth-intro h1 { font-size: clamp(2.2rem, 12vw, 3rem); }
  .auth-card, .secret-panel { padding: 25px; }
  .secret-list, .status-grid, .service-grid, .connection-details { grid-template-columns: 1fr; }
  .account-layout { padding-block: 40px 80px; }
  .account-sidebar h2, .account-sidebar > .eyebrow { display: none; }
  .account-sidebar nav { display: none; }
  .account-section-picker { display: grid; gap: 7px; font-weight: 700; }
  .next-step-card, .todo-card, .todo-action, .danger-zone { align-items: flex-start; flex-direction: column; }
  .device-create, .security-card, .data-card { grid-template-columns: 1fr; }
  .export-list li { flex-direction: column; align-items: stretch; }
  .device-create .feature-icon, .device-create input, .device-create .button { grid-column: 1; }
  .inline-fields, .inline-fields.triple { grid-template-columns: minmax(0, 1fr); }
  .inline-fields.triple .button { grid-column: auto; justify-self: stretch; }
  .setting-row { align-items: flex-start; }
  .row-actions { width: 100%; margin-left: 0; gap: 8px 14px; justify-content: flex-end; }
  .row-actions .button { flex: 1; }
  .field-row { grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; }
  .field-row > input { grid-column: 1 / -1; }
  .field-row > select { min-width: 120px; }
  .field-row > .text-button { min-height: 44px; padding-inline: 10px; }
  .email-setting-row, .contact-setting-row { grid-template-columns: 1fr 1fr; }
  .email-setting-address, .contact-setting-address { grid-column: 1 / -1; }
  .contact-setting-row > .text-button { grid-column: 1 / -1; justify-self: start; }
  .button, .text-button, .collection-select, .contact-index button { min-height: 44px; }
  .auth-method-picker { grid-template-columns: 1fr; }
  .username-card { grid-template-columns: 1fr; }
  .username-card svg { justify-self: center; }
  .name-grid { grid-template-columns: 1fr; }
  .contacts-manager, .contacts-manager.lists-collapsed {
    height: min(680px, calc(100dvh - 9rem)); max-height: calc(100dvh - 9rem); min-height: 440px;
  }
  .pane-header { padding-inline: 12px; }
  .pane-tools { width: 100%; }
  .pane-tools select { flex: 1; min-width: 0; }
  .dialog-backdrop {
    align-items: end;
    padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right))
      max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  }
  .dialog { padding: 28px 20px 20px; border-radius: 22px; max-height: calc(100dvh - 24px); }
  .dialog h2 { font-size: 1.65rem; padding-right: 34px; }
  .dialog .button-row { align-items: stretch; }
  .dialog .button-row > * { flex: 1 1 100%; min-height: 44px; }
}

.support-doc h2 { scroll-margin-top: 5.5rem; }
.support-doc h3 { scroll-margin-top: 5.5rem; }
.support-toc { margin: 0 0 36px; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.support-toc p { margin: 0 0 8px; font-weight: 700; }
.support-toc ol { margin: 0; padding-left: 1.2rem; }
.support-doc dl { display: grid; grid-template-columns: 8rem 1fr; gap: 6px 16px; }
.support-doc dt { font-weight: 600; }
.support-doc dd { margin: 0; }
.group-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.group-chips button { border: 1px solid var(--line); background: var(--surface); border-radius: 99px; padding: 6px 12px; }
.group-chips button.is-selected { background: var(--accent-soft); border-color: var(--accent); }
.group-membership { display: grid; gap: 8px; margin-top: 20px; }
.device-compat { display: grid; gap: 8px; margin-top: 8px; }

.event-editor, .event-page { padding-block: 40px 80px; }
.event-editor { width: min(820px, calc(100% - 48px)); }
.event-form label, .event-page label { display: grid; gap: 8px; margin: 18px 0; font-weight: 600; }
.event-form textarea, .event-editor textarea, .event-page textarea, .event-form input, .event-form select, .event-page input, .event-page select {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--surface-strong);
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px; background: var(--surface); font-weight: 600; }
.event-cover, .event-cover-preview { width: min(100%, 720px); border-radius: var(--radius); display: block; margin: 0 0 20px; }
.event-page-host {
  display: inline-flex; gap: 10px; align-items: center; margin: 0 0 18px; color: var(--text); text-decoration: none;
}
.event-page-host img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.event-page-host > span:last-child { display: grid; gap: 1px; }
.event-page-host small { color: var(--muted); font-size: .7rem; font-weight: 700; }
.event-page-host strong { font-size: .9rem; }
.event-page-host:hover strong { text-decoration: underline; }
.event-tabs { display: flex; gap: 12px; margin: 18px 0 24px; }
.event-tabs button { border: 0; border-bottom: 2px solid transparent; padding: 8px 2px; background: transparent; color: var(--muted); font-weight: 700; }
.event-tabs button[aria-selected="true"] { border-bottom: 2px solid var(--accent); }
.guest-list, .activity-list, .event-index { list-style: none; padding: 0; display: grid; gap: 12px; }
.event-index li { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.check { display: flex !important; flex-direction: row; align-items: center; gap: 10px; font-weight: 500; }
/* Tick boxes opt out of the global fixed input height so labels stay compact. */
.event-form input[type="checkbox"], .event-form input[type="radio"],
.event-page input[type="checkbox"], .event-page input[type="radio"] {
  width: auto; height: auto; min-height: 0;
}
.font-serif { font-family: Georgia, serif; }
.font-mono { font-family: var(--font-mono); }

/* Event creator: keep the fun visual decisions visible and tuck away logistics. */
.event-creator { width: min(1180px, calc(100% - 48px)); padding-top: 52px; }
.event-creator-heading {
  display: flex; justify-content: space-between; gap: 28px; align-items: end; margin-bottom: 38px;
}
.event-creator-heading h1 { max-width: 760px; margin-bottom: 12px; font-size: clamp(2.7rem, 5vw, 4.6rem); }
.event-creator-heading .content-lede { max-width: 640px; margin-bottom: 0; }
.event-creator-heading .eyebrow { display: flex; gap: 7px; align-items: center; }
.event-draft-status {
  flex: none; margin-bottom: 7px; padding: 7px 12px; color: var(--muted); background: rgba(255,255,255,.65);
  border: 1px solid var(--line); border-radius: 999px; font-size: .78rem; font-weight: 700;
}
.event-draft-status::before {
  content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 7px;
  background: var(--pop-sea); border-radius: 50%;
}
.event-creator-layout {
  display: grid; grid-template-columns: minmax(330px, .88fr) minmax(470px, 1.12fr); gap: clamp(28px, 5vw, 70px);
  align-items: start;
}
.event-creator-preview { position: sticky; top: 24px; min-width: 0; }
.event-preview-card {
  --event-card: #f7e9db; --event-ink: #543d32;
  overflow: hidden; border: 1px solid rgba(80,42,25,.12); border-radius: 34px;
  background: var(--event-card); color: var(--event-ink); box-shadow: 0 26px 65px rgba(91,54,32,.16);
  transform: rotate(-.45deg);
}
.event-preview-card.theme-sun { --event-card: #ffd568; --event-ink: #563b00; }
.event-preview-card.theme-sea { --event-card: #79d8c8; --event-ink: #123f3b; }
.event-preview-card.theme-berry { --event-card: #f49bbb; --event-ink: #5c1832; }
.event-preview-card.theme-sky { --event-card: #9facf2; --event-ink: #202d70; }
.event-cover-drop {
  position: relative; display: grid !important; width: 100%; aspect-ratio: 16 / 10; margin: 0 !important;
  place-items: center; overflow: hidden; cursor: pointer;
  background:
    radial-gradient(circle at 22% 28%, rgba(255,255,255,.58) 0 7%, transparent 7.5%),
    radial-gradient(circle at 77% 68%, rgba(255,255,255,.35) 0 11%, transparent 11.5%),
    linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.03));
  border: 0 !important; border-bottom: 1px solid rgba(80,42,25,.12) !important; border-radius: 0 !important;
}
.event-cover-drop > span:not(.event-cover-change) {
  display: grid; justify-items: center; gap: 7px; color: var(--event-ink); text-align: center;
}
.event-cover-drop > span > svg { width: 34px; height: 34px; }
.event-cover-drop small { color: inherit; opacity: .7; font-weight: 600; }
.event-cover-drop img { width: 100%; height: 100%; object-fit: cover; }
.event-cover-input {
  position: absolute; width: 1px !important; height: 1px; opacity: 0; pointer-events: none;
}
.event-cover-change {
  position: absolute; right: 14px; bottom: 14px; display: inline-flex; gap: 6px; align-items: center;
  padding: 7px 11px; color: #322721; background: rgba(255,255,255,.9); border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0,0,0,.12); font-size: .78rem; font-weight: 800;
}
.event-preview-copy { padding: clamp(25px, 5vw, 40px); }
.event-preview-kicker {
  margin-bottom: 8px; color: var(--event-ink); opacity: .72; font-size: .72rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
}
.event-preview-copy h2 {
  min-height: 1.08em; margin: 0 0 27px; color: var(--event-ink); font-family: inherit;
  font-size: clamp(2rem, 4vw, 3.25rem); overflow-wrap: anywhere;
}
.event-preview-facts { display: grid; gap: 9px; }
.event-preview-facts span { display: flex; gap: 9px; align-items: center; font-size: .92rem; }
.event-preview-facts svg { flex: none; width: 17px; height: 17px; }
.event-preview-host { margin: 28px 0 0; color: var(--event-ink); opacity: .72; font-size: .82rem; font-weight: 700; }
.event-host-profile {
  display: inline-flex; gap: 10px; align-items: center; color: var(--event-ink); text-decoration: none;
}
.event-host-profile img, .event-host-avatar {
  flex: none; width: 38px; height: 38px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(255,255,255,.72); background: rgba(255,255,255,.4);
}
.event-host-avatar { display: grid; place-items: center; font-size: .9rem; font-weight: 800; }
.event-host-profile > span:last-child { display: grid; gap: 1px; }
.event-host-profile small { color: inherit; opacity: .72; font-size: .68rem; font-weight: 700; }
.event-host-profile strong { font-size: .84rem; }
a.event-host-profile:hover strong { text-decoration: underline; }
.event-style-controls {
  display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: end; margin-top: 24px; padding-inline: 8px;
}
.event-control-label { display: block; margin-bottom: 9px; color: var(--muted); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.event-theme-picker, .event-font-picker { display: flex; gap: 8px; }
.theme-swatch, .event-font-picker label { position: relative; display: block !important; margin: 0 !important; cursor: pointer; }
.theme-swatch input, .event-font-picker input {
  position: absolute; width: 1px !important; height: 1px; opacity: 0; pointer-events: none;
}
.theme-swatch > span {
  display: block; width: 29px; height: 29px; overflow: hidden; border: 2px solid var(--surface-strong);
  border-radius: 50%; background: #e8d4c0; box-shadow: 0 0 0 1px var(--line); text-indent: -999px;
}
.theme-swatch.theme-sun > span { background: #f5b53d; }
.theme-swatch.theme-sea > span { background: #2f9e8f; }
.theme-swatch.theme-berry > span { background: #d9628f; }
.theme-swatch.theme-sky > span { background: #6478d8; }
.theme-swatch input:checked + span { box-shadow: 0 0 0 3px var(--text); }
.event-font-picker label > span {
  display: grid; min-width: 38px; height: 32px; place-items: center; padding-inline: 8px;
  color: var(--muted); border: 1px solid var(--line); border-radius: 9px; background: var(--surface-strong); font-size: .78rem;
}
.event-font-picker input:checked + span { color: var(--text); border-color: var(--text); box-shadow: 0 0 0 1px var(--text); }
.event-creator-fields { display: grid; gap: 16px; min-width: 0; }
.event-editor-card {
  margin: 0; padding: clamp(22px, 3vw, 31px); border: 1px solid var(--line); border-radius: 24px;
  background: rgba(255,253,248,.88); box-shadow: 0 10px 30px rgba(123,63,35,.055);
}
.event-editor-card-heading { display: flex; gap: 15px; align-items: start; margin-bottom: 19px; }
.event-editor-card-heading h2 { margin: 0 0 4px; font-size: 1.5rem; letter-spacing: -.035em; }
.event-editor-card-heading p { margin: 0; font-size: .85rem; }
.event-step, .event-detail-icon {
  flex: none; display: grid; width: 36px; height: 36px; place-items: center; color: var(--accent-strong);
  background: var(--accent-soft); border-radius: 12px; font-weight: 800;
}
.event-form .event-editor-card label { margin: 15px 0; }
.event-editor-card label > span:first-child, .event-added-block legend {
  color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .02em;
}
.event-form .event-editor-card input:not([type="checkbox"]):not([type="radio"]),
.event-form .event-editor-card textarea, .event-form .event-editor-card select {
  min-height: 48px; border-color: #e5d6c6; transition: border-color .15s, box-shadow .15s, background .15s;
}
.event-form .event-editor-card input:focus, .event-form .event-editor-card textarea:focus, .event-form .event-editor-card select:focus {
  outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); background: #fff;
}
.event-title-field input { min-height: 60px !important; font-size: 1.15rem; font-weight: 700; }
.event-date-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.event-input-with-icon { position: relative; display: block; }
.event-input-with-icon svg { position: absolute; z-index: 1; left: 13px; top: 50%; color: var(--muted); transform: translateY(-50%); }
.event-input-with-icon input { padding-left: 42px !important; }
.location-field { position: relative; }
.location-suggestions {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  margin: 0;
  padding: 4px;
  list-style: none;
  background: var(--surface, #fff);
  border: 1px solid var(--line, #ddd);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.location-suggestions button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 8px 10px;
  border-radius: 8px;
}
.location-suggestions button.on,
.location-suggestions button:hover { background: var(--wash, rgba(0, 0, 0, 0.06)); }
.event-add-button {
  display: inline-flex; gap: 7px; align-items: center; min-height: 42px; padding: 8px 12px;
  color: var(--accent-strong); background: var(--accent-soft); border: 0; border-radius: 11px; font-weight: 800; cursor: pointer;
}
.event-added-block {
  position: relative; margin: 20px 0; padding: 16px; border: 1px dashed #d9c5b1; border-radius: 16px; background: rgba(255,255,255,.55);
}
.event-added-block legend { padding-inline: 5px; }
.event-remove-block {
  position: absolute; top: 9px; right: 10px; display: grid; width: 34px; height: 34px; place-items: center;
  color: var(--muted); background: transparent; border: 0; border-radius: 9px; cursor: pointer;
}
.event-remove-block:hover { color: var(--danger); background: #fff0ed; }
.event-editor-details { padding: 0; overflow: hidden; }
.event-editor-details summary {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center;
  padding: 21px 24px; list-style: none; cursor: pointer;
}
.event-editor-details summary::-webkit-details-marker { display: none; }
.event-editor-details summary strong, .event-editor-details summary small { display: block; }
.event-editor-details summary small { margin-top: 2px; color: var(--muted); font-weight: 500; }
.event-editor-details summary > svg { color: var(--muted); transition: transform .2s; }
.event-editor-details[open] summary > svg { transform: rotate(180deg); }
.event-details-body { padding: 4px 24px 25px; border-top: 1px solid var(--line); }
.event-details-body fieldset { margin: 18px 0; padding: 0; border: 0; }
.event-details-body fieldset > legend { margin-bottom: 9px; font-weight: 700; }
.event-toggle-row { display: flex; flex-wrap: wrap; gap: 8px; }
.event-form .event-toggle-row .chip { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 9px 15px; }
.event-toggle-row .chip:has(input:checked) { color: var(--accent-strong); border-color: var(--accent); background: var(--accent-soft); }
.event-check-list { display: grid; gap: 4px; margin-top: 12px; }
.event-form .event-check-list label { margin: 0; padding: 10px 0; border-bottom: 1px solid rgba(234,220,204,.7); }
.event-required-check { align-self: end; min-height: 48px; }
.event-publish-bar {
  position: sticky; z-index: 20; bottom: 16px; display: flex; justify-content: space-between; gap: 20px; align-items: center;
  width: min(610px, calc(100% - 24px)); margin: 28px 0 0 auto; padding: 13px 14px 13px 20px;
  color: white; background: rgba(52,42,38,.96); border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px; box-shadow: 0 18px 44px rgba(52,42,38,.25); backdrop-filter: blur(14px);
}
.event-publish-bar strong, .event-publish-bar span { display: block; }
.event-publish-bar span { color: rgba(255,255,255,.68); font-size: .76rem; }
.event-publish-button { flex: none; }

@media (max-width: 900px) {
  .event-creator-layout { grid-template-columns: minmax(0, 1fr); }
  .event-creator-preview { position: static; width: min(560px, 100%); margin-inline: auto; }
  .event-publish-bar { width: min(610px, calc(100% - 24px)); margin-inline: auto; }
}

@media (max-width: 600px) {
  .event-creator { width: min(100% - 28px, 1180px); padding-top: 28px; padding-bottom: 110px; }
  .event-creator-heading { display: block; margin-bottom: 24px; }
  .event-creator-heading h1 { font-size: 2.55rem; }
  .event-creator-heading .content-lede { font-size: .98rem; }
  .event-draft-status { display: inline-block; margin-top: 12px; }
  .event-creator-layout { gap: 24px; }
  .event-preview-card { border-radius: 25px; transform: none; }
  .event-preview-copy { padding: 25px; }
  .event-preview-copy h2 { font-size: 2.05rem; margin-bottom: 20px; }
  .event-style-controls { grid-template-columns: 1fr; gap: 14px; }
  .event-editor-card { padding: 20px 17px; border-radius: 20px; }
  .event-editor-details { padding: 0; }
  .event-editor-details summary { padding: 18px 16px; gap: 11px; }
  .event-details-body { padding: 3px 16px 21px; }
  .event-date-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .event-publish-bar {
    position: fixed; right: max(10px, env(safe-area-inset-right)); bottom: max(10px, env(safe-area-inset-bottom));
    left: max(10px, env(safe-area-inset-left)); width: auto; margin: 0; padding: 10px 10px 10px 15px;
  }
  .event-publish-bar > div { min-width: 0; }
  .event-publish-bar strong, .event-publish-bar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .event-publish-button { min-height: 48px; }
}

.lets-go-brand { text-transform: none; letter-spacing: 0.02em; }
.lets-go-preview-art { cursor: default; }
.lets-go-calendar { margin-top: 8px; }
.lets-go-calendar-nav { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.lets-go-weekdays, .lets-go-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.lets-go-weekdays span { text-align: center; color: var(--muted); font-size: .72rem; font-weight: 800; }
.lets-go-day {
  min-height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-strong);
  font-weight: 700; cursor: pointer;
}
.lets-go-day.is-selected { color: var(--accent-strong); background: var(--accent-soft); border-color: var(--accent); }
.lets-go-day.is-today { box-shadow: inset 0 0 0 2px var(--accent); }
.lets-go-day.is-past, .lets-go-day:disabled { color: var(--muted); background: transparent; cursor: default; }
.lets-go-empty { display: flex; gap: 8px; align-items: center; color: var(--muted); }
.lets-go-selected, .lets-go-times, .lets-go-remove, .lets-go-card-people { list-style: none; padding: 0; display: grid; gap: 10px; }
.lets-go-selected-head, .lets-go-times li, .lets-go-remove li, .lets-go-card-people li { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.lets-go-custom-duration { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lets-go-page { display: grid; gap: 14px; width: min(1180px, calc(100% - 48px)); padding-top: 16px; }
.lets-go-summary {
  transform: rotate(-.35deg);
  border-radius: 28px;
  box-shadow: 0 16px 40px rgba(91,54,32,.14);
}
.lets-go-page .event-preview-copy { padding: 16px 18px 14px; }
.lets-go-page .event-preview-kicker {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 6px;
  padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.55);
}
.lets-go-page .event-preview-kicker svg { width: 14px; height: 14px; }
.lets-go-summary-top { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.lets-go-page .event-preview-card h1 { margin: 0; color: var(--event-ink); font-size: clamp(1.55rem, 3vw, 2.15rem); letter-spacing: -.045em; }
.lets-go-summary .marker { background: linear-gradient(transparent 62%, rgba(255,255,255,.72) 62%, rgba(255,255,255,.72) 92%, transparent 92%); }
.lets-go-summary-note { margin: 8px 0 0; max-width: 62ch; color: var(--event-ink); font-size: .98rem; font-weight: 600; }
.lets-go-page .event-preview-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.lets-go-page .event-preview-facts span {
  flex: none; width: auto; margin: 0; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.62); color: var(--event-ink); font-weight: 700;
}
.lets-go-page .event-preview-host { margin: 0; flex: none; padding: 6px 10px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.62); }
.lets-go-page .content-lede { margin: 0; font-size: .98rem; }
.lets-go-page .lets-go-how { margin: 8px 0 40px; }
.lets-go-page > form { min-width: 0; }
.lets-go-vote-row { justify-content: center; margin-top: 28px; }
.lets-go-scroll-frame { position: relative; min-width: 0; max-width: 100%; }
.lets-go-scroll {
  min-width: 0; max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 24px;
  background: rgba(255,253,248,.88);
}
.lets-go-scroll-hint-row,
.lets-go-scroll-hint { display: none; }
.lets-go-table { width: max-content; min-width: 100%; border-collapse: separate; border-spacing: 0; }
.lets-go-table th, .lets-go-table td {
  min-width: 8.75rem; padding: 12px; border-bottom: 1px solid var(--line);
  text-align: center; vertical-align: middle; background: rgba(255,253,248,.96);
}
.lets-go-table th:first-child {
  position: sticky; left: 0; z-index: 2; min-width: 7.5rem; max-width: 11rem;
  text-align: left; background: #fffdf8; box-shadow: 8px 0 14px rgba(52,42,38,.05);
}
.lets-go-col { display: grid; gap: 2px; justify-items: center; }
.lets-go-col-day { font-size: .95rem; }
.lets-go-col-time, .lets-go-col-count { font-size: .78rem; font-weight: 700; color: var(--muted); }
.lets-go-place { display: inline-block; margin-left: 4px; font-size: 1.05rem; line-height: 1; vertical-align: -3px; }
.lets-go-table .is-leading { background: #e7f6f2; }
.lets-go-table .lets-go-choices { flex-direction: column; align-items: stretch; }
.lets-go-table .lets-go-choice { justify-content: center; }
.lets-go-choices { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; border: 0; }
.lets-go-choice {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line);
  border-radius: 999px; background: var(--surface); font-weight: 700; cursor: pointer;
}
.lets-go-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.lets-go-choice.choice-yes { border-color: #2f9e8f; }
.lets-go-choice.choice-no { border-color: var(--accent); }
.lets-go-choice.choice-if_need_be { border-color: #f5b53d; }
.lets-go-choice.choice-yes.is-selected { color: #123f3b; background: #d8f3ee; border-color: #2f9e8f; }
.lets-go-choice.choice-no.is-selected { color: var(--accent-strong); background: var(--accent-soft); border-color: var(--accent); }
.lets-go-choice.choice-if_need_be.is-selected { color: #563b00; background: #ffe7b0; border-color: #f5b53d; }
.lets-go-cards { display: grid; gap: 12px; }
.lets-go-card { padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,253,248,.92); }
.lets-go-card.is-leading { box-shadow: inset 0 0 0 2px #2f9e8f; }
.lets-go-card.is-chosen { box-shadow: inset 0 0 0 2px var(--accent); }
.lets-go-card h2 { margin: 0 0 8px; font-size: 1.25rem; }
.lets-go-chosen { color: var(--accent-strong); font-weight: 800; }
.lets-go-person { display: inline-flex; gap: 8px; align-items: center; }
.lets-go-person-id { display: grid; justify-items: start; line-height: 1.15; min-width: 0; }
.lets-go-person img, .lets-go-avatar {
  width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: var(--accent-soft); color: var(--accent-strong);
}
.lets-go-avatar { display: inline-grid; place-items: center; font-weight: 800; }
.lets-go-person small { color: var(--muted); font-size: .72rem; font-weight: 700; }
.lets-go-host { display: grid; gap: 12px; }
.lets-go-identity { font-weight: 700; }
.lets-go-name label { margin-bottom: 0; }
.lets-go-name.is-missing label > span:first-child,
.lets-go-name-error { color: var(--danger); }
.lets-go-name-error { display: block; margin-top: 8px; font-size: .92rem; font-weight: 800; animation: lets-go-name-in .28s ease; }
.lets-go-name.is-missing input,
.lets-go-name.is-missing input:focus {
  border-color: var(--danger);
  background: #fff5f3;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--danger) 24%, transparent);
}
@keyframes lets-go-name-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
td.choice-yes { color: #123f3b; font-weight: 800; }
td.choice-no { color: var(--accent-strong); font-weight: 800; }
td.choice-if_need_be { color: #563b00; font-weight: 800; }

@media (max-width: 600px) {
  .lets-go-page { width: min(100% - 28px, 1180px); }
  .lets-go-summary-top { align-items: start; }
  .lets-go-page .event-host-profile img, .lets-go-page .event-host-avatar { width: 32px; height: 32px; }
  .lets-go-custom-duration { grid-template-columns: 1fr; }
  .lets-go-scroll-frame.has-more::after {
    content: "";
    position: absolute; top: 1px; right: 1px; bottom: 1px; z-index: 3; width: 64px;
    border-radius: 0 23px 23px 0; pointer-events: none;
    background: linear-gradient(to right, rgba(255,253,248,0), rgba(255,253,248,.96) 72%);
  }
  .lets-go-scroll-hint-row { display: flex; justify-content: flex-end; margin: 0 0 28px; }
  .lets-go-scroll-hint {
    display: inline-flex; align-items: center; gap: 2px;
    height: 28px; padding: 0 8px 0 12px; border: 0; border-radius: 999px;
    background: #fff; color: var(--ink); font: inherit; font-size: .8rem; font-weight: 800;
    box-shadow: 0 6px 16px rgba(52,42,38,.16); cursor: pointer;
  }
  .lets-go-scroll-hint svg { width: 16px; height: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .proof-track, .calendar-card, .contact-card, .orbit, .confetti i, .wave,
  .profile-preview-frame, .showcase-badge svg { animation: none !important; }
}
