.features-page {
    --feature-blue: #2c7f8d;
    --feature-blue-soft: #dff4f7;
    --feature-rose: #bb5564;
    --feature-yellow: #f4c95d;
    overflow: clip;
}

.features-page section[id] {
    scroll-margin-top: 88px;
}

.features-hero {
    position: relative;
    min-height: 690px;
    padding: 76px 0 64px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.features-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
    align-items: center;
    gap: 62px;
}

.features-hero-copy {
    position: relative;
    z-index: 2;
}

.features-hero-copy .breadcrumb {
    margin-bottom: 36px;
}

.features-hero-copy h1 {
    max-width: 650px;
    margin-bottom: 22px;
    color: var(--forest);
    font-size: 3.25rem;
    font-weight: 820;
}

.features-hero-copy .hero-lead {
    max-width: 640px;
    margin-bottom: 30px;
    color: #405149;
    font-size: 1.18rem;
}

.features-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 26px;
    color: #43554b;
    font-size: 0.86rem;
    font-weight: 700;
}

.features-trust span {
    position: relative;
    padding-left: 16px;
}

.features-trust span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--leaf);
}

.features-hero-product {
    position: relative;
    min-width: 0;
    padding: 28px 22px 30px;
}

.features-hero-product::before {
    content: "";
    position: absolute;
    inset: 8% 4% 2%;
    border: 1px solid #b9d3c2;
    background: var(--mint);
    transform: rotate(2deg);
}

.features-hero-product img {
    position: relative;
    z-index: 1;
    width: 100%;
    filter: drop-shadow(0 28px 38px rgba(18, 61, 42, 0.18));
}

.product-signal {
    position: absolute;
    z-index: 3;
    display: grid;
    min-width: 142px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-left-width: 4px;
    background: var(--white);
    box-shadow: 0 14px 30px rgba(18, 61, 42, 0.14);
}

.product-signal strong {
    color: var(--forest);
    font-size: 1rem;
}

.product-signal span {
    color: var(--muted);
    font-size: 0.76rem;
}

.product-signal-booking {
    top: 4%;
    left: 0;
    border-left-color: var(--leaf);
}

.product-signal-field {
    right: -3%;
    top: 34%;
    border-left-color: var(--feature-blue);
}

.product-signal-story {
    right: 5%;
    bottom: 3%;
    border-left-color: var(--feature-yellow);
}

.feature-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.8fr);
    align-items: end;
    gap: 80px;
}

.feature-intro .section-heading {
    margin-bottom: 0;
}

.feature-intro .section-heading h2 {
    margin-bottom: 0;
    font-size: 2.85rem;
}

.feature-intro-copy {
    padding-left: 28px;
    border-left: 4px solid var(--feature-yellow);
}

.feature-intro-copy p {
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 1.06rem;
}

.feature-intro-copy p:last-child {
    margin-bottom: 0;
    color: var(--forest);
    font-weight: 750;
}

.feature-story {
    padding: 104px 0;
    background: var(--white);
    border-top: 1px solid var(--line);
}

.feature-story-soft {
    background: var(--surface);
}

.feature-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.84fr) minmax(520px, 1.16fr);
    align-items: center;
    gap: 80px;
}

.feature-story-grid-reverse > :first-child {
    order: 2;
}

.feature-story-copy h2 {
    margin-bottom: 19px;
    color: var(--forest);
    font-size: 2.55rem;
}

.feature-story-copy > p:not(.feature-number) {
    margin-bottom: 23px;
    color: var(--muted);
    font-size: 1.06rem;
}

.feature-number {
    margin-bottom: 17px;
    color: var(--leaf-dark);
    font-size: 0.77rem;
    font-weight: 850;
    text-transform: uppercase;
}

.feature-checklist {
    display: grid;
    gap: 13px;
    margin: 0 0 29px;
    padding: 0;
    list-style: none;
}

.feature-checklist li {
    position: relative;
    padding-left: 27px;
    color: #34463c;
    font-weight: 650;
}

.feature-checklist li::before {
    content: "";
    position: absolute;
    left: 1px;
    top: 0.5em;
    width: 11px;
    height: 7px;
    border-left: 2px solid var(--leaf);
    border-bottom: 2px solid var(--leaf);
    transform: rotate(-45deg);
}

.feature-text-link {
    color: var(--leaf-dark);
    font-weight: 800;
    text-decoration: none;
}

.feature-text-link span {
    display: inline-block;
    margin-left: 7px;
    transition: transform 180ms ease;
}

.feature-text-link:hover span {
    transform: translateX(4px);
}

.feature-related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
}

.feature-screen {
    position: relative;
    min-width: 0;
    margin: 0;
}

.feature-screen img {
    width: 100%;
    filter: drop-shadow(0 25px 36px rgba(18, 61, 42, 0.15));
}

.feature-screen figcaption {
    position: absolute;
    right: 2%;
    bottom: 1%;
    max-width: 250px;
    padding: 12px 15px;
    color: var(--forest);
    background: var(--white);
    border-left: 4px solid var(--feature-blue);
    box-shadow: 0 12px 26px rgba(18, 61, 42, 0.15);
    font-size: 0.82rem;
    font-weight: 750;
}

.feature-story-field {
    color: var(--white);
    background: var(--forest);
    border-top-color: rgba(255, 255, 255, 0.14);
}

.feature-story-field .feature-story-copy h2,
.feature-story-field .feature-number {
    color: var(--white);
}

.feature-story-field .feature-number {
    opacity: 0.72;
}

.feature-story-field .feature-story-copy > p:not(.feature-number) {
    color: #d2e4da;
}

.feature-checklist-light li {
    color: #eef6f1;
}

.feature-checklist-light li::before {
    border-color: var(--feature-yellow);
}

.feature-text-link-light {
    color: var(--white);
}

.field-visual {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 210px;
    align-items: center;
    gap: 12px;
}

.field-visual > img {
    width: 100%;
    max-height: 590px;
    object-fit: contain;
    filter: drop-shadow(0 28px 34px rgba(0, 0, 0, 0.25));
}

.sync-path {
    display: grid;
    gap: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.sync-path div {
    position: relative;
    display: grid;
    gap: 2px;
    padding: 19px 0 19px 24px;
}

.sync-path div::before {
    content: "";
    position: absolute;
    left: -5px;
    top: 27px;
    width: 9px;
    height: 9px;
    border: 2px solid var(--forest);
    border-radius: 50%;
    background: var(--feature-yellow);
}

.sync-path strong {
    color: var(--white);
}

.sync-path span {
    color: #bcd2c5;
    font-size: 0.8rem;
}

.journey-preview {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.journey-preview-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 13px;
    padding-bottom: 18px;
}

.journey-preview-header > div:nth-child(2) {
    display: grid;
}

.journey-preview-header strong {
    color: var(--forest);
}

.journey-preview-header span {
    color: var(--muted);
    font-size: 0.78rem;
}

.journey-child-mark {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 50%;
    color: var(--forest);
    background: var(--mint);
    font-weight: 850;
}

.journey-status {
    padding: 4px 8px;
    color: var(--leaf-dark) !important;
    border: 1px solid #a9d0b7;
    border-radius: 4px;
    background: #edf8f1;
    font-weight: 750;
}

.journey-tabs {
    display: flex;
    gap: 22px;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--line);
}

.journey-tabs span {
    padding-bottom: 9px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 720;
}

.journey-tabs .is-active {
    color: var(--leaf-dark);
    border-bottom: 2px solid var(--leaf);
}

.journey-entry {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 18px;
    padding: 25px 0;
    border-bottom: 1px solid var(--line);
}

.journey-entry:last-child {
    border-bottom: 0;
}

.journey-entry-date {
    display: grid;
    align-content: start;
    justify-items: center;
    padding: 8px 4px;
    color: var(--forest);
    border-top: 3px solid var(--feature-yellow);
    background: var(--surface);
}

.journey-entry-date strong {
    font-size: 1.24rem;
}

.journey-entry-date span {
    color: var(--muted);
    font-size: 0.7rem;
    text-transform: uppercase;
}

.journey-label {
    color: var(--feature-blue);
    font-size: 0.72rem;
    font-weight: 820;
    text-transform: uppercase;
}

.journey-entry h3 {
    margin: 6px 0 8px;
    color: var(--forest);
    font-size: 1.13rem;
}

.journey-entry p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.journey-entry-small {
    opacity: 0.75;
}

.capability-pairs {
    display: grid;
    gap: 0;
    margin: 27px 0 29px;
    border-block: 1px solid var(--line);
}

.capability-pairs div {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 18px;
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
}

.capability-pairs div:last-child {
    border-bottom: 0;
}

.capability-pairs strong {
    color: var(--forest);
}

.capability-pairs span {
    color: var(--muted);
}

.feature-story-accidents {
    background: #f1f7f8;
}

.accident-preview {
    border: 1px solid #bed3d6;
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.accident-preview-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 22px 25px;
    color: var(--white);
    background: var(--feature-blue);
}

.accident-preview-header > div {
    display: grid;
    gap: 2px;
}

.accident-preview-header span {
    color: #d8eef1;
    font-size: 0.74rem;
    font-weight: 750;
    text-transform: uppercase;
}

.accident-preview-header strong {
    font-size: 1.2rem;
}

.accident-preview-header .accident-status {
    padding: 5px 8px;
    color: var(--forest);
    border-radius: 4px;
    background: var(--feature-yellow);
}

.accident-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}

.accident-facts div {
    padding: 20px 24px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.accident-facts div:nth-child(2n) {
    border-right: 0;
}

.accident-facts dt {
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 780;
    text-transform: uppercase;
}

.accident-facts dd {
    margin: 0;
    color: var(--forest);
    font-weight: 750;
}

.accident-summary {
    padding: 22px 24px;
}

.accident-summary span {
    color: var(--feature-blue);
    font-size: 0.72rem;
    font-weight: 820;
    text-transform: uppercase;
}

.accident-summary p {
    margin: 7px 0 0;
    color: var(--muted);
}

.accident-offline {
    display: grid;
    gap: 2px;
    padding: 18px 24px;
    border-top: 1px solid #dfc46f;
    background: #fff8df;
}

.accident-offline strong {
    color: var(--forest);
}

.accident-offline span {
    color: #5f604f;
    font-size: 0.82rem;
}

.party-preview {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.party-date {
    grid-row: 1 / span 3;
    display: flex;
    min-height: 340px;
    justify-content: flex-end;
    flex-direction: column;
    padding: 31px;
    color: var(--white);
    background: var(--feature-blue);
}

.party-date span,
.party-date small {
    color: #d9f0f3;
}

.party-date strong {
    margin: 5px 0;
    font-size: 1.7rem;
    line-height: 1.18;
}

.party-detail {
    display: grid;
    gap: 4px;
    padding: 22px 25px;
    border-bottom: 1px solid var(--line);
}

.party-detail span {
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 750;
    text-transform: uppercase;
}

.party-detail strong {
    color: var(--forest);
}

.party-detail i {
    position: relative;
    display: block;
    width: 100%;
    height: 4px;
    margin-top: 8px;
    background: #e8ede9;
}

.party-detail i::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--fill);
    background: var(--leaf);
}

.party-note {
    grid-column: 1 / -1;
    display: grid;
    gap: 3px;
    padding: 19px 25px;
    border-top: 1px solid #dfc46f;
    background: #fff8df;
}

.party-note strong {
    color: var(--forest);
}

.party-note span {
    color: #5f604f;
    font-size: 0.82rem;
}

.operations-band {
    padding: 102px 0;
    color: var(--white);
    background: #153327;
}

.operations-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.65fr);
    align-items: end;
    gap: 70px;
    margin-bottom: 52px;
}

.operations-heading h2 {
    max-width: 720px;
    margin-bottom: 0;
    color: var(--white);
    font-size: 2.8rem;
}

.operations-heading .eyebrow {
    color: #a7d3ba;
}

.operations-heading > p {
    margin-bottom: 0;
    color: #bdd1c5;
}

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

.operations-grid article {
    min-height: 220px;
    padding: 28px;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.operations-link {
    display: inline-flex;
    gap: 7px;
    margin-top: 18px;
    color: inherit;
    font-weight: 800;
    text-decoration: none;
}

.operations-link:hover {
    color: #9be2bb;
}

.operations-grid article:nth-child(2),
.operations-grid article:nth-child(5) {
    background: rgba(44, 127, 141, 0.12);
}

.operations-grid article:nth-child(3),
.operations-grid article:nth-child(6) {
    background: rgba(244, 201, 93, 0.07);
}

.operations-grid article > span {
    color: #a7d3ba;
    font-size: 0.72rem;
    font-weight: 820;
    text-transform: uppercase;
}

.operations-grid h3 {
    margin: 32px 0 9px;
    color: var(--white);
    font-size: 1.18rem;
}

.operations-grid p {
    margin-bottom: 0;
    color: #bdd1c5;
    font-size: 0.91rem;
}

.privacy-band {
    padding: 102px 0;
    background: var(--feature-blue-soft);
    border-block: 1px solid #b8d9dd;
}

.privacy-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(520px, 1.22fr);
    align-items: start;
    gap: 86px;
}

.privacy-copy h2 {
    margin-bottom: 20px;
    color: var(--forest);
    font-size: 2.7rem;
}

.privacy-copy > p:not(.eyebrow) {
    margin-bottom: 28px;
    color: #415650;
    font-size: 1.04rem;
}

.privacy-principles {
    border-top: 1px solid #9ec6cb;
}

.privacy-principles > div {
    display: grid;
    grid-template-columns: 46px 170px 1fr;
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid #9ec6cb;
}

.privacy-principles span {
    color: var(--feature-blue);
    font-size: 0.76rem;
    font-weight: 850;
}

.privacy-principles strong {
    color: var(--forest);
}

.privacy-principles p {
    margin: 0;
    color: #4d615b;
    font-size: 0.9rem;
}

.connected-flow {
    background: var(--surface);
}

.flow-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.flow-track::before,
.flow-track::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 24px;
    height: 2px;
    background: #cbd6cf;
}

.flow-track::after {
    right: auto;
    width: 0;
    background: var(--leaf);
    transition: width 1.25s ease;
}

.flow-track.is-active::after {
    width: 100%;
}

.flow-track li {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: start;
    padding-right: 22px;
}

.flow-track li > span {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 17px;
    place-items: center;
    color: var(--forest);
    border: 2px solid #c3d0c7;
    border-radius: 50%;
    background: var(--surface);
    font-size: 0.75rem;
    font-weight: 850;
    transition: border-color 220ms ease, background 220ms ease, color 220ms ease;
}

.flow-track.is-active li > span {
    color: var(--white);
    border-color: var(--leaf);
    background: var(--leaf);
}

.flow-track.is-active li:nth-child(2) > span { transition-delay: 160ms; }
.flow-track.is-active li:nth-child(3) > span { transition-delay: 320ms; }
.flow-track.is-active li:nth-child(4) > span { transition-delay: 480ms; }
.flow-track.is-active li:nth-child(5) > span { transition-delay: 640ms; }
.flow-track.is-active li:nth-child(6) > span { transition-delay: 800ms; }

.flow-track strong {
    margin-bottom: 5px;
    color: var(--forest);
}

.flow-track small {
    color: var(--muted);
    line-height: 1.45;
}

.feature-faq {
    background: var(--white);
    border-top: 1px solid var(--line);
}

.features-motion [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 560ms ease, transform 560ms ease;
    transition-delay: calc(var(--reveal-order, 0) * 75ms);
}

.features-motion [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1060px) {
    .features-hero-grid,
    .feature-story-grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
        gap: 48px;
    }

    .features-hero-copy h1 {
        font-size: 2.8rem;
    }

    .product-signal-field {
        right: 0;
    }

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

@media (max-width: 860px) {
    .features-hero {
        min-height: auto;
        padding: 56px 0 42px;
    }

    .features-hero-grid,
    .feature-intro-grid,
    .feature-story-grid,
    .operations-heading,
    .privacy-grid {
        grid-template-columns: 1fr;
    }

    .features-hero-product {
        width: min(680px, 100%);
    }

    .feature-story-grid-reverse > :first-child {
        order: 0;
    }

    .feature-intro-grid,
    .feature-story-grid,
    .operations-heading {
        gap: 42px;
    }

    .feature-intro-copy {
        max-width: 680px;
    }

    .feature-story {
        padding: 78px 0;
    }

    .feature-screen,
    .journey-preview,
    .party-preview,
    .accident-preview,
    .field-visual {
        width: min(680px, 100%);
    }

    .flow-track {
        grid-template-columns: repeat(3, 1fr);
        gap: 34px 0;
    }

    .flow-track::before,
    .flow-track::after {
        display: none;
    }
}

@media (max-width: 620px) {
    .features-page section[id] {
        scroll-margin-top: 78px;
    }

    .features-hero {
        padding-top: 38px;
    }

    .features-hero-copy .breadcrumb {
        margin-bottom: 27px;
    }

    .features-hero-copy h1 {
        font-size: 2.12rem;
    }

    .features-hero-copy .hero-lead {
        font-size: 1.03rem;
    }

    .features-trust {
        display: none;
    }

    .features-hero-product {
        padding: 13px 0 25px;
    }

    .features-hero-grid {
        gap: 24px;
    }

    .product-signal {
        display: none;
    }

    .feature-intro .section-heading h2,
    .feature-story-copy h2,
    .operations-heading h2 {
        font-size: 2.12rem;
    }

    .feature-intro-copy {
        padding-left: 20px;
    }

    .feature-story {
        padding: 65px 0;
    }

    .feature-screen figcaption {
        position: static;
        max-width: none;
        box-shadow: none;
    }

    .field-visual {
        grid-template-columns: 1fr;
    }

    .field-visual > img {
        max-height: 470px;
    }

    .sync-path {
        grid-template-columns: repeat(3, 1fr);
        border-top: 1px solid rgba(255, 255, 255, 0.28);
        border-left: 0;
    }

    .sync-path div {
        padding: 18px 8px 0;
    }

    .sync-path div::before {
        left: 8px;
        top: -5px;
    }

    .journey-preview {
        padding: 17px;
    }

    .journey-tabs {
        gap: 14px;
        overflow-x: auto;
    }

    .journey-entry {
        grid-template-columns: 44px 1fr;
        gap: 12px;
    }

    .capability-pairs div {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .party-preview {
        grid-template-columns: 1fr;
    }

    .party-date {
        grid-row: auto;
        min-height: 190px;
    }

    .operations-band {
        padding: 68px 0;
    }

    .privacy-band {
        padding: 68px 0;
    }

    .privacy-copy h2 {
        font-size: 2.12rem;
    }

    .privacy-principles > div {
        grid-template-columns: 34px 1fr;
        gap: 8px 12px;
    }

    .privacy-principles p {
        grid-column: 2;
    }

    .accident-facts {
        grid-template-columns: 1fr;
    }

    .accident-facts div,
    .accident-facts div:nth-child(2n) {
        border-right: 0;
    }

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

    .operations-grid article {
        min-height: auto;
    }

    .operations-grid h3 {
        margin-top: 20px;
    }

    .flow-track {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 14px;
    }

    .flow-track li {
        padding-right: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .features-motion [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .flow-track::after,
    .flow-track li > span,
    .feature-text-link span {
        transition: none;
    }
}
