@font-face {
    font-family: 'Instrument Sans';
    src: url('fonts/instrument-sans.woff2') format('woff2');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

:root {
    color-scheme: dark;
    --canvas: #111417;
    --surface: #181c20;
    --type: #ecf4f8;
    --muted: #aeb9c2;
    --line: #30363e;
    --accent: #ecf4f8;
    --space: clamp(1.25rem, 4.4vw, 4.5rem);
    --section: clamp(3.75rem, 7vw, 7.5rem);
    font-family: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
    font-size: 100%;
    line-height: 1.5;
    color: var(--type);
    background: var(--canvas);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure, dl, dd, ul { margin: 0; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { background: var(--accent); color: var(--canvas); }

.shell { width: min(100% - var(--space) * 2, 82rem); margin-inline: auto; }
.cms-tone, .page-cms { --accent: #a8c4e7; --tint: #1c2734; }
.framework-tone, .page-framework { --accent: #f2769e; --tint: #2a2029; }
.market-tone { --accent: #75cfe8; --tint: #1b2a30; }
.hosting-tone, .page-hosting { --accent: #6dc6aa; --tint: #182a26; }

.skip {
    position: fixed;
    z-index: 5;
    top: .75rem;
    left: .75rem;
    padding: .75rem 1rem;
    background: var(--accent);
    color: var(--canvas);
    transform: translateY(-200%);
}
.skip:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; width: fit-content; font-weight: 650; letter-spacing: -.025em; }
.brand img { flex: none; }
.header-inner nav { display: flex; align-items: center; gap: clamp(.9rem, 3vw, 2.75rem); }
.header-inner nav a { display: inline-block; color: var(--muted); padding-block: .65rem; font-size: .95rem; white-space: nowrap; }
.header-inner nav a:hover, .header-inner nav a[aria-current] { color: var(--accent); }
.header-inner nav a[aria-current] { text-decoration: underline; text-underline-offset: .45em; }

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    align-items: center;
    gap: clamp(1.5rem, 4vw, 4rem);
    min-height: clamp(35rem, 47vw, 46rem);
    padding-block: clamp(3rem, 7vw, 7rem);
}
.hero h1 {
    font-size: clamp(3rem, 7.1vw, 7.65rem);
    font-weight: 650;
    line-height: .94;
    letter-spacing: -.078em;
    text-wrap: balance;
}
.title-period { color: #a8c4e7; }
.hero-copy > p {
    max-width: 32rem;
    margin-top: 1.65rem;
    color: var(--muted);
    font-size: clamp(1.05rem, 1.48vw, 1.35rem);
    line-height: 1.52;
    text-wrap: pretty;
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.6rem; margin-top: 1.8rem; }
.button, .text-link { display: inline-flex; align-items: center; gap: .6rem; width: fit-content; font-weight: 650; }
.button { min-height: 3rem; padding: .65rem .95rem; color: var(--canvas); background: var(--accent); border: 1px solid transparent; border-radius: .25rem; }
.button:hover { background: transparent; border-color: var(--accent); color: var(--accent); }
.text-link { min-height: 2.75rem; color: var(--accent); text-underline-offset: .24em; }
.text-link:hover { text-decoration: underline; }
.arrow {
    position: relative;
    display: inline-block;
    flex: none;
    width: .7em;
    height: .7em;
    color: currentColor;
    vertical-align: .04em;
}
.arrow::before, .arrow::after { position: absolute; content: ''; }
.arrow::before { top: 0; right: 0; width: 70%; height: 70%; border-top: 1.5px solid; border-right: 1.5px solid; }
.arrow::after { top: 50%; left: -12%; width: 126%; height: 1.5px; background: currentColor; transform: rotate(-45deg); }
.arrow-down { transform: rotate(135deg); }
.header-inner nav .arrow { margin-left: .35rem; }

.hero-art {
    position: relative;
    isolation: isolate;
    display: grid;
    justify-items: center;
    align-content: center;
    min-width: 0;
    min-height: 22rem;
}
.hero-art::before, .hero-art::after {
    position: absolute;
    z-index: -1;
    inset: 50% auto auto 50%;
    width: 82%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    content: '';
}
.hero-art::before { background: var(--tint, #1b2026); }
.hero-art::after { width: 95%; border: 1px solid var(--line); }
.hero-mascot { width: min(100%, 28rem); height: auto; filter: drop-shadow(0 1rem 1.6rem #0005); }
.home-hero .hero-art::before, .home-hero .hero-art::after { top: 45%; }
.home-hero .hero-mascot { transform: translateX(4%); }
.film-trigger { display: flex; align-items: center; gap: .65rem; margin-top: .55rem; padding: .3rem .6rem; border: 0; background: var(--canvas); cursor: pointer; font-size: .92rem; font-weight: 600; }
.play { display: grid; width: 2rem; height: 2rem; place-items: center; border: 1px solid #81919d; border-radius: 50%; font-size: .68rem; }
.play::after { margin-left: .12rem; border-block: .27rem solid transparent; border-left: .44rem solid currentColor; content: ''; }
.film-trigger:hover .play { background: var(--type); color: var(--canvas); }

.product-band, .feature, .handoff {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(1.5rem, 6vw, 6rem);
    align-items: center;
    padding-block: var(--section);
    border-top: 1px solid var(--line);
}

.product-copy h2 img, .market-intro h2 img, .service-logo { object-fit: contain; object-position: left center; }
.product-copy h2, .market-intro h2 { margin-bottom: 1.15rem; }
.section-title, .details h2 {
    color: var(--accent);
    font-size: clamp(2.2rem, 4.25vw, 4.15rem);
    font-weight: 620;
    line-height: 1.02;
    letter-spacing: -.056em;
    text-wrap: balance;
}
.product-copy p:not(.section-title), .market-intro p:not(.section-title), .feature p, .handoff p {
    max-width: 29rem;
    margin-top: 1rem;
    color: var(--muted);
    font-size: clamp(1rem, 1.45vw, 1.18rem);
    text-wrap: pretty;
}
.product-copy .text-link, .market-intro .text-link, .feature-copy .text-link, .handoff .text-link { margin-top: .8rem; }
.band-art { min-width: 0; }
.media-panel { overflow: hidden; border: 1px solid var(--line); border-radius: .35rem; background: var(--surface); }
.media-panel img { width: 100%; height: auto; }
.band-art.media-panel img { aspect-ratio: 1.72; object-fit: cover; object-position: top; }
.product-band.framework-tone { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.product-band.framework-tone .product-copy { grid-column: 2; grid-row: 1; }
.mascot-panel {
    display: grid;
    grid-column: 1;
    grid-row: 1;
    min-height: 20rem;
    place-items: center;
    background: var(--tint);
}
.mascot-panel img { width: min(80%, 21rem); height: auto; }
.hosting-band .mascot-panel { grid-column: auto; grid-row: auto; }
.market-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .65fr);
    align-items: center;
    gap: 2.5rem clamp(1.5rem, 5.5vw, 5rem);
    padding: clamp(1.6rem, 5vw, 5rem);
    margin-block: 0 var(--section);
    background: var(--tint);
    border-top: 2px solid var(--accent);
}
.market-mascot { justify-self: center; width: min(100%, 16rem); height: auto; }
.market-featured { grid-column: 1 / -1; border-top: 1px solid #45606a; }
.market-featured h3 { margin-block: 1.3rem .65rem; font-size: 1.05rem; font-weight: 650; }
.market-featured ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .1rem 1.25rem; padding: 0; list-style: none; }
.market-featured li { min-width: 0; }
.market-featured a { display: flex; align-items: center; gap: .75rem; min-height: 3.6rem; border-bottom: 1px solid #45606a; font-weight: 600; overflow-wrap: anywhere; }
.market-featured a:hover { color: var(--accent); }
.market-featured img { flex: none; border-radius: .4rem; object-fit: contain; }
.item-arrow { margin-left: auto; }

.product-hero h1 { font-size: clamp(3rem, 6.35vw, 6.65rem); color: var(--accent); }
.service-logo { margin-bottom: 1.65rem; }
.feature { scroll-margin-top: 2rem; }
.feature-media figcaption, .code-figure figcaption { padding: .75rem 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.feature.alternate { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.feature.alternate .feature-copy { grid-column: 2; grid-row: 1; }
.feature.alternate .feature-media { grid-column: 1; grid-row: 1; }
.handoff { align-items: start; }
.handoff p { margin-top: 0; }
.code-figure { min-width: 0; overflow: hidden; background: #18171e; border: 1px solid var(--line); border-radius: .35rem; }
.code-figure figcaption { border-top: none; border-bottom: 1px solid var(--line); }
pre { margin: 0; overflow: auto; padding: clamp(.85rem, 2vw, 2rem); font: inherit; }
code { font: clamp(.73rem, 1.2vw, 1rem)/1.75 ui-monospace, SFMono-Regular, Consolas, monospace; }
.code-var { color: #a8c4e7; }
.code-key { color: #f2769e; }
.code-str { color: #c6dba3; }
.capabilities { padding-block: var(--section); border-top: 1px solid var(--line); }
.capabilities dl { margin-top: 2rem; }
.capabilities dl div { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: .5rem 2rem; padding-block: 1.1rem; border-bottom: 1px solid var(--line); }
.capabilities dt { font-size: 1.1rem; font-weight: 650; }
.capabilities dd { color: var(--muted); }

.hosting-plans {
    scroll-margin-top: 2rem;
    padding-block: var(--section);
    border-top: 1px solid var(--line);
}
.hosting-billing { margin-top: .7rem; color: var(--muted); }
.hosting-note {
    margin-block: 1.75rem 2.75rem;
    padding: 1.2rem clamp(1.15rem, 3vw, 2rem);
    border-left: 2px solid var(--accent);
    background: var(--tint);
}
.hosting-note h3 { margin-bottom: .35rem; font-size: 1.05rem; }
.hosting-note p { color: var(--muted); }
.hosting-note p + p { margin-top: .35rem; }
.hosting-note strong { color: var(--type); }
.hosting-plan-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem clamp(1.25rem, 3vw, 3rem);
}
.hosting-plan { padding-top: 1.15rem; border-top: 1px solid var(--line); }
.hosting-plan h3 { font-size: 1.32rem; font-weight: 650; }
.hosting-price { margin-top: .35rem; color: var(--muted); }
.hosting-price strong {
    color: var(--accent);
    font-size: clamp(2rem, 3.1vw, 3.2rem);
    font-weight: 650;
    line-height: 1.1;
    letter-spacing: -.055em;
}
.hosting-plan dl { margin-block: 1rem 1.5rem; }
.hosting-plan dl div { display: flex; justify-content: space-between; gap: 1rem; padding-block: .5rem; border-bottom: 1px solid var(--line); }
.hosting-plan dt { color: var(--muted); }
.hosting-plan dd { font-weight: 600; text-align: right; }

.site-footer { border-top: 1px solid var(--line); background: #15191d; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; padding-block: clamp(2.75rem, 6vw, 5rem); }
.footer-brand p { max-width: 19rem; margin-top: .75rem; color: var(--muted); }
.footer-grid nav { display: grid; align-content: start; }
.footer-grid nav h2 { margin-bottom: .65rem; font-size: 1rem; font-weight: 650; }
.footer-grid nav a { width: fit-content; min-height: 2rem; color: var(--muted); }
.footer-grid nav a:hover { color: var(--type); text-decoration: underline; }

.film-dialog { width: min(56rem, calc(100% - 2rem)); max-height: calc(100% - 2rem); padding: 1rem; color: var(--type); background: var(--surface); border: 1px solid #697784; border-radius: .4rem; }
.film-dialog::backdrop { background: #080b10da; }
.film-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: .75rem; }
.film-header h2 { font-size: 1.1rem; }
.film-header button { width: 2.5rem; height: 2.5rem; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 1.5rem; }
.film-dialog video { width: 100%; aspect-ratio: 16 / 9; background: #0c0d0f; }
.film-dialog p { margin-top: .75rem; color: var(--muted); font-size: .875rem; }

@media (max-width: 57rem) {
    .hero { min-height: auto; }
    .hero-art { min-height: 17rem; }
    .hosting-plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 45rem) {
    .header-inner { flex-wrap: wrap; gap: .15rem 1.25rem; padding-block: .8rem .45rem; }
    .header-inner nav { flex-wrap: wrap; gap: .2rem 1.3rem; }
    .header-inner nav a { padding-top: .45rem; }
    .hero { grid-template-columns: 1fr; padding-top: 3.15rem; padding-bottom: 2.85rem; gap: 1.8rem; }
    .hero h1, .product-hero h1 { font-size: clamp(3rem, 11.6vw, 5.7rem); }
    .hero-art { width: min(100%, 25rem); justify-self: center; min-height: auto; }
    .hero-art::before { width: 70%; }
    .hero-art::after { width: 82%; }
    .hero-mascot { width: min(80%, 19rem); }
    .service-logo { margin-bottom: .95rem; }
    .hero-copy > p { margin-top: 1rem; }
    .actions { margin-top: 1.05rem; }
    .product-band, .product-band.framework-tone, .feature, .feature.alternate, .handoff, .market-section { grid-template-columns: 1fr; }
    .product-band.framework-tone .product-copy, .mascot-panel, .feature.alternate .feature-copy, .feature.alternate .feature-media { grid-column: auto; grid-row: auto; }
    .mascot-panel { min-height: 15rem; }
    .mascot-panel img { max-width: 14rem; }
    .market-section { gap: 1.2rem; }
    .market-mascot { width: min(66%, 13rem); }
    .market-featured ul { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 25rem) {
    .header-inner nav { width: 100%; justify-content: space-between; gap: .2rem .4rem; }
    .actions { gap: .45rem 1.1rem; }
    .capabilities dl div { grid-template-columns: 1fr; }
}

@media (max-width: 34rem) {
    .hosting-plan-grid { grid-template-columns: 1fr; }
}
