/* ── Reset / base ─────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --font-sans:
        -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
        "Helvetica Neue", Helvetica, ui-sans-serif, system-ui, "Segoe UI",
        Roboto, Arial, sans-serif;
    --font-mono:
        ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas,
        "Liberation Mono", "Courier New", monospace;
}

body {
    font-family: var(--font-sans);
    background: #fff;
    color: #1c1c1e;
    -webkit-font-smoothing: antialiased;
}

/* ── Nav ─────────────────────────────────────────────────── */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #f3f4f6;
}
.site-nav .inner {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.site-nav .logo {
    flex-shrink: 0;
}
.site-nav .logo img {
    height: 28px;
    display: block;
}
.site-nav .nav-right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.625rem 0.75rem;
}
.site-nav .nav-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem 1rem;
    row-gap: 0.35rem;
}
.site-nav .nav-links .nav-link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #52525b;
    text-decoration: none;
    white-space: nowrap;
}
.site-nav .nav-links .nav-link:hover {
    color: #1c1c1e;
}
.site-nav .nav-links .nav-link:focus-visible {
    outline: 2px solid #6b4eff;
    outline-offset: 2px;
    border-radius: 4px;
}
.site-nav .nav-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1c1c1e;
    text-decoration: none;
    cursor: pointer;
}
/* Secondary nav pill — same geometry as .btn-contact, outline treatment */
.site-nav .btn-nav-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    padding: 8px 16px;
    box-sizing: border-box;
    border-radius: 9999px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #1c1c1e;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition:
        background 0.15s,
        border-color 0.15s,
        color 0.15s;
}
.site-nav .btn-nav-secondary:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}
.site-nav .btn-nav-secondary:focus-visible {
    outline: 2px solid #6b4eff;
    outline-offset: 2px;
}
.site-nav .btn-nav-secondary svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.site-nav .btn-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    padding: 8px 16px;
    box-sizing: border-box;
    background: #1c1c1e;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 9999px;
    border: 1px solid #1c1c1e;
    text-decoration: none;
    transition:
        background 0.15s,
        border-color 0.15s;
}
.site-nav .btn-contact:hover {
    background: #333;
    border-color: #333;
}
.site-nav .btn-contact:focus-visible {
    outline: 2px solid #6b4eff;
    outline-offset: 2px;
}
.site-nav .btn-contact svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}
.btn-contact-text--short {
    display: none;
}

/* ── Shared section helpers ───────────────────────────────── */
.section-light {
    background: #fff;
}
.section-alt {
    background: #f5f5f7;
}
.section-dark {
    background: #0d0d1a;
    /* background-image: url('/images/framer-dark-bg_03f8b64d.png'); */
    background-size: cover;
    background-position: center;
}
.container {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.container-sm {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.container-xs {
    max-width: 768px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.section-pad {
    padding: 6rem 0;
}
.text-center {
    text-align: center;
}
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(107, 78, 255, 0.08);
    border: 1px solid rgba(107, 78, 255, 0.15);
    border-radius: 9999px;
    padding: 0.375rem 1rem;
    color: #6b4eff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.section-label-dark {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    padding: 0.375rem 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.section-heading {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: #1c1c1e;
    letter-spacing: -0.02em;
    text-wrap: balance;
}
.section-heading-white {
    color: #fff;
}
.section-subtext {
    color: #6b6b6b;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 640px;
    margin: 1rem auto 0;
    text-wrap: balance;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1c1c1e;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 9999px;
    text-decoration: none;
    transition: background 0.15s;
}
.btn-dark:hover {
    background: #333;
}
.btn-dark svg {
    width: 16px;
    height: 16px;
}
.btn-purple {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #6b4eff;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 9999px;
    text-decoration: none;
    transition: background 0.15s;
}
.btn-purple:hover {
    background: #5a3ee0;
}
.btn-purple svg {
    width: 16px;
    height: 16px;
}

/* ── Fade-in-up (CSS scroll-driven + JS fallback) ─────────── */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
.fade-in-up {
    opacity: 1;
    transform: none;
}

.js-ready .fade-in-up {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.62s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
}
.js-ready .fade-in-up.visible {
    opacity: 1;
    transform: none;
}

@supports (animation-timeline: view()) {
    .fade-in-up {
        animation: fade-in-up 0.55s ease both;
        animation-timeline: view();
        animation-range: entry 0% entry 30%;
    }

    .js-ready .fade-in-up,
    .js-ready .fade-in-up.visible {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero-section {
    min-height: auto;
    display: flex;
    flex-direction: column;
    background: #fff;
    overflow: hidden;
}
.hero-bottom-blur {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 180px;
    z-index: 10;
    pointer-events: none;
    overflow: hidden;
    transition: opacity 0.3s;
}
.hero-bottom-blur .blur-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.hero-text-wrap {
    max-width: 896px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem 1.4rem;
    text-align: center;
}
.hero-h1 {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: clamp(2.4rem, 5.5vw, 3.5rem);
    line-height: 1.15;
    color: #1c1c1e;
    letter-spacing: -0.02em;
    text-wrap: balance;
    margin-bottom: 1.25rem;
}
.hero-sub {
    color: #6b6b6b;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 560px;
    margin: 0 auto 2rem;
}
.hero-img-wrap {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-top: 1.25rem;
    overflow: visible;
    perspective: 1200px;
    margin-top: 0;
    margin-bottom: -70px;
    position: relative;
    z-index: 2;
}
/* Ambient glow behind mockup */
.hero-img-wrap::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 8%;
    transform: translateX(-50%);
    width: min(520px, 90vw);
    height: min(420px, 55vh);
    background: radial-gradient(
        ellipse 70% 60% at 50% 50%,
        rgba(107, 78, 255, 0.28) 0%,
        rgba(107, 78, 255, 0.06) 45%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
    animation: hero-glow-breathe 8s ease-in-out infinite;
}
@keyframes hero-glow-breathe {
    0%,
    100% {
        opacity: 0.85;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.06);
    }
}
.hero-img-parallax {
    position: relative;
    z-index: 1;
    will-change: transform;
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-img-reveal {
    animation: hero-img-reveal 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}
@keyframes hero-img-reveal {
    from {
        opacity: 0;
        transform: translateY(48px) scale(0.94);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.hero-img-drift {
    animation: hero-img-drift 5.5s ease-in-out 0.9s infinite;
}
@keyframes hero-img-drift {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-14px);
    }
}
.hero-img-inner {
    width: min(700px, 85vw);
    transform: rotateX(14deg) scale(1.05);
    transform-origin: center bottom;
    transform-style: preserve-3d;
    transition: filter 0.5s ease;
    filter: drop-shadow(0 40px 80px rgba(107, 78, 255, 0.35))
        drop-shadow(0 20px 40px rgba(0, 0, 0, 0.25));
}
.hero-img-inner img {
    width: 100%;
    height: auto;
    display: block;
}
.hero-img-inner {
    transition:
        transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.5s ease;
}

@media (prefers-reduced-motion: reduce) {
    .hero-img-wrap::before {
        animation: none;
        opacity: 0.7;
        transform: translateX(-50%) scale(1);
    }
    .hero-img-reveal {
        animation: none;
        opacity: 1;
        transform: none;
    }
    .hero-img-drift {
        animation: none;
    }
    .hero-img-parallax,
    .hero-img-inner {
        transition: none;
    }
}

/* ── Feature cards (What is Distributal) ─────────────────── */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 0;
}
.feature-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}
.feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #f5f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.feature-icon svg {
    width: 18px;
    height: 18px;
    color: #6b6b6b;
}
.feature-card .card-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1c1c1e;
    text-wrap: balance;
}
.feature-card .card-sub {
    font-size: 0.875rem;
    color: #6b6b6b;
    margin-top: 0.25rem;
}
.smartphone-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #e8f5e9;
    border-radius: 9999px;
    padding: 0.75rem 1.5rem;
    color: #2e7d32;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 3rem;
}
.smartphone-badge svg {
    width: 18px;
    height: 18px;
}

/* ── Why it pays (dark) ───────────────────────────────────── */
.dark-section {
    position: relative;
    isolation: isolate;
}
.dark-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(9, 9, 20, 0.56) 0%,
        rgba(9, 9, 20, 0.72) 100%
    );
    z-index: -1;
    pointer-events: none;
}
.dark-section h2 {
    color: #fff;
}
.dark-why-content {
    position: relative;
    z-index: 1;
}
.dark-why-heading {
    color: #fff;
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}
.dark-two-col {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4rem;
}
.dark-two-col .col-text {
    flex: 1;
}
.dark-two-col .col-img {
    flex: 1;
    display: flex;
    justify-content: center;
}
.dark-two-col p.intro {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}
.check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}
.check-list li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.85rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
}
.check-list li svg {
    width: 18px;
    height: 18px;
    color: #fff;
    flex-shrink: 0;
    margin-top: 0.15rem;
}
.dark-note {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1.5rem;
    font-style: italic;
    font-size: 0.95rem;
}
.phone-frame {
    border-radius: 24px;
    overflow: hidden;
    width: min(340px, 90vw);
    aspect-ratio: 1/1;
    box-shadow: 0 24px 60px rgba(107, 78, 255, 0.4);
}
.phone-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform: scale(1.12);
}

/* ── What it does ─────────────────────────────────────────── */
.role-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}
.role-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
}
.role-emoji {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.role-card h3 {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.25rem;
    color: #1c1c1e;
    margin-bottom: 1rem;
}
.dot-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.dot-list li {
    color: #6b6b6b;
    margin-bottom: 0.625rem;
    display: flex;
    gap: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.5;
}
.dot-list li .dot {
    color: #c0c0c0;
    flex-shrink: 0;
}
.simplicity-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
}
.simplicity-inner {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
}
.simplicity-inner .col-text {
    flex: 1;
}
.simplicity-inner .col-img {
    flex: 1;
    display: flex;
    justify-content: center;
}
.simplicity-card h3 {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.5rem;
    color: #1c1c1e;
    margin-bottom: 1rem;
}

/* ── Screenshot gallery (CSS scroll-snap, no JS) ──────────── */
.slideshow-wrap {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}
.slideshow {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    border-radius: 24px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.18);
    aspect-ratio: 16/10;
    scrollbar-width: none;
}
.slideshow::-webkit-scrollbar {
    display: none;
}
.slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── Case study (dark) ────────────────────────────────────── */
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.case-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.25rem;
    padding: 1.75rem;
}
.case-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    background: rgba(107, 78, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.case-icon svg {
    width: 22px;
    height: 22px;
    color: rgba(255, 255, 255, 0.9);
}
.case-card h4 {
    font-family: var(--font-sans);
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    line-height: 1.4;
}
.case-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    line-height: 1.7;
}
.case-result-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.case-result-list li {
    color: #fff;
    margin-bottom: 0.625rem;
    display: flex;
    gap: 0.625rem;
    align-items: flex-start;
    font-size: 0.875rem;
    line-height: 1.5;
}
.case-result-list li svg {
    width: 16px;
    height: 16px;
    color: #fff;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* ── ICP section ──────────────────────────────────────────── */
.icp-two-col {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4rem;
}
.icp-two-col .col-img {
    flex: 1;
}
.icp-two-col .col-text {
    flex: 1;
}
.icp-frame {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
    aspect-ratio: 1/1;
}
.icp-frame img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}
.icp-two-col h2 {
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    color: #1c1c1e;
    letter-spacing: -0.02em;
    text-wrap: balance;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}
.icp-two-col p {
    color: #6b6b6b;
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}
.icp-bold {
    color: #1c1c1e;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

/* ── Calculator promo section ────────────────────────────── */
.calc-promo {
    position: relative;
    overflow: hidden;
}
.calc-promo-bg-left,
.calc-promo-bg-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-mono);
    font-size: clamp(0.6rem, 1.2vw, 0.85rem);
    color: rgba(107, 78, 255, 0.07);
    line-height: 2.2;
    user-select: none;
    pointer-events: none;
    white-space: pre;
}
.calc-promo-bg-left {
    left: 2%;
    text-align: right;
}
.calc-promo-bg-right {
    right: 2%;
    text-align: left;
}

/* ── CTA section ─────────────────────────────────────────── */
.cta-box {
    background: linear-gradient(135deg, #0d0d1a 0%, #1a0533 60%, #0d0d1a 100%);
    border-radius: 1.5rem;
    padding: clamp(2.5rem, 5vw, 4.5rem);
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.cta-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(107, 78, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(107, 78, 255, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    border-radius: 1.5rem;
    pointer-events: none;
}
.cta-box::after {
    content: "";
    position: absolute;
    top: -40%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle,
        rgba(107, 78, 255, 0.25) 0%,
        transparent 70%
    );
    pointer-events: none;
}
.cta-col {
    flex: 1 1 300px;
    position: relative;
    z-index: 1;
}
.cta-box h2 {
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff;
    letter-spacing: -0.02em;
    text-wrap: balance;
    line-height: 1.1;
}
.cta-box .cta-body {
    flex: 1 1 280px;
    position: relative;
    z-index: 1;
}
.cta-box .cta-body .cta-eyebrow {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 0.75rem;
}
.cta-box .cta-body p {
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-wrap: balance;
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
    background: #1c1c1e;
    padding: 3rem 0;
}
.site-footer .inner {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.site-footer .footer-logo img {
    height: 20px;
    display: block;
}
.site-footer .footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}
.site-footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-end;
}
.site-footer .footer-links a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
}
.site-footer .footer-links a:hover {
    color: #fff;
}
.site-footer .copy {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
    margin: 0;
}

/* ── Blog shared ─────────────────────────────────────────── */
.blog-nav-link {
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    color: #1c1c1e;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
    .dark-two-col,
    .icp-two-col,
    .simplicity-inner {
        flex-direction: column;
        gap: 2.5rem;
    }
    .dark-two-col .col-img,
    .icp-two-col .col-img {
        width: 100%;
    }
    .phone-frame,
    .icp-frame {
        width: min(340px, 90%);
        margin: 0 auto;
    }
}
@media (max-width: 768px) {
    .site-nav .inner {
        padding: 0 1rem;
        height: auto;
        min-height: 56px;
        padding-top: 0.625rem;
        padding-bottom: 0.625rem;
    }
    .site-nav .logo img {
        height: 24px;
    }
    .site-nav .nav-right {
        gap: 0.5rem 0.5rem;
        max-width: calc(100% - 116px);
    }
    .site-nav .btn-nav-secondary,
    .site-nav .btn-contact {
        min-height: 44px;
        padding: 10px 14px;
        font-size: 0.8125rem;
    }
    .site-nav .btn-nav-secondary svg,
    .site-nav .btn-contact svg {
        width: 13px;
        height: 13px;
    }

    .feature-grid,
    .role-grid,
    .case-grid {
        grid-template-columns: 1fr;
    }
    .section-pad {
        padding: 3.5rem 0;
    }
    .hero-text-wrap {
        padding: 2.25rem 1.25rem 1.1rem;
    }
    .hero-h1 {
        font-size: clamp(2rem, 7vw, 2.8rem);
    }
    .hero-img-wrap {
        padding-top: 0.65rem;
        margin-top: 0;
        margin-bottom: -40px;
    }
    .hero-img-inner {
        width: min(340px, 92vw);
    }
    .cta-box {
        flex-direction: column;
    }
    .simplicity-inner {
        flex-direction: column;
    }
    .calc-promo-bg-left,
    .calc-promo-bg-right {
        display: none;
    }
    .slideshow {
        border-radius: 14px;
    }
    .site-footer .inner {
        padding: 0 1.25rem;
        flex-direction: column;
        align-items: flex-start;
    }
    .site-footer .footer-right {
        align-items: flex-start;
    }
    .site-footer .footer-links {
        justify-content: flex-start;
    }
}
@media (max-width: 480px) {
    .container,
    .container-sm,
    .container-xs {
        padding: 0 1rem;
    }
    .section-pad {
        padding: 2.5rem 0;
    }
    .feature-card {
        padding: 1rem;
    }
    .role-card,
    .simplicity-card {
        padding: 1.5rem;
    }
    .case-card {
        padding: 1.25rem;
    }

    .site-nav .inner {
        padding-left: 0.875rem;
        padding-right: 0.875rem;
    }
    .site-nav .nav-right {
        max-width: calc(100% - 100px);
    }
    .site-nav .btn-nav-secondary,
    .site-nav .btn-contact {
        padding: 10px 12px;
    }
}

/* Very narrow: shorter contact label (accessible name stays via aria-label on <a>) */
@media (max-width: 360px) {
    .btn-contact-text--long {
        display: none !important;
    }
    .btn-contact-text--short {
        display: inline !important;
    }
}

/* ── HTTP error pages (404, 500, …) ───────────────────────── */
.error-shell {
    max-width: 32rem;
    margin: 0 auto;
    padding: clamp(2.5rem, 8vw, 4.5rem) 1.5rem 5rem;
    text-align: center;
}
.error-code {
    font-size: clamp(3rem, 12vw, 4.5rem);
    font-weight: 700;
    color: #6b4eff;
    letter-spacing: -0.04em;
    line-height: 1;
    margin: 0 0 1rem;
}
.error-title {
    font-size: clamp(1.35rem, 4vw, 1.75rem);
    font-weight: 700;
    color: #1c1c1e;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}
.error-desc {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #52525b;
    margin: 0 0 2rem;
}
.error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
}
.error-actions .btn-purple,
.error-actions .btn-dark {
    min-height: 44px;
    padding: 10px 20px;
    font-size: 0.875rem;
}
.error-actions button.btn-dark {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* ── Inner pages (About, Contact, Privacy, Terms, Deletion) ── */
.distributal-inner .inner-hero {
    padding: 6rem 1.5rem 3rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.distributal-inner .inner-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    color: #1c1c1e;
}
.distributal-inner .inner-hero p.lede {
    font-size: 1.125rem;
    color: #525252;
    line-height: 1.6;
}
.distributal-inner .inner-body {
    max-width: 760px;
    margin: 0 auto;
    padding: 2rem 1.5rem 6rem;
    color: #1c1c1e;
    line-height: 1.7;
    font-size: 1.0625rem;
}
.distributal-inner .inner-body h2 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 2.5rem 0 1rem;
    color: #1c1c1e;
}
.distributal-inner .inner-body h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 1.75rem 0 0.5rem;
}
.distributal-inner .inner-body p { margin-bottom: 1rem; }
.distributal-inner .inner-body ul,
.distributal-inner .inner-body ol {
    margin: 0 0 1.25rem 1.25rem;
    padding-left: 0.75rem;
}
.distributal-inner .inner-body li { margin-bottom: 0.5rem; }
.distributal-inner .inner-body a {
    color: #6b4eff;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.distributal-inner .inner-body a:hover { color: #4a31d8; }
.distributal-inner .meta-date {
    display: inline-block;
    font-size: 0.9rem;
    color: #6b6b6b;
    background: #f5f3ff;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
}
.distributal-inner .contact-card {
    background: #f7f6ff;
    border: 1px solid #ece8ff;
    border-radius: 1rem;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}
.distributal-inner .contact-card .email-big {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 600;
    color: #6b4eff;
    margin: 0.75rem 0;
    text-decoration: none;
}
.distributal-inner .contact-card .email-big:hover { color: #4a31d8; }
@media (max-width: 640px) {
    .distributal-inner .inner-hero { padding: 4rem 1.25rem 2rem; }
    .distributal-inner .inner-body { padding: 1.5rem 1.25rem 4rem; font-size: 1rem; }
}
