:root {
    --ink: #0f172a;
    --ink-soft: #334155;
    --muted: #64748b;
    --line: #e2e8f0;
    --line-strong: #cbd5e1;
    --paper: #ffffff;
    --paper-2: #f8fafc;
    --paper-3: #f1f5f9;

    --brand: #2877A3;
    --brand-2: #35a0d4;
    --accent: #f97316;
    --pink: #ec4899;
    --purple: #7c3aed;
    --green: #10b981;
    --yellow: #f59e0b;

    --grad-hero: linear-gradient(135deg, #2877A3 0%, #7c3aed 50%, #ec4899 100%);
    --grad-soft: linear-gradient(135deg, #eff6ff, #faf5ff);

    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
    --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.06), 0 2px 4px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08), 0 4px 10px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.12), 0 10px 24px rgba(15, 23, 42, 0.06);

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    background:
        radial-gradient(1000px 600px at 85% -10%, rgba(124, 58, 237, 0.08), transparent 60%),
        radial-gradient(800px 500px at -10% 10%, rgba(40, 119, 163, 0.10), transparent 60%),
        var(--paper);
    color: var(--ink);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

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

h1,
h2,
h3,
h4 {
    font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--ink);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 14px 0;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.site-header-inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--grad-hero);
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    font-family: 'Space Grotesk', sans-serif;
    box-shadow: var(--shadow-sm);
}

.brand-text strong {
    display: block;
    font-size: 15px;
    color: var(--ink);
    font-weight: 700;
}

.brand-text small {
    display: block;
    font-size: 12px;
    color: var(--muted);
}

.navigation {
    display: flex;
    align-items: center;
    gap: 4px;
}

.navigation a {
    padding: 9px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-soft);
    transition: background 160ms ease, color 160ms ease;
}

.navigation a:hover,
.navigation a:focus-visible {
    background: var(--paper-3);
    color: var(--ink);
    outline: none;
}

.navigation a.nav-cta {
    margin-left: 8px;
    padding: 10px 16px;
    color: #fff;
    background: var(--ink);
    border-radius: 999px;
    font-weight: 600;
}

.navigation a.nav-cta:hover,
.navigation a.nav-cta:focus-visible {
    background: var(--brand);
    color: #fff;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--paper);
    cursor: pointer;
    padding: 0;
}

.menu-toggle span:not(.sr-only) {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--ink);
    border-radius: 2px;
}

/* ---------- Eyebrow / buttons ---------- */

.eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--grad-soft);
    color: var(--brand);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid rgba(124, 58, 237, 0.12);
}

.eyebrow-soft {
    background: var(--paper-3);
    color: var(--ink-soft);
    border-color: var(--line);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
    white-space: nowrap;
}

.button.primary {
    background: var(--ink);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.button.primary:hover,
.button.primary:focus-visible {
    background: var(--brand);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    outline: none;
}

.button.ghost {
    background: var(--paper);
    color: var(--ink);
    border-color: var(--line-strong);
}

.button.ghost:hover,
.button.ghost:focus-visible {
    background: var(--paper-3);
    border-color: var(--ink);
    transform: translateY(-1px);
    outline: none;
}

.button.small {
    min-height: 40px;
    padding: 8px 16px;
    font-size: 14px;
}

.play-icon {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 9px;
    border-color: transparent transparent transparent currentColor;
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    padding: 80px 0 100px;
    overflow: hidden;
}

.bg-orb {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    pointer-events: none;
}

.bg-orb-one {
    width: 480px;
    height: 480px;
    top: -120px;
    right: -120px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.45), transparent 65%);
}

.bg-orb-two {
    width: 420px;
    height: 420px;
    bottom: -160px;
    left: -120px;
    background: radial-gradient(circle, rgba(40, 119, 163, 0.45), transparent 65%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 56px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(36px, 5.4vw, 64px);
    margin-bottom: 20px;
    color: var(--ink);
}

.gradient-text {
    background: var(--grad-hero);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-text {
    max-width: 540px;
    font-size: 18px;
    color: var(--ink-soft);
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.hero-tags {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags li {
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--paper);
    border: 1px solid var(--line);
    font-size: 13px;
    color: var(--ink-soft);
    font-weight: 500;
    box-shadow: var(--shadow-xs);
}

/* ---------- Phone slider ---------- */

.hero-stage {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 600px;
}

.phone-slider {
    position: relative;
    width: 100%;
    max-width: 340px;
}

.phone-frame {
    position: relative;
    aspect-ratio: 392 / 697;
    width: min(300px, 70vw);
    margin: 0 auto;
    overflow: hidden;
    border-radius: 38px;
    background: #0f172a;
    padding: 10px;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(15, 23, 42, 0.04);
}

.phone-notch {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 16px;
    background: #0f172a;
    border-radius: 0 0 12px 12px;
    z-index: 3;
}

.slider-image {
    position: absolute;
    inset: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    object-fit: cover;
    border-radius: 28px;
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 360ms ease, transform 360ms ease;
}

.slider-image.selected-image {
    opacity: 1;
    transform: scale(1);
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.slider-arrow {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink);
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    box-shadow: var(--shadow-xs);
    transition: transform 160ms ease, background 160ms ease;
}

.slider-arrow:hover,
.slider-arrow:focus-visible {
    background: var(--paper-3);
    transform: translateY(-1px);
    outline: none;
}

.dot-container {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: var(--line-strong);
    cursor: pointer;
    transition: background 160ms ease, transform 160ms ease;
}

.dot:hover {
    transform: scale(1.2);
}

.dot.active {
    background: var(--brand);
    transform: scale(1.3);
}

.floating-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    animation: float 5s ease-in-out infinite;
}

.floating-chip.chip-one {
    top: 60px;
    left: -10px;
}

.floating-chip.chip-two {
    bottom: 100px;
    right: -10px;
    animation-delay: 1.5s;
}

.chip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
}

.chip-dot.pink {
    background: var(--pink);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ---------- Section heading ---------- */

.section-heading {
    margin-bottom: 48px;
    max-width: 720px;
}

.section-heading.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-heading h2 {
    font-size: clamp(28px, 3.5vw, 42px);
    margin-bottom: 14px;
}

.section-heading p {
    color: var(--muted);
    font-size: 17px;
}

/* ---------- Features ---------- */

.features {
    padding: 100px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.feature-card {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xs);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--line-strong);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    color: #fff;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.icon-blue { background: linear-gradient(135deg, #2877A3, #35a0d4); }
.icon-orange { background: linear-gradient(135deg, #f97316, #f59e0b); }
.icon-pink { background: linear-gradient(135deg, #ec4899, #f472b6); }
.icon-green { background: linear-gradient(135deg, #10b981, #34d399); }
.icon-purple { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.icon-yellow { background: linear-gradient(135deg, #f59e0b, #fbbf24); }

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--muted);
    font-size: 15px;
}

/* ---------- Capabilities ---------- */

.capabilities-section {
    padding: 60px 0 100px;
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.capability-card {
    padding: 36px;
    border-radius: var(--radius-lg);
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xs);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.capability-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--line-strong);
}

.capability-tag {
    display: inline-block;
    margin-bottom: 18px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
}

.tag-blue { background: linear-gradient(135deg, #2877A3, #35a0d4); }
.tag-orange { background: linear-gradient(135deg, #f97316, #f59e0b); }
.tag-pink { background: linear-gradient(135deg, #ec4899, #f472b6); }
.tag-green { background: linear-gradient(135deg, #10b981, #34d399); }

.capability-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.capability-card > p {
    color: var(--muted);
    margin-bottom: 22px;
    font-size: 15px;
}

.capability-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.capability-list li {
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--paper-3);
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--line);
}

.roadmap-note {
    margin: 40px 0 0;
    padding: 18px 22px;
    border-radius: var(--radius);
    background: var(--paper-2);
    border: 1px dashed var(--line-strong);
    color: var(--ink-soft);
    font-size: 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.roadmap-pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: #fef3c7;
    color: #92400e;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ---------- Community concept ---------- */

.community-section {
    padding: 60px 0 100px;
}

.community-card {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 56px;
    align-items: center;
    padding: 56px;
    border-radius: var(--radius-xl);
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.community-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: radial-gradient(600px 400px at 100% 0%, rgba(124, 58, 237, 0.10), transparent 60%);
    pointer-events: none;
}

.community-copy {
    position: relative;
    z-index: 1;
}

.community-copy h2 {
    font-size: clamp(26px, 3vw, 36px);
    margin-bottom: 16px;
}

.community-lead {
    color: var(--ink-soft);
    margin-bottom: 28px;
    font-size: 16px;
}

.community-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 20px;
}

.community-list li {
    display: grid;
    grid-template-columns: 14px 1fr;
    gap: 14px;
    align-items: start;
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.6;
}

.community-list strong {
    color: var(--ink);
    display: block;
    margin-bottom: 2px;
    font-weight: 700;
}

.community-bullet {
    width: 12px;
    height: 12px;
    border-radius: 4px;
    margin-top: 7px;
}

.bullet-blue { background: linear-gradient(135deg, #2877A3, #35a0d4); }
.bullet-purple { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.bullet-pink { background: linear-gradient(135deg, #ec4899, #f472b6); }
.bullet-green { background: linear-gradient(135deg, #10b981, #34d399); }

.community-stack {
    position: relative;
    height: 380px;
}

.community-tile {
    position: absolute;
    width: 200px;
    padding: 18px 18px 16px;
    border-radius: var(--radius);
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: transform 240ms ease;
}

.community-tile strong {
    font-size: 15px;
    color: var(--ink);
}

.community-tile small {
    font-size: 12px;
    color: var(--muted);
}

.tile-tag {
    display: inline-block;
    width: fit-content;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    margin-bottom: 6px;
}

.community-tile.tile-a {
    top: 10px;
    left: 0;
    transform: rotate(-3deg);
}

.community-tile.tile-a .tile-tag { background: linear-gradient(135deg, #f97316, #f59e0b); }

.community-tile.tile-b {
    top: 30px;
    right: 0;
    transform: rotate(2deg);
}

.community-tile.tile-b .tile-tag { background: linear-gradient(135deg, #7c3aed, #a78bfa); }

.community-tile.tile-c {
    bottom: 40px;
    left: 30px;
    transform: rotate(2deg);
}

.community-tile.tile-c .tile-tag { background: linear-gradient(135deg, #ec4899, #f472b6); }

.community-tile.tile-d {
    bottom: 10px;
    right: 20px;
    transform: rotate(-3deg);
}

.community-tile.tile-d .tile-tag { background: linear-gradient(135deg, #10b981, #34d399); }

.community-tile:hover {
    transform: translateY(-4px) rotate(0deg);
    z-index: 2;
}

/* ---------- Why us ---------- */

.why-section {
    padding: 60px 0 100px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

.why-card {
    padding: 26px 22px;
    border-radius: var(--radius);
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xs);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.why-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.why-mark {
    display: inline-block;
    margin-bottom: 16px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--brand);
    letter-spacing: 0.04em;
}

.why-card h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.why-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

/* ---------- Video ---------- */

.video-section {
    padding: 60px 0 100px;
}

.video-shell {
    position: relative;
    margin: 0 auto;
    max-width: 960px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #0f172a;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16 / 9;
}

.video-shell iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* ---------- About ---------- */

.about-section {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent, var(--paper-2));
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 56px;
}

.team-card {
    padding: 24px 18px;
    border-radius: var(--radius);
    background: var(--paper);
    border: 1px solid var(--line);
    text-align: center;
    box-shadow: var(--shadow-xs);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: grid;
    place-items: center;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 0.02em;
}

.avatar-blue { background: linear-gradient(135deg, #2877A3, #35a0d4); }
.avatar-purple { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.avatar-pink { background: linear-gradient(135deg, #ec4899, #f472b6); }
.avatar-orange { background: linear-gradient(135deg, #f97316, #f59e0b); }
.avatar-green { background: linear-gradient(135deg, #10b981, #34d399); }

.team-card h3 {
    font-size: 16px;
    margin-bottom: 4px;
}

.team-role {
    font-size: 13px;
    color: var(--muted);
}

.project-card {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 32px;
    padding: 36px;
    border-radius: var(--radius-lg);
    background: var(--grad-hero);
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.project-card .eyebrow {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.24);
}

.project-card h3 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 8px;
}

.project-card p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 520px;
}

.project-card .button.primary {
    background: #fff;
    color: var(--ink);
}

.project-card .button.primary:hover,
.project-card .button.primary:focus-visible {
    background: var(--ink);
    color: #fff;
}

/* ---------- Media ---------- */

.media-section {
    padding: 100px 0;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.media-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-lg);
    background: var(--paper);
    border: 1px solid var(--line);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.media-card:hover,
.media-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--line-strong);
    outline: none;
}

.media-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--paper-3);
    overflow: hidden;
}

.media-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}

.media-card:hover .media-thumb img {
    transform: scale(1.04);
}

.media-thumb-video::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.35));
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1;
    box-shadow: var(--shadow-md);
}

.play-overlay::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 56%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent var(--ink);
}

.media-meta {
    padding: 22px;
}

.media-source {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

.media-meta h3 {
    font-size: 18px;
    margin-bottom: 14px;
}

.media-link {
    font-size: 14px;
    color: var(--ink-soft);
    font-weight: 600;
}

/* ---------- Contact ---------- */

.contact-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--paper-2), transparent);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 32px;
    border-radius: var(--radius-lg);
    background: var(--paper);
    border: 1px solid var(--line);
    font-style: normal;
    box-shadow: var(--shadow-xs);
}

.contact-card h3 {
    font-size: 22px;
    margin-bottom: 4px;
}

.contact-card p {
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 6px;
}

.contact-card a:not(.button) {
    color: var(--brand);
    font-weight: 600;
    word-break: break-word;
}

.contact-card a:not(.button):hover {
    text-decoration: underline;
}

.contact-card .button {
    margin-top: 10px;
}

/* ---------- Policies ---------- */

.policies-section {
    padding: 40px 0 100px;
}

.policy-card {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 32px;
    padding: 40px;
    border-radius: var(--radius-lg);
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.policy-card h2 {
    font-size: 28px;
    margin: 10px 0 6px;
}

.policy-card p {
    color: var(--muted);
}

.policy-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ---------- Footer ---------- */

.site-footer {
    padding: 40px 0;
    border-top: 1px solid var(--line);
    background: var(--paper);
}

.site-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.footer-brand strong {
    display: block;
    font-size: 14px;
    color: var(--ink);
}

.footer-brand small {
    display: block;
    font-size: 12px;
    color: var(--muted);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.footer-nav a {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--ink-soft);
    transition: background 160ms ease;
}

.footer-nav a:hover {
    background: var(--paper-3);
}

/* ---------- Focus styles ---------- */

a:focus-visible,
button:focus-visible,
.button:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-stage {
        min-height: 540px;
    }

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

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

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

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

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

    .community-card {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
    }

    .community-stack {
        height: 320px;
        max-width: 460px;
        margin: 0 auto;
    }

    .project-card,
    .policy-card {
        grid-template-columns: 1fr;
        text-align: left;
    }
}

@media (max-width: 720px) {
    .menu-toggle {
        display: inline-grid;
        place-items: center;
    }

    .navigation {
        display: none;
        position: absolute;
        top: 72px;
        right: 20px;
        left: 20px;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        gap: 4px;
        background: var(--paper);
        border: 1px solid var(--line);
        border-radius: var(--radius);
        box-shadow: var(--shadow-md);
    }

    .navigation.open {
        display: flex;
    }

    .navigation a {
        padding: 12px 14px;
        font-size: 15px;
    }

    .navigation a.nav-cta {
        margin: 6px 0 0;
        text-align: center;
    }

    .hero {
        padding: 56px 0 80px;
    }

    .features,
    .about-section,
    .media-section,
    .contact-section {
        padding: 64px 0;
    }

    .feature-grid,
    .media-grid,
    .contact-grid,
    .team-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .capability-card {
        padding: 28px;
    }

    .community-card {
        padding: 28px;
    }

    .community-stack {
        height: 360px;
        max-width: 100%;
    }

    .community-tile {
        width: 170px;
    }

    .project-card,
    .policy-card {
        padding: 28px;
    }

    .floating-chip.chip-one {
        top: 30px;
        left: 0;
    }

    .floating-chip.chip-two {
        bottom: 130px;
        right: 0;
    }

    .button {
        width: 100%;
    }

    .hero-actions,
    .policy-actions {
        flex-direction: column;
        width: 100%;
    }

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