html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: var(--color-snow);
    color: var(--color-ink);
    font-family: var(--font-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    color: inherit;
}

.container {
    width: min(calc(100% - (var(--page-padding) * 2)), var(--content-width));
    margin-inline: auto;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(248, 251, 253, 0.9);
    border-bottom: 1px solid rgba(18, 45, 67, 0.07);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.nav-shell {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

.brand-mark {
    width: 26px;
    height: 42px;
    object-fit: contain;
}

.brand-name {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    position: relative;
    padding-block: 11px;
    color: #263442;
    font-size: 0.9rem;
    font-weight: 550;
    transition: color var(--transition-fast);
}

.nav-link::after {
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 2px;
    height: 2px;
    content: "";
    background: var(--color-ice-strong);
    transition: right var(--transition-normal);
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.active {
    color: var(--color-navy);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.active::after {
    right: 0;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 6px auto;
    background: var(--color-navy);
    transition:
        transform var(--transition-normal),
        opacity var(--transition-normal);
}

/* Hero */

.hero {
    position: relative;
    overflow: hidden;
    min-height: 635px;
    background:
        radial-gradient(circle at 74% 28%, rgba(105, 184, 235, 0.13), transparent 27%),
        linear-gradient(180deg, #fbfdff 0%, #f2f7fa 100%);
    border-bottom: 1px solid var(--color-line);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    min-height: 635px;
}

.hero-copy {
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px 38px 54px 0;
}

.eyebrow {
    margin: 0 0 16px;
    color: var(--color-ice-strong);
    font-size: 0.74rem;
    font-weight: 760;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 720px;
    margin: 0;
    color: var(--color-ink);
    font-size: clamp(3rem, 4.8vw, 5rem);
    font-weight: 520;
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.hero h1 span {
    display: block;
    margin-top: 12px;
    color: var(--color-ice-strong);
    font-size: 0.78em;
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.03;
}

.hero-intro {
    max-width: 670px;
    margin: 28px 0 0;
    color: #536270;
    font-size: 1.02rem;
    line-height: 1.78;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 26px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: var(--radius-small);
    font-size: 0.76rem;
    font-weight: 760;
    letter-spacing: 0.075em;
    text-transform: uppercase;
    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        background var(--transition-fast);
}

.button-primary {
    background: var(--color-navy);
    color: var(--color-white);
    box-shadow: 0 11px 24px rgba(11, 20, 34, 0.14);
}

.button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(11, 20, 34, 0.18);
}

.text-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-block: 8px;
    color: var(--color-navy);
    font-size: 0.76rem;
    font-weight: 740;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.text-link::after {
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 26px;
    height: 2px;
    content: "";
    background: var(--color-ice);
    transition: width var(--transition-normal);
}

.text-link:hover::after {
    width: 100%;
}

.principles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 42px;
}

.principle {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 12px;
}

.principle-icon {
    position: relative;
    width: 24px;
    height: 24px;
    margin-top: 2px;
}

.principle h2 {
    margin: 0 0 6px;
    color: var(--color-ice-strong);
    font-size: 0.72rem;
    font-weight: 760;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.principle p {
    margin: 0;
    color: #687887;
    font-size: 0.8rem;
    line-height: 1.55;
}

.icon-shield,
.icon-offline,
.icon-lock {
    position: absolute;
    inset: 2px;
}

.icon-shield {
    border: 2px solid var(--color-ice-strong);
    border-radius: 7px 7px 10px 10px;
    clip-path: polygon(50% 0, 92% 16%, 84% 72%, 50% 100%, 16% 72%, 8% 16%);
}

.icon-offline::before,
.icon-offline::after {
    position: absolute;
    content: "";
}

.icon-offline::before {
    inset: 4px 0;
    border: 2px solid var(--color-ice-strong);
    border-left-color: transparent;
    border-right-color: transparent;
    border-radius: 50%;
    transform: rotate(-18deg);
}

.icon-offline::after {
    width: 24px;
    height: 2px;
    top: 10px;
    left: -1px;
    background: var(--color-ice-strong);
    transform: rotate(-45deg);
    transform-origin: center;
}

.icon-lock {
    top: 7px;
    border: 2px solid var(--color-ice-strong);
    border-radius: 3px;
}

.icon-lock::before {
    position: absolute;
    width: 10px;
    height: 8px;
    left: 3px;
    top: -9px;
    content: "";
    border: 2px solid var(--color-ice-strong);
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
}

/* Hero artwork */

.hero-art {
    position: relative;
    min-height: 100%;
    isolation: isolate;
}

.hero-orb {
    position: absolute;
    width: 470px;
    height: 470px;
    top: 60px;
    left: 26%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 52%, rgba(121, 198, 244, 0.22), rgba(121, 198, 244, 0.02) 55%, transparent 72%);
    filter: blur(2px);
}

.hero-logo-ghost {
    position: absolute;
    z-index: 1;
    top: 88px;
    left: 31%;
    width: 150px;
    opacity: 0.055;
    transform: scale(2.1);
    transform-origin: top left;
}

.hero-logo-ghost img {
    width: 100%;
}

.ridge {
    position: absolute;
    right: -8%;
    bottom: 0;
    transform-origin: bottom;
}

.ridge-far {
    width: 104%;
    height: 48%;
    opacity: 0.32;
    background:
        linear-gradient(135deg, transparent 0 49%, rgba(255,255,255,0.62) 49.2% 53%, transparent 53.2%),
        linear-gradient(160deg, #dceaf3 0%, #9fb9cc 64%, #7694aa 100%);
    clip-path: polygon(
        0 100%, 9% 82%, 17% 85%, 27% 62%, 36% 74%, 50% 31%,
        58% 50%, 66% 38%, 76% 69%, 85% 49%, 94% 70%, 100% 62%, 100% 100%
    );
}

.ridge-mid {
    width: 108%;
    height: 40%;
    opacity: 0.58;
    background:
        linear-gradient(145deg, transparent 0 49%, rgba(255,255,255,0.72) 49.1% 55%, transparent 55.1%),
        linear-gradient(167deg, #e8f2f7 0%, #bfd5e3 54%, #87a6bc 100%);
    clip-path: polygon(
        0 100%, 8% 88%, 19% 91%, 29% 68%, 40% 76%, 53% 42%,
        61% 61%, 70% 50%, 80% 76%, 90% 59%, 100% 78%, 100% 100%
    );
}

.ridge-front {
    width: 114%;
    height: 30%;
    opacity: 0.8;
    background:
        linear-gradient(150deg, transparent 0 50%, rgba(255,255,255,0.72) 50.1% 55%, transparent 55.1%),
        linear-gradient(170deg, #eff7fb 0%, #c8ddea 55%, #9ab5c8 100%);
    clip-path: polygon(
        0 100%, 12% 85%, 22% 91%, 34% 72%, 45% 83%, 58% 58%,
        67% 75%, 76% 66%, 86% 84%, 94% 74%, 100% 81%, 100% 100%
    );
}

.ice-plane {
    position: absolute;
    z-index: 2;
    right: 4%;
    bottom: 0;
    width: 58%;
    height: 38%;
    opacity: 0.18;
    background: linear-gradient(135deg, rgba(255,255,255,0.7), rgba(91, 160, 204, 0.25));
    clip-path: polygon(12% 100%, 54% 24%, 74% 100%);
}

.ice-plane-two {
    right: -2%;
    width: 46%;
    height: 26%;
    opacity: 0.15;
    clip-path: polygon(0 100%, 68% 18%, 100% 100%);
}

.mist {
    position: absolute;
    z-index: 3;
    right: -18%;
    left: -7%;
    height: 96px;
    border-radius: 50%;
    background: rgba(249, 252, 254, 0.86);
    filter: blur(24px);
}

.mist-one {
    bottom: 13%;
}

.mist-two {
    bottom: 1%;
    opacity: 0.8;
}

/* Software */

.software-section {
    padding: 98px 0 110px;
    background: var(--color-white);
}

.section-heading {
    max-width: 710px;
    margin: 0 auto 46px;
    text-align: center;
}

.section-heading h2,
.values-section h2 {
    margin: 0;
    color: var(--color-navy);
    font-size: clamp(2rem, 3.5vw, 3.25rem);
    font-weight: 510;
    letter-spacing: -0.045em;
    line-height: 1.08;
}

.section-heading > p:last-child {
    margin: 20px auto 0;
    color: var(--color-gray);
    font-size: 0.96rem;
}

.software-grid {
    display: grid;
    grid-template-columns: 1.45fr 0.75fr;
    gap: 24px;
}

.software-card {
    min-height: 380px;
    overflow: hidden;
    border: 1px solid rgba(36, 72, 98, 0.08);
    border-radius: var(--radius-large);
    background:
        linear-gradient(135deg, rgba(237, 246, 251, 0.95), rgba(249, 252, 254, 0.99));
    box-shadow: var(--shadow-card);
}

.software-card-featured {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    align-items: center;
}

.app-preview {
    position: relative;
    align-self: stretch;
    display: grid;
    place-items: end center;
    min-height: 380px;
    padding-top: 38px;
    overflow: hidden;
    background:
        radial-gradient(circle at 47% 33%, rgba(106, 185, 235, 0.16), transparent 33%),
        linear-gradient(180deg, rgba(255,255,255,0.38), rgba(220, 237, 247, 0.72));
}

.phone {
    position: relative;
    width: 214px;
    height: 430px;
    padding: 8px;
    border-radius: 42px 42px 0 0;
    background: #16191e;
    box-shadow: 0 30px 70px rgba(16, 42, 63, 0.18);
}

.phone-speaker {
    position: absolute;
    z-index: 3;
    top: 16px;
    left: 50%;
    width: 76px;
    height: 20px;
    border-radius: 20px;
    background: #07090c;
    transform: translateX(-50%);
}

.phone-screen {
    height: 100%;
    padding: 18px 22px 26px;
    border-radius: 35px 35px 0 0;
    background:
        linear-gradient(180deg, #f9fcfd 0%, #eaf3f8 100%);
}

.mock-statusbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2px;
    color: #667786;
    font-size: 0.55rem;
    font-weight: 700;
}

.status-dots {
    letter-spacing: 0.08em;
}

.mock-app-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 34px;
    color: var(--color-navy);
    font-size: 0.78rem;
}

.mock-app-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-ice-strong);
    box-shadow: 0 0 0 4px rgba(73, 169, 231, 0.12);
}

.mock-overline {
    margin: 34px 0 8px;
    color: var(--color-ice-strong);
    font-size: 0.6rem;
    font-weight: 760;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mock-title {
    margin: 0;
    color: var(--color-navy);
    font-size: 1.55rem;
    font-weight: 620;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.mock-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: 22px;
}

.mock-stats div {
    padding: 12px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: inset 0 0 0 1px rgba(31, 77, 107, 0.07);
}

.mock-stats span,
.mock-stats strong {
    display: block;
}

.mock-stats span {
    color: var(--color-gray-light);
    font-size: 0.54rem;
}

.mock-stats strong {
    margin-top: 2px;
    color: var(--color-navy);
    font-size: 0.68rem;
}

.mock-list {
    display: grid;
    gap: 8px;
    margin-top: 18px;
}

.mock-list span {
    height: 34px;
    border-radius: 9px;
    background: rgba(255,255,255,0.78);
    box-shadow: inset 0 0 0 1px rgba(31, 77, 107, 0.05);
}

.software-card-copy {
    padding: 50px;
}

.card-label {
    margin: 0 0 14px;
    color: var(--color-ice-strong);
    font-size: 0.7rem;
    font-weight: 760;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.software-card h3 {
    margin: 0;
    color: var(--color-navy);
    font-size: 2.1rem;
    font-weight: 560;
    letter-spacing: -0.035em;
}

.software-card-copy > p:not(.card-label),
.future-card p {
    max-width: 470px;
    margin: 20px 0 28px;
    color: var(--color-gray);
}

.future-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 46px;
}

.future-card h3 {
    max-width: 330px;
}

.future-mark {
    position: relative;
    align-self: flex-end;
    width: 88px;
    height: 128px;
    border: 1px dashed rgba(47, 115, 157, 0.27);
    border-radius: var(--radius-medium);
}

.future-mark span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background: var(--color-ice-strong);
    transform: translate(-50%, -50%);
}

.future-mark span:last-child {
    transform: translate(-50%, -50%) rotate(90deg);
}

/* Values */

.values-section {
    padding: 102px 0;
    background:
        linear-gradient(110deg, #edf6fa 0%, #f8fbfd 62%, #edf5f9 100%);
    border-top: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
}

.values-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 90px;
    align-items: center;
}

.values-copy {
    display: grid;
    gap: 16px;
}

.values-copy p {
    margin: 0;
    color: var(--color-gray);
    font-size: 1rem;
    line-height: 1.85;
}

/* Footer */

.site-footer {
    background: var(--color-navy);
    color: rgba(255, 255, 255, 0.8);
}

.footer-inner {
    min-height: 112px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.footer-brand img {
    filter: invert(1);
}

.footer-inner > p {
    margin: 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.84rem;
}

.copyright {
    justify-self: end;
    color: rgba(255, 255, 255, 0.46);
    font-size: 0.76rem;
}

:focus-visible {
    outline: 3px solid rgba(69, 167, 232, 0.42);
    outline-offset: 4px;
}
