:root {
    color-scheme: light;
    --ink: #172126;
    --muted: #5d6b73;
    --line: #dfe7e8;
    --paper: #fbfdfc;
    --panel: #ffffff;
    --teal: #0b7d78;
    --teal-dark: #075d59;
    --red: #d84032;
    --gold: #c58b2b;
    --mint: #e7f7f4;
    --shadow: 0 20px 60px rgba(20, 42, 46, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        linear-gradient(115deg, rgba(231, 247, 244, 0.95), rgba(255, 255, 255, 0.75) 38%, rgba(255, 246, 232, 0.86)),
        var(--paper);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    letter-spacing: 0;
}

a {
    color: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px clamp(20px, 4vw, 56px);
    border-bottom: 1px solid rgba(223, 231, 232, 0.85);
    background: rgba(251, 253, 252, 0.88);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    text-decoration: none;
}

.brand-mark {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    border-radius: 8px;
    background: #fff;
    object-fit: contain;
    padding: 3px;
    box-shadow: 0 6px 14px rgba(20, 42, 46, 0.08);
}

.brand strong,
.brand small {
    display: block;
    line-height: 1.2;
}

.brand strong {
    font-size: 15px;
}

.brand small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.main-nav a,
.button {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 0 14px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.main-nav a:hover,
.button.secondary:hover {
    color: var(--ink);
    background: rgba(11, 125, 120, 0.08);
}

.main-nav .nav-pill {
    border: 1px solid rgba(11, 125, 120, 0.24);
    color: var(--teal-dark);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(56px, 8vw, 96px) clamp(20px, 4vw, 56px) 40px;
}

.hero::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(11, 125, 120, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11, 125, 120, 0.08) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, #000 0%, transparent 80%);
    content: "";
}

.hero-grid {
    display: grid;
    max-width: 1180px;
    margin: 0 auto;
    grid-template-columns: minmax(0, 1.02fr) minmax(330px, 0.82fr);
    align-items: center;
    gap: clamp(34px, 6vw, 76px);
}

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

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

h1 {
    max-width: 760px;
    margin-bottom: 20px;
    font-size: clamp(32px, 4.7vw, 56px);
    line-height: 1.08;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 0;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.08;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 14px;
    font-size: 22px;
}

.hero-text {
    max-width: 660px;
    color: var(--muted);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.65;
}

.hero-actions,
.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    border: 1px solid transparent;
}

.button.primary {
    background: var(--teal);
    color: #fff;
    box-shadow: 0 12px 28px rgba(11, 125, 120, 0.22);
}

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

.button.secondary {
    border-color: rgba(11, 125, 120, 0.22);
    background: rgba(255, 255, 255, 0.66);
    color: var(--teal-dark);
}

.quick-facts {
    display: grid;
    max-width: 720px;
    margin: 36px 0 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.quick-facts div,
.profile-panel,
.product-card,
.contact-card {
    border: 1px solid rgba(223, 231, 232, 0.92);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow);
}

.quick-facts div {
    padding: 18px;
    box-shadow: none;
}

dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

dd {
    margin: 6px 0 0;
    font-weight: 800;
}

.hero-visual {
    min-height: 560px;
}

.phone-stack {
    position: relative;
    height: min(72vw, 650px);
    min-height: 520px;
}

.phone {
    position: absolute;
    width: min(54%, 265px);
    aspect-ratio: 1242 / 2688;
    border: 8px solid #101718;
    border-radius: 32px;
    object-fit: cover;
    box-shadow: 0 30px 70px rgba(20, 42, 46, 0.22);
}

.phone-back {
    top: 36px;
    right: 0;
    transform: rotate(6deg);
}

.phone-front {
    left: 34px;
    top: 0;
    transform: rotate(-5deg);
}

.section {
    padding: clamp(56px, 8vw, 92px) clamp(20px, 4vw, 56px);
}

.section-heading {
    max-width: 980px;
    margin: 0 auto 32px;
}

.profile-grid,
.product-grid {
    display: grid;
    max-width: 1180px;
    margin: 0 auto;
    gap: 18px;
}

.profile-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
}

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

.profile-panel,
.product-card {
    padding: clamp(22px, 3vw, 32px);
}

.accent-panel {
    background: linear-gradient(145deg, #ffffff, var(--mint));
}

.profile-panel p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.info-list,
.contact-list {
    display: grid;
    gap: 16px;
    margin-bottom: 0;
}

.info-list div,
.contact-list div {
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.product-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.product-top h3 {
    margin: 0 0 5px;
}

.product-top p {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.5;
}

.app-icon {
    width: 72px;
    height: 72px;
    flex: 0 0 auto;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 12px 24px rgba(20, 42, 46, 0.14);
}

.screenshots {
    display: grid;
    gap: 12px;
    overflow: hidden;
    border-radius: 8px;
    background: #eef5f3;
}

.two-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.screenshots img {
    width: 100%;
    height: 430px;
    object-fit: cover;
    object-position: top center;
}

.contact-section {
    padding-top: 32px;
}

.contact-card {
    display: grid;
    max-width: 1180px;
    margin: 0 auto;
    grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
    gap: 32px;
    padding: clamp(24px, 4vw, 40px);
}

.contact-list a {
    color: var(--teal-dark);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 28px clamp(20px, 4vw, 56px);
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

.site-footer p {
    margin: 0;
}

.site-footer a {
    color: inherit;
    font-weight: 700;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--teal-dark);
}

@media (max-width: 900px) {
    .site-header {
        position: static;
        align-items: flex-start;
        flex-direction: column;
    }

    .main-nav {
        justify-content: flex-start;
    }

    .hero-grid,
    .profile-grid,
    .product-grid,
    .contact-card {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 440px;
    }

    .phone-stack {
        height: 460px;
        min-height: 420px;
    }

    .phone {
        width: min(46%, 220px);
    }
}

@media (max-width: 620px) {
    .brand strong {
        font-size: 13px;
    }

    .main-nav a {
        min-height: 36px;
        padding: 0 10px;
        font-size: 13px;
    }

    .quick-facts,
    .two-up {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 350px;
    }

    .phone-stack {
        height: 360px;
        min-height: 340px;
    }

    .phone {
        width: min(58%, 190px);
        border-width: 6px;
        border-radius: 26px;
    }

    .phone-front {
        left: 0;
    }

    .screenshots img {
        height: 360px;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}
