:root {
    --ink: #17151d;
    --muted: #696672;
    --line: #e8e5ec;
    --paper: #fbfafc;
    --white: #ffffff;
    --purple: #7055eb;
    --purple-dark: #4e35c8;
    --purple-light: #eeeafd;
    --mint: #b9f2db;
    --mint-dark: #176c54;
    --shadow: 0 24px 70px rgba(46, 35, 72, 0.10);
    --radius-lg: 32px;
    --radius-md: 22px;
    --shell: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
        "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

.site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    border-bottom: 1px solid rgba(232, 229, 236, 0.8);
    background: rgba(251, 250, 252, 0.88);
    backdrop-filter: blur(18px);
}

.nav-shell {
    width: min(calc(100% - 40px), var(--shell));
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-size: 17px;
    font-weight: 760;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.brand-mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: var(--white);
    border-radius: 11px;
    background: var(--ink);
    font-size: 17px;
    font-weight: 800;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(18px, 3vw, 38px);
    color: #4b4852;
    font-size: 14px;
    font-weight: 600;
}

.site-nav a,
.footer-links a,
.text-link {
    transition: color 160ms ease;
}

.site-nav a:hover,
.footer-links a:hover,
.text-link:hover {
    color: var(--purple);
}

.hero {
    position: relative;
    min-height: 660px;
    overflow: hidden;
    display: grid;
    align-items: center;
    isolation: isolate;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(390px, 0.8fr);
    align-items: center;
    gap: 48px;
    padding: 100px 0 112px;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--purple);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
}

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

h1 {
    margin-bottom: 25px;
    font-size: clamp(44px, 5vw, 64px);
    line-height: 1.12;
    letter-spacing: -0.055em;
}

h1 span {
    color: var(--purple);
}

.hero-text {
    max-width: 610px;
    margin-bottom: 34px;
    color: var(--muted);
    font-size: 18px;
}

.mobile-break {
    display: none;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.button {
    min-height: 50px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 750;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: var(--white);
    background: var(--purple);
    box-shadow: 0 12px 30px rgba(112, 85, 235, 0.26);
}

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

.button-ghost {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.7);
}

.button-ghost:hover {
    background: var(--white);
    box-shadow: 0 10px 28px rgba(46, 35, 72, 0.08);
}

.button-disabled {
    color: #8a8790;
    background: #e8e6eb;
    cursor: not-allowed;
}

.button-disabled:hover {
    transform: none;
}

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

.orbit {
    position: absolute;
    border: 1px solid rgba(112, 85, 235, 0.18);
    border-radius: 50%;
}

.orbit-large {
    width: 430px;
    height: 430px;
    top: 0;
    left: 15px;
}

.orbit-small {
    width: 290px;
    height: 290px;
    top: 70px;
    left: 85px;
}

.device-card {
    position: absolute;
    width: 248px;
    height: 310px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 35px;
    box-shadow: var(--shadow);
}

.device-card strong {
    margin-top: 20px;
    font-size: 22px;
}

.device-card small {
    color: rgba(23, 21, 29, 0.57);
}

.device-card-front {
    z-index: 2;
    top: 35px;
    left: 40px;
    color: var(--white);
    background: linear-gradient(155deg, #8c74f7, #5136cc);
    transform: rotate(-7deg);
}

.device-card-front small {
    color: rgba(255, 255, 255, 0.68);
}

.device-card-back {
    z-index: 1;
    right: 0;
    bottom: 14px;
    background: linear-gradient(155deg, #d7f8ea, #91dfc3);
    transform: rotate(8deg);
}

.device-dot {
    position: absolute;
    top: 26px;
    right: 26px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--mint-dark);
    box-shadow: 0 0 0 7px rgba(23, 108, 84, 0.10);
}

.hero-glow {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(10px);
}

.hero-glow-one {
    width: 420px;
    height: 420px;
    top: -210px;
    right: 3%;
    background: rgba(183, 169, 247, 0.22);
}

.hero-glow-two {
    width: 260px;
    height: 260px;
    bottom: -150px;
    left: 4%;
    background: rgba(185, 242, 219, 0.28);
}

.badge-symbol {
    position: relative;
    display: grid;
    place-items: center;
    border: 3px solid currentColor;
    border-radius: 50%;
}

.badge-symbol::before,
.badge-symbol::after {
    position: absolute;
    width: 124%;
    height: 3px;
    content: "";
    border-radius: 999px;
    background: currentColor;
}

.badge-symbol::after {
    transform: rotate(90deg);
}

.badge-symbol span {
    width: 29%;
    height: 29%;
    border-radius: 50%;
    background: currentColor;
}

.device-card .badge-symbol {
    width: 84px;
    height: 84px;
    margin: auto;
    color: rgba(255, 255, 255, 0.92);
}

.section {
    padding-top: 108px;
    padding-bottom: 120px;
}

.section-heading {
    margin-bottom: 38px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.section-heading h2,
.principles-section h2,
.page-hero h1 {
    margin-bottom: 0;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.15;
    letter-spacing: -0.045em;
}

.text-link {
    padding-bottom: 6px;
    font-size: 14px;
    font-weight: 700;
}

.text-link span {
    margin-left: 4px;
}

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

.product-card {
    min-height: 500px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    border-radius: var(--radius-lg);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.product-purple {
    color: var(--white);
    background: linear-gradient(145deg, #765ae9, #4f35c7);
}

.product-mint {
    background: linear-gradient(145deg, #d9f9ec, #a1e6cc);
}

.product-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.status {
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 750;
}

.status-live {
    color: #4930b6;
    background: rgba(255, 255, 255, 0.88);
}

.status-building {
    color: #105b47;
    background: rgba(255, 255, 255, 0.68);
}

.arrow {
    font-size: 24px;
}

.product-icon {
    width: 115px;
    height: 115px;
    margin: 18px auto 36px;
}

.product-purple .badge-symbol {
    color: rgba(255, 255, 255, 0.88);
}

.collar-symbol {
    position: relative;
}

.collar-ring {
    position: absolute;
    inset: 11px;
    border: 8px solid var(--mint-dark);
    border-top-color: transparent;
    border-radius: 50%;
    transform: rotate(22deg);
}

.collar-tag {
    position: absolute;
    right: 7px;
    bottom: 1px;
    width: 34px;
    height: 39px;
    border-radius: 12px 12px 17px 17px;
    background: var(--mint-dark);
    transform: rotate(-8deg);
}

.product-kicker {
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.15em;
    opacity: 0.67;
}

.product-card h3 {
    margin-bottom: 11px;
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.product-card p:last-child {
    max-width: 440px;
    margin-bottom: 0;
    opacity: 0.7;
}

.principles-section {
    padding: 120px 0;
    color: var(--white);
    background: var(--ink);
}

.principles-section .eyebrow {
    color: #bcaefb;
}

.principles-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 90px;
}

.principles-list article {
    padding: 26px 0;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.principles-list article:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.principles-list span {
    color: #9d8deb;
    font-size: 12px;
    font-weight: 800;
}

.principles-list h3 {
    margin-bottom: 6px;
    font-size: 19px;
}

.principles-list p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.57);
}

.site-footer {
    padding: 68px 0 24px;
    background: #f1eff3;
}

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

.brand-footer {
    margin-bottom: 16px;
}

.footer-grid p {
    max-width: 390px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px 32px;
    font-size: 13px;
    font-weight: 650;
}

.footer-bottom {
    margin-top: 52px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    color: #8a8790;
    border-top: 1px solid #dedbe1;
    font-size: 12px;
}

.footer-bottom a {
    transition: color 160ms ease;
}

.footer-bottom a:hover {
    color: var(--purple);
}

/* Inner pages */
.page-hero {
    padding: 94px 0 72px;
    text-align: center;
}

.page-hero p:last-child {
    max-width: 650px;
    margin: 22px auto 0;
    color: var(--muted);
    font-size: 17px;
}

.page-content {
    padding-bottom: 110px;
}

.app-list {
    display: grid;
    gap: 18px;
}

.app-row {
    padding: 28px;
    display: grid;
    grid-template-columns: 72px 1fr auto;
    align-items: center;
    gap: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.app-row:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 45px rgba(46, 35, 72, 0.08);
}

.mini-icon {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 20px;
}

.mini-icon .badge-symbol,
.mini-icon .collar-symbol {
    width: 42px;
    height: 42px;
}

.mini-icon .collar-ring {
    border-width: 4px;
}

.mini-icon .collar-tag {
    width: 14px;
    height: 17px;
    border-radius: 5px 5px 7px 7px;
}

.mini-purple {
    color: var(--white);
    background: var(--purple);
}

.mini-mint {
    background: var(--mint);
}

.app-row h2 {
    margin-bottom: 3px;
    font-size: 21px;
}

.app-row p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
}

.app-row .status {
    white-space: nowrap;
}

.product-hero {
    padding: 82px 0 100px;
}

.product-hero-grid {
    display: grid;
    grid-template-columns: 1fr 0.82fr;
    align-items: center;
    gap: 74px;
}

.product-hero h1 {
    margin: 12px 0 22px;
    font-size: clamp(46px, 7vw, 76px);
    line-height: 1.08;
    letter-spacing: -0.055em;
}

.product-hero-copy > p:not(.eyebrow) {
    max-width: 590px;
    color: var(--muted);
    font-size: 18px;
}

.meta-line {
    margin: 28px 0 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.meta-pill {
    padding: 7px 12px;
    color: #615e68;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    font-size: 12px;
    font-weight: 650;
}

.product-display {
    min-height: 440px;
    display: grid;
    place-items: center;
    border-radius: 42px;
}

.display-purple {
    color: var(--white);
    background: radial-gradient(circle at 70% 20%, #9d8bf5, transparent 32%),
        linear-gradient(145deg, #765ae9, #4930bb);
}

.display-mint {
    background: radial-gradient(circle at 70% 20%, #eafff7, transparent 32%),
        linear-gradient(145deg, #cff6e7, #92ddc1);
}

.product-display .badge-symbol,
.product-display .collar-symbol {
    width: 180px;
    height: 180px;
}

.product-display .collar-ring {
    border-width: 13px;
}

.product-display .collar-tag {
    width: 52px;
    height: 60px;
    border-radius: 18px 18px 25px 25px;
}

.feature-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--line);
}

.feature-strip article {
    padding: 30px;
    background: var(--white);
}

.feature-strip span {
    color: var(--purple);
    font-size: 12px;
    font-weight: 800;
}

.feature-strip h2 {
    margin: 10px 0 8px;
    font-size: 18px;
}

.feature-strip p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
}

.notice {
    margin-top: 28px;
    padding: 20px 22px;
    color: #625f68;
    border-radius: 16px;
    background: #f0edf8;
    font-size: 13px;
}

.document {
    max-width: 820px;
    margin: 0 auto;
    padding: 46px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
}

.document h2 {
    margin: 36px 0 12px;
    font-size: 21px;
}

.document h2:first-child {
    margin-top: 0;
}

.document p,
.document li {
    color: #5e5b64;
}

.document ul {
    padding-left: 1.3em;
}

.document-meta {
    margin-bottom: 28px;
    padding-bottom: 24px;
    color: #8a8790;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.contact-card {
    min-height: 210px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
}

.contact-card span {
    color: var(--purple);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.contact-card h2 {
    margin: 28px 0 5px;
    font-size: 21px;
}

.contact-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
}

.contact-card .text-link {
    margin-top: 18px;
}

@media (max-width: 900px) {
    .hero-grid,
    .product-hero-grid,
    .principles-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 30px;
        padding-top: 72px;
    }

    .hero-visual {
        width: min(100%, 520px);
        margin: 0 auto;
    }

    .principles-grid {
        gap: 52px;
    }

    .product-hero {
        padding-top: 60px;
    }

    .product-display {
        min-height: 380px;
    }
}

@media (max-width: 680px) {
    .shell,
    .nav-shell {
        width: min(calc(100% - 28px), var(--shell));
    }

    .nav-shell {
        min-height: 64px;
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        padding: 13px 0;
    }

    .site-nav {
        width: 100%;
        padding-bottom: 2px;
        justify-content: flex-start;
        gap: 20px;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
    }

    .site-nav::-webkit-scrollbar {
        display: none;
    }

    .hero {
        min-height: 0;
    }

    .hero-grid {
        padding: 60px 0 78px;
    }

    h1 {
        font-size: 43px;
    }

    .mobile-break {
        display: block;
    }

    .hero-text {
        font-size: 16px;
    }

    .hero-visual {
        min-height: 350px;
        transform: scale(0.84);
        transform-origin: left top;
    }

    .orbit-large {
        left: -30px;
    }

    .orbit-small {
        left: 40px;
    }

    .device-card-front {
        left: 5px;
    }

    .device-card-back {
        right: -65px;
    }

    .section {
        padding-top: 78px;
        padding-bottom: 84px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-grid,
    .feature-strip,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        min-height: 430px;
        padding: 26px;
    }

    .principles-section {
        padding: 84px 0;
    }

    .footer-grid,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-links {
        justify-content: flex-start;
    }

    .footer-bottom {
        gap: 5px;
    }

    .page-hero {
        padding: 70px 0 50px;
    }

    .app-row {
        grid-template-columns: 58px 1fr;
        padding: 20px;
        gap: 16px;
    }

    .mini-icon {
        width: 58px;
        height: 58px;
        border-radius: 17px;
    }

    .app-row .status {
        grid-column: 2;
        justify-self: start;
    }

    .product-display {
        min-height: 320px;
    }

    .product-display .badge-symbol,
    .product-display .collar-symbol {
        width: 135px;
        height: 135px;
    }

    .document {
        padding: 28px 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
