:root {
    --font-family: "Space Grotesk", "Segoe UI", sans-serif;
    --font-display: "Fraunces", "Georgia", serif;

    --bg-primary: #f1ede3;
    --bg-secondary: #fbf8f2;
    --bg-card: #fdfbf6;

    --text-primary: #1c1a16;
    --text-secondary: #5b564e;
    --text-accent: #c6562b;

    --btn-primary: #c6562b;
    --btn-primary-hover: #a64522;

    --border: rgba(88, 73, 54, 0.16);
    --border-strong: rgba(198, 86, 43, 0.34);

    --shadow-soft: 0 14px 30px rgba(30, 24, 12, 0.11);
    --shadow-strong: 0 24px 60px rgba(30, 24, 12, 0.16);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    font-family: var(--font-family);
    color: var(--text-primary);
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 214, 170, 0.34), transparent 42%),
        radial-gradient(circle at 90% 4%, rgba(255, 236, 214, 0.66), transparent 48%),
        linear-gradient(130deg, rgba(255, 251, 244, 0.85), rgba(239, 232, 218, 0.9)),
        var(--bg-primary);
}

a {
    color: inherit;
    text-decoration: none;
}

.landing-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.btn {
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    padding: 13px 24px;
    color: #fff;
    background: var(--btn-primary);
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    transform: translateY(-1px);
    background: var(--btn-primary-hover);
}

.btn-ghost {
    padding: 11px 20px;
    color: #f7efdf;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.18);
}

.landing-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(251, 248, 242, 0.78);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.landing-header .landing-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
}

.landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: clamp(1.24rem, 2vw, 1.6rem);
    letter-spacing: 0.2px;
}

.landing-brand img {
    width: 54px;
    height: 40px;
    object-fit: contain;
}

.brand-ark {
    color: var(--text-accent);
}

.landing-nav {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.landing-nav a {
    position: relative;
}

.landing-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--text-accent);
    transition: width 0.2s ease;
}

.landing-nav a:hover::after {
    width: 100%;
}

.btn-login {
    padding: 11px 22px;
    color: #fff;
    background: var(--btn-primary);
}

.btn-login:hover {
    background: var(--btn-primary-hover);
}

.hero-section {
    padding: clamp(34px, 7vw, 90px) 0 24px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(20px, 4vw, 52px);
    align-items: center;
}

.hero-kicker {
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-accent);
}

.hero-title-line {
    margin: 0;
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.15vw, 2.285rem);
    line-height: 1.08;
}

.hero-title-row {
    display: block;
    color: var(--text-primary);
}

.hero-title-row-dynamic {
    display: inline-flex;
    align-items: baseline;
    gap: 0.32em;
    width: max-content;
    margin-top: 4px;
}

.hero-title-static {
    white-space: nowrap;
}

.hero-title-rotator {
    display: inline-block;
    height: 1.15em;
    min-width: 4.2ch;
    overflow: hidden;
    color: var(--text-accent);
}

.rotator-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    animation: rotateCopy 7.5s ease-in-out infinite;
}

@keyframes rotateCopy {
    0%, 22% { transform: translateY(0); }
    30%, 52% { transform: translateY(-1.15em); }
    60%, 82% { transform: translateY(-2.3em); }
    90%, 100% { transform: translateY(-3.45em); }
}

.hero-description {
    margin: 16px 0 24px;
    max-width: 60ch;
    color: var(--text-secondary);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.flow-network {
    position: relative;
    min-height: 350px;
    border-radius: 22px;
    border: 1px solid rgba(198, 86, 43, 0.16);
    background: rgba(255, 252, 246, 0.85);
    overflow: hidden;
}

.flow-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.flow-path {
    fill: none;
    stroke: rgba(198, 86, 43, 0.68);
    stroke-width: 0.9;
    stroke-dasharray: 2.2 4.4;
    stroke-linecap: round;
    animation: dashFlow 4.8s linear infinite;
}

.flow-path-primary {
    stroke-width: 1.05;
}

@keyframes dashFlow {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: -22; }
}

.flow-inline-label {
    position: absolute;
    left: 50%;
    top: 17.5%;
    transform: translate(-50%, -50%);
    padding: 3px 8px;
    border-radius: 999px;
    font-family: var(--font-family);
    font-size: 0.75rem;
    font-weight: 700;
    color: #8a3b1d;
    background: rgba(255, 238, 218, 0.92);
    border: 1px solid rgba(198, 86, 43, 0.22);
    pointer-events: none;
}

.flow-marker {
    fill: #c6562b;
    filter: drop-shadow(0 0 4px rgba(198, 86, 43, 0.5));
}

.flow-node {
    position: absolute;
    width: 122px;
    transform: translate(-50%, -50%);
    text-align: center;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.flow-node-icon {
    margin: 0 auto 10px;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border-strong);
    background: #fff;
    box-shadow: 0 8px 18px rgba(198, 86, 43, 0.12);
}

.flow-node-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: var(--text-accent);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.flow-node h3 {
    margin: 0;
    font-size: 0.86rem;
    font-weight: 700;
}

.flow-node.is-active {
    transform: translate(-50%, -50%) scale(1.04);
    filter: drop-shadow(0 0 8px rgba(198, 86, 43, 0.34));
}

.flow-node.is-active .flow-node-icon {
    border-color: rgba(198, 86, 43, 0.78);
    box-shadow: 0 12px 24px rgba(198, 86, 43, 0.24);
}

.flow-node-restaurant { left: 18%; top: 22%; }
.flow-node-wholesaler { left: 82%; top: 22%; }
.flow-node-warehouse { left: 82%; top: 76%; }
.flow-node-logistics { left: 18%; top: 76%; }

.metric-section {
    padding: 22px 0 20px;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.metric-card {
    border-radius: 20px;
    border: 1px solid var(--border);
    background: rgba(253, 251, 246, 0.88);
    padding: 18px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.mini-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 0.95rem;
    margin-bottom: 10px;
    background: rgba(198, 86, 43, 0.13);
}

.metric-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 0.98rem;
}

.metric-card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.55;
}

.section-heading {
    margin-bottom: 18px;
}

.section-kicker {
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--text-accent);
}

.section-heading h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    line-height: 1.12;
}

.feature-section {
    padding: 42px 0 26px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.feature-card {
    border-radius: 24px;
    border: 1px solid var(--border);
    background:
        radial-gradient(circle at 14% 8%, rgba(255, 231, 206, 0.68), transparent 36%),
        rgba(253, 251, 246, 0.9);
    padding: 24px;
    box-shadow: 0 8px 20px rgba(30, 24, 12, 0.07);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
    background: rgba(198, 86, 43, 0.13);
    border: 1px solid rgba(198, 86, 43, 0.28);
    transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: var(--text-accent);
    stroke-width: 1.8;
    stroke-linecap: round;
}

.feature-card h3 {
    margin: 0 0 10px;
    font-family: var(--font-display);
    font-size: 1.22rem;
}

.feature-card p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.65;
}

.detail-section {
    padding: 30px 0 24px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.detail-panel {
    border-radius: 24px;
    border: 1px solid var(--border);
    background: rgba(252, 248, 240, 0.86);
    padding: 24px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.detail-panel h3 {
    margin: 0 0 12px;
    font-family: var(--font-display);
    font-size: 1.26rem;
}

.detail-panel ul {
    margin: 0;
    padding-left: 20px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-section {
    padding: 34px 0 24px;
}

.faq-wrap {
    border-radius: 28px;
    border: 1px solid var(--border);
    background: rgba(253, 251, 246, 0.8);
    padding: 28px;
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-list details {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fffdf9;
    padding: 12px 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 600;
}

.faq-list p {
    margin: 10px 0 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.cta-section {
    padding: 26px 0 44px;
}

.cta-card {
    border-radius: 30px;
    border: 1px solid rgba(198, 86, 43, 0.22);
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 234, 212, 0.5), transparent 42%),
        radial-gradient(circle at 90% 80%, rgba(255, 239, 219, 0.75), transparent 45%),
        #fffaf1;
    box-shadow: var(--shadow-soft);
    padding: clamp(28px, 4vw, 44px);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.cta-card h2 {
    margin: 0 0 10px;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.4vw, 2.7rem);
}

.cta-card p {
    margin: 0 0 20px;
    color: var(--text-secondary);
}

.policy-main {
    padding: 34px 0 56px;
}

.policy-card {
    border: 1px solid var(--border);
    border-radius: 26px;
    background: rgba(253, 251, 246, 0.9);
    box-shadow: var(--shadow-soft);
    padding: clamp(20px, 4vw, 36px);
}

.policy-card h1 {
    margin: 0 0 12px;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.2vw, 3rem);
}

.policy-card h2 {
    margin: 22px 0 8px;
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
}

.policy-card p {
    margin: 0 0 10px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.landing-footer {
    border-top: 1px solid rgba(88, 73, 54, 0.16);
    background:
        radial-gradient(circle at 12% 10%, rgba(255, 226, 196, 0.4), transparent 42%),
        rgba(251, 245, 234, 0.92);
    padding: 34px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(140px, 1fr));
    gap: 20px;
    align-items: start;
}

.footer-brand-col small {
    display: block;
    color: var(--text-secondary);
    line-height: 1.55;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.footer-brand img {
    width: 54px;
    height: 40px;
    object-fit: contain;
}

.footer-brand-text {
    margin: 0 0 4px;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-links-col h3 {
    margin: 0 0 10px;
    font-size: 1rem;
    font-weight: 700;
}

.footer-links-col a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-size: 0.93rem;
}

.footer-links-col a:hover {
    color: var(--text-accent);
}

@media (hover: hover) and (pointer: fine) {
    .metric-card:hover,
    .feature-card:hover,
    .detail-panel:hover {
        transform: translateY(-5px);
        border-color: rgba(198, 86, 43, 0.35);
        box-shadow: 0 16px 28px rgba(30, 24, 12, 0.14);
    }

    .feature-card:hover .feature-icon {
        transform: translateY(-2px) scale(1.03);
        background: rgba(198, 86, 43, 0.2);
        border-color: rgba(198, 86, 43, 0.45);
    }

    .faq-list details:hover {
        transform: translateY(-2px);
        border-color: rgba(198, 86, 43, 0.3);
        box-shadow: 0 10px 20px rgba(30, 24, 12, 0.09);
    }

    .cta-card:hover {
        transform: translateY(-4px);
        border-color: rgba(198, 86, 43, 0.34);
        box-shadow: 0 20px 38px rgba(30, 24, 12, 0.18);
    }
}

.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    width: min(560px, calc(100% - 24px));
    z-index: 45;
    display: grid;
    gap: 10px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(31, 26, 20, 0.95);
    color: #f9f5ee;
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.34);
}

.cookie-banner[hidden] {
    display: none !important;
}

.cookie-title {
    font-size: 0.95rem;
    font-weight: 700;
}

.cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-link {
    color: #ffd8b8;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-link:hover {
    color: #ffe7d2;
}

.cookie-actions {
    display: inline-flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-status {
    color: #f8dabb;
    font-size: 0.8rem;
}

.cookie-manage {
    position: fixed;
    right: 14px;
    bottom: 14px;
    z-index: 42;
    border: 0;
    border-radius: 999px;
    padding: 9px 14px;
    font-weight: 600;
    background: #1f1b15;
    color: #fff;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
}

.cookie-manage[hidden] {
    display: none !important;
}

.reveal-card {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    filter: blur(2px);
    transition:
        opacity 0.55s ease,
        transform 0.55s ease,
        filter 0.55s ease;
    transition-delay: var(--delay, 0s);
}

.reveal-card.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

@media (max-width: 1100px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-title-line {
        font-size: clamp(1.7rem, 5.2vw, 2.9rem);
    }

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

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

@media (max-width: 760px) {
    .landing-shell {
        width: min(1180px, calc(100% - 24px));
    }

    .landing-header .landing-shell {
        padding: 12px 0;
    }

    .landing-nav {
        display: none;
    }

    .btn-login {
        padding: 10px 14px;
        font-size: 0.88rem;
    }

    .hero-title-line {
        font-size: clamp(1.1rem, 5.2vw, 1.65rem);
    }

    .hero-title-row-dynamic {
        gap: 0.28em;
    }

    .flow-network {
        min-height: 420px;
    }

    .flow-node {
        width: 108px;
    }

    .flow-node-icon {
        width: 54px;
        height: 54px;
        border-radius: 15px;
    }

    .flow-node-icon svg {
        width: 28px;
        height: 28px;
    }

    .flow-inline-label {
        top: 18.5%;
        font-size: 0.68rem;
        padding: 3px 7px;
    }

    .flow-node-restaurant { left: 18%; top: 18%; }
    .flow-node-wholesaler { left: 82%; top: 18%; }
    .flow-node-warehouse { left: 82%; top: 78%; }
    .flow-node-logistics { left: 18%; top: 78%; }

    .metric-grid,
    .feature-grid,
    .detail-grid {
        grid-template-columns: 1fr;
    }

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

    .policy-main {
        padding: 24px 0 34px;
    }

    .faq-wrap {
        padding: 18px;
        border-radius: 20px;
    }

    .cookie-actions {
        justify-content: stretch;
    }

    .cookie-actions .btn {
        flex: 1 1 48%;
        min-height: 40px;
    }

    .cookie-manage {
        bottom: 10px;
        right: 10px;
    }
}

@media (max-width: 520px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Updated TedArk Landing Overrides */
:root {
    --font-family: "Nunito Sans", "Segoe UI", sans-serif;
    --bg-primary: #f7f2ec;
    --text-primary: #21242f;
    --text-secondary: #616b7a;
    --text-accent: #eb622f;
    --btn-primary: #eb622f;
    --btn-primary-hover: #d95321;
}

body {
    background:
        radial-gradient(circle at 94% 8%, rgba(250, 222, 196, 0.68), transparent 46%),
        radial-gradient(circle at 6% 86%, rgba(248, 209, 164, 0.2), transparent 42%),
        linear-gradient(145deg, rgba(255, 252, 246, 0.9), rgba(244, 236, 224, 0.84)),
        var(--bg-primary);
}

.btn-primary,
.btn-login {
    box-shadow: none;
}

.btn {
    font-weight: 700;
}

.btn-secondary {
    border: 1px solid rgba(84, 96, 117, 0.28);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.86);
    padding: 12px 20px;
}

.btn-secondary:hover {
    border-color: rgba(235, 98, 47, 0.32);
    color: var(--text-accent);
}

.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    border-bottom: 1px solid transparent;
    background: rgba(255, 250, 243, 0.84);
    backdrop-filter: blur(14px);
    transition: border-color 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
}

.landing-header.scrolled {
    border-color: rgba(97, 107, 122, 0.16);
    background: rgba(255, 252, 247, 0.95);
    box-shadow: 0 10px 24px rgba(41, 27, 14, 0.08);
}

main {
    overflow: hidden;
}

.hero-section {
    padding: 104px 0 24px;
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(2rem, 4.8vw, 3.9rem);
    line-height: 1.04;
    font-weight: 800;
    max-width: 10.2ch;
}

.hero-line {
    display: block;
}

.hero-line-dynamic {
    min-height: 1.1em;
}

#heroDynamicText {
    display: inline-block;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

#heroDynamicText.is-swapping {
    opacity: 0;
    transform: translateY(8px);
}

.text-gradient {
    background: linear-gradient(95deg, #e85f2f 0%, #f39b2f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-description {
    margin: 16px 0 24px;
    max-width: 45ch;
    color: var(--text-secondary);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-trust {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    color: var(--text-secondary);
    font-size: 0.86rem;
    font-weight: 600;
}

.hero-trust span {
    position: relative;
    padding-left: 18px;
}

.hero-trust span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #5bc990;
    box-shadow: 0 0 0 4px rgba(91, 201, 144, 0.18);
}

.hero-visual {
    border-radius: 34px;
    border: 1px solid #f3d8c7;
    background: linear-gradient(145deg, #fffaf4 0%, #fff1e3 100%);
    padding: 12px;
}

.hero-visual-media {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 30px rgba(175, 117, 78, 0.2);
}

.hero-visual-media img {
    width: 100%;
    height: clamp(180px, 20vw, 252px);
    object-fit: cover;
    display: block;
}

.hero-visual-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(30, 21, 15, 0.2) 100%);
}

.hero-chip {
    position: absolute;
    z-index: 1;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    color: #8d3f1f;
    background: rgba(255, 240, 223, 0.94);
    border: 1px solid rgba(198, 86, 43, 0.22);
}

.hero-chip {
    display: none;
}

.chip-left {
    left: 12px;
    bottom: 12px;
}

.chip-right {
    right: 12px;
    top: 12px;
}

.flow-panel {
    margin-top: 4px;
    border-radius: 0;
    border: 0;
    background: transparent;
    padding: 3px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flow-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}

.flow-meta-grid {
    display: none;
}

.flow-meta-grid article {
    border-radius: 12px;
    border: 1px solid rgba(84, 96, 117, 0.14);
    background: #fff;
    padding: 9px;
}

.flow-meta-grid small {
    display: block;
    color: var(--text-secondary);
    font-size: 0.72rem;
}

.flow-meta-grid strong {
    display: block;
    margin-top: 4px;
    font-size: 1rem;
}

.flow-network {
    position: relative;
    min-height: 266px;
    border-radius: 0;
    border: 0;
    background: transparent;
    overflow: hidden;
    width: 100%;
}

.flow-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.flow-path {
    fill: none;
    stroke: rgba(235, 98, 47, 0.68);
    stroke-width: 0.95;
    stroke-dasharray: 2.2 4.4;
    stroke-linecap: round;
    animation: dashFlow 4.8s linear infinite;
}

.flow-marker {
    fill: #c6562b;
}

.flow-node {
    position: absolute;
    width: 176px;
    transform: translate(-50%, -50%);
    text-align: center;
    transition: transform 0.2s ease;
    z-index: 2;
}

.flow-node-card {
    border-radius: 12px;
    border: 1px solid rgba(84, 96, 117, 0.14);
    background: rgba(255, 255, 255, 0.82);
    padding: 8px 9px;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    min-height: 62px;
}

.flow-node-icon {
    margin: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(198, 86, 43, 0.34);
    background: #fff;
    box-shadow: none;
}

.flow-node-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: var(--text-accent);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.flow-node-copy {
    text-align: left;
    min-width: 0;
}

.flow-node h3 {
    margin: 0;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.25;
}

.flow-node p {
    margin: 3px 0 0;
    font-size: 0.72rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.flow-node.is-active {
    transform: translate(-50%, -50%) scale(1.04);
}

.flow-node-restaurant { left: 18%; top: 22%; }
.flow-node-supplier { left: 82%; top: 22%; }
.flow-node-warehouse { left: 82%; top: 66%; }
.flow-node-logistics { left: 18%; top: 66%; }

.flow-feed {
    margin-top: 2px;
    border-radius: 0;
    border: 0;
    background: transparent;
    padding: 4px 0 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 540px;
}

.flow-feed small {
    font-size: 0.72rem;
    color: var(--text-secondary);
    font-weight: 700;
}

.flow-feed p {
    margin: 6px 0 8px;
    font-size: 0.86rem;
    max-width: 92%;
}

.flow-feed-dots {
    display: inline-flex;
    gap: 6px;
}

.flow-feed-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(84, 96, 117, 0.3);
}

.flow-feed-dots span.is-active {
    background: var(--text-accent);
}

.section-heading {
    max-width: 860px;
    margin-bottom: 22px;
}

.section-centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-kicker {
    margin: 0 0 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    letter-spacing: 0.01em;
    font-size: 0.86rem;
    font-weight: 700;
    text-transform: none;
    color: var(--text-accent);
    background: rgba(235, 98, 47, 0.12);
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1.1;
    font-family: var(--font-family);
    font-weight: 800;
}

.section-heading p {
    margin: 10px auto 0;
    color: var(--text-secondary);
    line-height: 1.62;
    max-width: 680px;
}

.how-section,
.feature-section,
.roles-section,
.platform-section,
.audience-section {
    padding: 76px 0 84px;
}

.how-line {
    position: relative;
    margin: 0 auto 22px;
    height: 44px;
    width: min(900px, 88%);
    display: none;
}

.how-line span {
    position: absolute;
    inset: 22px 0 auto;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #4f86ff 0%, #eb622f 52%, #9a68ff 100%);
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.how-card {
    border-radius: 24px;
    border: 1px solid rgba(84, 96, 117, 0.18);
    background: #fff;
    padding: 24px;
    min-height: 100%;
    box-shadow: 0 10px 24px rgba(35, 35, 42, 0.06);
}

.how-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    box-shadow: 0 8px 20px rgba(33, 36, 47, 0.08);
}

.how-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.how-icon-blue { background: #eff6ff; color: #2563eb; }
.how-icon-orange { background: #fff4e7; color: #ea580c; }
.how-icon-emerald { background: #ecfdf3; color: #059669; }
.how-icon-violet { background: #f4f0ff; color: #7c3aed; }

.how-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.how-step {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    background: var(--btn-primary);
    flex: 0 0 auto;
}

.how-card h3 {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.35;
}

.how-card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.feature-section {
    position: relative;
    background: #fff;
}

.feature-dot-bg {
    position: absolute;
    inset: 0;
    opacity: 0.3;
    background-image: radial-gradient(circle at 1px 1px, rgba(99, 108, 122, 0.2) 1px, transparent 0);
    background-size: 18px 18px;
    pointer-events: none;
}

.feature-shell {
    position: relative;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.feature-card {
    border-radius: 24px;
    border: 1px solid rgba(84, 96, 117, 0.16);
    background: rgba(247, 248, 250, 0.72);
    padding: 24px;
    box-shadow: 0 10px 24px rgba(35, 35, 42, 0.06);
    position: relative;
    overflow: hidden;
}

.feature-glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.32s ease;
    pointer-events: none;
}

.feature-card:hover .feature-glow {
    opacity: 1;
}

.feature-glow-blue { background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(34, 211, 238, 0.05)); }
.feature-glow-orange { background: linear-gradient(135deg, rgba(249, 115, 22, 0.12), rgba(251, 191, 36, 0.06)); }
.feature-glow-emerald { background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(20, 184, 166, 0.06)); }
.feature-glow-violet { background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(168, 85, 247, 0.06)); }
.feature-glow-rose { background: linear-gradient(135deg, rgba(244, 63, 94, 0.11), rgba(236, 72, 153, 0.06)); }
.feature-glow-amber { background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(250, 204, 21, 0.06)); }

.feature-icon {
    position: relative;
    z-index: 1;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-icon-blue { color: #2563eb; background: #eff6ff; }
.feature-icon-orange { color: #ea580c; background: #fff4e7; }
.feature-icon-emerald { color: #059669; background: #ecfdf3; }
.feature-icon-violet { color: #7c3aed; background: #f4f0ff; }
.feature-icon-rose { color: #e11d48; background: #fff1f2; }
.feature-icon-amber { color: #b45309; background: #fffbeb; }

.feature-card h3,
.feature-card p {
    position: relative;
    z-index: 1;
}

.feature-card h3 {
    margin: 0 0 10px;
    font-size: 1.1rem;
}

.feature-card p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.62;
}

.roles-section {
    background: #fff;
}

.role-tabs {
    width: min(760px, 100%);
    margin: 0 auto 18px;
    border-radius: 18px;
    border: 1px solid rgba(84, 96, 117, 0.14);
    background: rgba(244, 245, 247, 0.9);
    padding: 7px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
}

.role-tab {
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.86rem;
    font-weight: 700;
    padding: 10px 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.role-tab svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.role-tab.is-active {
    color: var(--text-accent);
    background: #fff;
}

.role-panel {
    display: none;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: 24px;
    border-radius: 28px;
    border: 1px solid rgba(84, 96, 117, 0.12);
    background: #fff;
    padding: 24px;
    box-shadow: 0 14px 28px rgba(35, 35, 42, 0.07);
}

.role-panel.is-active {
    display: grid;
}

.role-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--text-accent);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
}

.role-kicker-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(235, 98, 47, 0.1);
    display: grid;
    place-items: center;
}

.role-kicker-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: var(--text-accent);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.role-copy h3 {
    margin: 0 0 10px;
    font-size: clamp(1.6rem, 2.4vw, 2rem);
    line-height: 1.3;
}

.role-copy p {
    margin: 0 0 14px;
    color: var(--text-secondary);
    line-height: 1.62;
}

.role-copy ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
    color: var(--text-primary);
    line-height: 1.6;
    display: grid;
    gap: 9px;
}

.role-copy li {
    position: relative;
    padding-left: 24px;
    font-size: 0.9rem;
}

.role-copy li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #ecfdf3;
    border: 1px solid #34d399;
}

.role-mock {
    border-radius: 18px;
    border: 1px solid rgba(84, 96, 117, 0.15);
    background: #fff;
    padding: 12px;
}

.role-mock header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.role-mock header strong {
    font-size: 0.82rem;
}

.role-mock header span {
    font-size: 0.7rem;
    color: #de5f2f;
    font-weight: 700;
}

.mock-order-list {
    display: grid;
    gap: 8px;
}

.mock-order-list article {
    border-radius: 12px;
    border: 1px solid rgba(84, 96, 117, 0.16);
    background: #fff;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mock-order-list b {
    font-size: 0.8rem;
}

.mock-order-list span {
    font-size: 0.72rem;
    color: var(--text-secondary);
    font-weight: 700;
}

.browser-mock {
    position: relative;
    background: #f8f4ee;
    padding: 0;
    overflow: hidden;
}

.browser-top {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: linear-gradient(180deg, #f3f3f3 0%, #e8e8e8 100%);
    border-bottom: 1px solid rgba(84, 96, 117, 0.16);
}

.browser-dots {
    display: inline-flex;
    gap: 6px;
}

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
}

.browser-dots span:nth-child(1) { background: #f87171; }
.browser-dots span:nth-child(2) { background: #fbbf24; }
.browser-dots span:nth-child(3) { background: #34d399; }

.browser-address {
    flex: 1;
    border-radius: 8px;
    background: #fff;
    color: var(--text-secondary);
    font-size: 0.72rem;
    text-align: center;
    padding: 6px 8px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.browser-body {
    padding: 12px;
}

.browser-head-row,
.browser-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.browser-head-row {
    margin-bottom: 10px;
}

.browser-head-row strong {
    font-size: 0.82rem;
}

.browser-head-row small,
.browser-footer-row small {
    font-size: 0.68rem;
    color: var(--text-secondary);
}

.browser-footer-row {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(84, 96, 117, 0.15);
}

.browser-footer-row span {
    font-size: 0.7rem;
    color: var(--text-accent);
    font-weight: 700;
}

.sync-pill {
    position: absolute;
    right: -8px;
    top: 72px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(84, 96, 117, 0.16);
    padding: 6px 10px;
    font-size: 0.67rem;
    font-weight: 700;
    color: var(--text-primary);
    box-shadow: 0 8px 18px rgba(35, 35, 42, 0.1);
}

.platform-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: clamp(56px, 7vw, 110px);
    align-items: center;
}

.platform-media {
    border: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
    display: block;
}

.platform-media img {
    width: min(108%, 760px);
    height: auto;
    display: block;
    border-radius: 0;
    filter: none;
    opacity: 0.94;
}

.platform-copy h2 {
    margin-top: 0;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-family: var(--font-family);
    font-weight: 800;
}

.platform-copy p {
    color: var(--text-secondary);
    line-height: 1.65;
}

.platform-mini-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.platform-mini-grid article {
    border-radius: 16px;
    border: 1px solid rgba(84, 96, 117, 0.16);
    background: #fff;
    padding: 14px;
    transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.platform-mini-grid article:hover {
    border-color: rgba(235, 98, 47, 0.28);
    box-shadow: 0 10px 20px rgba(35, 35, 42, 0.08);
}

.platform-mini-grid h4 {
    margin: 0 0 6px;
    font-size: 0.93rem;
}

.platform-mini-grid p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.5;
}

.audience-section {
    background: #fff;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.audience-card {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(84, 96, 117, 0.16);
    background: #f8f9fb;
    transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.audience-card:hover {
    transform: translateY(-4px);
    border-color: rgba(235, 98, 47, 0.28);
    box-shadow: 0 16px 30px rgba(35, 35, 42, 0.1);
}

.audience-image-wrap {
    position: relative;
    height: 190px;
    overflow: hidden;
}

.audience-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.audience-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 28%, rgba(0, 0, 0, 0.62) 100%);
}

.audience-image-wrap h3 {
    position: absolute;
    left: 14px;
    bottom: 14px;
    margin: 0;
    color: #fff;
    font-size: 1.24rem;
    font-weight: 800;
}

.audience-body {
    padding: 16px;
}

.audience-body p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.62;
}

.audience-stat {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(84, 96, 117, 0.15);
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

.audience-stat strong {
    font-size: 1.9rem;
    line-height: 1;
    color: var(--text-accent);
}

.audience-stat span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 700;
}

.faq-section {
    padding: 0 0 46px;
}

.cta-section {
    padding: 2px 0 48px;
}

.cta-card {
    border-radius: 28px;
    border: 1px solid rgba(235, 98, 47, 0.2);
    background:
        radial-gradient(circle at 90% 10%, rgba(255, 173, 115, 0.28), transparent 42%),
        radial-gradient(circle at 10% 90%, rgba(255, 212, 168, 0.28), transparent 40%),
        rgba(255, 255, 255, 0.9);
    padding: clamp(24px, 3.8vw, 44px);
    text-align: center;
}

.cta-card h2 {
    margin: 0;
    font-family: var(--font-family);
    font-size: clamp(1.8rem, 3vw, 2.9rem);
    font-weight: 800;
}

.cta-card p {
    margin: 10px auto 0;
    color: var(--text-secondary);
    line-height: 1.62;
    max-width: 760px;
}

.cta-actions {
    margin-top: 18px;
    display: inline-flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

@media (min-width: 1024px) {
    .how-line {
        display: block;
    }
}

@media (max-width: 1100px) {
    .how-grid,
    .feature-grid,
    .audience-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .platform-grid,
    .role-panel {
        grid-template-columns: 1fr;
    }

    .platform-media img {
        width: 100%;
        max-width: 760px;
        opacity: 0.94;
    }
}

@media (max-width: 760px) {
    .hero-section {
        padding-top: 92px;
    }

    .hero-copy h1 {
        font-size: clamp(1.92rem, 9vw, 2.8rem);
    }

    .flow-network {
        min-height: 420px;
    }

    .flow-node {
        width: 108px;
    }

    .flow-node-restaurant { left: 18%; top: 18%; }
    .flow-node-supplier { left: 82%; top: 18%; }
    .flow-node-warehouse { left: 82%; top: 68%; }
    .flow-node-logistics { left: 18%; top: 68%; }

    .how-grid,
    .feature-grid,
    .audience-grid,
    .platform-mini-grid,
    .flow-meta-grid {
        grid-template-columns: 1fr;
    }

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

/* Landing final refinements */
.landing-header.is-scrolled,
.landing-header.scrolled {
    border-color: rgba(97, 107, 122, 0.16);
    background: rgba(255, 252, 247, 0.95);
    box-shadow: 0 10px 24px rgba(41, 27, 14, 0.08);
}

.hero-grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: clamp(20px, 2.8vw, 36px);
    align-items: start;
}

.hero-copy {
    padding-top: 6px;
}

.hero-visual {
    width: 100%;
    max-width: 760px;
    margin-left: auto;
}

.hero-visual-media img {
    height: clamp(178px, 19vw, 238px);
}

.hero-copy h1 {
    max-width: none;
}

.how-card {
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.how-card:hover {
    transform: translateY(-6px);
    border-color: rgba(235, 98, 47, 0.32);
    box-shadow: 0 18px 30px rgba(35, 35, 42, 0.12);
}

.roles-section .section-heading {
    max-width: 1020px;
}

.roles-section .section-heading h2 {
    font-size: clamp(2rem, 3.4vw, 3rem);
    text-wrap: balance;
}

.role-tab {
    white-space: nowrap;
}

.browser-mock {
    background: #f8f4ee;
}

.mock-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.mock-toolbar-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.mock-toolbar-title strong {
    font-size: 1.02rem;
    line-height: 1.2;
}

.mock-toolbar-icon {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.mock-toolbar-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-orange {
    background: #fff0e7;
    color: #ea580c;
}

.icon-violet {
    background: #f2edff;
    color: #7c3aed;
}

.mock-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    border: 1px solid rgba(84, 96, 117, 0.16);
    padding: 8px 12px;
    background: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    color: #2a303c;
}

.mock-live span {
    width: 13px;
    height: 13px;
    border-radius: 999px;
    background: #58c699;
    box-shadow: 0 0 0 3px rgba(88, 198, 153, 0.18);
}

.mock-list {
    display: grid;
    gap: 12px;
}

.mock-item {
    border-radius: 22px;
    border: 1px solid rgba(84, 96, 117, 0.13);
    background: #fff;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mock-item-left {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.mock-item-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 1.45rem;
    flex: 0 0 auto;
}

.mock-item-copy {
    min-width: 0;
}

.mock-item-copy b {
    display: block;
    font-size: 1.18rem;
    line-height: 1.1;
    white-space: nowrap;
}

.mock-item-copy small {
    display: block;
    margin-top: 3px;
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.mock-item-right {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.mock-item-status {
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 0.76rem;
    font-weight: 700;
    border: 1px solid transparent;
    white-space: nowrap;
}

.status-ok {
    color: #067a4a;
    background: #e9fbf2;
    border-color: #91e4bf;
}

.status-info {
    color: #1c53d8;
    background: #eaf1ff;
    border-color: #adc8ff;
}

.status-warn {
    color: #b96500;
    background: #fff7e5;
    border-color: #f1cf77;
}

.mock-item-price {
    font-size: 1.08rem;
    font-weight: 800;
    color: #252936;
    white-space: nowrap;
}

.mock-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.mock-product-card {
    border-radius: 22px;
    border: 1px solid rgba(84, 96, 117, 0.13);
    background: #fff;
    padding: 14px 12px;
}

.mock-product-card span {
    display: block;
    font-size: 1.45rem;
    margin-bottom: 8px;
}

.mock-product-card b {
    display: block;
    font-size: 1rem;
    line-height: 1.2;
}

.mock-product-card small {
    display: block;
    margin-top: 4px;
    font-size: 0.82rem;
    color: var(--text-accent);
    font-weight: 700;
}

.market-highlight {
    margin: 2px 0 10px;
    border-radius: 16px;
    border: 1px solid rgba(84, 96, 117, 0.13);
    background: linear-gradient(135deg, #fff5ea 0%, #f1f4ff 100%);
    padding: 10px 12px;
}

.market-highlight b {
    display: block;
    font-size: 0.92rem;
    color: #2a303c;
}

.market-highlight small {
    display: block;
    margin-top: 2px;
    font-size: 0.74rem;
    color: var(--text-secondary);
    font-weight: 700;
}

.mock-footer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(84, 96, 117, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.mock-footer small {
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-weight: 700;
}

.mock-footer span {
    font-size: 0.95rem;
    color: var(--text-accent);
    font-weight: 800;
    white-space: nowrap;
}

.btn:focus-visible,
.landing-nav a:focus-visible,
.role-tab:focus-visible,
.faq-list summary:focus-visible,
.footer-links-col a:focus-visible {
    outline: 3px solid rgba(235, 98, 47, 0.35);
    outline-offset: 3px;
    border-radius: 10px;
}

@media (max-width: 1100px) {
    .hero-visual {
        margin-left: 0;
        max-width: 100%;
    }

    .mock-toolbar {
        flex-wrap: wrap;
    }

    .mock-live {
        margin-left: auto;
    }
}

@media (max-width: 760px) {
    .hero-section {
        padding-top: 90px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hero-copy {
        padding-top: 0;
    }

    .hero-copy h1 {
        font-size: clamp(1.72rem, 8.6vw, 2.3rem);
        line-height: 1.14;
    }

    .hero-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-visual {
        margin-left: 0;
        max-width: 100%;
    }

    .hero-visual-media img {
        height: clamp(164px, 46vw, 220px);
    }

    .flow-panel {
        margin-top: 0;
        width: 100%;
    }

    .flow-network {
        min-height: auto;
        overflow: visible;
        display: grid;
        gap: 8px;
        padding-top: 2px;
    }

    .flow-svg {
        display: none;
    }

    .flow-node {
        position: static;
        width: 100%;
        transform: none;
    }

    .mock-item {
        flex-direction: column;
        align-items: stretch;
    }

    .mock-item-right {
        justify-content: flex-start;
    }

    .mock-product-grid {
        grid-template-columns: 1fr;
    }

    .roles-section .section-heading h2 {
        font-size: clamp(1.82rem, 8vw, 2.5rem);
    }

    .flow-node-card {
        flex-direction: row;
        text-align: left;
        gap: 6px;
        padding: 10px;
        min-height: 0;
    }

    .flow-node.is-active {
        transform: none;
    }

    .flow-node-copy {
        text-align: left;
    }

    .flow-feed {
        max-width: 100%;
        margin-top: 8px;
    }

    .flow-feed p {
        max-width: 100%;
    }

    .role-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        justify-content: flex-start;
        gap: 8px;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .role-tab {
        flex: 0 0 auto;
        min-width: max-content;
        padding: 10px 12px;
        justify-content: center;
        scroll-snap-align: start;
        white-space: nowrap;
    }

    .role-panel {
        padding: 16px;
        border-radius: 20px;
    }

    .mock-item-copy b {
        white-space: normal;
    }

    .mock-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}
