:root {
    color-scheme: light;
    --ink: #152d39;
    --muted: #4b6468;
    --teal: #146052;
    --teal-dark: #0b453c;
    --paper: #f6f6f0;
    --white: #fffefa;
    --line: #d6dfd9;
    --gold: #ecd39b;
    --pale: #e5f2e9;
    --red: #892e29;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.55;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
button, input, textarea, select { font: inherit; }
a { color: var(--teal-dark); text-underline-offset: .19em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid #b25911; outline-offset: 4px; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(2rem, 5vw, 3.35rem); line-height: 1.08; letter-spacing: -.043em; overflow-wrap: anywhere; }
h2 { font-size: 1.15rem; line-height: 1.25; letter-spacing: -.016em; overflow-wrap: anywhere; }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.bar { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.55rem); }
.main { flex: 1; padding-block: clamp(1.7rem, 5vw, 4rem); }
.skip { position: absolute; left: 12px; top: -300px; background: #fff; padding: .5rem 1rem; z-index: 9; }
.skip:focus { top: 12px; }
.top { background: #1d3950; color: #fff; }
.top .bar { justify-content: space-between; padding-block: 16px; flex-wrap: wrap; }
.top a, .top .link { color: #fff; }
.top nav { display: flex; align-items: center; gap: clamp(.6rem, 2vw, 1.4rem); flex-wrap: wrap; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { display: block; }
.top-register { border: 1px solid #d6b372; border-radius: 7px; padding: .28rem .62rem; text-decoration: none; }
.foot { padding-block: 23px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.foot .bar { flex-wrap: wrap; }
.foot span { margin-right: auto; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 280px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.hero-content { padding: clamp(1.5rem, 5vw, 4.4rem); }
.hero h1 { max-width: 670px; }
.hero p { margin-top: 1.2rem; max-width: 51ch; color: var(--muted); font-size: 1.13rem; }
.hero-scan { display: grid; align-content: center; justify-items: center; gap: .8rem; color: var(--teal-dark); background: var(--pale); padding: 1.7rem .9rem; text-align: center; font-size: .9rem; }
.hero-scan img { display: block; padding: 8px; background: #fff; border: 1px solid #c5d6cc; border-radius: 10px; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.7rem; }
.button, button { display: inline-flex; width: fit-content; align-items: center; justify-content: center; padding: .64rem 1rem; min-height: 44px; border-radius: 8px; text-decoration: none; background: var(--teal); border: 1px solid var(--teal); color: #fff; cursor: pointer; font-weight: 680; text-align: center; }
.button:hover, button:hover { background: var(--teal-dark); }
.secondary { background: transparent; color: var(--teal-dark); border-color: #9eb7ac; }
.secondary:hover { background: var(--pale); }
button.link { display: inline; background: none; color: inherit; border: 0; padding: .28rem 0; min-height: auto; text-decoration: underline; text-underline-offset: .19em; font-weight: inherit; text-align: left; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 15px; padding: clamp(1rem, 3vw, 1.55rem); }
.panel h2 + p { margin-top: .55rem; }
.narrow { max-width: 34rem; margin-inline: auto; }
.narrow h1 { margin-bottom: 1.15rem; }
.registration > p:not(.notice), .login-register { margin-top: 1rem; }
.registration .form { margin-top: 1.3rem; }
.registration-links { display: flex; flex-wrap: wrap; gap: .55rem 1.2rem; }
.heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.3rem; flex-wrap: wrap; }
.heading p { color: var(--muted); margin-top: .45rem; }
.dashboard-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.dashboard-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); gap: .75rem; margin: 0 0 1.3rem; }
.dashboard-stats dt { color: var(--muted); }
.dashboard-stats dd { font-size: 1.8rem; font-weight: 720; line-height: 1; margin: .45rem 0 0; }
.status { background: #f2ecda; color: #52441c; padding: .32rem .64rem; border-radius: 7px; font-size: .86rem; font-weight: 670; }
.status.live { background: var(--pale); color: var(--teal-dark); }
.list-item { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: 1rem 0; }
.list-item:first-child { padding-top: .2rem; }
.list-item:last-child { padding-bottom: .2rem; }
.list-item + .list-item { border-top: 1px solid var(--line); }
.list-item p, .muted { color: var(--muted); font-size: .93rem; }
.list-item h3 { margin: 0; font-size: 1.08rem; overflow-wrap: anywhere; }
.back { display: inline-block; margin-bottom: .95rem; font-size: .92rem; }
.editor { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; gap: 1.15rem; }
.side, .form { display: grid; gap: .92rem; min-width: 0; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.form label { display: grid; gap: .35rem; font-size: .94rem; font-weight: 650; min-width: 0; }
.form input:not([type=checkbox]), .form textarea, .form select { display: block; width: 100%; color: var(--ink); border: 1px solid #aabdb2; border-radius: 8px; padding: .58rem .65rem; background: #fff; min-height: 43px; }
.form input[type=file]::file-selector-button { font: inherit; color: var(--teal-dark); background: var(--pale); border: 0; padding: .19rem .35rem; border-radius: 4px; margin-right: .4rem; }
.form textarea { resize: vertical; min-height: 90px; }
.form label small, .history small { font-size: .82rem; color: var(--muted); font-weight: 400; }
.form .check { grid-template-columns: auto 1fr; align-items: start; font-weight: 480; overflow-wrap: anywhere; }
.check input { accent-color: var(--teal); width: 17px; height: 17px; margin: .2rem .2rem 0 0; }
.spaced { margin-top: .25rem; }
details[open] > summary { margin-bottom: .7rem; }
details > label + label { margin-top: .75rem; }
summary { cursor: pointer; color: var(--teal-dark); }
.history { font-size: .9rem; }
.history p { margin-top: .72rem; }
.history small { display: block; }
.notice { margin-block: 0 .9rem; border: 1px solid #b8d2c5; background: var(--pale); border-radius: 8px; padding: .65rem .82rem; color: var(--teal-dark); }
.notice.error { border-color: #dda9a2; background: #fff0ed; color: var(--red); white-space: pre-line; }
[hidden] { display: none !important; }
.site-tools { margin-inline-start: auto; }
.tariffs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1rem; margin-block: 1rem; }
.help-topics ul { display: flex; flex-wrap: wrap; gap: .85rem 1.35rem; margin: 0; padding-inline-start: 1rem; }
#context-help { width: min(42rem, calc(100% - 1.5rem)); max-height: min(90vh, 48rem); border: 1px solid #adc2bf; border-radius: 14px; padding: 1.3rem; color: var(--ink); background: #fffefa; }
#context-help::backdrop { background: rgb(21 45 57 / .65); }
#context-help form { display: flex; justify-content: end; }
#context-help section { margin-block: 1rem; }
#context-help details { padding: .36rem .6rem; border-bottom: 1px solid #dce7e3; }
#context-help details p { margin: .4rem 0; }
.public-page { max-width: 720px; margin-inline: auto; }
.public-head { display: flex; gap: 1rem; align-items: start; justify-content: space-between; padding: clamp(1.05rem, 4vw, 1.8rem); background: var(--ink); color: #fff; border-radius: 16px; margin-bottom: .9rem; }
.public-head h1 { font-size: clamp(1.85rem, 5vw, 3rem); }
.public-head p { color: #dce9e6; margin-top: .48rem; }
.public-head .eyebrow { color: var(--gold); font-size: .88rem; margin: 0 0 .45rem; }
.public-head .language { color: #fff; white-space: nowrap; font-size: .86rem; }
.public-page .panel { margin-bottom: .75rem; }
.public-page h2 { margin-bottom: .65rem; }
.public-page address { font-style: normal; overflow-wrap: anywhere; }
.public-page ul { padding-left: 1.3rem; margin: 0; overflow-wrap: anywhere; }
.lines { white-space: pre-line; overflow-wrap: anywhere; }
.materials { margin: 0; }
.materials div { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; padding-block: .38rem; overflow-wrap: anywhere; }
.materials div + div { border-top: 1px solid var(--line); }
.materials dd { margin: 0; color: var(--muted); }
.release-info { color: var(--muted); font-size: .85rem; margin: .9rem 0 0; }
.hero .kicker { margin: 0 0 .65rem; font-size: .89rem; font-weight: 700; color: var(--teal-dark); }
.market-section { margin-top: clamp(2rem, 5vw, 4rem); }
.market-section h2 { font-size: clamp(1.48rem, 3vw, 2.15rem); letter-spacing: -.035em; }
.market-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; margin-top: 1rem; }
.market-grid h3 { margin: 0 0 .5rem; font-size: 1.07rem; }
.market-grid p, .use-case p { color: var(--muted); }
.use-case { display: grid; gap: 1.75rem; grid-template-columns: 1fr 1fr; }
.use-case p { margin: .7rem 0; }
.offer { display: grid; gap: 1.15rem; grid-template-columns: 1fr 1fr; background: var(--pale); }
.offer p + p { margin-top: .46rem; }
.offer .price { font-size: 2.25rem; font-weight: 740; line-height: 1.16; }
.price small { font-size: .85rem; font-weight: 650; }
.offer .button { margin-top: .8rem; }
.faq details { border-bottom: 1px solid var(--line); margin-top: .8rem; padding: .35rem 0 .65rem; }
.faq p { margin-bottom: .48rem; color: var(--muted); }
.legal { max-width: 730px; }
.legal h2 { margin: 1.55rem 0 .5rem; }
.legal p + p { margin-top: .6rem; }
.table-wrap { overflow: auto; }
.year-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.year-table th, .year-table td { padding: .55rem .4rem; text-align: left; border-bottom: 1px solid var(--line); }
.year-table th:last-child, .year-table td:last-child { text-align: right; }
@media (max-width: 760px) {
    .wrap { width: calc(100% - 32px); }
    .editor, .hero { grid-template-columns: minmax(0, 1fr); }
    .hero-scan { justify-content: center; }
    .market-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .use-case, .offer { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 460px) {
    .wrap { width: calc(100% - 24px); }
    .fields { grid-template-columns: minmax(0, 1fr); }
    .public-head { flex-wrap: wrap; }
    .top nav { width: 100%; font-size: .9rem; }
    .market-grid { grid-template-columns: minmax(0, 1fr); }
}
