:root {
    color-scheme: dark;
    --navy: #091622;
    --surface: #112433;
    --line: #334754;
    --white: #f4f8fa;
    --muted: #b5c6cf;
    --gold: #f4bb66;
    --mint: #88e2c9;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--navy); color: var(--white); font: 1rem/1.6 system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .25em; }
a:focus-visible { outline: 3px solid var(--mint); outline-offset: 4px; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.1; text-wrap: balance; }
.wrap { width: min(100% - 3rem, 73rem); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: .5rem; padding: .5rem 1rem; background: var(--surface); transform: translateY(-160%); }
.skip:focus { transform: none; }
.top { border-bottom: 1px solid var(--line); }
.navigation, .account, nav, .brand, .cta, .footer { display: flex; align-items: center; }
.navigation { justify-content: space-between; gap: 1.5rem; min-height: 4.8rem; }
.account, nav, .cta { gap: 1.35rem; }
.brand { gap: .65rem; font-size: 1.2rem; font-weight: 750; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 2.35rem; aspect-ratio: 1; border: 1px solid var(--line); border-radius: .65rem; color: var(--gold); }
nav, .account, .text-link, .footer { font-size: .9rem; }
nav, .footer { color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; background: var(--gold); color: #18212a; border-radius: .6rem; padding: .75rem 1.05rem; font-weight: 750; }
.button:hover { background: #ffd18e; text-decoration: none; }
.hero { background: radial-gradient(ellipse at 85% 32%, #1c3c48 0, transparent 63%); border-bottom: 1px solid var(--line); }
.hero-grid { padding-block: clamp(3.4rem, 8vw, 7rem); }
.eyebrow, .category, .preview-label { color: var(--mint); font-size: .72rem; font-weight: 750; text-transform: uppercase; letter-spacing: .12em; }
h1 { max-width: 11ch; margin-block: .65rem 1.15rem; font-size: clamp(3rem, 6.6vw, 5.65rem); letter-spacing: -.07em; }
.hero h1 { max-width: 18ch; }
.lede { max-width: 45ch; color: var(--muted); font-size: clamp(1.02rem, 2vw, 1.22rem); }
.cta { flex-wrap: wrap; margin-top: 1.75rem; }
.preview { overflow: hidden; border: 1px solid #49606d; border-radius: 1rem; background: #101f2b; box-shadow: 0 1.25rem 4rem #0006; }
.preview-top { display: flex; justify-content: space-between; gap: .5rem; padding: .7rem 1rem; background: #1c303e; color: var(--muted); font-size: .75rem; }
.preview-body { padding: clamp(.8rem, 2.8vw, 1.5rem); }
.preview h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-block: .35rem 1rem; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; }
.metrics div { display: flex; flex-direction: column-reverse; justify-content: start; padding: .6rem; background: #1a3141; border-radius: .45rem; }
.metrics dt, .activity li div span, .activity time { color: var(--muted); font-size: .75rem; }
.metrics dd { font-size: clamp(1.15rem, 3vw, 1.7rem); font-weight: 750; }
.activity-heading { margin-top: 1.1rem; font-size: .85rem; font-weight: 700; }
.activity { margin: .4rem 0 0; padding: 0; list-style: none; }
.activity li { display: grid; grid-template-columns: auto 1fr auto; gap: .7rem; align-items: center; border-top: 1px solid var(--line); padding-block: .5rem; font-size: .86rem; }
.activity li div span { display: block; }
.event { background: #1c463e; color: #b4f0df; border-radius: .3rem; padding: .13rem .35rem; font-size: .65rem; font-weight: 750; }
.event-service { background: #463721; color: #ffda9f; }
figcaption { padding: .4rem 1rem; background: #1c303e; color: var(--muted); font-size: .75rem; }
.section { padding-block: clamp(2.75rem, 7vw, 5rem); }
.section h2 { margin-block: .4rem 1.6rem; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.045em; }
.features, .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.features article { padding: 1.35rem; background: var(--surface); border: 1px solid var(--line); border-radius: .8rem; }
h3 { margin-block: .5rem; font-size: 1.2rem; }
.features p, .steps p, .pricing div:first-child > p:last-child { color: var(--muted); }
.workflow { background: #132635; border-block: 1px solid var(--line); }
.steps { margin: 0; padding-left: 1.35rem; gap: 1.6rem; }
.steps li::marker { color: var(--gold); font-weight: 750; }
.pricing { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; padding: clamp(1.25rem, 5vw, 3rem); border: 1px solid #49606d; border-radius: 1rem; background: var(--surface); }
.pricing h2 { margin-bottom: .7rem; }
.offer p { margin-bottom: .65rem; }
.offer strong { color: var(--gold); font-size: 2.65rem; line-height: 1; }
.footer { gap: 1.25rem; flex-wrap: wrap; padding-block: 1.3rem; border-top: 1px solid var(--line); }
.footer .brand { margin-right: auto; color: var(--white); }
@media (max-width: 54rem) {
    .preview { width: min(100%, 36rem); }
    .features { grid-template-columns: repeat(2, 1fr); }
    nav { display: none; }
}
@media (max-width: 36rem) {
    .wrap { width: calc(100% - 2rem); }
    .navigation, .account { gap: .65rem; }
    .account .button { padding: .5rem .55rem; }
    .brand { font-size: 1rem; }
    .brand-mark { width: 1.75rem; }
    .features, .steps, .pricing { grid-template-columns: 1fr; }
}

.feature-intro { margin-bottom: 3rem; }
.feature-intro h1 { max-width: 17ch; font-size: clamp(2.7rem,5vw,4.8rem); }
.feature-showcase { display: grid; grid-template-columns: minmax(13rem,.7fr) minmax(0,1.5fr); align-items: center; gap: clamp(1rem,4vw,3rem); padding: 2.2rem 0; border-top: 1px solid var(--line); }
.feature-showcase h2 { margin: 0 0 .7rem; font-size: clamp(1.6rem,3vw,2.4rem); }
.feature-showcase p,.feature-extras p { color: var(--muted); }
.feature-showcase figure { overflow: hidden; border: 1px solid var(--line); border-radius: .8rem; box-shadow: 0 1rem 2rem #0003; }
.feature-showcase img { width: 100%; display: block; }
.feature-showcase:nth-of-type(even) figure { grid-column: 1; grid-row: 1; }
.feature-showcase:nth-of-type(even) { grid-template-columns: minmax(0,1.5fr) minmax(13rem,.7fr); }
.feature-extras { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin: 2rem 0; }
.feature-extras article { padding: 1.3rem; background: var(--surface); border: 1px solid var(--line); border-radius: .65rem; }
.feature-extras h2 { font-size: 1.3rem; margin: 0 0 .6rem; }
@media(max-width:760px) { .feature-showcase,.feature-showcase:nth-of-type(even),.feature-extras { grid-template-columns: 1fr; } .feature-showcase:nth-of-type(even) figure { grid-column:auto;grid-row:auto; } }

.feature-showcase figure { min-width: 0; }
.feature-showcase figure a { display: block; background: var(--surface); }
.feature-showcase figure img { max-height: 36rem; object-fit: contain; }
.feature-showcase figcaption { display: flex; gap: .6rem; justify-content: space-between; flex-wrap: wrap; }
.feature-showcase figcaption span { color: var(--mint); }

.savings-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(16rem,.8fr); gap: clamp(1.5rem,4vw,3rem); align-items: center; }
.savings-grid h2 { margin-bottom: .9rem; }
.savings-grid p, .savings-points { color: var(--muted); }
.savings-points { padding-left: 1.25rem; margin: 1rem 0; }
.savings-points li { margin-bottom: .5rem; }
.savings-points li::marker { color: var(--mint); }
.savings-example { border: 1px solid var(--line); border-radius: .9rem; padding: 1.6rem; background: var(--surface); }
.savings-value { display: block; font-size: clamp(3rem,6vw,4.5rem); color: var(--gold); line-height: 1.1; margin: .6rem 0; }
.savings-example hr { border: 0; border-top: 1px solid var(--line); margin: 1rem 0; }
@media(max-width:760px) { .savings-grid { grid-template-columns: 1fr; } }

.feature-detail-showcase {
    grid-template-columns: minmax(0,1fr);
}
.feature-detail-showcase figure {
    margin: 0;
}
.feature-detail-showcase figure a {
    max-height: 75vh;
    overflow: auto;
}
.feature-detail-showcase figure img {
    max-height: none;
}

.trial-request { max-width: 44rem; padding: clamp(1rem, 4vw, 2rem); border: 1px solid var(--line); border-radius: .75rem; background: var(--surface); }
.trial-fields { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,16rem),1fr)); gap: 1rem; margin-block: 1rem; }
.trial-fields label { display: grid; gap: .25rem; font-weight: 650; }
.trial-fields input { width: 100%; padding: .55rem .7rem; font: inherit; color: var(--white); background: var(--navy); border: 1px solid var(--line); border-radius: .4rem; }
.trial-request button { font: inherit; font-weight: 750; border: 0; cursor: pointer; }
.trial-error { margin-top: .75rem; color: #ffc2b8; }
