:root {
    --bg: #eef5ff;
    --surface: rgba(255, 255, 255, 0.9);
    --surface-strong: #ffffff;
    --surface-dark: #0a1f4f;
    --surface-dark-alt: #143271;
    --text: #10234c;
    --muted: #5f7297;
    --line: rgba(19, 51, 112, 0.12);
    --green: #28d773;
    --green-dark: #14b15a;
    --blue: #3678ff;
    --blue-soft: #dce7ff;
    --yellow: #ffc94a;
    --coral: #ff7b6b;
    --mint: #dff9ee;
    --shadow: 0 22px 65px rgba(17, 35, 76, 0.12);
    --radius-lg: 32px;
    --radius-md: 22px;
    --radius-sm: 16px;
    --container: min(1180px, calc(100vw - 2rem));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "DM Sans", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(54, 120, 255, 0.18), transparent 30%),
        radial-gradient(circle at top right, rgba(40, 215, 115, 0.12), transparent 26%),
        linear-gradient(180deg, #f7fbff 0%, #eff5ff 40%, #f7fafc 100%);
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
summary {
    font: inherit;
}

.container {
    width: var(--container);
    margin-inline: auto;
}

.section-block {
    padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.surface-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.eyebrow,
.card-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--blue);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 2.8rem;
}

.center-align {
    text-align: center;
    margin-inline: auto;
}

.section-heading h2,
.info-card h2,
.demo-copy h2,
.cta-card h2 {
    margin: 0.45rem 0 0.8rem;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
}

.section-heading p,
.hero-copy p,
.info-card p,
.demo-copy p,
.cta-card p,
.trust-card p,
.guide-card p,
.feature-card p,
.testimonial-card p,
.faq-list p,
.site-footer p {
    color: var(--muted);
    line-height: 1.7;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.4rem;
    padding: 0.95rem 1.5rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    color: #fff;
    font-weight: 700;
    box-shadow: 0 18px 32px rgba(20, 177, 90, 0.28);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 22px 36px rgba(20, 177, 90, 0.34);
}

.button-small {
    min-height: 2.8rem;
    padding-inline: 1.2rem;
}

.button-blue {
    background: linear-gradient(135deg, #3c85ff, #215fe0);
    box-shadow: 0 18px 32px rgba(33, 95, 224, 0.25);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 1rem 0;
    background: linear-gradient(180deg, rgba(7, 24, 61, 0.9), rgba(7, 24, 61, 0.72));
    backdrop-filter: blur(14px);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: #fff;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 2rem;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #6dc7ff, #316aff 60%, #173687 100%);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.18);
}

.brand-mark span {
    width: 0.85rem;
    aspect-ratio: 1;
    border-radius: 50% 50% 40% 40%;
    background: #fff;
    position: relative;
}

.brand-mark span::after {
    content: "";
    position: absolute;
    inset: 0.2rem 0.28rem auto auto;
    width: 0.22rem;
    height: 0.22rem;
    border-radius: 50%;
    background: #316aff;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.95rem;
}

.site-nav a:not(.button):hover,
.site-nav a:not(.button):focus-visible {
    color: #fff;
}

.nav-toggle {
    display: none;
    width: 3rem;
    height: 3rem;
    padding: 0.75rem;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 4px 0;
    background: #fff;
    border-radius: 999px;
}

.hero-section {
    position: relative;
    overflow: clip;
    padding: clamp(3rem, 8vw, 6rem) 0 clamp(4rem, 9vw, 7rem);
    background:
        linear-gradient(135deg, #07183d 0%, #0d265f 54%, #0d2558 100%);
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 90%);
    opacity: 0.5;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 1.15fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.hero-copy {
    color: #fff;
}

.hero-copy .eyebrow {
    color: #89c0ff;
}

.hero-copy h1 {
    margin: 0.9rem 0 1rem;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2.7rem, 5vw, 4.8rem);
    line-height: 1.02;
    max-width: 12ch;
}

.hero-copy h1 span {
    color: #3bf08d;
}

.hero-copy p {
    max-width: 34rem;
    color: rgba(233, 240, 255, 0.82);
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.video-link {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    color: #fff;
}

.play-icon,
.video-play {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.play-icon::before,
.video-play::before {
    content: "";
    margin-left: 0.15rem;
    border-style: solid;
    border-width: 0.5rem 0 0.5rem 0.82rem;
    border-color: transparent transparent transparent #fff;
}

.video-link strong,
.video-link small {
    display: block;
}

.video-link small {
    color: rgba(233, 240, 255, 0.68);
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    padding: 0;
    margin: 2rem 0 0;
    list-style: none;
}

.hero-trust li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(242, 246, 255, 0.92);
    font-size: 0.92rem;
}

.hero-trust li::before,
.check-list li::before,
.cta-trust li::before {
    content: "";
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #fff, var(--green) 65%);
    box-shadow: 0 0 0 4px rgba(40, 215, 115, 0.14);
}

.hero-visual {
    position: relative;
    min-height: 32rem;
}

.browser-window {
    border-radius: 28px;
    overflow: hidden;
}

.browser-bar {
    display: flex;
    gap: 0.45rem;
    align-items: center;
    padding: 0.9rem 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 250, 255, 0.9));
    border-bottom: 1px solid var(--line);
}

.browser-bar span {
    width: 0.75rem;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #c7d4f2;
}

.dashboard-layout {
    display: grid;
    grid-template-columns: 90px 1fr;
    min-height: 390px;
}

.sidebar {
    padding: 1rem 0.75rem;
    background: linear-gradient(180deg, #0c285f, #081a44);
    display: grid;
    align-content: start;
    gap: 0.8rem;
}

.sidebar-logo,
.sidebar span {
    display: block;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
}

.sidebar-logo {
    height: 2.5rem;
    background: linear-gradient(135deg, #3bf08d, #1baef0);
}

.sidebar span {
    height: 2.2rem;
}

.dashboard-main {
    padding: 1.25rem;
    background: linear-gradient(180deg, #f8fbff, #eff4fe);
}

.stat-grid,
.panel-grid,
.guide-grid,
.feature-grid,
.testimonial-grid,
.footer-grid {
    display: grid;
    gap: 1rem;
}

.stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 1rem;
}

.stat-card,
.panel,
.workflow-step,
.guide-card,
.feature-card,
.testimonial-card,
.faq-list details,
.trust-card,
.info-card,
.cta-card {
    border-radius: 24px;
}

.stat-card {
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--line);
}

.stat-card strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.stat-card span,
.panel header span,
.video-controls span,
.guide-card p,
.testimonial-card small,
.footer-grid a,
.footer-bottom,
.faq-list summary,
.faq-list p {
    font-size: 0.92rem;
}

.accent-green {
    box-shadow: inset 0 0 0 2px rgba(40, 215, 115, 0.14);
}

.accent-yellow {
    box-shadow: inset 0 0 0 2px rgba(255, 201, 74, 0.2);
}

.accent-coral {
    box-shadow: inset 0 0 0 2px rgba(255, 123, 107, 0.18);
}

.panel-grid {
    grid-template-columns: 1.1fr 0.9fr;
}

.panel {
    padding: 1.2rem;
    background: #fff;
    border: 1px solid var(--line);
}

.panel header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.panel h2,
.workflow-step h3,
.guide-card h3,
.feature-card h3,
.trust-card h3,
.footer-grid h3 {
    margin: 0;
    font-size: 1rem;
}

.list-panel ul,
.check-list,
.cta-trust {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-panel li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(19, 51, 112, 0.08);
}

.list-panel li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.list-panel strong {
    color: var(--green-dark);
    text-transform: capitalize;
}

.chart-panel .chart {
    position: relative;
    display: grid;
    align-items: end;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.8rem;
    min-height: 180px;
    padding: 1rem 0.25rem 0.25rem;
}

.chart-panel .chart::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(54, 120, 255, 0.05) 1px, transparent 1px);
    background-size: 100% 25%;
}

.chart-panel .chart span {
    position: relative;
    border-radius: 18px 18px 0 0;
    background: linear-gradient(180deg, rgba(54, 120, 255, 0.9), rgba(54, 120, 255, 0.22));
}

.chart-panel .chart span:nth-child(1) { height: 40%; }
.chart-panel .chart span:nth-child(2) { height: 65%; }
.chart-panel .chart span:nth-child(3) { height: 52%; }
.chart-panel .chart span:nth-child(4) { height: 82%; }
.chart-panel .chart span:nth-child(5) { height: 72%; }

.phone-card {
    position: absolute;
    right: -1.2rem;
    bottom: -1rem;
    width: min(220px, 42%);
    padding: 1rem;
    border-radius: 28px;
    background: linear-gradient(180deg, #fff, #f3f7ff);
}

.phone-notch {
    width: 5rem;
    height: 0.55rem;
    border-radius: 999px;
    background: #d7e0f5;
    margin: 0 auto 1rem;
}

.phone-row,
.phone-summary {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
}

.phone-row {
    margin-bottom: 1rem;
}

.phone-summary {
    padding: 1rem;
    border-radius: 18px;
    background: #f1f5ff;
    margin-bottom: 1rem;
}

.phone-fields {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.phone-fields span,
.guide-frame::before,
.guide-frame::after,
.login-frame,
.dashboard-frame,
.detail-frame,
.confirm-frame,
.success-frame,
.video-dashboard {
    display: block;
    border-radius: 18px;
}

.phone-fields span {
    height: 0.9rem;
    background: #e5ecfa;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.8;
}

.glow-a {
    width: 160px;
    height: 160px;
    top: 4%;
    right: 10%;
    background: rgba(59, 240, 141, 0.22);
}

.glow-b {
    width: 180px;
    height: 180px;
    bottom: 8%;
    left: 6%;
    background: rgba(54, 120, 255, 0.18);
}

.split-highlight {
    display: grid;
    grid-template-columns: 1fr minmax(260px, 320px) 1fr;
    gap: 1.5rem;
    align-items: center;
}

.info-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(19, 51, 112, 0.08);
}

.card-label.problem {
    color: #f05d4c;
}

.card-label.solution {
    color: var(--green-dark);
}

.check-list {
    display: grid;
    gap: 0.9rem;
}

.check-list li,
.cta-trust li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    color: var(--muted);
}

.negative li::before {
    background: radial-gradient(circle at 35% 35%, #fff, #ff7b6b 65%);
    box-shadow: 0 0 0 4px rgba(255, 123, 107, 0.14);
}

.persona-card {
    display: grid;
    place-items: center;
    min-height: 360px;
    padding: 1.5rem;
    border-radius: 32px;
    position: relative;
    overflow: hidden;
}

.question-stack {
    position: absolute;
    inset: 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-content: space-between;
    color: #d0daef;
    font-family: "Space Grotesk", sans-serif;
    font-size: 2rem;
}

.question-stack span:nth-child(2) {
    justify-self: center;
}

.question-stack span:nth-child(3) {
    justify-self: end;
}

.persona-image {
    position: relative;
    z-index: 1;
    width: min(100%, 300px);
    max-height: 320px;
    object-fit: contain;
}

.workflow-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.8rem;
    align-items: center;
}

.workflow-step {
    min-height: 160px;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(19, 51, 112, 0.08);
}

.workflow-arrow {
    display: none;
}

.step-number,
.guide-index {
    display: inline-grid;
    place-items: center;
    width: 2rem;
    aspect-ratio: 1;
    border-radius: 50%;
    background: linear-gradient(135deg, #2adc74, #11a957);
    color: #fff;
    font-weight: 700;
    margin-bottom: 1rem;
    box-shadow: 0 8px 16px rgba(17, 169, 87, 0.26);
}

.done-step {
    background: linear-gradient(180deg, #f3fff8, #e8fff2);
}

.demo-grid,
.faq-cta-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.5rem;
    align-items: center;
}

.demo-video {
    padding: 1rem;
    border-radius: 28px;
}

.video-screen {
    position: relative;
    padding: 1.2rem;
    border-radius: 24px;
    background: linear-gradient(180deg, #0d1f4e, #0f255a);
}

.mini-browser {
    border-radius: 20px;
    overflow: hidden;
}

.video-dashboard {
    min-height: 240px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent),
        linear-gradient(120deg, #0e2f78, #133e98 60%, #0e2f78);
    position: relative;
}

.video-dashboard::before,
.video-dashboard::after {
    content: "";
    position: absolute;
    inset: auto 1.2rem 1.2rem 1.2rem;
    height: 72px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.14);
}

.video-dashboard::before {
    inset: 1.2rem 1.2rem auto;
    height: 120px;
}

.video-play {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: 4.6rem;
    height: 4.6rem;
    border: 0;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(16px);
}

.video-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 0.25rem 0.1rem;
}

.scrubber {
    flex: 1;
    height: 0.35rem;
    border-radius: 999px;
    background: #d8e2f7;
    overflow: hidden;
}

.scrubber span {
    display: block;
    width: 24%;
    height: 100%;
    background: linear-gradient(90deg, var(--green), var(--blue));
}

.guide-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.guide-card {
    padding: 1rem;
}

.guide-frame {
    position: relative;
    min-height: 170px;
    margin-bottom: 1rem;
    border-radius: 22px;
    background: linear-gradient(180deg, #f7faff, #ecf2ff);
    border: 1px solid rgba(19, 51, 112, 0.08);
    overflow: hidden;
}

.guide-frame::before,
.guide-frame::after {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    background: rgba(54, 120, 255, 0.12);
}

.guide-frame::before {
    top: 1rem;
    height: 0.85rem;
}

.guide-frame::after {
    top: 2.4rem;
    height: 5rem;
}

.login-frame {
    background:
        radial-gradient(circle at center, rgba(54, 120, 255, 0.12), transparent 55%),
        linear-gradient(180deg, #fbfdff, #edf3ff);
}

.dashboard-frame {
    background:
        linear-gradient(90deg, #0e2d6f 0 24%, #f6f9ff 24%),
        linear-gradient(180deg, #f6f9ff, #edf3ff);
}

.detail-frame {
    background: linear-gradient(180deg, #fbfdff, #edf3ff);
}

.detail-frame::after,
.confirm-frame::after {
    height: 7rem;
}

.confirm-frame {
    background: linear-gradient(180deg, #fbfdff, #edf3ff);
}

.success-frame {
    background: linear-gradient(180deg, #f3fff8, #eafff3);
}

.success-frame::before {
    background: rgba(40, 215, 115, 0.18);
}

.success-frame::after {
    background: rgba(40, 215, 115, 0.14);
}

.success-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 255, 247, 0.98));
}

.feature-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.feature-card {
    padding: 1.4rem 1rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(19, 51, 112, 0.08);
}

.feature-icon {
    display: inline-block;
    width: 4.3rem;
    aspect-ratio: 1;
    border-radius: 50%;
    margin-bottom: 1rem;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.7));
    box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.5);
}

.feature-icon.mint { background-color: #c7f6de; }
.feature-icon.violet { background-color: #ead8ff; }
.feature-icon.peach { background-color: #ffe4c9; }
.feature-icon.blue { background-color: #d8e9ff; }
.feature-icon.rose { background-color: #ffd7e1; }

.testimonial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1.35rem;
}

.avatar {
    width: 3.5rem;
    aspect-ratio: 1;
    border-radius: 50%;
    background: linear-gradient(180deg, #d9e7ff, #9ebcff);
}

.avatar-a { background: linear-gradient(180deg, #c7b59b, #8d6b49); }
.avatar-b { background: linear-gradient(180deg, #d8a681, #9a5f44); }
.avatar-c { background: linear-gradient(180deg, #d1c0a2, #8a6e48); }

.stars {
    color: #ffb632;
    letter-spacing: 0.08em;
}

.faq-cta-grid {
    grid-template-columns: 1fr 0.9fr 0.7fr;
    align-items: stretch;
}

.faq-panel,
.cta-card,
.trust-card {
    padding: 2rem;
}

.faq-list {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.2rem;
}

.faq-list details {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(19, 51, 112, 0.08);
    padding: 1rem 1.1rem;
}

.faq-list summary {
    list-style: none;
    cursor: pointer;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    color: var(--blue);
}

.faq-list details[open] summary::after {
    content: "-";
}

.cta-card {
    color: #fff;
    border-radius: 30px;
    background: linear-gradient(145deg, #10275e, #0b1944 68%);
}

.cta-card p,
.cta-trust li,
.footer-grid a,
.footer-grid p,
.footer-bottom {
    color: rgba(230, 238, 255, 0.78);
}

.trust-card h3 {
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 700;
}

.trust-card p {
    color: var(--muted);
}

.cta-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.3rem;
}

.trust-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(240, 248, 255, 0.92));
    border-radius: 30px;
}

.site-footer {
    padding: 3rem 0 1.5rem;
    background: linear-gradient(180deg, #081a44, #07122e);
}

.footer-grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
}

.footer-brand {
    margin-bottom: 1rem;
}

.footer-grid a {
    display: block;
    margin: 0.55rem 0;
}

.footer-bottom {
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

@media (max-width: 1080px) {
    .hero-grid,
    .split-highlight,
    .demo-grid,
    .faq-cta-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .guide-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .testimonial-grid,
    .workflow-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .workflow-arrow {
        display: none;
    }

    .hero-visual {
        min-height: auto;
        padding-bottom: 8rem;
    }

    .phone-card {
        right: 1rem;
        bottom: 0;
    }
}

@media (max-width: 860px) {
    .site-nav {
        position: absolute;
        inset: calc(100% + 0.5rem) 1rem auto;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        border-radius: 24px;
        background: rgba(9, 26, 68, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.08);
        transform-origin: top;
        transform: scaleY(0.85);
        opacity: 0;
        pointer-events: none;
        transition: opacity 180ms ease, transform 180ms ease;
    }

    .site-nav.is-open {
        transform: scaleY(1);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-toggle {
        display: inline-block;
    }

    .stat-grid,
    .panel-grid,
    .guide-grid,
    .feature-grid,
    .testimonial-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .phone-card {
        width: min(240px, 52%);
    }
}

@media (max-width: 640px) {
    .hero-section {
        padding-top: 2rem;
    }

    .hero-copy h1 {
        max-width: none;
    }

    .browser-window {
        border-radius: 22px;
    }

    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: none;
    }

    .stat-grid,
    .panel-grid,
    .guide-grid,
    .feature-grid,
    .testimonial-grid,
    .workflow-strip {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        padding-bottom: 10rem;
    }

    .phone-card {
        width: min(220px, 70%);
    }

    .faq-panel,
    .cta-card,
    .trust-card,
    .info-card {
        padding: 1.5rem;
    }
}

/* ── Guide Zigzag Section ── */
.guide-zigzag {
    display: flex;
    flex-direction: column;
    gap: 64px;
    padding-top: 48px;
}

.guide-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
}

.guide-row-reverse {
    direction: rtl;
}
.guide-row-reverse > * {
    direction: ltr;
}

.guide-image-wrap {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.guide-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
}

.guide-text-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.guide-text-wrap .guide-index {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guide-text-wrap h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.guide-text-wrap p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--muted);
    margin: 0;
}

@media (max-width: 768px) {
    .guide-row,
    .guide-row.guide-row-reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        display: flex;
        flex-direction: column;
    }

    .guide-row .guide-text-wrap,
    .guide-row-reverse .guide-text-wrap {
        order: 1;
    }

    .guide-row .guide-image-wrap,
    .guide-row-reverse .guide-image-wrap {
        order: 2;
    }
}