:root {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
    color: #e6ecf0;
    background: #0b1116;
    font-synthesis: none
}

* {
    box-sizing: border-box
}

body {
    margin: 0
}

header, main, footer {
    max-width: 1240px;
    margin: auto
}

header {
    height: 94px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #243039
}

.brand {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #f3f6f8;
    font-size: 25px;
    text-decoration: none;
    font-weight: 750;
    letter-spacing: -1px
}

.logo {
    font-size: 38px;
    color: #abed8d
}

.tag {
    font-size: 11px;
    letter-spacing: 2px;
    border: 1px solid #465643;
    padding: 4px 6px;
    color: #b5ceaa;
    margin-left: 4px
}

.header-note {
    color: #8b9aa5;
    font-size: 14px
}

.intro {
    padding: 52px 0 38px
}

.eyebrow {
    color: #abd590;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0 0 15px
}

h1 {
    font-size: clamp(38px, 4.5vw, 58px);
    letter-spacing: -2.5px;
    line-height: 1.08;
    margin: 0 0 20px;
    font-weight: 650
}

h1 span {
    color: #a6e886
}

.intro > p:last-child {
    color: #9caab5;
    font-size: 17px;
    max-width: 540px;
    line-height: 1.6;
    margin: 0
}

.layout {
    display: grid;
    grid-template-columns:302px 1fr;
    gap: 24px;
    align-items: start
}

.panel {
    border: 1px solid #29343d;
    background: #111a21;
    border-radius: 16px
}

.controls {
    padding: 24px
}

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

h2 {
    font-size: 18px;
    letter-spacing: -.4px;
    margin: 0;
    font-weight: 600
}

button, input {
    font: inherit
}

button {
    cursor: pointer
}

button:focus-visible, input:focus-visible, a:focus-visible {
    outline: 2px solid #b2ed96;
    outline-offset: 4px
}

.panel-title button {
    background: none;
    border: 0;
    color: #afd998;
    font-size: 14px;
    padding: 5px 0
}

label {
    display: block;
    font-size: 14px;
    color: #b3bdc6;
    margin: 21px 0 9px
}

.input-wrap {
    display: flex;
    align-items: center;
    background: #0b1218;
    border: 1px solid #34414b;
    border-radius: 9px;
    padding: 13px 14px;
    gap: 8px
}

.input-wrap:focus-within {
    border-color: #a5df86
}

.input-wrap input {
    width: 100%;
    min-width: 0;
    background: transparent;
    border: 0;
    color: #f3f6fa;
    font-size: 20px;
    font-weight: 550;
    outline: none
}

.input-wrap span {
    font-size: 14px;
    color: #8d9da9
}

.hint {
    font-size: 13px;
    color: #8f9ca8;
    line-height: 1.6;
    margin: 10px 0
}

.presets {
    display: flex;
    gap: 5px;
    margin: 13px 0 23px
}

.presets button {
    flex: 1;
    padding: 8px 3px;
    font-size: 12px;
    border: 1px solid #34414b;
    border-radius: 6px;
    background: transparent;
    color: #a6b2bc
}

.presets button.active {
    color: #bcf09e;
    border-color: #7c9d6d;
    background: #213024
}

.primary {
    width: 100%;
    border: 0;
    background: #b1ed92;
    color: #182412;
    padding: 14px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 750
}

.primary:hover {
    background: #c3f6ab
}

.assumption {
    margin-top: 25px;
    border-top: 1px solid #2c3740;
    padding-top: 20px;
    display: flex;
    gap: 10px;
    color: #98a6af
}

.assumption p {
    font-size: 13px;
    line-height: 1.6;
    margin: 0
}

.mini-icon {
    flex-shrink: 0;
    border: 1px solid #61717d;
    border-radius: 50%;
    height: 19px;
    width: 19px;
    text-align: center;
    font-size: 12px
}

#error {
    color: #ffafa0;
    font-size: 14px;
    line-height: 1.5
}

.stats {
    display: grid;
    grid-template-columns:1.15fr 1.1fr 1fr;
    gap: 12px;
    margin-bottom: 22px
}

.stat {
    background: #141e26;
    border: 1px solid #29343d;
    border-radius: 13px;
    padding: 21px 18px
}

.stat p {
    font-size: 13px;
    color: #b3bdc6;
    margin: 0 0 16px
}

.stat strong {
    font-size: clamp(24px, 2.4vw, 32px);
    letter-spacing: -1px;
    display: block;
    white-space: nowrap
}

.stat span {
    display: block;
    font-size: 12px;
    color: #9ba9b2;
    margin-top: 12px;
    line-height: 1.5
}

.featured {
    background: #1c2d23;
    border-color: #4f6845
}

.featured strong, .featured span {
    color: #bbef9e
}

.chart-panel {
    padding: 26px;
    margin-bottom: 22px
}

.chart-heading {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.chart-heading .eyebrow {
    font-size: 11px;
    color: #99a8b5;
    margin-bottom: 8px
}

.pill {
    background: #23303a;
    border-radius: 7px;
    padding: 7px 11px;
    font-size: 12px;
    color: #bcc8d1
}

#chart {
    width: 100%;
    margin: 20px 0 5px;
    min-height: 240px
}

#chart svg {
    width: 100%;
    height: auto;
    display: block
}

.legend {
    display: flex;
    gap: 19px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #b7c3cb
}

.legend span {
    display: flex;
    align-items: center;
    gap: 7px
}

.legend i {
    width: 16px;
    height: 3px;
    display: inline-block
}

.green {
    background: #b1ed92
}

.purple {
    background: #a5a3ed
}

.gray {
    background: #768591
}

.breakdown {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    margin-top: 23px;
    border-top: 1px solid #2b3740;
    padding-top: 17px
}

.breakdown p {
    font-size: 12px;
    color: #9eacb7;
    margin: 0
}

.breakdown b {
    display: block;
    color: #dce4ea;
    font-size: 15px;
    margin-top: 7px;
    font-weight: 550
}

.history {
    padding: 24px
}

.history .panel-title {
    margin-bottom: 18px
}

.table-scroll {
    max-height: 285px;
    overflow: auto
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: right;
    font-size: 14px;
    white-space: nowrap
}

th {
    font-size: 12px;
    color: #8fa1ad;
    font-weight: 500;
    background: #111a21;
    position: sticky;
    top: 0
}

td, th {
    padding: 14px 10px;
    border-bottom: 1px solid #27333d
}

td:first-child, th:first-child {
    text-align: left
}

td:nth-child(3) {
    color: #b5e99d
}

.method {
    margin: 40px 0 45px;
    border-left: 2px solid #567247;
    padding-left: 20px;
    max-width: 960px
}

.method p {
    font-size: 14px;
    line-height: 1.8;
    color: #98a8b4
}

.method code {
    color: #c3d4bc;
    font-size: 13px
}

footer {
    border-top: 1px solid #26313a;
    padding: 25px 0 35px;
    display: flex;
    justify-content: space-between;
    color: #7d8c96;
    font-size: 12px
}

@media (max-width: 1300px) {
    header, main, footer {
        margin-left: 32px;
        margin-right: 32px
    }
}

@media (max-width: 900px) {
    .layout {
        grid-template-columns:1fr
    }

    .controls {
        padding: 22px
    }

    #inputs {
        display: grid;
        grid-template-columns:1fr 1fr;
        gap: 10px 20px
    }

    #inputs label {
        grid-column: 1/-1;
        margin-top: 8px
    }

    .input-wrap, .presets, .primary, #error, #inputs > .hint {
        grid-column: 1/-1
    }

    .assumption {
        margin-top: 5px
    }

    .stats {
        margin-top: 0
    }
}

@media (max-width: 550px) {
    header, main, footer {
        margin-left: 18px;
        margin-right: 18px
    }

    header {
        height: 76px
    }

    .header-note {
        display: none
    }

    .intro {
        padding-top: 35px
    }

    h1 {
        letter-spacing: -1.5px
    }

    .stats {
        grid-template-columns:1fr 1fr
    }

    .featured {
        grid-column: 1/-1
    }

    .stat {
        padding: 17px
    }

    .stat strong {
        font-size: 26px
    }

    .chart-panel, .history {
        padding: 18px
    }

    .legend {
        gap: 12px
    }

    .breakdown {
        flex-wrap: wrap;
        gap: 20px
    }

    footer {
        gap: 20px;
        flex-direction: column
    }

    .panel-title h2 {
        font-size: 16px
    }
}
/* Public bot presentation */
html{scroll-behavior:smooth;scroll-padding-top:24px}nav{display:flex;align-items:center;gap:25px}nav a{font-size:14px;color:#b8c4ce;text-decoration:none}nav a:hover{color:#b1ed92}.nav-cta{border:1px solid #527044;border-radius:8px;padding:10px 14px;color:#c4edb2}.skip-link{position:absolute;left:20px;top:-100px;background:#b1ed92;color:#122015;padding:12px;z-index:10}.skip-link:focus{top:10px}.hero{display:grid;grid-template-columns:1.2fr 1fr;gap:65px;align-items:center;padding:30px 0 60px}.hero .intro{padding:38px 0}.hero .intro>p{color:#a6b4be;line-height:1.7;font-size:17px;max-width:560px}.hero .intro>.eyebrow{color:#abd590;font-size:12px}.hero .intro>.hero-note{font-size:13px;color:#83959f;margin-top:20px}h1{font-size:clamp(42px,4.8vw,65px);line-height:1.07}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.action-link{display:inline-block;width:auto;text-align:center;text-decoration:none;font-size:14px;padding:14px 18px}.secondary{border:1px solid #43515c;border-radius:9px;color:#e1e8ed}.bot-preview{border:1px solid #34443c;border-radius:20px;background:radial-gradient(ellipse at top,#20352a,#101a20 70%);padding:24px;box-shadow:0 20px 60px #0003;transform:rotate(1deg)}.preview-title{display:flex;align-items:center;gap:12px;padding-bottom:20px;border-bottom:1px solid #3a4c43}.preview-title b{display:block;font-size:17px}.preview-title div>span{display:block;font-size:12px;color:#a1b5a7;margin-top:5px}.chat-bubble{background:#24313b;border:1px solid #35434d;border-radius:4px 14px 14px 14px;padding:17px;margin:17px 20px 0 0;font-size:14px;line-height:1.6}.chat-bubble p{color:#b6c3cb;margin:7px 0 0}.chat-bubble.sent{margin-left:auto;margin-right:0;width:max-content;background:#344b33;border-color:#4b6746;border-radius:14px 4px 14px 14px}.demo-buttons{display:flex;gap:6px;margin-top:14px}.demo-buttons span{padding:6px 12px;background:#17232c;border-radius:5px;color:#bad8ad;font-size:13px}.preview-foot{font-size:12px;text-align:center;color:#94ad9b;margin-top:23px;letter-spacing:1px}.content-section{padding:48px 0;border-top:1px solid #29343d}.section-heading{max-width:740px;margin-bottom:30px}.section-heading h2{font-size:clamp(26px,3vw,36px);letter-spacing:-1px;line-height:1.2}.section-heading>p:last-child{color:#a3b1bc;font-size:16px;line-height:1.75;margin-bottom:0}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:35px}.feature-grid article{padding-right:10px}.feature-symbol{font-size:28px;color:#b1ed92}.feature-grid h3,.steps h3,.command-group h3{font-size:18px;font-weight:600;margin:17px 0 12px}.feature-grid p,.steps p{font-size:15px;line-height:1.8;color:#9eafbb;margin:0}.onboarding{display:grid;grid-template-columns:1fr 1.5fr;gap:60px}.steps{margin:0;padding-left:25px}.steps li{padding:0 0 20px 13px}.steps li::marker{color:#b1ed92;font-weight:600}.steps h3{margin:0 0 8px}code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.9em;color:#c0dea9}.plan-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.plan{background:#121d24;border:1px solid #35434c;border-radius:14px;padding:24px 20px}.plan:first-child{border-color:#6d8c58;background:#1a2a21}.plan h3{font-size:19px;margin:0 0 20px}.price{font-size:29px;font-weight:600;letter-spacing:-1px;margin:0}.price small{font-size:13px;letter-spacing:0;color:#a6b5bf}.price span{display:block;font-size:13px;color:#9dabb6;letter-spacing:0;font-weight:400;margin-top:9px}.plan ul{list-style:none;padding:18px 0;border-top:1px solid #35434c;border-bottom:1px solid #35434c;margin:22px 0;font-size:14px;color:#c5ced4;line-height:2.3}.plan a{font-size:14px;color:#b9e29f}.plan>code{font-size:13px}.section-note{color:#8e9faa;font-size:14px;line-height:1.8;margin:22px 0 0}.command-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.command-group{border-top:2px solid #526747;padding-top:5px}.command-group dl{margin:0}.command-group dt{font-size:14px;overflow-wrap:anywhere;margin-top:20px;line-height:1.7}.command-group dd{margin:5px 0 0;color:#97a8b5;font-size:14px;line-height:1.65}.command-group h3{margin-bottom:25px}.simulator-section .method{margin-bottom:0}.faq details{border-bottom:1px solid #2f3c46;padding:20px 0}.faq summary{cursor:pointer;font-size:17px;color:#d7e3ec;line-height:1.5}.faq details p{color:#9caeba;font-size:15px;line-height:1.8;max-width:900px}.faq summary:focus-visible{outline:2px solid #b1ed92;outline-offset:5px}.controls label,.stat p,.breakdown p,.legend{font-size:14px}.hint,.assumption p{font-size:14px}.stat strong{font-size:clamp(23px,2.2vw,30px)}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media(max-width:1050px){.hero{gap:32px}.plan-grid{grid-template-columns:repeat(2,1fr)}nav{gap:15px}.hero-actions{flex-direction:column;align-items:flex-start}.command-grid{gap:18px}}
@media(max-width:800px){header{height:auto;padding:22px 0;gap:20px;flex-wrap:wrap}nav{gap:16px;flex-wrap:wrap}.hero{grid-template-columns:1fr;padding:0 0 35px;gap:10px}.hero .intro{padding:35px 0 12px}.bot-preview{transform:none;max-width:600px}.hero-actions{flex-direction:row}.feature-grid,.command-grid{grid-template-columns:1fr;gap:28px}.onboarding{grid-template-columns:1fr;gap:12px}.onboarding .section-heading{margin-bottom:10px}.content-section{padding:35px 0}.command-group{padding-top:0}.command-group dl{display:grid;grid-template-columns:1fr 1.2fr;gap:18px}.command-group dt,.command-group dd{margin:0}.feature-grid article{padding:0}.feature-grid h3{margin-top:10px}}
@media(max-width:480px){nav{gap:13px}nav a{font-size:13px}.nav-cta{padding:8px}.hero-actions{flex-direction:column;align-items:stretch}.plan-grid{grid-template-columns:1fr}.command-group dl{display:block}.command-group dt{margin-top:20px}.command-group dd{margin-top:5px}.preview-title div>span{font-size:11px}.chat-bubble{margin-right:0}.bot-preview{padding:18px}.stats{grid-template-columns:1fr}.featured{grid-column:auto}.stat strong{font-size:30px}.legend{font-size:13px}}
