﻿:root {
  --primary: #6f1d46;
  --primary-dark: #4c102d;
  --primary-soft: #8b3c62;
  --gold: #b88a46;
  --gold-dark: #8a642f;
  --gold-soft: #f2dec0;
  --ivory: #fffaf4;
  --ivory-deep: #f6efe6;
  --card: #fffdf9;
  --ink: #23212a;
  --muted: #6f6870;
  --line: rgba(91, 18, 53, 0.16);
  --shadow: 0 26px 70px rgba(75, 38, 21, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: linear-gradient(135deg, #fffdf9 0%, #fff9f2 48%, #f9f0e8 100%);
  font-family: "Aptos", "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
}
a { color: inherit; }
button, input { font: inherit; }

.intagen-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--primary);
}
.intagen-brand__mark {
  width: 70px;
  height: 70px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
}
.intagen-brand__mark svg { width: 100%; height: 100%; display: block; }
.intagen-brand__word {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 2.5vw, 3rem);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.intagen-brand__tag {
  display: block;
  margin-top: 4px;
  color: var(--gold-dark);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.public-page {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}
.public-page::before,
.auth-page::before {
  content: none;
  display: none;
}
.public-shell {
  width: min(1760px, calc(100% - 112px));
  margin: 0 auto;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}
.public-nav {
  min-height: 104px;
  display: grid;
  grid-template-columns: 330px 1fr auto;
  gap: 28px;
  align-items: center;
  border-bottom: 1px solid rgba(91, 18, 53, 0.12);
}
.public-nav__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 44px);
  font-size: 1rem;
  font-weight: 800;
}
.public-nav__links a {
  position: relative;
  padding: 10px 0;
  text-decoration: none;
}
.public-nav__links a.active::after,
.public-nav__links a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--gold);
}
.public-nav__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  font-weight: 900;
}
.public-link { text-decoration: none; color: #1f1c25; }
.public-btn {
  min-height: 60px;
  border: 1px solid rgba(91, 18, 53, 0.18);
  border-radius: 20px;
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 18px 36px rgba(91, 18, 53, 0.2);
}
.public-btn svg {
  width: 24px;
  height: 24px;
}
.public-btn--outline {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(184, 138, 70, 0.55);
  box-shadow: none;
}
.public-arrow { font-size: 1.7rem; line-height: 1; }

.index-hero {
  display: grid;
  grid-template-columns: minmax(450px, 0.9fr) minmax(580px, 1.1fr);
  gap: 38px;
  align-items: center;
  padding: 24px 0 0;
}
.index-copy { padding: 28px 0 30px; }
.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
  color: var(--gold-dark);
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}
.kicker::before {
  content: "";
  width: 36px;
  height: 2px;
  border-radius: 99px;
  background: var(--gold);
}
.public-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--primary);
  font-size: clamp(4rem, 5.8vw, 7.6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 700;
}
.gold-italic {
  color: var(--gold);
  font-style: italic;
  font-weight: 500;
}
.public-lead {
  margin: 30px 0 0;
  max-width: 660px;
  color: #34303a;
  font-size: clamp(1.18rem, 1.35vw, 1.42rem);
  line-height: 1.72;
}
.index-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 34px;
}
.trust-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 38px;
}
.trust-faces { display: flex; }
.trust-face {
  width: 42px;
  height: 42px;
  margin-left: -10px;
  border: 3px solid #fffaf4;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 900;
}
.trust-face:first-child { margin-left: 0; }
.trust-row strong { display: block; font-size: 1rem; }
.trust-row span { display: block; margin-top: 4px; color: var(--muted); }
.index-art {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.index-photo {
  width: min(920px, 100%);
  border-radius: 58% 0 0 0;
  overflow: hidden;
  filter: drop-shadow(0 28px 60px rgba(75, 38, 21, 0.12));
}
.index-photo img {
  display: block;
  width: 100%;
  height: auto;
}
.feature-strip {
  position: relative;
  z-index: 2;
  margin-top: -32px;
  background: rgba(255, 253, 249, 0.9);
  border: 1px solid rgba(91, 18, 53, 0.12);
  border-radius: 24px 24px 0 0;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 20px 24px;
}
.feature-item {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 92px;
  padding: 0 22px;
  border-right: 1px solid rgba(91, 18, 53, 0.12);
}
.feature-item:last-child { border-right: 0; }
.feature-icon,
.auth-icon {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: linear-gradient(145deg, #fff6ec, #f3dec9);
  border: 1px solid rgba(184, 138, 70, 0.24);
}
.feature-icon svg,
.auth-icon svg { width: 33px; height: 33px; }
.feature-item h3 { margin: 0 0 8px; color: var(--primary); font-size: 1.05rem; }
.feature-item p { margin: 0; color: #4f4a54; line-height: 1.45; }
.public-footer-ribbon {
  margin: 0 calc(50% - 50vw);
  min-height: 84px;
  display: grid;
  place-items: center;
  color: #f5d99f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 1.8vw, 2rem);
  background:
    radial-gradient(circle at 10% 100%, rgba(184, 138, 70, 0.12), transparent 25%),
    linear-gradient(135deg, var(--primary-dark), var(--primary));
}
.public-footer-ribbon span { color: #e7a08a; padding: 0 18px; }

.auth-page {
  min-height: 100vh;
  overflow: hidden;
  background: linear-gradient(135deg, #fffdf9 0%, #fff9f2 48%, #f9f0e8 100%);
}
.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(520px, 1.05fr) minmax(500px, 0.95fr);
}
.auth-visual {
  position: relative;
  padding: 52px clamp(42px, 5.4vw, 90px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-visual .intagen-brand { position: absolute; top: 46px; left: clamp(42px, 5.4vw, 90px); }
.auth-copy { margin-top: 70px; }
.auth-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--primary);
  font-size: clamp(3.8rem, 5.1vw, 6.6rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}
.auth-title--signin { max-width: 680px; }
.auth-kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--gold-dark);
  font-size: 1.32rem;
  font-weight: 900;
  margin: 24px 0 16px;
}
.auth-kicker::before { content: ""; width: 38px; height: 2px; background: var(--gold); }
.auth-text {
  margin: 0;
  max-width: 650px;
  color: #302d36;
  font-size: clamp(1.1rem, 1.25vw, 1.35rem);
  line-height: 1.62;
}
.auth-photo-card {
  margin-top: 34px;
  width: min(710px, 100%);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 22px 44px rgba(75, 38, 21, 0.14);
  background: #fff;
}
.auth-photo-card img { width: 100%; display: block; }
.signup-photo-wrap {
  position: relative;
  margin: 28px 0 0 auto;
  width: min(520px, 74%);
}
.signup-photo-wrap img {
  width: 100%;
  display: block;
  filter: drop-shadow(0 22px 38px rgba(75, 38, 21, 0.12));
}
.legacy-pill {
  position: absolute;
  right: -28px;
  bottom: -18px;
  min-width: 330px;
  padding: 20px 24px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255, 253, 249, 0.92);
  border: 1px solid rgba(91, 18, 53, 0.14);
  box-shadow: 0 18px 38px rgba(75, 38, 21, 0.12);
  color: var(--primary);
  font-weight: 900;
}
.legacy-heart {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #7c0a3f);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 2rem;
}
.legacy-heart svg {
  width: 28px;
  height: 28px;
}
.auth-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
  max-width: 780px;
}
.auth-benefit { display: grid; grid-template-columns: 62px 1fr; gap: 16px; align-items: center; }
.auth-benefit h3 { margin: 0 0 6px; color: var(--primary); font-size: 1rem; }
.auth-benefit p { margin: 0; color: #4e4952; line-height: 1.38; font-size: 0.94rem; }
.signup-benefits {
  display: grid;
  gap: 26px;
  max-width: 430px;
  margin-top: 34px;
}
.signup-benefit { display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: center; }
.signup-benefit h3 { margin: 0 0 6px; color: var(--primary); }
.signup-benefit p { margin: 0; color: #38343b; line-height: 1.45; }
.auth-form-side {
  position: relative;
  padding: 42px clamp(42px, 5vw, 90px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(247, 236, 225, 0.6);
}
.auth-help {
  position: absolute;
  top: 38px;
  right: clamp(42px, 5vw, 90px);
  display: flex;
  align-items: center;
  gap: 16px;
  color: #5b565f;
  font-weight: 700;
}
.auth-help a { color: var(--primary); text-decoration: none; font-weight: 900; }
.auth-help .rule { width: 1px; height: 24px; background: rgba(91, 18, 53, 0.25); }
.auth-panel {
  width: min(670px, 100%);
  max-height: calc(100vh - 86px);
  overflow: auto;
  border-radius: 28px;
  border: 1px solid rgba(91, 18, 53, 0.13);
  background: rgba(255, 253, 249, 0.9);
  box-shadow: var(--shadow);
  padding: clamp(34px, 4vw, 60px) clamp(38px, 4.5vw, 70px);
  scrollbar-width: thin;
}
.auth-panel--signup { padding-bottom: 0; }
.auth-panel h1,
.auth-panel h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--primary);
  font-size: clamp(3rem, 3.3vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.05em;
}
.auth-panel-subtitle {
  margin: 14px 0 28px;
  color: #4d4852;
  font-size: 1.2rem;
}
.social-stack { display: grid; gap: 12px; margin-bottom: 26px; }
.social-btn {
  width: 100%;
  min-height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(91, 18, 53, 0.2);
  background: #fff;
  color: #1f2937;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  cursor: pointer;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(75, 38, 21, 0.04);
}
.social-btn:hover { border-color: var(--gold); }
.social-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
}
.social-icon.google { color: #4285f4; }
.social-icon.facebook { color: #1877f2; }
.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin: 10px 0 24px;
  color: #6f6870;
  font-weight: 900;
  text-transform: uppercase;
}
.auth-divider::before,
.auth-divider::after { content: ""; height: 1px; background: rgba(91, 18, 53, 0.13); }
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.auth-field { display: grid; gap: 8px; margin-bottom: 18px; }
.auth-field--full { grid-column: 1 / -1; }
.auth-field label { color: #2c2830; font-size: 0.95rem; font-weight: 900; }
.auth-input-wrap { position: relative; }
.auth-input-icon,
.auth-password-toggle {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #a49ba3;
  display: grid;
  place-items: center;
}
.auth-input-icon { left: 16px; }
.auth-input-icon svg,
.auth-password-toggle svg { width: 21px; height: 21px; }
.auth-password-toggle { right: 16px; background: none; border: 0; padding: 0; cursor: pointer; }
.auth-field input {
  width: 100%;
  min-height: 56px;
  border-radius: 9px;
  border: 1px solid rgba(91, 18, 53, 0.2);
  background: #fff;
  color: var(--ink);
  padding: 0 18px;
  font-size: 1rem;
}
.auth-input-wrap input { padding-left: 18px; }
.auth-input-wrap input[type="password"] { padding-right: 52px; }
.auth-field--password .auth-input-wrap input,
.auth-field--confirm .auth-input-wrap input { padding-left: 18px; }
.auth-field input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(184, 138, 70, 0.12);
}
.auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 4px 0 26px;
  font-weight: 700;
  color: #5b565f;
}
.auth-options label { display: inline-flex; align-items: center; gap: 10px; }
.auth-options input { width: 22px; height: 22px; accent-color: var(--primary); }
.auth-options a { color: var(--primary); text-decoration: none; font-weight: 900; }
.auth-submit {
  width: 100%;
  min-height: 60px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #7b0038 0%, var(--primary-dark) 100%);
  box-shadow: 0 18px 36px rgba(91, 18, 53, 0.2);
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.auth-submit:disabled { opacity: 0.72; cursor: not-allowed; }
.auth-note {
  margin-top: 28px;
  padding: 18px 0 28px;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  align-items: center;
  color: #4b4650;
  border-bottom: 1px solid rgba(91, 18, 53, 0.13);
}
.auth-note strong { color: #2b2430; }
.auth-note p { margin: 4px 0 0; color: var(--muted); }
.auth-panel-footer {
  margin: 28px clamp(-70px, -4.5vw, -38px) 0;
  padding: 24px clamp(38px, 4.5vw, 70px);
  border-top: 1px solid rgba(91, 18, 53, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #2c2830;
  font-weight: 900;
}
.auth-panel-footer a,
.auth-outline-btn {
  min-width: 190px;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(91, 18, 53, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: #fffdf9;
  text-decoration: none;
  font-weight: 900;
}
.auth-terms {
  margin: 18px 0 0;
  color: #6d6670;
  line-height: 1.55;
}
.auth-terms a { color: var(--primary); font-weight: 900; text-decoration: none; }
.message {
  display: none;
  margin: 0 0 18px;
  padding: 13px 16px;
  border-radius: 14px;
  color: #9f1239;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  line-height: 1.45;
}
.message.show { display: block; }
.message.heritage-context {
  color: #5a2a00;
  background: #fff7e6;
  border-color: #f1cf93;
}
.hidden-auth-data { display: none !important; }

.identity-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(76, 16, 45, 0.52);
  backdrop-filter: blur(12px);
}
.identity-backdrop.open { display: flex; }
.identity-modal {
  width: min(900px, 100%);
  max-height: min(86vh, 760px);
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(91, 18, 53, 0.16);
  background: var(--card);
  box-shadow: 0 28px 80px rgba(58, 8, 33, 0.32);
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.identity-modal--wizard {
  width: min(1220px, calc(100% - 24px));
}
.identity-head { padding: 24px 28px; border-bottom: 1px solid rgba(91, 18, 53, 0.12); }
.identity-step-eyebrow {
  margin-bottom: 8px;
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.identity-head h3 { margin: 0; color: var(--primary); font-family: Georgia, "Times New Roman", serif; font-size: 2.2rem; }
.identity-head p { margin: 8px 0 0; color: var(--muted); line-height: 1.55; }
.identity-results { padding: 20px 28px; overflow: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.identity-results--wizard {
  display: block;
  min-height: 300px;
  max-height: min(62vh, 620px);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-gutter: stable;
}
.identity-results--matches {
  display: block;
}
.identity-result-list { display: grid; gap: 10px; }
.identity-result-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 14px;
  border: 1px solid rgba(91, 18, 53, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(75, 38, 21, 0.055);
}
.identity-result-row:hover {
  border-color: rgba(184, 138, 70, 0.42);
  box-shadow: 0 18px 40px rgba(75, 38, 21, 0.09);
}
.identity-result-copy { min-width: 0; display: grid; gap: 4px; }
.identity-result-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.identity-result-title strong {
  min-width: 0;
  color: #17131b;
  font-size: 1.05rem;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.identity-result-title span {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 5px 9px;
  background: #f8eadc;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 900;
}
.identity-result-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.identity-result-copy small {
  color: #7b4d22;
  font-size: 0.82rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.identity-result-intro {
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 1px solid rgba(184, 138, 70, 0.24);
  border-radius: 16px;
  background: #fffaf3;
  color: #594d43;
  line-height: 1.45;
}
.identity-result-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.identity-result-actions .identity-btn {
  padding: 10px 12px;
  min-height: 40px;
}
.identity-result-more { white-space: nowrap; }
.identity-show-more { margin: 14px auto 0; min-width: min(280px, 100%); justify-content: center; }
.identity-results-scroll {
  max-height: min(58vh, 560px);
  overflow: auto;
  padding: 2px 6px 6px 2px;
}
.result-list {
  display: grid;
  gap: 10px;
}
.search-results-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(184, 138, 70, 0.20);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 247, 0.95));
  box-shadow: 0 12px 28px rgba(63, 29, 66, 0.07);
  margin-bottom: 12px;
}
.search-results-heading strong {
  display: block;
  color: #28222c;
  font-size: 1.05rem;
  font-weight: 760;
  letter-spacing: -0.01em;
}
.search-results-heading span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}
.search-results-heading b {
  flex: 0 0 auto;
  color: #6a4b1e;
  background: #fbf1df;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 760;
}
.search-result-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(184, 138, 70, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 30px rgba(63, 29, 66, 0.08);
}
.search-result-row:hover {
  border-color: rgba(184, 138, 70, 0.5);
  box-shadow: 0 18px 40px rgba(63, 29, 66, 0.12);
}
.search-result-avatar {
  width: 56px;
  height: 56px;
  flex-basis: 56px;
}
.search-result-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.search-result-title {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
}
.search-result-title h3 {
  margin: 0;
  color: #25212a;
  font-size: 1rem;
  font-weight: 760;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.search-result-title span {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 5px 8px;
  background: #fbf1df;
  color: #6d4a1f;
  font-size: 0.72rem;
  font-weight: 760;
}
.search-result-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.38;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.search-result-copy small {
  color: #7b4d22;
  font-size: 0.78rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.search-result-social {
  color: #667085 !important;
  font-weight: 650;
}
.search-result-actions {
  display: grid;
  gap: 8px;
  min-width: 156px;
}
.search-result-actions .identity-btn {
  min-height: 38px;
  padding: 9px 12px;
  border-radius: 12px;
  white-space: nowrap;
  font-size: 0.86rem;
}
.search-result-actions .search-result-select {
  color: var(--ink) !important;
  border: 1px solid #b88a46 !important;
  background: linear-gradient(135deg, #fff9ef, #efd090) !important;
  box-shadow: 0 8px 18px rgba(184, 138, 70, 0.14);
}
.search-result-more {
  white-space: nowrap;
}
.result-action-panel {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #dbe7f4;
  border-radius: 18px;
  background: #f8fbff;
  padding: 14px 16px;
}
.result-action-panel strong {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 760;
}
.result-action-panel span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}
.identity-progress {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 18px 28px 0;
}
.identity-progress span {
  width: 54px;
  height: 7px;
  border-radius: 999px;
  background: #e2d8d0;
}
.identity-progress span.active {
  background: linear-gradient(90deg, var(--primary), var(--gold));
}
.identity-card { border: 1px solid rgba(91, 18, 53, 0.14); border-radius: 22px; padding: 16px; background: linear-gradient(180deg, #fff, #fff8f0); display: grid; gap: 12px; min-width: 0; }
.identity-card--match {
  min-height: 0;
  align-content: start;
  box-shadow: 0 12px 28px rgba(75, 38, 21, 0.055);
}
.identity-person { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.identity-person > div:last-child { min-width: 0; }
.identity-avatar { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; display: grid; place-items: center; font-weight: 900; overflow: hidden; }
.identity-avatar img { width: 100%; height: 100%; object-fit: cover; }
.identity-name { font-weight: 900; color: #17131b; line-height: 1.15; overflow-wrap: anywhere; }
.identity-meta { color: var(--muted); font-size: 0.92rem; line-height: 1.45; }
.identity-pill { width: max-content; border-radius: 999px; padding: 6px 10px; background: #f8eadc; color: var(--primary); font-weight: 900; }
.identity-clue-list {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}
.identity-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 2px;
}
.identity-card-actions .identity-btn {
  width: 100%;
  justify-content: center;
  padding: 10px 12px;
}
.identity-countdown {
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid rgba(184, 138, 70, 0.25);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #fffaf3);
  display: grid;
  gap: 6px;
  color: var(--muted);
  box-shadow: 0 12px 28px rgba(75, 38, 21, 0.05);
}
.identity-countdown strong {
  color: var(--primary);
  font-size: 0.95rem;
}
.identity-countdown span {
  font-size: 0.88rem;
  line-height: 1.4;
}
.identity-searched-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 3px;
}
.identity-searched-list span {
  border: 1px solid rgba(91, 18, 53, 0.12);
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
  padding: 5px 8px;
  font-size: 0.76rem;
  font-weight: 800;
}
.identity-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}
.identity-choice-grid--countdown {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.identity-choice {
  min-height: 0;
  border: 1px solid rgba(184, 138, 70, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  padding: 14px 18px;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(75, 38, 21, 0.045);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.identity-choice:hover {
  border-color: rgba(184, 138, 70, 0.55);
  background: #fffaf3;
  box-shadow: 0 14px 32px rgba(75, 38, 21, 0.08);
  transform: translateY(-1px);
}
.identity-choice strong {
  display: block;
  color: var(--primary);
  font-size: .95rem;
}
.identity-choice span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.35;
}
.identity-reference-check {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(760px, 100%);
  margin: 4px auto 12px;
}
.identity-reference-node {
  border: 1px solid rgba(91, 18, 53, 0.16);
  background: linear-gradient(180deg, #fff, #fffaf3);
  color: var(--ink);
  min-height: 92px;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 12px 26px rgba(75, 38, 21, 0.06);
  text-align: left;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.identity-reference-node:hover {
  transform: translateY(-1px);
  border-color: rgba(184, 138, 70, 0.55);
  box-shadow: 0 18px 34px rgba(75, 38, 21, 0.1);
}
.identity-reference-node strong {
  display: block;
  color: #28222c;
  font-size: 1rem;
  font-weight: 760;
}
.identity-reference-node span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.36;
}
.identity-reference-node--center {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 0;
  display: grid;
  place-content: initial;
  background: linear-gradient(135deg, #fffaf2, #f7ead8);
  color: #28222c;
  border-color: rgba(184, 138, 70, 0.34);
  box-shadow: 0 14px 32px rgba(75, 38, 21, 0.08);
  cursor: default;
  text-align: center;
  order: -1;
}
.identity-reference-node--center:hover {
  transform: none;
}
.identity-reference-node--center strong,
.identity-reference-node--center span {
  color: #28222c;
}
.identity-single-step,
.identity-final {
  width: min(620px, 100%);
  margin: 0 auto;
  min-height: 285px;
  display: grid;
  align-content: center;
  gap: 14px;
}
.identity-input-label {
  color: var(--primary);
  font-weight: 900;
}
.identity-input-label span {
  display: block;
  margin-bottom: 7px;
  color: var(--primary);
}
.identity-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.identity-field-grid .identity-input-label:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
.identity-step-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  text-align: center;
}
.identity-single-step--profile-check {
  width: min(760px, 100%);
}
.identity-search-input {
  width: 100%;
  min-height: 58px;
  border-radius: 18px;
  border: 1px solid rgba(91, 18, 53, 0.2);
  background: #fff;
  color: var(--ink);
  padding: 0 18px;
  font-size: 1.04rem;
}
.identity-search-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(184, 138, 70, 0.13);
}
.identity-actions-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.identity-final {
  text-align: center;
}
.identity-final h4 {
  margin: 0;
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
}
.identity-final p {
  margin: 0 auto;
  max-width: 520px;
  color: var(--muted);
  line-height: 1.55;
}
.identity-final-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto;
  border-radius: 28px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 2.3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--gold));
}
.identity-detail-modal {
  width: min(760px, calc(100% - 24px));
}
.identity-detail-card {
  display: grid;
  gap: 16px;
}
.identity-person--detail {
  align-items: flex-start;
}
.identity-avatar--large {
  width: 68px;
  height: 68px;
  font-size: 1.35rem;
  box-shadow: 0 0 0 4px #fff8f0, 0 14px 28px rgba(91, 18, 53, 0.12);
}
.identity-family-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.identity-family-box {
  border: 1px solid rgba(91, 18, 53, 0.12);
  border-radius: 16px;
  background: #fffaf7;
  padding: 12px 14px;
}
.identity-family-box strong {
  display: block;
  color: var(--primary);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.identity-family-box span {
  color: #334155;
  font-size: 0.9rem;
  line-height: 1.48;
}
.identity-loading {
  min-height: 260px;
  display: grid;
  place-items: center;
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 900;
}
.identity-footer { padding: 18px 28px; border-top: 1px solid rgba(91, 18, 53, 0.12); display: flex; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.identity-btn { border-radius: 999px; padding: 12px 18px; border: 1px solid rgba(91, 18, 53, 0.18); background: #fff; color: var(--primary); font-weight: 760; cursor: pointer; }
.identity-btn.primary { color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }

@media (max-width: 1180px) {
  .public-page,
  .auth-page { overflow: auto; }
  .public-shell { width: min(100% - 36px, 980px); }
  .public-nav { grid-template-columns: 1fr; justify-items: center; gap: 18px; padding: 22px 0; }
  .public-nav__links { flex-wrap: wrap; }
  .index-hero { grid-template-columns: 1fr; padding-top: 20px; }
  .index-art { min-height: 0; }
  .feature-strip { grid-template-columns: 1fr 1fr; margin-top: 20px; }
  .feature-item { border-right: 0; border-bottom: 1px solid rgba(91,18,53,0.1); }
  .feature-item:last-child { border-bottom: 0; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-page { overflow: auto; }
  .auth-visual { min-height: auto; padding: 34px 28px 28px; }
  .auth-visual .intagen-brand { position: static; }
  .auth-copy { margin-top: 34px; }
  .auth-form-side { padding: 28px; }
  .auth-help { position: static; justify-content: flex-end; margin-bottom: 20px; }
  .auth-form-side { display: block; }
  .auth-panel { margin: 0 auto; max-height: none; }
}
@media (max-width: 720px) {
  .public-shell { width: min(100% - 24px, 620px); }
  .public-nav__links { display: none; }
  .public-nav__actions { width: 100%; justify-content: space-between; }
  .public-title, .auth-title { font-size: 3.35rem; }
  .index-actions { gap: 12px; }
  .public-btn { width: 100%; min-height: 54px; }
  .feature-strip { grid-template-columns: 1fr; }
  .auth-benefits, .auth-grid { grid-template-columns: 1fr; }
  .signup-photo-wrap { width: 100%; margin-left: 0; }
  .legacy-pill { position: static; margin-top: -12px; min-width: 0; }
  .auth-panel { padding: 30px 22px; border-radius: 22px; }
  .auth-panel-footer { margin-left: -22px; margin-right: -22px; padding: 20px 22px; flex-direction: column; align-items: stretch; }
  .identity-results--matches,
  .identity-choice-grid--countdown,
  .identity-family-grid {
    grid-template-columns: 1fr;
  }
  .identity-card-actions {
    grid-template-columns: 1fr;
  }
  .identity-result-row {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }
  .identity-result-title {
    display: grid;
    justify-content: start;
  }
  .identity-result-title strong {
    white-space: normal;
  }
  .identity-result-more {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
  }
  .auth-panel-footer a, .auth-outline-btn { width: 100%; }
  .auth-options { align-items: flex-start; flex-direction: column; }
}

/* 2026-06-04 Intagen public-page fit + old pill logo refresh */
.public-pill-brand{
  display:inline-flex;
  align-items:stretch;
  height:58px;
  min-width:172px;
  border-radius:999px;
  overflow:hidden;
  text-decoration:none;
  border:1px solid rgba(184,138,70,.35);
  box-shadow:0 18px 38px rgba(91,18,53,.10);
  background:#fffdf9;
}
.public-pill-brand span{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:86px;
  padding:0 20px;
  font-family:"Segoe UI Variable Display","Aptos Display","Segoe UI",system-ui,sans-serif;
  font-size:1.35rem;
  font-weight:900;
  letter-spacing:-.04em;
  text-transform:lowercase;
}
.public-pill-brand .pill-left{background:var(--primary);color:#fff;}
.public-pill-brand .pill-right{background:#f5efe8;color:#3b3540;}
.public-nav--simple{
  min-height:78px;
  grid-template-columns:auto 1fr;
  gap:18px;
  border-bottom-color:rgba(91,18,53,.10);
}
.public-nav--simple .public-nav__actions{justify-self:end;gap:18px;}
.public-btn--small{min-height:48px;padding:0 22px;border-radius:18px;}
.public-page--compact .public-shell{
  width:min(1680px, calc(100% - 76px));
  min-height:720px;
  height:100svh;
  overflow:hidden;
  grid-template-rows:78px minmax(0,1fr) 66px;
}
.public-page--compact .index-hero{
  min-height:0;
  padding:8px 0 0;
  gap:28px;
  grid-template-columns:minmax(430px,.86fr) minmax(560px,1.14fr);
}
.public-page--compact .index-copy{padding:12px 0 10px;}
.public-page--compact .kicker{margin-bottom:18px;font-size:1rem;}
.public-page--compact .public-title{font-size:clamp(3.5rem,5vw,6rem);line-height:.98;}
.public-page--compact .public-lead{margin-top:20px;font-size:clamp(1.04rem,1.12vw,1.22rem);line-height:1.55;max-width:600px;}
.public-page--compact .index-actions{margin-top:24px;gap:18px;}
.public-page--compact .trust-row{margin-top:22px;}
.public-page--compact .index-art{min-height:0;align-items:center;}
.public-page--compact .index-photo{width:min(790px,100%);border-radius:46% 0 0 0;}
.public-page--compact .feature-strip{
  margin-top:0;
  padding:12px 16px;
  border-radius:22px 22px 0 0;
  align-self:end;
}
.public-page--compact .feature-item{min-height:66px;grid-template-columns:48px 1fr;gap:14px;padding:0 14px;}
.public-page--compact .feature-icon{width:48px;height:48px;border-radius:16px;}
.public-page--compact .feature-item h3{font-size:.98rem;margin-bottom:4px;}
.public-page--compact .feature-item p{font-size:.9rem;line-height:1.3;}
.public-page--compact .public-footer-ribbon{min-height:66px;font-size:clamp(1.05rem,1.35vw,1.45rem);}
.auth-page--compact .auth-shell{
  height:100svh;
  min-height:720px;
  overflow:hidden;
  grid-template-columns:minmax(470px,1fr) minmax(460px,.9fr);
}
.auth-page--compact .auth-visual{padding:32px clamp(32px,4vw,68px);}
.auth-page--compact .auth-visual .public-pill-brand{position:absolute;top:32px;left:clamp(32px,4vw,68px);}
.auth-page--compact .auth-copy{margin-top:78px;}
.auth-page--compact .auth-title{font-size:clamp(3rem,4.45vw,5.3rem);line-height:1;}
.auth-page--compact .auth-kicker{margin:18px 0 12px;font-size:1.05rem;}
.auth-page--compact .auth-text{font-size:clamp(1rem,1.08vw,1.15rem);line-height:1.48;max-width:590px;}
.auth-page--compact .auth-photo-card{margin-top:20px;width:min(620px,100%);}
.auth-page--compact .signup-photo-wrap{margin-top:12px;width:min(410px,66%);}
.auth-page--compact .legacy-pill{min-width:270px;padding:14px 18px;right:-18px;bottom:-12px;}
.auth-page--compact .legacy-heart{width:46px;height:46px;}
.auth-page--compact .signup-benefits{gap:12px;margin-top:18px;}
.auth-page--compact .signup-benefit{grid-template-columns:48px 1fr;gap:13px;}
.auth-page--compact .auth-benefits{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px;}
.auth-page--compact .auth-benefit{grid-template-columns:48px 1fr;gap:12px;}
.auth-page--compact .auth-icon{width:48px;height:48px;border-radius:16px;}
.auth-page--compact .auth-benefit h3,.auth-page--compact .signup-benefit h3{font-size:.95rem;margin-bottom:4px;}
.auth-page--compact .auth-benefit p,.auth-page--compact .signup-benefit p{font-size:.84rem;line-height:1.28;}
.auth-page--compact .auth-form-side{padding:30px clamp(32px,4vw,66px);}
.auth-page--compact .auth-help{top:24px;right:clamp(32px,4vw,66px);}
.auth-page--compact .auth-panel{max-height:calc(100svh - 60px);padding:28px clamp(28px,3.4vw,46px);border-radius:24px;}
.auth-page--compact .auth-panel h1,.auth-page--compact .auth-panel h2{font-size:clamp(2.45rem,3vw,3.55rem);}
.auth-page--compact .auth-panel-subtitle{margin:8px 0 18px;font-size:1rem;}
.auth-page--compact .social-stack{gap:9px;margin-bottom:16px;}
.auth-page--compact .social-btn{min-height:44px;gap:12px;}
.social-icon svg{width:24px;height:24px;display:block;}
.auth-page--compact .auth-divider{margin:8px 0 16px;}
.auth-page--compact .auth-grid{gap:12px 16px;}
.auth-page--compact .auth-field{margin-bottom:12px;gap:6px;}
.auth-page--compact .auth-field input{min-height:46px;}
.auth-page--compact .auth-options{margin:0 0 18px;}
.auth-page--compact .auth-submit{min-height:50px;}
.auth-page--compact .auth-note{margin-top:14px;padding:12px 0 14px;grid-template-columns:48px 1fr;}
.auth-page--compact .auth-panel-footer{margin-top:14px;padding-top:14px;padding-bottom:14px;}
.auth-page--compact .auth-terms{margin-top:12px;font-size:.88rem;line-height:1.45;}
.feature-icon,.auth-icon,.legacy-heart,.auth-input-icon,.auth-password-toggle{font-size:0;color:var(--primary);}
.feature-icon::before,.auth-icon::before,.legacy-heart::before,.auth-input-icon::before,.auth-password-toggle::before{
  content:"";
  display:block;
  width:24px;
  height:24px;
  border:2px solid currentColor;
  border-radius:7px;
}
.feature-icon::before,.auth-icon::before{border-radius:50%;box-shadow:12px 12px 0 -8px currentColor,-12px 12px 0 -8px currentColor;}
.legacy-heart::before{border:0;width:24px;height:22px;background:var(--primary);border-radius:12px 12px 10px 10px;transform:rotate(-45deg);}
.auth-input-icon::before{width:18px;height:14px;border-radius:3px;border-color:#9a929b;}
.auth-password-toggle::before{width:20px;height:12px;border-radius:999px;border-color:#9a929b;}
@media (max-height:820px) and (min-width:1051px){
  .public-page--compact .public-shell{min-height:660px;grid-template-rows:68px minmax(0,1fr) 56px;width:min(1640px, calc(100% - 60px));}
  .public-pill-brand{height:50px;min-width:150px;}
  .public-pill-brand span{min-width:75px;font-size:1.16rem;padding:0 16px;}
  .public-page--compact .public-title{font-size:clamp(3rem,4.5vw,5.2rem);}
  .public-page--compact .public-lead{font-size:1rem;line-height:1.42;}
  .public-page--compact .index-photo{width:min(700px,100%);}
  .public-page--compact .feature-item{min-height:58px;grid-template-columns:42px 1fr;gap:10px;padding:0 10px;}
  .public-page--compact .feature-icon{width:42px;height:42px;}
  .auth-page--compact .auth-shell{min-height:660px;}
  .auth-page--compact .public-pill-brand{height:50px;min-width:150px;}
  .auth-page--compact .auth-copy{margin-top:64px;}
  .auth-page--compact .auth-title{font-size:clamp(2.55rem,4vw,4.55rem);}
  .auth-page--compact .auth-photo-card{width:min(540px,100%);}
  .auth-page--compact .signup-photo-wrap{display:none;}
  .auth-page--compact .auth-panel{max-height:calc(100svh - 44px);padding:22px 34px;}
  .auth-page--compact .social-btn{min-height:40px;}
  .auth-page--compact .auth-field input{min-height:42px;}
  .auth-page--compact .auth-submit{min-height:46px;}
}
@media (max-width:1050px){
  .public-page,.auth-page{overflow:auto;}
  .public-page--compact .public-shell,.auth-page--compact .auth-shell{height:auto;min-height:100svh;overflow:visible;}
  .public-nav--simple{grid-template-columns:1fr;justify-items:center;}
  .public-page--compact .index-hero{grid-template-columns:1fr;}
  .auth-page--compact .auth-shell{grid-template-columns:1fr;}
  .auth-page--compact .auth-visual .public-pill-brand{position:static;}
  .auth-page--compact .auth-copy{margin-top:30px;}
}
@media (max-width:720px){
  .public-pill-brand{height:48px;min-width:142px;}
  .public-pill-brand span{min-width:71px;font-size:1.08rem;padding:0 14px;}
  .public-page--compact .public-shell{width:min(100% - 24px,620px);grid-template-rows:auto auto auto;}
  .public-nav--simple .public-nav__actions{width:100%;justify-content:space-between;}
  .auth-page--compact .auth-panel{max-height:none;}
}

/* 2026-06-04 public minimal auth cleanup */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
.public-page--minimal{overflow:hidden;}
.public-shell--minimal{width:min(1180px,calc(100% - 48px));height:100svh;min-height:520px;grid-template-rows:auto 1fr;}
.public-nav--minimal{grid-template-columns:auto auto;justify-content:space-between;align-items:center;min-height:104px;padding:18px 0;border-bottom:0;}
.public-brand-stack{display:grid;gap:10px;justify-items:start;align-content:center;}
.public-brand-stack--large{gap:14px;}
.public-brand-caption{margin:0;color:var(--gold-dark);font-weight:900;letter-spacing:.045em;text-transform:uppercase;font-size:.92rem;}
.public-brand-stack--large .public-brand-caption{font-size:1.05rem;}
.index-minimal-card{min-height:0;display:grid;place-items:center;}
.auth-page--lean{overflow:hidden;}
.auth-shell--lean{height:100svh;min-height:560px;overflow:hidden;grid-template-columns:minmax(360px,.85fr) minmax(460px,1fr);}
.auth-shell--signup-lean{grid-template-columns:minmax(320px,.72fr) minmax(520px,1fr);}
.auth-visual--brand-only{padding:clamp(32px,5vw,72px);justify-content:flex-start;}
.auth-visual--brand-only .public-pill-brand{position:static!important;}
.auth-form-side--lean{padding:clamp(28px,4vw,56px);align-items:center;}
.auth-panel--flat{max-height:none;overflow:visible;background:transparent;border:0;box-shadow:none;border-radius:0;padding:0;width:min(620px,100%);}
.auth-panel--flat .auth-panel-footer{margin:22px 0 0;padding:18px 0 0;border-top:1px solid rgba(91,18,53,.12);}
.auth-panel--flat .auth-note{display:none;}
.auth-panel--flat .auth-panel-subtitle{margin-bottom:20px;}
.auth-panel--flat.auth-panel--signup{padding-bottom:0;}
.auth-page--signin .auth-help{top:24px;right:clamp(28px,4vw,56px);}
.social-stack--signin{margin-bottom:18px;}
@media (max-height:760px) and (min-width:901px){
  .auth-shell--lean{min-height:520px;}
  .auth-panel--flat h1,.auth-panel--flat h2{font-size:clamp(2.25rem,3vw,3.2rem);}
  .auth-panel--flat .social-btn{min-height:40px;}
  .auth-panel--flat .auth-field input{min-height:42px;}
  .auth-panel--flat .auth-submit{min-height:46px;}
  .auth-panel--flat .auth-field{margin-bottom:10px;}
  .auth-panel--flat .auth-divider{margin:6px 0 12px;}
}
@media (max-width:900px){
  .public-page--minimal,.auth-page--lean{overflow:auto;}
  .public-shell--minimal,.auth-shell--lean{height:auto;min-height:100svh;overflow:visible;}
  .public-nav--minimal{grid-template-columns:1fr;justify-items:center;gap:18px;}
  .public-brand-stack{justify-items:center;text-align:center;}
  .auth-shell--lean{grid-template-columns:1fr;}
  .auth-visual--brand-only{padding:28px 24px 12px;align-items:center;text-align:center;}
  .auth-form-side--lean{padding:16px 24px 32px;}
  .auth-page--signin .auth-help{position:static;justify-content:center;margin-bottom:18px;}
}

/* 2026-06-04 public pages: clean premium shell, no floral decoration */
.public-page::before,
.public-page::after,
.auth-page::before,
.auth-page::after{
  content:none!important;
  display:none!important;
  background:none!important;
}
body,
.public-page--minimal,
.auth-page--lean{
  background:
    linear-gradient(135deg, #fffdf9 0%, #fff9f2 48%, #f9f0e8 100%)!important;
}
.public-nav--minimal{
  min-height:84px;
  padding:12px 18px;
  margin-top:14px;
  border:1px solid rgba(111,29,70,.08);
  border-radius:26px;
  background:rgba(255,253,249,.76);
  box-shadow:0 14px 34px rgba(76,16,45,.055);
  backdrop-filter:blur(14px);
}
.public-page--minimal .public-shell--minimal{
  width:min(1180px,calc(100% - 36px));
}
.index-minimal-card{
  background:linear-gradient(135deg, rgba(255,255,255,.7), rgba(255,248,241,.5));
  border:1px solid rgba(111,29,70,.07);
  border-radius:34px;
  box-shadow:0 22px 54px rgba(76,16,45,.055);
}
.auth-form-side--lean{
  background:rgba(255,253,249,.62);
  backdrop-filter:blur(12px);
}
.auth-panel--flat{
  filter:none;
}
.public-pill-brand{
  border-color:rgba(111,29,70,.12);
  box-shadow:0 12px 26px rgba(76,16,45,.08);
}
.public-pill-brand .pill-right{
  background:#f7f1eb;
}
@media (max-width:900px){
  .public-nav--minimal{
    margin-top:10px;
    border-radius:22px;
    padding:14px;
  }
}

/* 2026-06-04 public story sections: restore premium content without floral art */
.public-page--minimal .public-shell--minimal{
  width:min(1480px,calc(100% - 48px));
  gap:14px;
}
.public-nav--minimal{
  min-height:72px!important;
  padding:10px 16px!important;
  margin-top:12px!important;
  border-color:rgba(184,138,70,.22)!important;
  background:
    linear-gradient(135deg,rgba(255,253,249,.96) 0%,rgba(250,247,244,.88) 52%,rgba(242,222,192,.62) 100%)!important;
  box-shadow:0 12px 28px rgba(138,100,47,.09)!important;
}
.public-nav--minimal .public-brand-caption{
  font-size:.82rem;
  color:var(--gold-dark)!important;
}
.public-nav--minimal .public-btn--small{
  min-height:44px;
  border-radius:999px;
}
.public-nav--minimal .public-link{
  color:var(--primary-dark)!important;
}
.public-nav--minimal .public-link:hover{
  color:var(--gold-dark)!important;
}
.public-nav--minimal .public-btn--small{
  background:linear-gradient(135deg,var(--gold),var(--gold-dark))!important;
  border-color:rgba(184,138,70,.48)!important;
  color:#fff!important;
  box-shadow:0 12px 24px rgba(138,100,47,.18)!important;
}
.index-minimal-card.index-story-card{
  min-height:0;
  display:grid;
  grid-template-columns:minmax(320px,.82fr) minmax(520px,1.18fr);
  gap:clamp(28px,4vw,66px);
  align-items:center;
  padding:clamp(30px,5vw,72px);
  overflow:hidden;
}
.index-story-kicker,
.auth-story-kicker{
  margin:0 0 14px;
  color:var(--gold-dark);
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.index-story-title,
.auth-story-title{
  margin:0;
  max-width:760px;
  font-family:Georgia,"Times New Roman",serif;
  color:var(--primary-dark);
  font-size:clamp(3rem,5.2vw,6.5rem);
  line-height:.98;
  letter-spacing:-.045em;
}
.index-story-title::first-letter,
.auth-story-title::first-letter{
  letter-spacing:-.07em;
}
.index-story-title em,
.auth-story-title em{
  color:var(--gold-dark);
  font-style:italic;
}
.index-story-lead,
.auth-story-text{
  margin:22px 0 0;
  max-width:660px;
  color:#3a3540;
  font-size:clamp(1.05rem,1.35vw,1.32rem);
  line-height:1.55;
}
.index-story-promise{
  margin:18px 0 0;
  color:var(--primary);
  font-weight:900;
  font-size:1.08rem;
}
.index-story-actions{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  margin-top:30px;
}
.index-story-actions .public-btn{
  min-height:54px;
  border-radius:999px;
}
.index-path-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.index-path-card{
  min-height:210px;
  padding:24px;
  border:1px solid rgba(111,29,70,.09);
  border-radius:28px;
  background:rgba(255,255,255,.68);
  box-shadow:0 18px 34px rgba(76,16,45,.05);
}
.index-path-icon,
.auth-story-icon{
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  border-radius:20px;
  background:linear-gradient(135deg,rgba(111,29,70,.14),rgba(111,29,70,.06));
  color:var(--primary);
  font-weight:950;
  box-shadow:inset 0 0 0 1px rgba(111,29,70,.08);
}
.index-path-card:nth-child(2) .index-path-icon,
.auth-story-icon--gold{
  background:linear-gradient(135deg,rgba(184,138,70,.22),rgba(184,138,70,.08));
  color:var(--gold-dark);
}
.index-path-card h2{
  margin:18px 0 8px;
  color:var(--primary-dark);
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.55rem;
}
.index-path-card p{
  margin:0;
  color:var(--muted);
  line-height:1.5;
}
.auth-visual--story{
  display:flex;
  flex-direction:column;
  gap:clamp(24px,4vh,54px);
  padding:clamp(28px,4vw,64px)!important;
  justify-content:flex-start!important;
}
.auth-story-panel{
  max-width:820px;
  display:grid;
  gap:22px;
}
.auth-story-panel .auth-story-title{
  font-size:clamp(3rem,5vw,5.55rem);
}
.auth-story-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin-top:8px;
}
.auth-story-card,
.auth-story-list-item{
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:center;
  gap:16px;
  padding:18px;
  border:1px solid rgba(111,29,70,.095);
  border-radius:24px;
  background:rgba(255,255,255,.56);
  box-shadow:0 14px 28px rgba(76,16,45,.045);
}
.auth-story-card h2,
.auth-story-list-item h2{
  margin:0 0 6px;
  color:var(--primary);
  font-size:1rem;
}
.auth-story-card p,
.auth-story-list-item p{
  margin:0;
  color:#514b55;
  font-size:.94rem;
  line-height:1.45;
}
.auth-story-list{
  display:grid;
  gap:14px;
  max-width:680px;
  margin-top:4px;
}
.auth-story-note{
  margin:4px 0 0;
  color:var(--primary-dark);
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(1.25rem,1.55vw,1.75rem);
  font-style:italic;
}
.auth-form-side--lean{
  background:rgba(255,253,249,.54)!important;
}
.auth-panel--flat .auth-submit,
.auth-panel--flat .auth-panel-footer a,
.identity-btn.primary{
  background:linear-gradient(135deg,var(--primary),var(--primary-dark));
}
@media (max-height:820px) and (min-width:901px){
  .auth-visual--story{
    gap:22px;
    padding:24px clamp(28px,3.2vw,52px)!important;
  }
  .auth-story-panel .auth-story-title{
    font-size:clamp(2.45rem,4.15vw,4.7rem);
  }
  .auth-story-text{
    margin-top:12px;
    font-size:1rem;
    line-height:1.42;
  }
  .auth-story-grid{
    gap:12px;
  }
  .auth-story-card,
  .auth-story-list-item{
    padding:14px;
  }
  .auth-story-icon{
    width:48px;
    height:48px;
    border-radius:17px;
  }
  .auth-story-note{
    font-size:1.15rem;
  }
}
@media (max-width:1100px){
  .index-minimal-card.index-story-card{
    grid-template-columns:1fr;
  }
  .index-path-grid{
    grid-template-columns:repeat(4,minmax(160px,1fr));
    overflow-x:auto;
    padding-bottom:6px;
  }
  .index-path-card{
    min-height:190px;
  }
}
@media (max-width:900px){
  .public-page--minimal .public-shell--minimal{
    width:min(100% - 24px,760px);
  }
  .index-minimal-card.index-story-card{
    padding:26px;
    gap:26px;
  }
  .index-story-title,
  .auth-story-title{
    font-size:clamp(2.65rem,11vw,4.4rem);
  }
  .index-path-grid,
  .auth-story-grid{
    grid-template-columns:1fr;
  }
  .auth-visual--story{
    align-items:flex-start!important;
    text-align:left!important;
    padding:26px 24px 10px!important;
  }
  .auth-story-panel{
    max-width:none;
  }
}
@media (max-width:640px){
  .public-nav--minimal{
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
  .index-story-actions .public-btn{
    width:100%;
  }
  .auth-story-grid,
  .auth-story-list{
    display:none;
  }
  .auth-story-note{
    display:none;
  }
}

/* 2026-06-04 exact public copy layout */
.index-minimal-card.index-story-card{
  grid-template-columns:minmax(320px,.72fr) minmax(640px,1.28fr);
  grid-template-rows:auto auto;
  align-content:center;
  padding:clamp(26px,3.8vw,58px);
}
.index-journey{
  display:grid;
  gap:18px;
  align-content:center;
}
.index-journey-title{
  margin:0;
  text-align:center;
  color:#2f2a32;
  font-size:clamp(1.25rem,1.55vw,1.85rem);
  font-weight:800;
}
.index-journey-title em{
  color:var(--primary);
  font-family:Georgia,"Times New Roman",serif;
  font-style:italic;
}
.index-journey .index-path-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.index-journey .index-path-card{
  position:relative;
  min-height:300px;
  text-align:center;
  padding:24px 20px 22px;
}
.index-path-number{
  position:absolute;
  top:-13px;
  left:50%;
  transform:translateX(-50%);
  width:30px;
  height:30px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:var(--primary);
  color:#fff;
  font-weight:900;
  box-shadow:0 8px 18px rgba(76,16,45,.16);
}
.index-path-number--gold{
  background:var(--gold);
}
.index-path-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:26px;
  padding:0 22px;
  margin:14px 0 10px;
  border-radius:999px;
  background:rgba(111,29,70,.1);
  color:var(--primary);
  font-weight:900;
  font-size:.82rem;
}
.index-path-pill--gold{
  background:rgba(184,138,70,.18);
  color:var(--gold-dark);
}
.index-journey .index-path-icon{
  margin:8px auto 0;
  width:72px;
  height:72px;
  border-radius:50%;
}
.index-journey .index-path-card h2{
  margin-top:4px;
}
.index-journey .index-path-card p{
  font-size:.95rem;
}
.index-trust-line{
  display:inline-flex;
  align-items:center;
  gap:12px;
  margin:24px 0 0;
  color:#514b55;
  line-height:1.45;
}
.index-trust-line::before{
  content:"";
  width:48px;
  height:48px;
  border-radius:16px;
  background:linear-gradient(135deg,rgba(184,138,70,.2),rgba(184,138,70,.08));
  box-shadow:inset 0 0 0 1px rgba(184,138,70,.16);
}
.index-feature-row{
  grid-column:1/-1;
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:14px;
  margin-top:12px;
}
.index-feature-card{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:14px;
  align-items:center;
  min-height:120px;
  padding:18px;
  border:1px solid rgba(111,29,70,.08);
  border-radius:22px;
  background:rgba(255,255,255,.62);
  box-shadow:0 12px 24px rgba(76,16,45,.04);
}
.index-feature-card .index-path-icon{
  width:54px;
  height:54px;
  border-radius:18px;
}
.index-path-icon--gold{
  background:linear-gradient(135deg,rgba(184,138,70,.22),rgba(184,138,70,.08));
  color:var(--gold-dark);
}
.index-feature-card h2{
  margin:0 0 6px;
  color:var(--primary);
  font-size:1rem;
}
.index-feature-card p{
  margin:0;
  color:var(--muted);
  font-size:.9rem;
  line-height:1.38;
}
.social-stack--signup{
  gap:9px;
  margin:12px 0 14px;
}
@media (max-height:820px) and (min-width:901px){
  .index-minimal-card.index-story-card{
    padding:28px;
  }
  .index-story-title{
    font-size:clamp(2.6rem,4.1vw,4.95rem);
  }
  .index-story-lead{
    font-size:1rem;
    line-height:1.42;
    margin-top:14px;
  }
  .index-story-promise{
    margin-top:12px;
  }
  .index-story-actions{
    margin-top:20px;
  }
  .index-journey .index-path-card{
    min-height:248px;
    padding:20px 14px 16px;
  }
  .index-journey .index-path-icon{
    width:58px;
    height:58px;
  }
  .index-feature-card{
    min-height:96px;
    padding:14px;
  }
}
@media (max-width:1180px){
  .index-minimal-card.index-story-card{
    grid-template-columns:1fr;
  }
  .index-journey .index-path-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .index-feature-row{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width:640px){
  .index-journey .index-path-grid,
  .index-feature-row{
    grid-template-columns:1fr;
  }
}

/* 2026-06-04 final public-page simplification */
.public-nav--minimal{
  background:
    linear-gradient(135deg,rgba(255,253,249,.98) 0%,rgba(252,246,237,.94) 54%,rgba(242,222,192,.72) 100%)!important;
  border-color:rgba(184,138,70,.26)!important;
  box-shadow:0 14px 28px rgba(138,100,47,.1)!important;
}
.public-nav--minimal .public-link{
  color:#7b5522!important;
  font-weight:900;
}
.public-nav--minimal .public-btn--small{
  background:linear-gradient(135deg,#d8aa55,#a66f1e)!important;
  color:#fffdf9!important;
  border-color:rgba(166,111,30,.42)!important;
}
.index-minimal-card.index-story-card--simple{
  min-height:calc(100svh - 132px);
  display:grid!important;
  grid-template-columns:1fr!important;
  place-items:center;
  padding:clamp(34px,7vw,92px)!important;
}
.index-story-copy--centered{
  max-width:980px;
  margin:0 auto;
  text-align:center;
}
.index-story-title--split{
  max-width:none;
  font-size:clamp(4rem,9vw,9.6rem);
  line-height:.92;
  letter-spacing:-.055em;
}
.index-story-title--split span{
  color:var(--primary-dark);
}
.index-story-title--split em{
  color:var(--gold-dark);
  font-style:italic;
}
.index-story-copy--centered .index-story-lead{
  max-width:760px;
  margin:28px auto 0;
  color:#514b55;
  font-size:clamp(1.08rem,1.45vw,1.45rem);
  line-height:1.6;
}
.auth-story-panel--simple{
  max-width:760px;
  align-content:start;
  gap:18px;
  padding-top:clamp(18px,8vh,88px);
}
.auth-story-panel--simple .auth-story-kicker{
  color:var(--gold-dark);
}
.auth-story-panel--simple .auth-story-kicker span{
  color:var(--primary-dark);
}
.auth-story-panel--simple .auth-story-kicker em{
  color:var(--gold-dark);
  font-style:normal;
}
.auth-story-title--simple{
  max-width:760px;
  font-size:clamp(3.8rem,7vw,7.6rem)!important;
  line-height:.92;
  letter-spacing:-.05em;
}
.auth-story-title--simple em{
  color:var(--gold-dark);
}
.auth-story-subtitle{
  margin:10px 0 0;
  color:var(--primary-dark);
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(1.55rem,2.4vw,2.35rem);
  font-weight:800;
  line-height:1.05;
}
.auth-story-panel--simple .auth-story-text.auth-story-text--main{
  max-width:640px;
  color:#392136;
  font-size:clamp(1rem,1.18vw,1.18rem);
  line-height:1.62;
}
.auth-story-panel--simple .auth-story-text.auth-story-text--muted{
  max-width:620px;
  color:#6a6270;
  font-size:clamp(.94rem,1.04vw,1.06rem);
  line-height:1.62;
}
.auth-story-note--philosophy{
  margin-top:2px;
  color:var(--gold-dark);
  font-size:.9rem;
  font-weight:900;
  letter-spacing:.02em;
}
.auth-story-panel--simple .auth-story-text{
  max-width:680px;
  color:#514b55;
  font-size:clamp(1.1rem,1.45vw,1.45rem);
  line-height:1.6;
}
.auth-story-icon,
.index-path-icon{
  font-size:0!important;
}
.auth-story-icon::before,
.index-path-icon::before{
  content:"";
  width:26px;
  height:26px;
  display:block;
  border-radius:9px;
  border:2px solid currentColor;
  opacity:.85;
}
.auth-field input::placeholder{
  color:#817984;
}
.auth-panel-footer a{
  color:var(--primary)!important;
  border-color:rgba(111,29,70,.32)!important;
}
.auth-page--lean .auth-panel--flat{
  width:min(640px,100%);
}
.auth-page--lean .auth-panel--flat h1,
.auth-page--lean .auth-panel--flat h2{
  font-size:clamp(2.45rem,3.2vw,3.9rem);
}
.auth-page--lean .auth-panel--flat .auth-panel-subtitle{
  margin:6px 0 16px;
}
.auth-page--lean .auth-panel--flat .social-stack{
  gap:8px;
  margin-bottom:12px;
}
.auth-page--lean .auth-panel--flat .social-btn{
  min-height:42px;
}
.auth-page--lean .auth-panel--flat .auth-divider{
  margin:6px 0 12px;
}
.auth-page--lean .auth-panel--flat .auth-grid{
  gap:10px 14px;
}
.auth-page--lean .auth-panel--flat .auth-field{
  margin-bottom:10px;
}
.auth-page--lean .auth-panel--flat .auth-field input{
  min-height:42px;
}
.auth-page--lean .auth-panel--flat .auth-submit{
  min-height:48px;
}
.auth-page--lean .auth-panel--flat .auth-terms{
  margin-top:10px;
  font-size:.86rem;
  line-height:1.4;
}
.auth-page--lean .auth-panel--flat .auth-panel-footer{
  margin-top:12px;
  padding-top:12px;
}
@media (max-width:900px){
  .index-minimal-card.index-story-card--simple{
    min-height:auto;
  }
  .index-story-title--split{
    font-size:clamp(3.2rem,16vw,5.8rem);
  }
  .auth-story-panel--simple{
    padding-top:6px;
  }
  .auth-story-title--simple{
    font-size:clamp(3.1rem,13vw,5.4rem)!important;
  }
}

/* 2026-06-04 compact auth fit: keep signup/signin fully visible on desktop browsers with taskbars */
.auth-page--lean{
  overflow:hidden;
}
.auth-shell--lean{
  min-height:0;
  grid-template-columns:minmax(300px,.62fr) minmax(430px,1fr);
}
.auth-shell--signup-lean{
  grid-template-columns:minmax(300px,.58fr) minmax(440px,1fr);
}
.auth-visual--brand-only{
  padding:clamp(20px,3vw,44px);
}
.auth-form-side--lean{
  padding:clamp(16px,2.4vw,34px) clamp(22px,3.2vw,48px);
}
.auth-story-panel--simple{
  padding-top:clamp(4px,3.6vh,32px);
  gap:10px;
}
.auth-story-title--simple{
  font-size:clamp(3rem,5.4vw,6.05rem)!important;
  line-height:.88;
}
.auth-page--lean .auth-panel--flat{
  width:min(570px,100%);
}
.auth-page--lean .auth-panel--flat h1,
.auth-page--lean .auth-panel--flat h2{
  font-size:clamp(2.05rem,2.6vw,3.15rem);
  line-height:.98;
}
.auth-page--lean .auth-panel--flat .auth-panel-subtitle{
  margin:4px 0 10px;
}
.auth-page--lean .auth-panel--flat .social-stack{
  gap:7px;
  margin-bottom:9px;
}
.auth-page--lean .auth-panel--flat .social-btn{
  min-height:38px;
}
.auth-page--lean .auth-panel--flat .auth-divider{
  margin:3px 0 8px;
}
.auth-page--lean .auth-panel--flat .auth-grid{
  gap:7px 12px;
}
.auth-page--lean .auth-panel--flat .auth-field{
  margin-bottom:7px;
}
.auth-page--lean .auth-panel--flat .auth-field label{
  margin-bottom:4px;
}
.auth-page--lean .auth-panel--flat .auth-field input{
  min-height:38px;
}
.auth-page--lean .auth-panel--flat .auth-submit{
  min-height:44px;
}
.auth-page--lean .auth-panel--flat .auth-terms{
  margin-top:7px;
  font-size:.8rem;
  line-height:1.28;
}
.auth-page--lean .auth-panel--flat .auth-panel-footer{
  margin-top:8px;
  padding-top:8px;
}

@media (max-height:760px) and (min-width:901px){
  .auth-visual--brand-only{
    padding-block:18px;
  }
  .auth-form-side--lean{
    padding-block:14px;
  }
  .auth-story-title--simple{
    font-size:clamp(2.65rem,4.7vw,5.15rem)!important;
  }
  .auth-page--lean .auth-panel--flat h1,
  .auth-page--lean .auth-panel--flat h2{
    font-size:clamp(1.95rem,2.25vw,2.75rem);
  }
  .auth-page--lean .auth-panel--flat .social-btn{
    min-height:35px;
  }
  .auth-page--lean .auth-panel--flat .auth-field input{
    min-height:35px;
  }
  .auth-page--lean .auth-panel--flat .auth-submit{
    min-height:40px;
  }
  .auth-page--lean .auth-panel--flat .auth-terms{
    font-size:.76rem;
  }
}

@media (max-width:900px){
  .auth-shell--lean,
  .auth-shell--signup-lean{
    grid-template-columns:1fr;
  }
  .auth-page--lean{
    overflow:auto;
  }
}

/* Public auth/claim initials use the same Intagen gold + maroon avatar language */
.identity-avatar,
.auth-page .avatar,
.auth-page .person-avatar,
.public-page .avatar,
.public-page .person-avatar{
  background:radial-gradient(circle at 35% 25%,#FFF9E8 0%,#F7E7C5 42%,#D7A64F 100%) !important;
  color:#6F1D46 !important;
  border-color:#6F1D46 !important;
  box-shadow:0 0 0 3px #fff,0 0 0 6px rgba(111,29,70,.72),0 10px 20px rgba(111,29,70,.12) !important;
}
.identity-avatar img,
.auth-page .avatar img,
.auth-page .person-avatar img,
.public-page .avatar img,
.public-page .person-avatar img{
  color:transparent !important;
}

/* 2026-06-04 final auth/index polish requested for compact public pages */
.auth-page--signup .auth-visual--story{
  display:grid;
  grid-template-rows:auto 1fr;
}
.auth-page--signup .auth-story-panel--signup{
  align-self:center;
  padding-top:0;
  transform:translateY(-2vh);
}
.auth-page--signin .auth-story-title--simple,
.auth-page--signup .auth-story-title--simple{
  font-family:Georgia,"Times New Roman",serif !important;
}
.auth-page--signin .auth-story-title--simple em,
.auth-page--signup .auth-story-title--simple em{
  font-family:Georgia,"Times New Roman",serif !important;
  font-style:italic;
}
.auth-page--signup .social-stack--signup,
.auth-page--signup .auth-divider{
  display:grid;
}

.social-stack--providers{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.social-stack--providers .social-btn{
  min-width:0;
  gap:10px!important;
  padding-inline:14px;
  font-size:.84rem;
}
.auth-page--lean .auth-panel--flat{
  padding-bottom:clamp(18px,2.4vw,28px);
}
.auth-panel-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:nowrap;
}
.auth-panel-footer span{
  white-space:nowrap;
}
.auth-panel-footer a{
  min-width:clamp(142px,18vw,220px);
  color:#fff !important;
  background:linear-gradient(135deg,#d8aa55 0%,#a66f1e 100%) !important;
  border:1px solid rgba(166,111,30,.42) !important;
  box-shadow:0 12px 28px rgba(166,111,30,.16);
}
.auth-password-toggle{
  width:38px;
  height:38px;
  border-radius:50%;
  color:#6f1d46;
}
.auth-password-toggle:hover,
.auth-password-toggle:focus-visible{
  background:rgba(111,29,70,.08);
  outline:none;
}
.auth-password-toggle::before{
  width:22px !important;
  height:22px !important;
  border:0 !important;
  border-radius:0 !important;
  background:currentColor;
  box-shadow:none !important;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3-7 10-7 10 7 10 7-3 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3-7 10-7 10 7 10 7-3 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/contain no-repeat;
}
.auth-password-toggle.is-visible::before{
  background:#a66f1e;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2 2 20 20'/%3E%3Cpath d='M10.6 10.6a2 2 0 0 0 2.8 2.8'/%3E%3Cpath d='M9.88 4.24A10.3 10.3 0 0 1 12 4c7 0 10 8 10 8a18.5 18.5 0 0 1-3.17 4.35'/%3E%3Cpath d='M6.61 6.61C3.98 8.39 2 12 2 12s3 8 10 8a9.7 9.7 0 0 0 5.39-1.61'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2 2 20 20'/%3E%3Cpath d='M10.6 10.6a2 2 0 0 0 2.8 2.8'/%3E%3Cpath d='M9.88 4.24A10.3 10.3 0 0 1 12 4c7 0 10 8 10 8a18.5 18.5 0 0 1-3.17 4.35'/%3E%3Cpath d='M6.61 6.61C3.98 8.39 2 12 2 12s3 8 10 8a9.7 9.7 0 0 0 5.39-1.61'/%3E%3C/svg%3E") center/contain no-repeat;
}
.public-nav--minimal .public-link--signup{
  color:#6f1d46 !important;
  font-weight:900;
  border-bottom:2px solid rgba(184,138,70,.45);
  padding-bottom:4px;
}
@media (max-width:900px){
  .auth-page--signup .auth-story-panel--signup{
    transform:none;
  }
  .auth-panel-footer{
    flex-wrap:wrap;
  }
  .auth-panel-footer a{
    min-width:160px;
    flex:1;
  }
}

/* 2026-06-04 public pages: final compact premium auth/index pass */
.public-page,
.auth-page{
  background:linear-gradient(135deg,#fffdf9 0%,#fff9f1 54%,#f7ead6 100%) !important;
}
.public-page *,
.auth-page *{
  text-decoration-thickness:auto;
}
.public-nav__links a.active::after,
.public-nav__links a:hover::after,
.public-nav--minimal .public-link--signup{
  border-bottom:0 !important;
}
.public-link,
.public-link:hover,
.public-link:focus-visible,
.auth-panel-footer a,
.auth-panel-footer a:hover,
.auth-panel-footer a:focus-visible{
  text-decoration:none !important;
}
.public-shell--minimal{
  width:min(1760px,calc(100% - 72px)) !important;
  height:100svh !important;
  min-height:620px !important;
  grid-template-rows:auto minmax(0,1fr) !important;
  gap:0 !important;
}
.public-nav--minimal{
  min-height:96px !important;
  padding:18px 30px !important;
  border-radius:0 0 26px 26px !important;
  background:linear-gradient(135deg,#fffdf8 0%,#fbf1dd 62%,#efd39c 100%) !important;
}
.index-minimal-card.index-story-card--simple{
  min-height:0 !important;
  height:100% !important;
  border-radius:28px !important;
  background:linear-gradient(135deg,rgba(255,253,249,.96),rgba(255,248,237,.9)) !important;
}
.index-story-title--split{
  margin:0 !important;
  font-size:clamp(4.1rem,8.4vw,8.6rem) !important;
}
.index-story-copy--centered .index-story-lead{
  margin-top:24px !important;
}
.auth-shell--lean,
.auth-shell--signup-lean{
  height:100svh !important;
  min-height:680px !important;
  overflow:hidden !important;
  grid-template-columns:minmax(380px,.92fr) minmax(470px,1fr) !important;
}
.auth-visual--brand-only{
  min-height:0 !important;
  padding:clamp(28px,4vw,58px) clamp(34px,5vw,72px) !important;
  display:grid !important;
  grid-template-rows:auto minmax(0,1fr) !important;
  align-items:stretch !important;
}
.auth-story-panel--simple{
  align-self:center !important;
  justify-self:center !important;
  width:100% !important;
  max-width:760px !important;
  padding:0 !important;
  text-align:left !important;
  transform:none !important;
}
.auth-story-title--simple{
  margin:0 !important;
  font-size:clamp(4.5rem,7.2vw,7.4rem) !important;
  line-height:.92 !important;
}
.auth-form-side--lean{
  min-height:0 !important;
  padding:clamp(22px,3.5vw,48px) clamp(32px,5vw,72px) !important;
  align-items:center !important;
}
.auth-help{
  margin:0 0 18px auto !important;
}
.auth-panel--flat{
  width:min(100%,680px) !important;
  padding:clamp(18px,2.1vw,30px) 0 0 !important;
  background:transparent !important;
  box-shadow:none !important;
  border:0 !important;
}
.auth-panel--flat h1,
.auth-panel--flat h2{
  margin:0 !important;
  font-size:clamp(3.1rem,4vw,4.4rem) !important;
}
.auth-panel--flat .auth-panel-subtitle{
  margin:6px 0 18px !important;
}
.auth-page--lean .auth-panel--flat .social-stack{
  margin-bottom:14px !important;
  gap:10px !important;
}
.auth-page--lean .auth-panel--flat .social-btn{
  min-height:48px !important;
  border-color:rgba(111,29,70,.18) !important;
  background:rgba(255,255,255,.72) !important;
  box-shadow:0 10px 24px rgba(111,29,70,.06) !important;
}
.auth-divider{
  margin:8px 0 14px !important;
}
.auth-page--lean .auth-panel--flat .auth-field input,
.auth-input-wrap{
  min-height:48px !important;
}
.auth-page--lean .auth-panel--flat .auth-submit{
  min-height:50px !important;
  border-radius:999px !important;
}
.auth-panel-footer{
  display:grid !important;
  grid-template-columns:1fr !important;
  justify-items:stretch !important;
  gap:10px !important;
  margin-top:16px !important;
  padding-top:14px !important;
}
.auth-panel-footer span{
  text-align:center !important;
}
.auth-panel-footer a{
  width:100% !important;
  min-height:46px !important;
  border-radius:999px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
}
.auth-page--signup .auth-story-panel--signup{
  align-self:center !important;
  transform:none !important;
}
.auth-page--signup .auth-panel--signup .auth-submit{
  margin-top:8px !important;
}
.auth-page--signup .auth-panel--signup .auth-terms{
  margin:10px 0 0 !important;
}
.auth-password-toggle{
  cursor:pointer !important;
}
.auth-password-toggle--text{
  width:auto !important;
  height:auto !important;
  min-width:54px;
  padding:8px 10px !important;
  border-radius:999px !important;
  border:1px solid rgba(91,18,53,.14) !important;
  background:#fff !important;
  color:#6f1d46 !important;
  font-size:.78rem !important;
  font-weight:900 !important;
  line-height:1 !important;
  box-shadow:0 8px 18px rgba(91,18,53,.07);
}
.auth-password-toggle--text::before{
  content:none !important;
  display:none !important;
}
.auth-password-toggle--text:hover,
.auth-password-toggle--text:focus-visible{
  background:#fff7ea !important;
  border-color:rgba(184,138,70,.35) !important;
}
.identity-checklist{
  display:grid;
  gap:8px;
  margin:14px 0;
  text-align:left;
}
.identity-checklist span{
  display:block;
  border:1px solid rgba(184,138,70,.24);
  background:#fffaf1;
  border-radius:12px;
  padding:10px 12px;
  color:#35122a;
  font-size:.9rem;
  font-weight:850;
}
@media (max-height:780px) and (min-width:901px){
  .auth-shell--lean,
  .auth-shell--signup-lean{
    min-height:620px !important;
  }
  .auth-story-title--simple{
    font-size:clamp(3.5rem,6.2vw,6.1rem) !important;
  }
  .auth-panel--flat h1,
  .auth-panel--flat h2{
    font-size:clamp(2.45rem,3.2vw,3.35rem) !important;
  }
  .auth-page--lean .auth-panel--flat .social-btn,
  .auth-page--lean .auth-panel--flat .auth-field input,
  .auth-input-wrap{
    min-height:42px !important;
  }
  .auth-page--lean .auth-panel--flat .auth-submit,
  .auth-panel-footer a{
    min-height:44px !important;
  }
}
@media (max-width:900px){
  .public-shell--minimal,
  .auth-shell--lean,
  .auth-shell--signup-lean{
    height:auto !important;
    min-height:100svh !important;
    overflow:visible !important;
  }
  .auth-story-panel--simple,
  .auth-story-title--simple{
    text-align:center !important;
  }
  .auth-story-title--simple{
    font-size:clamp(3.2rem,15vw,5.4rem) !important;
  }
}

/* 2026-06-05: signup desktop density without changing the mobile form flow. */
@media (min-width:901px){
  .auth-page--signup .auth-field--password,
  .auth-page--signup .auth-field--confirm{
    grid-column:auto !important;
  }
}

/* 2026-06-05: mobile auth should open directly on the form, not the brand story. */
@media (max-width:760px){
  .auth-page--lean{
    min-height:100svh !important;
    overflow:auto !important;
    background:#fffdf9 !important;
  }

  .auth-shell--lean,
  .auth-shell--signup-lean{
    display:block !important;
    width:100% !important;
    min-height:100svh !important;
    height:auto !important;
    overflow:visible !important;
  }

  .auth-page--lean .auth-visual,
  .auth-page--lean .auth-visual--brand-only,
  .auth-page--lean .auth-story-panel,
  .auth-page--lean .auth-copy,
  .auth-page--lean .public-brand-stack,
  .auth-page--lean .public-pill-brand{
    display:none !important;
  }

  .auth-form-side--lean{
    display:block !important;
    width:100% !important;
    min-height:100svh !important;
    padding:18px 16px 24px !important;
    align-items:flex-start !important;
  }

  .auth-page--signin .auth-help{
    display:none !important;
  }

  .auth-page--lean .auth-panel--flat{
    width:100% !important;
    max-width:none !important;
    padding:0 !important;
    margin:0 !important;
  }

  .auth-panel--flat h1,
  .auth-panel--flat h2{
    font-size:clamp(2rem,10vw,2.8rem) !important;
    line-height:.98 !important;
  }

  .auth-page--lean .auth-panel--flat .auth-panel-subtitle{
    margin:8px 0 16px !important;
    line-height:1.45 !important;
  }

  .auth-page--lean .auth-panel--flat .social-stack{
    gap:8px !important;
    margin-bottom:12px !important;
  }

  .social-stack--providers{
    grid-template-columns:1fr;
  }

  .auth-page--lean .auth-panel--flat .social-btn,
  .auth-page--lean .auth-panel--flat .auth-field input,
  .auth-input-wrap{
    min-height:44px !important;
  }

  .auth-page--lean .auth-panel--flat .auth-grid{
    grid-template-columns:1fr !important;
    gap:0 !important;
  }

  .auth-page--lean .auth-panel--flat .auth-field{
    margin-bottom:11px !important;
  }

  .auth-page--lean .auth-panel--flat .auth-submit,
  .auth-panel-footer a{
    min-height:46px !important;
  }
}

/* 2026-06-06: identity wizard mobile refinement. */
@media (max-width:720px){
  .identity-backdrop{
    align-items:flex-start !important;
    justify-content:flex-start !important;
    padding:10px !important;
    overflow:auto !important;
  }

  .identity-modal,
  .identity-modal--wizard,
  .identity-detail-modal{
    width:100% !important;
    max-width:none !important;
    max-height:none !important;
    min-height:calc(100svh - 20px) !important;
    border-radius:22px !important;
    grid-template-rows:auto auto minmax(0,1fr) auto !important;
  }

  .identity-head{
    padding:18px 16px 14px !important;
  }

  .identity-head h3{
    font-size:clamp(1.45rem,7vw,1.9rem) !important;
    line-height:1.02 !important;
  }

  .identity-head p{
    font-size:.92rem !important;
    line-height:1.42 !important;
  }

  .identity-progress{
    gap:6px !important;
    padding:12px 16px 0 !important;
  }

  .identity-progress span{
    width:auto !important;
    flex:1 1 0 !important;
    height:5px !important;
  }

  .identity-results,
  .identity-results--wizard{
    padding:14px 16px !important;
    overflow:auto !important;
    max-height:none !important;
  }

  .identity-results--matches,
  .identity-choice-grid,
  .identity-choice-grid--countdown,
  .identity-family-grid{
    grid-template-columns:1fr !important;
  }

  .identity-card{
    border-radius:18px !important;
    padding:12px !important;
  }

  .identity-result-row{
    grid-template-columns:auto minmax(0,1fr) !important;
    gap:10px !important;
    padding:12px !important;
    border-radius:16px !important;
  }

  .identity-result-title{
    display:grid !important;
    justify-content:start !important;
    gap:6px !important;
  }

  .identity-result-title strong{
    white-space:normal !important;
  }

  .identity-result-more{
    width:100% !important;
    justify-content:center !important;
  }

  .identity-result-actions{
    grid-column:1 / -1 !important;
    display:grid !important;
    grid-template-columns:1fr !important;
    width:100% !important;
  }

  .search-results-heading,
  .result-action-panel{
    display:grid !important;
    align-items:start !important;
    gap:10px !important;
  }

  .result-action-panel .identity-btn{
    width:100% !important;
    justify-content:center !important;
  }

  .identity-results-scroll{
    max-height:58vh !important;
    padding-right:2px !important;
  }

  .search-result-row{
    grid-template-columns:auto minmax(0,1fr) !important;
    align-items:start !important;
    gap:10px !important;
    padding:12px !important;
    border-radius:16px !important;
  }

  .search-result-title{
    display:grid !important;
    justify-content:start !important;
    gap:6px !important;
  }

  .search-result-title h3{
    white-space:normal !important;
  }

  .search-result-actions{
    grid-column:1 / -1 !important;
    display:grid !important;
    grid-template-columns:1fr !important;
    width:100% !important;
    min-width:0 !important;
  }

  .search-result-actions .identity-btn{
    width:100% !important;
    justify-content:center !important;
  }

  .identity-field-grid{
    grid-template-columns:1fr !important;
  }

  .identity-person{
    align-items:flex-start !important;
  }

  .identity-avatar{
    width:46px !important;
    height:46px !important;
    flex:0 0 46px !important;
  }

  .identity-choice{
    border-radius:18px !important;
    padding:13px 14px !important;
  }

  .identity-reference-check{
    grid-template-columns:1fr !important;
    grid-template-rows:auto !important;
    gap:10px !important;
    width:100% !important;
  }

  .identity-reference-node,
  .identity-reference-node--parents,
  .identity-reference-node--siblings,
  .identity-reference-node--grandparents,
  .identity-reference-node--children,
  .identity-reference-node--center{
    grid-column:auto !important;
    grid-row:auto !important;
    width:100% !important;
    min-height:0 !important;
    text-align:left !important;
    place-content:initial !important;
  }

  .identity-reference-node--center{
    order:-1 !important;
    text-align:center !important;
  }

  .identity-card-actions,
  .identity-actions-row{
    grid-template-columns:1fr !important;
    width:100% !important;
  }

  .identity-footer{
    position:sticky !important;
    bottom:0 !important;
    padding:12px 16px !important;
    background:rgba(255,255,255,.96) !important;
    backdrop-filter:blur(12px) !important;
    justify-content:stretch !important;
  }

  .identity-footer .identity-btn,
  .identity-actions-row .identity-btn{
    width:100% !important;
    justify-content:center !important;
  }
}

/* Signup/signin polish */
.public-nav__actions .public-link--button{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:42px !important;
  padding:0 18px !important;
  border-radius:999px !important;
  border:1px solid rgba(91,18,53,.18) !important;
  background:#fffdf8 !important;
  color:#4a2434 !important;
  font-weight:900 !important;
  text-decoration:none !important;
  box-shadow:0 10px 24px rgba(91,18,53,.08) !important;
}

.public-nav__actions .public-link--button:hover,
.public-nav__actions .public-link--button:focus-visible{
  border-color:rgba(184,138,70,.46) !important;
  background:#fff8ed !important;
  outline:none !important;
}

.public-nav__actions .public-link--button.public-link--signup{
  color:#fff !important;
  background:linear-gradient(135deg,#6f1231 0%,#4a0f27 100%) !important;
  border-color:rgba(111,18,49,.3) !important;
  border-bottom:1px solid rgba(111,18,49,.3) !important;
  padding-bottom:0 !important;
}

.auth-password-toggle:not(.auth-password-toggle--text){
  width:42px !important;
  height:42px !important;
  right:9px !important;
  border-radius:50% !important;
  color:#6f1d46 !important;
  background:transparent !important;
  border:0 !important;
  font-size:0 !important;
}

.auth-field--password .auth-input-wrap input,
.auth-field--confirm .auth-input-wrap input,
.auth-input-wrap:has(.auth-password-toggle) input{
  padding-right:58px !important;
}

.auth-password-toggle:not(.auth-password-toggle--text)::before{
  content:"" !important;
  display:block !important;
  width:21px !important;
  height:21px !important;
  background:currentColor !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3-7 10-7 10 7 10 7-3 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/contain no-repeat !important;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3-7 10-7 10 7 10 7-3 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/contain no-repeat !important;
}

.auth-password-toggle:not(.auth-password-toggle--text).is-visible::before{
  background:#a66f1e !important;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2 2 20 20'/%3E%3Cpath d='M10.6 10.6a2 2 0 0 0 2.8 2.8'/%3E%3Cpath d='M9.88 4.24A10.3 10.3 0 0 1 12 4c7 0 10 8 10 8a18.5 18.5 0 0 1-3.17 4.35'/%3E%3Cpath d='M6.61 6.61C3.98 8.39 2 12 2 12s3 8 10 8a9.7 9.7 0 0 0 5.39-1.61'/%3E%3C/svg%3E") center/contain no-repeat !important;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2 2 20 20'/%3E%3Cpath d='M10.6 10.6a2 2 0 0 0 2.8 2.8'/%3E%3Cpath d='M9.88 4.24A10.3 10.3 0 0 1 12 4c7 0 10 8 10 8a18.5 18.5 0 0 1-3.17 4.35'/%3E%3Cpath d='M6.61 6.61C3.98 8.39 2 12 2 12s3 8 10 8a9.7 9.7 0 0 0 5.39-1.61'/%3E%3C/svg%3E") center/contain no-repeat !important;
}
