:root {
  --cream: #f3fbfc;
  --paper: #ffffff;
  --ink: #061424;
  --muted: #486477;
  --sage: #17b6c2;
  --sage-soft: #d8fbfd;
  --clay: #17b6c2;
  --clay-soft: #d8fbfd;
  --blue: #0b3d5a;
  --line: #bceff2;
  --gold: #2ed3d6;
  --shadow: 0 18px 45px rgba(8, 84, 111, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(188, 239, 242, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.brand-mark,
.avatar {
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #17b6c2 0%, #2ed3d6 100%);
  font-weight: 900;
}

.brand-mark {
  width: 36px;
  height: 36px;
  font-size: 0.8rem;
}

.menu-toggle,
.button,
.nav-cta,
.phone-top button {
  border: 0;
  border-radius: var(--radius);
  font-weight: 900;
}

.menu-toggle {
  min-height: 38px;
  padding: 8px 12px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
}

.site-nav {
  position: absolute;
  top: 64px;
  left: 14px;
  right: 14px;
  display: none;
  flex-direction: column;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.site-nav.open {
  display: flex;
}

.site-nav a {
  padding: 10px;
  color: var(--muted);
  font-weight: 800;
}

.site-nav .nav-cta {
  color: #fff;
  background: var(--sage);
}

.hero,
.section {
  padding: 56px 18px;
}

.hero {
  display: grid;
  gap: 24px;
  min-height: calc(100vh - 65px);
  align-items: center;
  padding-top: 28px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-size: clamp(3.2rem, 16vw, 7rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  max-width: 820px;
  margin-bottom: 12px;
  font-size: clamp(1.9rem, 7vw, 3.8rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.tagline {
  margin-bottom: 16px;
  color: var(--clay);
  font-size: clamp(1.3rem, 5vw, 2rem);
  font-weight: 900;
}

.hero-text,
.section-head p,
.intro p,
.preview-copy p,
.waitlist p,
.contact-card span,
.price-card p,
.safety-grid p,
.step-grid p,
details p {
  color: var(--muted);
}

.hero-text {
  max-width: 620px;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 16px;
}

.button.primary {
  color: #fff;
  background: var(--sage);
}

.button.secondary {
  color: var(--sage);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--sage);
}

.hero-proof,
.addon-row,
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-proof span,
.addon-row span,
.badges span {
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--sage-soft);
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
}

.hero-visual {
  min-height: 330px;
  border-radius: var(--radius);
  background-image: linear-gradient(180deg, rgba(36, 51, 66, 0) 48%, rgba(36, 51, 66, 0.18)), url("/assets/beyond-walls-hero.png");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.intro {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.intro p {
  max-width: 940px;
  margin: 0;
  font-size: clamp(1.25rem, 4vw, 2.1rem);
  line-height: 1.25;
  font-weight: 800;
}

.split,
.app-preview,
.waitlist,
.contact {
  display: grid;
  gap: 24px;
}

.step-grid,
.price-grid,
.safety-grid {
  display: grid;
  gap: 12px;
}

.step-grid article,
.price-card,
.safety-grid article,
.phone-card,
.waitlist-form,
.contact-card,
details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 8px 28px rgba(54, 43, 32, 0.06);
}

.step-grid article,
.price-card,
.safety-grid article,
details {
  padding: 18px;
}

.step-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--clay);
  font-weight: 900;
}

.app-preview {
  background: #eef6f1;
}

.phone-card {
  max-width: 430px;
  padding: 14px;
  border-radius: 26px;
  background: #fbf7ef;
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.phone-top span {
  width: 48px;
  height: 5px;
  border-radius: 999px;
  background: var(--line);
}

.phone-top button {
  min-height: 34px;
  padding: 7px 10px;
  color: #fff;
  background: var(--sage);
}

.preview-card {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.preview-card.featured {
  border-color: rgba(212, 168, 79, 0.62);
  background: #fff8e7;
}

.avatar {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
}

.avatar.blue {
  background: linear-gradient(135deg, var(--blue), var(--sage));
}

.preview-card p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.badges span {
  min-height: 25px;
  padding: 4px 8px;
  font-size: 0.74rem;
}

.pricing {
  background: var(--paper);
}

.price-card.selected {
  border-color: var(--clay);
  background: #fff7f2;
}

.plan {
  color: var(--sage);
  font-weight: 900;
  text-transform: uppercase;
}

.price-card h3 {
  font-size: 2.3rem;
}

.price-card h3 span {
  color: var(--muted);
  font-size: 1rem;
}

.addon-row {
  margin-top: 16px;
}

.addon-row span {
  background: var(--cream);
  color: var(--muted);
}

.safety {
  background: #f4f1ea;
}

.faq details {
  margin-bottom: 10px;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin: 10px 0 0;
}

.waitlist {
  background: var(--ink);
  color: #fff;
}

.waitlist .eyebrow {
  color: #a6dbc9;
}

.waitlist p {
  color: rgba(255, 255, 255, 0.74);
}

.waitlist-form {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: #fff;
  color: var(--ink);
}

label {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
}

input,
select {
  width: 100%;
  margin-top: 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  color: var(--ink);
  background: #fffdf8;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--sage);
  font-weight: 900;
}

.contact-card {
  padding: 20px;
}

.contact-card p {
  margin-bottom: 6px;
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.contact-card a {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 1.25rem;
  font-weight: 900;
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 18px;
  color: #fff;
  background: #182533;
}

.site-footer p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 800;
}

/* Profiles directory shared styles. Device-specific changes live in responsive.css. */
.profile-card {
  background: #fff;
  color: #050507;
}

.profile-pill {
  background: rgba(39, 211, 216, .12);
  color: #0f6f8d;
}

.profiles-directory-shell {
  display: grid;
  width: 100%;
  max-width: 87.5rem;
  gap: 2rem;
}

#profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
  align-items: stretch;
  justify-content: start;
  gap: 1.5rem;
}

.approved-profile-card {
  display: flex;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 360px;
  flex-direction: column;
}

.approved-profile-photo {
  display: block;
  width: 100%;
  height: 18rem;
  min-height: 18rem;
  flex: 0 0 18rem;
  background-color: #061424;
  background-image: radial-gradient(circle at center, #16445a 0%, #061424 72%);
  object-fit: contain;
  object-position: center center;
}

.approved-profile-content {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  padding: 1.1rem;
}

.approved-profile-header {
  position: relative;
  min-width: 0;
  min-height: 6.25rem;
  padding-right: 0;
}

.approved-profile-name {
  max-width: 100%;
  font-size: clamp(1.25rem, 1.5vw, 1.55rem);
  line-height: 1.08;
  letter-spacing: 0;
  white-space: nowrap;
}

.approved-profile-header > p {
  padding-right: 3.25rem;
}

.approved-profile-header [data-card-summary] {
  display: block;
  min-height: 1.75rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.approved-profile-header [data-card-facility] {
  min-height: 2.75rem;
  line-height: 1.35;
}

.approved-profile-card [data-profile-tags] {
  align-content: flex-start;
  min-height: 3rem;
  margin-top: 1rem !important;
}

.approved-profile-card [data-profile-status] {
  min-height: 2.5rem;
  margin-top: 1rem !important;
}

.approved-profile-heart {
  position: absolute;
  top: 2.55rem;
  right: 0;
  width: 48px;
  height: 48px;
}

.approved-profile-heart .save-profile-star {
  display: block;
  width: 26px;
  height: 26px;
  color: #ffffff !important;
  fill: currentColor;
}

.approved-profile-address {
  font-style: normal;
}

.profile-bio-card {
  min-width: 0;
}

.profile-bio-copy {
  margin-bottom: 0;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.profile-modal-media {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
}

.profile-modal-top {
  display: grid;
  grid-template-columns: minmax(20rem, .85fr) minmax(0, 1fr);
  align-items: start;
}

.profile-modal-summary,
.profile-modal-body {
  min-width: 0;
}

.profile-modal-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.profile-modal-main-photo {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 38rem;
  object-fit: contain;
  object-position: center center;
  background: #061424;
}

.profile-gallery {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .6rem;
  margin-top: .8rem;
}

.profile-gallery-button {
  width: 100%;
  min-width: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: .8rem;
  background: #d8fbfd;
  padding: 0;
}

.profile-gallery-button[aria-current="true"] {
  border-color: #2ed3d6;
  box-shadow: 0 0 0 2px rgba(139, 92, 246, .28);
}

.profile-gallery-thumbnail {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  background: #d8fbfd;
}

.approved-profile-actions {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: .8rem;
  margin-top: auto;
  padding-top: 1rem;
}

.approved-profile-actions [data-open-profile] {
  width: 100%;
  min-width: 0;
}

.approved-profile-card [data-open-profile],
.profile-card [data-open-profile],
.approved-profile-card [data-open-profile]:hover,
.approved-profile-card [data-open-profile]:focus,
.approved-profile-card [data-open-profile]:focus-visible,
.approved-profile-card [data-open-profile]:active,
.profile-card [data-open-profile]:hover,
.profile-card [data-open-profile]:focus,
.profile-card [data-open-profile]:focus-visible,
.profile-card [data-open-profile]:active {
  background: var(--bw-primary) !important;
  color: #fff !important;
}

.profiles-filter-toggle {
  display: none !important;
}

.demo-profile-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  border-radius: 999px;
  background: #d8fbfd;
  color: #0b3d5a;
  padding: .35rem .65rem;
  font-size: .7rem;
  font-weight: 900;
  text-transform: uppercase;
}

/* Shared website rules moved from responsive.css. */
* {
  box-sizing: border-box;
  min-width: 0;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

input,
select,
textarea {
  max-width: 100%;
}

input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  width: 100%;
}

input[type="checkbox"],
input[type="radio"] {
  width: 1.15rem;
  min-width: 1.15rem;
  height: 1.15rem;
  min-height: 1.15rem;
  flex: 0 0 auto;
  accent-color: #5b35c8;
}

input[type="file"] {
  min-height: auto;
}

label:has(input[type="checkbox"]),
label:has(input[type="radio"]) {
  align-items: flex-start;
}

h1,
h2,
h3,
p,
a,
button,
label,
span {
  overflow-wrap: break-word;
}



























.sr-only,
input.sr-only,
select.sr-only,
textarea.sr-only {
  position: absolute !important;
  width: 1px !important;
  min-width: 1px !important;
  height: 1px !important;
  min-height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border-width: 0 !important;
}
/* Create Profile page cleanup */
#online-application {
  width: 100%;
  max-width: 100%;
}

#online-application label,
#online-application fieldset,
#online-application select,
#online-application input,
#online-application textarea {
  min-width: 0;
}

#online-application input:not([type="checkbox"]):not([type="radio"]),
#online-application select {
  height: 58px;
}

#online-application select {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}




/* Beyond Walls light lavender theme */
:root {
  --bw-primary: #17b6c2;
  --bw-primary-dark: #0b3d5a;
  --bw-primary-hover: #17b6c2;
  --bw-violet: #2ed3d6;
  --bw-lavender: #d8fbfd;
  --bw-background: #f3fbfc;
  --bw-surface: #ffffff;
  --bw-text: #061424;
  --bw-text-secondary: #486477;
  --bw-border: #bceff2;
  --bw-shadow: 0 18px 48px rgba(23, 182, 194, .14);
  --bw-gradient: linear-gradient(135deg, #17b6c2 0%, #2ed3d6 100%);
}

body {
  background: var(--bw-background) !important;
  color: var(--bw-text) !important;
}

body > header {
  border-color: var(--bw-border) !important;
  background: rgba(255, 255, 255, .96) !important;
  color: var(--bw-text) !important;
  box-shadow: 0 8px 30px rgba(23, 182, 194, .08);
}

body > header [data-menu-toggle] {
  border-color: var(--bw-primary) !important;
  background: var(--bw-surface) !important;
  color: var(--bw-primary) !important;
}

main {
  background: var(--bw-background) !important;
  color: var(--bw-text) !important;
}

main > section.bg-ink,
main > section[class*="bg-[radial-gradient"],
main > section:has(> div.absolute[class*="bg-[radial-gradient"]) {
  background: linear-gradient(145deg, #f3fbfc 0%, #d8fbfd 100%) !important;
  color: var(--bw-text) !important;
}

main > section > div.absolute[class*="bg-[radial-gradient"] {
  background: linear-gradient(145deg, #f3fbfc 0%, #d8fbfd 100%) !important;
}

main [class*="bg-[radial-gradient"]:not(.phone-frame *),
main [class*="bg-[linear-gradient"]:not(.phone-frame *) {
  border-color: var(--bw-border) !important;
  background: linear-gradient(145deg, #ffffff 0%, #d8fbfd 100%) !important;
  color: var(--bw-text) !important;
}

main > section.bg-ink .text-white,
main > section.bg-ink [class*="text-white/"],
main > section[class*="bg-[radial-gradient"] .text-white,
main > section[class*="bg-[radial-gradient"] [class*="text-white/"],
main [class*="bg-[radial-gradient"] .text-white,
main [class*="bg-[radial-gradient"] [class*="text-white/"],
main [class*="bg-[linear-gradient"] .text-white,
main [class*="bg-[linear-gradient"] [class*="text-white/"] {
  color: var(--bw-text) !important;
}

main .bg-pale,
main [class*="bg-violet/"],
main [class*="bg-purple/"] {
  background: var(--bw-lavender) !important;
}

main .border-zinc-200,
main [class*="border-white/"],
main [class*="border-purple/"],
main [class*="border-violet/"] {
  border-color: var(--bw-border) !important;
}

main .text-black,
main .text-zinc-800 {
  color: var(--bw-text) !important;
}

main .text-zinc-500,
main .text-zinc-600,
main .text-zinc-700 {
  color: var(--bw-text-secondary) !important;
}

main .text-purple,
main .text-violet {
  color: var(--bw-primary-dark) !important;
}

main .bg-white,
main form,
main article,
main aside,
main details {
  border-color: var(--bw-border);
}

main article.bg-white,
main aside.bg-white,
main form.bg-white,
main details.bg-white,
main .profile-card {
  background: var(--bw-surface) !important;
  color: var(--bw-text) !important;
  box-shadow: var(--bw-shadow);
}

main section.bg-black,
main article.bg-black,
main aside.bg-black,
main form.bg-black,
main div.bg-black:not(.phone-frame > div) {
  border-color: var(--bw-border) !important;
  background: linear-gradient(145deg, #ffffff 0%, #d8fbfd 100%) !important;
  color: var(--bw-text) !important;
}

main section.bg-black .text-white,
main section.bg-black [class*="text-white/"],
main article.bg-black .text-white,
main article.bg-black [class*="text-white/"],
main div.bg-black:not(.phone-frame > div) .text-white,
main div.bg-black:not(.phone-frame > div) [class*="text-white/"] {
  color: var(--bw-text) !important;
}

.icon-box,
.icon-box-light,
.teal-bar,
.purple-bar,
main .bg-purple,
main .bg-violet,
main [class*="bg-gradient-to"] {
  background: var(--bw-gradient) !important;
  color: #ffffff !important;
}

.icon-box *,
.icon-box-light *,
.teal-bar *,
.purple-bar *,
main .bg-purple *,
main .bg-violet *,
main [class*="bg-gradient-to"] * {
  color: #ffffff !important;
}

.teal-bar,
.purple-bar {
  box-shadow: 0 12px 30px rgba(23, 182, 194, .18);
}

main a.bg-black,
main button.bg-black,
main a.bg-purple,
main button.bg-purple,
main a.bg-violet,
main button.bg-violet,
main a.bg-white:not([class*="border"]),
main button.bg-white:not([class*="border"]),
main button[type="submit"] {
  border-color: transparent !important;
  background: var(--bw-primary) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 24px rgba(23, 182, 194, .2);
}

main a.bg-black:hover,
main a.bg-black:focus,
main a.bg-black:focus-visible,
main a.bg-black:active,
main button.bg-black:hover,
main button.bg-black:focus,
main button.bg-black:focus-visible,
main button.bg-black:active,
main a.bg-purple:hover,
main a.bg-purple:focus,
main a.bg-purple:focus-visible,
main a.bg-purple:active,
main button.bg-purple:hover,
main button.bg-purple:focus,
main button.bg-purple:focus-visible,
main button.bg-purple:active,
main a.bg-violet:hover,
main a.bg-violet:focus,
main a.bg-violet:focus-visible,
main a.bg-violet:active,
main button.bg-violet:hover,
main button.bg-violet:focus,
main button.bg-violet:focus-visible,
main button.bg-violet:active,
main a.bg-white:not([class*="border"]):hover,
main a.bg-white:not([class*="border"]):focus,
main a.bg-white:not([class*="border"]):focus-visible,
main a.bg-white:not([class*="border"]):active,
main button.bg-white:not([class*="border"]):hover,
main button.bg-white:not([class*="border"]):focus,
main button.bg-white:not([class*="border"]):focus-visible,
main button.bg-white:not([class*="border"]):active,
main button[type="submit"]:hover,
main button[type="submit"]:focus,
main button[type="submit"]:focus-visible,
main button[type="submit"]:active {
  background: var(--bw-primary) !important;
  color: #ffffff !important;
}

main a[class*="border"][class*="bg-white"],
main button[class*="border"][class*="bg-white"],
main a[class*="bg-white/"],
main button[class*="bg-white/"],
main a[class*="bg-black/"],
main button[class*="bg-black/"] {
  border-color: var(--bw-primary) !important;
  background: var(--bw-surface) !important;
  color: var(--bw-primary-dark) !important;
  box-shadow: none;
}

main a[class*="border"][class*="bg-white"]:hover,
main button[class*="border"][class*="bg-white"]:hover,
main a[class*="bg-white/"]:hover,
main button[class*="bg-white/"]:hover,
main a[class*="bg-black/"]:hover,
main button[class*="bg-black/"]:hover {
  background: var(--bw-lavender) !important;
}

main input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
main select,
main textarea {
  border-color: var(--bw-border) !important;
  background: var(--bw-surface) !important;
  color: var(--bw-text) !important;
}

main input::placeholder,
main textarea::placeholder {
  color: #6b7280 !important;
  opacity: 1;
}

main input:focus,
main select:focus,
main textarea:focus {
  border-color: var(--bw-primary) !important;
  outline: 3px solid rgba(23, 182, 194, .18) !important;
  outline-offset: 1px;
  box-shadow: none !important;
}

input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--bw-primary) !important;
}

input[type="file"]::file-selector-button {
  background: var(--bw-primary) !important;
  color: #ffffff !important;
}

.profile-pill,
.hero-proof span,
.addon-row span,
.badges span {
  background: var(--bw-lavender) !important;
  color: var(--bw-primary-dark) !important;
}

#home .hero-card {
  border-color: var(--bw-border) !important;
  background: var(--bw-surface) !important;
  box-shadow: var(--bw-shadow) !important;
}

#home .hero-card > div:first-child {
  background: linear-gradient(145deg, #ffffff 0%, #d8fbfd 100%) !important;
  color: var(--bw-text) !important;
}

#home .hero-card > div:first-child .text-white,
#home .hero-card > div:first-child [class*="text-white/"] {
  color: var(--bw-text) !important;
}

#home .hero-card > div:first-child p.inline-flex {
  border-color: var(--bw-primary) !important;
  background: var(--bw-lavender) !important;
  color: var(--bw-primary-dark) !important;
}

#home .phone-frame {
  border-color: #ffffff !important;
  background: #15121d !important;
  box-shadow: 0 24px 55px rgba(23, 182, 194, .25) !important;
}

#home .phone-frame > div,
#home .phone-frame > div > div:first-child {
  background: #0a1f3a !important;
}

#home .phone-frame article {
  background: #ffffff !important;
  color: #111827 !important;
}

#home .phone-frame article .text-white {
  color: #ffffff !important;
}

#home .phone-frame article button.bg-white {
  border-color: var(--bw-border) !important;
  background: #ffffff !important;
  color: var(--bw-primary-dark) !important;
  box-shadow: 0 8px 20px rgba(31, 41, 55, .12);
}

#safety > div {
  border-color: var(--bw-border) !important;
  background: var(--bw-surface) !important;
  box-shadow: var(--bw-shadow) !important;
}

#safety .teal-bar,
#safety .teal-bar *,
#safety .purple-bar,
#safety .purple-bar * {
  color: #ffffff !important;
}

#safety article {
  border-color: var(--bw-border) !important;
  background: var(--bw-surface) !important;
  color: var(--bw-text) !important;
  box-shadow: 0 12px 30px rgba(23, 182, 194, .1) !important;
}

#safety article .text-white,
#safety article [class*="text-white/"] {
  color: var(--bw-text-secondary) !important;
}

#safety article h3 {
  color: var(--bw-text) !important;
}

.cookie-banner,
[data-cookie-banner] {
  border: 1px solid var(--bw-border) !important;
  background: var(--bw-surface) !important;
  color: var(--bw-text) !important;
  box-shadow: var(--bw-shadow) !important;
}

[data-cookie-banner] .text-white,
[data-cookie-banner] [class*="text-white/"] {
  color: var(--bw-text-secondary) !important;
}

[data-cookie-banner] p:first-child {
  color: var(--bw-text) !important;
}

[data-cookie-banner] button {
  border-color: var(--bw-primary) !important;
  background: var(--bw-surface) !important;
  color: var(--bw-primary-dark) !important;
}

[data-cookie-banner] [data-cookie-accept] {
  background: var(--bw-primary) !important;
  color: #ffffff !important;
}

[data-cookie-banner] [data-cookie-accept]:hover {
  background: var(--bw-primary) !important;
}

body > footer {
  border-color: rgba(237, 233, 254, .24) !important;
  background: var(--bw-primary-dark) !important;
  color: #ffffff !important;
}

body > footer a,
body > footer [class*="text-white/"] {
  color: rgba(255, 255, 255, .86) !important;
}

body > footer a:hover {
  color: #ffffff !important;
}

/* Homepage profile discovery */
[data-legacy-home] {
  display: none !important;
}

.home-discovery-hero {
  padding: 5rem 1.25rem 4.5rem;
  background:
    radial-gradient(circle at 82% 8%, rgba(139, 92, 246, .2), transparent 28rem),
    linear-gradient(135deg, #241646 0%, #0b3d5a 52%, #17b6c2 100%);
  color: #ffffff;
}

.home-discovery-hero-inner,
.featured-profiles-shell,
.home-profile-cta {
  width: min(100%, 75rem);
  margin: 0 auto;
}

.home-discovery-hero-inner {
  max-width: 58rem;
  margin-left: max(1.25rem, calc((100% - 75rem) / 2));
}

.home-eyebrow {
  margin: 0;
  color: inherit;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.home-discovery-hero h1 {
  max-width: 13ch;
  margin: 1rem 0 0;
  color: #ffffff;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: .98;
  letter-spacing: 0;
}

.home-hero-copy {
  max-width: 42rem;
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, .84);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.65;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2rem;
}

.home-primary-action,
.home-secondary-action,
.home-profile-cta > a,
.featured-profile-view {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: .8rem 1.4rem;
  font-weight: 900;
}

.home-primary-action,
.home-profile-cta > a,
.featured-profile-view {
  background: #17b6c2;
  color: #ffffff;
}

.home-discovery-hero .home-primary-action {
  background: #ffffff;
  color: #0b3d5a;
}

.home-secondary-action {
  border: 1px solid rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .08);
  color: #ffffff;
}

.home-age-note {
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: .9rem;
  font-weight: 800;
}

.featured-profiles-section {
  padding: 4.5rem 1.25rem;
  background: #f3fbfc;
}

.featured-profiles-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.featured-profiles-heading .home-eyebrow {
  color: #17b6c2;
}

.featured-profiles-heading h2 {
  margin: .5rem 0 0;
  color: #061424;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 1;
}

.featured-profiles-heading > a {
  color: #0b3d5a;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: .3rem;
}

.featured-profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.featured-profile-card {
  display: flex;
  width: 100%;
  max-width: 360px;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid #bceff2;
  border-radius: 1.5rem;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(23, 182, 194, .12);
}

.featured-profile-photo-wrap {
  width: 100%;
  height: 19rem;
  overflow: hidden;
  background: #d8fbfd;
}

.featured-profile-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: opacity .25s ease;
}

.featured-profile-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.35rem;
}

.featured-profile-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: .75rem;
  align-items: start;
}

.featured-profile-heading h3 {
  margin: 0;
  overflow: visible;
  color: #061424;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.featured-profile-heading p,
.featured-profile-facility {
  margin: .45rem 0 0;
  color: #486477;
  font-weight: 800;
}

.featured-profile-heart {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #d8fbfd;
  color: #17b6c2;
}

.featured-profile-heart.is-saved {
  background: #17b6c2;
  color: #ffffff;
}

.featured-profile-heart svg {
  width: 1.25rem;
  height: 1.25rem;
}

.featured-profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1rem 0 1.25rem;
}

.featured-profile-tag {
  border-radius: 999px;
  background: #d8fbfd;
  color: #0b3d5a;
  padding: .4rem .7rem;
  font-size: .78rem;
  font-weight: 900;
}

.featured-profile-view {
  width: 100%;
  margin-top: auto;
}

.featured-profiles-empty {
  border: 1px solid #bceff2;
  border-radius: 1rem;
  background: #ffffff;
  padding: 2rem;
  color: #486477;
  text-align: center;
}

.featured-profiles-empty.hidden {
  display: none !important;
}

.home-profile-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  margin-top: 1rem;
  margin-bottom: 4rem;
  border: 1px solid #bceff2;
  border-radius: 1.5rem;
  background: #ffffff;
  padding: 2rem;
  box-shadow: 0 18px 42px rgba(23, 182, 194, .1);
}

.home-profile-cta .home-eyebrow {
  color: #17b6c2;
}

.home-profile-cta h2 {
  margin: .5rem 0 0;
  color: #061424;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.home-profile-cta p:not(.home-eyebrow) {
  max-width: 45rem;
  margin: .75rem 0 0;
  color: #486477;
}

[data-nav-sign-out] {
  cursor: pointer;
}

[data-site-nav] [data-account-link],
[data-site-nav] [data-nav-sign-out],
[data-auth-protected] {
  display: none !important;
}

html[data-auth-state="signed-in"] [data-site-nav] [data-account-link],
html[data-auth-state="signed-in"] [data-site-nav] [data-nav-sign-out] {
  display: inline-flex !important;
}

html[data-auth-state="signed-in"] [data-auth-protected] {
  display: block !important;
}

html[data-auth-state="signed-in"] .profiles-filter-panel [data-auth-protected].grid {
  display: grid !important;
}

html[data-auth-state="signed-in"] [data-profile-tags] {
  display: flex !important;
}

html[data-auth-state="signed-in"] [data-auth-entry],
html[data-auth-state="signed-in"] [data-auth-locked] {
  display: none !important;
}
