:root {
    --bg-top: #240038;
    --bg-bottom: #140021;
    --surface: rgba(255, 255, 255, 0.06);
    --surface-strong: rgba(255, 255, 255, 0.1);
    --border: rgba(255, 255, 255, 0.12);
    --text: #ffffff;
    --muted: #d4bfdc;
    --accent: #ffb800;
    --accent-deep: #ff8a00;
    --accent-soft: rgba(255, 184, 0, 0.18);
    --purple: #7d26ff;
    --purple-soft: rgba(125, 38, 255, 0.22);
    --shadow: 0 28px 80px rgba(7, 0, 16, 0.45);
    --radius-xl: 34px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 15% 0%, rgba(125, 38, 255, 0.35), transparent 28%),
        radial-gradient(circle at 85% 20%, rgba(255, 184, 0, 0.16), transparent 24%),
        linear-gradient(180deg, var(--bg-top) 0%, #220033 30%, var(--bg-bottom) 100%);
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 36px 36px;
    opacity: 0.22;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 1));
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
p {
    margin: 0;
}

.background-glow {
    position: fixed;
    border-radius: 999px;
    filter: blur(90px);
    pointer-events: none;
    opacity: 0.45;
}

.background-glow-left {
    top: 160px;
    left: -120px;
    width: 280px;
    height: 280px;
    background: rgba(125, 38, 255, 0.38);
}

.background-glow-right {
    top: 340px;
    right: -80px;
    width: 240px;
    height: 240px;
    background: rgba(255, 184, 0, 0.22);
}

.container {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
}

.site-header,
.hero-section,
.showcase-section,
.studio-section,
.faq-section,
.contact-section,
.site-footer {
    position: relative;
    z-index: 1;
}

.header-bar {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.nav-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.nav-toggle-button {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 52px;
    height: 52px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.nav-toggle-button span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
    transition: transform 180ms ease, opacity 180ms ease;
}

.brand img,
.footer-brand img {
    height: auto;
}

.brand img {
    width: min(220px, 42vw);
}

.site-nav {
    display: flex;
    justify-content: center;
    gap: 10px 24px;
    flex-wrap: wrap;
}

.site-nav a,
.footer-links a,
.header-link {
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 700;
    transition: color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible,
.header-link:hover,
.header-link:focus-visible {
    color: var(--text);
    transform: translateY(-1px);
}

.header-link {
    padding: 12px 18px;
    border-radius: 999px;
    color: #180014;
    background: linear-gradient(135deg, var(--accent), #ffd85a);
}

.hero-section {
    padding: 28px 0 56px;
}

.hero-layout {
    display: grid;
    gap: 26px;
    align-items: center;
}

.hero-copy {
    padding: 16px 0;
}

.eyebrow {
    margin-bottom: 14px;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-copy h1,
.section-intro h2,
.visual-panel h2,
.contact-card h2 {
    font-family: "Sora", sans-serif;
    line-height: 1;
}

.hero-copy h1 {
    font-size: clamp(2.8rem, 8vw, 5.6rem);
    max-width: 10ch;
}

.hero-text,
.section-intro p,
.visual-panel p,
.card-copy p,
.feature-card p,
.faq-item p,
.contact-card p,
.footer-brand p,
.footer-brand span {
    color: var(--muted);
    line-height: 1.7;
}

.hero-text {
    max-width: 58ch;
    margin-top: 18px;
    font-size: 1.02rem;
}

.hero-actions,
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 14px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.98rem;
    font-weight: 800;
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
}

.button-primary {
    color: #210018;
    background: linear-gradient(135deg, var(--accent), #ffd85a);
    box-shadow: 0 18px 44px rgba(255, 184, 0, 0.22);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.18);
}

.hero-meta {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.meta-card,
.visual-panel,
.showcase-card,
.feature-card,
.faq-item,
.contact-card {
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.meta-card {
    padding: 16px 18px;
    border-radius: var(--radius-md);
}

.meta-label,
.card-tag,
.panel-kicker {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.meta-card strong {
    font-size: 1rem;
}

.hero-visual {
    position: relative;
    min-height: 520px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
        linear-gradient(135deg, rgba(72, 0, 120, 0.78), rgba(25, 0, 45, 0.92));
    box-shadow: var(--shadow);
}

.mosaic-grid {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 1fr;
    gap: 2px;
    opacity: 0.95;
}

.tile {
    position: relative;
    background: linear-gradient(135deg, rgba(69, 0, 129, 0.96), rgba(31, 0, 53, 0.94));
    overflow: hidden;
}

.tile::before,
.tile::after {
    content: "";
    position: absolute;
}

.tile-cross::before,
.tile-cross::after {
    top: 50%;
    left: 50%;
    width: 18%;
    height: 70%;
    background: var(--accent);
    border-radius: 999px;
    transform-origin: center;
}

.tile-cross::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.tile-cross::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.tile-arc::before {
    inset: 14%;
    border: 16px solid var(--purple);
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-radius: 999px;
    transform: rotate(18deg);
}

.tile-triangle::before {
    left: 50%;
    top: 18%;
    width: 0;
    height: 0;
    border-left: 42px solid transparent;
    border-right: 42px solid transparent;
    border-bottom: 78px solid var(--accent);
    transform: translateX(-50%);
}

.tile-ring::before {
    inset: 18%;
    border-radius: 999px;
    border: 16px solid var(--accent);
}

.tile-solid::before {
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 184, 0, 0.92), rgba(255, 138, 0, 0.92));
    clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%);
}

.visual-panel {
    position: absolute;
    z-index: 1;
    border-radius: 26px;
}

.main-panel {
    left: 26px;
    right: 26px;
    bottom: 28px;
    padding: 28px;
}

.main-panel h2 {
    font-size: clamp(2rem, 6vw, 4rem);
    margin-bottom: 12px;
    max-width: 10ch;
}

.floating-panel {
    top: 26px;
    right: 26px;
    padding: 18px 20px;
    display: grid;
    gap: 10px;
    min-width: 210px;
}

.floating-panel span {
    font-weight: 800;
}

.showcase-section,
.studio-section,
.faq-section,
.contact-section {
    padding: 34px 0 44px;
}

.section-intro {
    max-width: 760px;
    margin-bottom: 24px;
}

.section-intro.centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-intro h2,
.contact-card h2 {
    font-size: clamp(2rem, 5.6vw, 4.2rem);
    margin-bottom: 14px;
}

.showcase-grid,
.studio-grid {
    display: grid;
    gap: 18px;
}

.showcase-card,
.feature-card,
.contact-card {
    border-radius: var(--radius-lg);
}

.showcase-card {
    overflow: hidden;
}

.card-large {
    min-height: 100%;
}

.card-art {
    min-height: 240px;
    background-color: rgba(255, 255, 255, 0.04);
}

.art-primary {
    background:
        radial-gradient(circle at 50% 35%, rgba(255, 184, 0, 0.9), transparent 14%),
        radial-gradient(circle at 50% 50%, rgba(125, 38, 255, 0.86), transparent 44%),
        linear-gradient(135deg, rgba(24, 0, 48, 0.85), rgba(58, 0, 110, 0.86));
}

.art-secondary {
    background:
        linear-gradient(135deg, rgba(255, 184, 0, 0.12), rgba(255, 255, 255, 0)),
        linear-gradient(160deg, rgba(22, 0, 44, 0.96), rgba(74, 0, 126, 0.9));
}

.art-tertiary {
    background:
        radial-gradient(circle at 20% 25%, rgba(255, 184, 0, 0.5), transparent 18%),
        radial-gradient(circle at 80% 80%, rgba(125, 38, 255, 0.44), transparent 22%),
        linear-gradient(145deg, rgba(53, 0, 96, 0.95), rgba(19, 0, 34, 0.94));
}

.card-copy,
.feature-card {
    padding: 22px;
}

.card-copy h3,
.feature-card h3 {
    margin-bottom: 12px;
    font-family: "Sora", sans-serif;
    font-size: 1.42rem;
}

.feature-list {
    display: grid;
    gap: 16px;
}

.feature-card {
    padding: 24px;
}

.faq-wrap {
    max-width: 900px;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item {
    padding: 0 24px;
    border-radius: 22px;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 24px 0;
    font-size: 1.08rem;
    font-weight: 800;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    float: right;
    color: var(--accent);
    font-size: 1.4rem;
    line-height: 1;
}

.faq-item[open] summary::after {
    content: "-";
}

.faq-item p {
    padding: 0 0 22px;
}

.contact-card {
    display: grid;
    gap: 18px;
    padding: 28px;
}

.site-footer {
    padding: 16px 0 36px;
}

.legal-main {
    padding: 44px 0 60px;
}

.legal-card {
    max-width: 920px;
    margin: 0 auto;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.legal-card h1,
.legal-card h2 {
    font-family: "Sora", sans-serif;
}

.legal-card h1 {
    margin-bottom: 14px;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
}

.legal-card h2 {
    margin: 28px 0 12px;
    font-size: 1.3rem;
}

.legal-card p,
.legal-card li {
    color: var(--muted);
    line-height: 1.8;
}

.legal-card ul {
    margin: 0;
    padding-left: 22px;
}

.legal-card .button {
    margin-top: 24px;
}

.footer-grid {
    display: grid;
    gap: 24px;
    padding: 24px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand img {
    width: min(210px, 44vw);
    margin-bottom: 14px;
}

.footer-brand p {
    font-weight: 800;
    color: var(--text);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
}

@media (min-width: 760px) {
    .hero-layout {
        grid-template-columns: minmax(0, 1fr) minmax(420px, 1.02fr);
    }

    .hero-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .showcase-grid {
        grid-template-columns: 1.25fr 0.75fr 0.75fr;
        align-items: stretch;
    }

    .studio-grid {
        grid-template-columns: 0.95fr 1.05fr;
        align-items: start;
    }

    .feature-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .contact-card {
        grid-template-columns: 1.1fr auto;
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: 1fr auto;
        align-items: end;
    }
}

@media (max-width: 900px) {
    .header-bar {
        grid-template-columns: 1fr;
        justify-items: start;
        border-radius: 28px;
    }

    .site-nav {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .header-bar {
        position: relative;
        grid-template-columns: 1fr 52px;
        align-items: center;
        gap: 14px;
    }

    .nav-toggle-button {
        display: inline-flex;
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }

    .brand {
        grid-column: 1 / -1;
        grid-row: 1;
        justify-self: center;
    }

    .brand img {
        width: min(150px, 52vw);
    }

    .site-nav {
        display: none;
        grid-column: 1 / -1;
        width: 100%;
        margin-top: 10px;
        padding: 10px 0 0;
        flex-direction: column;
        align-items: center;
        gap: 14px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .header-link {
        grid-column: 1 / -1;
        width: 100%;
        margin-top: 12px;
        text-align: center;
    }

    .nav-toggle:checked ~ .site-nav {
        display: flex;
    }

    .nav-toggle:checked ~ .nav-toggle-button span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle:checked ~ .nav-toggle-button span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle:checked ~ .nav-toggle-button span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

@media (max-width: 759px) {
    .hero-section {
        padding-top: 20px;
    }

    .hero-copy h1 {
        max-width: 12ch;
    }

    .hero-visual {
        min-height: 460px;
    }

    .mosaic-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .main-panel {
        left: 16px;
        right: 16px;
        bottom: 16px;
        padding: 22px;
    }

    .floating-panel {
        top: 16px;
        right: 16px;
        left: 16px;
        min-width: 0;
    }

    .faq-item,
    .contact-card,
    .legal-card {
        padding-left: 18px;
        padding-right: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .button,
    .site-nav a,
    .footer-links a,
    .header-link,
    .nav-toggle-button span {
        transition: none;
    }
}