* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--site-dark);
    font-family: Manrope, Inter, system-ui, sans-serif;
    background:
        radial-gradient(circle at 10% 8%, color-mix(in srgb, var(--site-accent) 22%, transparent), transparent 34%),
        radial-gradient(circle at 88% 12%, color-mix(in srgb, var(--site-accent) 16%, transparent), transparent 32%),
        linear-gradient(180deg, #fff 0%, var(--site-soft) 48%, #fff 100%);
}

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

.demo-header {
    position: sticky;
    top: 16px;
    z-index: 10;
    width: min(1160px, calc(100% - 32px));
    margin: 16px auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 8px;
    background: rgba(255, 255, 255, .76);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 50px rgba(25, 25, 32, .1);
}

.demo-brand {
    font-family: Unbounded, Manrope, sans-serif;
    font-weight: 700;
}

.demo-header nav {
    display: flex;
    gap: 8px;
}

.demo-header nav a,
.demo-call {
    border: 0;
    padding: 10px 12px;
    border-radius: 999px;
    color: color-mix(in srgb, var(--site-dark) 72%, #fff);
    cursor: pointer;
    font: inherit;
    font-weight: 800;
}

.demo-call {
    color: #fff;
    background: var(--site-dark);
}

main {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}

.demo-hero,
.demo-proof,
.demo-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 42px;
    align-items: center;
    min-height: 720px;
    padding: 74px 0;
}

.demo-eyebrow {
    display: inline-flex;
    margin: 0 0 18px;
    padding: 8px 12px;
    border: 1px solid color-mix(in srgb, var(--site-accent) 28%, #fff);
    border-radius: 999px;
    color: var(--site-accent);
    background: rgba(255, 255, 255, .68);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

h1,
h2 {
    margin: 0 0 20px;
    font-family: Unbounded, Manrope, sans-serif;
    line-height: 1.04;
    letter-spacing: 0;
}

h1 {
    font-size: clamp(42px, 7vw, 82px);
}

h2 {
    font-size: clamp(32px, 4vw, 54px);
}

p {
    margin: 0;
    color: color-mix(in srgb, var(--site-dark) 66%, #fff);
    font-size: 18px;
    line-height: 1.7;
}

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

.demo-actions a,
.demo-contact button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: var(--site-dark);
    font-weight: 900;
    cursor: pointer;
}

.demo-actions a:last-child {
    color: var(--site-dark);
    background: #fff;
    border: 1px solid rgba(255, 255, 255, .8);
}

.demo-device {
    position: relative;
    min-height: 500px;
    display: grid;
    place-items: center;
}

.demo-device::before,
.demo-device::after {
    content: "";
    position: absolute;
    border: 1px solid color-mix(in srgb, var(--site-dark) 24%, transparent);
    border-radius: 50%;
}

.demo-device::before {
    width: 520px;
    height: 310px;
    transform: rotate(-16deg);
}

.demo-device::after {
    width: 380px;
    height: 220px;
    transform: rotate(24deg);
}

.device-screen {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    aspect-ratio: 1.2;
    padding: 24px;
    border: 10px solid var(--site-dark);
    border-radius: 8px;
    background:
        radial-gradient(circle at 80% 22%, color-mix(in srgb, var(--site-accent) 36%, transparent), transparent 24%),
        linear-gradient(135deg, #fff, var(--site-soft));
    box-shadow: 0 34px 80px color-mix(in srgb, var(--site-dark) 24%, transparent);
    transform: rotate(-2deg);
}

.screen-row {
    width: 56%;
    height: 18px;
    margin: 10px 0;
    border-radius: 999px;
    background: color-mix(in srgb, var(--site-dark) 18%, #fff);
}

.screen-row.wide {
    width: 78%;
    height: 34px;
    background: var(--site-dark);
}

.screen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 38px;
}

.screen-grid span,
.screen-card {
    min-height: 86px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .76);
    box-shadow: 0 14px 34px rgba(25, 25, 32, .08);
}

.screen-card {
    margin-top: 14px;
    padding: 18px;
}

.screen-card strong,
.screen-card small {
    display: block;
}

.screen-card small {
    margin-top: 6px;
    color: color-mix(in srgb, var(--site-dark) 56%, #fff);
}

.demo-services {
    padding: 64px 0;
}

.demo-section-title {
    max-width: 760px;
    margin-bottom: 28px;
}

.demo-service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.demo-service-grid article,
.demo-metrics,
.demo-contact form {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, .76);
    border-radius: 8px;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 20px 54px rgba(25, 25, 32, .08);
}

.demo-service-grid span {
    color: var(--site-accent);
    font-weight: 900;
}

.demo-service-grid h3 {
    margin: 22px 0 10px;
    font-size: 22px;
}

.demo-proof {
    min-height: 560px;
}

.demo-metrics {
    display: grid;
    gap: 12px;
}

.demo-metrics strong {
    padding: 18px;
    border-radius: 8px;
    color: #fff;
    background: var(--site-dark);
    font-size: 24px;
}

.demo-contact {
    min-height: 540px;
}

.demo-contact form {
    display: grid;
    gap: 12px;
}

.demo-contact input,
.demo-contact textarea {
    width: 100%;
    min-height: 52px;
    padding: 14px;
    border: 1px solid color-mix(in srgb, var(--site-dark) 14%, #fff);
    border-radius: 8px;
    outline: none;
    font: inherit;
}

@media (max-width: 860px) {
    .demo-header nav,
    .demo-call {
        display: none;
    }

    .demo-hero,
    .demo-proof,
    .demo-contact,
    .demo-service-grid {
        grid-template-columns: 1fr;
    }

    .demo-hero {
        min-height: 0;
    }
}
