:root {
    --cw-blue: #005B96;
    --cw-blue-dark: #004474;
    --cw-bg: #F4F7FB;
    --cw-surface: #FFFFFF;
    --cw-border: #D7E1EE;
    --cw-chip: #EEF4FF;
    --cw-green: #21C87A;
    --cw-red: #FF5D5D;

    --ink: #0C1824;
    --ink-soft: #405164;
    --muted: #738397;

    --shadow-soft: 0 24px 70px rgba(26, 50, 78, .10);
    --shadow-device: 0 34px 90px rgba(19, 42, 68, .16);

    --shell: 1240px;
    --radius-xl: 34px;
    --radius-lg: 24px;
    --radius-md: 16px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cw-bg);
    color: var(--ink);
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Helvetica,
        Arial,
        sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

img {
    display: block;
    max-width: 100%;
}

/* =========================
   HEADER
   ========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(215, 225, 238, .72);
    background: rgba(244, 247, 251, .88);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.nav-shell {
    width: min(calc(100% - 48px), var(--shell));
    height: 78px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.brand img {
    width: auto;
    height: 42px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-left: auto;
}

.main-nav a {
    position: relative;
    padding: 28px 0 25px;

    color: #45586B;
    font-size: 14px;
    font-weight: 560;
    letter-spacing: -.01em;

    transition:
        color .22s ease,
        opacity .22s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 18px;
    left: 0;

    height: 1.5px;

    background: var(--cw-blue);

    transform: scaleX(0);
    transform-origin: center;
    transition: transform .22s ease;
}

.main-nav a:hover {
    color: var(--ink);
}

.main-nav a:hover::after {
    transform: scaleX(1);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 43px;
    padding: 0 19px;

    border: 1px solid var(--cw-blue);
    border-radius: 999px;

    background: var(--cw-blue);
    color: #fff;

    font-size: 13px;
    font-weight: 650;

    transition:
        background .22s ease,
        border-color .22s ease,
        transform .22s ease;
}

.nav-cta:hover {
    background: var(--cw-blue-dark);
    border-color: var(--cw-blue-dark);
    transform: translateY(-1px);
}

/* =========================
   HERO
   ========================= */

.hero {
    position: relative;
    overflow: hidden;
}

.hero-shell {
    width: min(calc(100% - 48px), var(--shell));
    min-height: calc(100vh - 79px);
    margin: 0 auto;
    padding: 88px 0 78px;

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(470px, .92fr);
    align-items: center;
    gap: 72px;
}

.hero-copy {
    max-width: 690px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 24px;

    color: var(--cw-blue);
    font-size: 13px;
    font-weight: 680;
    letter-spacing: .01em;
}

.eyebrow-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;
    background: var(--cw-green);

    box-shadow: 0 0 0 5px rgba(33, 200, 122, .11);
}

.hero h1 {
    max-width: 760px;
    margin: 0;

    font-size: clamp(56px, 5.5vw, 82px);
    line-height: .99;
    letter-spacing: -.058em;
    font-weight: 720;
}

.hero-lead {
    max-width: 600px;
    margin: 30px 0 0;

    color: var(--ink-soft);

    font-size: 19px;
    line-height: 1.62;
    letter-spacing: -.018em;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 36px;
}

.button {
    min-height: 52px;
    padding: 0 23px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    border-radius: 999px;

    font-size: 14px;
    font-weight: 650;

    transition:
        transform .22s ease,
        background .22s ease,
        border-color .22s ease;
}

.button-primary {
    background: var(--cw-blue);
    border: 1px solid var(--cw-blue);
    color: #fff;

    box-shadow: 0 10px 24px rgba(0, 91, 150, .14);
}

.button-primary:hover {
    background: var(--cw-blue-dark);
    border-color: var(--cw-blue-dark);
    transform: translateY(-2px);
}

.button-secondary {
    background: rgba(255,255,255,.68);
    border: 1px solid var(--cw-border);
    color: var(--ink);
}

.button-secondary:hover {
    background: #fff;
    border-color: #C5D2E1;
    transform: translateY(-2px);
}

.button-arrow {
    font-size: 17px;
    line-height: 1;
}

.hero-signals {
    margin-top: 50px;
    padding-top: 24px;

    border-top: 1px solid rgba(193, 207, 224, .74);

    display: grid;
    grid-template-columns: repeat(4, max-content);
    gap: 28px;
}

.signal {
    display: flex;
    align-items: center;
    gap: 9px;

    color: #586A7D;
    font-size: 12px;
    font-weight: 610;
}

.signal-icon {
    width: 28px;
    height: 28px;

    display: grid;
    place-items: center;

    border-radius: 9px;
    border: 1px solid rgba(205, 218, 233, .92);
    background: rgba(255,255,255,.72);

    color: var(--cw-blue);
}

.signal-icon svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
}

/* =========================
   DEVICE COMPOSITION
   ========================= */

.hero-visual {
    position: relative;
    min-height: 610px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.device-aura {
    position: absolute;
    width: 470px;
    height: 470px;

    border-radius: 50%;
    background: rgba(255,255,255,.7);
    border: 1px solid rgba(215,225,238,.74);

    box-shadow: inset 0 0 0 70px rgba(255,255,255,.23);
}

.phone {
    position: relative;
    z-index: 3;

    width: 294px;
    height: 590px;
    padding: 10px;

    border-radius: 48px;
    background: #10161D;

    box-shadow: var(--shadow-device);

    transform: rotate(2.3deg);
}

.phone::before {
    content: "";
    position: absolute;
    top: 16px;
    left: 50%;
    z-index: 5;

    width: 92px;
    height: 26px;

    border-radius: 999px;
    background: #10161D;

    transform: translateX(-50%);
}

.phone-screen {
    position: relative;
    overflow: hidden;

    width: 100%;
    height: 100%;

    border-radius: 39px;
    background: #F8FAFD;
}

.phone-top {
    height: 92px;
    padding: 38px 22px 0;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.phone-person {
    font-size: 11px;
    color: #8190A1;
    font-weight: 600;
}

.phone-person strong {
    display: block;
    margin-top: 4px;

    color: #172636;
    font-size: 17px;
    letter-spacing: -.025em;
}

.online-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 6px 9px;

    border-radius: 999px;
    background: #EAF8F1;

    color: #168B57;
    font-size: 9px;
    font-weight: 700;
}

.online-dot {
    width: 6px;
    height: 6px;

    border-radius: 50%;
    background: var(--cw-green);
}

.map-panel {
    position: relative;
    height: 278px;
    margin: 0 14px;

    overflow: hidden;

    border: 1px solid #E0E8F1;
    border-radius: 26px;
    background:
        linear-gradient(#E7EDF5 1px, transparent 1px),
        linear-gradient(90deg, #E7EDF5 1px, transparent 1px),
        #F0F4F8;
    background-size: 34px 34px;

    box-shadow: 0 12px 34px rgba(44, 70, 97, .06);
}

.map-road {
    position: absolute;

    width: 360px;
    height: 72px;

    border: 11px solid rgba(255,255,255,.96);
    border-radius: 50%;

    transform: rotate(-24deg);
}

.map-road.one {
    top: 36px;
    left: -74px;
}

.map-road.two {
    right: -132px;
    bottom: 31px;
    transform: rotate(31deg);
}

.location-pulse {
    position: absolute;
    top: 50%;
    left: 52%;

    width: 70px;
    height: 70px;

    display: grid;
    place-items: center;

    border-radius: 50%;
    background: rgba(0, 91, 150, .10);

    transform: translate(-50%, -50%);
}

.location-pulse::after {
    content: "";

    width: 18px;
    height: 18px;

    border: 5px solid white;
    border-radius: 50%;

    background: var(--cw-blue);

    box-shadow: 0 8px 20px rgba(0,91,150,.26);
}

.map-label {
    position: absolute;
    right: 18px;
    bottom: 18px;

    padding: 9px 11px;

    border: 1px solid rgba(214,224,235,.9);
    border-radius: 11px;

    background: rgba(255,255,255,.94);
    color: #556778;

    font-size: 9px;
    font-weight: 650;
}

.phone-status {
    margin: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
}

.phone-stat {
    min-height: 76px;
    padding: 14px;

    border: 1px solid #E1E8F1;
    border-radius: 18px;

    background: #fff;
}

.phone-stat span {
    display: block;

    color: #8492A1;
    font-size: 9px;
    font-weight: 600;
}

.phone-stat strong {
    display: block;
    margin-top: 7px;

    color: #203142;
    font-size: 13px;
    letter-spacing: -.02em;
}

.safe {
    color: #168B57 !important;
}

.watch {
    position: absolute;
    right: 24px;
    bottom: 54px;
    z-index: 5;

    width: 154px;
    height: 190px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: rotate(-8deg);
}

.watch-band {
    position: absolute;

    width: 72px;
    height: 190px;

    border-radius: 38px;
    background: #D9E2EC;

    box-shadow: inset 0 0 0 1px rgba(110,132,153,.14);
}

.watch-face {
    position: relative;
    z-index: 2;

    width: 132px;
    height: 150px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border: 8px solid #1A222A;
    border-radius: 38px;

    background: #0D141B;
    color: #fff;

    box-shadow: 0 28px 54px rgba(17, 35, 52, .24);
}

.watch-logo {
    margin-bottom: 15px;

    color: #8ABADB;
    font-size: 9px;
    font-weight: 720;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.watch-time {
    font-size: 28px;
    font-weight: 650;
    letter-spacing: -.055em;
}

.watch-status {
    margin-top: 12px;

    display: flex;
    align-items: center;
    gap: 5px;

    color: #9FB0BE;
    font-size: 8px;
    font-weight: 600;
}

.watch-status i {
    width: 6px;
    height: 6px;

    border-radius: 50%;
    background: var(--cw-green);
}

.sos-chip {
    position: absolute;
    left: 4px;
    bottom: 104px;
    z-index: 6;

    padding: 13px 16px;

    display: flex;
    align-items: center;
    gap: 9px;

    border: 1px solid rgba(255,255,255,.7);
    border-radius: 16px;

    background: rgba(255,255,255,.94);

    box-shadow: 0 18px 40px rgba(40, 61, 83, .12);

    color: #495D70;

    font-size: 10px;
    font-weight: 650;

    transform: rotate(-3deg);
}

.sos-icon {
    width: 26px;
    height: 26px;

    display: grid;
    place-items: center;

    border-radius: 9px;

    background: #FFF0F0;
    color: var(--cw-red);
}

.sos-icon svg {
    width: 13px;
    height: 13px;
    stroke: currentColor;
}

/* =========================
   FIRST RESPONSIVE PASS
   ========================= */

@media (max-width: 1050px) {
    .main-nav {
        display: none;
    }

    .hero-shell {
        grid-template-columns: 1fr 430px;
        gap: 34px;
    }

    .hero h1 {
        font-size: clamp(52px, 6vw, 68px);
    }

    .hero-signals {
        grid-template-columns: repeat(2, max-content);
    }

    .hero-visual {
        transform: scale(.9);
    }
}

@media (max-width: 820px) {
    .nav-shell {
        width: min(calc(100% - 32px), var(--shell));
        height: 70px;
    }

    .brand img {
        height: 36px;
    }

    .nav-cta {
        min-height: 40px;
        padding: 0 15px;
    }

    .hero-shell {
        width: min(calc(100% - 32px), var(--shell));
        min-height: auto;
        padding: 64px 0 40px;

        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-copy {
        max-width: 100%;
    }

    .hero h1 {
        font-size: clamp(47px, 13vw, 66px);
        line-height: 1;
    }

    .hero-lead {
        max-width: 560px;
        font-size: 17px;
    }

    .hero-signals {
        margin-top: 38px;
    }

    .hero-visual {
        min-height: 570px;
        transform: scale(.88);
        transform-origin: top center;
    }
}

@media (max-width: 520px) {
    .nav-cta {
        display: none;
    }

    .hero-shell {
        padding-top: 48px;
    }

    .eyebrow {
        margin-bottom: 19px;
    }

    .hero h1 {
        font-size: clamp(43px, 13.4vw, 59px);
        letter-spacing: -.052em;
    }

    .hero-lead {
        margin-top: 23px;
        font-size: 16px;
        line-height: 1.58;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
        margin-top: 29px;
    }

    .button {
        width: 100%;
    }

    .hero-signals {
        grid-template-columns: 1fr 1fr;
        gap: 14px 16px;
    }

    .hero-visual {
        margin-top: -20px;
        margin-bottom: -70px;

        transform: scale(.72);
        transform-origin: top center;
    }
}
