:root {
    --habito-black: #050505;
    --habito-surface: #111111;
    --habito-surface-2: #181816;
    --habito-white: #f3f3ef;
    --habito-muted: #999992;
    --habito-line: rgba(243, 243, 239, 0.17);
    --habito-gold: #c7a76a;
    --habito-shell: min(1280px, calc(100% - 40px));
    --habito-display: clamp(3.5rem, 9.5vw, 9.5rem);
    --habito-heading: clamp(2.8rem, 6vw, 6.4rem);
    --habito-copy: clamp(1.05rem, 1.4vw, 1.35rem);
    --habito-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
    scroll-behavior: smooth;
    background: var(--habito-black);
}

body.habito-landing-body {
    margin: 0;
    background: var(--habito-black);
    color: var(--habito-white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.45;
    overflow-x: hidden;
}

.habito-landing-body h1,
.habito-landing-body h2,
.habito-landing-body h3,
.habito-landing-body h4,
.habito-landing-body h5,
.habito-landing-body h6,
.habito-landing-body .habito-display,
.habito-landing-body .habito-heading {
    color: var(--habito-white);
}

.habito-landing-body .habito-button--gold,
.habito-landing-body .habito-button--light {
    color: var(--habito-black);
}

.habito-landing-body #ast-scroll-top {
    display: none !important;
}

.habito-landing-body *,
.habito-landing-body *::before,
.habito-landing-body *::after {
    box-sizing: border-box;
}

/* PhotoSwipe is only used by the inner WooCommerce galleries. Its hidden
 * dialog is still printed globally, so keep its fallback controls out of the
 * landing page instead of allowing unstyled buttons to appear below the
 * footer. */
.habito-landing-body .pswp {
    display: none !important;
}

.habito-landing-body a {
    color: inherit;
    text-decoration: none;
}

.habito-shell {
    width: var(--habito-shell);
    margin-inline: auto;
}

.habito-skip-link {
    position: fixed;
    z-index: 100;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    color: var(--habito-black);
    background: var(--habito-white);
    transform: translateY(-150%);
    transition: transform 180ms ease;
}

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

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.habito-header {
    position: absolute;
    z-index: 20;
    top: 0;
    right: 0;
    left: 0;
    color: var(--habito-white);
    transition: background-color 300ms ease, backdrop-filter 300ms ease;
}

.habito-header.is-scrolled {
    position: fixed;
    background: rgba(5, 5, 5, 0.88);
    backdrop-filter: blur(14px);
}

.habito-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
}

.habito-wordmark {
    display: inline-flex;
    align-items: center;
    min-width: 118px;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.habito-wordmark img {
    display: block;
    width: auto;
    max-width: 136px;
    height: 32px;
    object-fit: contain;
}

.habito-navigation {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.5vw, 40px);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.habito-navigation > a:not(.habito-button) {
    position: relative;
    padding-block: 6px;
    color: rgba(243, 243, 239, 0.74);
    transition: color 180ms ease;
}

.habito-navigation > a:not(.habito-button)::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: var(--habito-gold);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 220ms var(--habito-ease);
}

.habito-navigation > a:not(.habito-button):hover,
.habito-navigation > a:not(.habito-button):focus-visible {
    color: var(--habito-white);
}

.habito-navigation > a:not(.habito-button):hover::after,
.habito-navigation > a:not(.habito-button):focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}

.habito-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 12px 8px;
    color: var(--habito-white);
    background: transparent;
    border: 1px solid var(--habito-line);
    cursor: pointer;
}

.habito-menu-toggle span:not(.screen-reader-text) {
    display: block;
    width: 100%;
    height: 1px;
    margin: 5px 0;
    background: currentColor;
    transition: transform 180ms ease;
}

.habito-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    padding: 15px 22px;
    border: 1px solid transparent;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1;
    text-transform: uppercase;
    transition: transform 180ms ease, color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.habito-button:hover,
.habito-button:focus-visible {
    transform: translateY(-2px);
}

.habito-button:active {
    transform: translateY(0) scale(0.98);
}

.habito-button--small {
    min-height: 40px;
    padding: 11px 16px;
    font-size: 0.66rem;
}

.habito-button--gold {
    color: var(--habito-black);
    background: var(--habito-gold);
}

.habito-button--gold:hover,
.habito-button--gold:focus-visible {
    background: var(--habito-white);
}

.habito-button--light {
    color: var(--habito-black);
    background: var(--habito-white);
}

.habito-button--outline {
    color: var(--habito-white);
    background: transparent;
    border-color: var(--habito-line);
}

.habito-button--outline:hover,
.habito-button--outline:focus-visible {
    border-color: var(--habito-white);
}

.habito-kicker {
    margin: 0;
    color: var(--habito-gold);
    font-size: 0.69rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: 1.4;
    text-transform: uppercase;
}

.habito-display,
.habito-heading {
    margin: 0;
    font-weight: 650;
    letter-spacing: -0.06em;
    line-height: 0.94;
}

.habito-display {
    font-size: var(--habito-display);
}

.habito-heading {
    max-width: 900px;
    font-size: var(--habito-heading);
}

.habito-display em {
    color: var(--habito-gold);
    font-style: normal;
}

.habito-copy {
    max-width: 620px;
    margin: 0;
    font-size: var(--habito-copy);
    line-height: 1.42;
}

.habito-copy--muted {
    color: var(--habito-muted);
}

.habito-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
}

.habito-text-link,
.habito-line-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.habito-text-link {
    color: var(--habito-white);
}

.habito-line-link {
    padding-bottom: 7px;
    border-bottom: 1px solid var(--habito-gold);
}

.habito-text-link span,
.habito-line-link span,
.habito-service-card a span,
.habito-location-card i,
.habito-location-row i {
    color: var(--habito-gold);
    font-size: 1rem;
    font-style: normal;
    transition: transform 180ms ease;
}

.habito-text-link:hover span,
.habito-line-link:hover span,
.habito-service-card a:hover span,
.habito-location-card:hover i,
.habito-location-row:hover i {
    transform: translate(3px, -3px);
}

.habito-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 100svh;
    overflow: hidden;
    isolation: isolate;
    background: var(--habito-black);
}

.habito-hero__media,
.habito-hero__overlay {
    position: absolute;
    z-index: -2;
    inset: 0;
}

.habito-hero__media img,
.habito-hero__media video,
.habito-closing__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.habito-hero__media img,
.habito-hero__media video {
    object-position: center center;
}

.habito-hero__overlay,
.habito-closing__overlay {
    z-index: -1;
    background: rgba(0, 0, 0, 0.47);
}

.habito-hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
    padding-bottom: clamp(90px, 12vh, 160px);
}

.habito-hero__content h1 {
    max-width: 1000px;
}

.habito-hero__lead {
    max-width: 480px;
    margin: 0;
    color: rgba(243, 243, 239, 0.83);
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    line-height: 1.25;
}

.habito-hero__scroll {
    position: absolute;
    right: 20px;
    bottom: 32px;
    left: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: rgba(243, 243, 239, 0.72);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.habito-hero__scroll i {
    display: block;
    width: 42px;
    height: 1px;
    background: var(--habito-gold);
}

.habito-section {
    padding-block: clamp(100px, 14vw, 220px);
    background: var(--habito-black);
}

.habito-section--intro {
    background: var(--habito-surface);
}

.habito-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: center;
    gap: clamp(48px, 9vw, 150px);
}

.habito-intro__media,
.habito-service-card__media,
.habito-location-card__media,
.habito-product-card__media {
    position: relative;
    overflow: hidden;
    background: var(--habito-surface-2);
}

.habito-intro__media {
    isolation: isolate;
    aspect-ratio: 0.72;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.18);
}

.habito-intro__media::before {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    content: "";
    inset: 0;
    background:
        linear-gradient(90deg, transparent 72%, rgba(17, 17, 17, 0.62) 100%),
        linear-gradient(180deg, rgba(17, 17, 17, 0.2), transparent 14%, transparent 84%, rgba(17, 17, 17, 0.38));
}

.habito-intro__media::after,
.habito-service-card__media::after,
.habito-location-card__media::after,
.habito-product-card__media::after {
    position: absolute;
    pointer-events: none;
    content: "";
    inset: 0;
    border: 1px solid rgba(243, 243, 239, 0.16);
}

.habito-media-frame__image,
.habito-intro__media img,
.habito-intro__media video,
.habito-service-card__media img,
.habito-location-card__media img,
.habito-product-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms var(--habito-ease);
}

.habito-service-card:hover img,
.habito-location-card:hover img,
.habito-product-card:hover img {
    transform: scale(1.035);
}

.habito-media-frame__index {
    position: absolute;
    z-index: 1;
    right: 18px;
    bottom: 18px;
    color: var(--habito-white);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.habito-intro__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 27px;
}

.habito-intro__copy .habito-heading {
    max-width: 530px;
    text-transform: uppercase;
}

.habito-intro__copy .habito-copy:first-of-type {
    color: var(--habito-white);
}

.habito-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: clamp(54px, 8vw, 100px);
}

.habito-section-heading > div {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.habito-section-heading__copy {
    max-width: 330px;
}

.habito-section-heading--center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.habito-service-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    grid-template-rows: repeat(3, minmax(0, auto));
    gap: 20px;
}

.habito-service-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--habito-surface);
}

.habito-service-card--featured {
    grid-column: 1;
    grid-row: span 3;
    background: var(--habito-surface-2);
}

.habito-service-card--combo {
    grid-column: 2;
    background: var(--habito-surface-2);
}

.habito-service-card__media {
    aspect-ratio: 1 / 1;
}

.habito-service-card--featured .habito-service-card__media {
    aspect-ratio: 0.78;
}

.habito-service-card--combo .habito-service-card__media,
.habito-service-card--standard .habito-service-card__media {
    aspect-ratio: 1.65;
}

.habito-service-card__media--collage {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--habito-black);
}

.habito-service-card__media--collage > div {
    min-width: 0;
    overflow: hidden;
}

.habito-service-card__media--collage > span {
    position: absolute;
    z-index: 1;
    right: 18px;
    bottom: 18px;
    padding: 7px 9px;
    color: var(--habito-white);
    background: rgba(17, 17, 17, 0.72);
    font-size: 0.59rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.habito-service-card__body {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    align-items: center;
    gap: 15px;
    min-height: 92px;
    padding: 18px 20px;
    border-top: 1px solid var(--habito-line);
}

.habito-service-card__body--featured {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
    min-height: 300px;
    padding: clamp(26px, 3.5vw, 46px) clamp(20px, 3vw, 38px) 32px;
}

.habito-service-card__featured-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    gap: 18px;
}

.habito-service-card__featured-top span {
    color: var(--habito-gold);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.habito-service-card__featured-top strong {
    color: var(--habito-white);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.habito-service-card .habito-service-card__body--featured h3 {
    max-width: 16ch;
    margin: 0;
    color: var(--habito-white);
    font-size: clamp(2.35rem, 4.6vw, 4.8rem);
    font-weight: 500;
    letter-spacing: -0.07em;
    line-height: 0.94;
}

.habito-service-card__body--featured p {
    max-width: 360px;
    margin: 18px 0 0;
    color: var(--habito-white);
    font-size: 1.02rem;
    line-height: 1.35;
}

.habito-service-card__body--featured p.habito-service-card__body-note {
    margin-top: 7px;
    color: var(--habito-muted);
    font-size: 0.87rem;
}

.habito-service-card__body--featured > a {
    margin-top: auto;
}

.habito-service-card__body > span {
    color: var(--habito-gold);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
}

.habito-service-card h3 {
    margin: 0;
    font-size: clamp(1rem, 1.8vw, 1.4rem);
    font-weight: 600;
    letter-spacing: -0.03em;
}

.habito-service-card__body > div {
    min-width: 0;
}

.habito-service-card__body small {
    display: block;
    margin-top: 5px;
    color: var(--habito-muted);
    font-size: 0.69rem;
}

.habito-service-card__feature {
    display: grid;
    flex: 1;
    grid-template-columns: minmax(0, 1fr) minmax(190px, 0.43fr);
    min-height: 0;
    border-top: 1px solid var(--habito-line);
    background: var(--habito-surface-2);
}

.habito-service-card__feature-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    min-width: 0;
    padding: clamp(24px, 3vw, 38px) 20px 28px;
}

.habito-service-card__feature-media {
    position: relative;
    min-height: 0;
    overflow: hidden;
    border-left: 1px solid var(--habito-line);
}

.habito-service-card__feature-media::after {
    position: absolute;
    pointer-events: none;
    content: "";
    inset: 0;
    border: 1px solid rgba(243, 243, 239, 0.16);
}

.habito-service-card__feature-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 48%;
    transition: transform 700ms var(--habito-ease);
}

.habito-service-card:hover .habito-service-card__feature-media img,
.habito-service-card:focus-within .habito-service-card__feature-media img {
    transform: scale(1.035);
}

.habito-service-card__feature-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.habito-service-card__feature-top span {
    color: var(--habito-gold);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.4;
}

.habito-service-card__feature-top strong {
    color: var(--habito-white);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.habito-service-card__feature h4 {
    max-width: 500px;
    margin: 0;
    color: var(--habito-white);
    font-size: clamp(1.8rem, 3.2vw, 3.1rem);
    font-weight: 500;
    letter-spacing: -0.06em;
    line-height: 0.98;
}

.habito-service-card__feature p {
    max-width: 360px;
    margin: 13px 0 0;
    color: var(--habito-muted);
    font-size: 0.92rem;
    line-height: 1.4;
}

.habito-service-card__feature a {
    align-self: flex-start;
    color: var(--habito-white);
}

.habito-service-card__feature a span {
    color: var(--habito-gold);
    font-size: 1rem;
    transition: transform 180ms ease;
}

.habito-service-card__feature a:hover span,
.habito-service-card__feature a:focus-visible span {
    transform: translate(3px, -3px);
}

.habito-service-card a,
.habito-location-card b {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.habito-section-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-top: 32px;
    border-top: 1px solid var(--habito-line);
}

.habito-section-footer p {
    max-width: 420px;
    margin: 0;
    color: var(--habito-muted);
    font-size: 0.95rem;
}

.habito-section--app {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 78% 46%, rgba(199, 167, 106, 0.11), transparent 28%),
        linear-gradient(125deg, var(--habito-surface) 0%, #151513 58%, #0b0b0a 100%);
}

.habito-section--app::before {
    position: absolute;
    top: 14%;
    right: -8%;
    width: min(60vw, 820px);
    height: min(60vw, 820px);
    border: 1px solid rgba(199, 167, 106, 0.12);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.habito-section--app::after {
    position: absolute;
    z-index: -1;
    top: 20%;
    right: 8%;
    width: min(36vw, 500px);
    height: min(36vw, 500px);
    border-radius: 50%;
    background: rgba(199, 167, 106, 0.08);
    content: "";
    filter: blur(70px);
    pointer-events: none;
}

.habito-app-showcase {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    align-items: center;
    min-height: 760px;
    gap: clamp(48px, 6vw, 96px);
}

.habito-app-showcase__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    padding-top: 0;
}

.habito-app-showcase__copy .habito-heading {
    max-width: 640px;
    font-size: clamp(4rem, 7.5vw, 8rem);
}

.habito-feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    max-width: 480px;
    padding: 20px 0 0;
    margin: 6px 0 0;
    border-top: 1px solid var(--habito-line);
    list-style: none;
}

.habito-feature-list li {
    color: var(--habito-white);
    font-size: 0.9rem;
}

.habito-feature-list li::before {
    margin-right: 7px;
    color: var(--habito-gold);
    content: "/";
}

.habito-phone-wrap {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 760px;
}

.habito-phone-wrap::before {
    position: absolute;
    width: min(70%, 560px);
    aspect-ratio: 1;
    border: 1px solid rgba(199, 167, 106, 0.13);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.habito-phone {
    position: relative;
    width: min(410px, 32vw);
    padding: 12px;
    background: #252522;
    border: 1px solid rgba(243, 243, 239, 0.24);
    border-radius: 48px;
    box-shadow: 30px 42px 90px rgba(0, 0, 0, 0.5);
    transform: rotate(6deg) translateY(-10px);
    transition: transform 700ms var(--habito-ease);
}

.habito-phone-wrap:hover .habito-phone {
    transform: rotate(1deg) translateY(-8px);
}

.habito-app-art-wrap {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 760px;
}

.habito-app-art {
    position: relative;
    width: auto;
    height: min(842px, 92svh);
    max-width: 100%;
    aspect-ratio: 572 / 1144;
    background: transparent;
    filter: drop-shadow(24px 34px 44px rgba(0, 0, 0, 0.42)) drop-shadow(0 0 26px rgba(199, 167, 106, 0.1));
    transform: rotate(3deg) translateY(-8px);
    transition: transform 700ms var(--habito-ease), filter 700ms var(--habito-ease);
    animation: habito-app-art-float 8s ease-in-out infinite;
}

.habito-app-art::before {
    display: none;
}

.habito-app-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.habito-app-art-wrap:hover .habito-app-art,
.habito-app-art-wrap:focus-within .habito-app-art {
    filter: drop-shadow(30px 40px 50px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 34px rgba(199, 167, 106, 0.16));
    transform: rotate(0deg) translateY(-14px) scale(1.015);
}

@keyframes habito-app-art-float {
    0%, 100% { transform: rotate(3deg) translateY(-8px); }
    50% { transform: rotate(1.6deg) translateY(-18px); }
}

.habito-phone::before {
    position: absolute;
    z-index: 2;
    top: 18px;
    left: 50%;
    width: 72px;
    height: 20px;
    background: #050505;
    border-radius: 999px;
    content: "";
    transform: translateX(-50%);
}

.habito-phone__screen,
.habito-phone video {
    display: block;
    width: 100%;
    aspect-ratio: 0.48;
    min-height: 580px;
    overflow: hidden;
    background: var(--habito-black);
    border-radius: 38px;
    object-fit: cover;
}

.habito-phone__screen {
    display: flex;
    flex-direction: column;
    padding: 42px 20px 22px;
    background:
        linear-gradient(145deg, rgba(199, 167, 106, 0.07), transparent 28%),
        var(--habito-black);
}

.habito-phone__screen--gallery {
    position: relative;
    display: block;
    padding: 0;
    background: var(--habito-black);
    isolation: isolate;
}

.habito-app-gallery__viewport {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.habito-app-gallery__panel {
    position: absolute;
    inset: 0;
    z-index: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.98) translateX(-3%);
    transition: opacity 650ms ease, transform 900ms var(--habito-ease), visibility 0s linear 900ms;
}

.habito-app-gallery__panel.is-active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
    transform: scale(1.04) translateX(3%);
    transition-delay: 0s;
}

.habito-app-gallery__panel.is-active img {
    animation: habito-app-screen-drift 4.2s ease-out both;
}

.habito-app-gallery__panel img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@keyframes habito-app-screen-drift {
    from { transform: scale(1.025); }
    to { transform: scale(1); }
}

.habito-app-gallery__meta {
    position: absolute;
    z-index: 3;
    right: 18px;
    bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    color: var(--habito-white);
    background: rgba(5, 5, 5, 0.76);
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
}

.habito-app-gallery__meta > span:first-child {
    color: var(--habito-gold);
}

.habito-app-gallery__meta i {
    padding-inline: 3px;
    color: var(--habito-muted);
    font-style: normal;
}

.habito-app-gallery__dots {
    position: absolute;
    z-index: 3;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 6px;
}

.habito-app-gallery__dots::before {
    position: absolute;
    top: 50%;
    right: 0;
    width: 100%;
    height: 2px;
    background: rgba(5, 5, 5, 0.42);
    content: "";
    transform: translateY(-50%);
}

.habito-app-gallery__dots button {
    position: relative;
    z-index: 1;
    width: 7px;
    height: 7px;
    padding: 0;
    border: 1px solid rgba(243, 243, 239, 0.7);
    border-radius: 50%;
    background: rgba(5, 5, 5, 0.6);
    cursor: pointer;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.habito-app-gallery__dots button[aria-current="true"] {
    border-color: var(--habito-gold);
    background: var(--habito-gold);
    transform: scale(1.45);
}

.habito-app-gallery__dots button:hover,
.habito-app-gallery__dots button:focus-visible {
    border-color: var(--habito-white);
    transform: scale(1.35);
}

.habito-phone__top,
.habito-phone__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--habito-muted);
    font-size: 0.65rem;
}

.habito-phone__top b {
    color: var(--habito-white);
    font-size: 0.6rem;
    letter-spacing: 0.14em;
}

.habito-phone__hello {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 52px;
    color: var(--habito-muted);
    font-size: 0.88rem;
}

.habito-phone__hello small {
    color: var(--habito-gold);
    font-size: 0.57rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.habito-phone__hello strong {
    color: var(--habito-white);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.05em;
}

.habito-phone__next,
.habito-phone__points,
.habito-phone__locations {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: 22px;
    padding: 18px;
    border: 1px solid var(--habito-line);
}

.habito-phone__next {
    border-color: rgba(199, 167, 106, 0.38);
    background: linear-gradient(145deg, rgba(199, 167, 106, 0.1), transparent 62%);
}

.habito-phone__points,
.habito-phone__locations {
    margin-top: 14px;
}

.habito-phone__card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.habito-phone__card-head small,
.habito-phone__locations .habito-phone__card-head > span:first-child,
.habito-phone__points .habito-phone__card-head > span:first-child {
    color: var(--habito-gold);
    font-size: 0.57rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.habito-phone__card-head > span:last-child {
    color: var(--habito-muted);
    font-size: 0.55rem;
    letter-spacing: 0.1em;
}

.habito-phone__next b {
    font-size: 1.3rem;
    font-weight: 500;
}

.habito-phone__next-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--habito-white);
    font-size: 0.75rem;
    font-weight: 600;
}

.habito-phone__next-meta span:last-child {
    color: var(--habito-gold);
    font-size: 1rem;
}

.habito-phone__next > span:last-child,
.habito-phone__points i {
    color: var(--habito-muted);
    font-size: 0.72rem;
    font-style: normal;
}

.habito-phone__points-value {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.habito-phone__points-value strong {
    color: var(--habito-white);
    font-size: 3.2rem;
    font-weight: 500;
    letter-spacing: -0.08em;
}

.habito-phone__points-value span {
    color: var(--habito-muted);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.habito-phone__points i {
    color: var(--habito-gold);
}

.habito-phone__location-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.habito-phone__location-list span {
    color: var(--habito-muted);
    font-size: 0.57rem;
    line-height: 1.25;
}

.habito-phone__nav {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--habito-line);
}

.habito-phone__nav span:first-child {
    color: var(--habito-white);
}

.habito-section--booking {
    background: var(--habito-black);
}

.habito-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--habito-line);
    border-bottom: 1px solid var(--habito-line);
}

.habito-step {
    display: flex;
    flex-direction: column;
    gap: 50px;
    min-height: 220px;
    padding: 24px;
    border-right: 1px solid var(--habito-line);
}

.habito-step:last-child {
    border-right: 0;
}

.habito-step span {
    color: var(--habito-gold);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
}

.habito-step b {
    font-size: clamp(1.35rem, 2.5vw, 2.25rem);
    font-weight: 500;
    letter-spacing: -0.04em;
}

.habito-booking-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding-top: 28px;
}

.habito-booking-note p {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2.6rem);
    letter-spacing: -0.04em;
    line-height: 1;
}

.habito-booking-note p span {
    color: var(--habito-muted);
    font-size: 0.45em;
    letter-spacing: 0;
}

.habito-section--benefits {
    background: var(--habito-surface);
}

.habito-benefits {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(48px, 9vw, 130px);
}

.habito-benefits__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
}

.habito-benefit-highlights {
    display: grid;
    gap: 0;
    width: min(100%, 520px);
    margin: -4px 0 0;
    padding: 0;
    border-top: 1px solid var(--habito-line);
    list-style: none;
}

.habito-benefit-highlights li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid var(--habito-line);
}

.habito-benefit-highlights small {
    flex: 0 0 auto;
    color: var(--habito-gold);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.habito-benefit-highlights strong {
    color: var(--habito-white);
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.25;
    text-align: right;
}

.habito-benefits__panel {
    padding: 30px;
    background: var(--habito-black);
    border: 1px solid var(--habito-line);
}

.habito-benefit-point {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
    min-height: 250px;
    padding: 26px;
    background: radial-gradient(circle at 86% 18%, rgba(199, 167, 106, 0.14), transparent 40%), var(--habito-black);
    border: 1px solid var(--habito-line);
}

.habito-benefit-point__header,
.habito-benefit-point__value,
.habito-benefit-point__exchange {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.habito-benefit-point__header small,
.habito-benefit-point__header > span,
.habito-benefit-point__exchange > span {
    color: var(--habito-gold);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.habito-benefit-point__header > span,
.habito-benefit-point__exchange > span {
    color: var(--habito-muted);
    font-size: 0.58rem;
    letter-spacing: 0.12em;
}

.habito-benefit-point__value {
    align-items: baseline;
    justify-content: flex-start;
    gap: 14px;
}

.habito-benefit-point__value strong {
    color: var(--habito-gold);
    font-size: clamp(6rem, 12vw, 9rem);
    font-weight: 500;
    letter-spacing: -0.12em;
    line-height: 0.76;
}

.habito-benefit-point__value span {
    max-width: 220px;
    color: var(--habito-muted);
    font-size: 0.8rem;
    line-height: 1.25;
}

.habito-benefit-point__exchange {
    align-items: baseline;
    padding-top: 18px;
    border-top: 1px solid var(--habito-line);
}

.habito-benefit-point__exchange b {
    color: var(--habito-white);
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

.habito-benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 12px;
    border-top: 1px solid var(--habito-line);
    border-left: 1px solid var(--habito-line);
}

.habito-benefit-tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-height: 78px;
    padding: 15px 12px;
    border-right: 1px solid var(--habito-line);
    border-bottom: 1px solid var(--habito-line);
}

.habito-benefit-tile:nth-child(2n) {
    border-right: 0;
}

.habito-benefit-tile:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.habito-benefit-tile small {
    color: var(--habito-muted);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.habito-benefit-tile strong {
    color: var(--habito-white);
    font-size: 1.18rem;
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1;
}

.habito-benefit-tile span {
    color: var(--habito-muted);
    font-size: 0.65rem;
}

.habito-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.habito-product-card {
    display: block;
}

.habito-product-card__media {
    aspect-ratio: 1 / 1;
}

.habito-product-card__media img {
    object-fit: contain;
    padding: 28px;
    background: #f1f1ee;
}

.habito-product-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 15px;
    font-size: 0.73rem;
    font-weight: 600;
}

.habito-product-card__meta > span:last-child {
    color: var(--habito-gold);
    white-space: nowrap;
}

.habito-section--locations {
    background: var(--habito-surface);
}

.habito-location-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.habito-location-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--habito-black);
    transition: background-color 220ms ease, transform 300ms var(--habito-ease);
}

.habito-location-card__media {
    display: grid;
    place-items: center;
    aspect-ratio: 1.12;
    background:
        radial-gradient(circle at 50% 44%, rgba(198, 161, 91, 0.16), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.025), transparent 56%),
        var(--habito-surface-2);
}

.habito-location-card__placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: var(--habito-gold);
}

.habito-location-card__placeholder svg {
    width: clamp(66px, 8vw, 104px);
    height: auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.55;
    opacity: 0.88;
}

.habito-location-card__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 232px;
    padding: 20px;
    border-top: 1px solid var(--habito-line);
}

.habito-location-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 16px;
}

.habito-location-card__top > span {
    color: var(--habito-gold);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.13em;
}

.habito-location-card__top > i {
    color: var(--habito-white);
    font-size: 1rem;
    font-style: normal;
}

.habito-location-card h3 {
    margin: 24px 0 0;
    font-size: clamp(1.55rem, 2.6vw, 2.45rem);
    font-weight: 500;
    letter-spacing: -0.06em;
    line-height: 1;
}

.habito-location-card__body > p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    min-height: 2.8em;
    margin: 14px 0 0;
    color: var(--habito-muted);
    font-size: 0.78rem;
    line-height: 1.4;
}

.habito-location-card__body > b {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 22px;
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.habito-location-card__body > b i {
    color: var(--habito-gold);
    font-size: 1rem;
    font-style: normal;
    transition: transform 180ms ease;
}

.habito-location-card:hover,
.habito-location-card:focus-visible {
    background: var(--habito-surface-2);
    transform: translateY(-4px);
}

.habito-location-card:hover .habito-location-card__body > b i,
.habito-location-card:focus-visible .habito-location-card__body > b i {
    transform: translate(3px, -3px);
}

.habito-location-card:focus-visible {
    outline: 1px solid var(--habito-gold);
    outline-offset: 4px;
}

.habito-location-row {
    display: none;
}

.habito-location-list {
    display: none;
}

.habito-location-note {
    display: none;
}

/* Keep the legacy location row styles inert if an older cached template is
 * briefly served while the homepage asset version rolls forward. */
.habito-location-row:hover,
.habito-location-row:focus-visible {
    background: rgba(243, 243, 239, 0.04);
}

.habito-section--ecosystem {
    padding-block: clamp(120px, 18vw, 270px);
}

.habito-ecosystem {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.habito-ecosystem h2 {
    max-width: 1050px;
    text-transform: uppercase;
}

.habito-ecosystem__bottom {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 40px;
    align-items: start;
    padding-top: 32px;
    border-top: 1px solid var(--habito-line);
}

.habito-ecosystem__words {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px 14px;
}

.habito-ecosystem__words span {
    color: var(--habito-muted);
    font-size: clamp(1.25rem, 2.5vw, 2.1rem);
    letter-spacing: -0.04em;
}

.habito-ecosystem__words span::after {
    padding-left: 14px;
    color: var(--habito-gold);
    content: "/";
}

.habito-ecosystem__words span:last-child::after {
    display: none;
}

.habito-closing {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: min(820px, 92svh);
    overflow: hidden;
    isolation: isolate;
    background: var(--habito-black);
}

.habito-closing__media,
.habito-closing__overlay {
    position: absolute;
    z-index: -2;
    inset: 0;
}

.habito-closing__media img {
    object-position: center 42%;
}

.habito-closing__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    padding-bottom: clamp(80px, 12vh, 150px);
}

.habito-footer {
    padding-block: 72px 28px;
    background: var(--habito-black);
}

.habito-footer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 34px;
    border-bottom: 1px solid var(--habito-line);
}

.habito-footer__brand-lockup {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    min-width: 0;
}

.habito-footer__brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    min-height: 42px;
}

.habito-footer__brand img {
    display: block;
    width: clamp(124px, 10vw, 160px);
    height: auto;
    max-height: 46px;
    object-fit: contain;
}

.habito-footer__brand > span {
    color: var(--habito-white);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.07em;
    line-height: 0.9;
}

.habito-footer__brand-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 2px;
    color: var(--habito-muted);
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    line-height: 1.35;
    text-transform: uppercase;
}

.habito-footer__brand-meta span:first-child {
    color: var(--habito-gold);
}

.habito-footer__prompt {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0 auto 0 clamp(10px, 3vw, 54px);
    color: var(--habito-muted);
    font-size: 0.82rem;
    line-height: 1.25;
}

.habito-footer__prompt strong {
    color: var(--habito-white);
    font-size: 1rem;
    font-weight: 500;
}

.habito-footer__top > .habito-button {
    flex: 0 0 auto;
}

.habito-footer__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    padding-block: 48px;
}

.habito-footer__grid > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
}

.habito-footer__label {
    margin-bottom: 7px;
    color: var(--habito-gold);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.habito-footer__grid a {
    color: var(--habito-muted);
    font-size: 0.88rem;
    transition: color 180ms ease;
}

.habito-footer__grid a:hover,
.habito-footer__grid a:focus-visible {
    color: var(--habito-white);
}

.habito-footer__pending {
    color: var(--habito-muted);
    font-size: 0.88rem;
}

.habito-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--habito-line);
    color: var(--habito-muted);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.habito-reveal {
    opacity: 0;
    transform: translateY(18px);
}

.habito-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 650ms var(--habito-ease), transform 650ms var(--habito-ease);
}

@media (max-width: 900px) {
    .habito-navigation {
        gap: 18px;
    }

    .habito-intro,
    .habito-app-showcase,
    .habito-benefits {
        gap: 54px;
    }

    .habito-phone-wrap {
        min-height: 520px;
    }

    .habito-app-art-wrap {
        min-height: 520px;
    }

    .habito-app-art {
        height: min(728px, 78.5svh);
    }

    .habito-app-showcase__copy {
        padding-top: 38px;
    }

    .habito-phone__screen,
    .habito-phone video {
        min-height: 510px;
    }
}

@media (max-width: 700px) {
    :root {
        --habito-shell: min(100% - 40px, 560px);
    }

    .habito-header__inner {
        min-height: 68px;
    }

    .habito-menu-toggle {
        display: block;
    }

    .habito-navigation {
        position: absolute;
        top: 68px;
        right: 20px;
        left: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px;
        background: rgba(17, 17, 17, 0.98);
        border: 1px solid var(--habito-line);
    }

    .habito-navigation.is-open {
        display: flex;
    }

    .habito-navigation > a:not(.habito-button) {
        padding: 16px 12px;
        border-bottom: 1px solid var(--habito-line);
    }

    .habito-navigation .habito-button {
        margin-top: 10px;
    }

    .habito-hero__content {
        gap: 20px;
        padding-bottom: 110px;
    }

    .habito-hero__media img,
    .habito-hero__media video {
        object-position: 58% center;
    }

    .habito-hero__lead {
        max-width: 290px;
        font-size: 1.1rem;
    }

    .habito-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .habito-section--app .habito-actions {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
    }

    .habito-button {
        width: fit-content;
    }

    .habito-section-heading,
    .habito-section-footer,
    .habito-booking-note,
    .habito-footer__top,
    .habito-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .habito-section-heading {
        gap: 26px;
    }

    .habito-intro,
    .habito-app-showcase,
    .habito-benefits,
    .habito-location-grid {
        display: flex;
        flex-direction: column;
    }

    .habito-app-showcase__copy {
        padding-top: 0;
    }

    .habito-app-art-wrap {
        min-height: auto;
        padding-top: 18px;
    }

    .habito-app-art {
        height: min(590px, 74svh);
        transform: rotate(1deg) translateY(-4px);
        animation-name: habito-app-art-float-mobile;
    }

    @keyframes habito-app-art-float-mobile {
        0%, 100% { transform: rotate(1deg) translateY(-4px); }
        50% { transform: rotate(0deg) translateY(-10px); }
    }

    .habito-section--app::before {
        top: 18%;
        right: -42%;
        width: 116vw;
        height: 116vw;
    }

    .habito-section--app::after {
        top: 18%;
        right: 12%;
        width: 72vw;
        height: 72vw;
    }

    .habito-app-showcase {
        min-height: 0;
        gap: 58px;
    }

    .habito-app-showcase__copy {
        gap: 24px;
    }

    .habito-app-showcase__copy .habito-heading {
        font-size: clamp(3.45rem, 13vw, 5rem);
    }

    .habito-feature-list {
        gap: 8px 14px;
        padding-top: 16px;
    }

    .habito-intro__media {
        /* El video vertical debe respirar a todo lo ancho en móvil. */
        width: calc(100% + 40px);
        align-self: flex-start;
        margin-left: -20px;
        aspect-ratio: 9 / 16;
    }

    .habito-intro__media video {
        object-position: center center;
    }

    .habito-intro__copy {
        margin-top: -5px;
    }

    .habito-service-grid {
        display: flex;
        flex-direction: column;
    }

    .habito-service-card__media {
        aspect-ratio: 1.05;
    }

    .habito-service-card--featured .habito-service-card__media {
        aspect-ratio: 0.82;
    }

    .habito-service-card--combo .habito-service-card__media,
    .habito-service-card--standard .habito-service-card__media {
        aspect-ratio: 1.05;
    }

    .habito-service-card--featured,
    .habito-service-card--combo {
        display: flex;
        flex-direction: column;
    }

    .habito-service-card__body--featured {
        min-height: 286px;
        padding: 24px 20px 26px;
        border-top: 1px solid var(--habito-line);
        border-left: 0;
    }

    .habito-service-card .habito-service-card__body--featured h3 {
        max-width: 14ch;
        font-size: clamp(2.45rem, 12vw, 3.65rem);
    }

    .habito-service-card__body {
        grid-template-columns: 30px 1fr auto;
        min-height: 82px;
        padding: 16px;
    }

    .habito-service-card a {
        font-size: 0.61rem;
    }

    .habito-phone-wrap {
        min-height: 560px;
        order: -1;
    }

    .habito-phone {
        width: min(320px, 82vw);
        padding: 10px;
        transform: rotate(3deg);
    }

    .habito-phone__screen,
    .habito-phone video {
        min-height: 520px;
    }

    .habito-phone__screen {
        padding: 34px 14px 16px;
    }

    .habito-phone__screen--gallery {
        padding: 0;
    }

    .habito-phone__hello {
        gap: 3px;
        margin-top: 34px;
        font-size: 0.72rem;
    }

    .habito-phone__hello small,
    .habito-phone__card-head small,
    .habito-phone__locations .habito-phone__card-head > span:first-child,
    .habito-phone__points .habito-phone__card-head > span:first-child {
        font-size: 0.48rem;
    }

    .habito-phone__hello strong {
        font-size: 1.2rem;
    }

    .habito-phone__next,
    .habito-phone__points,
    .habito-phone__locations {
        gap: 6px;
        margin-top: 10px;
        padding: 12px;
    }

    .habito-phone__next b {
        font-size: 0.98rem;
        white-space: nowrap;
    }

    .habito-phone__next-meta {
        font-size: 0.62rem;
    }

    .habito-phone__next-meta span:last-child {
        font-size: 0.82rem;
    }

    .habito-phone__next > span:last-child,
    .habito-phone__points i {
        font-size: 0.56rem;
    }

    .habito-phone__card-head > span:last-child {
        font-size: 0.46rem;
    }

    .habito-phone__points-value strong {
        font-size: 2.5rem;
    }

    .habito-phone__points-value span {
        font-size: 0.56rem;
    }

    .habito-phone__location-list {
        gap: 5px;
    }

    .habito-phone__location-list span {
        font-size: 0.46rem;
        letter-spacing: -0.04em;
    }

    .habito-phone__nav {
        padding-top: 12px;
        font-size: 0.56rem;
    }

    .habito-steps {
        display: flex;
        flex-direction: column;
    }

    .habito-step {
        min-height: 145px;
        gap: 30px;
        border-right: 0;
        border-bottom: 1px solid var(--habito-line);
    }

    .habito-step:last-child {
        border-bottom: 0;
    }

    .habito-benefits__panel {
        width: 100%;
        padding: 14px;
    }

    .habito-benefit-point {
        min-height: 200px;
        padding: 18px;
    }

    .habito-benefit-point__value strong {
        font-size: 5.5rem;
    }

    .habito-benefit-point__value span {
        font-size: 0.72rem;
    }

    .habito-benefit-point__exchange {
        gap: 10px;
    }

    .habito-benefit-point__exchange > span,
    .habito-benefit-point__exchange b {
        font-size: 0.56rem;
    }

    .habito-benefit-highlights li {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .habito-benefit-highlights strong {
        text-align: left;
    }

    .habito-benefit-tile {
        padding: 15px 10px;
    }

    .habito-product-grid {
        display: flex;
        overflow-x: auto;
        gap: 12px;
        padding-bottom: 8px;
        scroll-snap-type: x proximity;
    }

    .habito-product-card {
        flex: 0 0 78%;
        scroll-snap-align: start;
    }

    .habito-location-card__media {
        aspect-ratio: 1.2;
    }

    .habito-location-note {
        min-height: 100px;
        padding-top: 28px;
    }

    .habito-ecosystem__bottom {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .habito-ecosystem__words {
        justify-content: flex-start;
    }

    .habito-closing {
        min-height: 720px;
    }

    .habito-closing__media img {
        object-position: 65% center;
    }

    .habito-footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 42px 24px;
        padding-block: 40px;
    }

    .habito-footer__grid > div:last-child {
        grid-column: 1 / -1;
    }

    .habito-footer__brand-lockup {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .habito-footer__brand-meta {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 5px 16px;
        padding-bottom: 0;
    }

    .habito-footer__top > .habito-button {
        align-self: stretch;
        justify-content: space-between;
        width: 100%;
    }

    .habito-footer__prompt {
        margin: 0;
    }

    .habito-footer__brand img {
        width: 136px;
    }
}

@media (max-width: 360px) {
    .habito-section--ecosystem .habito-display {
        font-size: clamp(3rem, 15vw, 4.5rem);
    }
}

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

    .habito-landing-body *,
    .habito-landing-body *::before,
    .habito-landing-body *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .habito-reveal {
        opacity: 1;
        transform: none;
    }
}
