/*
 * Local Tailwind-style utility build for Vast Media.
 *
 * This file is intentionally dependency-free so the site can use the utility
 * classes without loading Tailwind or a font from a CDN.
 */

*,
::before,
::after {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: #e5e7eb;
}

html,
:host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: ui-sans-serif, system-ui, sans-serif;
    font-feature-settings: normal;
    font-variation-settings: normal;
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    line-height: inherit;
    background-color: var(--surface);
    background-image:
        radial-gradient(circle at 8% 8%, rgb(53 164 187 / 12%), transparent 28rem),
        radial-gradient(circle at 92% 16%, rgb(53 164 187 / 8%), transparent 24rem);
    color: var(--ink);
}

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

button,
input,
optgroup,
select,
textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
    display: block;
    vertical-align: middle;
}

img,
video {
    max-width: 100%;
    height: auto;
}

:root {
    --brand: #35a4bb;
    --brand-deep: #176a7b;
    --brand-light: #42b5d0;
    --surface: #f4f7f8;
    --surface-strong: rgb(255 255 255 / 86%);
    --ink: #19323a;
    --muted: #667980;
    --line: #dce7ea;
}

.container {
    width: 100%;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mt-4 {
    margin-top: 1rem;
}

.flex {
    display: flex;
}

.flex-1 {
    flex: 1 1 0%;
}

.flex-col {
    flex-direction: column;
}

.min-h-screen {
    min-height: 100vh;
}

.w-full {
    width: 100%;
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-6xl {
    max-width: 72rem;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.-translate-y-6 {
    transform: translateY(-1.5rem);
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.text-center {
    text-align: center;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.font-sans {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.text-5xl {
    font-size: 3rem;
    line-height: 1;
}

.font-semibold {
    font-weight: 600;
}

.font-light {
    font-weight: 300;
}

.font-bold {
    font-weight: 700;
}

.tracking-tight {
    letter-spacing: -0.025em;
}

.tracking-normal {
    letter-spacing: 0em;
}

.tracking-wide {
    letter-spacing: 0.025em;
}

.text-base {
    font-size: 1rem;
    line-height: 1.5rem;
}

.font-medium {
    font-weight: 500;
}

.text-white {
    color: #fff;
}

.text-ink {
    color: var(--ink);
}

.no-underline {
    text-decoration-line: none;
}

.text-white-muted {
    color: var(--white-muted);
}

.bg-brand {
    background-color: var(--brand);
}

.bg-brand-light {
    background-color: var(--brand-light);
}

.antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.site-nav {
    min-height: 4.25rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid rgb(220 231 234 / 78%);
    background-color: rgb(244 247 248 / 82%);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.brand-mark,
.nav-link {
    text-decoration-line: none;
}

.brand-mark {
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.nav-link {
    color: var(--muted);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 160ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--brand-deep);
}

.hero {
    padding: clamp(5.5rem, 13vw, 9.5rem) 1.5rem clamp(4.5rem, 10vw, 7rem);
}

.hero-inner,
.apps-section,
.site-footer {
    width: 100%;
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-inner {
    padding: 0 0.75rem;
}

.eyebrow,
.app-kicker {
    color: var(--brand-deep);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.25rem;
    text-transform: uppercase;
}

.hero-title {
    max-width: 52rem;
    margin-top: 1.25rem;
    color: var(--ink);
    font-size: clamp(3.5rem, 9vw, 7.5rem);
    font-weight: 300;
    letter-spacing: -0.025em;
    line-height: 0.94;
}

.hero-title span {
    color: var(--brand-deep);
}

.hero-copy {
    max-width: 38rem;
    margin-top: 2rem;
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    letter-spacing: -0.01em;
    line-height: 1.6;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.7rem;
    margin-top: 2.25rem;
    color: var(--muted);
    font-size: 0.85rem;
}

.meta-dot {
    width: 0.3rem;
    height: 0.3rem;
    border-radius: 9999px;
    background-color: var(--brand);
}

.apps-section {
    padding: 0 1.5rem 6rem;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    padding: 0 0.75rem 1.5rem;
    border-bottom: 1px solid var(--line);
}

.section-title {
    margin-top: 0.5rem;
    color: var(--ink);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    letter-spacing: -0.045em;
    line-height: 1;
}

.section-note {
    max-width: 21rem;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.55;
    text-align: right;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding-top: 1rem;
}

.app-card {
    display: flex;
    min-height: 15rem;
    flex-direction: column;
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background-color: var(--surface-strong);
    color: var(--ink);
    text-decoration-line: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

a.app-card:hover,
a.app-card:focus-visible {
    border-color: rgb(53 164 187 / 65%);
    box-shadow: 0 1rem 2.5rem rgb(25 50 58 / 8%);
    transform: translateY(-0.2rem);
}

.app-card h3 {
    margin-top: 1rem;
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.app-card p {
    max-width: 18rem;
    margin-top: 0.7rem;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.app-arrow {
    margin-top: auto;
    padding-top: 1.5rem;
    color: var(--brand-deep);
    font-size: 1.2rem;
    line-height: 1;
}

.app-card-muted {
    border-style: dashed;
    background-color: rgb(244 247 248 / 68%);
}

.site-footer {
    padding: 1.5rem 1.5rem 2rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.8rem;
}

.site-footer p {
    padding: 0 0.75rem;
}

@media (max-width: 900px) {
    .app-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .hero {
        padding-top: 4.5rem;
    }

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

    .section-note {
        max-width: 28rem;
        text-align: left;
    }

    .app-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 640px) {
    .sm\:text-7xl {
        font-size: 4.5rem;
        line-height: 1;
    }

    .sm\:text-lg {
        font-size: 1.125rem;
        line-height: 1.75rem;
    }
}
