main:has(> .home) {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.home {
    overflow-x: clip;
}

.home-inner {
    width: min(72rem, calc(100% - 2rem));
    margin-inline: auto;
}

.home-hero {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 3.6rem 0 2.6rem;
    overflow: hidden;
    background: #101b2d;
    color: #fff;
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 42% 70% at 86% 38%, rgba(23, 184, 166, 0.16), transparent 72%);
    pointer-events: none;
}

.home-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(17rem, 0.95fr);
    gap: 2rem 3rem;
    align-items: center;
    width: min(72rem, calc(100% - 2rem));
}

.home-hero-copy {
    padding-left: 1.15rem;
    border-left: 2px solid #f2c14e;
}

.home-hero .kicker::after {
    display: none;
}

.home .kicker {
    letter-spacing: 0.14em;
    font-size: 0.6875rem;
}

.home .kicker::after {
    content: "";
    display: block;
    width: 1.75rem;
    height: 1px;
    margin-top: 0.55rem;
    background: #f2c14e;
}

.home-hero .kicker,
.home-close .kicker {
    color: #c8f7f0;
}

.home-hero h1 {
    max-width: 11.5em;
    margin: 0.45rem 0 1rem;
    color: #fff;
    font-size: clamp(2.45rem, 4.3vw, 3.85rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.038em;
    text-wrap: balance;
}

.home-hero h1 span {
    display: block;
    margin-top: 0.14em;
    color: #8fe7dc;
    font-weight: 600;
}

.home-hero .lead {
    max-width: 38rem;
    margin: 0;
    color: #d5e4ea;
    font-size: 1.125rem;
    line-height: 1.65;
}

.home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.35rem;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.85rem;
    padding: 0.45rem 1.15rem;
    border: 1px solid transparent;
    border-radius: 12px;
    background: #17b8a6;
    color: #101b2d;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.home-btn:hover {
    background: #f2c14e;
    color: #101b2d;
    text-decoration: none;
}

.home-btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.42);
}

.home-hero .home-btn-ghost:hover,
.home-close .home-btn-ghost:hover {
    background: transparent;
    color: #fff;
    border-color: #f2c14e;
}

.home-hero a:focus-visible,
.home-close a:focus-visible,
.use-a:focus-visible {
    outline-color: #f2c14e;
}

.home-hero-note {
    max-width: 36rem;
    margin: 0.95rem 0 0;
    color: #c5d5de;
    font-size: 0.9375rem;
}

.home-hero-note a {
    color: #fff;
}

.console,
.record,
.demo {
    min-width: 0;
}

.console {
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 2px solid #f2c14e;
    border-radius: 12px;
    background: #0e1726;
    box-shadow: 0 28px 50px rgba(0, 0, 0, 0.28);
}

.console-head,
.record-head,
.demo-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.console-head,
.console-disk,
.console-foot {
    padding-right: 1rem;
    padding-left: 1rem;
}

.console-head {
    padding-top: 0.9rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.console-head p,
.record-head p,
.demo-bar p,
.console figcaption,
.record figcaption {
    margin: 0;
}

.console-head p:first-child,
.record-head p:first-child,
.demo-bar p:first-child {
    color: #fff;
    font-weight: 700;
}

.console-pill {
    margin: 0;
    padding: 0.16rem 0.5rem;
    border: 1px solid rgba(242, 193, 78, 0.85);
    border-radius: 999px;
    color: #ffe7a3;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-transform: uppercase;
}

.console-disk,
.demo-disk {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.console-disk {
    padding-top: 0.95rem;
    padding-bottom: 0.85rem;
}

.console-ico {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 8px;
    background: rgba(23, 184, 166, 0.16);
    color: #7ee0d4;
    flex: none;
}

.console-ico .ui-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.demo .console-ico {
    background: #101b2d;
    color: #17b8a6;
}

.console .console-name {
    margin: 0;
    color: #fff;
    font-weight: 700;
    line-height: 1.3;
}

.demo .console-name {
    margin: 0;
    color: var(--navy);
    font-weight: 700;
    line-height: 1.3;
}

.console-meta {
    margin: 0.12rem 0 0;
    color: #b7c9d4;
    font-size: 0.875rem;
    line-height: 1.4;
}

.demo .console-meta {
    color: var(--muted);
}

.console-track {
    height: 0.45rem;
    margin: 0 1rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.console-track span {
    display: block;
    width: 100%;
    height: 100%;
    transform: scaleX(1);
    transform-origin: left center;
    border-radius: inherit;
    background: #17b8a6;
}

.console-log {
    position: relative;
    margin: 0.9rem 1rem 0.4rem;
    padding: 0;
    list-style: none;
}

.console-log::before {
    content: "";
    position: absolute;
    top: 0.5rem;
    bottom: 0.5rem;
    left: 0.28rem;
    width: 1px;
    background: rgba(23, 184, 166, 0.5);
}

.console-log li {
    display: flex;
    align-items: baseline;
    gap: 0.7rem;
    margin: 0;
    padding: 0.38rem 0;
    color: #d5e4ea;
    font-size: 0.875rem;
}

.console-log li > span:last-child {
    display: grid;
    grid-template-columns: 5.6rem minmax(0, 1fr);
    gap: 0.35rem;
    width: 100%;
}

.console-node {
    position: relative;
    z-index: 1;
    width: 0.55rem;
    height: 0.55rem;
    margin-top: 0.2rem;
    border-radius: 50%;
    background: #17b8a6;
    box-shadow: 0 0 0 3px #0e1726;
    flex: none;
}

.console-log strong {
    margin-right: 0.3rem;
    color: #fff;
}

.console-foot {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.7rem 0.75rem 0.85rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
}

.console-foot p {
    margin: 0;
    min-width: 0;
}

.console-foot strong {
    display: block;
    color: #fff;
    letter-spacing: 0.01em;
    overflow-wrap: anywhere;
}

.console-foot span {
    color: #b7c9d4;
    font-size: 0.8125rem;
}

.console-check {
    width: 1.7rem;
    height: 1.7rem;
    color: #5ee0d2;
    flex: none;
}

.console-check circle,
.console-check path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.console figcaption,
.record figcaption {
    padding: 0 1rem 0.95rem;
    color: #9eb0bd;
    font-size: 0.8125rem;
    line-height: 1.45;
}

.home-band {
    position: relative;
    z-index: 2;
    margin-top: 0;
    background: #0c1524;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 -2px 0 #17b8a6;
}

.trust {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    counter-reset: spec;
}

.trust article {
    min-width: 0;
    padding: 1.2rem 1.15rem 1.35rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    counter-increment: spec;
}

.trust article:first-child {
    border-left: 0;
    padding-left: 0;
}

.trust article::before {
    content: counter(spec, decimal-leading-zero);
    display: block;
    margin-bottom: 0.45rem;
    color: #ffe7a3;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.trust-ico {
    display: grid;
    place-items: center;
    width: 1.7rem;
    height: 1.7rem;
    margin-bottom: 0.55rem;
    border-radius: 8px;
    background: rgba(23, 184, 166, 0.16);
    color: #8fe7dc;
}

.trust-ico .ui-icon,
.use-ico .ui-icon {
    width: 1.2rem;
    height: 1.2rem;
}

.trust-title {
    margin: 0 0 0.28rem;
    color: #fff;
    font-weight: 700;
    line-height: 1.35;
}

.trust p:last-child {
    margin: 0;
    color: #c5d5de;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.home-stack {
    width: min(72rem, calc(100% - 2rem));
    margin-inline: auto;
    padding: 3.3rem 0 0.5rem;
}

.home-stack .home-section + .home-section {
    margin-top: 4.75rem;
}

.home-section h2,
.home-close h2 {
    max-width: 16em;
    font-size: clamp(1.9rem, 3.1vw, 2.6rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.home .lede,
.home-demo-copy p,
.home-record-copy p,
.home-faq-copy p {
    max-width: 42rem;
}

.home-demo,
.home-record,
.home-faq {
    display: grid;
    gap: 1.35rem 2.4rem;
    align-items: start;
}

.home-demo {
    position: relative;
    margin-top: 0.4rem;
    padding-block: 2.35rem;
}

.home-demo::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    background: #fff;
    border-block: 1px solid var(--line);
    transform: translateX(-50%);
}

.home-demo > * {
    position: relative;
    z-index: 1;
}

.home-demo,
.home-record {
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
}

.home-faq {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
}

.demo {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(16, 27, 45, 0.05);
}

.demo-bar,
.record-head {
    padding: 0.8rem 1rem;
    border-radius: 12px 12px 0 0;
    background: #101b2d;
}

.demo-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.demo-tab {
    min-height: 2.85rem;
    padding: 0.4rem 0.6rem;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    color: var(--muted);
    font-size: 0.875rem;
    font-weight: 700;
}

.demo-tab[aria-selected="true"] {
    border-bottom-color: #0c6e64;
    background: #f4f7fa;
    color: #101b2d;
}

.demo-tab:disabled {
    cursor: default;
    opacity: 0.72;
}

.demo-body {
    padding: 1rem;
}

.demo-method {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 0.7rem;
    margin: 0.9rem 0 0.35rem;
}

.demo-method span {
    color: var(--muted);
    font-size: 0.8125rem;
    font-weight: 700;
}

.demo-note {
    margin: 0 0 0.9rem;
    color: var(--muted);
    font-size: 0.9375rem;
}

.demo-meter {
    height: 0.28rem;
    overflow: hidden;
    border-radius: 999px;
    background: #e6eef2;
}

.demo-meter span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: #0c6e64;
    transition: width 0.42s cubic-bezier(0.16, 0.84, 0.32, 1);
}

.demo-meter[data-step="1"] span { width: 25%; }
.demo-meter[data-step="2"] span { width: 50%; }
.demo-meter[data-step="3"] span { width: 75%; }
.demo-meter[data-step="4"] span { width: 100%; }

.demo-steps {
    display: grid;
    gap: 0.45rem;
    margin: 0.85rem 0;
    padding: 0;
    list-style: none;
}

.demo-steps li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.65rem;
    align-items: center;
    min-height: 2.15rem;
    margin: 0;
    padding: 0.25rem 0.15rem 0.25rem 0.7rem;
    border: 0;
    border-left: 2px solid #e3ebf0;
    border-radius: 0;
    color: var(--muted);
}

.demo-steps li span {
    display: grid;
    place-items: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 999px;
    background: #e7eef1;
    color: var(--navy);
    font-size: 0.75rem;
    font-weight: 700;
}

.demo-steps li.is-active {
    border-left-color: #17b8a6;
    color: var(--navy);
}

.demo-steps li.is-done {
    border-left-color: #0c6e64;
    color: var(--navy);
}

.demo-steps li.is-done span,
.demo-steps li.is-active span {
    background: #0c6e64;
    color: #fff;
}

.demo-body {
    container-type: inline-size;
}

@container (min-width: 34rem) {
    .demo-steps {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .demo-steps li {
        align-items: flex-start;
        align-content: start;
        min-height: 0;
        padding: 0.55rem 0.15rem 0;
        border-left: 0;
        border-top: 2px solid #e3ebf0;
    }

    .demo-steps li.is-active {
        border-top-color: #17b8a6;
    }

    .demo-steps li.is-done {
        border-top-color: #0c6e64;
    }
}

.demo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.demo-run,
.demo-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 2.75rem;
    border-radius: 12px;
}

.demo-run {
    background: #17b8a6;
    color: #101b2d;
}

.demo-run:hover {
    background: #f2c14e;
    color: #101b2d;
}

.demo-run:disabled,
.demo-reset:disabled {
    background: #e7eef2;
    color: #6a7d8d;
    cursor: default;
}

.demo.is-running .demo-run:disabled {
    background: #0c6e64;
    color: #fff;
    cursor: progress;
}

.demo.is-running .demo-run::after {
    content: "";
    width: 0.85rem;
    height: 0.85rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: demo-spin 0.7s linear infinite;
}

.demo-reset {
    border: 1px solid #c5d2dc;
    background: #fff;
    color: var(--navy);
}

.demo-reset:hover:not(:disabled) {
    border-color: #17b8a6;
    background: #fff;
    color: var(--navy);
}

.demo-result {
    margin-top: 0.9rem;
}

.demo-result [data-demo-done] {
    padding: 0.85rem 0.95rem 0.2rem;
    border: 1px solid var(--line);
    border-top: 2px solid #f2c14e;
    border-radius: 12px;
    background: #f8fbfc;
}

.demo-empty {
    margin: 0;
    padding: 0.8rem 0.9rem;
    border: 1px dashed #c5d3de;
    border-radius: 12px;
    background: #f8fbfc;
    color: var(--muted);
}

.demo-result-kicker {
    margin: 0 0 0.45rem;
    color: var(--teal-deep);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.demo-result dl {
    margin: 0;
}

.demo-result dl div,
.record-rows div,
.contrast dl div {
    display: grid;
    gap: 0.2rem 0.75rem;
}

.demo-result dl div {
    grid-template-columns: 7.5rem minmax(0, 1fr);
    padding: 0.45rem 0;
    border-top: 1px solid var(--line);
}

.demo-result dt,
.record-rows dt,
.contrast dt {
    color: var(--muted);
    font-size: 0.8125rem;
    font-weight: 700;
}

.demo-result dd,
.record-rows dd,
.contrast dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.demo-result-note {
    margin: 0.55rem 0 0;
    color: var(--muted);
    font-size: 0.875rem;
}

.home-flow {
    display: grid;
    grid-template-columns: 1fr;
    margin: 1.5rem 0 0;
    padding: 0;
    overflow: hidden;
    list-style: none;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

.home-flow li {
    display: grid;
    grid-template-columns: 3.6rem minmax(11rem, 15.5rem) minmax(0, 1fr);
    gap: 0.2rem 1.35rem;
    align-items: baseline;
    min-width: 0;
    margin: 0;
    padding: 1.2rem 1.35rem;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: #fff;
}

.home-flow li:first-child {
    border-top: 0;
}

.home-flow li.is-seen {
    background: #f6fbfa;
    box-shadow: inset 3px 0 0 #0c6e64;
}

.home-flow-no {
    grid-row: 1 / span 2;
    align-self: start;
    margin: 0.1rem 0 0;
    color: #0c6e64;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.home-flow h3 {
    margin: 0;
    font-size: 1.05rem;
}

.home-flow p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9375rem;
}

.use-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    grid-template-areas:
        "a b c"
        "a d e";
    gap: 0.8rem;
    margin-top: 0.4rem;
}

.use-a { grid-area: a; }
.use-b { grid-area: b; }
.use-c { grid-area: c; }
.use-d { grid-area: d; }
.use-e { grid-area: e; }

.use-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    min-height: 100%;
    padding: 1.15rem 1.1rem 1.05rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.use-card::before {
    content: "02";
    position: absolute;
    top: 0.9rem;
    right: 0.95rem;
    color: #526577;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.use-a::before { content: "01"; color: #ffe7a3; }
.use-b::before { content: "02"; }
.use-c::before { content: "03"; }
.use-d::before { content: "04"; }
.use-e::before { content: "05"; }

.use-card:hover {
    border-color: #0c6e64;
    color: inherit;
    text-decoration: none;
}

.use-a {
    background: #101b2d;
    border-color: #101b2d;
    color: #d5e4ea;
    box-shadow: inset 3px 0 0 #f2c14e;
}

.use-a:hover {
    background: #17263b;
    border-color: #17263b;
    color: #d5e4ea;
    box-shadow: inset 3px 0 0 #f2c14e;
}

.use-ico {
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 8px;
    background: #101b2d;
    color: #17b8a6;
}

.use-a .use-ico {
    background: #17b8a6;
    color: #101b2d;
}

.use-card h3 {
    margin: 0.8rem 0 0.35rem;
    font-size: 1.15rem;
}

.use-a h3 {
    color: #fff;
}

.use-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9375rem;
    line-height: 1.55;
}

.use-a p {
    color: #d5e4ea;
}

.use-go {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto;
    padding-top: 1.1rem;
    color: var(--teal-deep);
    font-size: 0.8125rem;
    font-weight: 700;
}

.use-go::after {
    content: "";
    width: 0.4rem;
    height: 0.4rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(-45deg);
}

.use-a .use-go {
    color: #fff;
}

.record {
    border: 1px solid var(--line);
    border-top: 2px solid #f2c14e;
    border-radius: 12px;
    background: #fff;
    box-shadow: none;
}

.record figcaption {
    color: var(--muted);
}

.record-rows {
    margin: 0;
}

.record-rows div {
    grid-template-columns: 8.5rem minmax(0, 1fr);
    padding: 0.72rem 1rem;
    border-top: 1px solid var(--line);
}

.home-record .link-cards {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 0.35rem;
    margin-bottom: 0;
}

.home .link-cards-catalog {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home .link-card {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home .link-card:hover {
    background: #fff;
    border-color: #0c6e64;
    text-decoration: none;
    box-shadow: inset 3px 0 0 #17b8a6;
}

.contrast {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin-top: 0.5rem;
    overflow: hidden;
    border: 1px solid #101b2d;
    border-radius: 12px;
}

.contrast-col {
    min-width: 0;
    padding: 1.2rem 1.25rem 0.5rem;
    border: 0;
    border-radius: 0;
    background: #fff;
}

.contrast-strong {
    background: #101b2d;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    color: #d5e4ea;
}

.contrast h3 {
    margin: 0 0 0.35rem;
    font-size: 1.2rem;
}

.contrast-strong h3,
.contrast-strong dd {
    color: #fff;
}

.contrast-strong dt {
    color: #9aebdf;
}

.contrast dl {
    margin: 0.4rem 0 0.6rem;
}

.contrast dl div {
    grid-template-columns: 6.5rem minmax(0, 1fr);
    padding: 0.65rem 0;
    border-top: 1px solid var(--line);
}

.contrast-strong dl div {
    border-top-color: rgba(255, 255, 255, 0.12);
}

.home-faq details {
    margin-bottom: 0.55rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

.home-faq details:last-child {
    margin-bottom: 0;
    border-bottom: 1px solid var(--line);
}

.home-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 3.5rem;
    padding: 0.85rem 1rem;
    list-style: none;
    cursor: pointer;
}

.home-faq summary::-webkit-details-marker {
    display: none;
}

.home-faq summary h3 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.4;
}

.home-faq summary::after {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border-right: 2px solid #0c6e64;
    border-bottom: 2px solid #0c6e64;
    transform: rotate(45deg);
    flex: none;
    transition: transform 0.22s ease;
}

.home-faq details[open] {
    border-color: #c9ddd8;
    box-shadow: inset 3px 0 0 #0c6e64;
}

.home-faq details[open] summary::after {
    margin-top: 0.2rem;
    transform: rotate(225deg);
}

.home-faq .faq-a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.32s ease;
}

.home-faq details[open] .faq-a {
    grid-template-rows: 1fr;
}

.home-faq .faq-a > div {
    overflow: hidden;
}

.home-faq .faq-a p {
    max-width: none;
    margin: 0;
    padding: 0 1rem 1rem;
}

@media (min-width: 64rem) {
    .home-demo-copy,
    .home-record-copy,
    .home-faq-copy {
        position: sticky;
        top: 6.75rem;
    }
}

.home-close {
    position: relative;
    overflow: hidden;
    margin-top: 4.25rem;
    padding: 4.4rem 0;
    background: #101b2d;
    color: #d5e4ea;
    box-shadow: inset 0 2px 0 #f2c14e;
}

.home-close-art {
    display: none;
}

.home-close-art svg {
    width: 100%;
    height: 100%;
}

.home-close-copy {
    position: relative;
    z-index: 1;
    max-width: 40rem;
}

.home-close h2 {
    max-width: 16em;
    color: #fff;
}

.home-close p {
    max-width: 38rem;
}

.home-follow {
    width: min(72rem, calc(100% - 2rem));
    margin: 1.2rem auto 0;
    padding-bottom: 3rem;
}

.home .cta {
    margin-top: 0;
    padding: 1.3rem 1.3rem 0.45rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 12px 32px rgba(16, 27, 45, 0.05);
}

.home .cta h2 {
    color: var(--navy);
    font-size: clamp(1.7rem, 2.8vw, 2.3rem);
    letter-spacing: -0.03em;
}

.home .cta a {
    color: var(--teal-deep);
}

@media (prefers-reduced-motion: no-preference) {
    .home-hero .kicker { animation: home-rise 0.38s ease both; }
    .home-hero h1 { animation: home-rise 0.5s 0.08s ease both; }
    .home-hero .lead { animation: home-rise 0.48s 0.16s ease both; }
    .home-hero .home-actions { animation: home-rise 0.4s 0.26s ease both; }
    .home-hero-note { animation: home-rise 0.4s 0.34s ease both; }
    .console { animation: home-rise 0.58s 0.14s cubic-bezier(0.16, 0.84, 0.32, 1) both; }
    .console-track span { animation: home-fill 1.15s 0.7s cubic-bezier(0.16, 0.84, 0.32, 1) both; }
    .console-check path {
        stroke-dasharray: 18;
        stroke-dashoffset: 18;
        animation: home-draw 0.38s 1.75s ease forwards;
    }
}

@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .home-stack .home-section {
            animation: home-lift linear both;
            animation-timeline: view();
            animation-range: entry 0% entry 24%;
        }
    }
}

@keyframes home-rise {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}

@keyframes home-fill {
    from { transform: scaleX(0.08); }
    to { transform: scaleX(1); }
}

@keyframes home-draw {
    to { stroke-dashoffset: 0; }
}

@keyframes home-lift {
    from { transform: translateY(16px); }
    to { transform: none; }
}

@keyframes demo-spin {
    to { transform: rotate(360deg); }
}

@media (min-width: 64rem) and (prefers-reduced-motion: no-preference) {
    .home-close-art path {
        stroke-dasharray: 7 16;
        animation: home-dash 32s linear infinite;
    }
}

@keyframes home-dash {
    to { stroke-dashoffset: -240; }
}

@media (max-width: 63.99rem) {
    .home-hero {
        padding: 1.7rem 0 1.8rem;
    }

    .home-hero-grid,
    .home-demo,
    .home-record,
    .home-faq,
    .contrast {
        grid-template-columns: 1fr;
    }

    .home-flow li {
        grid-template-columns: 3.4rem minmax(0, 1fr);
    }

    .home-flow p {
        grid-column: 2;
    }

    .home-record .link-cards,
    .home .link-cards-catalog {
        grid-template-columns: 1fr 1fr;
    }

    .home-hero::before {
        display: none;
    }

    .trust {
        grid-template-columns: 1fr 1fr;
    }

    .trust article,
    .trust article:first-child {
        padding: 1rem 0.9rem 1.1rem;
        border: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 0;
        background: transparent;
    }

    .trust article:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.08);
    }

    .contrast-strong {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .use-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "a a"
            "b c"
            "d e";
    }
}

@media (max-width: 40rem) {
    .home-hero h1 {
        font-size: 2.2rem;
    }

    .home-hero-copy {
        padding-left: 0.9rem;
    }

    .trust,
    .use-grid,
    .home-record .link-cards,
    .home .link-cards-catalog,
    .demo-result dl div,
    .record-rows div,
    .contrast dl div,
    .home-flow li {
        grid-template-columns: 1fr;
    }

    .home-flow-no,
    .home-flow p {
        grid-row: auto;
        grid-column: auto;
    }

    .trust article,
    .trust article:first-child,
    .trust article:nth-child(odd) {
        border-right: 0;
    }

    .use-grid {
        grid-template-areas:
            "a"
            "b"
            "c"
            "d"
            "e";
    }

    .home-close-art {
        display: none;
    }

    .home-close {
        padding: 2.6rem 0;
    }

    .home-stack .home-section + .home-section {
        margin-top: 3.1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero .kicker,
    .home-hero h1,
    .home-hero .lead,
    .home-hero .home-actions,
    .home-hero-note,
    .console,
    .console-track span,
    .console-check path,
    .home-close-art path,
    .home-stack .home-section,
    .demo.is-running .demo-run::after {
        animation: none;
    }

    .home-btn,
    .use-card,
    .home .link-card,
    .demo-meter span,
    .home-faq summary::after,
    .home-faq .faq-a,
    .home-flow-no {
        transition: none;
    }

    .home-btn:hover,
    .use-card:hover,
    .home .link-card:hover {
        transform: none;
    }

    .console-track span {
        transform: none;
    }
}
