/* The public site, in the green direction of the board "Home · direzione scelta (verde)": a night
 * green band for the hero and the footer, a pale green ground, white sheets, one warm accent for the
 * step a person is waited at. Typefaces served by this site (fonts/, SIL Open Font Licence beside
 * each): nothing is fetched from another host, and no inline style is allowed by the policy, so
 * every look is a class here. */

@font-face {
    font-family: "Bricolage Grotesque";
    font-weight: 600 800;
    font-display: swap;
    src: url("/fonts/BricolageGrotesque-Latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Bricolage Grotesque";
    font-weight: 600 800;
    font-display: swap;
    src: url("/fonts/BricolageGrotesque-LatinExt.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face { font-family: "Plus Jakarta Sans"; font-weight: 400; font-display: swap; src: url("/fonts/PlusJakartaSans-Regular.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 500; font-display: swap; src: url("/fonts/PlusJakartaSans-Medium.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 600; font-display: swap; src: url("/fonts/PlusJakartaSans-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 700; font-display: swap; src: url("/fonts/PlusJakartaSans-Bold.woff2") format("woff2"); }

:root {
    --ground: #f2f6f3;
    --sheet: #ffffff;
    --ink: #10271f;
    --quiet: #45584e;
    --rule: #d6e4db;
    --night: #10271f;
    --night-2: #1d4434;
    --night-line: #3a6b55;
    --on-night: #f2f6f3;
    --on-night-quiet: #cde5d8;
    --accent: #1f7a55;
    --accent-dark: #155c40;
    --go: #2fa56f;
    --go-ink: #0b1f18;
    --mint: #8eddb6;
    --chip: #e2f2e8;
    --chip-ink: #175c3f;
    --muted-chip: #e6ece8;
    --ok: #dcf1e5;
    --wait-line: #b9d3c3;
    --hot: #e8561c;
    --hot-ground: #fff6ef;
    --hot-line: #ffd9c2;
    --hot-ink: #9a3412;

    --display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
    --text: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --width: 1240px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--ground);
    color: var(--ink);
    font-family: var(--text);
    font-size: 17px;
    line-height: 1.55;
}

a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

h1, h2 { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: 44px; line-height: 1.1; margin: 0 0 32px; }

.bar { max-width: var(--width); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.quiet { color: var(--quiet); }
.small { font-size: 14px; }
.mint { color: var(--mint); }

/* ------------------------------------------------------------------ header and footer */

.masthead { background: var(--night); color: var(--on-night); }
.masthead .bar { padding-top: 20px; padding-bottom: 20px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; margin: -14px 0 -14px -6px; }
.brand-logo { display: block; width: auto; height: 60px; }
.main-nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 15px; }
.main-nav a, .languages a { color: var(--on-night-quiet); text-decoration: none; }
.main-nav a:hover, .languages a:hover { color: #ffffff; text-decoration: underline; }
.bar-end { display: flex; gap: 16px; align-items: center; }
.languages { display: flex; gap: 10px; font-size: 14px; }
.languages span { color: #ffffff; font-weight: 700; }

.footer { background: var(--night); color: var(--on-night-quiet); }
.footer .bar { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: 14px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-logo { display: block; width: auto; height: 48px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: var(--on-night-quiet); }

/* ------------------------------------------------------------------ buttons and badges */

.button { display: inline-flex; align-items: center; min-height: 48px; padding: 14px 24px; border-radius: 14px; font-weight: 700; text-decoration: none; border: 1px solid transparent; }
.button.primary { background: var(--accent); color: #ffffff; }
.button.primary:hover { background: var(--accent-dark); color: #ffffff; }
.button.go { background: var(--go); color: var(--go-ink); }
.button.go:hover { background: var(--mint); color: var(--go-ink); }
.button.light { background: #ffffff; color: var(--ink); }
.button.light:hover { background: var(--chip); color: var(--ink); }
.button.outline { border-color: var(--night-line); color: #ffffff; font-weight: 600; }
.button.outline:hover { background: var(--night-2); color: #ffffff; }
.button.disabled { opacity: 0.7; cursor: default; }
.masthead .button { min-height: 44px; padding: 10px 18px; border-radius: 999px; font-size: 15px; }

.badge { display: inline-flex; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--chip); color: var(--chip-ink); }
.badge.dark { background: var(--night-2); color: var(--mint); }
.badge.solid { background: var(--accent); color: #ffffff; }
.badge.hot { background: var(--hot-ground); color: var(--hot-ink); border: 1px solid var(--hot-line); }

/* ------------------------------------------------------------------ hero */

.hero { background: var(--night); color: var(--on-night); }
.hero-grid { padding-top: 72px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-words { flex: 1 1 520px; min-width: 0; }
.hero-words .badge { margin-bottom: 24px; color: var(--on-night-quiet); }
.hero h1 { font-size: 72px; line-height: 0.98; margin: 0 0 24px; letter-spacing: -0.03em; }
.lead { font-size: 19px; color: var(--on-night-quiet); margin: 0 0 36px; max-width: 560px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-after { font-size: 14px; color: var(--on-night-quiet); margin: 14px 0 0; }
.hero-card-column { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.release-card { background: var(--sheet); color: var(--ink); border-radius: 22px; padding: 28px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35); }
.release-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 13px; }
.release-title { font-family: var(--display); font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.release-card .quiet { font-size: 15px; }
.signatures { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-weight: 600; }
.signatures li { display: flex; align-items: center; gap: 12px; border-radius: 14px; padding: 12px 14px; }
.signatures .signed { background: var(--ok); color: var(--chip-ink); }
.signatures .waiting { border: 2px dashed var(--wait-line); color: var(--quiet); padding: 10px 14px; }
.hero-note { font-size: 14px; color: var(--on-night-quiet); text-align: center; margin: 0; }

/* ------------------------------------------------------------------ sections */

.section { padding-top: 88px; }
.sheet { background: var(--sheet); border: 1px solid var(--rule); border-radius: 22px; padding: 28px; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.two .sheet p { margin: 18px 0 0; }
.domains { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.step { background: var(--sheet); border: 1px solid var(--rule); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.step strong { font-size: 19px; }
.step .quiet { font-size: 15px; }
.step-number { width: 44px; height: 44px; border-radius: 12px; background: var(--chip); color: var(--chip-ink); font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.step.last { background: var(--hot-ground); border-color: var(--hot-line); }
.step.last .step-number { background: var(--hot); color: #ffffff; }

.demo { background: var(--night); color: var(--on-night); border-radius: 28px; padding: 48px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.demo h2 { font-size: 40px; margin-bottom: 14px; }
.demo p { color: var(--on-night-quiet); margin: 0 0 24px; }
.demo-words { flex: 1 1 340px; min-width: 0; }
.demo-stage { flex: 2 1 520px; min-width: 0; height: 360px; border-radius: 20px; background: var(--night-2); display: flex; align-items: center; justify-content: center; color: var(--on-night-quiet); font-size: 14px; font-weight: 600; }

.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.facts li { display: flex; flex-direction: column; gap: 8px; }
.facts strong { font-size: 18px; }

.intro { margin: -16px 0 32px; max-width: 720px; }
.plan { padding: 36px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.plan.featured { border: 2px solid var(--accent); }
.plan.night { background: var(--night); color: var(--on-night); border-color: var(--night); }
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; width: 100%; font-size: 20px; }
.first-month { background: var(--chip); border-radius: 18px; padding: 18px 20px; margin: 10px 0 6px; width: 100%; }
.first-label { font-size: 14px; font-weight: 700; color: var(--chip-ink); margin-bottom: 4px; }
.price-row { display: flex; align-items: baseline; gap: 10px; }
.price { font-family: var(--display); font-weight: 800; font-size: 32px; }
.price.big { font-size: 64px; line-height: 1; }
.plan .button { margin-top: 12px; }
.connectors { margin-top: 20px; padding: 32px; }
.chips { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: var(--chip); color: var(--chip-ink); font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 999px; }
.chip.muted { background: var(--muted-chip); color: var(--quiet); }

.faq { display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.faq details { background: var(--sheet); border: 1px solid var(--rule); border-radius: 16px; padding: 18px 22px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { margin: 12px 0 0; }

.closing { background: var(--accent); color: #ffffff; margin-top: 88px; }
.closing-grid { padding-top: 80px; padding-bottom: 80px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.closing h2 { font-size: 42px; margin: 0; flex: 1 1 520px; min-width: 0; }

.page { padding-top: 72px; padding-bottom: 96px; }
.narrow { max-width: 760px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.page h1 { font-size: 48px; margin: 0 0 16px; }

:focus-visible { outline: 3px solid var(--hot); outline-offset: 2px; }

/* ------------------------------------------------------------------ the purchase */

.purchase-hero { background: var(--night); color: var(--on-night); }
.purchase-hero .bar { padding-top: 56px; padding-bottom: 64px; }
.purchase-hero h1 { font-size: 52px; line-height: 1.05; margin: 18px 0 14px; }
.purchase-hero .lead { margin: 0; max-width: 720px; }

.purchase { padding-top: 40px; padding-bottom: 96px; }
.purchase-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.purchase-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }

.block { margin: 0; border: 1px solid var(--rule); min-width: 0; }
.block legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; padding: 0; margin: 0 0 18px; font-family: var(--display); font-weight: 800; font-size: 22px; }
/* Every sibling after the legend, not only the first: a hidden first one would let the fields sit beside the float. */
.block legend ~ * { clear: both; }
.block-number { width: 32px; height: 32px; border-radius: 10px; background: var(--chip); color: var(--chip-ink); font-family: var(--text); font-size: 15px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.block .sub { font-size: 14px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; color: var(--quiet); margin: 22px 0 12px; }

.fields { display: grid; gap: 16px 18px; }
.fields.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 14px; font-weight: 700; }
.field input, .field select {
    font: inherit; font-size: 15px; color: var(--ink); background: var(--ground);
    border: 1px solid var(--wait-line); border-radius: 12px; padding: 12px 14px; min-height: 48px; width: 100%;
}
.field input:focus, .field select:focus { outline: 3px solid var(--chip); border-color: var(--accent); background: #ffffff; }
.field .hint, .hint { font-size: 13px; color: var(--quiet); }
.hint.center { text-align: center; margin: 0; }
.hint.warn { color: var(--hot-ink); }
.hint[hidden] { display: none; }
.field .problem { font-size: 13px; font-weight: 700; color: var(--hot-ink); }
.field.wrong input, .field.wrong select { border-color: var(--hot); background: var(--hot-ground); }

.field.check { flex-direction: row; align-items: flex-start; gap: 12px; padding: 4px 4px 0; }
.field.check input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--accent); flex: none; }
.field.check label { font-weight: 500; }
.field.check.wrong label { color: var(--hot-ink); }

.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.choices.wrong .choice { border-color: var(--hot); }
.choice { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid var(--rule); border-radius: 16px; background: var(--ground); cursor: pointer; }
.choice:has(input:checked) { border-color: var(--accent); background: var(--chip); }
.choice input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.choice-body { display: flex; flex-direction: column; gap: 4px; }
.choice.disabled { cursor: default; opacity: 0.6; }

.alert { background: var(--hot-ground); border: 1px solid var(--hot-line); color: var(--hot-ink); border-radius: 18px; padding: 18px 22px; }
.alert ul { margin: 8px 0 0; padding-left: 20px; }
.alert a { color: var(--hot-ink); }

.button.wide { width: 100%; justify-content: center; font-size: 17px; min-height: 56px; }

.purchase-summary { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 12px; }
.summary h2 { font-size: 24px; margin: 0 0 16px; }
/* The order's total, as chosen: worked out by the server, and again by purchase.js as one chooses. */
.order-total { margin: 0 0 18px; padding: 14px 16px; border-radius: 12px; background: var(--ground); display: flex; flex-direction: column; gap: 6px; }
.order-total .total-line { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
/* The label takes what is left and wraps; the amount keeps its figures on one line, aligned to the right. */
.order-total .total-line > :first-child { flex: 1 1 auto; min-width: 0; }
.order-total .total-line > :last-child:not(:first-child) { flex: none; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.order-total strong { font-size: 22px; }
.order-total .voucher-off { padding: 10px 12px; border-radius: 10px; background: #fff4e0; border: 1px solid #f0c98a; }
.order-total .voucher-off strong { font-size: 14px; }
/* The addresses proposed under the street, as one types. */
.address-field { position: relative; }
.suggestions { position: absolute; z-index: 5; top: 74px; left: 0; right: 0; margin: 0; padding: 4px 0; list-style: none; background: var(--sheet); border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12); }
.suggestions li { padding: 9px 12px; font-size: 14px; cursor: pointer; }
.suggestions li:hover, .suggestions li.on { background: var(--ground); }
/* What the EU says of the VAT number. */
.vat-status { display: block; margin-top: 4px; font-size: 13px; color: var(--quiet); }
.vat-status:empty { display: none; }
/* Step 3's fields sit in a wrapper each, shown by country: the wrapper is the grid cell, the field fills it. */
[data-fiscal] > .field { height: 100%; }
.vat-status.ok { color: var(--accent); font-weight: 700; }
.vat-status.wrong { color: var(--hot-ink); font-weight: 700; }
/* On to Stripe: said while the order is taken and Stripe's page opens. */
.to-stripe { max-width: 440px; padding: 28px 30px; border: 0; border-radius: 16px; text-align: center; }
.to-stripe::backdrop { background: rgba(10, 20, 15, 0.55); }
.to-stripe h2 { margin: 0 0 10px; font-size: 22px; }

.summary-lines { margin: 0 0 14px; display: flex; flex-direction: column; gap: 12px; }
.summary-lines div { display: flex; flex-direction: column; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.summary-lines dt { font-weight: 700; }
.summary-lines dd { margin: 0; color: var(--quiet); font-size: 14px; }
.summary-points { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.summary-points li { position: relative; padding-left: 24px; }
.summary-points li::before { content: ""; position: absolute; left: 4px; top: 4px; width: 5px; height: 9px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.summary-after { text-align: center; margin: 0; }

.closed { max-width: 640px; }
.closed h2 { font-size: 30px; margin: 0 0 10px; }

.lead-dark { font-size: 19px; color: var(--quiet); margin: 0 0 24px; }
.next { font-size: 26px; margin: 36px 0 14px; }
.next-steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }

/* ------------------------------------------------------------------ narrow screens */

@media (max-width: 900px) {
    .hero h1 { font-size: 48px; }
    h2 { font-size: 34px; }
    .two, .steps, .domains { grid-template-columns: 1fr; }
    .demo { padding: 28px; }
    .demo-stage { height: 220px; }
    .price.big { font-size: 52px; }
    .closing h2 { font-size: 32px; }
    .purchase-grid { grid-template-columns: 1fr; }
    .purchase-summary { position: static; order: -1; }
    .fields.two-up { grid-template-columns: 1fr; }
    .purchase-hero h1 { font-size: 38px; }
}

/* ------------------------------------------------------------------ two audiences */

.hero h1.compact { font-size: 56px; line-height: 1.04; }
h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.01em; font-size: 26px; line-height: 1.15; margin: 18px 0 0; }
.path { padding: 36px; display: flex; flex-direction: column; align-items: flex-start; }
.path .quiet { margin: 14px 0 0; }
.path .button { margin-top: auto; }
.bullets { list-style: none; margin: 18px 0 28px; padding: 0; display: flex; flex-direction: column; gap: 10px; font-weight: 600; }
.bullets li { position: relative; padding-left: 28px; }
.bullets li::before { content: ""; position: absolute; left: 6px; top: 5px; width: 6px; height: 11px; border: solid var(--accent); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

.proof { list-style: none; margin: 0; padding: 32px 36px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; background: var(--sheet); border: 1px solid var(--rule); border-radius: 22px; }
.proof li { display: flex; flex-direction: column; gap: 6px; }
.proof-value { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; color: var(--accent); }
.proof .quiet { font-size: 15px; }

.cards { display: grid; gap: 20px; }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards .sheet strong { font-size: 19px; }
.cards .sheet p { margin: 10px 0 0; font-size: 15.5px; }
.dept { display: flex; flex-direction: column; }
.dept .step-number { margin-bottom: 14px; }
.steps.flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.need { padding: 36px; }
.need h3 { margin-top: 0; }
.need p { margin: 12px 0 0; max-width: 760px; }

.chat { display: flex; flex-direction: column; gap: 12px; }
.bubble { border-radius: 18px; padding: 14px 18px; font-weight: 500; max-width: 92%; }
.bubble.you { align-self: flex-end; background: var(--chip); color: var(--chip-ink); border-bottom-right-radius: 6px; }
.bubble.agent { align-self: flex-start; background: var(--ground); border: 1px solid var(--rule); border-bottom-left-radius: 6px; }
.file { display: flex; align-items: center; gap: 14px; margin-top: 6px; padding: 16px 18px; border-radius: 16px; background: var(--ok); color: var(--chip-ink); }
.file-words { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }

@media (max-width: 900px) {
    .hero h1.compact { font-size: 38px; }
    .cards.three, .steps.flow, .proof { grid-template-columns: 1fr; }
    .path, .need { padding: 24px; }
}

/* ------------------------------------------------------------------ partners: the editor, the cards, the stack */

.vscode { background: #1e1e1e; color: #cccccc; border-radius: 14px; overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45); font-size: 13px; }
.vs-title { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #323233; }
.vs-title .dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r { background: #ff5f57; }
.dot.y { background: #febc2e; }
.dot.g { background: #28c840; }
.vs-name { margin-left: 10px; font-size: 12px; color: #9d9d9d; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vs-body { display: flex; }
.vs-files { list-style: none; margin: 0; padding: 12px 0; width: 118px; flex: none; background: #252526; font-size: 11.5px; line-height: 1.9; }
.vs-files li { padding: 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vs-files li.sub { padding-left: 18px; }
.vs-files li.current { background: #37373d; color: #ffffff; }
.vs-editor { flex: 1; min-width: 0; }
.vs-tab { display: inline-block; padding: 8px 16px; background: #1e1e1e; border-top: 2px solid #007acc; font-size: 12px; color: #ffffff; }
.code { margin: 0; padding: 10px 12px 14px; font: 11.5px/1.65 ui-monospace, "Cascadia Code", Consolas, Menlo, monospace; overflow: hidden; color: #d4d4d4; background: #1e1e1e; }
.code .k { color: #569cd6; }
.code .t { color: #4ec9b0; }
.code .s { color: #ce9178; }
.code .n { color: #b5cea8; }
.code .c { color: #6a9955; }
.vs-git { background: #181818; border-top: 1px solid #2b2b2b; padding: 6px 12px 2px; }
.vs-git svg { display: block; font: 600 11px ui-monospace, Consolas, Menlo, monospace; }
.vs-git path { fill: none; stroke-width: 2.4; }
.g-main { stroke: #8eddb6; }
.g-a { stroke: #4ec9b0; }
.g-b { stroke: #e8561c; }
.d-main { fill: #8eddb6; }
.d-a { fill: #4ec9b0; }
.d-b { fill: #e8561c; }
.d-b-open { fill: #181818; stroke: #e8561c; stroke-width: 2.4; }
.l-main { fill: #8eddb6; }
.l-a { fill: #4ec9b0; }
.l-b { fill: #f4a37d; }
.vs-status { display: flex; align-items: center; gap: 8px; padding: 5px 14px; background: #007acc; color: #ffffff; font-size: 12px; }
.vs-status .grow { flex: 1; }

.feature { position: relative; overflow: hidden; padding: 28px; }
.feature > * { position: relative; }
.feature .watermark { position: absolute; right: -28px; bottom: -34px; width: 190px; height: 190px; color: var(--accent); opacity: 0.09; pointer-events: none; }
.feature .icon, .node .icon { width: 48px; height: 48px; border-radius: 14px; background: var(--chip); color: var(--accent); display: flex; align-items: center; justify-content: center; flex: none; }
.feature .icon { margin-bottom: 18px; }
.feature p { margin: 10px 0 0; color: var(--quiet); font-size: 15.5px; }
.feature.dark { background: var(--night); border-color: var(--night); color: var(--on-night); }
.feature.dark .icon { background: var(--night-2); color: var(--mint); }
.feature.dark p { color: var(--on-night-quiet); }
.feature.dark .watermark { color: var(--mint); opacity: 0.12; }

.stack { background: var(--sheet); border: 1px solid var(--rule); border-radius: 22px; padding: 12px; display: flex; flex-direction: column; gap: 12px; }
.layer { border-radius: 16px; padding: 16px 18px 18px; background: var(--ground); }
.layer.own { background: var(--chip); border: 2px solid var(--accent); }
.layer-name { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--quiet); margin-bottom: 12px; }
.layer.own .layer-name { color: var(--chip-ink); }
.nodes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.node { display: flex; align-items: center; gap: 14px; background: var(--sheet); border: 1px solid var(--rule); border-radius: 14px; padding: 14px; min-width: 0; }
.node-words { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.node-words .quiet { font-size: 13.5px; }

.handover .inputs { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.input { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 2px dashed var(--wait-line); border-radius: 14px; font-weight: 600; flex-wrap: wrap; }
.input svg { color: var(--accent); flex: none; }
.handover .file { margin-top: 14px; }

@media (max-width: 900px) {
    .vs-files { display: none; }
}

/* ------------------------------------------------------------------ the city, as a map and as a demonstration */

.city-art { background: #070d0b; border-radius: 22px; padding: 16px 16px 12px; position: relative; overflow: hidden; }
.city-art svg { display: block; width: 100%; height: auto; font-family: var(--text); }
.ca-road { fill: none; stroke: #16241f; stroke-width: 16; }
.ca-road-dash { fill: none; stroke: #2c4a3d; stroke-width: 1; stroke-dasharray: 6 10; }
.ca-wall { fill: none; stroke: #2f5645; stroke-width: 6; }
.ca-gate { fill: #0d1a15; stroke: #3be3c0; stroke-width: 1.6; }
.ca-gate.red { stroke: #ff5e7a; }
.ca-link { stroke: #1a2c25; stroke-width: 1.5; stroke-dasharray: 3 5; }
.ca-d { fill: #0f1d18; stroke: #2c4a3d; stroke-width: 1.4; }
.ca-dbar { stroke: none; }
.d-product { fill: #ff9ad5; } .d-functional { fill: #7de0d0; } .d-development { fill: #8fa8ff; } .d-quality { fill: #9be7ff; }
.d-delivery { fill: #dfe8ff; } .d-acceptance { fill: #7dffb2; } .d-billing { fill: #b79cff; } .d-collections { fill: #ffc24b; } .d-support { fill: #ffd27a; }
.ca-d.d-product, .ca-d.d-functional, .ca-d.d-development, .ca-d.d-quality, .ca-d.d-delivery, .ca-d.d-acceptance, .ca-d.d-billing, .ca-d.d-collections, .ca-d.d-support { fill: #0f1d18; }
.ca-dt { fill: #f2f6f3; font-size: 15.5px; font-weight: 600; }
.ca-station { fill: #0f2a22; stroke: #8eddb6; stroke-width: 1.6; }
.ca-station.red { stroke: #ff5e7a; fill: #2a1218; }
.ca-st { fill: #cde5d8; font-size: 15px; font-weight: 600; }
.ca-plaza { fill: #0b1a15; }
.ca-plaza-ring { fill: none; stroke: #8eddb6; stroke-width: 1.4; opacity: .7; }
.ca-tower { fill: #12302a; stroke: #8eddb6; stroke-width: 1.6; }
.ca-spire { fill: #8eddb6; }
.ca-tt { fill: #8eddb6; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.car.amber { fill: #ffc24b; } .car.teal { fill: #3be3c0; } .car.red { fill: #ff5e7a; }
.ca-mark circle { fill: var(--go); }
.ca-mark text { fill: var(--go-ink); font-size: 17px; font-weight: 800; font-family: var(--display); }
.ca-mark.hot circle { fill: var(--hot); }
.ca-mark.hot text { fill: #ffffff; }
.ca-legend { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: var(--on-night-quiet); }
.ca-legend li { display: flex; align-items: center; gap: 8px; }
.ca-legend .sw { width: 16px; height: 6px; border-radius: 3px; display: inline-block; }
.ca-legend .sw.teal { background: #3be3c0; } .ca-legend .sw.amber { background: #ffc24b; } .ca-legend .sw.red { background: #ff5e7a; } .ca-legend .sw.blue { background: #4d9be6; }
@media (prefers-reduced-motion: reduce) { .city-art .cars { display: none; } }

.how-city { margin-top: 48px; }
.how-city-words { max-width: 760px; margin-bottom: 22px; }
.how-city-words h3 { margin-top: 0; }
.how-city-words p { margin: 14px 0 0; }

.demo-try { flex: 2 1 520px; min-width: 0; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.demo-try li { position: relative; padding: 18px 20px 18px 54px; border-radius: 16px; background: var(--night-2); color: var(--on-night); font-weight: 600; }
.demo-try li::before { content: ""; position: absolute; left: 22px; top: 22px; width: 7px; height: 13px; border: solid var(--mint); border-width: 0 3px 3px 0; transform: rotate(45deg); }

.demo-head { padding-top: 48px; padding-bottom: 28px; }
.demo-head h1 { font-size: 44px; line-height: 1.08; margin: 16px 0 12px; max-width: 900px; }
.demo-head p { max-width: 820px; margin: 0; }
.demo-after { padding-top: 56px; padding-bottom: 8px; }
.button.outline-dark { border-color: var(--accent); color: var(--accent); font-weight: 600; background: transparent; }
.button.outline-dark:hover { background: var(--chip); }
.sheet .actions { margin-top: 22px; }

@media (max-width: 900px) {
    .how-city { grid-template-columns: 1fr; }
    .demo-head h1 { font-size: 32px; }
}

/* ------------------------------------------------------------------ the customer area */

.signin-link { color: var(--on-night-quiet); text-decoration: none; font-size: 15px; font-weight: 600; }
.signin-link:hover { color: #ffffff; text-decoration: underline; }

.signin h1 { font-size: 40px; margin: 18px 0 12px; }
.signin .alert { margin-bottom: 20px; }
.signin-form { display: flex; flex-direction: column; gap: 18px; padding: 32px; }
.signin-form .button.wide { margin-top: 4px; }

.account { padding-top: 56px; }
.account-head { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; }
.account-head h1 { font-size: 42px; margin: 14px 0 6px; }
.account > .sheet, .account > .env { margin-bottom: 20px; }
.env { padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.env-head { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: flex-start; }
.env-head h2 { font-size: 28px; margin: 0 0 4px; }
.env p { margin: 0; }
.env .button { align-self: flex-start; margin-top: 4px; }

.progress { list-style: none; margin: 4px 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.progress li { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: var(--quiet); border-top: 4px solid var(--rule); padding-top: 12px; }
.progress .dot { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--rule); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; background: var(--sheet); }
.progress li.done { color: var(--ink); border-top-color: var(--go); }
.progress li.done .dot { background: var(--go); border-color: var(--go); color: var(--go-ink); }
.progress li.current { color: var(--ink); border-top-color: var(--accent); }
.progress li.current .dot { border-color: var(--accent); color: var(--accent); }
.progress li.stuck { color: var(--hot-ink); border-top-color: var(--hot); }
.progress li.stuck .dot { border-color: var(--hot); background: var(--hot-ground); color: var(--hot-ink); }

.env-details { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px 24px; }
.env-details div { display: flex; flex-direction: column; gap: 2px; }
.env-details dt { font-size: 13px; font-weight: 700; color: var(--quiet); }
.env-details dd { margin: 0; }

@media (max-width: 900px) {
    .progress { grid-template-columns: 1fr; }
    .progress li { flex-direction: row; align-items: center; border-top: 0; border-left: 4px solid var(--rule); padding: 0 0 0 12px; }
    .progress li.done { border-left-color: var(--go); }
    .progress li.current { border-left-color: var(--accent); }
    .progress li.stuck { border-left-color: var(--hot); }
    .env, .signin-form { padding: 22px; }
    .signin h1, .account-head h1 { font-size: 32px; }
}

/* ------------------------------------------------------------------ articles: the guide and the examples */

.article { max-width: 780px; margin: 0 auto; padding: 72px 24px 96px; }
.article.wide { max-width: var(--width); }
.article h1 { font-size: 48px; line-height: 1.08; margin: 18px 0 16px; }
.article h2 { font-size: 32px; margin: 56px 0 16px; }
.article p, .article li { font-size: 18px; line-height: 1.65; }
.article .bullets { font-weight: 500; }
.article-lead { font-size: 21px; line-height: 1.55; margin: 0 0 8px; max-width: 760px; }
.toc { margin: 32px 0 8px; padding: 22px 26px; background: var(--sheet); border: 1px solid var(--rule); border-radius: 18px; }
.toc ol { margin: 10px 0 0; padding-left: 22px; }
.toc li { font-size: 16px; line-height: 1.8; }
.cards.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.example h3 { font-size: 21px; margin: 0 0 12px; }
.example p { font-size: 16px; margin: 10px 0 0; }
.example-ask { font-style: italic; }
.example-ask strong { font-style: normal; }
.article-next { margin-top: 64px; }
.article-next .small { margin: 18px 0 0; }
.more { margin: 24px 0 0; font-weight: 600; }

@media (max-width: 900px) {
    .article h1 { font-size: 36px; }
    .article h2 { font-size: 26px; }
    .cards.two-up { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ the company map of "how it works" */

.company-map svg text { font-family: var(--text); }
.company-map .halo { paint-order: stroke; stroke: #0a0f17; stroke-width: 4px; }
.company-map .window { animation-name: blink; animation-iteration-count: infinite; }
.company-map .window.w1 { animation-duration: 2.2s; } .company-map .window.w2 { animation-duration: 3.1s; }
.company-map .window.w3 { animation-duration: 3.9s; } .company-map .window.w4 { animation-duration: 4.7s; }
.company-map .pulse { animation: pulse 1.6s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: .85; } 50% { opacity: .25; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .company-map .window, .company-map .pulse { animation: none; } }

/* ------------------------------------------------------------------ your own API key, said plainly */

.api-key { display: flex; gap: 16px; align-items: flex-start; margin: 22px 0 0; padding: 18px 22px; border-radius: 16px; background: #fff6df; border: 2px solid #e2a53c; color: #3d2c06; }
.api-key-icon { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #e2a53c; color: #ffffff; }
.api-key-words { display: flex; flex-direction: column; gap: 4px; }
.api-key-words strong { font-size: 18px; }
.api-key-words span { font-size: 15.5px; line-height: 1.5; }

/* ------------------------------------------------------------------ the customer area's passwords */

.alert.ok { background: #e7f6ee; border-color: #8fd3ae; color: #14452c; }
.signin-form h2 { font-size: 26px; margin: 0 0 8px; }
.account-head .actions { display: flex; gap: 10px; align-items: center; }
.pay { margin: 18px 0 28px; }
.pay-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pay-link { margin: 18px 0 24px; padding: 18px 20px; border: 1px solid var(--rule); border-radius: 16px; background: var(--sheet); display: flex; flex-direction: column; gap: 10px; }
.pay-link input { width: 100%; font-family: ui-monospace, monospace; font-size: 14px; padding: 10px 12px; border: 1px solid var(--rule); border-radius: 10px; background: #f6faf8; }
.pay-link p { margin: 0; }
@media (max-width: 640px) { .pay-choice { grid-template-columns: 1fr; } }

/* How it works: the demonstration's city, framed. Not clickable: the link under it opens the demo. */
.city-3d { padding: 0; }
.city-3d iframe { display: block; width: 100%; aspect-ratio: 16 / 10; min-height: 320px; border: 0; pointer-events: none; background: #050812; }
.city-3d .ca-legend { padding: 10px 16px 0; }
.city-3d-open { display: inline-block; margin: 8px 16px 14px; color: #8eddb6; font-weight: 600; }
.city-3d-open:hover { color: #ffffff; }
.ca-legend .sw.white { background: #e6eef9; }

/* The legal pages: a text to read, its sections and tables; the links between them. */
.legal h2 { margin-top: 32px; font-size: 20px; }
.legal p, .legal li { line-height: 1.65; }
.legal ul { padding-left: 22px; }
.legal-updated { color: #5a6e63; font-size: 14px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 24px; }
.legal-links a { padding: 6px 12px; border: 1px solid #d6e4db; border-radius: 999px; text-decoration: none; font-size: 14px; }
.legal-links a.on { background: #1f7a55; border-color: #1f7a55; color: #ffffff; }
.legal-table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid #d6e4db; }
.legal-table code { font-size: 13px; word-break: break-all; }

/* The contact form. */
.contact-form { display: grid; gap: 14px; margin: 20px 0; }
.contact-form .field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.contact-form .field { display: grid; gap: 6px; }
.contact-form .field.check { display: flex; align-items: flex-start; gap: 10px; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form select, .contact-form textarea {
    font: inherit; padding: 10px 14px; border: 1px solid #b9d3c3; border-radius: 12px; background: #ffffff; min-height: 44px; width: 100%; box-sizing: border-box;
}
.contact-form .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* The yearly plan, offered in the customer area: what they pay now, what they would pay, the saving. */
.switch-plan { margin: 18px 0; padding-top: 16px; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.switch-plan h3 { margin: 0; font-size: 20px; }
.switch-plan h4 { margin: 6px 0 0; font-size: 15px; }
.switch-plan p { margin: 0; }
.plan-compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; width: 100%; }
.plan-compare > div { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--rule); border-radius: 16px; background: #ffffff; }
.plan-compare strong { font-size: 22px; line-height: 1.2; }
.plan-compare strong small { font-size: 13px; font-weight: 500; }
.plan-compare .plan-yearly { border-color: var(--accent); }
.plan-compare .plan-saving { background: var(--accent); border-color: var(--accent); color: #ffffff; }
.plan-how { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: 14px; }

/* More connectors for an environment already bought, in the customer area. */
.add-connectors { margin: 18px 0; padding-top: 16px; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 10px; }
.add-connectors h3 { margin: 0; font-size: 18px; }

/* The cookie notice: once, at the foot of the screen, until it is closed. */
.cookie-notice { position: sticky; bottom: 0; z-index: 20; background: var(--night); color: var(--on-night); border-top: 1px solid var(--night-line); }
.cookie-notice .bar { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.cookie-notice p { margin: 0; font-size: 14px; color: var(--on-night-quiet); max-width: 760px; }
.cookie-notice a:not(.button) { color: var(--mint); }

.sheet.mine { margin-bottom: 24px; }

/* ------------------------------------------------------------------ the product tour */

.tour-hero { align-items: flex-start; }
.tour-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tour-facts li { background: var(--night-2); color: var(--mint); font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px; }
.tour-toc { flex: 0 1 360px; min-width: 0; background: var(--night-2); border: 1px solid var(--night-line); border-radius: 22px; padding: 26px 28px; }
.tour-toc strong { color: var(--mint); font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
.tour-toc ol { margin: 12px 0 0; padding-left: 22px; color: var(--on-night-quiet); }
.tour-toc li { line-height: 1.9; }
.tour-toc a { color: var(--on-night); text-decoration: none; font-weight: 600; }
.tour-toc a:hover { color: var(--mint); text-decoration: underline; }

.tour-chapter { scroll-margin-top: 24px; }
.tour-chapter-number { display: block; font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--accent); letter-spacing: 0.08em; margin-bottom: 8px; }
.tour-chapter h2 { margin-bottom: 32px; }

.shot { margin: 0 0 40px; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 40px; align-items: center; scroll-margin-top: 24px; }
.shot:nth-of-type(even) .shot-frame { order: 2; }
.shot-frame { display: block; border-radius: 18px; overflow: hidden; border: 1px solid var(--rule); background: var(--sheet); box-shadow: 0 18px 40px -24px rgba(16, 39, 31, 0.45); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.shot-frame:hover { transform: translateY(-3px); box-shadow: 0 26px 50px -24px rgba(16, 39, 31, 0.55); }
.shot-frame img { display: block; width: 100%; height: auto; }
.shot figcaption h3 { margin: 10px 0 12px; }
.shot figcaption p { margin: 0 0 14px; font-size: 17px; line-height: 1.6; }
.shot-step { display: inline-flex; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--chip); color: var(--chip-ink); }
.shot-open { font-weight: 600; font-size: 15px; }

.closing-words { flex: 1 1 520px; min-width: 0; }
.closing-words h2 { margin: 0 0 10px; }
.closing-words p { margin: 0; font-size: 18px; color: #e3f4ea; }

.tour-teaser-head { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; }
.tour-teaser-head h2 { margin-bottom: 32px; }
.tour-teaser-head .intro { margin-bottom: 0; }
.tour-teaser { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tour-teaser a { display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 14px 14px 20px; background: var(--sheet); border: 1px solid var(--rule); border-radius: 22px; color: var(--ink); text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.tour-teaser a:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(16, 39, 31, 0.45); }
.tour-teaser img { display: block; width: 100%; height: 200px; object-fit: cover; object-position: top left; border-radius: 12px; border: 1px solid var(--rule); }
.tour-teaser strong { font-size: 17px; padding: 0 6px; }

@media (max-width: 900px) {
    .shot { grid-template-columns: 1fr; gap: 18px; }
    .shot:nth-of-type(even) .shot-frame { order: 0; }
    .tour-toc { flex-basis: 100%; }
    .tour-teaser { grid-template-columns: 1fr; }
}

.shot-frame { position: relative; cursor: zoom-in; }
.shot-zoom { position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--night); color: var(--mint); opacity: 0; transform: translateY(6px); transition: opacity 0.2s ease, transform 0.2s ease; }
.shot-frame:hover .shot-zoom, .shot-frame:focus-visible .shot-zoom { opacity: 1; transform: none; }

/* The viewer: hidden until the address names it (#view-n), then over the whole page. */
.viewer { display: none; position: fixed; inset: 0; z-index: 100; padding: 24px; align-items: center; justify-content: center; }
.viewer:target { display: flex; animation: viewer-in 0.22s ease-out; }
.viewer-backdrop { position: absolute; inset: 0; background: rgba(8, 22, 17, 0.86); backdrop-filter: blur(4px); cursor: zoom-out; }
.viewer-box { position: relative; display: flex; flex-direction: column; gap: 14px; width: min(1440px, 100%); max-height: 100%; background: var(--night); border: 1px solid var(--night-line); border-radius: 22px; padding: 16px 18px 18px; color: var(--on-night); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6); animation: viewer-box-in 0.26s ease-out; }
.viewer-head { display: flex; align-items: center; gap: 14px; min-width: 0; }
.viewer-head strong { font-family: var(--display); font-size: 19px; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viewer-head .shot-step { flex: none; }
.viewer-close { flex: none; width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--on-night); border: 1px solid var(--night-line); }
.viewer-close:hover, .viewer-close:focus-visible { background: var(--night-2); color: var(--mint); }
.viewer-image { min-height: 0; flex: 1 1 auto; overflow: auto; border-radius: 14px; background: var(--ground); display: flex; align-items: flex-start; justify-content: center; }
.viewer-image img { display: block; max-width: 100%; height: auto; max-height: calc(100vh - 190px); object-fit: contain; }
.viewer-foot { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; }
.viewer-step { font-size: 16px; margin: 0; font-weight: 700; color: var(--mint); text-decoration: none; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--night-line); justify-self: start; }
.viewer-step.next { justify-self: end; }
span.viewer-step { border: none; }
.viewer-step:hover, .viewer-step:focus-visible { background: var(--night-2); }
.viewer-original { font-size: 14px; color: var(--on-night-quiet); }
.viewer-original:hover { color: #ffffff; }
body:has(.viewer:target) { overflow: hidden; }

@keyframes viewer-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes viewer-box-in { from { opacity: 0; transform: scale(0.97) translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 640px) {
    .viewer { padding: 10px; }
    .viewer-box { padding: 12px; border-radius: 18px; }
    .viewer-head .shot-step, .viewer-original { display: none; }
    .viewer-image img { max-height: calc(100vh - 150px); }
}

@media (prefers-reduced-motion: reduce) {
    .shot-frame, .tour-teaser a, .shot-zoom { transition: none; }
    .shot-frame:hover, .tour-teaser a:hover { transform: none; }
    .viewer:target, .viewer-box { animation: none; }
}

/* The customer area: the subscription of an order, and the use of its environment. */
.subscription, .environment { padding-top: 16px; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 12px; }
.subscription h3, .environment h3 { margin: 0; font-size: 20px; }
.subscription .alert p { margin: 6px 0 0; }
.sub-action { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.sub-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 0; }
.sub-links form { margin: 0; }
.sub-confirm { border: 1px solid var(--rule); border-radius: 16px; padding: 12px 16px; }
.sub-confirm summary { cursor: pointer; font-weight: 600; color: var(--accent); }
.sub-confirm form { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; margin-top: 10px; }
.sub-confirm p { margin: 0; }
.button.danger { background: var(--hot); color: #ffffff; }
.button.danger:hover { background: var(--hot-ink); color: #ffffff; }

.env-figures { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.env-figures div { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--rule); border-radius: 16px; background: #ffffff; }
.env-figures dt { font-size: 13px; font-weight: 700; color: var(--quiet); }
.env-figures dd { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.2; }
.run-split { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 4px; font-size: 12.5px; font-weight: 500; color: var(--quiet); }
.usage { display: flex; flex-direction: column; gap: 6px; }
.usage-bars { display: flex; align-items: flex-end; gap: 3px; height: 56px; padding: 4px 0; border-bottom: 1px solid var(--rule); }
.usage-bars span { flex: 1 1 0; min-width: 3px; background: var(--go); border-radius: 3px 3px 0 0; }
.usage-bars .h0 { height: 2px; background: var(--rule); }
.usage-bars .h1 { height: 10%; } .usage-bars .h2 { height: 20%; } .usage-bars .h3 { height: 30%; } .usage-bars .h4 { height: 40%; } .usage-bars .h5 { height: 50%; }
.usage-bars .h6 { height: 60%; } .usage-bars .h7 { height: 70%; } .usage-bars .h8 { height: 80%; } .usage-bars .h9 { height: 90%; } .usage-bars .h10 { height: 100%; }
