.hero {
    display: flex;
    min-height: 100svh;
    padding: calc(var(--header-height) + 1.5rem) var(--gutter) 1.5rem;
    align-items: center;
}

.hero__frame {
    position: relative;
    isolation: isolate;
    width: min(100%, var(--container));
    max-height: calc(100svh - var(--header-height) - 3rem);
    margin-inline: auto;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #07101a;
    box-shadow: 0 2rem 7rem rgba(0, 0, 0, 0.42);
}

.hero__frame::after,
.page-hero__frame::after {
    position: absolute;
    z-index: 5;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: inherit;
    content: "";
    pointer-events: none;
}

.hero__picture,
.page-hero__picture {
    position: absolute;
    z-index: 0;
    inset: 0;
}

.hero__image,
.page-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: cinematic-push 12s alternate infinite var(--ease-out);
    transform-origin: 68% 50%;
}

.hero__shade,
.page-hero__shade {
    position: absolute;
    z-index: 1;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 7, 7, 0.96) 0%, rgba(5, 7, 7, 0.88) 30%, rgba(5, 7, 7, 0.28) 57%, transparent 78%),
        linear-gradient(0deg, rgba(5, 7, 7, 0.5) 0%, transparent 32%);
    pointer-events: none;
}

.hero__copy,
.page-hero__copy {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: clamp(1.75rem, 4.2vw, 3.75rem);
    width: min(54%, 42rem);
    transform: translateY(-48%);
}

.hero__copy h1,
.page-hero__copy h1 {
    max-width: 12.5ch;
    margin: 1.35rem 0 1.2rem;
    font-size: clamp(2.75rem, 5vw, 4.4rem);
    font-weight: 580;
    letter-spacing: -0.052em;
    line-height: 0.98;
}

.hero__lead,
.page-hero__lead {
    max-width: 39rem;
    margin: 0 0 1.75rem;
    color: #d6d9cd;
    font-size: clamp(1rem, 1.3vw, 1.18rem);
    line-height: 1.5;
}

.hero__technical,
.page-hero__technical {
    position: absolute;
    z-index: 3;
    top: 1.25rem;
    right: 1.25rem;
    display: flex;
    gap: 1.1rem;
    color: rgba(242, 243, 237, 0.76);
    font-size: 0.6875rem;
    font-weight: 680;
    letter-spacing: 0.08em;
}

@keyframes cinematic-push {
    from { transform: scale(1.005) translate3d(0, 0, 0); }
    to { transform: scale(1.045) translate3d(-0.35%, -0.2%, 0); }
}

.page-hero {
    padding: calc(var(--header-height) + 1.4rem) var(--gutter) 1.5rem;
}

.page-hero__shell {
    width: min(100%, var(--container));
    margin-inline: auto;
}

.page-hero__frame {
    position: relative;
    isolation: isolate;
    min-height: clamp(34rem, 67vw, 46rem);
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #07101a;
    box-shadow: 0 2rem 7rem rgba(0, 0, 0, 0.38);
}

.page-hero__copy h1 {
    max-width: 13.5ch;
    font-size: clamp(2.7rem, 4.8vw, 4.35rem);
}

.page-hero__image {
    object-position: center;
}

.prompt-sample {
    max-width: 35rem;
    margin: -0.25rem 0 1.2rem;
    padding: 0 0 0 1rem;
    border-left: 1px solid var(--accent);
    color: rgba(242, 243, 237, 0.72);
    font-size: 0.78rem;
    font-style: normal;
    line-height: 1.45;
}

.mode-switch,
.effect-selector {
    position: absolute;
    z-index: 6;
    top: 1.1rem;
    right: 1.1rem;
    display: flex;
    padding: 0.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background: rgba(8, 11, 10, 0.72);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.no-js .mode-switch,
.no-js .effect-selector,
.no-js .before-after__range {
    display: none;
}

.mode-switch button,
.effect-selector button {
    min-height: 2.75rem;
    padding: 0.4rem 0.7rem;
    border: 0;
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.65rem;
    font-weight: 680;
}

.mode-switch button[aria-pressed="true"],
.effect-selector button[aria-pressed="true"] {
    background: var(--accent);
    color: var(--text-inverse);
}

.effect-selector {
    top: auto;
    right: 1.1rem;
    bottom: 4.7rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.page-hero__frame[data-portrait-view="photo"] .page-hero__image {
    animation-play-state: paused;
    filter: grayscale(1) contrast(0.92);
}

.page-hero__frame[data-effect="zoom"] .page-hero__image { animation: effect-zoom 6s ease-in-out infinite alternate; }
.page-hero__frame[data-effect="orbit"] .page-hero__image { animation: effect-orbit 7s ease-in-out infinite alternate; }
.page-hero__frame[data-effect="pan"] .page-hero__image { animation: effect-pan 7s ease-in-out infinite alternate; }
.page-hero__frame[data-effect="dolly"] .page-hero__image { animation: effect-dolly 7s ease-in-out infinite alternate; }
.page-hero__frame[data-effect="fpv"] .page-hero__image { animation: effect-fpv 5s ease-in-out infinite alternate; }
.page-hero__frame[data-effect][data-motion="paused"] .page-hero__image { animation-play-state: paused; }

@keyframes effect-zoom { from { transform: scale(1.01); } to { transform: scale(1.12); } }
@keyframes effect-orbit { from { transform: scale(1.08) translateX(-1.5%); } to { transform: scale(1.08) translateX(1.5%); } }
@keyframes effect-pan { from { transform: scale(1.08) translateX(2%); } to { transform: scale(1.08) translateX(-2%); } }
@keyframes effect-dolly { from { transform: scale(1.015) translateY(0); } to { transform: scale(1.1) translateY(-0.7%); } }
@keyframes effect-fpv { from { transform: scale(1.08) rotate(-0.5deg); } to { transform: scale(1.08) rotate(0.5deg); } }

.content-section {
    position: relative;
    padding: clamp(5rem, 9vw, 8.5rem) var(--gutter);
}

.section-shell {
    width: min(100%, var(--container));
    margin-inline: auto;
}

.section-shell--editorial {
    position: relative;
}

.section-heading {
    max-width: 52rem;
    margin-bottom: clamp(2.25rem, 5vw, 4rem);
}

.section-heading--split {
    display: grid;
    max-width: none;
    grid-template-columns: minmax(0, 1.3fr) minmax(18rem, 0.7fr);
    gap: clamp(2rem, 7vw, 7rem);
    align-items: end;
}

.section-heading--compact {
    max-width: 50rem;
}

.section-heading h2,
.control-copy h2,
.final-cta h2 {
    margin: 1rem 0 0;
    font-size: clamp(2.35rem, 5vw, 4.7rem);
    font-weight: 540;
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.section-heading p,
.control-copy > p {
    max-width: 44rem;
    margin: 1.25rem 0 0;
    color: var(--text-secondary);
    font-size: clamp(1rem, 1.25vw, 1.15rem);
    line-height: 1.62;
}

.section-heading--split > p {
    margin: 0 0 0.25rem;
}

.proof-section {
    background:
        radial-gradient(circle at 12% 10%, rgba(38, 78, 110, 0.13), transparent 25rem),
        var(--bg-primary);
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.benefit-card {
    min-height: 23rem;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 55%);
}

.benefit-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.icon-box {
    display: grid;
    width: 3.25rem;
    height: 3.25rem;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--accent);
}

.icon-box svg {
    width: 1.3rem;
    height: 1.3rem;
}

.benefit-card__number {
    color: var(--text-muted);
    font-size: 0.67rem;
    font-weight: 680;
    letter-spacing: 0.1em;
}

.benefit-card h3 {
    margin: clamp(5rem, 8vw, 7rem) 0 0.8rem;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    font-weight: 560;
    letter-spacing: -0.035em;
    line-height: 1.05;
}

.benefit-card p {
    max-width: 29ch;
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.55;
}

.result-rail {
    display: flex;
    margin-top: clamp(2rem, 4vw, 3.5rem);
    padding-bottom: 0.75rem;
    overflow-x: auto;
    gap: 1rem;
    scroll-padding-inline: 1px;
    scroll-snap-type: x mandatory;
    scrollbar-color: var(--border-strong) transparent;
}

.result-shot {
    position: relative;
    flex: 0 0 min(34rem, 43vw);
    min-width: 23rem;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #07101a;
    scroll-snap-align: start;
}

.result-shot picture,
.result-shot img {
    width: 100%;
    height: 100%;
}

.result-shot img {
    object-fit: cover;
    transition: transform 500ms var(--ease-out);
}

.result-shot:hover img {
    transform: scale(1.035);
}

.result-shot::after {
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(transparent, rgba(5, 7, 7, 0.9));
    content: "";
}

.result-shot > span {
    position: absolute;
    z-index: 2;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.result-shot > span small {
    color: var(--accent);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
}

.result-shot > span svg {
    width: 1.1rem;
    height: 1.1rem;
    margin-left: auto;
}

.before-after {
    margin-top: clamp(2rem, 4vw, 3.5rem);
    overflow: hidden;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    background: #080b0a;
}

.before-after__meta {
    display: flex;
    min-height: 3rem;
    padding-inline: 1rem;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.before-after__stage {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 8.5;
}

.before-after__layer,
.before-after__layer img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.before-after__layer img {
    object-fit: cover;
}

.before-after__layer--before img {
    filter: grayscale(1) contrast(0.82) brightness(0.76);
}

.before-after__layer--after {
    z-index: 2;
    clip-path: inset(0 calc(100% - var(--reveal)) 0 0);
}

.before-after__divider {
    position: absolute;
    z-index: 4;
    top: 0;
    bottom: 0;
    left: var(--reveal);
    width: 1px;
    transform: translateX(-50%);
    background: var(--accent);
    pointer-events: none;
}

.before-after__divider i {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2.75rem;
    height: 2.75rem;
    transform: translate(-50%, -50%);
    border: 1px solid var(--accent);
    border-radius: 50%;
    background: rgba(8, 11, 10, 0.82);
}

.before-after__divider i::before,
.before-after__divider i::after {
    position: absolute;
    top: 50%;
    width: 0.45rem;
    height: 0.45rem;
    border-top: 1px solid var(--accent);
    border-left: 1px solid var(--accent);
    content: "";
}

.before-after__divider i::before { left: 0.55rem; transform: translateY(-50%) rotate(-45deg); }
.before-after__divider i::after { right: 0.55rem; transform: translateY(-50%) rotate(135deg); }

.before-after__range {
    position: absolute;
    z-index: 6;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: ew-resize;
}

.before-after__range:focus-visible {
    opacity: 1;
    height: 2rem;
    top: auto;
    accent-color: var(--accent);
}

.before-after__label {
    position: absolute;
    z-index: 5;
    bottom: 1rem;
    padding: 0.45rem 0.65rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background: rgba(8, 11, 10, 0.75);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.before-after__label--before { left: 1rem; }
.before-after__label--after { right: 1rem; }

.workflow-section {
    overflow: hidden;
    background: #0e1210;
}

.workflow-section::before {
    position: absolute;
    width: 42rem;
    height: 42rem;
    top: 5rem;
    right: -18rem;
    border-radius: 50%;
    background: rgba(29, 81, 121, 0.13);
    content: "";
    filter: blur(40px);
}

.workflow-layout {
    display: grid;
    grid-template-columns: minmax(18rem, 0.75fr) minmax(30rem, 1.25fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: center;
}

.workflow-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.workflow-list li {
    display: grid;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
    grid-template-columns: 3rem 1fr;
    gap: 1rem;
}

.workflow-list li:last-child {
    border-bottom: 1px solid var(--border);
}

.workflow-list > li > span {
    color: var(--accent);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.workflow-list h3 {
    margin: 0 0 0.45rem;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.025em;
}

.workflow-list p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.55;
}

.studio-board {
    overflow: hidden;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    background: #090d0c;
    box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.32);
}

.studio-board__bar {
    display: flex;
    height: 3rem;
    padding-inline: 1rem;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.11em;
}

.studio-board__canvas {
    position: relative;
    min-height: 27rem;
    overflow: hidden;
    background:
        linear-gradient(rgba(242, 243, 237, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(242, 243, 237, 0.035) 1px, transparent 1px),
        radial-gradient(circle at 70% 36%, rgba(49, 116, 156, 0.3), transparent 33%),
        #0b1110;
    background-size: 3rem 3rem, 3rem 3rem, auto, auto;
}

.scene-node {
    position: absolute;
    z-index: 2;
    display: grid;
    width: 7.5rem;
    height: 7.5rem;
    place-items: center;
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    background: rgba(10, 13, 12, 0.88);
    color: var(--accent);
    box-shadow: 0 0 0 0.8rem rgba(200, 241, 53, 0.035);
}

.scene-node svg {
    width: 2rem;
    height: 2rem;
}

.scene-node--source {
    left: 10%;
    bottom: 12%;
}

.scene-node--motion {
    top: 11%;
    right: 11%;
}

.scene-node__label {
    position: absolute;
    bottom: -1.7rem;
    color: var(--text-muted);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.camera-path {
    position: absolute;
    z-index: 1;
    inset: 11% 8% auto 8%;
    width: 84%;
    color: var(--accent);
}

.studio-board__reticle {
    position: absolute;
    top: 47%;
    left: 52%;
    width: 4rem;
    height: 4rem;
    border: 1px solid rgba(242, 243, 237, 0.28);
    border-radius: 50%;
}

.studio-board__reticle::before,
.studio-board__reticle::after,
.studio-board__reticle span::before,
.studio-board__reticle span::after {
    position: absolute;
    background: rgba(242, 243, 237, 0.35);
    content: "";
}

.studio-board__reticle::before { width: 1rem; height: 1px; top: 50%; left: -1.2rem; }
.studio-board__reticle::after { width: 1rem; height: 1px; top: 50%; right: -1.2rem; }
.studio-board__reticle span::before { width: 1px; height: 1rem; left: 50%; top: -1.2rem; }
.studio-board__reticle span::after { width: 1px; height: 1rem; left: 50%; bottom: -1.2rem; }

.studio-board__readout {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    color: var(--text-muted);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.studio-board__timeline {
    display: grid;
    height: 3.25rem;
    padding: 0.9rem 1rem;
    grid-template-columns: 1.2fr 0.8fr 1.6fr 0.55fr 1fr;
    gap: 0.35rem;
    border-top: 1px solid var(--border);
}

.studio-board__timeline span {
    border-radius: 2px;
    background: rgba(242, 243, 237, 0.13);
}

.studio-board__timeline span:nth-child(3) {
    background: var(--accent);
}

.use-section {
    background: var(--bg-primary);
}

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

.use-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.use-card {
    position: relative;
    min-height: 19rem;
    padding: 1.5rem;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background:
        radial-gradient(circle at 90% 10%, rgba(41, 97, 133, 0.2), transparent 45%),
        var(--surface-soft);
    transition: transform 220ms var(--ease-out), border-color 220ms ease;
}

.use-card--link:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
}

.use-card__index {
    color: var(--accent);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.use-card h3 {
    max-width: 13ch;
    margin: clamp(5rem, 8vw, 7.5rem) 0 0.7rem;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: 560;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.use-card p {
    max-width: 30ch;
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.86rem;
    line-height: 1.5;
}

.use-card__arrow {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-secondary);
}

.use-card__arrow svg {
    width: 1rem;
    height: 1rem;
}

.use-card__rule {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 3.5rem;
    height: 1px;
    background: var(--accent);
}

.control-section {
    background:
        radial-gradient(circle at 80% 40%, rgba(35, 85, 124, 0.16), transparent 30rem),
        #0d1110;
}

.control-layout {
    display: grid;
    grid-template-columns: minmax(20rem, 0.8fr) minmax(30rem, 1.2fr);
    gap: clamp(3rem, 8vw, 8rem);
    align-items: center;
}

.control-copy h2 {
    max-width: 13ch;
}

.check-list {
    display: flex;
    margin: 2rem 0 0;
    padding: 0;
    flex-direction: column;
    list-style: none;
}

.check-list li {
    display: grid;
    padding: 0.9rem 0;
    align-items: start;
    border-top: 1px solid var(--border);
    grid-template-columns: 2rem 1fr;
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.check-list li:last-child {
    border-bottom: 1px solid var(--border);
}

.check-list li > span {
    color: var(--accent);
}

.check-list svg {
    width: 1rem;
    height: 1rem;
}

.inline-links {
    display: flex;
    margin: 1.3rem 0 0;
    flex-wrap: wrap;
    gap: 0.45rem 0.75rem;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.inline-links span {
    flex-basis: 100%;
    color: var(--text-muted);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.inline-links a {
    border-bottom: 1px solid var(--border-strong);
    color: var(--text-secondary);
}

.inline-links a:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.control-stage {
    overflow: hidden;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    background: #080b0a;
    box-shadow: 0 2rem 7rem rgba(0, 0, 0, 0.35);
}

.control-stage__header,
.control-stage__footer {
    display: flex;
    height: 3rem;
    padding-inline: 1rem;
    align-items: center;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.11em;
}

.control-stage__header {
    border-bottom: 1px solid var(--border);
}

.control-stage__viewport {
    position: relative;
    overflow: hidden;
    aspect-ratio: 14 / 9;
    background: linear-gradient(145deg, #101a1d, #08100f 62%);
}

.control-stage__grid {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(242, 243, 237, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(242, 243, 237, 0.06) 1px, transparent 1px);
    background-size: 33.333% 33.333%;
}

.control-stage__subject {
    position: absolute;
    z-index: 1;
    top: 28%;
    left: 58%;
    width: 23%;
    aspect-ratio: 1;
    border: 1px solid rgba(200, 241, 53, 0.75);
    border-radius: 44% 56% 48% 52%;
    background: radial-gradient(circle at 40% 35%, rgba(242, 243, 237, 0.36), rgba(41, 100, 133, 0.28) 40%, rgba(200, 241, 53, 0.11) 70%);
    box-shadow: 0 0 4rem rgba(49, 122, 166, 0.22);
}

.control-stage__viewport > svg {
    position: absolute;
    z-index: 2;
    inset: 0;
    width: 100%;
    height: 100%;
    color: var(--accent);
}

.control-stage__tag {
    position: absolute;
    z-index: 3;
    padding: 0.3rem 0.45rem;
    border: 1px solid var(--border);
    background: rgba(8, 11, 10, 0.8);
    color: var(--text-secondary);
    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.control-stage__tag--one { top: 23%; right: 17%; }
.control-stage__tag--two { left: 17%; bottom: 17%; }

.control-stage__footer {
    justify-content: flex-start;
    gap: 0.5rem;
    border-top: 1px solid var(--border);
}

.control-stage__footer i {
    display: block;
    width: 2.2rem;
    height: 0.35rem;
    background: rgba(242, 243, 237, 0.12);
}

.control-stage__footer i:nth-of-type(2),
.control-stage__footer i:nth-of-type(4) {
    background: var(--accent);
}

.faq-section {
    background: var(--bg-primary);
}

.faq-layout {
    display: grid;
    grid-template-columns: minmax(18rem, 0.7fr) minmax(30rem, 1.3fr);
    gap: clamp(3rem, 8vw, 8rem);
    align-items: start;
}

.faq-layout .section-heading {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
    margin: 0;
}

.faq-list {
    border-top: 1px solid var(--border);
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item summary {
    display: grid;
    min-height: 5.5rem;
    padding-block: 1.25rem;
    align-items: center;
    grid-template-columns: 3rem 1fr 2rem;
    gap: 1rem;
    cursor: pointer;
    font-size: clamp(1rem, 1.45vw, 1.18rem);
    font-weight: 580;
    letter-spacing: -0.02em;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item__index {
    color: var(--text-muted);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.faq-item__icon {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    transition: transform 180ms var(--ease-out), border-color 180ms ease;
}

.faq-item__icon svg {
    width: 0.95rem;
    height: 0.95rem;
}

.faq-item[open] .faq-item__icon {
    transform: rotate(180deg);
    border-color: var(--accent);
    color: var(--accent);
}

.faq-item__answer {
    padding: 0 3rem 1.6rem 4rem;
}

.faq-item__answer p {
    max-width: 48rem;
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.94rem;
    line-height: 1.65;
}

.related-section {
    padding-top: 0;
    background: var(--bg-primary);
}

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

.related-card {
    position: relative;
    min-height: 18rem;
    padding: 1.5rem;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface-soft);
    transition: transform 220ms var(--ease-out), border-color 220ms ease;
}

.related-card::after {
    position: absolute;
    right: -4rem;
    bottom: -5rem;
    width: 13rem;
    height: 13rem;
    border: 1px solid rgba(200, 241, 53, 0.2);
    border-radius: 50%;
    content: "";
}

.related-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
}

.related-card > span:first-child {
    color: var(--accent);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.related-card h3 {
    margin: 4.5rem 0 0.7rem;
    font-size: 1.55rem;
    font-weight: 560;
    letter-spacing: -0.04em;
}

.related-card p {
    max-width: 31ch;
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.5;
}

.related-card__arrow {
    position: absolute;
    z-index: 2;
    right: 1.25rem;
    bottom: 1.25rem;
    color: var(--accent);
}

.related-card__arrow svg {
    width: 1.2rem;
    height: 1.2rem;
}

.final-cta {
    position: relative;
    isolation: isolate;
    display: grid;
    min-height: 0;
    padding: clamp(5rem, 8vw, 7rem) var(--gutter);
    overflow: hidden;
    place-items: center;
    border-top: 1px solid var(--border);
    background:
        linear-gradient(180deg, rgba(7, 10, 9, 0.2), #080a08),
        #0a0f0d;
}

.final-cta__glow {
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    width: min(75vw, 65rem);
    aspect-ratio: 1.9 / 1;
    transform: translate(-50%, -48%);
    border-radius: 50%;
    background:
        radial-gradient(circle at 62% 50%, rgba(50, 111, 150, 0.38), transparent 42%),
        radial-gradient(circle at 38% 52%, rgba(200, 241, 53, 0.16), transparent 38%);
    filter: blur(28px);
}

.final-cta__inner {
    max-width: 66rem;
    text-align: center;
}

.final-cta h2 {
    margin-top: 1.2rem;
    font-size: clamp(3rem, 7vw, 6.6rem);
}

.final-cta p {
    max-width: 44rem;
    margin: 1.5rem auto 2rem;
    color: var(--text-secondary);
    font-size: clamp(1rem, 1.4vw, 1.18rem);
    line-height: 1.6;
}

.legal-page {
    min-height: 80svh;
    padding: calc(var(--header-height) + 2rem) var(--gutter) clamp(5rem, 9vw, 8rem);
}

.legal-page__shell {
    width: min(100%, 62rem);
    margin-inline: auto;
}

.legal-page__header {
    padding: clamp(3rem, 7vw, 6rem) 0;
    border-bottom: 1px solid var(--border);
}

.legal-page__header h1 {
    margin: 1rem 0;
    font-size: clamp(3rem, 7vw, 6.25rem);
    font-weight: 540;
    letter-spacing: -0.06em;
    line-height: 0.96;
}

.legal-page__header p {
    max-width: 44rem;
    margin: 0 0 1.25rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}

.legal-page__header time {
    color: var(--text-muted);
    font-size: 0.72rem;
}

.legal-page__content {
    display: grid;
    padding-top: 3rem;
    gap: 3rem;
}

.legal-page__content section {
    display: grid;
    grid-template-columns: minmax(12rem, 0.55fr) minmax(20rem, 1fr);
    gap: clamp(2rem, 6vw, 5rem);
}

.legal-page__content h2 {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 560;
    letter-spacing: -0.04em;
}

.legal-page__content p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.72;
}

.legal-page__content p + p {
    margin-top: 1rem;
    grid-column: 2;
}

.not-found {
    position: relative;
    display: grid;
    min-height: 90svh;
    padding: calc(var(--header-height) + 2rem) var(--gutter) 4rem;
    place-items: center;
    background: radial-gradient(circle at 68% 40%, rgba(40, 103, 144, 0.24), transparent 36rem);
}

.not-found__visual {
    position: absolute;
    inset: 0;
    display: grid;
    overflow: hidden;
    place-items: center;
    pointer-events: none;
}

.not-found__visual span {
    color: rgba(242, 243, 237, 0.028);
    font-size: clamp(18rem, 48vw, 46rem);
    font-weight: 760;
    letter-spacing: -0.12em;
    line-height: 0.7;
}

.not-found__copy {
    position: relative;
    z-index: 2;
    max-width: 48rem;
    text-align: center;
}

.not-found__copy h1 {
    margin: 1rem 0;
    font-size: clamp(3.5rem, 9vw, 7.5rem);
    font-weight: 540;
    letter-spacing: -0.065em;
    line-height: 0.92;
}

.not-found__copy p {
    max-width: 40rem;
    margin: 0 auto 2rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.not-found__copy .hero__actions {
    justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
    .hero__image,
    .page-hero__image,
    .page-hero__frame[data-effect] .page-hero__image {
        animation: none !important;
    }

    .result-shot img {
        transition: none;
    }
}
