/* features.css — extracted from site.css (css-cleanup Step 4c).
   Loads only on /features via @section Styles. Depends on core site.css only.
   Single-page route module: the FEATURES PAGE section (Scan -> Resolve -> Prove).
   NOTE: the site-wide .btn-primary-signal CTA system + features-cta-signal keyframes
   (used on 23+ pages incl. the nav .btn-cta) were mis-filed in this section and are
   deliberately LEFT in core site.css. All shared-class refs here (.btn/.container/
   .hero-actions) are features-scoped compound selectors. Move, not redesign. */

/* =========================================================================
   FEATURES PAGE — Scan → Resolve → Prove
   ========================================================================= */

.features-flow {
    background: var(--bg);
    color: var(--ink);
    /* Decorative glows (e.g. .features-product-aura) bleed past their section's
       right edge; clip the horizontal overflow so the page never scrolls
       sideways on mobile (which otherwise pushes the fixed nav burger off the
       viewport). overflow-x: clip keeps vertical bleed and sticky/fixed intact. */
    overflow-x: clip;
}

.features-flow ::selection {
    color: var(--bg);
    background: var(--teal);
}

.features-flow [id] {
    scroll-margin-top: var(--space-9);
}

.features-flow a:focus-visible,
.features-flow button:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 4px;
}

.features-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(120px, 12vw, 160px) 0 clamp(96px, 9vw, 120px);
    border-bottom: 1px solid var(--border-soft);
}

.features-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 70% 30%, var(--teal-10) 0%, transparent 60%),
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(77, 148, 255, 0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.features-hero > .container {
    position: relative;
    z-index: 1;
}

.features-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.features-hero h1 {
    max-width: 820px;
    margin: 0 0 var(--space-6);
    font-size: clamp(3.2rem, 5vw, 4.2rem);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.features-title-line {
    display: block;
    white-space: nowrap;
}

.features-hero-copy {
    width: 100%;
}

.features-hero-copy > p:first-child {
    max-width: 660px;
    margin: 0 0 var(--space-6);
    color: var(--ink-soft);
    font-size: clamp(1rem, 1.4vw, 1.18rem);
    line-height: 1.7;
}

.features-hero-copy .hero-actions {
    margin-bottom: var(--space-5);
}

.features-hero-copy .btn {
    margin-bottom: 0;
}

/* Hero trust line is left-aligned to the hero content edge (the Features hero is a
   left-aligned column). The shared .data-trust defaults to centered; restore the
   left alignment the old .features-assurances class carried (folded onto .data-trust in 5e). */
.features-hero-copy .data-trust {
    max-width: 760px;
    text-align: left;
}


.features-chapter {
    padding: clamp(80px, 10vw, 128px) 0;
}

/* Prove chapter: full-bleed ghosted Vornin apex spanning the whole section,
   masked and held at ~5% so it never fights the copy. Mirrors the homepage
   Why Vornin crop treatment. */
.features-chapter-prove {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.features-chapter-prove > .container {
    position: relative;
    z-index: 1;
}

.features-prove-crop {
    position: absolute;
    top: -6%;
    left: 50%;
    z-index: 0;
    width: 128%;
    height: 118%;
    opacity: 0.05;
    pointer-events: none;
    transform: translateX(-50%);
    -webkit-mask-image: radial-gradient(ellipse 62% 66% at 50% 58%, #000 0%, rgba(0, 0, 0, 0.55) 52%, transparent 80%);
    mask-image: radial-gradient(ellipse 62% 66% at 50% 58%, #000 0%, rgba(0, 0, 0, 0.55) 52%, transparent 80%);
}

.features-prove-crop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.features-chapter-resolve {
    --features-resolve-panel: #181f3a;
    --features-resolve-outline: #3f4e73;
    --features-resolve-stage-border: rgba(46, 58, 89, 0.9);
    padding: var(--space-9) 0;
    background: var(--surface);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}

.features-chapter-head {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1.22fr);
    gap: clamp(var(--space-7), 8vw, 112px);
    align-items: end;
    margin-bottom: clamp(var(--space-8), 8vw, var(--space-9));
}

.features-chapter-head h2 {
    max-width: 15ch;
    margin: 0;
    color: var(--ink);
    font-size: clamp(2.5rem, 5.2vw, 4.5rem);
    font-weight: 500;
    line-height: 1.03;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.features-chapter-head p {
    max-width: 62ch;
    margin: 0;
    color: var(--ink-2);
    font-size: clamp(1rem, 1.5vw, 1.16rem);
    line-height: 1.72;
}

.features-chapter-head-stacked {
    display: block;
}

.features-chapter-head-stacked h2 {
    max-width: none;
    white-space: nowrap;
}

.features-chapter-head-stacked p {
    width: min(100%, 820px);
    max-width: none;
    margin-top: var(--space-5);
}

.features-product-split {
    display: grid;
    grid-template-columns: minmax(250px, 0.62fr) minmax(0, 1.38fr);
    gap: clamp(var(--space-7), 7vw, var(--space-9));
    align-items: center;
}

.features-product-split-reverse {
    grid-template-columns: minmax(0, 1.28fr) minmax(280px, 0.72fr);
    margin-top: clamp(var(--space-8), 8vw, var(--space-9));
}

.features-product-split-reverse .features-product-copy {
    order: 2;
}

.features-product-split-reverse .features-product-frame {
    order: 1;
}

.features-product-copy h3 {
    max-width: 19ch;
    margin: 0 0 var(--space-5);
    color: var(--ink);
    font-size: clamp(1.55rem, 2.6vw, 2.15rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.features-product-copy > p {
    max-width: 53ch;
    margin: 0;
    color: var(--ink-2);
    font-size: 0.98rem;
    line-height: 1.72;
}

.features-product-copy > p + p {
    margin-top: var(--space-5);
}

.features-product-visual {
    position: relative;
    min-width: 0;
    isolation: isolate;
}

.features-product-aura {
    position: absolute;
    z-index: -1;
    inset: -18% -28% 48% -4%;
    border-radius: 50%;
    background: radial-gradient(
        ellipse at 82% 28%,
        var(--ice-border) 0%,
        var(--ice-dim) 36%,
        transparent 70%
    );
    filter: blur(46px);
    opacity: 0.72;
    pointer-events: none;
}

.features-product-frame {
    overflow: hidden;
    margin: 0;
    border-radius: 12px;
    background: var(--card);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.045),
        0 28px 58px -34px rgba(0, 0, 0, 0.72),
        0 68px 130px -52px rgba(0, 0, 0, 0.96);
}

.features-product-frame-secondary {
    border: 1px solid var(--border-soft);
}

.features-product-frame img {
    display: block;
    width: 100%;
    height: auto;
}

.features-product-frame figcaption {
    padding: 12px var(--space-4);
    border-top: 1px solid var(--border-soft);
    color: var(--ink-3);
    font-size: 0.75rem;
    line-height: 1.45;
    text-align: center;
}

.features-coverage {
    margin: clamp(var(--space-8), 9vw, 120px) 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--border);
}

.features-coverage-row {
    display: grid;
    grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(var(--space-5), 3vw, 40px);
    align-items: start;
    padding: var(--space-6) 0;
    border-bottom: 1px solid var(--border-soft);
}

.features-coverage-row h3 {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0;
    color: var(--ink-soft);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.features-coverage-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    margin-top: 0.28em;
    color: var(--teal);
}

.features-coverage-row p {
    max-width: 69ch;
    margin: 0;
    color: var(--ink-2);
    font-size: 0.92rem;
    line-height: 1.65;
}

.features-coverage-row p strong {
    color: var(--ink);
    font-weight: 600;
}

/* Proof bullets under each coverage description: one measured claim per line,
   number first in display type, text muted. The * marker links to the
   benchmark note under the list. */
.features-coverage-proof {
    display: grid;
    gap: 6px;
    max-width: 69ch;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.features-coverage-proof li {
    position: relative;
    padding-left: 16px;
    color: var(--ink-3);
    font-size: 0.86rem;
    line-height: 1.55;
}

.features-coverage-proof li::before {
    content: "";
    position: absolute;
    top: 0.62em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
    opacity: 0.7;
}

.features-coverage-proof strong {
    margin-right: 4px;
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.features-proof-ref {
    margin-left: 2px;
    color: var(--teal);
    font-weight: 600;
    text-decoration: none;
}

.features-proof-ref:hover {
    text-decoration: underline;
}

.features-text-link {
    margin-top: 30px;
    text-align: right;
}

.features-text-link a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--ink-soft);
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration-color: var(--border);
    text-underline-offset: 0.24em;
}

.features-text-link a span {
    color: var(--teal);
    transition: transform var(--dur-quick) ease-out;
}

.features-text-link a:hover {
    color: var(--ink);
    text-decoration-color: currentColor;
}

.features-text-link a:hover span {
    transform: translateX(4px);
}

.features-import-note {
    max-width: 700px;
    margin: var(--space-5) 0 0;
    color: var(--ink-3);
    font-size: 0.84rem;
    line-height: 1.65;
}

.features-import-note strong {
    color: var(--ink-soft);
    font-weight: 600;
}

.features-resolve-head {
    grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
    gap: clamp(var(--space-7), 8vw, var(--space-9));
    align-items: start;
    margin-bottom: 80px;
}

.features-resolve-head h2 {
    max-width: none;
    font-size: clamp(2.5rem, 4vw, 3.4rem);
}

.features-resolve-head > p {
    padding-top: var(--space-4);
}

.features-lifecycle-map {
    position: relative;
    width: min(100%, 940px);
    min-width: 0;
    margin-inline-start: var(--space-2);
}

.features-lifecycle-spokes {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.features-lifecycle-spokes g {
    fill: none;
    stroke: color-mix(in srgb, var(--ink-2) 32%, transparent);
    stroke-width: 1;
    stroke-dasharray: 3 4;
    vector-effect: non-scaling-stroke;
}

.features-lifecycle-spokes circle {
    fill: color-mix(in srgb, var(--ink-2) 50%, transparent);
}

.features-record-hub {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: calc(var(--space-2) * -1);
    display: flex;
    width: 112px;
    flex-direction: column;
    align-items: center;
    color: var(--ink-3);
    font-size: 0.72rem;
    line-height: 1.4;
    letter-spacing: 0.02em;
    text-align: center;
    transform: translateY(-32px);
}

.features-record-mark {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    margin-bottom: 7px;
    border: 1px solid var(--features-resolve-outline);
    background: var(--card);
    color: var(--teal);
}

.features-record-mark svg {
    display: block;
    width: 38px;
    height: 42px;
}

.features-lifecycle {
    display: grid;
    grid-template-rows: repeat(4, minmax(128px, 1fr));
    gap: 22px;
    margin: 0 0 0 210px;
    padding: 0;
    list-style: none;
}

.features-lifecycle li {
    --stage-accent: var(--teal);
    --stage-surface: #16202e;
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 128px;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-5) 30px var(--space-5) 78px;
    border: 1px solid var(--features-resolve-stage-border);
    background: var(--features-resolve-panel);
}

.features-lifecycle li:nth-child(1) { --stage-accent: var(--red); --stage-surface: #211a2a; }
.features-lifecycle li:nth-child(2) { --stage-accent: var(--yellow); --stage-surface: #211f19; }
.features-lifecycle li:nth-child(3) { --stage-accent: var(--teal); --stage-surface: #16202e; }
.features-lifecycle li:nth-child(4) { --stage-accent: var(--green); --stage-surface: #16221d; }

.features-lifecycle-index {
    position: absolute;
    top: 50%;
    left: var(--space-5);
    z-index: 0;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    background: var(--stage-accent);
    clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 0 100%);
    color: var(--stage-accent);
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1;
    transform: translateY(-50%);
    isolation: isolate;
}

.features-lifecycle-index::before {
    position: absolute;
    z-index: -1;
    inset: 1px;
    background: var(--stage-surface);
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
    content: "";
}

.features-lifecycle h3 {
    margin: 0 0 6px;
    color: var(--ink);
    font-size: 1.24rem;
    font-weight: 600;
    line-height: 1.2;
}

.features-lifecycle p {
    max-width: 72ch;
    margin: 0;
    color: var(--ink-2);
    font-size: 0.92rem;
    line-height: 1.58;
}

.features-resolve-blocks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-5);
    margin-top: 88px;
    align-items: stretch;
}

.features-resolve-blocks article {
    display: flex;
    min-width: 0;
    padding: 1px;
    background: var(--features-resolve-outline);
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}

.features-resolve-block-inner {
    width: 100%;
    padding: 30px;
    background: var(--features-resolve-panel);
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 0 100%);
}

.features-resolve-icon {
    display: block;
    width: 24px;
    height: 24px;
    margin-bottom: 18px;
    color: var(--teal);
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: square;
    stroke-linejoin: miter;
}

.features-resolve-blocks h3 {
    margin: 0 0 10px;
    color: var(--ink);
    font-size: 1.12rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

.features-resolve-blocks p {
    margin: 0;
    color: var(--ink-2);
    font-size: 0.9rem;
    line-height: 1.62;
}

.features-resolve-proof {
    margin: var(--space-6) 0 0;
}

.features-resolve-proof div {
    display: grid;
    grid-template-columns: minmax(120px, 0.7fr) minmax(0, 1.3fr);
    gap: var(--space-4);
    padding: var(--space-4) 0;
    border-top: 1px solid var(--border-soft);
}

.features-resolve-proof dt {
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 600;
}

.features-resolve-proof dd {
    margin: 0;
    color: var(--ink-2);
    font-size: 0.84rem;
    line-height: 1.55;
}

.features-chain-wrap {
    margin-bottom: clamp(var(--space-8), 8vw, var(--space-9));
}

.features-chain {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.features-chain::before,
.features-chain::after {
    position: absolute;
    top: 7px;
    right: calc(10% - 3.2px);
    left: calc(10% - 3.2px);
    height: 1px;
    content: "";
}

.features-chain::before {
    background: var(--border-soft);
}

.features-chain::after {
    background: linear-gradient(90deg, var(--teal-20), var(--teal), var(--green));
    box-shadow: 0 0 14px var(--teal-20);
}

.features-chain li {
    position: relative;
    min-width: 0;
    padding: 28px clamp(var(--space-2), 1.5vw, var(--space-4)) 0;
    text-align: center;
}

.features-chain li::before {
    position: absolute;
    top: 2px;
    left: calc(50% - 5px);
    z-index: 1;
    width: 10px;
    height: 10px;
    border: 2px solid var(--bg);
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 2px 12px var(--teal-30);
    content: "";
}

.features-chain strong,
.features-chain code,
.features-chain time {
    display: block;
}

.features-chain strong {
    margin-bottom: var(--space-2);
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 600;
}

.features-chain code,
.features-chain time {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-variant-numeric: tabular-nums;
}

.features-chain code {
    color: var(--ink-soft);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.features-chain time {
    margin-top: 4px;
    color: var(--ink-3);
}

.features-chain-verified strong,
.features-chain-verified code {
    color: var(--green);
}

.features-chain li.features-chain-verified::before {
    background: var(--green);
    box-shadow: 0 2px 12px var(--green-dim);
}

.features-chain-wrap > p {
    max-width: none;
    margin: var(--space-5) auto 0;
    color: var(--ink-3);
    font-size: 0.84rem;
    line-height: 1.6;
    text-align: center;
    white-space: nowrap;
}

.features-proof-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.features-proof-cards article {
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 32px 34px 34px;
    border: 1px solid var(--border);
    border-radius: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.028), transparent 34%),
        linear-gradient(105deg, var(--card) 0%, color-mix(in srgb, var(--card) 55%, transparent) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
    transition:
        border-color var(--dur-quick) ease-out,
        box-shadow var(--dur-quick) ease-out,
        transform var(--dur-quick) ease-out;
}

.features-proof-cards article:first-child {
    --features-proof-border-angle: 35deg;
    border-color: transparent;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.028), transparent 34%),
        linear-gradient(35deg, transparent 0%, transparent 24%, color-mix(in srgb, var(--card) 48%, transparent) 50%, var(--card) 78%, var(--card) 100%);
}

.features-proof-cards article:last-child {
    --features-proof-border-angle: 325deg;
    border-color: transparent;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.028), transparent 34%),
        linear-gradient(325deg, transparent 0%, transparent 24%, color-mix(in srgb, var(--card) 48%, transparent) 50%, var(--card) 78%, var(--card) 100%);
}

.features-proof-cards article:first-child::before,
.features-proof-cards article:last-child::before {
    position: absolute;
    inset: -1px;
    padding: 1px;
    background: linear-gradient(var(--features-proof-border-angle), transparent 0%, transparent 24%, color-mix(in srgb, var(--border) 48%, transparent) 50%, var(--border) 78%, var(--border) 100%);
    content: "";
    pointer-events: none;
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    mask-composite: exclude;
    transition: opacity var(--dur-quick) ease-out;
}

.features-proof-cards article:hover,
.features-proof-cards article:focus-within {
    border-color: color-mix(in srgb, var(--teal) 45%, var(--border));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 20px 44px rgba(0, 0, 0, 0.34),
        0 0 0 1px var(--teal-10);
    transform: translateY(-2px);
}

.features-proof-cards article:first-child:hover::before,
.features-proof-cards article:first-child:focus-within::before,
.features-proof-cards article:last-child:hover::before,
.features-proof-cards article:last-child:focus-within::before {
    opacity: 0;
}

.features-proof-cards h3 {
    margin: 0 0 var(--space-3);
    color: var(--ink);
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-weight: 600;
    line-height: 1.2;
}

.features-plan-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin: 0 0 var(--space-4);
}

.features-plan-badge {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 4px 8px;
    border: 1px solid var(--border);
    border-radius: var(--r-xs);
    background: var(--surface);
    color: var(--ink-3);
    font-size: 0.66rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.features-proof-cards p {
    margin: 0;
    color: var(--ink-2);
    font-size: 0.94rem;
    line-height: 1.65;
}

.features-proof-cards code {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--ink-soft);
    font-size: 0.82em;
}

.features-frameworks {
    margin-top: clamp(var(--space-8), 9vw, 120px);
}

.features-frameworks-intro {
    max-width: 62ch;
    margin-bottom: clamp(var(--space-6), 4vw, var(--space-7));
}

.features-frameworks-intro h3 {
    margin: 0 0 var(--space-4);
    color: var(--ink);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 600;
    letter-spacing: -0.025em;
}

.features-frameworks-intro p {
    max-width: 60ch;
    margin: 0;
    color: var(--ink-2);
    font-size: 0.94rem;
    line-height: 1.65;
}

.features-framework-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-2);
    margin: 0;
}

.features-framework-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: var(--space-4);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0;
    transition: border-color 0.18s ease;
}

.features-framework-card:hover {
    border-color: var(--teal-25);
}

.features-framework-kind {
    grid-column: 1 / -1;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-3);
}

.features-framework-card dt {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 10px;
    row-gap: 6px;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.features-framework-card dt a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: var(--teal-40);
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    transition: color var(--dur-quick) ease-out, text-decoration-color var(--dur-quick) ease-out;
}

.features-framework-card dt a:hover,
.features-framework-card dt a:focus-visible {
    color: var(--teal);
    text-decoration-color: var(--teal);
}

.features-framework-glyph {
    flex: 0 0 auto;
    width: 13px;
    height: 18px;
    fill: var(--teal);
    filter: drop-shadow(0 0 3px var(--teal-30));
}

.features-framework-card dd {
    margin: 0;
    color: var(--ink-2);
    font-size: 0.85rem;
    line-height: 1.5;
}

.features-frameworks > .features-text-link {
    margin-top: var(--space-6);
}

.features-operations {
    display: grid;
    grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1.38fr);
    column-gap: clamp(var(--space-7), 7vw, var(--space-9));
    align-items: start;
    margin-top: clamp(var(--space-8), 9vw, 120px);
    padding-top: clamp(var(--space-8), 8vw, var(--space-9));
    min-width: 0;
}

.features-operations > h3 {
    max-width: 10ch;
    margin: 0;
    color: var(--ink);
    font-size: clamp(2.2rem, 3.5vw, 3.25rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.features-operations > dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-column: 2;
    margin: 0;
    padding: 0;
    min-width: 0;
    width: 100%;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.features-operations > dl > div {
    min-width: 0;
    padding: 28px var(--space-6) 30px 0;
    border-bottom: 1px solid var(--border-soft);
}

.features-operations > dl > div:nth-child(even) {
    padding-right: 0;
    padding-left: var(--space-6);
    border-left: 1px solid var(--border-soft);
}

.features-operations > dl > div:last-child {
    display: grid;
    grid-template-columns: minmax(180px, 0.66fr) minmax(0, 1.34fr);
    grid-column: 1 / -1;
    gap: var(--space-6);
    padding: var(--space-6) 0;
    border-bottom: 0;
    border-left: 0;
}

.features-operations dt {
    min-width: 0;
    margin: 0 0 var(--space-3);
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.015em;
}

.features-operations > dl > div:last-child dt {
    margin-bottom: 0;
}

.features-operations dd {
    max-width: 68ch;
    min-width: 0;
    width: 100%;
    margin: 0;
    color: var(--ink-2);
    font-size: 0.88rem;
    line-height: 1.65;
    overflow-wrap: anywhere;
    white-space: normal;
}

.features-integration-logos {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-top: var(--space-4);
}

.features-integration-logos img {
    display: block;
    width: 22px;
    height: 22px;
    border-radius: 3px;
    overflow: hidden;
    object-fit: contain;
    box-sizing: border-box;
}

.features-integration-logos img[src$="/github.svg"] {
    padding: 2px;
    background: #fff;
}

.features-operations > .features-text-link {
    display: flex;
    grid-column: 2;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: var(--space-3) var(--space-6);
    margin-top: 0;
    padding: var(--space-5) 0;
}

.features-close {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: var(--space-9) 0;
    background:
        radial-gradient(circle at 50% 60%, var(--teal-10), transparent 34%),
        var(--bg);
}

.features-close-grid {
    position: absolute;
    z-index: -2;
    inset: 0;
    background-image: url('/img/blacktrianglegrid20.svg');
    background-position: center;
    background-size: min(1160px, 110vw) auto;
    filter: invert(1);
    opacity: 0.12;
    -webkit-mask-image: radial-gradient(ellipse 55% 75% at 50% 48%, black 0%, transparent 80%);
    mask-image: radial-gradient(ellipse 55% 75% at 50% 48%, black 0%, transparent 80%);
    pointer-events: none;
}

.features-close-inner {
    text-align: center;
}

.features-close h2 {
    max-width: 850px;
    margin-inline: auto;
    color: var(--ink);
    font-size: clamp(2.5rem, 5.5vw, 5rem);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.features-close p {
    max-width: 42ch;
    margin: var(--space-5) auto 0;
    color: var(--ink-2);
    font-size: 1.1rem;
    line-height: 1.65;
}

.features-close-actions {
    justify-content: center;
    margin: var(--space-6) 0 0;
}

.features-close .data-trust {
    max-width: none;
    margin: var(--space-4) 0 0;
    color: var(--ink-3);
    font-size: 0.78rem;
    line-height: 1.65;
}

@media (max-width: 1020px) {
    .features-resolve-head {
        grid-template-columns: 1fr;
        gap: var(--space-5);
        align-items: start;
    }

    .features-resolve-head > p {
        padding-top: 0;
    }

    .features-lifecycle-map {
        width: 100%;
        margin-inline-start: 0;
    }

    .features-lifecycle-spokes {
        display: none;
    }

    .features-record-hub {
        position: static;
        width: fit-content;
        flex-direction: row;
        margin-bottom: var(--space-5);
        text-align: left;
        transform: none;
    }

    .features-record-mark {
        width: 56px;
        height: 56px;
        margin: 0 var(--space-3) 0 0;
    }

    .features-record-mark svg {
        width: 33px;
        height: 37px;
    }

    .features-lifecycle {
        --features-lifecycle-rail-offset: var(--space-5);
        position: relative;
        grid-template-rows: none;
        gap: var(--space-4);
        margin: 0 0 0 28px;
        padding-left: var(--features-lifecycle-rail-offset);
    }

    .features-lifecycle::before {
        position: absolute;
        top: calc(var(--space-5) * -1);
        bottom: 0;
        left: 0;
        border-left: 1px dashed color-mix(in srgb, var(--ink-2) 32%, transparent);
        content: "";
    }

    .features-lifecycle li {
        min-height: 0;
        padding: var(--space-5) 28px var(--space-5) 74px;
    }

    .features-lifecycle li::before {
        position: absolute;
        top: 50%;
        left: calc(var(--features-lifecycle-rail-offset) * -1 - 1px);
        width: var(--features-lifecycle-rail-offset);
        border-top: 1px dashed color-mix(in srgb, var(--ink-2) 32%, transparent);
        content: "";
    }

    .features-lifecycle li:last-child::after {
        position: absolute;
        top: calc(50% + 1px);
        bottom: -1px;
        left: calc(var(--features-lifecycle-rail-offset) * -1 - 2px);
        width: 3px;
        background: var(--surface);
        content: "";
    }

    .features-resolve-blocks {
        grid-template-columns: 1fr;
        gap: var(--space-4);
        margin-top: var(--space-8);
    }
}

@media (max-width: 900px) {
    .features-hero-inner,
    .features-chapter-head,
    .features-product-split,
    .features-product-split-reverse {
        grid-template-columns: 1fr;
    }

    .features-framework-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .features-hero-inner {
        gap: 0;
        align-items: start;
    }

    .features-hero h1 {
        max-width: 16ch;
    }

    .features-title-line {
        white-space: normal;
    }

    .features-chapter-head {
        gap: var(--space-5);
        align-items: start;
    }

    .features-product-split-reverse .features-product-copy,
    .features-product-split-reverse .features-product-frame {
        order: initial;
    }

    .features-product-split-reverse .features-product-frame {
        order: 2;
    }

    .features-proof-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .features-chain-wrap > p {
        max-width: 68ch;
        white-space: normal;
    }

    .features-operations {
        grid-template-columns: 1fr;
        row-gap: var(--space-7);
    }

    .features-operations > h3 {
        max-width: 13ch;
    }

    .features-operations > dl,
    .features-operations > .features-text-link {
        grid-column: 1;
    }
}

@media (max-width: 820px) {
    .features-close {
        background:
            radial-gradient(ellipse 112% 62% at 50% 52%, rgba(0, 191, 255, 0.12), transparent 72%),
            radial-gradient(ellipse 92% 46% at 50% 62%, rgba(77, 148, 255, 0.08), transparent 78%),
            var(--bg);
    }

    .features-close-grid {
        opacity: 0.15;
        -webkit-mask-image: radial-gradient(ellipse 108% 78% at 50% 48%, #000 0%, rgba(0, 0, 0, 0.88) 50%, transparent 100%);
        mask-image: radial-gradient(ellipse 108% 78% at 50% 48%, #000 0%, rgba(0, 0, 0, 0.88) 50%, transparent 100%);
    }
}

@media (max-width: 720px) {
    .features-hero {
        padding: 128px 0 var(--space-8);
    }

    .features-hero h1 {
        width: 100%;
        max-width: 100%;
        font-size: clamp(2.7rem, 12vw, 4.5rem);
        text-align: center;
    }

    .features-title-line {
        display: inline;
    }

    .features-chapter-head-stacked h2 {
        white-space: normal;
    }

    .features-chapter {
        padding: var(--space-8) 0;
    }

    .features-chapter-head {
        margin-bottom: var(--space-8);
    }

    .features-product-split {
        gap: var(--space-7);
    }

    .features-product-frame {
        margin-inline: -14px;
        border-radius: 0;
    }

    .features-product-aura {
        inset: -22% -40% 42% -12%;
        filter: blur(38px);
        opacity: 0.76;
    }

    .features-product-frame figcaption {
        text-align: left;
    }

    .features-text-link a {
        min-height: 44px;
    }

    .features-operations {
        row-gap: var(--space-6);
        padding-top: var(--space-8);
    }

    .features-operations > h3 {
        font-size: clamp(2.2rem, 10vw, 2.75rem);
    }

    .features-operations > dl {
        grid-template-columns: 1fr;
    }

    .features-operations > dl > div,
    .features-operations > dl > div:nth-child(even),
    .features-operations > dl > div:last-child {
        grid-column: 1;
        padding: var(--space-5) 0;
        border-right: 0;
        border-bottom: 1px solid var(--border-soft);
        border-left: 0;
    }

    .features-operations > dl > div:last-child {
        display: block;
        border-bottom: 0;
    }

    .features-operations > dl > div:last-child dt {
        margin-bottom: var(--space-3);
    }

    .features-operations > .features-text-link {
        padding-top: 0;
    }

    .features-coverage-row,
    .features-resolve-proof div,
    .features-operations > dl > div {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }

    .features-resolve-head h2 br {
        display: none;
    }

    .features-lifecycle {
        --features-lifecycle-rail-offset: 20px;
    }

    .features-lifecycle li {
        padding: var(--space-5) 20px var(--space-5) 68px;
    }

    .features-lifecycle-index {
        left: 20px;
    }

    .features-resolve-blocks {
        margin-top: var(--space-7);
    }

    .features-resolve-block-inner {
        padding: var(--space-5);
    }

    .features-chain {
        width: min(100%, 560px);
        grid-template-columns: 1fr;
        gap: 0;
        margin-inline: auto;
    }

    .features-chain::before,
    .features-chain::after {
        top: 7px;
        right: auto;
        bottom: 0;
        left: 50%;
        z-index: 0;
        width: 1px;
        height: auto;
        transform: translateX(-50%);
    }

    .features-chain::after {
        background: linear-gradient(180deg, var(--teal-20), var(--teal), var(--green));
    }

    .features-chain li {
        z-index: 1;
        width: 50%;
        min-height: 84px;
        padding: 0 var(--space-5) 22px 0;
        text-align: right;
    }

    .features-chain li:nth-child(even) {
        margin-left: 50%;
        padding: 0 0 22px var(--space-5);
        text-align: left;
    }

    .features-chain li::before {
        top: 2px;
        right: -5px;
        left: auto;
    }

    .features-chain li:nth-child(even)::before {
        right: auto;
        left: -5px;
    }

    .features-chain li:last-child::after {
        position: absolute;
        top: 8px;
        right: -10px;
        bottom: 0;
        z-index: 0;
        width: 20px;
        background: var(--bg);
        content: "";
    }

    .features-frameworks > .features-text-link {
        margin-top: var(--space-3);
    }

    .features-close {
        padding: 100px 0 112px;
    }

    .features-close-actions {
        align-items: center;
        flex-direction: column;
    }

    .features-close-actions .btn {
        width: 85%;
        max-width: 380px;
        min-height: 47px;
    }
}

@media (max-width: 520px) {
    .features-flow .container {
        padding-inline: 14px;
    }

    .features-framework-grid {
        grid-template-columns: 1fr;
    }

    .features-operations {
        width: calc(100vw - 28px);
        max-width: calc(100vw - 28px);
    }

    .features-lifecycle li {
        padding: var(--space-5) var(--space-4) var(--space-5) 64px;
    }

    .features-lifecycle-index {
        left: var(--space-4);
    }

    .features-resolve-block-inner {
        padding: 20px;
    }

    .features-chain li {
        padding-right: 20px;
    }

    .features-chain li:nth-child(even) {
        padding-right: 0;
        padding-left: 20px;
    }

    .features-proof-cards article {
        padding: 24px 20px 26px;
    }

    .features-operations > .features-text-link {
        justify-content: flex-start;
    }

    .features-operations > .features-text-link a {
        display: flex;
        min-width: 0;
        width: 100%;
        white-space: normal;
    }
}

@media (max-width: 580px) {
    .features-hero-copy .hero-actions {
        align-items: center;
        flex-direction: column;
    }

    .features-hero-copy .hero-actions .btn {
        width: 85%;
        max-width: 380px;
        min-height: 47px;
    }
}

/* End FEATURES PAGE
   ========================================================================= */
