:root {
  --surface: var(--rod-paper, #fff8f5);
  --surface-low: var(--rod-cream, #fbf2ed);
  --surface-mid: var(--rod-warm, #f5ece7);
  --surface-high: var(--rod-gold-soft, #efe6e2);
  --text: var(--rod-ink, #1e1b18);
  --muted: var(--rod-muted, #544242);
  --outline: #dac1c0;
  --primary: #40040a;
  --primary-soft: #ffdad8;
  --gold: var(--rod-warning, #775a19);
  --gold-soft: var(--rod-gold-soft, #ffdea5);
  --shadow: var(--rod-shadow-lg, 0 18px 60px rgba(64, 4, 10, 0.08));
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--surface);
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--surface);
  color: var(--text);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background:
    linear-gradient(rgba(64, 4, 10, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(64, 4, 10, 0.014) 1px, transparent 1px);
  background-size: 22px 22px;
  z-index: 10;
}

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

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Libre Caslon Text", Georgia, serif;
  color: var(--primary);
  letter-spacing: 0;
}

p {
  margin: 0;
  line-height: 1.65;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 24px;
  background: rgba(254, 252, 248, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(218, 193, 192, 0.42);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-family: "Libre Caslon Text", Georgia, serif;
  color: var(--primary);
  font-size: 1.4rem;
  font-weight: 700;
}

.brand-mark-logo,
.brand-wordmark {
  display: block;
  mix-blend-mode: multiply;
  object-fit: contain;
}

.brand-mark-logo {
  width: clamp(34px, 5vw, 44px);
  height: clamp(34px, 5vw, 44px);
  flex: 0 0 auto;
}

.brand-wordmark {
  width: auto;
  height: clamp(30px, 4vw, 40px);
  max-width: min(42vw, 210px);
  transform: translateY(3px);
}

.pilot-pill,
.badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(119, 90, 25, 0.34);
  border-radius: 999px;
  background: rgba(255, 222, 165, 0.34);
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 9px 13px;
  text-transform: uppercase;
}

.pilot-link {
  flex: 0 1 auto;
  max-width: 100%;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.pilot-link:hover {
  border-color: rgba(119, 90, 25, 0.56);
  background: rgba(255, 222, 165, 0.52);
  color: var(--primary);
  box-shadow: 0 8px 18px rgba(90, 66, 36, 0.12);
  transform: translateY(-1px);
}

.pilot-link:focus-visible {
  outline: 3px solid rgba(119, 90, 25, 0.28);
  outline-offset: 3px;
}

.pilot-link:active {
  background: rgba(255, 222, 165, 0.64);
  box-shadow: 0 4px 10px rgba(90, 66, 36, 0.1);
  transform: translateY(0);
}

.screen {
  display: none;
  padding: 24px;
}

.screen.active {
  display: block;
}

[hidden] {
  display: none !important;
}

fieldset {
  margin: 28px 0;
  border: 0;
  padding: 0;
}

legend,
.compatibility-form h2 {
  margin: 26px 0 14px;
  color: var(--primary);
  font-family: "Libre Caslon Text", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
}

.role-options {
  display: grid;
  gap: 10px;
}

.role-options label {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--outline);
  border-radius: 14px;
  background: var(--surface-low);
  padding: 14px 16px;
  font-weight: 700;
}

.role-options input {
  width: 20px;
  height: 20px;
}

.role-fields {
  margin-top: 32px;
  border-top: 1px solid var(--outline);
  padding-top: 8px;
}

[data-guest-fields]:not([hidden]) {
  display: grid;
  gap: 18px;
}

.compatibility-form {
  max-width: 720px;
}

.onboarding-progress {
  display: grid;
  gap: 9px;
  margin-bottom: 4px;
}

.progress-copy {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.progress-track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface-high);
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), #c79839);
  transition: width 220ms ease;
}

.onboarding-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  border-top: 1px solid var(--outline);
  padding-top: 18px;
}

.onboarding-nav [data-step-back][hidden] + [data-step-next] {
  grid-column: 1 / -1;
}

.match-reasons {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.45;
}

.compact-choice {
  gap: 10px;
}

.helper-text {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.promise-card,
.safety-profile {
  display: grid;
  gap: 12px;
  border: 1px solid var(--outline);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
  padding: 20px;
}

.promise-card h2 {
  font-size: clamp(1.45rem, 4vw, 2rem);
}

.promise-card p {
  color: var(--muted);
  line-height: 1.6;
}

.checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-radius: 14px;
  background: var(--surface-low);
  padding: 14px;
}

.checkbox-line input {
  width: auto;
  margin-top: 3px;
}

.promise-inline-card {
  display: grid;
  gap: 8px;
  border: 1px solid var(--outline);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
  padding: 14px;
}

.promise-open-button {
  width: 100%;
  border: 0;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.promise-open-button input {
  pointer-events: none;
}

.text-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.promise-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: rgba(34, 25, 18, 0.55);
  padding: 20px;
}

.promise-modal[hidden] {
  display: none;
}

.promise-modal-panel {
  position: relative;
  width: min(720px, 100%);
  max-height: min(720px, 90vh);
  overflow: auto;
  display: grid;
  gap: 16px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-strong);
  padding: clamp(24px, 5vw, 42px);
}

.promise-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--outline);
  border-radius: 50%;
  background: var(--surface-low);
  color: var(--text);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

body.modal-open {
  overflow: hidden;
}

.choice-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice-chips button {
  min-height: 40px;
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 0.82rem;
}

.choice-limit-message,
.error-text {
  min-height: 1.2em;
  color: #93000a;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.availability-picker .card-title {
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: 800;
  line-height: 1.25;
  color: var(--primary);
}

.availability-options {
  display: grid;
  gap: 8px;
}

.availability-options label {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--outline);
  border-radius: 12px;
  background: white;
  padding: 11px 13px;
}

.availability-options input {
  width: 18px;
  height: 18px;
}

.date-add-row {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.date-add-row .button {
  min-height: 48px;
}

.selected-fridays {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.selected-date {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--primary);
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 8px 11px;
}

@media (min-width: 560px) {
  .availability-options,
  .date-add-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.recommendation-grid {
  display: grid;
  gap: 16px;
  margin: 32px 0;
}

.host-discovery-intro {
  display: grid;
  gap: 8px;
  margin: 4px 0 8px;
}

.host-discovery-intro.priority {
  margin-top: 0;
}

.host-discovery-intro h2 {
  color: var(--primary);
  font-family: "Libre Caslon Text", Georgia, serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.12;
}

.host-discovery-intro p {
  color: var(--muted);
  line-height: 1.7;
}

.match-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--outline);
  border-radius: 18px;
  background: var(--surface-low);
  box-shadow: var(--shadow);
  padding: 22px;
}

.host-card-intro {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.host-photo-frame {
  width: 82px;
  aspect-ratio: 1;
}

.host-photo,
.host-avatar {
  width: 100%;
  height: 100%;
  border: 1px solid rgba(218, 193, 192, 0.88);
  border-radius: 18px;
  background: #fff8f1;
  object-fit: cover;
}

.host-avatar {
  display: grid;
  place-items: center;
  color: var(--primary);
  font-family: "Libre Caslon Text", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
}

.host-table-quote {
  margin: 2px 0;
  border-left: 4px solid var(--gold);
  color: var(--primary);
  font-family: "Libre Caslon Text", Georgia, serif;
  font-size: 1.12rem;
  line-height: 1.55;
  padding-left: 14px;
}

.profile-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-chip-row span {
  border: 1px solid rgba(218, 193, 192, 0.88);
  border-radius: 999px;
  background: rgba(255, 253, 251, 0.78);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 7px 10px;
}

.match-card.chosen {
  border-color: var(--gold);
  background: rgba(255, 222, 165, 0.2);
}

.score {
  width: fit-content;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 7px 10px;
}

.match-meta,
.match-warning {
  color: var(--muted);
  font-size: 0.9rem;
}

.match-warning {
  border-left: 3px solid var(--gold);
  padding-left: 10px;
}

.host-status-callout {
  display: grid;
  gap: 10px;
  margin: 28px 0;
  border: 1px solid rgba(124, 80, 43, 0.2);
  border-left: 6px solid var(--gold);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 247, 232, 0.96), rgba(255, 255, 255, 0.92));
  box-shadow: var(--shadow);
  padding: 24px;
  text-align: left;
}

.host-status-callout .eyebrow {
  margin: 0;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.host-status-callout h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Libre Caslon Text", Georgia, serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.2;
}

.host-status-callout p {
  margin: 0;
  color: var(--muted);
}

.host-review-shell {
  max-width: 980px;
}

.host-review-status,
.host-link-settings,
.contact-release {
  border: 1px solid var(--outline);
  border-radius: 18px;
  background: var(--surface-low);
  padding: 20px;
}

.host-review-status {
  margin: 24px 0;
  color: var(--muted);
  font-weight: 700;
}

.host-review-status.error {
  border-color: #a23232;
  color: #7f1d1d;
}

.host-review-grid {
  display: grid;
  gap: 18px;
  margin: 24px 0;
}

.host-profile-card {
  display: grid;
  gap: 22px;
  border: 1px solid var(--outline);
  border-radius: 18px;
  background: #fffdfb;
  box-shadow: var(--shadow);
  padding: clamp(18px, 4vw, 30px);
}

.host-profile-hero {
  display: grid;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid rgba(218, 193, 192, 0.72);
  padding-bottom: 22px;
}

.guest-photo-wrap {
  width: min(42vw, 132px);
  aspect-ratio: 1;
}

.guest-profile-photo,
.guest-photo-placeholder,
.profile-photo-preview {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  object-fit: cover;
}

.guest-profile-photo,
.guest-photo-placeholder {
  border: 1px solid rgba(218, 193, 192, 0.88);
  background: var(--surface-mid);
}

.guest-photo-placeholder {
  display: grid;
  place-items: center;
  color: var(--primary);
  font-family: "Libre Caslon Text", Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
}

.profile-section,
.trust-panel {
  display: grid;
  gap: 12px;
}

.profile-section h3,
.trust-panel h3 {
  color: var(--primary);
  font-size: 1.15rem;
}

.shared-grid {
  display: grid;
  gap: 10px;
}

.shared-grid div {
  display: grid;
  gap: 4px;
  border-radius: 12px;
  background: var(--surface-low);
  padding: 14px;
}

.shared-grid strong {
  color: var(--primary);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.shared-grid span {
  color: var(--muted);
}

.trust-panel {
  border: 1px solid rgba(119, 90, 25, 0.34);
  border-radius: 16px;
  background: rgba(255, 222, 165, 0.18);
  padding: 18px;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trust-badges span {
  border: 1px solid rgba(119, 90, 25, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 7px 10px;
}

.privacy-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.privacy-list div {
  display: grid;
  gap: 3px;
}

.privacy-list dt {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.privacy-list dd {
  margin: 0;
  color: var(--muted);
}

.contact-release {
  display: grid;
  gap: 10px;
  border-color: rgba(119, 90, 25, 0.34);
  background: rgba(255, 222, 165, 0.18);
}

.host-link-settings {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.host-link-settings form {
  display: grid;
  gap: 16px;
}

.host-review-logo {
  width: min(220px, 62vw);
  margin: 0 auto 6px;
}

.powered-by {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 22px;
  text-align: center;
  text-transform: uppercase;
}

.primary-card-main {
  display: grid;
  gap: clamp(22px, 4vw, 34px);
}

.guest-portrait {
  display: grid;
  place-items: center;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 222, 165, 0.42), transparent 58%),
    rgba(251, 242, 237, 0.72);
  min-height: clamp(230px, 34vw, 320px);
  padding: 24px;
}

.guest-photo-frame {
  width: clamp(180px, 23vw, 220px);
  aspect-ratio: 1;
  border: 4px solid rgba(255, 248, 245, 0.92);
  border-radius: 999px;
  box-shadow: 0 18px 44px rgba(64, 4, 10, 0.14);
  overflow: hidden;
}

.guest-photo-frame.small {
  width: 78px;
  border-width: 3px;
  box-shadow: 0 10px 26px rgba(64, 4, 10, 0.1);
}

.guest-photo,
.guest-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guest-avatar {
  display: grid;
  place-items: center;
  border-radius: inherit;
  background: var(--primary);
  color: var(--gold-soft);
  font-family: "Libre Caslon Text", Georgia, serif;
  font-size: 4rem;
  font-weight: 700;
}

.guest-avatar.small {
  font-size: 1.45rem;
}

.featured-guest-content {
  display: grid;
  align-content: start;
  gap: 22px;
}

.featured-guest-content h2 {
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  line-height: 1;
}

.guest-summary-grid {
  display: grid;
  gap: 10px;
  margin: 0;
}

.guest-summary-grid div {
  border: 1px solid rgba(218, 193, 192, 0.45);
  border-radius: 16px;
  background: rgba(255, 248, 245, 0.66);
  padding: 13px 15px;
}

.guest-summary-grid dt {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.guest-summary-grid dd {
  margin: 0;
  color: var(--text);
  line-height: 1.45;
}

.guest-about {
  display: grid;
  gap: 14px;
  border-left: 4px solid rgba(119, 90, 25, 0.45);
  border-radius: 0 18px 18px 0;
  background: rgba(255, 248, 245, 0.56);
  color: var(--muted);
  margin: 6px 0 10px;
  padding: 26px 26px;
}

.guest-about p {
  color: var(--text);
  font-family: "Libre Caslon Text", Georgia, serif;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.75;
  white-space: pre-wrap;
}

.guest-about h3,
.looking-for h3,
.match-reason-panel h3,
.host-question-form h3 {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--primary);
}

.looking-for {
  display: grid;
  gap: 6px;
  color: var(--muted);
}

.trust-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(91, 128, 79, 0.22);
  border-radius: 999px;
  background: rgba(232, 242, 222, 0.62);
  color: #36552d;
  font-size: 0.86rem;
  font-weight: 900;
  padding: 8px 13px;
}

.match-reason-panel {
  display: grid;
  gap: 14px;
  border-top: 1px solid rgba(218, 193, 192, 0.72);
  border-radius: 18px;
  background: rgba(255, 222, 165, 0.16);
  padding: 18px;
}

.reason-badges {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}

.reason-badges li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  border-radius: 16px;
  background: rgba(255, 248, 245, 0.82);
  color: var(--primary);
  font-size: 1rem;
  font-weight: 900;
  padding: 15px 16px;
}

.reason-badges span,
.mini-reason-list span {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--primary);
}

.privacy-reassurance {
  border-radius: 14px;
  background: rgba(255, 248, 245, 0.6);
  color: var(--muted);
  font-size: 0.94rem;
  padding: 12px 14px;
}

.host-action-panel {
  display: grid;
  justify-items: center;
  gap: 14px;
  border-top: 1px solid rgba(218, 193, 192, 0.72);
  padding-top: 18px;
  text-align: center;
}

.host-primary-action {
  width: min(100%, 440px);
  min-height: 64px;
  font-size: 1.02rem;
  padding-inline: 30px;
}

.host-secondary-actions {
  display: grid;
  gap: 10px;
  width: min(100%, 440px);
}

.button.text-button {
  min-height: 48px;
  background: transparent;
  color: var(--primary);
  box-shadow: none;
}

.host-question-form {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(218, 193, 192, 0.55);
  border-radius: 18px;
  background: rgba(255, 248, 245, 0.72);
  padding: 18px;
}

.next-steps {
  border-top: 1px solid rgba(218, 193, 192, 0.72);
  color: var(--muted);
  padding-top: 2px;
}

.next-steps summary {
  cursor: pointer;
  color: var(--primary);
  font-weight: 900;
}

.next-steps ul {
  display: grid;
  gap: 10px;
  margin: 12px 0 0 22px;
  padding: 0;
}

.next-steps li {
  color: var(--muted);
  font-weight: 700;
}

.other-guests-section {
  display: grid;
  gap: 20px;
  margin-top: 18px;
  padding-top: 6px;
}

.other-guests-section h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.other-guests-intro {
  display: grid;
  gap: 6px;
  max-width: 620px;
}

.other-guests-intro p,
.host-other-head p,
.other-intro-preview,
.host-review-footer-links {
  color: var(--muted);
}

.other-guests-grid {
  display: grid;
  gap: 18px;
}

.host-other-card {
  display: grid;
  align-content: start;
  gap: 16px;
  border: 1px solid rgba(218, 193, 192, 0.52);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(251, 242, 237, 0.98), rgba(255, 248, 245, 0.78));
  box-shadow: 0 14px 38px rgba(64, 4, 10, 0.055);
  padding: 22px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.host-other-card:hover {
  border-color: rgba(119, 90, 25, 0.34);
  box-shadow: 0 18px 42px rgba(64, 4, 10, 0.08);
  transform: translateY(-2px);
}

.other-card-portrait {
  display: flex;
  justify-content: flex-start;
}

.host-other-content,
.host-other-head {
  display: grid;
  gap: 12px;
}

.host-other-head {
  align-items: start;
}

.host-other-head h3 {
  font-size: 1.5rem;
  line-height: 1.12;
}

.mini-reason-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mini-reason-list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: rgba(255, 248, 245, 0.76);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 7px 10px;
}

.mini-reason-list span {
  width: auto;
  height: auto;
  background: transparent;
  color: var(--gold);
}

.other-intro-preview {
  display: -webkit-box;
  min-height: 3.1em;
  overflow: hidden;
  font-family: "Libre Caslon Text", Georgia, serif;
  font-size: 1.03rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.other-view-button {
  width: 100%;
  min-height: 50px;
}

.host-other-card .score {
  width: fit-content;
  background: rgba(255, 222, 165, 0.42);
  color: var(--gold);
}

.view-more-guests {
  justify-self: start;
}

.decision-row {
  display: grid;
  gap: 10px;
}

.photo-upload-field {
  display: grid;
  gap: 10px;
}

.profile-photo-preview {
  max-width: 150px;
  aspect-ratio: 1;
  border: 1px solid var(--outline);
}

.character-count {
  justify-self: end;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

@media (min-width: 680px) {
  .primary-card-main {
    grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.22fr);
  }

  .guest-summary-grid,
  .reason-badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .other-guests-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .other-guests-section.other-count-1 .other-guests-grid {
    max-width: 360px;
  }

  .host-profile-hero {
    grid-template-columns: auto 1fr;
  }

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

  .role-options,
  .decision-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 679px) {
  .topbar {
    gap: 10px;
    padding: 10px 14px;
  }

  .brand-wordmark {
    height: clamp(26px, 7vw, 32px);
    max-width: min(46vw, 174px);
  }

  .topbar .badge {
    max-width: 42vw;
    padding: 8px 10px;
    white-space: normal;
  }

  .pilot-link {
    max-width: min(42vw, 168px);
    padding: 8px 10px;
    font-size: 0.7rem;
    line-height: 1.15;
    white-space: normal;
  }

  .host-action-panel .button,
  .host-primary-action,
  .host-secondary-actions {
    width: 100%;
  }

  .guest-photo-frame {
    width: clamp(160px, 58vw, 200px);
  }

  .other-guests-grid {
    grid-auto-columns: minmax(270px, 84vw);
    grid-auto-flow: column;
    overflow-x: auto;
    padding: 2px 20px 12px 2px;
    scroll-padding-left: 2px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .host-other-card {
    min-height: 100%;
    scroll-snap-align: start;
  }
}

@media (max-width: 430px) {
  .topbar .badge {
    display: none;
  }

  .pilot-link {
    max-width: 38vw;
    padding: 7px 9px;
    font-size: 0.66rem;
  }
}

[hidden] {
  display: none !important;
}

fieldset {
  margin: 28px 0;
  border: 0;
  padding: 0;
}

legend,
.compatibility-form h2 {
  margin: 26px 0 14px;
  color: var(--primary);
  font-family: "Libre Caslon Text", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
}

.role-options {
  display: grid;
  gap: 10px;
}

.role-options label {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--outline);
  border-radius: 14px;
  background: var(--surface-low);
  padding: 14px 16px;
  font-weight: 700;
}

.role-options input {
  width: 20px;
  height: 20px;
}

.role-fields {
  margin-top: 32px;
  border-top: 1px solid var(--outline);
  padding-top: 8px;
}

.recommendation-grid {
  display: grid;
  gap: 16px;
  margin: 32px 0;
}

.match-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--outline);
  border-radius: 18px;
  background: var(--surface-low);
  box-shadow: var(--shadow);
  padding: 22px;
}

.match-card.chosen {
  border-color: var(--gold);
  background: rgba(255, 222, 165, 0.2);
}

.score {
  width: fit-content;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 7px 10px;
}

.match-meta,
.match-warning {
  color: var(--muted);
  font-size: 0.9rem;
}

.match-warning {
  border-left: 3px solid var(--gold);
  padding-left: 10px;
}

.decision-row {
  display: grid;
  gap: 10px;
}

@media (min-width: 680px) {
  .role-options,
  .decision-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.screen[data-screen="home"] {
  padding: 0;
}

.hero {
  position: relative;
  display: grid;
  min-height: clamp(540px, 72vh, 760px);
  place-items: center;
  margin: 0 auto;
  overflow: hidden;
  padding: 56px 24px;
  text-align: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(rgba(28, 12, 6, 0.42), rgba(28, 12, 6, 0.48)),
    radial-gradient(circle at center, rgba(64, 4, 10, 0.16), rgba(64, 4, 10, 0.5));
}

.hero h1,
.form-shell h1,
.thank-you h1 {
  margin-top: 20px;
  font-size: clamp(2.35rem, 10vw, 5rem);
  line-height: 0.98;
}

.hero h1 {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  color: #fff8f5;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.26);
}

.hero-copy,
.lede {
  max-width: 640px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 650px;
  width: fit-content;
  color: #fff8f5;
  font-size: clamp(1rem, 2.1vw, 1.22rem);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  background: rgba(28, 12, 6, 0.22);
  border-radius: 16px;
  padding: 10px 16px;
  backdrop-filter: blur(2px);
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  overflow: hidden;
  background: var(--surface-mid);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.action-stack {
  display: grid;
  gap: 12px;
  max-width: 430px;
  margin: 24px auto 0;
}

.hero .action-stack {
  position: relative;
  z-index: 2;
  width: min(100%, 660px);
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 16px 22px;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:active {
  transform: scale(0.98);
}

.button.primary {
  background: linear-gradient(135deg, #ffdea5, #f0bf67);
  color: var(--primary);
  border-color: rgba(255, 248, 245, 0.36);
  box-shadow: 0 18px 44px rgba(28, 12, 6, 0.3);
}

.button.secondary {
  border-color: rgba(64, 4, 10, 0.22);
  background: var(--surface-mid);
  color: var(--primary);
}

.section {
  max-width: 980px;
  margin: 0 auto;
  padding: 56px 24px 0;
}

.works-section {
  padding-bottom: 64px;
}

.works-section .kicker {
  margin-bottom: 10px;
  text-align: center;
}

.community-section {
  display: grid;
  gap: 30px;
  max-width: none;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(251, 242, 237, 0.64), rgba(255, 248, 245, 0.9)),
    var(--surface-low);
  padding: 66px 24px;
}

.community-intro {
  display: grid;
  gap: 13px;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.community-intro h2 {
  font-size: clamp(2.1rem, 7vw, 4rem);
  line-height: 1.02;
}

.community-intro p {
  color: var(--muted);
}

.community-line {
  color: var(--primary);
  font-family: "Libre Caslon Text", Georgia, serif;
  font-size: clamp(1.25rem, 3.8vw, 1.85rem);
  font-weight: 700;
  line-height: 1.28;
}

.community-feed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
  width: min(100%, 960px);
  margin: 0;
  margin-right: auto;
  margin-left: auto;
  padding: 0;
  list-style: none;
}

.community-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  min-height: 86px;
  border: 1px solid rgba(218, 193, 192, 0.68);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 248, 245, 0.92), rgba(255, 222, 165, 0.24)),
    var(--surface-low);
  box-shadow: 0 12px 36px rgba(64, 4, 10, 0.045);
  opacity: 0;
  padding: 16px;
  transform: translateY(8px);
  animation: community-card-in 650ms ease forwards, community-card-breathe 7s ease-in-out infinite;
  animation-delay: calc(var(--activity-index, 0) * 90ms), calc(var(--activity-index, 0) * 450ms);
}

.community-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 218, 216, 0.62);
  font-size: 1.18rem;
}

.community-card p {
  color: var(--primary);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.45;
}

@keyframes community-card-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes community-card-breathe {
  0%,
  100% {
    box-shadow: 0 12px 36px rgba(64, 4, 10, 0.045);
    transform: translateY(0);
  }

  50% {
    box-shadow: 0 18px 44px rgba(119, 90, 25, 0.08);
    transform: translateY(-2px);
  }
}

.section h2 {
  margin-bottom: 20px;
  font-size: 2rem;
  text-align: center;
}

.steps {
  display: grid;
  gap: 14px;
}

.steps article,
.field-card {
  border-radius: 14px;
  background: var(--surface-low);
  padding: 22px;
}

.steps span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 800;
}

.steps h3 {
  margin-bottom: 7px;
  font-size: 1.25rem;
}

.steps p,
.founding-section p,
.thank-you p,
.form-note {
  color: var(--muted);
}

.founding-section {
  display: grid;
  gap: 28px;
  max-width: 1180px;
  margin: 72px 24px 56px;
  align-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 248, 245, 0.98), rgba(251, 242, 237, 0.68));
  box-shadow: 0 20px 70px rgba(64, 4, 10, 0.06);
  padding: 24px;
}

.founding-section img,
.form-photo,
.thank-you img {
  width: 100%;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.founding-section img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.founding-section h2 {
  margin: 8px 0 16px;
  font-size: clamp(2rem, 7vw, 3.4rem);
  line-height: 1.04;
}

.founding-copy {
  display: grid;
  gap: 16px;
}

.founding-lead {
  color: var(--text);
  font-weight: 800;
}

.kicker {
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-shell,
.contact-section,
.thank-you {
  max-width: 760px;
  margin: 0 auto;
}

.form-shell,
.contact-section {
  display: grid;
  gap: 20px;
}

.contact-section {
  margin-top: 28px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(251, 242, 237, 0.98), rgba(245, 236, 231, 0.78));
  padding: 24px;
}

.contact-section h2 {
  font-size: clamp(1.8rem, 6vw, 2.55rem);
  text-align: center;
}

.contact-section > p {
  max-width: 540px;
  margin: 0 auto;
  color: var(--muted);
  text-align: center;
}

.journey-banner {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.privacy-note {
  max-width: 620px;
  margin: -4px auto 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.back-link {
  width: fit-content;
  color: var(--primary);
  font-weight: 800;
}

.field-grid {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--outline);
  border-radius: 14px;
  background: white;
  color: var(--text);
  font: inherit;
  font-weight: 500;
  padding: 15px 16px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(119, 90, 25, 0.12);
  outline: none;
}

.field-card {
  display: grid;
  gap: 14px;
}

.field-card p {
  color: var(--primary);
  font-weight: 800;
}

.segmented,
.chip-row {
  display: grid;
  gap: 10px;
}

.segmented label,
.chip-row button {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--outline);
  border-radius: 14px;
  background: white;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 12px;
}

.segmented input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented label:has(input:checked),
.chip-row button.selected {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
}

.form-photo {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.submit-button[disabled] {
  cursor: not-allowed;
  opacity: 0.72;
}

.form-note {
  text-align: center;
  font-size: 0.9rem;
}

.form-note.error {
  color: #93000a;
}

.thank-you {
  display: grid;
  gap: 22px;
  max-width: 920px;
  text-align: center;
}

.thank-you img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.thank-you .badge,
.thank-you .button {
  margin: 0 auto;
}

.thank-you-copy,
.closing-message {
  display: grid;
  gap: 12px;
  max-width: 700px;
  margin: 0 auto;
}

.thank-you-copy p:first-child,
.closing-message p:first-child {
  color: var(--text);
  font-weight: 800;
}

.next-steps {
  display: grid;
  gap: 20px;
  margin-top: 10px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(251, 242, 237, 0.98), rgba(245, 236, 231, 0.78));
  padding: 24px;
  text-align: left;
}

.next-steps h2 {
  text-align: center;
  font-size: clamp(1.8rem, 6vw, 2.6rem);
}

.next-step-grid {
  display: grid;
  gap: 14px;
}

.next-step-grid article {
  display: grid;
  gap: 9px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.54);
  padding: 18px;
}

.step-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 800;
}

.next-step-grid h3 {
  font-size: 1.18rem;
}

.closing-message {
  border-top: 1px solid rgba(218, 193, 192, 0.72);
  padding-top: 22px;
}

.site-footer {
  display: grid;
  gap: 14px;
  justify-items: center;
  border-top: 1px solid rgba(218, 193, 192, 0.58);
  color: rgba(84, 66, 66, 0.78);
  padding: 34px 24px 38px;
  text-align: center;
}

.site-footer p,
.site-footer a {
  font-size: 0.86rem;
  line-height: 1.5;
}

.site-footer > p:first-child {
  color: rgba(64, 4, 10, 0.72);
  font-weight: 700;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
}

.site-footer a {
  color: inherit;
  font-weight: 700;
}

.site-footer a:hover {
  color: var(--primary);
}

.copyright {
  color: rgba(84, 66, 66, 0.62);
}

.legal-screen {
  max-width: 920px;
  margin: 0 auto;
  padding: 34px 24px 72px;
}

.legal-copy {
  display: grid;
  gap: 18px;
  color: rgba(49, 38, 38, 0.88);
}

.legal-copy h1 {
  font-size: clamp(2.2rem, 7vw, 4rem);
  color: var(--primary);
}

.legal-copy h2 {
  margin-top: 12px;
  color: var(--primary);
  font-size: 1.25rem;
}

.legal-copy p {
  line-height: 1.75;
}

.legal-copy a {
  color: var(--primary);
  font-weight: 800;
}

.contact-copy {
  max-width: 760px;
  margin: 0 auto;
}

.contact-form-panel {
  display: grid;
  gap: 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(251, 242, 237, 0.98), rgba(245, 236, 231, 0.78));
  box-shadow: var(--shadow);
  padding: 24px;
}

.admin-shell {
  display: grid;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 24px 56px;
}

.admin-hero {
  display: grid;
  gap: 12px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(251, 242, 237, 0.98), rgba(245, 236, 231, 0.78));
  padding: 24px;
}

.admin-hero h1 {
  font-size: clamp(2.2rem, 8vw, 4rem);
}

.admin-todos {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  border-left: 3px solid var(--gold);
  color: var(--muted);
  padding-left: 14px;
}

.admin-stats,
.admin-controls,
.admin-list {
  display: grid;
  gap: 14px;
}

.admin-stats article,
.admin-controls,
.admin-record,
.empty-state {
  border-radius: 16px;
  background: var(--surface-low);
  padding: 18px;
}

.admin-stats span {
  color: var(--primary);
  font-family: "Libre Caslon Text", Georgia, serif;
  font-size: 2.2rem;
  font-weight: 700;
}

.admin-controls {
  align-items: end;
}

.admin-record {
  display: grid;
  gap: 18px;
}

.admin-host-profile-summary {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(218, 193, 192, 0.82);
  border-radius: 14px;
  background: #fffdfb;
  padding: 14px;
}

.admin-host-profile-summary blockquote,
.admin-mini-quote {
  margin: 0;
  border-left: 4px solid var(--gold);
  color: var(--primary);
  font-family: "Libre Caslon Text", Georgia, serif;
  font-size: 1rem;
  line-height: 1.5;
  padding-left: 12px;
}

.admin-host-profile-summary blockquote,
.admin-profile-chips {
  grid-column: 1 / -1;
}

.admin-profile-photo-frame {
  width: 76px;
  aspect-ratio: 1;
}

.admin-profile-photo-frame.small {
  width: 58px;
  margin-bottom: 8px;
}

.admin-profile-photo,
.admin-profile-avatar {
  width: 100%;
  height: 100%;
  border: 1px solid rgba(218, 193, 192, 0.88);
  border-radius: 16px;
  background: #fff8f1;
  object-fit: cover;
}

.admin-profile-avatar {
  display: grid;
  place-items: center;
  color: var(--primary);
  font-family: "Libre Caslon Text", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
}

.admin-profile-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-profile-chips span {
  border: 1px solid rgba(218, 193, 192, 0.88);
  border-radius: 999px;
  background: rgba(255, 248, 245, 0.78);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 6px 9px;
}

.record-head {
  display: grid;
  gap: 16px;
  border-bottom: 1px solid rgba(218, 193, 192, 0.72);
  padding-bottom: 16px;
}

.record-head h2 {
  font-size: 1.55rem;
}

.record-details {
  display: grid;
  gap: 10px;
}

.record-details p,
.empty-state {
  color: var(--muted);
}

.record-details strong {
  display: block;
  color: var(--primary);
  font-size: 0.78rem;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-tabs button {
  border: 1px solid var(--outline);
  border-radius: 999px;
  background: var(--surface-low);
  color: var(--primary);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 10px 14px;
}

.admin-tabs button.selected {
  background: var(--primary);
  color: var(--surface);
}

.admin-panel {
  display: none;
}

.admin-panel.active {
  display: grid;
  gap: 18px;
}

.admin-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.admin-section-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.admin-section-head h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.v2-card {
  border-left: 5px solid var(--gold);
}

.test-badge,
.real-badge,
.status-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  margin-left: 6px;
  padding: 5px 8px;
  text-transform: uppercase;
}

.test-badge {
  background: #fff1b8;
  border: 1px solid #c79921;
  color: #5b4200;
}

.real-badge {
  background: #e7f7eb;
  border: 1px solid #8acb97;
  color: #12451e;
}

.status-badge {
  background: var(--primary-soft);
  border: 1px solid rgba(64, 4, 10, 0.2);
  color: var(--primary);
}

.admin-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.compact-admin-button {
  min-height: 42px;
  border-radius: 12px;
  font-size: 0.82rem;
  padding: 10px 12px;
}

.admin-notes-label {
  display: grid;
  gap: 8px;
  color: var(--primary);
  font-weight: 800;
}

.admin-notes-label textarea {
  width: 100%;
  resize: vertical;
}

.admin-diagnostics {
  border: 1px solid var(--outline);
  display: grid;
  gap: 8px;
  text-align: left;
}

.admin-diagnostics h3 {
  font-size: 1rem;
  margin: 0;
}

.admin-diagnostics ul {
  margin: 0;
  padding-left: 20px;
}

.admin-more-details {
  border-top: 1px solid var(--outline);
  margin-top: 6px;
  padding-top: 10px;
}

.admin-more-details summary {
  color: var(--primary);
  cursor: pointer;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
}

.admin-more-details[open] {
  display: grid;
  gap: 12px;
}

.match-admin-grid {
  display: grid;
  gap: 12px;
}

.mini-profile {
  border: 1px solid var(--outline);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.44);
  padding: 14px;
}

.mini-profile h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

@media (min-width: 780px) {
  .match-admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 720px) {
  .screen {
    padding: 44px;
  }

  .screen[data-screen="home"] {
    padding: 0;
  }

  .action-stack {
    grid-template-columns: 1fr 1fr;
    max-width: 680px;
  }

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

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

  .community-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

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

  .founding-section {
    grid-template-columns: 0.95fr 1.05fr;
    margin-right: auto;
    margin-left: auto;
    padding: 38px;
  }

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

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

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

  .admin-controls {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .record-head {
    grid-template-columns: minmax(0, 1fr) 220px;
    align-items: start;
  }

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

@media (prefers-reduced-motion: reduce) {
  .community-card {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
