:root {
    --ink: #173231;
    --muted: #526764;
    --primary: #0e6259;
    --primary-dark: #084b45;
    --primary-soft: #dceee8;
    --accent: #d78955;
    --cream: #fbf8f1;
    --white: #ffffff;
    --border: #d8e2df;
    --shadow: 0 20px 55px rgba(22, 58, 55, 0.12);
    --radius: 24px;
    --page-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 18px;
    line-height: 1.65;
}

a {
    color: inherit;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid #f2a766;
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    padding: 10px 16px;
    border-radius: 8px;
    background: var(--ink);
    color: var(--white);
    font-weight: 700;
    transform: translateY(-150%);
}

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

.page-shell,
.site-header__inner {
    width: min(calc(100% - 40px), var(--page-width));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(216, 226, 223, 0.85);
    background: rgba(255, 255, 255, 0.96);
}

.site-notification-region {
    width: min(100% - 32px, 720px);
    position: fixed;
    top: 94px;
    left: 50%;
    z-index: 130;
    transform: translateX(-50%);
    pointer-events: none;
}

.site-notification-region .message {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 14px 18px;
    border: 1px solid #9fd6c7;
    border-radius: 14px;
    background: #edf9f5;
    box-shadow: 0 14px 30px rgba(16, 62, 56, 0.16);
    color: #075d52;
    font-weight: 750;
    transition: opacity 300ms ease, transform 300ms ease;
}

.site-notification-region .message::before {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    flex: 0 0 22px;
    border-radius: 50%;
    background: #0a675c;
    color: #fff;
    content: '✓';
    font-size: 13px;
    font-weight: 900;
}

.site-notification-region .message.is-closing {
    opacity: 0;
    transform: translateY(-10px);
}

.site-header__inner {
    min-height: 86px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--ink);
    text-decoration: none;
}

.brand__mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 15px 15px 15px 5px;
    background: var(--primary);
    color: var(--white);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.brand__text {
    display: flex;
    flex-direction: column;
    font-size: 16px;
    line-height: 1.05;
}

.brand__text strong {
    font-size: 20px;
    letter-spacing: -0.02em;
}

.brand__text span {
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.site-menu a {
    color: var(--ink);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

.site-menu a:not(.site-menu__contact):hover {
    color: var(--primary);
}

.site-menu__contact {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    padding: 9px 20px;
    border-radius: 999px;
    background: var(--primary);
    color: var(--white) !important;
}

.site-menu__contact:hover {
    background: var(--primary-dark);
}

.site-header__tools {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-icon-button {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    position: relative;
    flex: 0 0 42px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 50%;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.header-icon-button:hover {
    background: var(--primary-soft);
    color: var(--primary);
    transform: translateY(-1px);
}

.header-icon-button svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.header-icon-button__count {
    min-width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    position: absolute;
    top: -2px;
    right: -2px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--white);
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
}

.site-account-menu {
    position: relative;
}

.site-account-menu > summary {
    list-style: none;
}

.site-account-menu > summary::-webkit-details-marker {
    display: none;
}

.site-account-menu__trigger {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--white);
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-account-menu__trigger:hover,
.site-account-menu[open] > .site-account-menu__trigger {
    border-color: var(--primary);
    background: var(--primary-soft);
    color: var(--primary);
    transform: translateY(-1px);
}

.site-account-menu__trigger svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-account-menu__panel {
    width: max-content;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 110;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 14px 30px rgba(22, 58, 55, 0.14);
}

.site-account-menu__panel a {
    display: block;
    padding: 10px 12px;
    border-radius: 9px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.site-account-menu__panel a:hover {
    background: var(--primary-soft);
    color: var(--primary);
}

.site-account-menu__panel .site-account-menu__primary {
    background: var(--primary);
    color: var(--white);
}

.site-account-menu__panel .site-account-menu__primary:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.site-account-menu__divider {
    display: block;
    height: 1px;
    margin: 7px 4px;
    background: var(--border);
}

.site-account-menu__panel .site-account-menu__team-link {
    color: #58716c;
    font-size: 13px;
}

.header-search {
    border-top: 1px solid var(--border);
    background: var(--cream);
}

.header-search__form {
    display: grid;
    grid-template-columns: auto minmax(180px, 1fr) auto auto;
    align-items: center;
    gap: 12px;
    padding-block: 14px;
}

.header-search__form label {
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
}

.header-search__form input {
    height: 46px;
    margin: 0;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
    color: var(--ink);
    font: inherit;
    padding: 0 13px;
}

.header-search__close {
    min-height: 42px;
    padding: 8px 10px;
    border: 0;
    background: transparent;
    color: var(--primary);
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: underline;
}

.menu-toggle {
    min-width: 52px;
    min-height: 48px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
    color: var(--ink);
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.menu-toggle__icon,
.menu-toggle__icon::before,
.menu-toggle__icon::after {
    width: 20px;
    height: 2px;
    display: block;
    position: relative;
    background: currentColor;
}

.menu-toggle__icon::before,
.menu-toggle__icon::after {
    content: "";
    position: absolute;
    left: 0;
}

.menu-toggle__icon::before {
    top: -6px;
}

.menu-toggle__icon::after {
    top: 6px;
}

.hero {
    overflow: hidden;
    position: relative;
    background: var(--cream);
}

.hero::before {
    content: "";
    width: 420px;
    height: 420px;
    position: absolute;
    top: -250px;
    left: -170px;
    border-radius: 50%;
    background: rgba(215, 137, 85, 0.13);
}

.hero__inner {
    min-height: 690px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    align-items: center;
    gap: 70px;
    padding-block: 72px 84px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.15;
}

h1 {
    max-width: 760px;
    margin-bottom: 24px;
    font-size: clamp(46px, 6vw, 72px);
    letter-spacing: -0.055em;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(34px, 4vw, 48px);
    letter-spacing: -0.04em;
}

h3 {
    margin-bottom: 14px;
    font-size: 24px;
    letter-spacing: -0.025em;
}

.hero__summary {
    max-width: 640px;
    margin-bottom: 32px;
    color: var(--muted);
    font-size: 21px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 30px;
}

.button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: 2px solid transparent;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}

.button--primary {
    background: var(--primary);
    color: var(--white);
}

.button--primary:hover {
    background: var(--primary-dark);
}

.button--secondary {
    border-color: var(--primary);
    background: transparent;
    color: var(--primary-dark);
}

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

.button--light {
    background: var(--white);
    color: var(--primary-dark);
}

.button--light:hover {
    background: var(--cream);
}

.hero__assurances {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin: 0;
    padding: 0;
    color: var(--muted);
    font-size: 15px;
    font-weight: 700;
    list-style: none;
}

.hero__assurances li::before {
    content: "✓";
    margin-right: 7px;
    color: var(--primary);
}

.wellness-scene {
    min-height: 500px;
    position: relative;
    border: 1px solid rgba(14, 98, 89, 0.12);
    border-radius: 38% 38% 18% 18%;
    background:
        radial-gradient(circle at 50% 37%, rgba(255, 246, 213, 0.9) 0 20%, transparent 48%),
        linear-gradient(145deg, #cfe7df 0%, #eaf3ee 58%, #f7eadc 100%);
    box-shadow: var(--shadow);
}

.wellness-scene::after {
    content: "";
    height: 84px;
    position: absolute;
    right: 10%;
    bottom: 0;
    left: 10%;
    border-radius: 50%;
    background: rgba(18, 73, 67, 0.1);
    filter: blur(20px);
}

.wellness-scene__halo {
    width: 310px;
    height: 310px;
    position: absolute;
    top: 76px;
    left: 50%;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    transform: translateX(-50%);
}

.wellness-scene__lamp {
    width: 210px;
    height: 310px;
    position: absolute;
    bottom: 52px;
    left: 50%;
    z-index: 2;
    transform: translateX(-50%);
}

.lamp__light {
    width: 220px;
    height: 220px;
    position: absolute;
    top: -34px;
    left: -5px;
    border-radius: 50%;
    background: rgba(255, 220, 126, 0.43);
    filter: blur(12px);
}

.lamp__shade {
    width: 176px;
    height: 132px;
    position: absolute;
    top: 32px;
    left: 17px;
    border-radius: 50% 50% 32% 32%;
    background: linear-gradient(160deg, #fff4cf, #f1bd69);
    box-shadow: inset -16px -12px 30px rgba(173, 96, 47, 0.16), 0 18px 34px rgba(95, 76, 31, 0.16);
}

.lamp__stem {
    width: 15px;
    height: 128px;
    position: absolute;
    top: 153px;
    left: 98px;
    border-radius: 999px;
    background: var(--primary-dark);
}

.lamp__base {
    width: 124px;
    height: 24px;
    position: absolute;
    bottom: 0;
    left: 43px;
    border-radius: 50%;
    background: var(--primary-dark);
    box-shadow: 0 12px 22px rgba(8, 75, 69, 0.2);
}

.device-card {
    min-width: 190px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: absolute;
    z-index: 3;
    padding: 15px;
    border: 1px solid rgba(216, 226, 223, 0.95);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 15px 34px rgba(25, 64, 59, 0.14);
}

.device-card--tracker {
    top: 88px;
    left: -28px;
}

.device-card--support {
    right: -30px;
    bottom: 78px;
}

.device-card__icon {
    width: 42px;
    height: 42px;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 13px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-size: 20px;
    font-weight: 900;
}

.device-card strong,
.device-card small {
    display: block;
    line-height: 1.3;
}

.device-card strong {
    font-size: 15px;
}

.device-card small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

.section {
    padding-block: 100px;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-heading > p:last-child,
.value-layout__content > p,
.contact-cta p {
    color: var(--muted);
}

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

.solution-card {
    min-height: 315px;
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    color: inherit;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.solution-card:nth-child(2) {
    background: var(--cream);
}

.solution-card__icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    margin-bottom: 34px;
    border-radius: 20px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-size: 32px;
}

.solution-card p {
    margin-bottom: 0;
    color: var(--muted);
}

.solution-card__action {
    margin-top: auto;
    padding-top: 28px;
    color: var(--primary);
    font-weight: 800;
}

.solution-card__action span {
    display: inline-block;
    margin-left: 4px;
    transition: transform 180ms ease;
}

.solution-card:hover {
    border-color: var(--primary);
    box-shadow: 0 16px 28px rgba(13, 94, 84, 0.13);
    transform: translateY(-6px);
}

.solution-card:hover .solution-card__icon,
.solution-card:focus-visible .solution-card__icon {
    transform: scale(1.07);
}

.solution-card:hover .solution-card__action span,
.solution-card:focus-visible .solution-card__action span {
    transform: translateX(4px);
}

.solution-card:focus-visible {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(13, 94, 84, 0.25), 0 16px 28px rgba(13, 94, 84, 0.13);
    outline: none;
}

.section--soft {
    background: #edf5f1;
}

.value-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: 90px;
}

.value-layout__content {
    position: sticky;
    top: 130px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-dark);
    font-weight: 800;
    text-underline-offset: 5px;
}

.value-list {
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(14, 98, 89, 0.25);
    list-style: none;
}

.value-list li {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 20px;
    padding-block: 28px;
    border-bottom: 1px solid rgba(14, 98, 89, 0.25);
    color: var(--muted);
}

.value-list__number {
    color: var(--accent);
    font-size: 14px;
    font-weight: 900;
}

.value-list strong {
    display: block;
    margin-bottom: 5px;
    color: var(--ink);
    font-size: 22px;
}

.contact-cta {
    background: var(--primary-dark);
    color: var(--white);
}

.contact-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.contact-cta .eyebrow,
.contact-cta p {
    color: #cce5dd;
}

.contact-cta h2,
.contact-cta p:last-child {
    margin-bottom: 0;
}

.site-footer {
    padding-block: 56px 36px;
    background: #102827;
    color: #dceae7;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 36px 80px;
}

.brand--footer,
.brand--footer .brand__text span {
    color: var(--white);
}

.site-footer p {
    max-width: 480px;
    margin: 18px 0 0;
    color: #b9ceca;
    font-size: 15px;
}

.site-footer__links {
    display: flex;
    align-items: flex-start;
    gap: 28px;
}

.site-footer__links a {
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    text-underline-offset: 5px;
}

.site-footer__copyright {
    grid-column: 1 / -1;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 980px) {
    .site-menu {
        gap: 18px;
    }

    .hero__inner {
        grid-template-columns: 1fr 0.85fr;
        gap: 42px;
    }

    .wellness-scene {
        min-height: 440px;
    }

    .device-card--tracker {
        left: -14px;
    }

    .device-card--support {
        right: -14px;
    }
}

@media (max-width: 800px) {
    .site-header__inner {
        min-height: 76px;
        grid-template-columns: minmax(0, 1fr) auto auto;
        padding-block: 12px;
    }

    .menu-toggle {
        grid-column: 3;
        display: inline-flex;
    }

    .site-header__tools {
        grid-column: 2;
    }

    .site-menu {
        grid-column: 1 / -1;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding-bottom: 12px;
    }

    .js-enabled .site-menu:not([data-open]) {
        display: none;
    }

    .site-menu a {
        min-height: 48px;
        display: flex;
        align-items: center;
        padding: 10px 6px;
        border-top: 1px solid var(--border);
    }

    .site-menu__contact {
        justify-content: center;
        margin: 10px 0 4px;
        border: 0 !important;
        border-radius: 12px;
    }

    .header-search__form {
        grid-template-columns: 1fr auto;
    }

    .header-search__form label,
    .header-search__form input {
        grid-column: 1 / -1;
    }

    .hero__inner,
    .value-layout {
        grid-template-columns: 1fr;
    }

    .hero__inner {
        gap: 54px;
    }

    .wellness-scene {
        width: min(100%, 560px);
        margin-inline: auto;
    }

    .solution-grid {
        grid-template-columns: 1fr;
    }

    .solution-card {
        min-height: auto;
    }

    .value-layout {
        gap: 50px;
    }

    .value-layout__content {
        position: static;
    }
}

@media (max-width: 620px) {
    body {
        font-size: 17px;
    }

    .page-shell,
    .site-header__inner {
        width: min(calc(100% - 28px), var(--page-width));
    }

    .brand__mark {
        width: 44px;
        height: 44px;
    }

    .brand__text strong {
        font-size: 18px;
    }

    .brand__text span {
        font-size: 13px;
    }

    .brand__text {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .site-header__inner {
        gap: 10px;
    }

    .site-header__tools {
        gap: 2px;
    }

    .header-icon-button {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .menu-toggle__label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .accessibility-widget {
        right: 14px;
        bottom: 14px;
    }

    .accessibility-trigger {
        width: 54px;
        padding: 8px;
    }

    .accessibility-trigger > span:last-child {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .accessibility-panel {
        position: fixed;
        right: 14px;
        bottom: 80px;
        left: 14px;
        width: auto;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }

    .magnifier-preview {
        right: 14px;
        bottom: 80px;
        left: 14px;
        width: auto;
        max-height: calc(100vh - 100px);
    }

    .hero__inner {
        min-height: 0;
        padding-block: 58px 64px;
    }

    h1 {
        font-size: clamp(42px, 13vw, 58px);
    }

    .hero__summary {
        font-size: 19px;
    }

    .hero__actions,
    .hero__actions .button {
        width: 100%;
    }

    .wellness-scene {
        min-height: 390px;
        border-radius: 30% 30% 16% 16%;
    }

    .wellness-scene__lamp {
        bottom: 34px;
        transform: translateX(-50%) scale(0.82);
        transform-origin: bottom center;
    }

    .wellness-scene__halo {
        top: 54px;
        transform: translateX(-50%) scale(0.8);
    }

    .device-card {
        min-width: 0;
        max-width: 185px;
        padding: 11px;
    }

    .device-card--tracker {
        top: 48px;
        left: 10px;
    }

    .device-card--support {
        right: 10px;
        bottom: 40px;
    }

    .section {
        padding-block: 72px;
    }

    .solution-card {
        padding: 28px;
    }

    .contact-cta__inner,
    .site-footer__inner {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .contact-cta__inner {
        gap: 30px;
    }

    .contact-cta .button {
        width: 100%;
    }

    .site-footer__links {
        flex-direction: column;
        gap: 14px;
    }

    .site-footer__copyright {
        width: 100%;
    }
}

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