/* Base */
body {
    font-family: system-ui, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #2d2d2d; /* charcoal */
    background: #faf6f1; /* warm cream */
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

h1,
h2,
h3 {
    margin: 0.5rem 0;
    color: #2d2d2d;
}

/* Header / Hero */
header {
    background: #2d2d2d; /* charcoal */
    color: #faf6f1; /* cream text */
    padding: 2.5rem 0 3.5rem;
    text-align: center;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.logo img {
    height: 160px; /* tweak for balance */
    margin-right: 0.5rem;
    border-radius: 6px; /* optional, makes it “badge-like” */
}

nav {
    display: flex;
    gap: 1.5rem;
}

nav a {
    color: #faf6f1;
    text-decoration: none;
    font-size: 0.9rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #faf6f1;
}

.hero {
    max-width: 640px;
    margin: 0 auto;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #f5c78a; /* tan accent */
}

.hero-note {
    max-width: 620px;
    margin: 0.75rem auto 2rem;
    color: #fcd9aa;
    font-size: 1rem;
}

.hero-cta-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta {
    display: inline-block;
    background: #ff6b6b; /* playful pink */
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.2s ease-in-out;
}

.cta:hover {
    background: #e25555; /* darker pink */
}

.secondary {
    display: inline-block;
    color: #f5c78a; /* tan */
    text-decoration: underline;
}

.ghost-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.85rem 1.5rem;
    border-radius: 8px;
    background: transparent;
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(255, 107, 107, 0.5);
    transition: background 0.2s ease-in-out, color 0.2s ease-in-out,
        border-color 0.2s ease-in-out;
}

.ghost-cta:hover {
    background: rgba(255, 107, 107, 0.08);
    border-color: rgba(255, 107, 107, 0.8);
}

.hero-ghost {
    color: #faf6f1;
    border-color: rgba(250, 246, 241, 0.35);
    background: rgba(250, 246, 241, 0.12);
}

.hero-ghost:hover {
    background: rgba(250, 246, 241, 0.2);
    color: #faf6f1;
}

.hero-outline {
    color: #f5c78a;
    border-color: rgba(245, 199, 138, 0.55);
    background: rgba(245, 199, 138, 0.12);
}

.hero-outline:hover {
    background: rgba(245, 199, 138, 0.22);
    color: #faf6f1;
}

/* Features */
#features {
    padding: 3.5rem 0;
    text-align: center;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #ff6b6b; /* pink accent bar */
}

/* Pricing */
.pricing {
    background: white;
    padding: 3.5rem 2.5rem;
    text-align: center;
    margin: 0 auto;
    max-width: 640px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.price {
    font-size: 2.4rem;
    margin: 1rem 0;
    color: #ff6b6b; /* pink emphasis */
}

.price-note {
    margin: 0.25rem 0 1.5rem;
    font-size: 0.95rem;
    color: #555;
}

.price span {
    font-size: 1rem;
    color: #666;
}

.pricing ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    text-align: left;
}

.pricing li {
    margin: 0.5rem 0;
}

.pricing-ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.guarantee-card {
    margin-top: 1.8rem;
    background: #fff2ee;
    border-radius: 12px;
    padding: 1.4rem;
    box-shadow: inset 0 0 0 1px rgba(255, 107, 107, 0.2);
    text-align: left;
}

.guarantee-card h3 {
    margin: 0 0 0.6rem;
    font-size: 1rem;
    color: #d74d4d;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.guarantee-card p {
    margin: 0;
    color: #5a2c1f;
    font-size: 0.95rem;
    line-height: 1.6;
}

.limits-note {
    margin-top: 1.25rem;
    font-size: 0.8rem;
    color: #7a6d63;
}

/* Waitlist */
.waitlist {
    text-align: center;
    padding: 3rem 0;
}

.waitlist form {
    margin-top: 1rem;
}

.waitlist input {
    padding: 0.8rem;
    width: 250px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.waitlist button {
    padding: 0.9rem 1.5rem;
    background: #2d2d2d; /* charcoal */
    color: #faf6f1; /* cream */
    border: none;
    border-radius: 6px;
    margin-left: 0.5rem;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}

.waitlist button:hover {
    background: #444; /* lighter charcoal */
}

/* Try Before You Commit */
.try {
    background: #fff7f3;
    padding: 3.25rem 0;
}

.try h2 {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 1.75rem;
}

.try-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 2.25rem 2.5rem;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.15);
    border-top: 5px solid #ff6b6b;
    color: #4a4a4a;
}

.try-lead {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1.25rem;
}

.try-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
    font-size: 1.05rem;
}

.try-list li {
    position: relative;
    padding-left: 2.5rem;
    line-height: 1.7;
}

.try-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.4rem;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff8b8b 0%, #ff6b6b 100%);
    box-shadow: 0 6px 12px rgba(255, 107, 107, 0.25);
}

.try-list li::after {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0.38rem;
    width: 1.6rem;
    height: 1.6rem;
    text-align: center;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.6rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0 3rem;
    font-size: 0.9rem;
    color: #666;
    background: #faf6f1;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-meta {
    display: grid;
    gap: 0.35rem;
    text-align: left;
}

.footer-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-link {
    border: none;
    background: transparent;
    color: #ff6b6b;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
}

.footer-link:hover {
    color: #e25555;
}

.footer-link:focus-visible {
    outline: 2px solid #ff6b6b;
    outline-offset: 2px;
}

.waitlist-content {
    display: grid;
    gap: 1.75rem;
    justify-items: center;
    text-align: center;
}

.waitlist-copy {
    max-width: 560px;
}

.waitlist-form {
    display: grid;
    justify-items: center;
}

@media (min-width: 840px) {
    .waitlist-content {
        grid-template-columns: minmax(0, 1fr) auto;
        text-align: left;
        align-items: center;
    }

    .waitlist-copy {
        justify-self: stretch;
    }
}

@media (max-width: 720px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-meta {
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

.hidden {
    display: none !important;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(45, 45, 45, 0.55);
    backdrop-filter: blur(2px);
    z-index: 900;
}

.window.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(90vw, 520px);
    background: #fff;
    border: 2px solid #2d2d2d;
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(17, 23, 31, 0.2);
    color: #2d2d2d;
    z-index: 901;
    overflow: hidden;
}

.window.modal .title-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: #2d2d2d;
    color: #faf6f1;
    padding: 0.85rem 1.1rem;
}

.window.modal .title-bar .title {
    font-weight: 600;
    font-size: 1rem;
}

.window.modal .title-bar .close {
    border: none;
    background: #ff6b6b;
    color: #fff;
    border-radius: 6px;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
}

.window.modal .title-bar .close:hover {
    background: #e25555;
}

.window.modal .title-bar .close:focus-visible {
    outline: 2px solid #faf6f1;
    outline-offset: 2px;
}

.window.modal .window-body {
    padding: 1.5rem;
    background: #fff;
    max-height: 60vh;
    overflow-y: auto;
    color: #444;
    font-size: 0.95rem;
}

.window.modal .window-body p {
    margin: 0.75rem 0;
}

.window.modal .window-body p:first-of-type {
    margin-top: 0;
}

.window.modal .window-body h3 {
    margin: 1.5rem 0 0.6rem;
    font-size: 1rem;
    color: #2d2d2d;
}

.window.modal .window-body h3:first-of-type {
    margin-top: 1rem;
}

.window.modal .window-body ul {
    margin: 0.5rem 0 1.1rem;
    padding-left: 1.25rem;
    list-style: disc;
    color: #444;
}

.window.modal .window-body li + li {
    margin-top: 0.4rem;
}

.window.modal .window-body strong {
    color: #2d2d2d;
}

.modal-link {
    color: #ff6b6b;
    text-decoration: underline;
    font-weight: 600;
}

.modal-link:hover {
    color: #e25555;
}

.modal-link:focus-visible {
    outline: 2px solid #ff6b6b;
    outline-offset: 2px;
}

@media (max-width: 540px) {
    .window.modal {
        width: 92vw;
    }

    .window.modal .window-body {
        max-height: 70vh;
    }
}

/* Diagram */
.diagram {
    background: #fff;
    padding: 3.5rem 0;
}

.diagram h2 {
    text-align: center;
}

.diagram-intro {
    text-align: center;
    max-width: 620px;
    margin: 0.75rem auto 2.5rem;
    color: #555;
}

.flow {
    display: flex;
    align-items: stretch;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.flow-step {
    background: #faf6f1;
    border-radius: 12px;
    padding: 1.6rem;
    flex: 1 1 220px;
    max-width: 260px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    text-align: left;
}

.flow-step pre {
    background: #2d2d2d;
    color: #faf6f1;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin-top: 1rem;
}

.flow-step code {
    font-family: 'Source Code Pro', ui-monospace, SFMono-Regular, Menlo, Monaco,
        Consolas, 'Liberation Mono', 'Courier New', monospace;
    font-size: 0.95rem;
}

.flow-arrow {
    align-self: center;
    font-size: 2rem;
    color: #ff6b6b;
    flex: 0 0 24px;
}

.flow-card {
    background: #fff;
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.flow-card-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #777;
    margin-bottom: 0.75rem;
}

.flow-bars {
    display: flex;
    gap: 0.6rem;
    align-items: flex-end;
    height: 120px;
}

.flow-bars span {
    flex: 1;
    background: linear-gradient(180deg, #ffbebe 0%, #ff6b6b 100%);
    border-radius: 6px 6px 2px 2px;
    height: var(--bar-height, 60%);
}

.flow-list {
    margin: 1rem 0 0;
    padding-left: 1.1rem;
    color: #555;
}

.flow-list li + li {
    margin-top: 0.35rem;
}

/* FAQ */
.faq {
    background: #fff7f3;
    padding: 3.5rem 0;
}

.faq h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.faq-list {
    display: grid;
    gap: 1.75rem;
}

.faq-item {
    background: #fff;
    padding: 1.75rem;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.faq-callout {
    margin-top: 1.25rem;
    border-left: 4px solid #ff6b6b;
    background: #fff2ee;
    padding: 1rem 1.25rem;
    border-radius: 0 10px 10px 0;
}

.faq-callout strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #d74d4d;
    letter-spacing: 0.04em;
}

.faq-callout ul {
    margin: 0;
    padding-left: 1.1rem;
    color: #444;
}

.faq-callout li + li {
    margin-top: 0.4rem;
}

/* Pricing Modeler */
.modeler {
    background: #faf6f1;
    padding: 3.5rem 0;
}

.modeler .container {
    display: grid;
    gap: 2.5rem;
}

.modeler-copy {
    max-width: 640px;
}

.modeler-copy h2 {
    margin-bottom: 0.75rem;
}

.modeler-copy p {
    margin: 0 0 1rem;
    color: #555;
}

.modeler-benefits {
    margin: 0;
    padding-left: 1.2rem;
    color: #444;
    font-size: 0.95rem;
    display: grid;
    gap: 0.45rem;
}

.modeler-board {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(17, 23, 31, 0.12);
    padding: 2.5rem;
    display: grid;
    gap: 1.75rem;
}

.modeler-board.modeler-board--image {
    padding: 2rem;
    justify-items: center;
}

.modeler-board.modeler-board--embed {
    padding: 1.5rem;
    gap: 1.5rem;
}

.modeler-iframe {
    width: 100%;
    aspect-ratio: 16 / 10;
    min-height: 520px;
    border: 0;
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(17, 23, 31, 0.12);
    background: #fff;
}

.modeler-screenshot {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(17, 23, 31, 0.12);
}

.modeler-caption {
    margin: 0;
    color: #555;
    font-size: 0.95rem;
    text-align: center;
}

.modeler-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 0.6rem 1rem;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 247, 243, 0.9), #fff);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.toolbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.toolbar-logo {
    font-size: 1.4rem;
}

.toolbar-brand {
    font-weight: 700;
    color: #ff6b6b;
    font-size: 1rem;
}

.toolbar-nav {
    display: flex;
    gap: 0.9rem;
    font-size: 0.95rem;
}

.toolbar-nav a {
    color: #777;
    text-decoration: none;
    font-weight: 600;
    padding-bottom: 0.2rem;
}

.toolbar-nav a.active {
    color: #2d2d2d;
    border-bottom: 2px solid #ff6b6b;
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toolbar-status {
    font-size: 0.85rem;
    color: #1a8f59;
    font-weight: 600;
}

.toolbar-btn {
    border: none;
    background: #2d2d2d;
    color: #faf6f1;
    border-radius: 999px;
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
    cursor: pointer;
}

.toolbar-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: #ff6b6b;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.modeler-board header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.modeler-board header h3 {
    margin: 0;
}

.modeler-subtitle {
    margin: 0.4rem 0 0;
    color: #777;
    font-size: 0.9rem;
}

.modeler-status {
    font-size: 0.85rem;
    color: #777;
    background: #fff2ee;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
}

.modeler-panels {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.panel {
    background: #faf6f1;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.panel.highlight {
    background: #fff7f3;
    box-shadow: inset 0 0 0 2px rgba(255, 107, 107, 0.18);
}

.panel h4 {
    margin: 0 0 0.75rem;
    color: #555;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.panel-value {
    margin: 0;
    font-size: 2.25rem;
    font-weight: 700;
    color: #2d2d2d;
}

.panel-value span {
    font-size: 1rem;
    color: #777;
    margin-left: 0.25rem;
}

.panel-caption {
    margin: 0.5rem 0 0;
    color: #666;
    font-size: 0.95rem;
}

.panel-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1.5rem;
    margin: 1.25rem 0 0;
    font-size: 0.85rem;
    color: #555;
}

.panel-meta div {
    display: grid;
    gap: 0.25rem;
}

.panel-meta dt {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    color: #999;
    font-size: 0.75rem;
}

.panel-meta dd {
    margin: 0;
}

.panel-delta {
    margin: 0.75rem 0 0;
    color: #1a8f59;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
}

.modeler-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    align-items: center;
    justify-content: space-between;
}

.slider {
    display: grid;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #444;
}

.slider-track {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: #777;
}

.slider-bar {
    flex: 1;
    background: #f1dad6;
    border-radius: 999px;
    overflow: hidden;
    height: 0.6rem;
    position: relative;
}

.slider-progress {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--faux-progress, 50%);
    background: linear-gradient(90deg, #ff8b8b 0%, #ff6b6b 100%);
    border-radius: inherit;
}

.slider-handle {
    position: absolute;
    top: 50%;
    left: var(--faux-progress, 50%);
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.35);
    border: 2px solid #ff6b6b;
}

.mode-switch {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #555;
    font-size: 0.95rem;
}

.mode-switch span {
    font-weight: 600;
}

.toggle {
    display: inline-flex;
    background: #f6f1ed;
    border-radius: 999px;
    padding: 0.3rem;
    gap: 0.3rem;
}

.toggle-btn {
    border: none;
    background: transparent;
    padding: 0.45rem 1.2rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
    cursor: pointer;
}

.toggle-btn.active {
    background: #fff;
    color: #ff6b6b;
    box-shadow: 0 6px 16px rgba(255, 107, 107, 0.25);
}

.modeler-chart {
    background: linear-gradient(180deg, rgba(255, 247, 243, 0.9) 0%, #fff 100%);
    border-radius: 18px;
    padding: 1.75rem;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
    position: relative;
}

.chart-axes {
    position: absolute;
    inset: 1.5rem 1.75rem auto 1.75rem;
    pointer-events: none;
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.axis-y {
    display: grid;
    gap: 1.2rem;
}

.axis-x {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
}

.chart-bars {
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    margin-top: 1rem;
}

.chart-pair {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.chart-pair .bar {
    width: 40px;
    border-radius: 8px 8px 4px 4px;
    background: #ccc;
    position: relative;
}

.chart-pair .bar.flat {
    background: linear-gradient(180deg, #8cb4ff 0%, #447aff 100%);
    height: var(--height, 60%);
}

.chart-pair .bar.metered {
    background: linear-gradient(180deg, #ffb17a 0%, #ff7a1c 100%);
    height: var(--height, 80%);
}

.chart-pair p {
    margin: 0;
    color: #666;
    font-size: 0.85rem;
}

.chart-tooltip {
    position: absolute;
    top: 60%;
    right: 1.8rem;
    background: #2d2d2d;
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.chart-tooltip p {
    margin: 0.2rem 0;
}

.chart-legend {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: #555;
    margin-top: 1.25rem;
}

.chart-legend i {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    margin-right: 0.4rem;
}

.chart-legend i.flat {
    background: linear-gradient(180deg, #8cb4ff 0%, #447aff 100%);
}

.chart-legend i.metered {
    background: linear-gradient(180deg, #ffb17a 0%, #ff7a1c 100%);
}

.workspace-tabs {
    display: inline-flex;
    gap: 0.4rem;
    background: #f6f1ed;
    padding: 0.3rem;
    border-radius: 999px;
    font-weight: 600;
    color: #555;
}

.workspace-tab {
    border: none;
    background: transparent;
    padding: 0.45rem 1.2rem;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.9rem;
    color: inherit;
}

.workspace-tab.active {
    background: #fff;
    color: #ff6b6b;
    box-shadow: 0 6px 18px rgba(255, 107, 107, 0.25);
}

.workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 2rem;
}

.workspace-main {
    display: grid;
    gap: 1.75rem;
}

.kpi-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.kpi-card {
    background: #faf6f1;
    border-radius: 14px;
    padding: 1.2rem 1.4rem;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.kpi-card h4 {
    margin: 0;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #777;
}

.kpi-value {
    margin: 0.6rem 0 0;
    font-size: 1.6rem;
    font-weight: 700;
    color: #2d2d2d;
}

.kpi-sub {
    margin: 0.25rem 0 0;
    font-size: 0.85rem;
    color: #1a8f59;
}

.workspace-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-size: 0.9rem;
    color: #555;
}

.workspace-filters label {
    display: grid;
    gap: 0.3rem;
}

.workspace-filters span {
    background: #fff;
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.07);
    font-weight: 600;
}

.live-table {
    background: #fff;
    border-radius: 18px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.table-header,
.table-row {
    display: grid;
    grid-template-columns: 120px 140px 160px 120px 120px 140px;
    gap: 0.75rem;
    padding: 0.85rem 1.4rem;
    font-size: 0.85rem;
}

.table-header {
    background: #faf6f1;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #999;
    font-weight: 600;
    position: sticky;
    top: 0;
}

.table-body {
    max-height: 220px;
    overflow-y: auto;
}

.table-row {
    color: #444;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.status {
    font-weight: 600;
}

.status.ok {
    color: #1a8f59;
}

.status.dropped {
    color: #d76a2d;
}

.mini-charts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.mini-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.1rem;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.mini-card h5 {
    margin: 0 0 0.6rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #999;
}

.mini-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: #444;
}

.mini-card li {
    display: flex;
    justify-content: space-between;
}

.sparkline {
    height: 70px;
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(255, 107, 107, 0.15) 0%, rgba(255, 107, 107, 0) 100%),
        repeating-linear-gradient(90deg, rgba(255, 107, 107, 0.25), rgba(255, 107, 107, 0.25) 2px,
            transparent 2px, transparent 8px);
    position: relative;
}

.sparkline::after {
    content: "";
    position: absolute;
    inset: 12% 10% 12% 10%;
    background: linear-gradient(90deg, rgba(255, 107, 107, 0.9), rgba(255, 174, 130, 0.6));
    clip-path: polygon(0% 60%, 20% 40%, 35% 55%, 55% 20%, 72% 45%, 100% 15%, 100% 100%, 0% 100%);
    border-radius: 6px 6px 0 0;
}

.sparkline.errors::after {
    background: linear-gradient(90deg, rgba(236, 79, 88, 0.9), rgba(236, 79, 88, 0.4));
    clip-path: polygon(0% 30%, 20% 50%, 40% 25%, 60% 40%, 80% 18%, 100% 32%, 100% 100%, 0% 100%);
}

.workspace-drawer {
    background: #fff7f3;
    border-radius: 18px;
    padding: 1.75rem;
    display: grid;
    gap: 1.3rem;
    box-shadow: inset 0 0 0 1px rgba(255, 107, 107, 0.2);
}

.drawer-sub {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.drawer-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.metric-label {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    color: #999;
}

.metric-value {
    margin: 0.35rem 0 0;
    font-size: 1.6rem;
    font-weight: 700;
    color: #2d2d2d;
}

.metric-note {
    margin: 0.2rem 0 0;
    font-size: 0.85rem;
    color: #1a8f59;
}

.drawer-actions {
    display: grid;
    gap: 0.75rem;
}

.drawer-actions label {
    display: grid;
    gap: 0.3rem;
    font-size: 0.85rem;
    color: #555;
}

.drawer-actions span {
    background: #fff;
    border-radius: 10px;
    padding: 0.45rem 0.75rem;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
    font-weight: 600;
}

.drawer-buttons {
    display: flex;
    gap: 0.75rem;
}

.drawer-buttons .primary,
.drawer-buttons .secondary {
    border: none;
    border-radius: 10px;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

.drawer-buttons .primary {
    background: #ff6b6b;
    color: #fff;
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.25);
}

.drawer-buttons .secondary {
    background: #fff;
    color: #2d2d2d;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.safety-checklist {
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.safety-checklist h5 {
    margin: 0 0 0.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #999;
}

.safety-checklist ul {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.9rem;
    color: #444;
}

.workspace-note {
    background: #fff2ee;
    border-radius: 14px;
    padding: 1rem 1.25rem;
    color: #555;
    font-size: 0.9rem;
}

.modeler-callout {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: #fff7f3;
    border-radius: 16px;
    padding: 1.5rem;
    border-left: 4px solid #ff6b6b;
}

.modeler-callout strong {
    color: #2d2d2d;
}

.callout-icon {
    font-size: 1.75rem;
}

.testimonials {
    text-align: center;
}

.testimonial-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-top: 2.5rem;
}

.testimonial {
    background: #faf6f1;
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.testimonial .quote {
    margin: 0;
    font-style: italic;
    color: #3d2c23;
    line-height: 1.7;
}

.testimonial .name {
    margin: 1.2rem 0 0;
    font-weight: 600;
    color: #7a6d63;
    font-size: 0.95rem;
}

.testimonial-cta {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.final-cta {
    text-align: center;
    padding: 4rem 0;
}

.final-cta p {
    margin: 0.5rem auto 2rem;
    max-width: 520px;
    color: #555;
}

@media (max-width: 860px) {
    .logo img {
        height: 120px;
    }
}

@media (max-width: 720px) {
    .nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    nav {
        width: 100%;
        flex-direction: column;
        gap: 0.5rem;
    }

    nav a {
        padding: 0.5rem 0;
        font-size: 1rem;
    }

    .logo {
        gap: 0.75rem;
        font-size: 1.1rem;
    }

    .logo img {
        height: 80px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.05rem;
    }

    .hero-cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta-row .cta,
    .hero-cta-row .ghost-cta,
    .hero-cta-row .secondary {
        width: 100%;
        text-align: center;
        display: block;
    }

    .flow {
        flex-direction: column;
        align-items: stretch;
        overflow-x: visible;
        padding-bottom: 0;
    }

    .flow-arrow {
        display: none;
    }

    .try-content {
        padding: 1.75rem 1.5rem;
    }

    .try-lead {
        font-size: 1.05rem;
    }

    .try-list {
        font-size: 1rem;
    }

    .try-list li {
        padding-left: 2rem;
    }

    .try-list li::before,
    .try-list li::after {
        width: 1.3rem;
        height: 1.3rem;
        top: 0.45rem;
    }

    .try-list li::after {
        font-size: 0.75rem;
        line-height: 1.3rem;
    }

    .modeler .container {
        gap: 2rem;
    }

    .modeler-board {
        padding: 2rem;
    }

    .modeler-board.modeler-board--embed {
        padding: 1.25rem;
    }

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

    .workspace-drawer {
        order: -1;
    }

    .table-header,
    .table-row {
        grid-template-columns: repeat(3, minmax(140px, 1fr));
        gap: 0.5rem;
    }

    .live-table {
        overflow-x: auto;
    }

    .table-header,
    .table-row {
        min-width: 540px;
    }

    .modeler-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .chart-bars {
        gap: 1rem;
    }

    .chart-tooltip {
        position: static;
        margin-top: 1.5rem;
    }
}

@media (max-width: 540px) {
    .modeler-board {
        padding: 1.6rem;
    }

    .modeler-board.modeler-board--embed {
        padding: 1rem;
    }

    .modeler-iframe {
        min-height: 480px;
    }

    .modeler-board header {
        flex-direction: column;
        align-items: flex-start;
    }

    .modeler-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .toolbar-right {
        width: 100%;
        justify-content: space-between;
    }

    .workspace-tab {
        padding: 0.4rem 0.9rem;
    }

    .panel-value {
        font-size: 1.9rem;
    }

    .chart-pair .bar {
        width: 30px;
    }

    .chart-axes {
        inset: 1.2rem 1.2rem auto 1.2rem;
    }

    .modeler-callout {
        flex-direction: column;
    }
}
.section-soft {
    background: #f7f1ea;
}

.section-contrast {
    background: #fff;
}

.section-airy {
    padding: 4rem 0;
}

.section-spacious {
    padding: 4.5rem 0;
}

.cta-band {
    padding: 3rem 0;
    background: #fff;
}

.cta-band-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-band h3 {
    margin: 0 0 0.5rem;
}

.cta-band p {
    margin: 0;
    color: #555;
    max-width: 520px;
}

.cta-band-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}
