/* ==========================================================================
   Homie — design tokens (from design-system/homie/MASTER.md)
   ========================================================================== */
:root {
    --primary: #1A3263;
    --primary-contrast: #ffffff;
    --secondary: #547792;
    --accent: #F3AE3D;
    --highlight: #FAB95B;
    --bg: #E8E2DB;
    --surface: #ffffff;
    --text: #111827;
    --muted: #4B5563;
    --border: #D1C9C0;
    --success: #1F9D68;
    --coral: #D95B4D;

    --font-sans: Avenir, "Avenir Next", "Segoe UI", Inter, Helvetica, Arial, sans-serif;

    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);

    --max-width: 1120px;
    --radius: 12px;
    --radius-pill: 999px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

.container,
.site-header__inner,
.site-footer__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--primary);
    color: var(--primary-contrast);
    padding: 0.75rem 1.25rem;
    border-radius: 0 0 8px 0;
    z-index: 100;
}
.skip-link:focus { left: 0; }

h1, h2, h3, h4 { font-family: var(--font-sans); line-height: 1.2; margin: 0; }
a { color: inherit; }

/* Header / navigation ---------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    padding-top: var(--space-md);
    padding-bottom: var(--space-md);
}
.site-header__logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.02em;
}
.site-header__logo-mark {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: inline-block;
}
.site-header__actions { display: flex; align-items: center; gap: var(--space-md); }
.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.4rem 0.6rem;
    cursor: pointer;
}
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.main-nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.main-nav .is-active a,
.main-nav a:hover { color: var(--primary); }

.lang-switch { display: flex; gap: 0.4rem; font-size: 0.85rem; font-weight: 700; }
.lang-switch a {
    padding: 0.25rem 0.55rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    text-decoration: none;
    color: var(--muted);
}
.lang-switch a.is-active { color: var(--primary-contrast); background: var(--primary); border-color: var(--primary); }

@media (max-width: 780px) {
    .nav-toggle { display: inline-flex; }
    .main-nav { display: none; width: 100%; }
    .main-nav.is-open { display: block; }
    .main-nav ul { flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1rem 0; }
    .site-header__inner { flex-wrap: wrap; }
}

/* Buttons / inputs / cards ------------------------------------------------ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--primary);
    color: var(--primary-contrast);
    padding: 0.9rem 1.75rem;
    border: none;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 200ms ease, transform 200ms ease;
}
.btn-primary:hover { opacity: 0.9; }
.btn-primary:active { transform: translateY(1px); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    padding: 0.9rem 1.75rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 200ms ease;
}
.btn-secondary:hover { border-color: var(--primary); }

.input,
.waitlist-form input[type="text"],
.waitlist-form input[type="email"],
.waitlist-form input[type="tel"],
.waitlist-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}
.input:focus,
.waitlist-form input:focus,
.waitlist-form textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 20%, transparent);
}

.card {
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    transition: transform 200ms ease, box-shadow 200ms ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* Layout helpers ----------------------------------------------------------- */
.section { padding: var(--space-3xl) 0; }
.section-band { background: var(--surface); }
.eyebrow {
    display: inline-block;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--secondary);
    margin: 0 0 var(--space-md);
}
.title { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; }
.display { font-size: clamp(2.25rem, 1.4rem + 4vw, 3.75rem); font-weight: 800; letter-spacing: -0.03em; }
.text-center { text-align: center; }
.muted { color: var(--muted); }

.grid-3 { display: grid; gap: var(--space-lg); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-2 { display: grid; gap: var(--space-lg); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* Hero ---------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: var(--space-3xl) 0 var(--space-2xl); text-align: center; }
.hero::before {
    content: "";
    position: absolute;
    inset: -20% -10% auto -10%;
    height: 480px;
    background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--highlight) 35%, transparent), transparent 60%),
                radial-gradient(circle at 75% 30%, color-mix(in srgb, var(--secondary) 30%, transparent), transparent 55%);
    z-index: -1;
}
.hero__eyebrow { justify-content: center; }
.hero h1 { max-width: 46rem; margin: 0 auto; }
.hero h1 .accent { color: var(--secondary); }
.hero__subtitle { max-width: 40rem; margin: var(--space-lg) auto 0; font-size: 1.15rem; line-height: 1.7; color: var(--muted); }
.hero__actions { display: flex; justify-content: center; gap: var(--space-md); flex-wrap: wrap; margin-top: var(--space-xl); }
.hero__disclaimer { margin-top: var(--space-md); font-size: 0.8rem; color: var(--muted); }

/* Step / problem / feature cards -------------------------------------------- */
.step-card { position: relative; }
.step-card__number {
    display: inline-grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--primary);
    color: var(--primary-contrast);
    font-weight: 800;
    margin-bottom: var(--space-md);
}
.step-card h3, .problem-card h3, .feature-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: var(--space-sm); }
.problem-card__icon, .feature-card__icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 8px;
    background: color-mix(in srgb, var(--primary) 12%, transparent);
    color: var(--primary);
    display: inline-grid;
    place-items: center;
    margin-bottom: var(--space-md);
    font-weight: 800;
}
.feature-card__metric {
    display: inline-block;
    margin-top: var(--space-md);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--secondary);
}

/* Story / dark band ---------------------------------------------------------- */
.band-dark { background: var(--primary); color: #fff; }
.band-dark .eyebrow { color: var(--highlight); }
.band-dark .muted { color: rgba(255,255,255,0.7); }

/* Waitlist form --------------------------------------------------------------- */
.waitlist-form-wrap {
    max-width: 640px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
    text-align: left;
}
.waitlist-form__count { margin: 0 0 var(--space-lg); font-weight: 700; color: var(--secondary); text-align: center; }
.waitlist-form__referral-applied {
  margin: 0 0 var(--space-md);
  padding: 10px 14px;
  border: 1px solid var(--secondary);
  border-radius: 12px;
  color: var(--secondary);
  background: color-mix(in srgb, var(--secondary) 8%, transparent);
  font-weight: 700;
  text-align: center;
}
.waitlist-form fieldset { border: none; padding: 0; margin: 0 0 var(--space-lg); }
.waitlist-form legend { font-weight: 700; margin-bottom: var(--space-sm); padding: 0; }
.waitlist-form__role-options { display: flex; gap: var(--space-sm); flex-wrap: wrap; }
.waitlist-form__role-option {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
}
.waitlist-form__row { margin-bottom: var(--space-lg); }
.waitlist-form__row label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 0.4rem; }
.waitlist-form__row--checkbox label { display: flex; align-items: flex-start; gap: 0.6rem; font-weight: 500; font-size: 0.9rem; }
.waitlist-form__row--checkbox input { margin-top: 0.2rem; }
.waitlist-form__hint { margin: 0.35rem 0 0; font-size: 0.8rem; color: var(--muted); }
.waitlist-form__grid { display: grid; gap: var(--space-md); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: var(--space-md) 0; }
.waitlist-form__details summary { cursor: pointer; font-weight: 700; color: var(--primary); margin-bottom: var(--space-sm); }
.waitlist-form__error { color: var(--coral); font-size: 0.82rem; margin: 0.35rem 0 0; font-weight: 600; }
.waitlist-form__honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.waitlist-form__submit { width: 100%; margin-top: var(--space-sm); }
.waitlist-form__privacy { margin-top: var(--space-md); font-size: 0.78rem; color: var(--muted); text-align: center; }
.waitlist-form__privacy a { color: var(--secondary); font-weight: 700; }

.waitlist-thanks {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-2xl) var(--space-xl);
    box-shadow: var(--shadow-lg);
}
.waitlist-thanks__icon {
    display: inline-grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--success);
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: var(--space-md);
}
.waitlist-thanks__position { font-weight: 700; color: var(--secondary); }
.waitlist-thanks__referral { margin-top: var(--space-lg); padding-top: var(--space-lg); border-top: 1px solid var(--border); }
.waitlist-thanks__referral-title { font-weight: 700; margin-bottom: 0.25rem; }
.waitlist-thanks__referral-code {
    display: inline-block;
    margin-top: var(--space-sm);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: color-mix(in srgb, var(--highlight) 25%, transparent);
}

/* FAQ (native <details>, zero JS) ---------------------------------------------- */
.faq-item { border-bottom: 1px solid var(--border); padding: var(--space-md) 0; }
.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 1.05rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--primary); flex-shrink: 0; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin: var(--space-sm) 0 0; color: var(--muted); line-height: 1.7; }

/* FAQ items rendered by TYPO3's default fluid_styled_content "text" element —
   targeted broadly since we intentionally don't override its markup. */
#faq [class*="frame"] { border-bottom: 1px solid var(--border); padding: var(--space-md) 0; }
#faq [class*="frame"]:last-child { border-bottom: none; }
#faq h2, #faq h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.35rem; }
#faq p { margin: 0; color: var(--muted); line-height: 1.7; }

/* Footer ------------------------------------------------------------------------ */
.footer-cta {
    background: var(--highlight);
    border-radius: var(--radius);
    padding: var(--space-2xl);
    margin: 0 1.5rem var(--space-2xl);
    max-width: calc(var(--max-width) - 3rem);
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.footer-cta h2 { color: #17130a; }

.site-footer { border-top: 1px solid var(--border); padding: var(--space-2xl) 0 var(--space-xl); color: var(--muted); font-size: 0.9rem; }
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2xl); margin-bottom: var(--space-2xl); }
.site-footer__brand { max-width: 320px; }
.site-footer__brand .site-header__logo { margin-bottom: var(--space-sm); }
.site-footer__groups { display: flex; gap: var(--space-2xl); flex-wrap: wrap; }
.site-footer__group h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text); margin-bottom: var(--space-sm); }
.site-footer__group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.site-footer__group a { text-decoration: none; color: var(--muted); }
.site-footer__group a:hover { color: var(--primary); }
.site-footer__bottom { border-top: 1px solid var(--border); padding-top: var(--space-lg); }

.content-main img { max-width: 100%; height: auto; border-radius: var(--radius); }
.page-content { padding: var(--space-3xl) 1.5rem; max-width: 760px; margin: 0 auto; }
.page-content .content-main { color: var(--muted); line-height: 1.8; }
.page-content .content-main h2 { color: var(--text); margin-top: var(--space-xl); margin-bottom: var(--space-sm); font-size: 1.3rem; }

/* Reveal-on-scroll (progressively enhanced by main.js; CSS-only fallback stays visible) */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 500ms ease, transform 500ms ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

.waitlist-thanks__email-status {
    margin: 1rem 0;
    padding: .875rem 1rem;
    border: 1px solid currentColor;
    border-radius: .75rem;
}

.waitlist-thanks__email-status--success {
    font-weight: 600;
}


/* Dark mode --------------------------------------------------------------- */
:root { color-scheme: light; }
html[data-theme="dark"] {
    color-scheme: dark;
    --primary: #8FB3FF;
    --primary-contrast: #07111F;
    --secondary: #B7C7DD;
    --accent: #FAB95B;
    --highlight: #FAB95B;
    --bg: #07111F;
    --surface: #101827;
    --text: #F8FAFC;
    --muted: #94A3B8;
    --border: #26354A;
    --success: #4CC38A;
    --coral: #FF8A7E;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.28);
    --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.34);
    --shadow-xl: 0 24px 45px rgba(0, 0, 0, 0.4);
}
html[data-theme="dark"] .footer-cta { color: #17130a; }
html[data-theme="dark"] .band-dark { background: #07111F; }
html[data-theme="dark"] .site-header__logo-mark {
    background: linear-gradient(135deg, #8FB3FF, #B7C7DD);
}

.theme-toggle {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    position: relative;
}
.theme-toggle span { grid-area: 1 / 1; line-height: 1; }
.theme-toggle__sun { opacity: 1; }
.theme-toggle__moon { opacity: 0; }
html[data-theme="dark"] .theme-toggle__sun { opacity: 0; }
html[data-theme="dark"] .theme-toggle__moon { opacity: 1; }

/* Referral waitlist ------------------------------------------------------- */
.waitlist-thanks__position-card {
    margin: 1.25rem auto;
    max-width: 260px;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--secondary) 8%, var(--surface));
    display: grid;
    gap: .2rem;
}
.waitlist-thanks__position-card span,
.waitlist-thanks__position-card small { color: var(--muted); }
.waitlist-thanks__position-card strong { font-size: 2rem; color: var(--secondary); }
.waitlist-thanks__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    margin: 1rem 0;
}
.waitlist-thanks__stats > div {
    padding: .9rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    display: grid;
    gap: .2rem;
    background: var(--bg);
}
.waitlist-thanks__stats strong { font-size: 1.15rem; overflow-wrap: anywhere; }
.waitlist-thanks__stats span { color: var(--muted); font-size: .8rem; }
.waitlist-thanks__reward {
    padding: .75rem 1rem;
    border-radius: 10px;
    background: color-mix(in srgb, var(--highlight) 22%, transparent);
    font-weight: 700;
}
.waitlist-share { margin-top: 1.25rem; text-align: left; }
.waitlist-share > label { display: block; font-weight: 700; margin-bottom: .45rem; }
.waitlist-share__row { display: flex; gap: .5rem; }
.waitlist-share__row input {
    min-width: 0;
    flex: 1;
    padding: .75rem .9rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
}
.waitlist-share__row .btn-secondary { padding: .7rem 1rem; }
.waitlist-share__native { width: 100%; margin-top: .75rem; }
.waitlist-share__feedback { min-height: 1.4em; color: var(--success); font-size: .85rem; }
.waitlist-thanks__milestones { color: var(--muted); font-size: .88rem; margin-bottom: 0; }

@media (max-width: 780px) {
    .site-header__actions { width: 100%; justify-content: flex-end; }
    .waitlist-share__row { flex-direction: column; }
    .waitlist-share__row .btn-secondary { width: 100%; }
}

.lang-switch .is-disabled {
    padding: 0.25rem 0.55rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    color: var(--muted);
    opacity: .45;
}

/* Team members */
.team-members {
    padding: 4rem 0;
}

.team-members__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.team-members__item {
    overflow: hidden;
    border: 1px solid var(--color-border, #d9d4cc);
    border-radius: 1rem;
    background: var(--color-surface, #fff);
}

.team-members__photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.team-members__content {
    padding: 1.25rem;
}

.team-members__content h3 {
    margin: 0;
}

.team-members__role {
    margin: .35rem 0 0;
    font-weight: 700;
    color: var(--color-accent, #237f80);
}

.team-members__bio {
    margin-top: .9rem;
}

/* Brand refresh ---------------------------------------------------------- */
.site-header__logo {
    gap: .7rem;
    min-width: max-content;
}

.site-header__logo-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: inline-grid;
    place-items: center;
    border-radius: 13px;
    background: color-mix(in srgb, var(--surface) 90%, var(--highlight));
    border: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.site-header__logo-icon img {
    display: block;
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.site-header__logo-text {
    font-size: 1.45rem;
    font-weight: 850;
    letter-spacing: -.035em;
    line-height: 1;
}

.site-header__logo:hover .site-header__logo-icon {
    transform: translateY(-1px) rotate(-2deg);
    box-shadow: var(--shadow-md);
    border-color: color-mix(in srgb, var(--secondary) 45%, var(--border));
}

.site-header__actions {
    padding: .3rem;
    border-radius: var(--radius-pill);
}

.lang-switch {
    padding: .2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background: color-mix(in srgb, var(--surface) 94%, transparent);
}

.lang-switch a,
.lang-switch .is-disabled {
    min-width: 2.25rem;
    min-height: 2.25rem;
    display: inline-grid;
    place-items: center;
    padding: .25rem .55rem;
    border: 0;
}

.theme-toggle {
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.theme-toggle:hover {
    transform: translateY(-1px);
    border-color: var(--secondary);
    background: color-mix(in srgb, var(--secondary) 8%, var(--surface));
}

.site-header .btn-primary {
    box-shadow: 0 8px 20px color-mix(in srgb, var(--primary) 18%, transparent);
}

.site-header .btn-primary:hover {
    transform: translateY(-1px);
    opacity: 1;
    box-shadow: 0 12px 28px color-mix(in srgb, var(--primary) 24%, transparent);
}

.site-footer__brand .site-header__logo-icon {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
}

.site-footer__brand .site-header__logo-icon img {
    width: 44px;
    height: 44px;
}

html[data-theme="dark"] .site-header__logo-icon {
    background: color-mix(in srgb, var(--surface) 90%, #000);
    border-color: var(--border);
}

@media (max-width: 780px) {
    .site-header__logo-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        border-radius: 12px;
    }

    .site-header__logo-icon img {
        width: 35px;
        height: 35px;
    }

    .site-header__logo-text {
        font-size: 1.25rem;
    }

    .site-header__actions {
        gap: .55rem;
        padding: 0;
    }

    .site-header .btn-primary {
        padding: .75rem 1.1rem;
        font-size: .9rem;
    }
}

/* Waitlist polish --------------------------------------------------------- */
/* The plugin title is useful in the TYPO3 backend but should not be shown
   as a second heading on the landing page. */
.frame-type-waitlist_signup > header,
.frame-type-waitlist_signup > .frame-header {
    display: none;
}

.waitlist-share__feedback {
    margin: .65rem 0 0;
    padding: .55rem .75rem;
    border-radius: 8px;
    background: color-mix(in srgb, var(--success) 12%, transparent);
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .18s ease, transform .18s ease;
}
.waitlist-share__feedback.is-visible {
    opacity: 1;
    transform: none;
}

/* ========================================================================== 
   Homie early-access profile experience
   ========================================================================== */
.waitlist-thanks--early-access {
  max-width: 760px;
  margin: 0 auto;
}

.waitlist-thanks__eyebrow,
.waitlist-profile__eyebrow {
  display: inline-block;
  margin-bottom: .45rem;
  color: var(--secondary);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.waitlist-thanks__lead {
  max-width: 620px;
  margin: 0 auto 1.5rem;
  color: var(--muted);
}

.waitlist-access-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
  margin: 1.5rem 0;
}

.waitlist-access-card {
  display: flex;
  min-height: 130px;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.waitlist-access-card > span {
  color: var(--muted);
  font-size: .82rem;
}

.waitlist-access-card > strong {
  margin-top: .35rem;
  color: var(--primary);
  font-size: 1.7rem;
  line-height: 1.1;
}

.waitlist-access-card__status {
  font-size: 1.05rem !important;
}

.waitlist-profile__progress {
  height: 10px;
  margin-top: .7rem;
  overflow: hidden;
  border-radius: 999px;
  background: var(--bg-soft, #eef1ef);
}

.waitlist-profile__progress > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--secondary);
}

.waitlist-checklist {
  padding: 1.1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  text-align: left;
}

.waitlist-checklist h4 {
  margin: 0 0 .9rem;
}

.waitlist-checklist__items {
  display: grid;
  gap: .5rem;
}

.waitlist-checklist__item {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: .55rem;
  align-items: center;
  padding: .65rem .75rem;
  border-radius: 10px;
  background: var(--bg-soft, #f7f5ef);
}

.waitlist-checklist__item.is-done {
  opacity: .8;
}

.waitlist-checklist__mark {
  display: grid;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  place-items: center;
  background: var(--surface);
  color: var(--secondary);
  font-weight: 800;
}

.waitlist-checklist__item small {
  color: var(--muted);
  font-size: .76rem;
}

.waitlist-thanks__profile-cta {
  display: inline-flex;
  margin-top: 1rem;
  min-width: 260px;
  justify-content: center;
  text-decoration: none;
}

.waitlist-referral-secondary {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  text-align: left;
}

.waitlist-referral-secondary summary {
  cursor: pointer;
  font-weight: 750;
}

.waitlist-profile {
  width: min(860px, calc(100% - 2rem));
  margin: 2rem auto;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.waitlist-profile__head {
  max-width: 650px;
  margin-bottom: 1.25rem;
}

.waitlist-profile__head h2 {
  margin: .2rem 0 .5rem;
}

.waitlist-profile__head p,
.waitlist-profile__status {
  color: var(--muted);
}

.waitlist-profile__score-card {
  padding: 1rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-soft, #f7f5ef);
}

.waitlist-profile__score-card > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.waitlist-profile__score-card strong {
  color: var(--secondary);
  font-size: 1.5rem;
}

.waitlist-profile__submit {
  width: 100%;
  margin-top: .75rem;
}

@media (max-width: 700px) {
  .waitlist-access-grid {
    grid-template-columns: 1fr;
  }

  .waitlist-access-card {
    min-height: auto;
  }

  .waitlist-checklist__item {
    grid-template-columns: 28px 1fr;
  }

  .waitlist-checklist__item small {
    grid-column: 2;
  }
}

/* ==========================================================================
   v20 — translated content pages + stronger navigation
   ========================================================================== */

/* More compact desktop navigation so the full pre-launch site fits cleanly. */
.main-nav {
    flex: 1 1 auto;
    min-width: 0;
}
.main-nav ul {
    justify-content: center;
    gap: clamp(.7rem, 1.4vw, 1.35rem);
}
.main-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 2.35rem;
    padding: .35rem .15rem;
    white-space: nowrap;
    font-size: .9rem;
}
.main-nav a::after {
    content: "";
    position: absolute;
    left: .15rem;
    right: .15rem;
    bottom: .12rem;
    height: 2px;
    border-radius: 999px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 180ms ease;
}
.main-nav a:hover::after,
.main-nav .is-active a::after {
    transform: scaleX(1);
}

/* Dedicated content-page hero. */
.subpage-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(2.75rem, 5vw, 4.5rem);
    border-bottom: 1px solid var(--border);
    background:
        radial-gradient(circle at 10% 10%, color-mix(in srgb, var(--highlight) 24%, transparent), transparent 32%),
        radial-gradient(circle at 90% 20%, color-mix(in srgb, var(--secondary) 18%, transparent), transparent 34%),
        linear-gradient(180deg, color-mix(in srgb, var(--surface) 86%, transparent), var(--bg));
}
.subpage-hero__inner {
    max-width: 900px;
}
.subpage-hero .display {
    max-width: 780px;
    margin-top: .25rem;
}
.subpage-hero__lead {
    max-width: 720px;
    margin: 1.25rem 0 0;
    color: var(--muted);
    font-size: clamp(1.05rem, .95rem + .35vw, 1.25rem);
    line-height: 1.75;
}

.breadcrumbs {
    margin-bottom: 2rem;
    font-size: .82rem;
    font-weight: 700;
    color: var(--muted);
}
.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin-left: .45rem;
    color: var(--border);
}
.breadcrumbs a {
    text-decoration: none;
    color: var(--secondary);
}
.breadcrumbs a:hover { text-decoration: underline; }

.page-content {
    max-width: 920px;
    padding-top: clamp(2rem, 5vw, 4rem);
}
.prose-card {
    background: color-mix(in srgb, var(--surface) 94%, transparent);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: clamp(1.5rem, 4vw, 3rem);
    box-shadow: var(--shadow-md);
}
.page-content .content-main {
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.85;
}
.page-content .content-main h2 {
    color: var(--text);
    margin: 0 0 1rem;
    font-size: clamp(1.55rem, 1.3rem + .8vw, 2rem);
    letter-spacing: -.02em;
}
.page-content .content-main h3 {
    color: var(--text);
    margin: 2rem 0 .55rem;
    font-size: 1.1rem;
}
.page-content .content-main p { margin: 0 0 1.15rem; }
.page-content .content-main ul {
    display: grid;
    gap: .7rem;
    margin: 1rem 0 1.7rem;
    padding-left: 1.3rem;
}
.page-content .content-main li::marker { color: var(--secondary); }
.page-content .content-main strong { color: var(--text); }
.page-content .content-main a {
    color: var(--primary);
    font-weight: 800;
    text-underline-offset: 3px;
}
.page-content .content-main p:last-child > a:only-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: .75rem 1.25rem;
    border-radius: var(--radius-pill);
    background: var(--primary);
    color: var(--primary-contrast);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
}

.site-footer__groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(145px, 1fr));
    min-width: min(100%, 390px);
}

@media (max-width: 1080px) {
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        order: 2;
        width: 2.6rem;
        height: 2.6rem;
        font-size: 1.15rem;
        color: var(--text);
        background: var(--surface);
    }
    .main-nav {
        display: none;
        order: 4;
        flex-basis: 100%;
        width: 100%;
        padding-top: .5rem;
        border-top: 1px solid var(--border);
    }
    .main-nav.is-open { display: block; }
    .main-nav ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .35rem;
        padding: .75rem 0 .25rem;
    }
    .main-nav a {
        width: 100%;
        min-height: 2.75rem;
        padding: .65rem .8rem;
        border-radius: 10px;
    }
    .main-nav a:hover,
    .main-nav .is-active a {
        background: color-mix(in srgb, var(--primary) 8%, transparent);
    }
    .main-nav a::after { display: none; }
    .site-header__inner { flex-wrap: wrap; }
    .site-header__actions { order: 3; margin-left: auto; }
}

@media (max-width: 640px) {
    .site-header__inner { gap: .65rem; }
    .site-header__actions {
        width: auto;
        gap: .45rem;
    }
    .site-header .btn-primary { display: none; }
    .main-nav ul { grid-template-columns: 1fr; }
    .lang-switch a, .lang-switch .is-disabled { min-width: 2.35rem; }
    .subpage-hero { padding-top: 3.25rem; }
    .prose-card { border-radius: 18px; }
    .site-footer__groups { grid-template-columns: 1fr; min-width: 0; }
}

/* ========================================================================== 
   v21 — immersive brand / conversion enhancement
   ========================================================================== */
.hero-v21 {
  position: relative;
  overflow: hidden;
  padding: clamp(3.25rem, 7vw, 7rem) 0 clamp(3.5rem, 7vw, 6.5rem);
  background:
    radial-gradient(circle at 18% 16%, color-mix(in srgb, var(--highlight) 28%, transparent), transparent 28rem),
    radial-gradient(circle at 88% 12%, color-mix(in srgb, var(--secondary) 16%, transparent), transparent 32rem),
    var(--bg);
}
.hero-v21::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--border);
}
.hero-v21__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(440px, .98fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}
.hero-v21__copy { position: relative; z-index: 2; }
.hero-v21__title { max-width: 760px; margin: .7rem 0 1.25rem; text-wrap: balance; }
.hero-v21__subtitle {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, .98rem + .35vw, 1.28rem);
  line-height: 1.75;
}
.hero-v21__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.btn-primary--large { min-height: 3.5rem; padding-inline: 1.55rem; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: .8rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.btn-secondary:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--secondary); }
.hero-v21__proof { display: flex; flex-wrap: wrap; gap: .55rem 1.1rem; margin-top: 1.35rem; color: var(--muted); font-size: .86rem; font-weight: 700; }
.hero-v21__proof span::first-letter { color: var(--secondary); }
.hero-v21__media { position: relative; min-height: 490px; }
.hero-video-card {
  position: absolute;
  inset: 1.1rem 0 1.1rem 1.5rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(17,43,82,.18);
  transform: rotate(1.2deg);
}
.hero-video-card video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-video-card::after { content:""; position:absolute; inset:0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); pointer-events:none; }
.hero-video-card__badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .65rem .9rem;
  border-radius: 999px;
  background: rgba(11,31,61,.82);
  color: #fff;
  backdrop-filter: blur(10px);
  font-size: .78rem;
  font-weight: 800;
}
.hero-video-card__pulse { width: .58rem; height: .58rem; border-radius: 50%; background: #65e6ba; box-shadow: 0 0 0 5px rgba(101,230,186,.16); }
.hero-v21__floating {
  position: absolute;
  z-index: 4;
  width: min(220px, 42%);
  padding: .9rem 1rem;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  box-shadow: 0 14px 38px rgba(17,43,82,.14);
  backdrop-filter: blur(14px);
}
.hero-v21__floating strong, .hero-v21__floating small { display:block; }
.hero-v21__floating strong { font-size: .84rem; }
.hero-v21__floating small { margin-top:.2rem; color:var(--muted); font-size:.72rem; }
.hero-v21__floating--one { left: -1.2rem; top: 4.5rem; }
.hero-v21__floating--two { right: -1.2rem; bottom: 3.6rem; }

.product-preview { background: color-mix(in srgb, var(--surface) 58%, var(--bg)); }
.product-preview__head { display:grid; grid-template-columns: 1.1fr .9fr; align-items:end; gap:2rem; margin-bottom:2rem; }
.product-preview__head .title { max-width: 720px; margin-bottom:0; }
.product-preview__head > p { margin:0; color:var(--muted); line-height:1.75; }
.preview-gallery { display:grid; grid-template-columns: 1.25fr .75fr .75fr; gap:1rem; }
.preview-gallery__item {
  position:relative;
  min-height: 360px;
  margin:0;
  overflow:hidden;
  border-radius:24px;
  border:1px solid var(--border);
  background:var(--surface);
  box-shadow:var(--shadow-md);
}
.preview-gallery__item--large { min-height: 470px; }
.preview-gallery__item img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .55s ease; }
.preview-gallery__item:hover img { transform:scale(1.035); }
.preview-gallery__item figcaption {
  position:absolute;
  left:1rem;
  right:1rem;
  bottom:1rem;
  padding:.8rem .9rem;
  border-radius:14px;
  background:rgba(11,31,61,.84);
  color:white;
  font-size:.82rem;
  font-weight:800;
  backdrop-filter:blur(10px);
}

.trust-story { overflow:hidden; }
.trust-story__grid { display:grid; grid-template-columns: 1fr 1fr; align-items:center; gap:clamp(2.5rem,6vw,6rem); }
.trust-story__media { position:relative; }
.trust-story__media::before { content:""; position:absolute; inset:8% -6% -8% 8%; border-radius:30px; background:color-mix(in srgb,var(--highlight) 34%, transparent); z-index:-1; transform:rotate(2deg); }
.trust-story__media img { width:100%; aspect-ratio: 4/3; object-fit:cover; border-radius:28px; box-shadow:0 22px 55px rgba(17,43,82,.15); }
.trust-story__copy > p { color:var(--muted); font-size:1.05rem; line-height:1.8; }
.trust-story__points { display:grid; gap:.75rem; margin-top:1.6rem; }
.trust-story__points > div { display:grid; grid-template-columns:3rem 1fr; align-items:center; gap:.85rem; padding:.85rem 0; border-top:1px solid var(--border); }
.trust-story__points strong { color:var(--secondary); font-size:.78rem; letter-spacing:.12em; }
.trust-story__points span { font-weight:750; }

/* Give the header more breathing room with the longer FR navigation. */
.site-header__inner { max-width: 1240px; }
.site-header__logo { flex:0 0 auto; }
.site-header__logo-text { margin-right:.4rem; }
@media (min-width:1081px) {
  .site-header__actions .btn-primary { padding-inline:1.15rem; }
  .main-nav ul { gap:clamp(.55rem,1vw,1rem); }
  .main-nav a { font-size:.84rem; }
}

@media (max-width: 980px) {
  .hero-v21__grid { grid-template-columns:1fr; }
  .hero-v21__media { min-height:420px; max-width:760px; width:100%; margin-inline:auto; }
  .hero-video-card { inset:0 1.5rem; }
  .hero-v21__floating--one { left:0; }
  .hero-v21__floating--two { right:0; }
  .product-preview__head, .trust-story__grid { grid-template-columns:1fr; }
  .preview-gallery { grid-template-columns:1fr 1fr; }
  .preview-gallery__item--large { grid-column:1/-1; min-height:420px; }
}
@media (max-width: 620px) {
  .hero-v21 { padding-top:2.6rem; }
  .hero-v21__media { min-height:330px; }
  .hero-video-card { inset:0; border-radius:22px; transform:none; }
  .hero-v21__floating { display:none; }
  .hero-v21__actions > * { width:100%; }
  .hero-v21__proof { display:grid; }
  .preview-gallery { grid-template-columns:1fr; }
  .preview-gallery__item, .preview-gallery__item--large { grid-column:auto; min-height:300px; }
  .trust-story__media img { border-radius:20px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video-card video { display:none; }
  .hero-video-card { background:url('../Brand/university/future-student-living.webp') center/cover no-repeat; }
}

/* v22 — key inner pages use /fileadmin/brand */
.inner-visual-wrap{margin-top:clamp(-2.4rem,-3vw,-1rem);position:relative;z-index:3}.story-visual{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:clamp(2rem,5vw,5rem);padding:clamp(1rem,2vw,1.5rem);border:1px solid var(--border);border-radius:30px;background:var(--surface);box-shadow:0 24px 70px rgba(17,43,82,.12);overflow:hidden}.story-visual__media{position:relative;min-height:390px;overflow:hidden;border-radius:22px;background:var(--bg)}.story-visual__media img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;display:block;transition:transform .65s ease}.story-visual:hover .story-visual__media>img:first-child{transform:scale(1.035)}.story-visual__copy{padding:clamp(.5rem,2vw,1.5rem)}.story-visual__copy h2{margin:.55rem 0 1rem;font-size:clamp(1.8rem,3vw,3rem);line-height:1.08;letter-spacing:-.035em}.story-visual__copy p{color:var(--muted);font-size:1.04rem;line-height:1.8}.story-visual__media--stack img:first-child{width:76%;right:auto;border-radius:18px}.story-visual__media--stack img:last-child{width:47%;height:72%;left:auto;top:auto;right:3%;bottom:3%;border-radius:18px;box-shadow:0 18px 42px rgba(17,43,82,.24);border:5px solid var(--surface)}.visual-pills{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:1.3rem}.visual-pills span{padding:.55rem .75rem;border:1px solid var(--border);border-radius:999px;background:var(--bg);font-size:.78rem;font-weight:800}.mini-steps{display:grid;gap:.65rem;margin-top:1.4rem}.mini-steps span{display:grid;grid-template-columns:2.7rem 1fr;align-items:center;gap:.7rem;padding:.8rem 0;border-top:1px solid var(--border);font-weight:800}.mini-steps b{color:var(--secondary);font-size:.78rem}.trust-chain{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap;margin-top:1.35rem}.trust-chain span{display:inline-flex;align-items:center;gap:.4rem;padding:.6rem .75rem;border-radius:12px;background:color-mix(in srgb,var(--secondary) 8%,var(--surface));font-weight:800;font-size:.8rem}.trust-chain b{display:grid;place-items:center;width:1.4rem;height:1.4rem;border-radius:50%;background:var(--secondary);color:#fff;font-size:.7rem}.trust-chain i{color:var(--muted);font-style:normal}.page-content{margin-top:clamp(2rem,4vw,4rem)}.inner-cta{padding:0 0 clamp(4rem,8vw,7rem)}.inner-cta__box{display:flex;align-items:center;justify-content:space-between;gap:2rem;padding:clamp(1.6rem,4vw,3rem);border-radius:28px;background:linear-gradient(125deg,var(--primary),color-mix(in srgb,var(--primary) 78%,var(--secondary)));color:#fff;box-shadow:0 22px 60px rgba(17,43,82,.18)}.inner-cta__box .eyebrow{color:#8ce7de}.inner-cta__box h2{margin:.45rem 0 .55rem;color:#fff;font-size:clamp(1.65rem,3vw,2.65rem)}.inner-cta__box p{margin:0;max-width:680px;color:rgba(255,255,255,.78)}.inner-cta__box .btn-primary{flex:0 0 auto;background:#fff;color:var(--primary)}@media(max-width:850px){.story-visual{grid-template-columns:1fr}.story-visual--how .story-visual__copy,.story-visual--landlords .story-visual__copy{order:2}.story-visual__media{min-height:320px}.inner-cta__box{align-items:flex-start;flex-direction:column}.inner-cta__box .btn-primary{width:100%}}@media(max-width:560px){.inner-visual-wrap{margin-top:-1rem}.story-visual{border-radius:20px;padding:.65rem}.story-visual__media{min-height:260px;border-radius:15px}.story-visual__copy{padding:.8rem}.trust-chain i{display:none}}
\n\n/* v25 — role-aware waitlist */\n.waitlist-role-panel__intro{margin:.25rem 0 1rem;padding:.8rem 1rem;border-left:3px solid var(--secondary);background:color-mix(in srgb,var(--secondary) 6%,var(--surface));border-radius:0 12px 12px 0;color:var(--muted);font-size:.88rem}.waitlist-form [data-role-panel][hidden]{display:none!important}.waitlist-profile__role-badge,.waitlist-thanks__role{display:inline-flex;align-items:center;width:max-content;padding:.42rem .7rem;border-radius:999px;background:color-mix(in srgb,var(--secondary) 10%,var(--surface));color:var(--secondary);font-weight:800;font-size:.76rem;text-transform:uppercase;letter-spacing:.06em;margin:.25rem auto 1rem}.waitlist-profile__role-badge{margin:0 0 1rem}.waitlist-profile__section{margin:1.25rem 0;padding:1.15rem;border:1px solid var(--border);border-radius:18px;background:color-mix(in srgb,var(--surface) 94%,var(--bg))}.waitlist-profile__section h3{margin:0 0 .8rem;font-size:1rem}.waitlist-profile--student .waitlist-profile__score-card{border-top:3px solid var(--secondary)}.waitlist-profile--landlord .waitlist-profile__score-card{border-top:3px solid var(--primary)}.waitlist-profile--partner .waitlist-profile__score-card{border-top:3px solid #9b6cff}\n
/* v26 — post-profile success experience */
.waitlist-profile-success{max-width:820px;margin:clamp(2rem,5vw,5rem) auto;padding:clamp(1.3rem,4vw,2.6rem);border:1px solid var(--border);border-radius:28px;background:var(--surface);box-shadow:0 24px 70px rgba(17,43,82,.12)}
.waitlist-profile-success__hero{text-align:center;max-width:650px;margin:0 auto 1.8rem}.waitlist-profile-success__icon{display:grid;place-items:center;width:62px;height:62px;margin:0 auto 1rem;border-radius:50%;background:#1ca36f;color:#fff;font-size:1.8rem;font-weight:900;box-shadow:0 12px 30px rgba(28,163,111,.2)}
.waitlist-profile-success__eyebrow{display:block;color:var(--secondary);font-size:.76rem;font-weight:900;text-transform:uppercase;letter-spacing:.09em}.waitlist-profile-success__role{display:inline-flex;margin:.75rem 0 .25rem;padding:.4rem .7rem;border-radius:999px;background:color-mix(in srgb,var(--secondary) 9%,var(--surface));color:var(--secondary);font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.07em}
.waitlist-profile-success__hero h2{margin:.55rem 0 .7rem;font-size:clamp(1.7rem,3vw,2.6rem);line-height:1.08;letter-spacing:-.035em}.waitlist-profile-success__hero p{margin:0;color:var(--muted);line-height:1.75}.waitlist-profile-success__summary{display:grid;grid-template-columns:1.1fr .9fr;gap:1rem;margin:1.6rem 0}
.waitlist-profile-success__score,.waitlist-profile-success__status{padding:1.15rem;border:1px solid var(--border);border-radius:18px;background:color-mix(in srgb,var(--surface) 94%,var(--bg))}.waitlist-profile-success__score>span,.waitlist-profile-success__status>span{display:block;margin-bottom:.35rem;color:var(--muted);font-size:.78rem;font-weight:800}
.waitlist-profile-success__score>strong{display:block;margin-bottom:.7rem;color:var(--secondary);font-size:2rem;line-height:1}.waitlist-profile-success__status{display:flex;flex-direction:column;justify-content:center}.waitlist-profile-success__status strong{font-size:1.08rem}
.waitlist-profile-success__next{display:grid;grid-template-columns:auto 1fr;gap:1rem;align-items:start;margin:1.7rem 0;padding:1.2rem;border-radius:18px;background:linear-gradient(135deg,color-mix(in srgb,var(--secondary) 10%,var(--surface)),var(--surface));border:1px solid color-mix(in srgb,var(--secondary) 22%,var(--border))}
.waitlist-profile-success__number{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:var(--primary);color:#fff;font-size:.75rem;font-weight:900;letter-spacing:.08em}.waitlist-profile-success__next h3,.waitlist-profile-success__checklist h3{margin:0 0 .45rem;font-size:1.05rem}.waitlist-profile-success__next p{margin:0;color:var(--muted);line-height:1.7}
.waitlist-profile-success__checklist{margin:1.7rem 0}.waitlist-profile-success__actions{display:flex;gap:.75rem;justify-content:center;margin-top:1.8rem}.waitlist-profile-success__actions .btn-primary,.waitlist-profile-success__actions .btn-secondary{min-width:180px;text-align:center}.waitlist-profile-success__note{text-align:center;color:var(--muted);font-size:.8rem;margin:1rem 0 0}
.waitlist-profile-success--student{border-top:4px solid var(--secondary)}.waitlist-profile-success--landlord{border-top:4px solid var(--primary)}.waitlist-profile-success--partner{border-top:4px solid #9b6cff}@media(max-width:680px){.waitlist-profile-success__summary{grid-template-columns:1fr}.waitlist-profile-success__actions{flex-direction:column}.waitlist-profile-success__actions .btn-primary,.waitlist-profile-success__actions .btn-secondary{width:100%}.waitlist-profile-success{border-radius:20px}}


/* v28 — team section cleanup and portraits */
.team-section__header{margin-bottom:1.2rem}
.team-section__header .eyebrow{display:inline-block}
.team-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.4rem}
.team-card{display:grid;grid-template-columns:150px 1fr;gap:1.25rem;align-items:start;padding:1.35rem;border:1px solid var(--border);border-radius:22px;background:var(--surface);box-shadow:0 14px 36px rgba(17,43,82,.06)}
.team-card__media{width:150px;aspect-ratio:1;overflow:hidden;border-radius:18px;background:var(--bg)}
.team-card__image{display:block;width:100%;height:100%;object-fit:cover}
.team-card__content h3{margin:.15rem 0 .35rem;font-size:1.18rem}
.team-card__role{margin:0 0 .9rem;color:var(--secondary);font-weight:900}
.team-card__content p:last-child{margin-bottom:0;color:var(--muted);line-height:1.7}
@media(max-width:900px){.team-grid{grid-template-columns:1fr}.team-card{grid-template-columns:120px 1fr}.team-card__media{width:120px}}
@media(max-width:560px){.team-card{grid-template-columns:1fr}.team-card__media{width:100%;max-width:180px}.team-card{padding:1rem}}


/* v30 — premium team section */
.team-section{
    padding:clamp(1.5rem,3vw,2.5rem) 0;
}
.team-section__header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:1.35rem;
}
.team-section__header .eyebrow{
    position:relative;
    padding-left:1rem;
    margin:0;
}
.team-section__header .eyebrow::before{
    content:"";
    position:absolute;
    left:0;
    top:50%;
    width:5px;
    height:24px;
    border-radius:999px;
    background:linear-gradient(180deg,var(--secondary),color-mix(in srgb,var(--secondary) 45%,var(--primary)));
    transform:translateY(-50%);
}

.team-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:clamp(1.15rem,2.5vw,1.8rem);
}

.team-card{
    position:relative;
    min-width:0;
    overflow:hidden;
    padding:clamp(1.25rem,2.4vw,1.75rem);
    border:1px solid color-mix(in srgb,var(--border) 85%,transparent);
    border-radius:26px;
    background:
        radial-gradient(circle at 100% 0,color-mix(in srgb,var(--secondary) 7%,transparent),transparent 34%),
        var(--surface);
    box-shadow:0 18px 50px rgba(17,43,82,.08);
    transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}
.team-card:hover{
    transform:translateY(-4px);
    border-color:color-mix(in srgb,var(--secondary) 28%,var(--border));
    box-shadow:0 28px 70px rgba(17,43,82,.13);
}
.team-card__accent{
    position:absolute;
    inset:0 auto 0 0;
    width:4px;
    background:linear-gradient(180deg,var(--secondary),color-mix(in srgb,var(--secondary) 30%,var(--primary)));
    opacity:.85;
}

.team-card__head{
    display:grid;
    grid-template-columns:132px minmax(0,1fr);
    gap:1.25rem;
    align-items:center;
}
.team-card__media{
    width:132px;
    aspect-ratio:1;
    overflow:hidden;
    border-radius:22px;
    background:var(--bg);
    box-shadow:0 12px 30px rgba(17,43,82,.12);
}
.team-card__image{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center top;
    transition:transform .35s ease;
}
.team-card:hover .team-card__image{
    transform:scale(1.035);
}
.team-card__identity{
    min-width:0;
}
.team-card__index{
    display:block;
    margin-bottom:.35rem;
    color:color-mix(in srgb,var(--secondary) 70%,var(--muted));
    font-size:.72rem;
    font-weight:900;
    letter-spacing:.12em;
}
.team-card__identity h3{
    margin:0 0 .55rem;
    font-size:clamp(1.2rem,2vw,1.5rem);
    line-height:1.15;
    letter-spacing:-.025em;
}
.team-card__role{
    display:inline-flex;
    align-items:center;
    min-height:30px;
    padding:.35rem .65rem;
    border:1px solid color-mix(in srgb,var(--secondary) 24%,var(--border));
    border-radius:999px;
    background:color-mix(in srgb,var(--secondary) 7%,var(--surface));
    color:var(--secondary);
    font-size:.76rem;
    font-weight:900;
    letter-spacing:.045em;
    text-transform:uppercase;
}
.team-card__divider{
    height:1px;
    margin:1.25rem 0 1.05rem;
    background:linear-gradient(90deg,var(--border),transparent);
}
.team-card__bio{
    color:var(--muted);
    font-size:.95rem;
    line-height:1.75;
}
.team-card__bio p{
    margin:0;
}
.team-card__bio strong,
.team-card__bio b{
    color:var(--text);
    font-weight:800;
}

html[data-theme="dark"] .team-card{
    background:
        radial-gradient(circle at 100% 0,color-mix(in srgb,var(--secondary) 10%,transparent),transparent 34%),
        var(--surface);
    box-shadow:0 18px 50px rgba(0,0,0,.22);
}

@media(max-width:900px){
    .team-grid{grid-template-columns:1fr}
}
@media(max-width:560px){
    .team-card{
        padding:1.05rem;
        border-radius:20px;
    }
    .team-card__head{
        grid-template-columns:96px minmax(0,1fr);
        gap:1rem;
    }
    .team-card__media{
        width:96px;
        border-radius:17px;
    }
    .team-card__bio{
        font-size:.92rem;
        line-height:1.7;
    }
}


/* v31 — fix legacy team-card grid conflict */
.team-grid .team-card{
    display:block;
    grid-template-columns:none;
    gap:0;
    align-items:initial;
    width:100%;
    min-height:100%;
}
.team-grid .team-card__accent{
    position:absolute;
}
.team-grid .team-card__head{
    display:grid;
    grid-template-columns:132px minmax(0,1fr);
    gap:1.35rem;
    align-items:center;
    width:100%;
}
.team-grid .team-card__identity{
    width:100%;
    min-width:0;
}
.team-grid .team-card__identity h3{
    max-width:none;
    white-space:normal;
    overflow-wrap:normal;
    word-break:normal;
    font-size:clamp(1.3rem,1.8vw,1.65rem);
}
.team-grid .team-card__role{
    margin:0;
}
.team-grid .team-card__divider{
    display:block;
    width:100%;
    margin:1.35rem 0 1.1rem;
}
.team-grid .team-card__bio{
    display:block;
    width:100%;
    max-width:none;
    min-width:0;
    columns:auto;
    color:var(--muted);
    font-size:.96rem;
    line-height:1.75;
}
.team-grid .team-card__bio p,
.team-grid .team-card__bio div{
    width:100%;
    max-width:none;
    margin:0;
}
.team-grid .team-card__bio p + p{
    margin-top:.75rem;
}
.team-grid .team-card__bio strong,
.team-grid .team-card__bio b{
    color:var(--text);
}
@media(min-width:901px){
    .team-grid .team-card{
        min-height:420px;
    }
}
@media(max-width:560px){
    .team-grid .team-card__head{
        grid-template-columns:96px minmax(0,1fr);
        gap:1rem;
    }
    .team-grid .team-card__identity h3{
        font-size:1.25rem;
    }
}

/* v32 Early Access Dashboard */
.ea-dashboard{max-width:1120px;margin:clamp(2rem,5vw,5rem) auto;padding:0 1rem}.ea-dashboard__flash{margin-bottom:1rem;padding:1rem;border:1px solid #1ca36f;border-radius:14px;background:var(--surface);font-weight:800}.ea-dashboard__hero{display:flex;justify-content:space-between;gap:2rem;align-items:flex-end;padding:clamp(1.5rem,4vw,2.7rem);border-radius:28px;background:linear-gradient(135deg,var(--primary),color-mix(in srgb,var(--primary) 82%,var(--secondary)));color:#fff;box-shadow:0 24px 65px rgba(17,43,82,.16)}.ea-dashboard__hero .eyebrow{color:#bce8e4}.ea-dashboard__hero h1{margin:.5rem 0 .7rem;font-size:clamp(2rem,5vw,3.8rem);line-height:.98}.ea-dashboard__hero p{max-width:680px;margin:0;color:rgba(255,255,255,.82);line-height:1.7}.ea-dashboard__role{min-width:160px;padding:1rem;border:1px solid rgba(255,255,255,.2);border-radius:18px;background:rgba(255,255,255,.08)}.ea-dashboard__role span{display:block;font-size:.72rem;text-transform:uppercase}.ea-dashboard__stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin:1rem 0}.ea-stat,.ea-panel{padding:1.2rem;border:1px solid var(--border);border-radius:20px;background:var(--surface);box-shadow:0 12px 34px rgba(17,43,82,.05)}.ea-stat>span{display:block;color:var(--muted);font-size:.78rem;font-weight:800}.ea-stat>strong{display:block;margin:.35rem 0 .7rem;font-size:1.25rem}.ea-stat--score>strong{color:var(--secondary);font-size:2.15rem}.ea-stat small{color:var(--muted)}.ea-dashboard__grid{display:grid;grid-template-columns:1.08fr .92fr;gap:1rem}.ea-panel{border-radius:24px}.ea-panel__heading{display:flex;justify-content:space-between;align-items:center}.ea-panel__heading>div{display:flex;align-items:center;gap:.75rem}.ea-panel__heading h2{margin:0;font-size:1.25rem}.ea-panel__number{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:var(--primary);color:#fff;font-size:.7rem;font-weight:900}.ea-link{color:var(--secondary);font-weight:900}.ea-panel__lead{color:var(--muted);line-height:1.7}.ea-panel__button{display:flex;justify-content:center;margin-top:1.2rem}.ea-timeline{list-style:none;padding:0}.ea-timeline li{display:grid;grid-template-columns:34px 1fr;gap:.8rem;align-items:center;min-height:54px}.ea-timeline li>span{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--border);border-radius:50%;font-weight:900}.ea-timeline .is-complete>span{background:#1ca36f;color:#fff}.ea-timeline .is-current>span{background:var(--secondary);color:#fff}.ea-next{margin-top:1rem;padding:1rem;border-radius:16px;background:color-mix(in srgb,var(--secondary) 7%,var(--surface))}.ea-next span{display:block;color:var(--secondary);font-size:.7rem;font-weight:900;text-transform:uppercase}.ea-dashboard__footer{display:flex;justify-content:space-between;align-items:center;gap:2rem;margin-top:1rem;padding:1.3rem;border:1px solid var(--border);border-radius:20px;background:var(--surface)}.ea-dashboard__footer h2{margin:0}.ea-dashboard__footer p{color:var(--muted)}@media(max-width:820px){.ea-dashboard__hero{align-items:flex-start;flex-direction:column}.ea-dashboard__role{width:100%}.ea-dashboard__stats,.ea-dashboard__grid{grid-template-columns:1fr}.ea-dashboard__footer{align-items:flex-start;flex-direction:column}}


/* v33 FINAL — email preferences + dashboard polish */
.waitlist-unsubscribe{max-width:680px;margin:clamp(3rem,8vw,7rem) auto;padding:clamp(1.4rem,4vw,2.6rem);text-align:center;border:1px solid var(--border);border-radius:26px;background:var(--surface);box-shadow:0 24px 70px rgba(17,43,82,.10)}
.waitlist-unsubscribe__icon{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 1rem;border-radius:50%;background:color-mix(in srgb,var(--secondary) 10%,var(--surface));color:var(--secondary);font-size:1.45rem;font-weight:900}
.waitlist-unsubscribe h2{margin:.55rem 0 .7rem;font-size:clamp(1.6rem,3vw,2.25rem)}
.waitlist-unsubscribe p{max-width:560px;margin:0 auto 1.4rem;color:var(--muted);line-height:1.75}
.waitlist-unsubscribe__actions{display:flex;justify-content:center;gap:.75rem;flex-wrap:wrap}
.waitlist-unsubscribe__actions form{margin:0}
.waitlist-unsubscribe--success .waitlist-unsubscribe__icon{background:#1ca36f;color:#fff}
.ea-dashboard__hero,.ea-panel,.ea-stat,.ea-dashboard__footer{transition:border-color .2s ease,box-shadow .2s ease}
.ea-panel:hover,.ea-stat:hover{border-color:color-mix(in srgb,var(--secondary) 22%,var(--border));box-shadow:0 20px 52px rgba(17,43,82,.09)}
@media(max-width:560px){.waitlist-unsubscribe__actions{flex-direction:column}.waitlist-unsubscribe__actions .btn-primary,.waitlist-unsubscribe__actions .btn-secondary{width:100%}}


/* v34 — Contact UX + waitlist conversion refinements */
.contact-page-renderer{margin-top:clamp(-1rem,-1vw,0rem);padding-bottom:clamp(4rem,8vw,7rem)}
.homie-contact{max-width:1100px;margin:0 auto}
.homie-contact__intro{display:grid;grid-template-columns:1.2fr .8fr;gap:1rem;align-items:stretch;margin-bottom:1rem}
.homie-contact__intro>div:first-child,.homie-contact__early-access{padding:clamp(1.25rem,3vw,2rem);border:1px solid var(--border);border-radius:24px;background:var(--surface)}
.homie-contact__intro h2{margin:.5rem 0 .7rem;font-size:clamp(1.7rem,3.4vw,2.8rem);line-height:1.06;letter-spacing:-.035em}
.homie-contact__intro p{margin:0;color:var(--muted);line-height:1.75}
.homie-contact__early-access{display:flex;flex-direction:column;justify-content:center;background:linear-gradient(135deg,color-mix(in srgb,var(--secondary) 8%,var(--surface)),var(--surface))}
.homie-contact__early-access span{color:var(--secondary);font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.homie-contact__early-access strong{margin:.45rem 0 .7rem;font-size:1.1rem;line-height:1.4}.homie-contact__early-access a{color:var(--primary);font-weight:900;text-decoration:none}
.homie-contact__routes{display:grid;grid-template-columns:repeat(4,1fr);gap:.75rem;margin:1rem 0}.homie-contact__routes article{padding:1rem;border:1px solid var(--border);border-radius:18px;background:var(--surface)}.homie-contact__routes article>span{display:block;margin-bottom:.6rem;color:var(--secondary);font-size:.7rem;font-weight:900;letter-spacing:.1em}.homie-contact__routes strong{display:block;margin-bottom:.4rem}.homie-contact__routes p{margin:0;color:var(--muted);font-size:.84rem;line-height:1.6}
.homie-contact__form-card{padding:clamp(1.25rem,3vw,2rem);border:1px solid var(--border);border-radius:26px;background:var(--surface);box-shadow:0 22px 60px rgba(17,43,82,.08)}.homie-contact__form-head{max-width:700px;margin-bottom:1.4rem}.homie-contact__form-head h3{margin:.45rem 0 .5rem;font-size:clamp(1.5rem,2.8vw,2.2rem)}.homie-contact__form-head p{margin:0;color:var(--muted);line-height:1.7}.homie-contact__grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.homie-contact__form small{display:block;margin-top:.45rem;color:var(--muted);line-height:1.5}.homie-contact__submit{min-width:180px;margin-top:.4rem}.homie-contact__error{margin:0 0 1rem;padding:.85rem 1rem;border:1px solid #d65a5a;border-radius:12px;background:color-mix(in srgb,#d65a5a 7%,var(--surface));color:var(--text);font-weight:750}
.homie-contact__sent-card{max-width:680px;margin:1rem auto;padding:clamp(1.5rem,4vw,2.6rem);text-align:center;border:1px solid var(--border);border-radius:26px;background:var(--surface);box-shadow:0 22px 60px rgba(17,43,82,.08)}.homie-contact__sent-icon{display:grid;place-items:center;width:62px;height:62px;margin:0 auto 1rem;border-radius:50%;background:#1ca36f;color:#fff;font-size:1.7rem;font-weight:900}.homie-contact__sent-card h2{margin:.5rem 0 .7rem}.homie-contact__sent-card p{color:var(--muted);line-height:1.7}.homie-contact__sent-actions{display:flex;gap:.7rem;justify-content:center;margin-top:1.3rem}
.waitlist-next{margin-top:clamp(1rem,2vw,2rem);margin-bottom:1rem;padding:clamp(1.1rem,2.5vw,1.6rem);border:1px solid var(--border);border-radius:22px;background:color-mix(in srgb,var(--surface) 94%,var(--bg))}.waitlist-next__head{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-bottom:1rem}.waitlist-next__head h2{margin:0;font-size:clamp(1.3rem,2.5vw,1.9rem)}.waitlist-next__steps{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem}.waitlist-next__steps>div{padding:1rem;border-radius:16px;background:var(--surface);border:1px solid var(--border)}.waitlist-next__steps span{display:block;margin-bottom:.45rem;color:var(--secondary);font-size:.68rem;font-weight:900;letter-spacing:.1em}.waitlist-next__steps strong{display:block;margin-bottom:.35rem}.waitlist-next__steps p{margin:0;color:var(--muted);font-size:.82rem;line-height:1.55}
.mobile-waitlist-cta{display:none}
@media(max-width:900px){.homie-contact__intro{grid-template-columns:1fr}.homie-contact__routes{grid-template-columns:1fr 1fr}.waitlist-next__steps{grid-template-columns:1fr}}
@media(max-width:560px){.homie-contact__routes,.homie-contact__grid{grid-template-columns:1fr}.homie-contact__sent-actions{flex-direction:column}.mobile-waitlist-cta{display:block;position:fixed;z-index:90;left:1rem;right:1rem;bottom:1rem;padding:.85rem 1rem;text-align:center;border-radius:999px;background:var(--primary);color:#fff;text-decoration:none;font-weight:900;box-shadow:0 14px 36px rgba(17,43,82,.25)}body{padding-bottom:4.8rem}}

/* v35 — one-person email identity + private beta */
.waitlist-existing{max-width:680px;margin:clamp(3rem,8vw,7rem) auto;padding:clamp(1.5rem,4vw,2.7rem);text-align:center;border:1px solid var(--border);border-radius:26px;background:var(--surface);box-shadow:0 24px 70px rgba(17,43,82,.10)}
.waitlist-existing__icon{display:grid;place-items:center;width:60px;height:60px;margin:0 auto 1rem;border-radius:50%;background:color-mix(in srgb,var(--secondary) 10%,var(--surface));color:var(--secondary);font-size:1.6rem;font-weight:900}.waitlist-existing h2{margin:.55rem 0 .8rem;font-size:clamp(1.6rem,3vw,2.35rem)}.waitlist-existing p{max-width:570px;margin:0 auto 1.2rem;color:var(--muted);line-height:1.75}.waitlist-existing__status{padding:.8rem 1rem;border-radius:12px;background:color-mix(in srgb,#1ca36f 8%,var(--surface));color:var(--text)!important;font-weight:800}
.ea-beta-invite{display:grid;grid-template-columns:1fr auto;gap:1.1rem;align-items:center;margin:1rem 0;padding:1.3rem 1.4rem;border:1px solid color-mix(in srgb,#1ca36f 35%,var(--border));border-radius:22px;background:linear-gradient(135deg,color-mix(in srgb,#1ca36f 8%,var(--surface)),var(--surface));box-shadow:0 16px 44px rgba(28,163,111,.08)}.ea-beta-invite__badge{grid-column:1/-1;color:#1ca36f;font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.09em}.ea-beta-invite h2{margin:0 0 .35rem;font-size:1.35rem}.ea-beta-invite p{margin:0;color:var(--muted);line-height:1.65}
@media(max-width:680px){.ea-beta-invite{grid-template-columns:1fr}.ea-beta-invite .btn-primary{width:100%;text-align:center}}


/* v37 — dedicated waitlist landing */
.waitlist-landing{overflow:hidden}.wl-hero{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,5rem);align-items:start;padding-top:clamp(3rem,7vw,6.5rem);padding-bottom:clamp(3rem,6vw,5rem)}.wl-hero__copy{position:sticky;top:110px;padding-top:1.3rem}.wl-hero__copy h1{max-width:720px;margin:.6rem 0 1rem;font-size:clamp(2.5rem,5.5vw,5.2rem);line-height:.96;letter-spacing:-.055em;text-wrap:balance}.wl-hero__lead{max-width:650px;color:var(--muted);font-size:clamp(1rem,1.4vw,1.17rem);line-height:1.75}.wl-proof{display:grid;gap:.55rem;margin:1.5rem 0}.wl-proof span{font-size:.88rem;font-weight:800}.wl-hero__preview-link{display:inline-flex}.wl-form-shell{padding:clamp(1rem,2.5vw,1.5rem);border:1px solid color-mix(in srgb,var(--secondary) 20%,var(--border));border-radius:28px;background:var(--surface);box-shadow:0 28px 80px rgba(17,43,82,.14)}.wl-form-shell__header{display:flex;gap:.85rem;align-items:center;padding:.2rem .2rem 1rem;border-bottom:1px solid var(--border);margin-bottom:.8rem}.wl-form-shell__step{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--primary);color:#fff;font-size:.7rem;font-weight:900}.wl-form-shell__header strong{display:block}.wl-form-shell__header small{display:block;margin-top:.2rem;color:var(--muted);line-height:1.4}
.wl-section-head{display:grid;grid-template-columns:1fr minmax(280px,.75fr);gap:2rem;align-items:end;margin-bottom:1.5rem}.wl-section-head h2{margin:.45rem 0 0;font-size:clamp(1.8rem,4vw,3.2rem);line-height:1.04;letter-spacing:-.04em}.wl-section-head>p{margin:0;color:var(--muted);line-height:1.75}.wl-section-head--center{text-align:center;grid-template-columns:1fr;max-width:800px;margin-left:auto;margin-right:auto}.wl-section-head--center>p{max-width:690px;margin:0 auto}.wl-after,.wl-preview,.wl-roles,.wl-launch{padding-top:clamp(3rem,7vw,6rem);padding-bottom:clamp(3rem,7vw,6rem)}
.wl-after__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.wl-after__grid article{padding:1.3rem;border:1px solid var(--border);border-radius:20px;background:var(--surface)}.wl-after__grid article>span{display:block;margin-bottom:.8rem;color:var(--secondary);font-size:.7rem;font-weight:900;letter-spacing:.12em}.wl-after__grid strong{display:block;margin-bottom:.45rem;font-size:1.05rem}.wl-after__grid p{margin:0;color:var(--muted);font-size:.88rem;line-height:1.65}
.wl-carousel{position:relative;max-width:1060px;margin:2rem auto 0;touch-action:pan-y}.wl-carousel__viewport{overflow:hidden;border-radius:28px}.wl-carousel__track{display:flex;transition:transform .5s cubic-bezier(.2,.7,.2,1);will-change:transform}.wl-slide{flex:0 0 100%;display:grid;grid-template-columns:1.15fr .85fr;min-height:520px;border:1px solid var(--border);border-radius:28px;background:var(--surface);overflow:hidden}.wl-slide__media{position:relative;min-height:420px;background:var(--bg)}.wl-slide__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.wl-slide__copy{display:flex;flex-direction:column;justify-content:center;padding:clamp(1.5rem,4vw,3rem)}.wl-slide__copy>span{color:var(--secondary);font-size:.7rem;font-weight:900;letter-spacing:.12em}.wl-slide__copy h3{margin:.6rem 0 .7rem;font-size:clamp(1.5rem,3vw,2.4rem);line-height:1.08}.wl-slide__copy p{margin:0;color:var(--muted);line-height:1.75}.wl-carousel__nav{position:absolute;z-index:3;top:50%;display:grid;place-items:center;width:46px;height:46px;border:1px solid var(--border);border-radius:50%;background:var(--surface);color:var(--text);font-size:1.2rem;box-shadow:0 10px 28px rgba(17,43,82,.12);cursor:pointer;transform:translateY(-50%)}.wl-carousel__nav:disabled{opacity:.3;cursor:default}.wl-carousel__nav--prev{left:-23px}.wl-carousel__nav--next{right:-23px}.wl-carousel__dots{display:flex;justify-content:center;gap:.45rem;margin-top:1rem}.wl-carousel__dots button{width:9px;height:9px;padding:0;border:0;border-radius:999px;background:var(--border);cursor:pointer}.wl-carousel__dots button.is-active{width:28px;background:var(--secondary)}
.wl-role-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.wl-role-card{padding:clamp(1.25rem,2.5vw,1.7rem);border:1px solid var(--border);border-radius:22px;background:var(--surface);transition:transform .25s ease,box-shadow .25s ease}.wl-role-card:hover{transform:translateY(-4px);box-shadow:0 22px 55px rgba(17,43,82,.10)}.wl-role-card>span{display:inline-flex;margin-bottom:1rem;padding:.35rem .55rem;border-radius:999px;background:var(--bg);color:var(--secondary);font-size:.68rem;font-weight:900;letter-spacing:.08em}.wl-role-card h3{margin:0 0 .6rem;font-size:1.25rem}.wl-role-card p{margin:0 0 1rem;color:var(--muted);line-height:1.7}.wl-role-card a{color:var(--primary);font-weight:900;text-decoration:none}.wl-role-card--student{border-top:4px solid var(--secondary)}.wl-role-card--landlord{border-top:4px solid #f0a33a}.wl-role-card--partner{border-top:4px solid #9b6cff}
.wl-launch__card{display:grid;grid-template-columns:.85fr 1.15fr;gap:clamp(2rem,5vw,5rem);padding:clamp(1.5rem,4vw,3rem);border-radius:30px;background:linear-gradient(135deg,var(--primary),color-mix(in srgb,var(--primary) 80%,var(--secondary)));color:#fff}.wl-launch__card .eyebrow{color:#aee9e2}.wl-launch__card h2{margin:.55rem 0 .7rem;color:#fff;font-size:clamp(1.8rem,3.5vw,3rem);line-height:1.05}.wl-launch__card p{color:rgba(255,255,255,.78);line-height:1.75}.wl-launch__timeline{list-style:none;margin:0;padding:0}.wl-launch__timeline li{position:relative;display:grid;grid-template-columns:36px 1fr;gap:.8rem;align-items:center;min-height:58px;color:rgba(255,255,255,.65);font-weight:800}.wl-launch__timeline li:not(:last-child)::after{content:"";position:absolute;left:17px;top:45px;width:2px;height:28px;background:rgba(255,255,255,.18)}.wl-launch__timeline span{display:grid;place-items:center;width:36px;height:36px;border:1px solid rgba(255,255,255,.28);border-radius:50%;font-size:.75rem}.wl-launch__timeline .is-done{color:#fff}.wl-launch__timeline .is-done span{background:#1ca36f;border-color:#1ca36f}.wl-launch__timeline .is-current{color:#fff}.wl-launch__timeline .is-current span{background:var(--secondary);border-color:var(--secondary);box-shadow:0 0 0 5px rgba(15,159,145,.17)}
.wl-final{display:flex;align-items:center;justify-content:space-between;gap:2rem;margin-top:clamp(1rem,3vw,2rem);margin-bottom:clamp(5rem,9vw,8rem);padding:clamp(1.5rem,4vw,2.8rem);border:1px solid var(--border);border-radius:28px;background:var(--surface);box-shadow:0 20px 55px rgba(17,43,82,.08)}.wl-final h2{margin:.45rem 0 .55rem;font-size:clamp(1.7rem,3.2vw,2.7rem)}.wl-final p{max-width:700px;margin:0;color:var(--muted);line-height:1.7}.home-waitlist-teaser{display:flex;align-items:center;justify-content:space-between;gap:2rem;margin-top:clamp(2rem,5vw,4rem);margin-bottom:clamp(2rem,5vw,4rem);padding:clamp(1.4rem,4vw,2.5rem);border:1px solid var(--border);border-radius:26px;background:linear-gradient(135deg,color-mix(in srgb,var(--secondary) 7%,var(--surface)),var(--surface))}.home-waitlist-teaser h2{margin:.45rem 0 .55rem;font-size:clamp(1.6rem,3vw,2.5rem)}.home-waitlist-teaser p{max-width:700px;margin:0;color:var(--muted);line-height:1.7}.home-waitlist-teaser__actions{display:flex;flex-direction:column;gap:.7rem;flex:0 0 auto}
@media(max-width:950px){.wl-hero{grid-template-columns:1fr}.wl-hero__copy{position:static}.wl-section-head{grid-template-columns:1fr}.wl-slide{grid-template-columns:1fr;min-height:0}.wl-slide__media{min-height:360px}.wl-role-grid,.wl-after__grid{grid-template-columns:1fr}.wl-launch__card{grid-template-columns:1fr}.home-waitlist-teaser{align-items:flex-start;flex-direction:column}.home-waitlist-teaser__actions{width:100%;flex-direction:row}.home-waitlist-teaser__actions a{flex:1;text-align:center}}
@media(max-width:600px){.wl-hero{padding-top:2rem}.wl-hero__copy h1{font-size:clamp(2.35rem,12vw,3.6rem)}.wl-slide__media{min-height:280px}.wl-carousel__nav{top:auto;bottom:-58px;transform:none}.wl-carousel__nav--prev{left:calc(50% - 58px)}.wl-carousel__nav--next{right:calc(50% - 58px)}.wl-carousel__dots{margin-bottom:3.5rem}.wl-final{align-items:flex-start;flex-direction:column}.wl-final .btn-primary{width:100%;text-align:center}.home-waitlist-teaser__actions{flex-direction:column}.home-waitlist-teaser__actions a{width:100%}}

/* v38 — dedicated waitlist anchor */
#waitlist{scroll-margin-top:120px}


/* v39 — full-width dedicated waitlist signup */
.wl-hero--full{
    display:block;
    max-width:1320px;
    padding-top:clamp(2.5rem,6vw,5.5rem);
    padding-bottom:clamp(2.5rem,6vw,5rem);
}
.wl-hero--full .wl-hero__copy{
    position:static;
    max-width:980px;
    margin:0 0 clamp(1.7rem,4vw,3rem);
    padding:0;
}
.wl-hero--full .wl-hero__copy h1{
    max-width:940px;
    font-size:clamp(2.6rem,6vw,5.6rem);
}
.wl-hero--full .wl-hero__lead{
    max-width:820px;
}
.wl-hero--full .wl-proof{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:.75rem;
    margin:1.5rem 0;
}
.wl-hero--full .wl-proof span{
    padding:.8rem .95rem;
    border:1px solid var(--border);
    border-radius:14px;
    background:color-mix(in srgb,var(--surface) 88%,transparent);
}
.wl-hero--full .wl-hero__form{
    width:100%;
}
.wl-hero--full .wl-form-shell{
    width:100%;
    padding:0;
    overflow:hidden;
    border:1px solid color-mix(in srgb,var(--secondary) 24%,var(--border));
    border-radius:30px;
    background:var(--surface);
    box-shadow:0 28px 85px rgba(17,43,82,.12);
}
.wl-hero--full .wl-form-shell__header{
    margin:0;
    padding:1.25rem clamp(1.2rem,3vw,2rem);
    border-bottom:1px solid var(--border);
    background:linear-gradient(135deg,color-mix(in srgb,var(--secondary) 8%,var(--surface)),var(--surface));
}
.wl-hero--full .wl-form-shell__step{
    width:44px;
    height:44px;
    flex:0 0 44px;
}
.wl-hero--full .wl-form-shell__header strong{
    font-size:1.05rem;
}
.wl-hero--full .wl-form-shell__header small{
    max-width:780px;
    font-size:.88rem;
}
/* Remove the old inner card so the Extbase form becomes part of the full shell. */
.wl-hero--full .waitlist-form-wrap{
    max-width:none;
    width:100%;
    margin:0;
    padding:clamp(1.25rem,3vw,2.25rem);
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
}
.wl-hero--full .waitlist-form__count{
    margin:0 0 1.35rem;
    text-align:left;
    font-size:.9rem;
}
.wl-hero--full .waitlist-form__role-options{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:.75rem;
}
.wl-hero--full .waitlist-form__role-option{
    min-height:54px;
    justify-content:center;
    padding:.7rem 1rem;
    border-radius:16px;
    background:color-mix(in srgb,var(--surface) 92%,var(--bg));
    transition:border-color .2s ease,background .2s ease,transform .2s ease;
}
.wl-hero--full .waitlist-form__role-option:hover{
    transform:translateY(-1px);
    border-color:color-mix(in srgb,var(--secondary) 45%,var(--border));
}
.wl-hero--full .waitlist-form input[type="text"],
.wl-hero--full .waitlist-form input[type="email"],
.wl-hero--full .waitlist-form input[type="tel"],
.wl-hero--full .waitlist-form input[type="month"],
.wl-hero--full .waitlist-form input[type="number"],
.wl-hero--full .waitlist-form textarea{
    min-height:52px;
}
.wl-hero--full .waitlist-form__details{
    display:block;
    margin:1rem 0 1.25rem;
    padding:1rem 1.1rem;
    border:1px solid var(--border);
    border-radius:16px;
    background:color-mix(in srgb,var(--surface) 94%,var(--bg));
}
.wl-hero--full .waitlist-form__details summary{
    margin:0;
}
.wl-hero--full .waitlist-form__submit{
    min-height:54px;
    font-size:1rem;
}
.site-footer__waitlist-cta{display:inline-flex;margin-top:1.5rem}
@media(max-width:820px){
    .wl-hero--full .wl-proof{grid-template-columns:1fr}
    .wl-hero--full .waitlist-form__role-options{grid-template-columns:1fr}
    .wl-hero--full .wl-form-shell{border-radius:22px}
}
@media(max-width:560px){
    .wl-hero--full{padding-top:1.75rem}
    .wl-hero--full .wl-hero__copy h1{font-size:clamp(2.3rem,12vw,3.5rem)}
    .wl-hero--full .waitlist-form-wrap{padding:1rem}
    .wl-hero--full .wl-form-shell__header{padding:1rem}
}


/* ==========================================================================
   v40 — full-site responsive pass
   ========================================================================== */

/* Header / navigation */
.site-header-v40,
.site-header {
    position: relative;
    z-index: 100;
}

.site-menu-toggle {
    display: none;
    align-items: center;
    gap: .7rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    padding: .65rem .85rem;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.site-menu-toggle__label {
    font-size: .82rem;
}

.site-menu-toggle__icon {
    display: grid;
    gap: 4px;
}

.site-menu-toggle__icon span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
}

html.is-menu-open .site-menu-toggle__icon span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
html.is-menu-open .site-menu-toggle__icon span:nth-child(2) {
    opacity: 0;
}
html.is-menu-open .site-menu-toggle__icon span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Global defensive layout */
html, body {
    max-width: 100%;
    overflow-x: clip;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

.container,
.page-content,
.content-main {
    width: min(100%, 1200px);
}

input,
select,
textarea,
button {
    max-width: 100%;
}

/* Tables should not break mobile layouts */
.table-responsive,
.data-table,
table {
    max-width: 100%;
}

/* Large typography safety */
h1, h2, h3, p, a, span {
    overflow-wrap: break-word;
}

/* Header breakpoints */
@media (max-width: 1180px) {
    .site-header,
    .site-header-v40 {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .site-header .nav,
    .site-header nav,
    .site-header-v40 nav {
        gap: .8rem;
    }

    .site-header a,
    .site-header-v40 a {
        font-size: .9rem;
    }
}

@media (max-width: 980px) {
    .site-menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    [data-main-nav] {
        position: absolute;
        top: calc(100% + .6rem);
        left: 1rem;
        right: 1rem;
        display: none !important;
        flex-direction: column;
        align-items: stretch !important;
        gap: .25rem !important;
        padding: .75rem;
        border: 1px solid var(--border);
        border-radius: 18px;
        background: var(--surface);
        box-shadow: 0 24px 60px rgba(17,43,82,.14);
        max-height: calc(100vh - 120px);
        overflow-y: auto;
    }

    html.is-menu-open [data-main-nav] {
        display: flex !important;
    }

    [data-main-nav] a {
        display: block;
        width: 100%;
        padding: .8rem .9rem;
        border-radius: 12px;
    }

    [data-main-nav] a:hover,
    [data-main-nav] a.is-active {
        background: color-mix(in srgb, var(--secondary) 8%, var(--surface));
    }

    .site-header .header-actions,
    .site-header-v40 .header-actions {
        margin-left: .5rem;
    }
}

@media (max-width: 760px) {
    .site-header,
    .site-header-v40 {
        min-height: 74px;
    }

    .site-header .logo,
    .site-header-v40 .logo {
        max-width: 150px;
    }

    .site-header .language-switch,
    .site-header-v40 .language-switch {
        transform: scale(.92);
        transform-origin: right center;
    }

    .site-header .btn-primary,
    .site-header-v40 .btn-primary {
        padding: .7rem .9rem;
        font-size: .82rem;
    }
}

@media (max-width: 560px) {
    .site-menu-toggle__label {
        display: none;
    }

    .site-menu-toggle {
        padding: .65rem;
    }

    .site-header .language-switch,
    .site-header-v40 .language-switch {
        display: none;
    }

    .site-header .theme-toggle,
    .site-header-v40 .theme-toggle {
        display: none;
    }

    .site-header .btn-primary,
    .site-header-v40 .btn-primary {
        min-width: auto;
        white-space: nowrap;
    }
}

/* Home + generic page hero safety */
@media (max-width: 900px) {
    .hero,
    .hero-grid,
    .inner-hero,
    .page-hero {
        grid-template-columns: 1fr !important;
    }

    .hero h1,
    .inner-hero h1,
    .page-hero h1 {
        max-width: 100%;
    }
}

/* Dedicated waitlist page */
@media (max-width: 1100px) {
    .wl-hero {
        gap: 2.5rem;
    }
}

@media (max-width: 900px) {
    .wl-hero {
        grid-template-columns: 1fr !important;
    }

    .wl-hero__copy {
        position: static !important;
        max-width: 780px;
    }

    .wl-form-shell {
        padding: 1rem;
        border-radius: 22px;
    }

    .wl-section-head {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }

    .wl-role-grid,
    .wl-after__grid {
        grid-template-columns: 1fr !important;
    }

    .wl-launch__card {
        grid-template-columns: 1fr !important;
    }

    .wl-final {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .wl-hero {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .wl-hero__copy h1 {
        font-size: clamp(2.2rem, 11vw, 3.4rem) !important;
        line-height: .98;
    }

    .wl-form-shell__header {
        align-items: flex-start;
    }

    .wl-slide {
        grid-template-columns: 1fr !important;
    }

    .wl-slide__media {
        min-height: 240px !important;
    }

    .wl-slide__copy {
        padding: 1.2rem !important;
    }

    .wl-carousel__nav {
        width: 40px;
        height: 40px;
    }
}

/* Waitlist form internals */
@media (max-width: 760px) {
    .waitlist-form__grid,
    .waitlist-profile__grid,
    .homie-contact__grid {
        grid-template-columns: 1fr !important;
    }

    .waitlist-form__roles,
    .waitlist-role-options {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: .65rem !important;
    }

    .waitlist-form__roles label,
    .waitlist-role-options label {
        width: 100%;
    }

    .waitlist-form-wrap,
    .waitlist-form,
    .wl-hero__form {
        width: 100%;
        max-width: none;
    }
}

/* Team */
@media (max-width: 900px) {
    .team-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 560px) {
    .team-grid .team-card__head {
        grid-template-columns: 88px minmax(0,1fr) !important;
        gap: .85rem !important;
    }

    .team-grid .team-card__media {
        width: 88px !important;
        border-radius: 14px !important;
    }

    .team-grid .team-card {
        padding: 1rem !important;
    }
}

/* Contact */
@media (max-width: 900px) {
    .homie-contact__intro {
        grid-template-columns: 1fr !important;
    }

    .homie-contact__routes {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (max-width: 560px) {
    .homie-contact__routes {
        grid-template-columns: 1fr !important;
    }

    .homie-contact__sent-actions {
        flex-direction: column;
    }

    .homie-contact__sent-actions a {
        width: 100%;
        text-align: center;
    }
}

/* Dashboard */
@media (max-width: 900px) {
    .ea-dashboard__hero {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .ea-dashboard__role {
        width: 100%;
    }

    .ea-dashboard__stats {
        grid-template-columns: 1fr 1fr !important;
    }

    .ea-dashboard__grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 600px) {
    .ea-dashboard {
        padding-left: .75rem;
        padding-right: .75rem;
    }

    .ea-dashboard__stats {
        grid-template-columns: 1fr !important;
    }

    .ea-dashboard__hero {
        padding: 1.25rem !important;
        border-radius: 20px !important;
    }

    .ea-dashboard__hero h1 {
        font-size: clamp(2rem, 10vw, 3rem) !important;
    }

    .ea-dashboard__footer {
        flex-direction: column;
        align-items: flex-start !important;
    }
}

/* Generic CTA sections */
@media (max-width: 760px) {
    .inner-cta__box,
    .home-waitlist-teaser,
    .wl-final {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .inner-cta__box .btn-primary,
    .home-waitlist-teaser__actions,
    .home-waitlist-teaser__actions a,
    .wl-final .btn-primary {
        width: 100%;
        text-align: center;
    }
}

/* Footer */
@media (max-width: 800px) {
    .site-footer__top,
    .footer-grid,
    .site-footer__bottom {
        grid-template-columns: 1fr !important;
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1rem !important;
    }
}

@media (max-width: 560px) {
    .site-footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
\n\n/* ==========================================================================\n   v42 — Homie product signature + responsive system\n   Visual language aligned with the production application:\n   deep navy, teal signal colour, warm canvas, large soft-radius surfaces.\n   ========================================================================== */\n:root {\n    --primary: #102b55;\n    --secondary: #287f80;\n    --bg: #f8f5ef;\n    --surface: #ffffff;\n    --text: #0d1830;\n    --muted: #596476;\n    --border: #e2ddd4;\n    --max-width: 1240px;\n    --radius: 18px;\n    --shadow-app: 0 24px 70px rgba(16,43,85,.10);\n}\n\nbody {\n    font-size: 16px;\n    line-height: 1.65;\n    -webkit-font-smoothing: antialiased;\n    text-rendering: optimizeLegibility;\n}\n\n.content { min-height: 55vh; }\n\n/* Typography rhythm */\nh1, h2, h3 { color: var(--text); text-wrap: balance; }\np { text-wrap: pretty; }\n.display {\n    font-size: clamp(2.7rem, 5vw, 5.15rem);\n    line-height: .98;\n    letter-spacing: -.055em;\n}\n.title {\n    font-size: clamp(2rem, 3.5vw, 3.25rem);\n    line-height: 1.04;\n    letter-spacing: -.04em;\n}\n.eyebrow {\n    margin-bottom: .85rem;\n    font-size: .76rem;\n    letter-spacing: .105em;\n    font-weight: 900;\n}\n\n/* App-like glass navbar */\n.site-header {\n    position: sticky;\n    top: 0;\n    z-index: 100;\n    background: color-mix(in srgb, var(--surface) 90%, transparent);\n    backdrop-filter: blur(18px) saturate(135%);\n    -webkit-backdrop-filter: blur(18px) saturate(135%);\n    border-bottom: 1px solid color-mix(in srgb, var(--border) 86%, transparent);\n}\n.site-header__inner {\n    min-height: 82px;\n    padding-top: .75rem;\n    padding-bottom: .75rem;\n    gap: clamp(.8rem, 1.7vw, 1.5rem);\n}\n.site-header__logo { flex: 0 0 auto; font-size: 1.55rem; }\n.site-header__logo-icon img { display:block; width:44px; height:44px; border-radius:13px; }\n.main-nav { flex: 1 1 auto; min-width: 0; }\n.main-nav ul { justify-content:center; gap: clamp(.5rem, 1.15vw, 1.15rem); }\n.main-nav a {\n    min-height: 42px;\n    padding: .55rem .4rem;\n    font-size: .88rem;\n    font-weight: 750;\n}\n.site-header__actions { flex:0 0 auto; gap:.65rem; }\n.site-header__actions .btn-primary { min-height:48px; padding:.75rem 1.35rem; box-shadow:0 10px 24px rgba(16,43,85,.14); }\n.lang-switch { padding:.18rem; border:1px solid var(--border); border-radius:999px; background:var(--surface); gap:.1rem; }\n.lang-switch a { border:0; min-width:38px; min-height:38px; display:grid; place-items:center; padding:0; }\n.theme-toggle { flex:0 0 auto; }\n\n/* Real hamburger; consistent at every compact breakpoint */\n.nav-toggle {\n    display:none;\n    width:46px;\n    height:46px;\n    padding:0;\n    align-items:center;\n    justify-content:center;\n    border:1px solid var(--border);\n    border-radius:14px;\n    background:var(--surface);\n    color:var(--primary);\n    box-shadow:0 8px 24px rgba(16,43,85,.06);\n}\n.nav-toggle__bars { display:grid; gap:4px; width:20px; }\n.nav-toggle__bars > span {\n    display:block;\n    width:20px;\n    height:2px;\n    border-radius:999px;\n    background:currentColor;\n    transition:transform .2s ease, opacity .2s ease;\n}\n.nav-toggle[aria-expanded="true"] .nav-toggle__bars > span:nth-child(1) { transform:translateY(6px) rotate(45deg); }\n.nav-toggle[aria-expanded="true"] .nav-toggle__bars > span:nth-child(2) { opacity:0; }\n.nav-toggle[aria-expanded="true"] .nav-toggle__bars > span:nth-child(3) { transform:translateY(-6px) rotate(-45deg); }\n\n/* Buttons match the app's confident pill controls */\n.btn-primary, .btn-secondary { min-height:50px; padding:.78rem 1.35rem; font-weight:850; }\n.btn-primary { box-shadow:0 12px 28px rgba(16,43,85,.14); }\n.btn-primary:hover { opacity:1; transform:translateY(-2px); box-shadow:0 16px 34px rgba(16,43,85,.18); }\n\n/* Home hero signature */\n.hero-v21 {\n    padding: clamp(3rem, 6vw, 6rem) 0 clamp(4rem, 7vw, 7rem);\n    background:\n        radial-gradient(circle at 8% 4%, rgba(250,185,91,.24), transparent 30rem),\n        radial-gradient(circle at 92% 10%, rgba(40,127,128,.16), transparent 34rem),\n        var(--bg);\n}\n.hero-v21__grid {\n    grid-template-columns:minmax(0,1fr) minmax(420px,.9fr);\n    gap:clamp(2.5rem,6vw,6rem);\n}\n.hero-v21__title { max-width:800px; }\n.hero-v21__subtitle { max-width:650px; font-size:clamp(1.05rem,1vw + .8rem,1.25rem); }\n.hero-v21__media { min-height:540px; }\n.hero-video-card {\n    inset:0;\n    border-radius:34px;\n    transform:none;\n    border:1px solid rgba(255,255,255,.65);\n    box-shadow:0 35px 90px rgba(16,43,85,.18);\n}\n.hero-video-card::before {\n    content:"";\n    position:absolute;\n    z-index:2;\n    inset:0;\n    background:linear-gradient(180deg,transparent 55%,rgba(8,28,56,.16));\n    pointer-events:none;\n}\n.hero-v21__floating { border-radius:20px; box-shadow:0 18px 44px rgba(16,43,85,.12); }\n\n/* All subpages use the same product signature */\n.subpage-hero {\n    padding:clamp(3.5rem,7vw,6rem) 0 clamp(3.25rem,6vw,5rem);\n    border-bottom:0;\n    background:\n        radial-gradient(circle at 12% 0, rgba(250,185,91,.22), transparent 25rem),\n        radial-gradient(circle at 88% 0, rgba(40,127,128,.18), transparent 30rem),\n        linear-gradient(180deg,#fbf8f2,var(--bg));\n}\n.subpage-hero__inner { max-width:980px; }\n.subpage-hero .display { max-width:900px; }\n.subpage-hero__lead { max-width:760px; }\n.breadcrumbs { margin-bottom:1.4rem; }\n.inner-visual-wrap { margin-top:-1.7rem; position:relative; z-index:2; }\n.prose-card {\n    border-radius:26px;\n    border-color:color-mix(in srgb,var(--border) 86%,transparent);\n    box-shadow:var(--shadow-app);\n}\n.page-content { max-width:980px; }\n.page-content .content-main { max-width:780px; margin-inline:auto; }\n.page-content .content-main p { line-height:1.8; }\n\n/* Card language across the site */\n.card, .team-card, .ea-panel, .ea-stat, .homie-contact__form-card, .wl-role-card, .wl-form-shell {\n    border-color:color-mix(in srgb,var(--border) 90%,transparent);\n    box-shadow:0 18px 50px rgba(16,43,85,.075);\n}\n.card, .team-card, .ea-panel, .ea-stat, .wl-role-card { border-radius:22px; }\n\n/* Footer: strong navy product ending */\n.footer-cta {\n    margin-bottom:0;\n    max-width:var(--max-width);\n    border-radius:28px 28px 0 0;\n    background:linear-gradient(125deg,var(--primary),color-mix(in srgb,var(--primary) 76%,var(--secondary)));\n    color:#fff;\n    padding:clamp(2rem,5vw,3.6rem);\n}\n.footer-cta h2 { color:#fff; }\n.footer-cta .muted { color:rgba(255,255,255,.75); }\n.footer-cta .btn-primary { background:#fff; color:var(--primary); }\n.site-footer {\n    border-top:0;\n    padding:clamp(3rem,6vw,5rem) 0 1.5rem;\n    background:#0c2347;\n    color:rgba(255,255,255,.66);\n}\n.site-footer .site-header__logo,\n.site-footer .site-header__logo-text,\n.site-footer__group h4 { color:#fff; }\n.site-footer__group a { color:rgba(255,255,255,.68); }\n.site-footer__group a:hover { color:#fff; }\n.site-footer__top { display:grid; grid-template-columns:minmax(260px,1.25fr) minmax(280px,.75fr); gap:clamp(2rem,6vw,6rem); }\n.site-footer__groups { min-width:0; grid-template-columns:repeat(2,minmax(0,1fr)); gap:2rem; }\n.site-footer__bottom { border-color:rgba(255,255,255,.12); }\n\n/* Compact / tablet navigation */\n@media (max-width: 1024px) {\n    html.nav-open { overflow:hidden; }\n    .site-header__inner { min-height:74px; flex-wrap:nowrap; }\n    .nav-toggle { display:inline-flex; order:3; }\n    .site-header__actions { order:2; margin-left:auto; }\n    .main-nav {\n        display:none;\n        position:absolute;\n        top:calc(100% + 1px);\n        left:0;\n        right:0;\n        width:100%;\n        max-height:calc(100vh - 76px);\n        overflow:auto;\n        padding:1rem max(1rem, calc((100vw - var(--max-width))/2 + 1.5rem)) 1.4rem;\n        border-top:1px solid var(--border);\n        background:color-mix(in srgb,var(--surface) 97%,transparent);\n        box-shadow:0 25px 50px rgba(16,43,85,.12);\n        backdrop-filter:blur(18px);\n    }\n    .main-nav.is-open { display:block; }\n    .main-nav ul { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.5rem; }\n    .main-nav a { width:100%; min-height:48px; padding:.75rem .9rem; border-radius:13px; }\n    .main-nav a:hover, .main-nav .is-active a { background:rgba(40,127,128,.08); }\n    .main-nav a::after { display:none; }\n    .hero-v21__grid { grid-template-columns:1fr; }\n    .hero-v21__copy { max-width:820px; }\n    .hero-v21__media { width:100%; max-width:820px; min-height:470px; margin-inline:auto; }\n}\n\n@media (max-width: 760px) {\n    .container, .site-header__inner, .site-footer__inner { padding-left:1rem; padding-right:1rem; }\n    .site-header__inner { gap:.55rem; }\n    .site-header__logo-text { font-size:1.3rem; }\n    .site-header__logo-icon img { width:40px; height:40px; }\n    .site-header__actions { gap:.4rem; }\n    .site-header__actions .btn-primary { min-height:44px; padding:.65rem .9rem; font-size:.82rem; }\n    .lang-switch { display:none; }\n    .theme-toggle { width:44px; height:44px; }\n    .main-nav ul { grid-template-columns:1fr; }\n    .hero-v21 { padding-top:2.4rem; }\n    .hero-v21__media { min-height:380px; }\n    .hero-v21__actions { display:grid; grid-template-columns:1fr; }\n    .hero-v21__actions > * { width:100%; }\n    .hero-v21__proof { display:grid; gap:.45rem; }\n    .subpage-hero { padding-top:2.8rem; }\n    .subpage-hero .display { font-size:clamp(2.45rem,11vw,3.7rem); }\n    .site-footer__top { grid-template-columns:1fr; }\n    .site-footer__groups { grid-template-columns:repeat(2,minmax(0,1fr)); }\n    .footer-cta { margin-left:1rem; margin-right:1rem; border-radius:24px; }\n}\n\n@media (max-width: 480px) {\n    .site-header__logo-text { display:none; }\n    .site-header__actions .btn-primary { padding-inline:.78rem; }\n    .theme-toggle { display:none; }\n    .nav-toggle { width:44px; height:44px; border-radius:13px; }\n    .display { font-size:clamp(2.5rem,13vw,3.55rem); }\n    .title { font-size:clamp(1.8rem,9vw,2.5rem); }\n    .hero-v21__media { min-height:310px; }\n    .hero-video-card { border-radius:24px; }\n    .site-footer__groups { grid-template-columns:1fr; }\n    .mobile-waitlist-cta { left:.75rem; right:.75rem; bottom:.75rem; }\n}\n

/* ==========================================================================
   v43 — final sticky mobile navbar fix
   ========================================================================== */

/* Sticky means sticky on every frontend viewport. */
.site-header {
    position: sticky !important;
    top: 0 !important;
    left: 0;
    right: 0;
    z-index: 1000 !important;
    width: 100%;
    padding: 0 !important;
    background: color-mix(in srgb, var(--surface) 94%, transparent);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.site-header__inner {
    position: relative;
    width: min(100% - 2rem, var(--max-width));
    max-width: var(--max-width);
    min-height: 76px;
    margin-inline: auto;
    padding: .65rem 0;
}

/* Desktop only: mobile CTA lives inside the opened menu. */
.main-nav__mobile-waitlist {
    display: none;
}

/* Ensure the hamburger is made from visible CSS bars, not a font glyph. */
.nav-toggle {
    appearance: none;
    -webkit-appearance: none;
}

.nav-toggle__bars {
    display: flex !important;
    width: 21px;
    height: 16px;
    flex-direction: column;
    justify-content: space-between;
    gap: 0 !important;
}

.nav-toggle__bars > span {
    display: block !important;
    width: 21px !important;
    height: 2px !important;
    min-height: 2px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 99px;
    background: currentColor !important;
    opacity: 1;
    transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars > span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars > span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars > span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1024px) {
    html.nav-open,
    html.nav-open body {
        overflow: hidden;
    }

    .site-header__inner {
        display: flex;
        flex-wrap: nowrap !important;
        align-items: center;
        justify-content: flex-start;
        gap: .55rem;
        min-height: 70px;
        padding: .55rem 0;
    }

    .site-header__logo {
        order: 1;
        flex: 0 1 auto;
        min-width: 0;
        margin-right: auto;
    }

    .site-header__logo-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        border-radius: 12px;
    }

    .site-header__logo-icon img {
        width: 37px;
        height: 37px;
    }

    .site-header__logo-text {
        font-size: 1.28rem;
        white-space: nowrap;
    }

    /* EN/FR remains visible in the compact header. */
    .site-header__actions {
        order: 2;
        display: flex !important;
        width: auto !important;
        flex: 0 0 auto;
        align-items: center;
        gap: .4rem;
        margin: 0 !important;
        padding: 0 !important;
        border: 0;
    }

    .site-header__actions .lang-switch {
        display: flex !important;
        flex: 0 0 auto;
        margin: 0;
        padding: .14rem;
        gap: 0;
    }

    .site-header__actions .lang-switch a,
    .site-header__actions .lang-switch .is-disabled {
        min-width: 34px;
        width: 34px;
        min-height: 34px;
        height: 34px;
        padding: 0;
        font-size: .82rem;
    }

    /* Desktop CTA and theme button are removed from compact header.
       Join waitlist is rendered inside the opened navigation instead. */
    .site-header__actions > .btn-primary,
    .site-header__actions > .theme-toggle {
        display: none !important;
    }

    .nav-toggle {
        order: 3;
        display: inline-flex !important;
        flex: 0 0 44px;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px;
        min-height: 44px;
        margin: 0 !important;
        padding: 0 !important;
        align-items: center;
        justify-content: center;
        color: var(--primary);
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 13px;
        box-shadow: 0 7px 20px rgba(16, 43, 85, .07);
    }

    /* Dropdown is anchored directly under the sticky header. */
    .main-nav {
        position: fixed !important;
        z-index: 999;
        top: 70px !important;
        left: 0 !important;
        right: 0 !important;
        bottom: auto;
        display: none !important;
        width: 100% !important;
        max-width: none !important;
        max-height: calc(100dvh - 70px);
        margin: 0 !important;
        padding: .85rem 1rem calc(1rem + env(safe-area-inset-bottom)) !important;
        overflow-y: auto;
        border: 0 !important;
        border-top: 1px solid var(--border) !important;
        border-radius: 0 !important;
        background: color-mix(in srgb, var(--surface) 98%, transparent);
        box-shadow: 0 24px 45px rgba(16, 43, 85, .13);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    .main-nav.is-open {
        display: block !important;
    }

    .main-nav__list,
    .main-nav ul {
        display: grid !important;
        width: min(100%, 720px);
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: .45rem !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    .main-nav__item,
    .main-nav__mobile-waitlist {
        width: 100%;
    }

    .main-nav__item > a {
        display: flex;
        width: 100% !important;
        min-height: 48px;
        align-items: center;
        padding: .75rem .9rem !important;
        border-radius: 12px;
        font-size: .94rem !important;
        font-weight: 750;
        white-space: normal;
    }

    .main-nav__item > a:hover,
    .main-nav__item.is-active > a {
        background: color-mix(in srgb, var(--secondary) 9%, var(--surface));
        color: var(--primary);
    }

    .main-nav__mobile-waitlist {
        display: block !important;
        grid-column: 1 / -1;
        margin-top: .35rem;
    }

    .main-nav__mobile-waitlist .btn-primary {
        display: flex !important;
        width: 100%;
        min-height: 50px;
        padding: .8rem 1rem !important;
        color: var(--primary-contrast) !important;
        font-size: .95rem !important;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .site-header__inner {
        width: calc(100% - 1.5rem);
        min-height: 66px;
        gap: .4rem;
        padding: .45rem 0;
    }

    .site-header__logo {
        gap: .5rem;
    }

    .site-header__logo-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .site-header__logo-icon img {
        width: 35px;
        height: 35px;
    }

    .site-header__logo-text {
        display: inline !important;
        font-size: 1.18rem;
    }

    .nav-toggle {
        flex-basis: 42px;
        width: 42px !important;
        height: 42px !important;
        min-width: 42px;
        min-height: 42px;
    }

    .site-header__actions .lang-switch a,
    .site-header__actions .lang-switch .is-disabled {
        width: 32px;
        min-width: 32px;
        height: 32px;
        min-height: 32px;
        font-size: .78rem;
    }

    .main-nav {
        top: 66px !important;
        max-height: calc(100dvh - 66px);
        padding-inline: .75rem !important;
    }

    .main-nav__list,
    .main-nav ul {
        grid-template-columns: 1fr !important;
        width: 100%;
    }

    /* Prevent a long hero title from sitting under the sticky bar. */
    .hero-v21,
    .subpage-hero,
    .wl-hero--full {
        scroll-margin-top: 76px;
    }
}

@media (max-width: 390px) {
    .site-header__inner {
        width: calc(100% - 1rem);
        gap: .3rem;
    }

    .site-header__logo-text {
        font-size: 1.05rem;
    }

    .site-header__logo-icon {
        width: 37px;
        height: 37px;
        flex-basis: 37px;
    }

    .site-header__logo-icon img {
        width: 33px;
        height: 33px;
    }

    .site-header__actions .lang-switch a,
    .site-header__actions .lang-switch .is-disabled {
        width: 29px;
        min-width: 29px;
        height: 29px;
        min-height: 29px;
        font-size: .73rem;
    }

    .nav-toggle {
        flex-basis: 39px;
        width: 39px !important;
        height: 39px !important;
        min-width: 39px;
        min-height: 39px;
        border-radius: 11px;
    }
}

@media (max-width: 340px) {
    .site-header__logo-text {
        display: none !important;
    }
}

/* Progressive sticky fallback for browsers without backdrop-filter. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .site-header,
    .main-nav {
        background: var(--surface);
    }
}


/* ==========================================================================
   v44 — reliable fixed/sticky header
   --------------------------------------------------------------------------
   position: sticky can stop working when any ancestor uses overflow/transform.
   The header is therefore fixed to the viewport, which gives the same UX
   reliably across all pages and mobile browsers.
   ========================================================================== */

:root {
    --homie-header-height: 76px;
}

html {
    scroll-padding-top: calc(var(--homie-header-height) + 12px);
}

body {
    padding-top: var(--homie-header-height) !important;
}

/* Override every previous header positioning rule. */
.site-header {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    bottom: auto !important;
    z-index: 99999 !important;
    width: 100% !important;
    margin: 0 !important;
    transform: none !important;
    translate: none !important;
    isolation: isolate;
}

/* Prevent wrappers/layout rules from clipping the fixed header or menu. */
body,
.site-wrapper,
.page-wrapper,
main {
    overflow-x: clip;
}

.site-header,
.site-header__inner {
    overflow: visible !important;
}

/* Anchor jumps (#waitlist etc.) should land below the fixed header. */
[id] {
    scroll-margin-top: calc(var(--homie-header-height) + 12px);
}

@media (max-width: 1024px) {
    :root {
        --homie-header-height: 70px;
    }

    body {
        padding-top: var(--homie-header-height) !important;
    }

    .main-nav {
        top: var(--homie-header-height) !important;
        max-height: calc(100dvh - var(--homie-header-height)) !important;
    }
}

@media (max-width: 640px) {
    :root {
        --homie-header-height: 66px;
    }

    body {
        padding-top: var(--homie-header-height) !important;
    }

    .main-nav {
        top: var(--homie-header-height) !important;
        max-height: calc(100dvh - var(--homie-header-height)) !important;
    }
}

/* iOS safe-area support. */
@supports (padding-top: env(safe-area-inset-top)) {
    .site-header {
        padding-top: env(safe-area-inset-top) !important;
    }

    body {
        padding-top: calc(var(--homie-header-height) + env(safe-area-inset-top)) !important;
    }

    .main-nav {
        top: calc(var(--homie-header-height) + env(safe-area-inset-top)) !important;
        max-height: calc(100dvh - var(--homie-header-height) - env(safe-area-inset-top)) !important;
    }
}


/* ==========================================================================\n   v45 — mobile content overlap + iPhone SE team fix\n   ========================================================================== */

/* Join waitlist already exists in the mobile hamburger menu.\n   Disable the old fixed footer CTA so it can never cover cards/content. */
.mobile-waitlist-cta {
    display: none !important;
    position: static !important;
}

@media (max-width: 560px) {
    /* Legacy v34 added bottom padding for the fixed CTA; it is no longer needed. */
    body {
        padding-bottom: 0 !important;
    }

    .team-section {
        padding-top: 1.25rem;
        padding-bottom: 2rem;
    }

    .team-section__header {
        margin-bottom: .9rem;
    }

    .team-grid {
        gap: .9rem !important;
    }

    .team-grid .team-card {
        min-height: 0 !important;
        padding: .85rem !important;
        border-radius: 18px !important;
    }

    .team-grid .team-card__head {
        grid-template-columns: 72px minmax(0, 1fr) !important;
        gap: .7rem !important;
        align-items: center !important;
    }

    .team-grid .team-card__media {
        width: 72px !important;
        height: 72px !important;
        aspect-ratio: 1 / 1;
        border-radius: 13px !important;
    }

    .team-grid .team-card__identity h3 {
        margin-bottom: .38rem;
        font-size: 1.05rem !important;
        line-height: 1.18;
        overflow-wrap: anywhere;
    }

    .team-grid .team-card__index {
        margin-bottom: .22rem;
        font-size: .62rem;
    }

    .team-grid .team-card__role {
        min-height: 26px;
        padding: .25rem .5rem;
        font-size: .65rem;
    }

    .team-grid .team-card__divider {
        margin: .8rem 0 .72rem !important;
    }

    .team-grid .team-card__bio {
        font-size: .86rem !important;
        line-height: 1.58 !important;
    }
}

@media (max-width: 390px) {
    .team-grid .team-card {
        padding: .75rem !important;
    }

    .team-grid .team-card__head {
        grid-template-columns: 64px minmax(0, 1fr) !important;
        gap: .62rem !important;
    }

    .team-grid .team-card__media {
        width: 64px !important;
        height: 64px !important;
    }

    .team-grid .team-card__identity h3 {
        font-size: .98rem !important;
    }

    .team-grid .team-card__bio {
        font-size: .82rem !important;
        line-height: 1.52 !important;
    }
}

@media (max-width: 340px) {
    .team-grid .team-card__head {
        grid-template-columns: 58px minmax(0, 1fr) !important;
    }

    .team-grid .team-card__media {
        width: 58px !important;
        height: 58px !important;
    }
}


/* ==========================================================================
   v46 — Team mobile redesign + scroll-to-top + final responsive polish
   ========================================================================== */

/* ---------- Global rhythm ---------- */
section {
    scroll-margin-top: calc(var(--homie-header-height, 76px) + 18px);
}

.content {
    overflow: hidden;
}

@media (max-width: 760px) {
    body {
        font-size: 15px;
        line-height: 1.65;
    }

    .container,
    .page-content,
    .team-section,
    .contact-page-renderer {
        width: 100%;
        max-width: 100%;
    }

    .eyebrow {
        font-size: .7rem;
        letter-spacing: .13em;
    }

    .prose-card,
    .inner-cta__box,
    .ea-panel,
    .ea-stat,
    .homie-contact__form-card,
    .wl-form-shell {
        border-radius: 20px !important;
    }

    .btn-primary,
    .btn-secondary {
        min-height: 48px;
    }
}

/* ---------- Team: consistent desktop/tablet styling ---------- */
.team-section {
    width: min(100%, 1180px);
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4.5rem) clamp(1rem, 3vw, 1.5rem);
}

.team-section__header {
    display: flex;
    align-items: center;
    gap: .85rem;
    margin-bottom: 1.35rem;
}

.team-section__header::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--secondary) 35%, transparent), transparent);
}

.team-section__header .eyebrow {
    margin: 0;
    color: var(--secondary);
}

.team-grid--profiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.team-grid--profiles .team-card {
    position: relative;
    overflow: hidden;
    min-height: 0 !important;
    padding: 1.35rem !important;
    border: 1px solid color-mix(in srgb, var(--border) 86%, transparent);
    border-radius: 24px !important;
    background:
        radial-gradient(circle at 100% 0, color-mix(in srgb, var(--secondary) 8%, transparent), transparent 42%),
        var(--surface);
    box-shadow: 0 16px 44px rgba(16, 43, 85, .07);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.team-grid--profiles .team-card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--secondary) 28%, var(--border));
    box-shadow: 0 24px 58px rgba(16, 43, 85, .11);
}

.team-grid--profiles .team-card__accent {
    top: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    left: 0 !important;
    width: 100% !important;
    height: 3px !important;
    border-radius: 0 !important;
    background: linear-gradient(90deg, var(--secondary), #f7b75b) !important;
}

.team-grid--profiles .team-card__head {
    grid-template-columns: 112px minmax(0, 1fr) !important;
    gap: 1.15rem !important;
    align-items: center !important;
}

.team-grid--profiles .team-card__media {
    width: 112px !important;
    height: 112px !important;
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--border) 82%, transparent);
    border-radius: 20px !important;
    background: var(--bg);
}

.team-grid--profiles .team-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-grid--profiles .team-card__index {
    display: inline-flex;
    margin-bottom: .3rem;
    color: var(--secondary);
    font-size: .67rem;
    font-weight: 900;
    letter-spacing: .14em;
}

.team-grid--profiles .team-card__identity h3 {
    margin: 0 0 .55rem;
    font-size: clamp(1.2rem, 2vw, 1.55rem) !important;
    line-height: 1.12;
    letter-spacing: -.025em;
}

.team-grid--profiles .team-card__role {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: .32rem .65rem;
    border: 1px solid color-mix(in srgb, var(--secondary) 24%, var(--border));
    border-radius: 999px;
    background: color-mix(in srgb, var(--secondary) 7%, var(--surface));
    color: var(--secondary);
    font-size: .68rem;
    font-weight: 850;
    line-height: 1.2;
}

.team-grid--profiles .team-card__divider {
    margin: 1.15rem 0 .95rem !important;
    border-color: color-mix(in srgb, var(--border) 76%, transparent);
}

.team-grid--profiles .team-card__bio {
    color: var(--muted);
    font-size: .92rem !important;
    line-height: 1.7 !important;
}

/* ---------- Team: mobile redesign ---------- */
@media (max-width: 900px) {
    .team-grid--profiles {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .team-grid--profiles .team-card {
        max-width: 720px;
        margin-inline: auto;
    }
}

@media (max-width: 560px) {
    .team-section {
        padding: 1.5rem .9rem 2.75rem !important;
    }

    .team-section__header {
        margin-bottom: 1rem !important;
    }

    .team-grid--profiles {
        gap: .85rem !important;
    }

    .team-grid--profiles .team-card {
        width: 100%;
        padding: 1rem !important;
        border-radius: 20px !important;
        box-shadow: 0 12px 32px rgba(16, 43, 85, .065);
    }

    .team-grid--profiles .team-card:hover {
        transform: none;
    }

    .team-grid--profiles .team-card__head {
        grid-template-columns: 78px minmax(0, 1fr) !important;
        gap: .85rem !important;
        align-items: center !important;
    }

    .team-grid--profiles .team-card__media {
        width: 78px !important;
        height: 78px !important;
        border-radius: 16px !important;
    }

    .team-grid--profiles .team-card__identity h3 {
        margin-bottom: .42rem;
        font-size: 1.08rem !important;
    }

    .team-grid--profiles .team-card__index {
        margin-bottom: .2rem;
        font-size: .59rem;
    }

    .team-grid--profiles .team-card__role {
        min-height: 27px;
        max-width: 100%;
        padding: .27rem .55rem;
        font-size: .62rem;
        white-space: normal;
    }

    .team-grid--profiles .team-card__divider {
        margin: .8rem 0 .7rem !important;
    }

    .team-grid--profiles .team-card__bio {
        font-size: .84rem !important;
        line-height: 1.62 !important;
    }

    .team-grid--profiles .team-card__bio p {
        margin: 0 !important;
    }
}

@media (max-width: 375px) {
    .team-section {
        padding-inline: .75rem !important;
    }

    .team-grid--profiles .team-card {
        padding: .85rem !important;
    }

    .team-grid--profiles .team-card__head {
        grid-template-columns: 70px minmax(0, 1fr) !important;
        gap: .7rem !important;
    }

    .team-grid--profiles .team-card__media {
        width: 70px !important;
        height: 70px !important;
        border-radius: 14px !important;
    }

    .team-grid--profiles .team-card__identity h3 {
        font-size: 1rem !important;
    }

    .team-grid--profiles .team-card__bio {
        font-size: .81rem !important;
        line-height: 1.57 !important;
    }
}

@media (max-width: 330px) {
    .team-grid--profiles .team-card__head {
        grid-template-columns: 62px minmax(0, 1fr) !important;
    }

    .team-grid--profiles .team-card__media {
        width: 62px !important;
        height: 62px !important;
    }
}

/* ---------- Scroll-to-top button ---------- */
.scroll-to-top {
    position: fixed;
    right: clamp(1rem, 2.4vw, 2rem);
    bottom: clamp(1rem, 2.4vw, 2rem);
    z-index: 9000;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(16, 43, 85, .10);
    border-radius: 50%;
    background: #f7b75b;
    color: #102b55;
    box-shadow: 0 14px 34px rgba(16, 43, 85, .18);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(.92);
    transition:
        opacity .2s ease,
        visibility .2s ease,
        transform .2s ease,
        box-shadow .2s ease,
        background-color .2s ease;
}

.scroll-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-to-top:hover {
    background: #ffc66e;
    transform: translateY(-3px) scale(1);
    box-shadow: 0 18px 42px rgba(16, 43, 85, .22);
}

.scroll-to-top:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--secondary) 45%, transparent);
    outline-offset: 4px;
}

.scroll-to-top__icon {
    position: relative;
    display: block;
    width: 15px;
    height: 15px;
    border-top: 4px solid currentColor;
    border-left: 4px solid currentColor;
    border-radius: 2px 0 0 0;
    transform: translateY(3px) rotate(45deg);
}

@media (max-width: 560px) {
    .scroll-to-top {
        right: .9rem;
        bottom: .9rem;
        width: 52px;
        height: 52px;
        box-shadow: 0 10px 28px rgba(16, 43, 85, .18);
    }

    .scroll-to-top__icon {
        width: 13px;
        height: 13px;
        border-width: 3px 0 0 3px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-to-top,
    .team-grid--profiles .team-card {
        transition: none !important;
    }
}
