:root {
    --ink: #000;
    --muted: #000;
    --blue: #0476d9;
    --teal: #087f83;
    --pale: #f2f9fd;
    --line: #dfe9ef;
    --navy: #051b2f;
    --white: #fff;
    --shadow: 0 26px 80px rgba(5, 31, 52, .16);
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--ink);
    background: #fff
}

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

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

.wrap {
    width: min(1180px, calc(100% - 48px));
    margin: auto
}

.site-header {
    height: 78px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(14px)
}

.header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 19px;
    font-weight: 800
}

.logo-mark {
    display: grid;
    place-items: center;
    width: 39px;
    height: 39px;
    border-radius: 12px;
    --background: linear-gradient(145deg, #ff743a, #168edc);
    color: #fff;
    font-size: 12px;
    transform: skew(-7deg)
}

nav {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 14px;
    font-weight: 700
}

nav a:not(.button) {
    color: var(--ink)
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--blue);
    color: #fff !important;
    font-weight: 800
}

.button-small {
    padding: 10px 17px
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 92px
}

.hero {
    padding: 94px 0 74px;
    background: linear-gradient(135deg, #f8fcff 0%, #ecf8ff 50%, #fff 100%);
    overflow: hidden
}

.hero-grid {
    min-height: 690px
}

.kicker {
    display: inline-block;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: .17em;
    color: #09789d;
    margin-bottom: 15px
}

h1,
h2 {
    letter-spacing: -.045em;
    margin: 0;
    color: var(--ink);
    font-weight: 800
}

h1 {
    font-size: 70px;
    line-height: 1
}

h2 {
    font-size: clamp(44px, 5.5vw, 60px);
    line-height: 1
}

.hero-lead,
.copy>p,
.intro p {
    font-size: 18px;
    line-height: 1.72;
    color: var(--muted)
}

.hero-lead {
    font-size: 20px;
    max-width: 620px;
    margin: 28px 0 0
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px
}

.store {
    display: flex;
    align-items: center;
    gap: 11px;
    background: #09111d;
    color: white;
    min-width: 178px;
    border-radius: 13px;
    padding: 10px 16px;
    box-shadow: 0 12px 30px rgba(4, 20, 34, .14);
    font-size: 25px
}

.store i {
    font-size: 18px;
    font-style: normal
}

.store span {
    display: flex;
    flex-direction: column;
    line-height: 1.02
}

.store small {
    font-size: 8px;
    letter-spacing: .06em
}

.store b {
    font-size: 17px
}

.hero-tags {
    display: flex;
    gap: 10px;
    margin-top: 25px
}

.hero-tags span {
    font-size: 12px;
    font-weight: 700;
    border: 1px solid #cee3ef;
    background: #fff;
    border-radius: 999px;
    padding: 8px 13px;
    color: var(--ink)
}

.device-stage {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 560px
}

.soft-circle {
    position: absolute;
    width: 590px;
    height: 590px;
    border-radius: 50%;
    background: radial-gradient(circle, #bde9fa 0, #e7f7fe 52%, rgba(255, 255, 255, 0) 73%)
}

.phone {
    position: relative;
    z-index: 2;
    width: min(385px, 90%);
    background: #0b0f13;
    border: 6px solid #0b0f13;
    border-radius: 44px;
    padding: 5px;
    margin-left: 10px;
    box-shadow: var(--shadow);
    overflow: hidden
}

.phone:before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 31%;
    height: 23px;
    border-radius: 15px;
    background: #050608;
    z-index: 4
}

.phone img {
    width: 100%;
    border-radius: 34px
}

.phone-large {
    width: min(455px, 92%)
}

.intro {
    padding: 80px 0;
    text-align: center
}

.intro-inner {
    max-width: 880px
}

.intro h2 {
    font-size: clamp(38px, 4vw, 60px)
}

.intro p {
    max-width: 760px;
    margin: 20px auto 0
}

.feature {
    padding: 110px 0
}

.feature-white {
    background: #fff
}

.feature-tint {
    background: var(--pale)
}

.copy>p {
    max-width: 590px;
    margin: 22px 0 0
}

.brand-chips,
.tool-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px
}

.brand-chips span {
    border: 1px solid #d7e5ed;
    background: #f9fcfe;
    padding: 10px 15px;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 800;
    color: var(--ink)
}

.simple-flow {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-top: 24px;
    color: var(--ink);
    font-size: 14px
}

.simple-flow span {
    opacity: .45
}

.clean-list {
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
    display: grid;
    gap: 16px
}

.clean-list li {
    display: flex;
    flex-direction: column;
    padding: 15px 17px;
    border-left: 3px solid #21a2d8;
    background: #fff;
    border-radius: 0 12px 12px 0
}

.clean-list b {
    --font-size: 14px
}

.clean-list span {
    font-size: 16px;
    color: var(--muted);
    margin-top: 3px
}

.feature-light-blue {
    background: radial-gradient(circle at 78% 15%, #edfaff 0, #d3f2ff 30%, #a8e1fb 64%, #73c8ee 100%);
    color: var(--ink)
}

.feature-light-blue h2 {
    color: var(--ink)
}

.kicker-light {
    color: var(--ink)
}

.dark-lead {
    color: var(--ink) !important;
    font-size: 21px !important;
    font-weight: 600
}

.tool-grid span {
    border: 1px solid rgba(0, 0, 0, .12);
    padding: 10px 13px;
    border-radius: 10px;
    font-size: 12px;
    background: rgba(255, 255, 255, .45);
    color: var(--ink)
}

.feature-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 28px
}

.feature-cards article {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff
}

.feature-cards b {
    display: block;
    --font-size: 15px;
    margin-bottom: 5px
}

.feature-cards span {
    font-size: 16px;
    line-height: 1.55;
    color: var(--muted)
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 30px;
    border: 1px solid var(--line);
    border-radius: 19px;
    overflow: hidden;
    background: #fff
}

.metric-grid div {
    padding: 18px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-direction: column
}

.metric-grid div:nth-child(3n) {
    border-right: none
}

.metric-grid div:nth-last-child(-n+3) {
    border-bottom: none
}

.metric-grid strong {
    font-size: 25px;
    color: #075ab5
}

.metric-grid span {
    font-size: 11px;
    color: var(--muted);
    margin-top: 3px
}

.cta {
    padding: 120px 0;
    text-align: center;
    color: white;
    background: linear-gradient(145deg, #087fc0, #064e7a 55%, #042b47)
}

.cta h2 {
    color: #fff;
    font-size: clamp(48px, 6vw, 82px)
}

.cta p {
    font-size: 21px;
    color: #c8ebfd
}

.cta .actions {
    justify-content: center
}

.store-light {
    background: #fff;
    color: #09111d
}

footer {
    padding: 45px 0;
    background: #06111e;
    color: #99abba
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px
}

.footer-brand {
    font-weight: 800;
    color: #fff;
    font-size: 18px
}

footer p {
    margin: 7px 0 0;
    font-size: 12px
}

.contact {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 12px;
    text-align: right
}

.contact b {
    color: #fff
}

/* Keep the centered brand clear when the full navigation no longer fits.
   The language selector remains available at every viewport width. */
@media(max-width:1100px) {
    nav a:not(.button):not(.lang-switch) {
        display: none
    }
}

@media(max-width:880px) {
    .two-col {
        grid-template-columns: 1fr;
        gap: 42px
    }

    .hero-grid {
        min-height: 0
    }

    .hero {
        padding-top: 70px
    }

    .copy {
        text-align: center
    }

    .copy>p {
        margin-left: auto;
        margin-right: auto
    }

    .actions,
    .hero-tags,
    .brand-chips,
    .simple-flow,
    .tool-grid {
        justify-content: center
    }

    .device-stage {
        min-height: auto
    }

    .soft-circle {
        width: 460px;
        height: 460px
    }

    .reverse-mobile .device-stage {
        order: 2
    }

    .clean-list {
        text-align: left
    }

    .metric-grid {
        max-width: 570px;
        margin-left: auto;
        margin-right: auto
    }
}

@media(max-width:600px) {
    .wrap {
        width: min(100% - 28px, 1180px)
    }

    .site-header {
        height: 68px
    }

    .logo {
        gap: 9px;
        font-size: 17px
    }

    .logo-mark {
        width: 36px;
        height: 36px
    }

    nav {
        gap: 10px
    }

    h1 {
        font-size: 56px
    }

    .feature {
        padding: 76px 0
    }

    .intro {
        padding: 58px 0
    }

    .hero-lead,
    .copy>p,
    .intro p {
        font-size: 16px
    }

    .device-stage {
        padding-top: 8px
    }

    .phone {
        width: min(350px, 94%);
        border-radius: 38px
    }

    .phone img {
        border-radius: 29px
    }

    .feature-cards {
        grid-template-columns: 1fr
    }

    .metric-grid {
        grid-template-columns: 1fr 1fr
    }

    .metric-grid div {
        border-right: 1px solid var(--line) !important;
        border-bottom: 1px solid var(--line) !important
    }

    .metric-grid div:nth-child(2n) {
        border-right: none !important
    }

    .metric-grid div:nth-last-child(-n+2) {
        border-bottom: none !important
    }

    .footer-inner {
        flex-direction: column
    }

    .contact {
        text-align: left
    }
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 38px;
    text-align: left
}

.why-grid article,
.purpose-grid article {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: #fff
}

.why-grid b,
.purpose-grid b {
    display: block;
    font-size: 17px;
    color: var(--ink);
    margin-bottom: 7px
}

.why-grid span,
.purpose-grid span {
    display: block;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6
}

.scenario-list {
    display: grid;
    gap: 10px;
    margin-top: 27px
}

.scenario-list>div {
    display: flex;
    flex-direction: column;
    padding: 15px 17px;
    background: #f7fbfd;
    border-radius: 13px;
    border: 1px solid #dceaf1
}

.scenario-list b {
    --font-size: 13px;
    color: var(--ink);
    margin-bottom: 4px
}

.scenario-list span {
    font-size: 16px;
    line-height: 1.55;
    color: var(--muted)
}

.dark-copy {
    color: var(--ink) !important;
    font-size: 15px !important
}

.purpose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 24px
}

.dark-purpose article {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .13)
}

.dark-purpose b {
    color: var(--ink)
}

.dark-purpose span {
    color: var(--ink)
}

.story-section {
    padding: 110px 0;
    background: #fff;
    text-align: center
}

.story-inner {
    max-width: 860px
}

.story-inner h2 {
    font-size: clamp(46px, 5vw, 72px)
}

.story-inner p {
    font-size: 17px;
    line-height: 1.75;
    color: var(--muted);
    max-width: 760px;
    margin: 20px auto 0
}

.story-words {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 34px
}

.story-words span {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .16em;
    color: #08779d;
    border: 1px solid #cfe5ee;
    border-radius: 999px;
    padding: 11px 20px;
    background: #f6fcff
}

.cta-lines {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    color: #d7f0fc;
    font-size: 13px;
    font-weight: 700;
    margin-top: 16px
}

@media(max-width:880px) {
    .why-grid {
        grid-template-columns: 1fr
    }

    .scenario-list {
        text-align: left
    }

    .purpose-grid {
        text-align: left
    }
}

@media(max-width:600px) {
    .purpose-grid {
        grid-template-columns: 1fr
    }

    .story-section {
        padding: 76px 0
    }
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: var(--ink);
    font-size: 12px;
    font-weight: 800;
    background: #fff;
}

.lang-switch:hover {
    border-color: #9cc9df;
    color: #076e9e
}

/* Wider desktop layout: reduce unused space on the left and right */
.wrap {
    width: min(1380px, calc(100% - 48px));
}

/* Keep the hero content visually balanced on wide monitors */
.hero .wrap,
.hero-inner {
    width: min(1380px, calc(100% - 48px));
}

@media (max-width: 900px) {

    .wrap,
    .hero .wrap,
    .hero-inner {
        width: min(100% - 28px, 1380px);
    }
}

/* Language selector with country flag */
.lang-switch {
    width: auto !important;
    min-width: 58px;
    padding: 0 13px;
    gap: 7px;
    white-space: nowrap;
}

.lang-flag {
    font-size: 17px;
    line-height: 1;
}

@media (max-width: 380px) {
    .logo {
        gap: 7px;
        font-size: 16px
    }

    .lang-switch {
        min-width: 52px;
        padding: 0 10px;
        gap: 5px
    }
}
