a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--rose-dark);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--wine);
  color: white;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 120ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(93, 33, 50, 0.1);
}

.public-page .site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(18px);
}

.brand-cluster {
  display: flex;
  align-items: center;
  gap: 14px;
}

.page-status {
  padding: 6px 10px;
  border: 1px solid rgba(201, 47, 74, 0.16);
  border-radius: 999px;
  background: var(--rose-soft);
  color: var(--rose-dark);
  font-size: 0.72rem;
  font-weight: 780;
  white-space: nowrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--wine);
  font-size: 1.42rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 48% 52%;
  background: var(--rose);
  color: white;
  box-shadow: 0 8px 22px rgba(201, 47, 74, 0.22);
}

.header-link {
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
  text-underline-offset: 4px;
}

.header-link:hover {
  background: var(--rose-soft);
  color: var(--rose-dark);
}

.header-actions { display: flex; align-items: center; gap: 20px; }

.hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 82px 0 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 480px);
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
}

.hero-copy {
  max-width: 620px;
  min-width: 0;
}

.notice-hero,
.notice-hero .hero-copy,
.notice-hero .flow-card {
  min-width: 0;
}

.notice-hero h1 {
  max-width: calc(100% - 4px);
  line-height: 1.12;
  text-wrap: wrap;
  overflow-wrap: anywhere;
}

.eyebrow,
.card-kicker {
  margin: 0 0 16px;
  color: var(--rose-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 670px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 6.3vw, 5.8rem);
  font-weight: 580;
  line-height: 0.99;
  letter-spacing: -0.055em;
}

.hero-lead {
  max-width: 590px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.72;
}

.trust-row {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 13px 20px;
  color: var(--wine);
  font-size: 0.88rem;
  font-weight: 650;
}

.trust-row > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-icon {
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
  font-size: 0.72rem;
}

.flow-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(93, 33, 50, 0.12);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 38px);
  box-shadow:
    0 30px 80px rgba(92, 40, 53, 0.12),
    0 4px 16px rgba(92, 40, 53, 0.05);
  backdrop-filter: blur(12px);
}

.public-page-deletion .flow-card {
  border-top: 4px solid var(--rose);
}

.public-page-appeal .flow-card {
  border-top: 4px solid var(--success);
}

.public-page-safety .flow-card {
  border-top: 4px solid var(--wine);
}

.flow-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.card-kicker {
  margin-bottom: 8px;
  font-size: 0.7rem;
}

.flow-heading h2 {
  margin: 0;
  font-size: 1.55rem;
  letter-spacing: -0.035em;
}

.step-label {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--rose-soft);
  color: var(--rose-dark);
  font-size: 0.74rem;
  font-weight: 750;
}

.step-track {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin: 24px 0 28px;
}

.step-track span {
  height: 4px;
  border-radius: 999px;
  background: #eee5e2;
}

.step-track .active {
  background: linear-gradient(90deg, var(--rose) 55%, #eee5e2 55%);
}

.step-track .complete {
  background: var(--rose);
}

.form-intro {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

label {
  display: block;
  margin: 18px 0 8px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 720;
}

input {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid #d9ccca;
  border-radius: 13px;
  background: #fffdfc;
  color: var(--ink);
  outline: none;
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease;
}

select,
textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid #d9ccca;
  border-radius: 13px;
  background: #fffdfc;
  color: var(--ink);
  outline: none;
}

select:focus,
textarea:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(229, 72, 98, 0.12);
}

textarea { resize: vertical; line-height: 1.5; }
.character-count { margin: 6px 0 0; text-align: right; }
.appeal-list span { font-size: 0.74rem; font-weight: 800; }

input::placeholder {
  color: #a9989d;
}

input:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(229, 72, 98, 0.12);
}

.code-input {
  letter-spacing: 0.35em;
  font-weight: 800;
  text-align: center;
}

.development-note,
.privacy-hint,
.receipt,
.store-reminder {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.development-note {
  margin: 11px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff8df;
  color: #705b17;
}

.form-error {
  margin: 13px 0 0;
  padding: 11px 12px;
  border-radius: 10px;
  background: #fff0f0;
  color: #9d2034;
  font-size: 0.82rem;
  line-height: 1.45;
}

.field-error {
  margin: 7px 0 0;
  color: #9d2034;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.45;
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #b4233c;
  box-shadow: 0 0 0 3px rgba(180, 35, 60, 0.12);
}

.form-error-summary {
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(180, 35, 60, 0.28);
  border-left: 5px solid #b4233c;
  border-radius: 12px;
  background: #fff0f0;
  color: #7f1830;
}

.form-error-summary:focus {
  outline: 3px solid rgba(180, 35, 60, 0.24);
  outline-offset: 3px;
}

.form-error-summary h3 {
  margin: 0;
  font-family: inherit;
  font-size: 0.92rem;
  letter-spacing: 0;
}

.form-error-summary p,
.form-error-summary ul {
  margin: 8px 0 0;
  font-size: 0.82rem;
  line-height: 1.5;
}

.form-error-summary ul { padding-left: 20px; }
.form-error-summary a { color: inherit; font-weight: 750; }

.primary-button,
.danger-button,
.secondary-button {
  width: 100%;
  min-height: 52px;
  margin-top: 22px;
  border: 0;
  border-radius: 13px;
  cursor: pointer;
  font-weight: 780;
  transition:
    transform 150ms ease,
    background 150ms ease,
    box-shadow 150ms ease;
}

.primary-button,
.danger-button {
  background: var(--rose-dark);
  color: white;
  box-shadow: 0 12px 24px rgba(201, 47, 74, 0.2);
}

.primary-button:hover,
.danger-button:hover {
  transform: translateY(-1px);
  background: var(--wine);
}

.primary-button:disabled,
.danger-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
  box-shadow: none;
}

.privacy-hint {
  margin: 12px 0 0;
  text-align: center;
}

.turnstile-boundary {
  min-height: 28px;
  margin-top: 18px;
}

.turnstile-boundary > div:first-child:not(:empty) {
  display: flex;
  justify-content: center;
}
.turnstile-fallback-link {
  min-height: 44px;
  margin-top: 12px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rose-dark);
  border-radius: 8px;
  color: var(--rose-dark);
  font-weight: 750;
  text-decoration: none;
}

.turnstile-fallback-link:hover {
  background: var(--rose-soft);
}

.text-button {
  width: 100%;
  margin-top: 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.82rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.success-state {
  padding: 6px 0 0;
  text-align: center;
}

.success-mark {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
  font-size: 1.5rem;
  font-weight: 900;
}

.success-state h3 {
  margin: 0;
  font-size: 1.4rem;
}

.success-state > p {
  color: var(--muted);
  line-height: 1.55;
}

.receipt span {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.68rem;
  overflow-wrap: anywhere;
}

.store-reminder {
  padding: 12px;
  border-radius: 10px;
  background: #f7f3f1;
}

.secondary-button {
  margin-top: 10px;
  border: 1px solid var(--line);
  background: white;
  color: var(--wine);
  box-shadow: none;
}

.secondary-button:hover {
  background: var(--rose-soft);
}

.details-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 90px 0;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 9vw, 130px);
  border-top: 1px solid var(--line);
}

.details-section h2,
.notice-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 580;
  letter-spacing: -0.045em;
}

.details-section p:not(.eyebrow),
.notice-section p {
  color: var(--muted);
  line-height: 1.7;
}

.deletion-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.deletion-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 650;
}

.deletion-list span {
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--rose-soft);
  color: var(--rose-dark);
  font-size: 1.1rem;
}

.notice-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 90px;
  padding: clamp(28px, 5vw, 48px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  border-radius: 24px;
  background: var(--wine);
  color: white;
}

.notice-symbol {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  font-weight: 900;
}

.notice-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.45rem);
}

.notice-section p {
  max-width: 900px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

footer {
  min-height: 120px;
  padding: 30px max(20px, calc((100% - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

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

footer nav a {
  color: var(--rose-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.public-support-dsa .policy-actions { margin-top: 22px; }
.public-support-dsa .policy-actions a { width: auto; margin-top: 0; }

/* Support is deliberately system-font-only. This prevents late Ruby landing
   font swaps from moving the form while keeping the public visual hierarchy. */
.public-page.public-support-page {
  font-family: "Segoe UI", Arial, sans-serif;
}
.public-page.public-support-page .notice-section h2 {
  font-family: Georgia, "Times New Roman", serif;
}

.footer-brand {
  font-size: 1.1rem;
}

.footer-brand .brand-mark {
  width: 30px;
  height: 30px;
}

@media (max-width: 980px) {
  .public-page .site-header {
    min-height: auto;
    padding: 13px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .public-page .header-actions {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
  }

  .public-page .header-link {
    flex: 0 0 auto;
    padding-left: 0;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 58px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .flow-card {
    max-width: 620px;
    width: 100%;
  }

  .details-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
    hyphens: auto;
    line-height: 1.02;
    overflow-wrap: break-word;
    text-wrap: wrap;
  }

  .site-header,
  .hero,
  .details-section,
  .notice-section {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 72px;
  }

  .public-page .site-header {
    min-height: auto;
    padding: 13px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .public-page .header-actions {
    width: 100%;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    overflow-x: visible;
    scrollbar-width: none;
  }

  .public-page .header-actions::-webkit-scrollbar {
    display: none;
  }

  .public-page .header-link {
    flex: 0 0 auto;
    padding-left: 0;
  }

  .hero {
    padding: 46px 0 68px;
    gap: 36px;
  }

  h1 {
    font-size: clamp(2.75rem, 15vw, 4rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .flow-card {
    border-radius: 21px;
  }

  .details-section {
    padding: 68px 0;
  }

  .notice-section {
    grid-template-columns: 1fr;
    margin-bottom: 54px;
  }

  footer {
    padding: 28px 14px;
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation: none !important;
    transition: none !important;
  }
}

/* Public product landing page */
.landing-page {
  --landing-max: 1240px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 8%, rgba(229, 72, 98, 0.12), transparent 27rem),
    linear-gradient(180deg, #fffaf7 0%, #fff 34%, #fff8f5 100%);
}

.landing-header {
  width: min(var(--landing-max), calc(100% - 48px));
  min-height: 84px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid rgba(93, 33, 50, 0.1);
}

.landing-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 32px);
}

.landing-nav a,
.language-link {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

.landing-nav a:hover,
.language-link:hover {
  color: var(--rose-dark);
}

.language-link {
  padding: 9px 13px;
  border: 1px solid rgba(93, 33, 50, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
}

.landing-hero {
  width: min(var(--landing-max), calc(100% - 48px));
  min-height: 720px;
  margin: 0 auto;
  padding: 76px 0 92px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.95fr);
  align-items: center;
  gap: clamp(52px, 8vw, 118px);
}

.landing-hero-copy h1 {
  max-width: 760px;
  font-size: clamp(3.7rem, 6.2vw, 6.3rem);
  line-height: 0.94;
}

.landing-lead {
  max-width: 660px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.72;
}

.landing-cta-row {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.landing-primary,
.landing-secondary {
  min-height: 52px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.landing-primary {
  background: var(--rose-dark);
  color: white;
  box-shadow: 0 14px 30px rgba(201, 47, 74, 0.2);
}

.landing-primary:hover { background: var(--wine); }

.landing-secondary {
  border: 1px solid rgba(93, 33, 50, 0.16);
  background: rgba(255, 255, 255, 0.75);
  color: var(--wine);
}

.landing-secondary:hover { background: var(--rose-soft); }

.launch-status {
  margin: 24px 0 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
}

.launch-status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d39a33;
  box-shadow: 0 0 0 5px rgba(211, 154, 51, 0.12);
}

.phone-stage {
  min-height: 590px;
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.orbit {
  position: absolute;
  z-index: -2;
  border: 1px solid rgba(201, 47, 74, 0.16);
  border-radius: 50%;
}

.orbit-one { width: 520px; height: 520px; }
.orbit-two { width: 390px; height: 390px; border-style: dashed; }

.phone-stage::before {
  position: absolute;
  z-index: -1;
  width: 330px;
  height: 470px;
  border-radius: 50%;
  background: rgba(229, 72, 98, 0.17);
  filter: blur(55px);
  content: "";
}

.phone-shell {
  width: min(350px, 75vw);
  padding: 12px;
  border: 8px solid #2e2025;
  border-radius: 42px;
  background: white;
  box-shadow: 0 36px 90px rgba(65, 27, 38, 0.24);
  transform: rotate(2deg);
}

.phone-top {
  min-height: 48px;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--wine);
  font-weight: 850;
}

.verified-pill {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--success-soft);
  color: var(--success);
  font-size: 0.65rem;
}

.profile-portrait {
  min-height: 326px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 31%, #ffd9d3 0 16%, transparent 16.5%),
    radial-gradient(ellipse at 50% 51%, #912f4f 0 25%, transparent 25.5%),
    linear-gradient(145deg, #f8d6d4 0%, #eaa6ad 46%, #8d3650 100%);
}

.profile-portrait::before,
.profile-portrait::after {
  position: absolute;
  content: "";
}

.profile-portrait::before {
  width: 184px;
  height: 210px;
  bottom: -75px;
  border-radius: 50% 50% 24px 24px;
  background: #602036;
}

.profile-portrait::after {
  width: 82px;
  height: 102px;
  top: 76px;
  border-radius: 48% 48% 44% 44%;
  background: #f4c5b4;
  box-shadow: 0 -22px 0 8px #552035;
}

.profile-portrait > span {
  position: absolute;
  z-index: 2;
  top: 112px;
  color: rgba(93, 33, 50, 0.6);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.profile-portrait i {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 30px;
  height: 30px;
  z-index: 3;
  border: 3px solid white;
  border-radius: 50%;
  background: var(--success);
}

.profile-copy { padding: 17px 8px 7px; }

.profile-copy > div:first-child { display: flex; align-items: center; gap: 8px; }
.profile-copy strong { margin: 0; font-size: 1.35rem; letter-spacing: -0.04em; }
.profile-copy > p { margin: 4px 0 0; color: var(--muted); font-size: 0.8rem; }

.profile-check {
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--success);
  color: white;
  font-size: 0.65rem;
}

.profile-tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.profile-tags span { padding: 6px 8px; border-radius: 999px; background: var(--rose-soft); color: var(--wine); font-size: 0.66rem; font-weight: 700; }
.profile-copy .region-proof { margin-top: 12px; display: flex; align-items: center; gap: 6px; color: var(--success); font-weight: 750; }

.swipe-actions { padding: 8px 24px 14px; display: flex; align-items: center; justify-content: space-between; }
.swipe-actions span,
.swipe-actions strong { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 1.45rem; }
.swipe-actions span { color: var(--muted); }
.swipe-actions strong { border-color: var(--rose); background: var(--rose); color: white; box-shadow: 0 9px 20px rgba(229, 72, 98, 0.24); }

.floating-proof {
  position: absolute;
  z-index: 3;
  min-width: 210px;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(93, 33, 50, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 50px rgba(84, 38, 52, 0.14);
  backdrop-filter: blur(12px);
}

.floating-proof > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--success-soft); color: var(--success); font-weight: 900; }
.floating-proof strong,
.floating-proof small { display: block; }
.floating-proof strong { font-size: 0.74rem; }
.floating-proof small { margin-top: 3px; color: var(--muted); font-size: 0.61rem; }
.proof-top { top: 72px; right: -35px; }
.proof-bottom { bottom: 82px; left: -55px; }

.trust-strip {
  min-height: 86px;
  padding: 20px max(24px, calc((100% - 1080px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 28px;
  background: var(--wine);
  color: white;
}

.trust-strip span { display: flex; align-items: center; gap: 10px; font-size: 0.86rem; font-weight: 700; }
.trust-strip b { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #ffb3c1; }

.landing-section,
.steps-section,
.safety-section,
.premium-section,
.waitlist-section,
.faq-section,
.support-section {
  width: min(var(--landing-max), calc(100% - 48px));
  margin: 0 auto;
  padding: 120px 0;
}

.section-heading { max-width: 760px; }
.section-heading.compact { max-width: 670px; }
.section-heading h2,
.safety-intro h2,
.support-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 5vw, 4.7rem);
  font-weight: 580;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.section-heading > p:last-child,
.safety-intro > p,
.support-copy > p {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.principle-grid {
  margin-top: 62px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.principle-grid article { min-height: 280px; padding: 34px clamp(22px, 3vw, 38px) 32px 0; border-right: 1px solid var(--line); }
.principle-grid article + article { padding-left: clamp(22px, 3vw, 38px); }
.principle-grid article:last-child { border-right: 0; }
.principle-grid article > span { color: var(--rose-dark); font-size: 0.75rem; font-weight: 850; letter-spacing: 0.12em; }
.principle-grid h3 { margin: 58px 0 12px; font-size: 1.35rem; letter-spacing: -0.035em; }
.principle-grid p,
.steps-grid p,
.safety-grid p,
.plan-card li,
.faq-list p,
.support-grid p { color: var(--muted); line-height: 1.65; }
.flow-card select { width: 100%; min-height: 48px; margin: 8px 0 18px; padding: 0 14px; border: 1px solid rgba(93, 33, 50, 0.22); border-radius: 12px; background: #fff; color: var(--ink); font: inherit; }
.two-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.confirmation-row { margin: 20px 0; display: grid; grid-template-columns: 22px 1fr; align-items: start; gap: 10px; line-height: 1.55; }
.confirmation-row input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--rose-dark); }
.emergency-note { margin-top: 28px; padding: 17px 19px; border-left: 4px solid var(--rose); border-radius: 12px; background: var(--rose-soft); color: var(--wine); line-height: 1.6; }
.public-page-notice .flow-card { border-top: 4px solid var(--rose); }
.policy-hero { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 88px 0 62px; }
.policy-hero h1 { max-width: 900px; }
.rule-grid { width: min(1180px, calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rule-grid article { min-height: 250px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: white; }
.rule-grid article > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--success-soft); color: var(--success); font-weight: 900; }
.rule-grid h2 { margin: 28px 0 10px; font-size: 1.2rem; }
.rule-grid p, .policy-detail-grid p { color: var(--muted); line-height: 1.68; }
.policy-detail-grid { width: min(1180px, calc(100% - 40px)); margin: 82px auto 100px; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(45px, 8vw, 110px); }
.policy-detail-grid h2 { margin: 0 0 16px; }
.policy-detail-grid article > h2:not(:first-child) { margin-top: 34px; }
.policy-detail-grid ol { margin: 26px 0 0; padding: 0; display: grid; gap: 15px; list-style: none; }
.policy-detail-grid li { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 12px; line-height: 1.55; }
.policy-detail-grid li span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--rose-soft); color: var(--rose-dark); font-weight: 850; }
.policy-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.policy-actions a { min-height: 48px; padding: 0 20px; display: inline-flex; align-items: center; border-radius: 13px; text-decoration: none; font-weight: 800; }
.secondary-button { border: 1px solid var(--line); color: var(--wine); }
.information-card-grid article { min-height: 280px; }
.information-list { margin: 26px 0 0; padding: 0; display: grid; gap: 14px; list-style: none; }
.information-list li { position: relative; padding: 15px 18px 15px 46px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); line-height: 1.55; }
.information-list li::before { position: absolute; top: 15px; left: 17px; color: var(--success); content: "✓"; font-weight: 900; }
.release-boundary { padding: clamp(26px, 4vw, 42px); border: 1px solid rgba(201, 47, 74, 0.18); border-radius: 22px; background: var(--rose-soft); }
.release-boundary .card-kicker { color: var(--rose-dark); }
.release-boundary .policy-actions { align-items: stretch; }
.information-footer nav { max-width: 420px; }

.steps-section { border-top: 1px solid var(--line); }
.steps-grid { margin: 60px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; counter-reset: steps; }
.steps-grid li { position: relative; min-height: 230px; padding: 26px 30px 20px 0; border-top: 3px solid var(--rose-soft); }
.steps-grid li::after { position: absolute; top: -7px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--rose); content: ""; }
.steps-grid li + li { padding-left: 24px; }
.steps-grid li + li::after { left: 24px; }
.steps-grid li > span { color: var(--rose-dark); font-size: 0.72rem; font-weight: 850; }
.steps-grid h3 { margin: 44px 0 10px; font-size: 1.15rem; }
.steps-grid p { margin: 0; font-size: 0.9rem; }

.safety-section {
  width: 100%;
  padding: 120px max(24px, calc((100% - var(--landing-max)) / 2));
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(55px, 8vw, 120px);
  background: #311f26;
  color: white;
}

.safety-intro > p { color: rgba(255, 255, 255, 0.68); }
.safety-intro aside { margin-top: 34px; padding: 18px 20px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 14px; color: rgba(255, 255, 255, 0.62); font-size: 0.78rem; line-height: 1.6; }
.safety-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.safety-grid article { min-height: 200px; padding: 25px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 20px; background: rgba(255, 255, 255, 0.055); }
.safety-grid article > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(229, 72, 98, 0.17); color: #ff9eb1; }
.safety-grid h3 { margin: 24px 0 9px; }
.safety-grid p { margin: 0; color: rgba(255, 255, 255, 0.64); font-size: 0.86rem; }

.premium-section { text-align: center; }
.premium-heading { margin: 0 auto; }
.premium-heading > p:last-child { margin-left: auto; margin-right: auto; }
.plans-grid { max-width: 930px; margin: 62px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; text-align: left; }
.plan-card { padding: clamp(30px, 4vw, 46px); border: 1px solid var(--line); border-radius: 26px; background: white; box-shadow: 0 20px 60px rgba(76, 35, 47, 0.06); }
.plan-card.featured { border-color: rgba(211, 154, 51, 0.45); background: linear-gradient(145deg, #5d2132, #351e26); color: white; box-shadow: 0 28px 70px rgba(93, 33, 50, 0.2); }
.plan-label { margin: 0; color: var(--rose-dark); font-size: 0.72rem; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
.featured .plan-label { color: #f4c56f; }
.plan-card h3 { margin: 14px 0 30px; font-family: Georgia, "Times New Roman", serif; font-size: 2rem; font-weight: 580; }
.plan-card ul { margin: 0; padding: 0; display: grid; gap: 16px; list-style: none; }
.plan-card li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; }
.plan-card li span { color: var(--success); font-weight: 900; }
.featured li { color: rgba(255, 255, 255, 0.75); }
.featured li span { color: #f4c56f; }
.pricing-note { max-width: 700px; margin: 24px auto 0; color: var(--muted); font-size: 0.78rem; }

.waitlist-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  align-items: start;
  gap: clamp(54px, 8vw, 120px);
  border-top: 1px solid var(--line);
}
.waitlist-card { padding: clamp(26px, 4vw, 40px); border: 1px solid var(--line); border-radius: 26px; background: white; box-shadow: 0 22px 65px rgba(76, 35, 47, 0.08); }
.waitlist-card form { display: grid; gap: 12px; }
.waitlist-card label { color: var(--wine); font-size: 0.84rem; font-weight: 800; }
.waitlist-card input[type="email"] { min-height: 52px; padding: 0 15px; border: 1px solid rgba(93, 33, 50, 0.22); border-radius: 14px; background: white; color: var(--ink); font: inherit; }
.waitlist-card input:disabled { cursor: not-allowed; background: #f5f1f2; color: var(--muted); }
.waitlist-consent { margin: 4px 0 8px; display: grid; grid-template-columns: 22px 1fr; align-items: start; gap: 11px; line-height: 1.55; }
.waitlist-consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--rose-dark); }
.waitlist-card button { min-height: 50px; border: 0; cursor: pointer; }
.waitlist-card button:disabled { cursor: not-allowed; opacity: 0.48; }
.waitlist-local-note { margin: 2px 0 0; color: var(--muted); font-size: 0.76rem; line-height: 1.55; }
.waitlist-privacy { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.waitlist-privacy summary { cursor: pointer; color: var(--wine); font-size: 0.82rem; font-weight: 800; }
.waitlist-privacy p,
.waitlist-support { color: var(--muted); font-size: 0.76rem; line-height: 1.6; }
.waitlist-support { margin: 18px 0 0; }
.waitlist-support a { color: var(--rose-dark); font-weight: 800; }
.waitlist-success { min-height: 230px; display: grid; place-items: center; align-content: center; gap: 14px; text-align: center; }
.waitlist-success > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: #e8f6f0; color: var(--success); font-size: 1.35rem; font-weight: 900; }
.waitlist-success p { max-width: 320px; margin: 0; line-height: 1.6; }
.waitlist-success button { padding: 0 18px; border: 1px solid var(--line); border-radius: 13px; background: white; color: var(--rose-dark); font-weight: 800; }

.faq-section { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(60px, 9vw, 140px); border-top: 1px solid var(--line); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; font-weight: 750; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--rose-dark); font-size: 1.4rem; font-weight: 400; transition: transform 150ms ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list p { margin: -4px 0 24px; padding-right: 44px; font-size: 0.9rem; }

.support-section {
  width: 100%;
  padding: 110px max(24px, calc((100% - var(--landing-max)) / 2));
  background: var(--rose-soft);
}
.support-copy { max-width: 720px; }
.support-grid { margin-top: 52px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.support-grid article { min-height: 230px; padding: 28px; display: flex; flex-direction: column; border: 1px solid rgba(201, 47, 74, 0.12); border-radius: 20px; background: rgba(255, 255, 255, 0.8); }
.support-grid h3 { margin: 0; font-size: 1.15rem; }
.support-grid p { font-size: 0.86rem; }
.support-grid a { margin-top: auto; display: flex; align-items: center; justify-content: space-between; color: var(--rose-dark); font-size: 0.85rem; font-weight: 800; text-decoration: none; }

.landing-footer {
  min-height: 230px;
  padding: 46px max(24px, calc((100% - var(--landing-max)) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 36px;
  background: #21161a;
  color: rgba(255, 255, 255, 0.62);
}
.landing-footer > div p { margin: 10px 0 0; }
.landing-footer .brand { color: white; }
.landing-footer nav { max-width: 560px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 22px; }
.landing-footer nav a { color: rgba(255, 255, 255, 0.72); font-size: 0.8rem; text-decoration: none; }
.landing-footer > p { justify-self: end; text-align: right; font-size: 0.72rem; line-height: 1.7; }

.state-page {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(229, 72, 98, 0.13), transparent 24rem),
    linear-gradient(145deg, #fffaf7 0%, #fff4f5 100%);
}

.state-header {
  width: min(1180px, calc(100% - 40px));
  min-height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(93, 33, 50, 0.1);
}

.state-header-note { color: var(--muted); font-size: 0.78rem; font-weight: 750; letter-spacing: 0.08em; }

.state-stage {
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 88px);
  margin: 0 auto;
  padding: 72px 0 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: clamp(54px, 10vw, 150px);
}

.state-copy { min-width: 0; max-width: 660px; }
.state-code { margin: 0 0 28px; color: var(--rose-dark); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.18em; text-transform: uppercase; }
.state-copy h1 { font-size: clamp(3.25rem, 7vw, 6.2rem); }
.state-description { max-width: 590px; margin: 28px 0 0; color: var(--muted); font-size: 1.08rem; line-height: 1.72; }
.state-actions { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.state-primary,
.state-secondary,
.state-text-link { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; font-weight: 800; text-decoration: none; }
.state-primary { padding: 0 22px; border: 1px solid var(--rose-dark); background: var(--rose-dark); color: white; cursor: pointer; }
.state-secondary { padding: 0 22px; border: 1px solid rgba(93, 33, 50, 0.2); background: rgba(255, 255, 255, 0.72); color: var(--wine); }
.state-text-link { padding: 0 10px; color: var(--rose-dark); }
.state-primary:hover { background: var(--wine); border-color: var(--wine); }
.state-secondary:hover,
.state-text-link:hover { background: var(--rose-soft); }
.state-note { max-width: 620px; margin: 30px 0 0; display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 0.8rem; line-height: 1.62; }
.state-note span { color: var(--success); font-weight: 900; }

.state-visual { position: relative; min-height: 440px; display: grid; place-items: center; isolation: isolate; }
.state-heart {
  position: relative;
  z-index: 2;
  width: 176px;
  height: 176px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #e54862, #b92646);
  border-radius: 28px 0 28px 0;
  color: white;
  box-shadow: 0 34px 75px rgba(140, 35, 61, 0.3);
  transform: rotate(45deg);
}
.state-heart::before,
.state-heart::after { position: absolute; width: 176px; height: 176px; border-radius: 50%; background: inherit; content: ""; }
.state-heart::before { left: -84px; top: 0; }
.state-heart::after { left: 0; top: -84px; }
.state-heart span { position: relative; z-index: 1; font-family: Georgia, "Times New Roman", serif; font-size: 5rem; font-weight: 650; transform: rotate(-45deg); }
.state-orbit { position: absolute; z-index: -1; border: 1px solid rgba(201, 47, 74, 0.18); border-radius: 50%; }
.state-orbit-one { width: 390px; height: 390px; }
.state-orbit-two { width: 520px; height: 520px; border-style: dashed; }
.state-signal,
.state-loader { position: absolute; z-index: 3; right: 12%; bottom: 17%; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: white; color: var(--rose-dark); box-shadow: 0 16px 40px rgba(93, 33, 50, 0.2); font-size: 1.45rem; font-weight: 900; }
.state-loader::before { width: 30px; height: 30px; border: 3px solid var(--rose-soft); border-top-color: var(--rose-dark); border-radius: 50%; content: ""; animation: state-spin 900ms linear infinite; }
@keyframes state-spin { to { transform: rotate(360deg); } }

@media (max-width: 980px) {
  .state-stage { grid-template-columns: 1fr; }
  .state-visual { min-height: 360px; order: -1; transform: scale(0.82); }
  .landing-nav { display: none; }
  .landing-header { grid-template-columns: 1fr auto; }
  .landing-hero { min-height: auto; grid-template-columns: 1fr; }
  .landing-hero-copy { max-width: 800px; }
  .phone-stage { max-width: 620px; width: 100%; margin: 0 auto; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle-grid article,
  .principle-grid article + article { min-height: auto; padding: 30px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .principle-grid h3 { margin-top: 24px; }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .safety-section { grid-template-columns: 1fr; }
  .waitlist-section { grid-template-columns: 1fr; }
  .faq-section { grid-template-columns: 1fr; }
  .landing-footer { grid-template-columns: 1fr 1fr; }
  .rule-grid { grid-template-columns: 1fr 1fr; }
  .policy-detail-grid { grid-template-columns: 1fr; }
  .landing-footer nav { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 650px) {
  .state-header,
  .state-stage { width: min(100% - 28px, 1180px); }
  .state-header-note { display: none; }
  .state-stage { min-height: auto; padding: 46px 0 72px; gap: 8px; }
  .state-visual { min-height: 300px; transform: scale(0.66); }
  .state-copy h1 { font-size: clamp(2.7rem, 12vw, 3.4rem); overflow-wrap: anywhere; text-wrap: wrap; }
  .state-actions { align-items: stretch; flex-direction: column; }
  .state-primary,
  .state-secondary,
  .state-text-link { width: 100%; }
  .landing-header,
  .landing-hero,
  .landing-section,
  .steps-section,
  .premium-section,
  .waitlist-section,
  .faq-section { width: min(100% - 28px, var(--landing-max)); }
  .landing-header { min-height: 72px; gap: 12px; }
  .landing-header .brand { font-size: 1.2rem; }
  .language-link { font-size: 0.76rem; }
  .landing-hero { padding: 54px 0 72px; gap: 24px; }
  .landing-hero-copy h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .landing-cta-row { flex-direction: column; }
  .phone-stage { min-height: 540px; transform: scale(0.92); }
  .floating-proof { min-width: 182px; }
  .proof-top { right: -24px; }
  .proof-bottom { left: -24px; }
  .trust-strip { flex-direction: column; align-items: flex-start; }
  .landing-section,
  .steps-section,
  .safety-section,
  .premium-section,
  .faq-section,
  .support-section { padding-top: 84px; padding-bottom: 84px; }
  .steps-grid,
  .safety-grid,
  .plans-grid,
  .support-grid { grid-template-columns: 1fr; }
  .steps-grid li + li { padding-left: 0; }
  .steps-grid li + li::after { left: 0; }
  .section-heading h2,
  .safety-intro h2,
  .support-copy h2 { font-size: clamp(2.45rem, 12vw, 3.5rem); }
  .landing-footer { grid-template-columns: 1fr; }
  .landing-footer nav { grid-column: auto; grid-row: auto; flex-direction: column; gap: 12px; }
  .landing-footer > p { justify-self: start; text-align: left; }
  .two-field-grid, .rule-grid { grid-template-columns: 1fr; }
  .policy-hero, .rule-grid, .policy-detail-grid { width: min(100% - 28px, 1180px); }
  .policy-hero { padding-top: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  .state-loader::before { animation: none; }
  .member-onboarding-progress span { transition: none; }
}

@media (prefers-color-scheme: dark) {
  .member-web-shell,
  .member-entry {
    color-scheme: dark;
    --ink: #fff4f6;
    --muted: #d6c2c8;
    --paper: #171013;
    --surface: #26191e;
    --line: #503741;
    --rose: #ff7188;
    --rose-dark: #ff9aad;
    --rose-soft: #44232d;
    --wine: #ffd9e0;
    --success: #78dcb5;
    --success-soft: #18382d;
    background:
      radial-gradient(circle at 80% 10%, rgba(255, 113, 136, 0.12), transparent 30rem),
      var(--paper);
    color: var(--ink);
  }

  .member-auth-card,
  .member-sidebar,
  .member-topbar,
  .member-sidebar-note,
  .member-filter,
  .member-profile-card,
  .member-panel,
  .member-insight-card,
  .member-completion,
  .member-safety-grid article,
  .member-premium-grid section,
  .member-profile-actions button,
  .member-filter-panel,
  .member-filter-panel select,
  .member-filter-actions button,
  .member-profile-editor,
  .member-profile-editor-actions button,
  .member-account-grid > section,
  .member-account-grid .member-account-secondary,
  .member-account-closed,
  .member-security-card,
  .member-security-card .member-account-secondary,
  .member-session-list li,
  .member-preference-options label,
  .member-blocked-contact,
  .member-onboarding-card,
  .member-onboarding-boundary,
  .member-onboarding-check,
  .member-activity-link,
  .member-activity-heading-actions .member-account-secondary,
  .member-activity-card,
  .member-activity-boundary,
  .member-activity-list li,
  .member-help-topics article,
  .member-help-faq,
  .member-help-emergency,
  .member-community-rules article,
  .member-community-response > section,
  .member-community-response > aside,
  .member-community-response li,
  .member-community-links a,
  .member-report-categories article,
  .member-report-layout > section,
  .member-report-layout ol li,
  .member-report-boundaries > aside,
  .member-verification-statuses article,
  .member-verification-details > section,
  .member-privacy-data-list li,
  .member-privacy-record-list li,
  .member-privacy-details,
  .member-composer-preview-text,
  .member-chat-options button,
  .member-preview-action-links button,
  .member-preview-action-links a {
    border-color: var(--line);
    background: color-mix(in srgb, var(--surface) 94%, transparent);
    color: var(--ink);
    box-shadow: none;
  }

  .member-auth-card input,
  .member-conversation {
    border-color: var(--line);
    background: #1d1317;
    color: var(--ink);
  }

  .member-chat-list {
    border-color: var(--line);
    background: rgba(38, 25, 30, 0.78);
  }

  .member-chat-options,
  .member-chat-status-row {
    border-color: var(--line);
    background: #1d1317;
  }

  .member-tags span,
  .member-messages .incoming,
  .member-safety-note,
  .member-account-preview-notice,
  .member-session-revoked,
  .member-completion > div {
    background: #38272e;
    color: var(--ink);
  }

  .member-match-list a {
    border-color: var(--line);
  }

  .member-premium-grid section.featured {
    border-color: #8d4355;
    background: linear-gradient(155deg, var(--surface), #392029);
  }
}

@media (forced-colors: active) {
  .member-web-shell,
  .member-entry {
    background: Canvas;
    color: CanvasText;
  }

  .member-web-shell button,
  .member-web-shell input,
  .member-web-shell a,
  .member-entry button,
  .member-entry input,
  .member-entry a {
    border: 1px solid ButtonText;
  }

  .member-profile-visual,
  .member-avatar,
  .member-brand > span {
    forced-color-adjust: auto;
  }
}

@media (prefers-color-scheme: dark) {
  .public-page {
    color-scheme: dark;
    --ink: #fff4f6;
    --muted: #d5c2c8;
    --paper: #1d1418;
    --surface: #2a1c21;
    --line: #513841;
    --rose: #ff7188;
    --rose-dark: #ff8da0;
    --rose-soft: #44242e;
    --wine: #ffd8df;
    --success: #76d9b0;
    --success-soft: #19392e;
    min-height: 100vh;
    background: var(--paper);
    color: var(--ink);
  }

  .public-page .site-header {
    background: color-mix(in srgb, var(--paper) 90%, transparent);
  }

  .public-page .flow-card,
  .public-page .rule-grid article {
    background: rgba(42, 28, 33, 0.96);
    border-color: var(--line);
  }

  .public-page input,
  .public-page select,
  .public-page textarea,
  .public-page .flow-card select {
    background: #24181d;
    border-color: #674751;
    color: var(--ink);
  }

  .public-page .form-error,
  .public-page .form-error-summary {
    background: #461d27;
    color: #ffc4ce;
  }

  .public-page .emergency-note {
    background: #44242e;
    color: #ffd8df;
  }

  .public-page .notice-section {
    background: #4b1f2d;
    color: #ffffff;
  }

  .public-page .secondary-button {
    background: #2b1c22;
    color: var(--wine);
  }

  .public-page .primary-button,
  .public-page .danger-button {
    background: #a92840;
    color: #ffffff;
  }

  .public-page .primary-button:hover,
  .public-page .danger-button:hover {
    background: #851d32;
  }
}

/* Public 1Love pages share the approved ruby editorial system. */
.public-page {
  color-scheme: light;
  --ink: #3f0a16;
  --muted: #76505a;
  --paper: #fffdf9;
  --surface: #ffffff;
  --line: #dec4ca;
  --rose: #8d0b27;
  --rose-dark: #790c21;
  --rose-soft: #f8e8e8;
  --wine: #670e1c;
  --success: #790c21;
  --success-soft: #fce4b6;
  min-height: 100vh;
  background: #fffdf9;
  color: #670e1c;
  font-family: Roboto, Arial, sans-serif;
}

.public-page .site-header {
  width: 100%;
  min-height: 76px;
  padding: 14px clamp(22px, 5vw, 72px);
  background: #790c21;
  border-bottom: 1px solid #ad6573;
  color: #fff;
}

.public-page .brand {
  color: #fff;
  font-size: clamp(32px, 3vw, 46px);
  font-weight: 900;
  letter-spacing: -.074em;
}

.public-page .brand-mark { color: #fce4b6; }
.public-page .page-status { color: #e7c6cd; border-color: #b86c7c; background: #690919; }
.public-page .header-link { color: #f9e9ec; text-decoration: none; }
.public-page .header-link:hover { color: #fce4b6; text-decoration: underline; text-underline-offset: 4px; }

.public-page .policy-hero,
.public-page > .hero {
  width: 100%;
  margin: 0;
  padding: clamp(64px, 8vw, 118px) clamp(24px, 8vw, 140px);
  background: #790c21;
  color: #fff;
}

.public-page .policy-hero { display: block; }
.public-page .policy-hero .eyebrow,
.public-page > .hero .eyebrow { color: #fce4b6; }
.public-page .policy-hero h1,
.public-page > .hero .hero-copy h1 {
  max-width: 950px;
  margin: 12px 0 24px;
  color: #fff4e4;
  font-family: Instrument, Georgia, serif;
  font-size: clamp(52px, 7vw, 112px);
  font-weight: 400;
  line-height: .96;
  letter-spacing: -.026em;
}

.public-page .policy-hero .hero-lead,
.public-page > .hero .hero-lead { max-width: 820px; color: #f0dce0; font-size: clamp(17px, 1.4vw, 22px); line-height: 1.6; }
.public-page .policy-hero .trust-row,
.public-page > .hero .trust-row { color: #fff4e4; }
.public-page .rule-grid { width: min(1220px, calc(100% - 48px)); margin: clamp(42px, 6vw, 82px) auto 0; gap: 18px; }
.public-page .rule-grid article { min-height: 240px; padding: clamp(24px, 3vw, 38px); border: 1px solid #dec4ca; border-radius: 6px; background: #fff; box-shadow: 0 14px 40px rgba(72, 10, 26, .08); }
.public-page .rule-grid article > span { background: #fce4b6; color: #790c21; }
.public-page .rule-grid h2,
.public-page .policy-detail-grid h2,
.public-page .details-section h2,
.public-page .notice-section h2 { color: #670e1c; font-family: Instrument, Georgia, serif; font-size: clamp(28px, 2.4vw, 42px); font-weight: 400; line-height: 1.05; }
.public-page .rule-grid p,
.public-page .policy-detail-grid p,
.public-page .details-section p { color: #76505a; }
.public-page .policy-detail-grid { width: min(1220px, calc(100% - 48px)); margin: clamp(58px, 8vw, 110px) auto; }
.public-page .release-boundary { padding: clamp(28px, 4vw, 48px); border-left: 6px solid #790c21; background: #f8e8e8; }
.public-page .primary-button,
.public-page .danger-button { background: #790c21; color: #fff; border-radius: 5px; }
.public-page .primary-button:hover,
.public-page .danger-button:hover { background: #690919; }
.public-page .secondary-button { border-color: #790c21; background: #fffdf9; color: #790c21; border-radius: 5px; }
.public-page .notice-section { background: #790c21; color: #fff; }
.public-page .notice-section h2,
.public-page .notice-section p { color: #fff; }
.public-page > footer,
.public-page .information-footer { width: 100%; margin: 0; padding: 34px clamp(24px, 5vw, 72px); background: #790c21; color: #ecd0d6; border-top: 1px solid #ad6573; }
.public-page > footer .brand,
.public-page .information-footer .brand { color: #fff; }
.public-page > footer a,
.public-page .information-footer a { color: #f5dfe4; }
.public-page .flow-card { border-radius: 7px; border-color: #dec4ca; background: #fff; box-shadow: 0 18px 50px rgba(72, 10, 26, .1); }
.public-page input,
.public-page select,
.public-page textarea,
.public-page .flow-card select { background: #fff; border-color: #c895a1; color: #3f0a16; }

@media (max-width: 760px) {
  .public-page .site-header { align-items: flex-start; }
  .public-page .header-actions { gap: 12px; }
  .public-page .policy-hero,
  .public-page > .hero { padding: 52px 24px; }
  .public-page .rule-grid,
  .public-page .policy-detail-grid { width: calc(100% - 32px); }
}

.public-pwa-notice {
  position: fixed;
  z-index: 1000;
  right: 20px;
  bottom: 20px;
  width: min(420px, calc(100vw - 40px));
  padding: 16px;
  border: 1px solid #d8a5b0;
  border-radius: 8px;
  background: #fffdf9;
  color: #5d2132;
  box-shadow: 0 18px 50px rgba(72, 10, 26, .18);
  font-family: Roboto, Arial, sans-serif;
}

.public-pwa-notice p { margin: 0 0 10px; line-height: 1.45; }
.public-pwa-notice div { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.public-pwa-notice div p { flex-basis: 100%; }
.public-pwa-notice button { min-height: 44px; padding: 10px 16px; border: 1px solid #790c21; border-radius: 5px; background: #790c21; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.public-pwa-notice button.secondary { background: #fffdf9; color: #790c21; }

.public-offline-page {
  display: grid;
  min-height: 100vh;
  place-content: center;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px;
  background: #fffdf9;
  color: #5d2132;
  font-family: Roboto, Arial, sans-serif;
}

.public-offline-page h1 { margin: 0; font-family: Instrument, Georgia, serif; font-size: clamp(44px, 8vw, 82px); font-weight: 400; }
.public-offline-page p { margin: 0; font-size: 18px; line-height: 1.6; }
.public-offline-page a { justify-self: start; padding: 12px 18px; border-radius: 5px; background: #790c21; color: #fff; font-weight: 700; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  .public-pwa-notice *, .public-offline-page * { scroll-behavior: auto !important; transition: none !important; }
}

.brand-mark > i {
  background: linear-gradient(180deg, #fff8e5 0%, #fce4b6 27%, #fff0ce 45%, #d6a45c 73%, #f2cf94 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: normal;
  text-shadow: 0 1px 0 rgba(255, 244, 228, 0.18);
}
.phone-brand-mark {
  background: linear-gradient(180deg, #fff8e5 0%, #fce4b6 27%, #fff0ce 45%, #d6a45c 73%, #f2cf94 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: normal;
}
