/* Nudge-inspired public home. Scoped to keep account and information pages independent. */
.landing-home {
    --landing-ink: #26251e;
    --landing-muted: #625f50;
    --landing-forest: #34382b;
    --landing-paper: #fcfdfb;
    --landing-line: #deded4;
    background: linear-gradient(#e5e3d7, #e5e3d7) top / 100% 76px no-repeat var(--landing-paper);
    padding-top: 76px;
}
.landing-home ::selection { background: #dcd9c9; color: #26251e; }
.landing-home h1, .landing-home h2, .landing-home h3 {
    font-family: "Google Sans", "Segoe UI", sans-serif;
    font-weight: 500;
    letter-spacing: -.035em;
    text-wrap: balance;
}
.landing-home em { color: inherit; font-weight: inherit; }
/* Homepage navbar uses a solid background without backdrop blur. */
.landing-home .landing-header { border-bottom: 1px solid #e8e5dd; }
.landing-home .landing-header::before {
    inset: 0;
    background: #f9f6f0;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    -webkit-mask-image: none;
    mask-image: none;
}
.landing-home .landing-header-login { border-radius: 999px; background: #414f3b; color: #fff; font-weight: 500; }
.landing-home .landing-header-login,
.landing-home .landing-nav a { transition: background-color 180ms ease-out, color 180ms ease-out; }
@media (min-width: 600px) {
    .landing-home .landing-brand { font-size: 1.05rem; gap: .5rem; }
    .landing-home .landing-brand-mark { width: 2.25rem; height: 2.25rem; }
    .landing-home .landing-header-login { font-size: .875rem; padding-inline: 1.25rem; }
    .landing-home .landing-header-actions { gap: 1.75rem; }
    .landing-home .landing-operator-link { font-size: .875rem; font-weight: 500; }
}
@media (min-width: 1200px) {
    .landing-home .container.landing-header-inner { width: min(100% - 4rem, 1240px); min-height: 76px; }
    .landing-home .landing-nav { gap: .5rem; }
    .landing-home .landing-nav a { min-height: 44px; padding: .6rem 1rem; font-size: .875rem; font-weight: 500; }
}
.landing-home .landing-header-login:hover { background: #343f2f; color: #fff; }
.landing-home .landing-menu-toggle[aria-expanded="true"] { position: relative; }
.landing-home .landing-menu-toggle[aria-expanded="true"] i { display: none; }
.landing-home .landing-menu-toggle[aria-expanded="true"]::before,
.landing-home .landing-menu-toggle[aria-expanded="true"]::after { position: absolute; width: 22px; height: 2px; background: currentColor; content: ""; }
.landing-home .landing-menu-toggle[aria-expanded="true"]::before { transform: rotate(45deg); }
.landing-home .landing-menu-toggle[aria-expanded="true"]::after { transform: rotate(-45deg); }
.landing-home .landing-header:has(.landing-mobile-menu:not([hidden])) {
    inset: 0;
    height: 100dvh;
    width: 100%;
    display: flex;
    flex-direction: column;
    background: #26251e;
    color: #fcfdfb;
}
.landing-home .landing-header:has(.landing-mobile-menu:not([hidden])) .landing-brand,
.landing-home .landing-header:has(.landing-mobile-menu:not([hidden])) .landing-brand-test,
.landing-home .landing-menu-toggle[aria-expanded="true"] { color: #fcfdfb; }
.landing-home .landing-menu-toggle[aria-expanded="true"]:hover { background: #464738; }
.landing-home .container.landing-mobile-menu:not([hidden]) {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex: 1;
    min-height: 0;
    width: calc(100% - 2.5rem);
    max-height: none;
    padding: 2rem 0 max(1rem, env(safe-area-inset-bottom));
    overflow-y: auto;
    background: transparent;
}
.landing-home .landing-mobile-links { margin-top: auto; }
.landing-home .landing-mobile-links a { border: 0; color: #fcfdfb; font-size: clamp(1.5rem, 6vw, 2rem); font-weight: 400; min-height: 48px; padding-block: .25rem; line-height: 1.3; }
.landing-home .landing-mobile-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem 1.5rem; margin-top: 2.5rem; color: #b4b2a3; font-size: .75rem; }
.landing-home .landing-mobile-footer > div { display: flex; gap: 1.5rem; }
.landing-home .landing-mobile-footer a { border: 0; color: #b4b2a3; min-height: 44px; padding: .5rem 0; font-size: .75rem; font-weight: 400; }
.landing-home .landing-header:has(.landing-mobile-menu:not([hidden])) a:focus-visible,
.landing-home .landing-header:has(.landing-mobile-menu:not([hidden])) button:focus-visible { outline-color: #dcd9c9; }
.landing-home .landing-header:has(.landing-mobile-menu:not([hidden]))::before { content: none; }
.landing-home .landing-header:has(.landing-mobile-menu:not([hidden])) .landing-header-login,
.landing-home .landing-header:has(.landing-mobile-menu:not([hidden])) .landing-operator-link { display: none; }
@media (max-width: 599.98px) {
    .landing-home .landing-header-login { font-size: .75rem; padding-inline: .65rem; }
}
.landing-home .landing-hero {
    background: linear-gradient(180deg, #e5e3d7 0%, #f3f2eb 70%, #fcfdfb 100%);
}
.landing-home .landing-hero-grid { padding-block: 4.5rem 2.5rem; }
.landing-home .landing-hero-copy { max-width: 56rem; }
.landing-home .landing-kicker {
    display: inline-flex;
    padding: .4rem .85rem;
    border-radius: 99px;
    background: #f7f6ef;
    color: #49493c;
    font-size: .78rem;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 400;
    margin-bottom: 1.3rem;
}
.landing-home .landing-kicker i { color: #a44e23; font-size: 1rem; }
.landing-home .landing-hero h1 {
    font-size: clamp(2.5rem, 5.7vw, 5.25rem);
    line-height: 1.08;
    letter-spacing: -.04em;
    margin-bottom: 1.3rem;
}
.landing-home .landing-lead { max-width: 37rem; font-size: 1.1rem; line-height: 1.55; }
.landing-home .landing-button {
    min-height: 48px;
    border-radius: 99px;
    padding: .9rem 1.3rem;
    font-size: .9rem;
    font-weight: 500;
    line-height: 1.3;
    justify-content: center;
    transition: background-color 180ms ease-out, color 180ms ease-out;
}
.landing-home .landing-button-label { line-height: 1.3; }
.landing-home .landing-button-primary { background: #26251e; }
.landing-home .landing-button-primary:hover { background: #464738; }
.landing-home .landing-button-secondary { background: transparent; border-color: #bcbcad; }
.landing-home .landing-button-secondary:hover { background: #e0dfd2; }
.landing-home .landing-hero-note { margin-top: 1.3rem; font-size: .8rem; }
.landing-home-art { margin: 0; width: 100%; }
.landing-home-art img {
    display: block;
    width: 100%;
    height: max(210px, 33.333vw);
    object-fit: cover;
    object-position: 55% center;
}
.landing-home .landing-values { padding-block: 4.5rem; background: var(--landing-paper); }
.landing-home .landing-values-grid { gap: 2rem; }
.landing-home .landing-values-intro h2 { max-width: 22ch; font-size: clamp(2rem, 3.4vw, 3rem); }
.landing-home .landing-value { border-top: 1px solid var(--landing-line); padding-top: 1.5rem; }
.landing-home .landing-value > i { color: #676c53; }
.landing-home .landing-value h3 { font-size: 1.2rem; }
.landing-home .landing-value p { font-size: 1rem; line-height: 1.65; }
.landing-home .landing-process { background: #f3f2eb; padding-block: 4rem; }
.landing-home .landing-section-intro { text-align: left; max-width: 43rem; margin: 0 0 2.5rem; }
.landing-home h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1.14; }
.landing-home .landing-section-intro > p:last-child { max-width: 57ch; font-size: 1.05rem; }
.landing-home .landing-process-list { gap: 2rem; }
.landing-home .landing-process-list li { padding: 1.5rem 0 0; background: transparent; border: 0; border-top: 1px solid #c7c7b7; border-radius: 0; }
.landing-home .landing-step-number {
    background: transparent;
    width: auto;
    height: auto;
    display: block;
    color: #686b55;
    font-family: inherit;
    font-size: .9rem;
    font-variant-numeric: tabular-nums;
    margin-bottom: 1.4rem;
}
.landing-home .landing-process-list li:nth-child(n) .landing-step-number { background: transparent; color: #686b55; }
.landing-home .landing-process-list h3 { font-size: 1.25rem; }
.landing-home .landing-process-list p { font-size: 1rem; line-height: 1.65; }
.landing-home .landing-features { padding-block: 4.5rem; }
.landing-home .landing-feature-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; }
.landing-home .landing-feature-card { display: grid; border: 0; border-radius: 0; background: transparent; gap: 1.5rem; overflow: visible; }
.landing-home .landing-feature-card > img { border-radius: 16px; background: #f3f2eb; }
.landing-home .landing-feature-card > .landing-feature-preview { border-radius: 16px; background: #f3f2eb; object-fit: contain; }
.landing-home .landing-feature-copy { padding: 0; align-self: center; }
.landing-home .landing-feature-copy h3 { font-size: clamp(1.5rem, 2.7vw, 2.2rem); line-height: 1.18; margin-bottom: 1rem; }
.landing-home .landing-feature-copy p { font-size: 1rem; max-width: 48ch; line-height: 1.7; }
.landing-home .landing-operator { padding-block: 0 4rem; }
.landing-home .landing-operator-inner { border-radius: 16px; background: #e5e6d9; color: var(--landing-ink); }
.landing-home .landing-operator h2 { color: var(--landing-ink); font-size: clamp(1.9rem, 3vw, 2.8rem); }
.landing-home .landing-operator em { color: inherit; }
.landing-home .landing-operator-copy { align-items: flex-start; text-align: left; }
.landing-home .landing-operator-copy > p, .landing-home .landing-operator-email { color: #525744; }
.landing-home .landing-operator-email { min-height: 44px; display: inline-flex; align-items: center; margin-top: .5rem; }
.landing-home .landing-operator-email:hover { color: #26251e; }
.landing-home .landing-button-light { background: #26251e; color: #fff; }
.landing-home .landing-button-light:hover { background: #464738; }
.landing-home .landing-footer { background: #f3f2eb; padding-block: 3.5rem 1.5rem; }
.landing-home .landing-footer-intro h2 { font-size: clamp(2rem, 3vw, 2.8rem); }
.landing-home .landing-footer-column a { min-height: 44px; display: flex; align-items: center; }
.landing-home a:focus-visible, .landing-home button:focus-visible { outline: 3px solid #8c4b27; outline-offset: 4px; }
@media (min-width: 700px) {
    .landing-home .landing-hero-grid { padding-block: 6rem 3.5rem; }
    .landing-home .landing-values-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .landing-home .landing-values-intro { grid-column: 1 / -1; margin-bottom: 1rem; }
    .landing-home .landing-feature-card { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 6vw, 6rem); }
    .landing-home .landing-feature-card:nth-child(even) > img { grid-column: 2; grid-row: 1; }
    .landing-home .landing-feature-card:nth-child(even) .landing-feature-copy { grid-column: 1; grid-row: 1; }
    .landing-home .landing-feature-grid { gap: 5rem; }
    .landing-home .landing-features, .landing-home .landing-values { padding-block: 6rem; }
    .landing-home .landing-process { padding-block: 5rem; }
}
@media (min-width: 1000px) {
    .landing-home .landing-values-intro { margin-bottom: 1.5rem; }
    .landing-home .landing-operator-inner { grid-template-columns: 1.2fr 1fr; }
    .landing-home .landing-footer-main { grid-template-columns: 1.5fr 1fr 1.2fr .7fr; }
}
@media (prefers-reduced-motion: reduce) {
    .landing-home .landing-button { transition: none; }
}
