/* Home page: value-first layout and the stylised « Centrale Aurore » screens.
   Loaded after styles.css on index.html only. The screens are drawn in HTML/SVG
   (fictitious data), so they stay sharp at any size and switch FR/EN with the
   rest of the page through [data-en]/[data-fr] on their text leaves. */

:root {
    --scr-bg: #111a33;
    --scr-bg-deep: #0c1430;
    --scr-line: rgba(148, 163, 209, 0.14);
    --scr-text: #e8edff;
    --scr-muted: #8a96b8;
    --c-blue: #3b82f6;
    --c-sky: #38bdf8;
    --c-teal: #2dd4bf;
    --c-lime: #a3e635;
    --c-red: #f0506e;
    --c-purple: #a78bfa;
    --c-amber: #fbbf24;
    --c-green: #4ade80;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-sky);
    margin-bottom: 16px;
}

/* ---------- Hero ---------- */

.hero .hero-title {
    font-size: 60px;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero-subtitle strong {
    color: var(--text-primary);
    font-weight: 600;
}

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

.hero-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    padding: 16px 22px;
    border-radius: 10px;
    border: 1px solid rgba(176, 184, 212, 0.25);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.hero-link:hover {
    border-color: var(--c-sky);
    background: rgba(56, 189, 248, 0.08);
}

.hero-link .play-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: inline-grid;
    place-items: center;
}

.hero-visual {
    position: relative;
}

/* ---------- Screen base ---------- */

.scr {
    background: linear-gradient(180deg, var(--scr-bg) 0%, var(--scr-bg-deep) 100%);
    border: 1px solid var(--scr-line);
    border-radius: 18px;
    color: var(--scr-text);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    font-variant-numeric: tabular-nums;
    position: relative;
}

.scr-top {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--scr-line);
    font-size: 13px;
}

.scr-dots {
    display: inline-flex;
    gap: 5px;
}

.scr-dots i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(148, 163, 209, 0.3);
}

.scr-title {
    font-weight: 600;
    white-space: nowrap;
}

.scr-sub {
    color: var(--scr-muted);
}

.scr-pill {
    margin-left: auto;
    white-space: nowrap;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.18);
    color: #bcd4ff;
    border: 1px solid rgba(59, 130, 246, 0.35);
}

.scr-body {
    padding: 16px 18px 18px;
}

.scr-label {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--scr-muted);
}

.scr-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 12px;
    color: var(--scr-muted);
    margin-bottom: 6px;
}

.scr-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.scr-legend i {
    display: inline-block;
    width: 12px;
    height: 4px;
    border-radius: 2px;
}

.scr-legend i.sq {
    width: 10px;
    height: 10px;
    border-radius: 3px;
}

svg.chart {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.scr svg.chart text {
    font-family: inherit;
    fill: var(--scr-muted);
    font-size: 11px;
}

/* KPI tiles */
.kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.kpi {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--scr-line);
    border-radius: 12px;
    padding: 10px 12px;
    min-width: 0;
}

.kpi-value {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 2px 0;
    white-space: nowrap;
}

.kpi-note {
    font-size: 12px;
    color: var(--scr-muted);
}

.kpi-note.up { color: var(--c-green); }
.kpi-note.miss { color: #ff8aa0; }
.kpi-value.miss { color: var(--c-red); }
.kpi-value.act { color: var(--c-sky); }

/* Bars grow in once */
.grow {
    transform-box: fill-box;
    transform-origin: 50% 100%;
    animation: grow-up 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    animation-delay: calc(var(--i, 0) * 55ms + 250ms);
}

@keyframes grow-up {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

/* Logbook toast over the hero screen */
.toast {
    position: absolute;
    right: -22px;
    bottom: -46px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(17, 26, 51, 0.96);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 14px;
    padding: 12px 16px 12px 12px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
    font-size: 13px;
    color: var(--scr-text);
    animation: toast-in 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 1.5s both;
    max-width: 330px;
}

.toast-icon {
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0ea5e9, #6366f1);
    display: grid;
    place-items: center;
}

.toast strong {
    display: block;
    font-size: 13px;
}

.toast small {
    color: var(--scr-muted);
    font-size: 12px;
}

@keyframes toast-in {
    from { opacity: 0; transform: translateY(14px) scale(0.97); }
    to { opacity: 1; transform: none; }
}

/* Opaque bands, so each section reads as its own block. */
.video-band,
.story,
.team {
    background-color: var(--dark-bg);
}

/* ---------- Video band ---------- */

.video-band {
    padding-top: 40px;
}

.video-band .section-title {
    margin-bottom: 12px;
}

.video-frame {
    position: relative;
    max-width: 980px;
    margin: 40px auto 0;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--scr-line);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
    background: #0a1224;
}

.video-frame video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.video-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: end start;
    padding: 28px;
    background: none;  /* the cover is light: no shading over it */
    border: 0;
    cursor: pointer;
    color: #fff;
}

.video-play span {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: grid;
    place-items: center;
    box-shadow: 0 0 0 10px rgba(56, 189, 248, 0.15), 0 20px 50px rgba(0, 168, 232, 0.45);
    transition: transform 0.2s ease;
}

.video-play:hover span {
    transform: scale(1.06);
}

/* The cover (bumper) shows whenever the video is not playing. */
.video-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-frame.is-playing .video-play,
.video-frame.is-playing .video-cover {
    display: none;
}

/* ---------- Story rows ---------- */

.story .container {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 70px;
    align-items: center;
}

.story--flip .container {
    grid-template-columns: 1.25fr 1fr;
}

.story--flip .story-text {
    order: 2;
}

.story-text h2 {
    font-size: 40px;
    line-height: 1.15;
    letter-spacing: -0.015em;
    margin-bottom: 20px;
}

.story-text p {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.75;
    margin-bottom: 18px;
}

.story-points {
    list-style: none;
    display: grid;
    gap: 14px;
    margin-top: 26px;
}

.story-points li {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 12px;
    align-items: start;
}

.story-points li b {
    display: block;
    color: var(--text-primary);
    font-size: 16px;
}

.story-points li span {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

.tick {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.35);
    display: grid;
    place-items: center;
}

/* Value chain (journal → identification → revenus) */
.chain {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 6px 0 22px;
    font-size: 13px;
    font-weight: 600;
}

.chain span {
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--scr-line);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
}

.chain span.on {
    color: #fff;
    border-color: rgba(56, 189, 248, 0.5);
    background: rgba(56, 189, 248, 0.12);
}

.chain em {
    font-style: normal;
    color: var(--scr-muted);
}

/* Losses screen */
.loss-foot {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 24px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--scr-line);
    align-items: start;
}

.causes {
    display: grid;
    gap: 12px;
}

.big-miss {
    font-size: 34px;
    font-weight: 800;
    color: var(--c-red);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 4px 0 10px;
}

.cause-row {
    font-size: 13px;
}

.cause-row div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.cause-row b {
    font-weight: 600;
}

.bar {
    height: 7px;
    border-radius: 4px;
    background: rgba(148, 163, 209, 0.14);
    overflow: hidden;
}

.bar i {
    display: block;
    height: 100%;
    border-radius: 4px;
}

.priority {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(163, 230, 53, 0.1);
    border: 1px solid rgba(163, 230, 53, 0.35);
    color: #e7ffc2;
}

.priority strong {
    color: var(--c-lime);
    margin-left: auto;
    white-space: nowrap;
}

/* Logbook visual: phone + cards */
.logbook-visual {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 22px;
    align-items: center;
}

.phone {
    background: #05070f;
    border-radius: 38px;
    padding: 10px;
    border: 1px solid rgba(148, 163, 209, 0.25);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), inset 0 0 0 2px #1a2140;
}

.phone-screen {
    background: linear-gradient(180deg, #121c3a 0%, #0b1330 100%);
    border-radius: 30px;
    overflow: hidden;
    padding: 34px 14px 16px;
    position: relative;
    color: var(--scr-text);
    font-size: 13px;
}

.phone-screen::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    width: 80px;
    height: 20px;
    margin-left: -40px;
    border-radius: 12px;
    background: #05070f;
}

.phone-head {
    margin-bottom: 12px;
}

.phone-head strong {
    display: block;
    font-size: 16px;
}

.phone-head small {
    color: var(--scr-muted);
}

.phone-photo {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--scr-line);
    margin-bottom: 10px;
}

.phone-photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.phone-time {
    position: absolute;
    top: 7px;
    left: 7px;
    font-size: 10px;
    font-weight: 600;
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 9px;
    padding: 2px 8px;
}

.phone-field {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--scr-line);
    border-radius: 10px;
    padding: 8px 10px;
    margin-bottom: 8px;
}

.phone-field b {
    display: block;
}

.phone-field span {
    color: var(--scr-muted);
    font-size: 12px;
    line-height: 1.45;
    display: block;
}

.chips {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}

.chips span {
    font-size: 11px;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(167, 139, 250, 0.16);
    color: #d9ccff;
    border: 1px solid rgba(167, 139, 250, 0.35);
}

.chips span + span {
    background: rgba(56, 189, 248, 0.12);
    color: #c4ecff;
    border-color: rgba(56, 189, 248, 0.35);
}

.phone-send {
    text-align: center;
    font-weight: 700;
    padding: 10px;
    border-radius: 12px;
    background: var(--accent-gradient);
    color: #04121f;
}

.phone-ok {
    margin-top: 9px;
    text-align: center;
    font-size: 12px;
    color: var(--c-green);
}

.stack {
    display: grid;
    gap: 16px;
}

.register {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.register td {
    padding: 9px 6px;
    border-top: 1px solid var(--scr-line);
    vertical-align: middle;
}

.register tr:first-child td {
    border-top: 0;
}

.register tr.new td {
    background: rgba(56, 189, 248, 0.1);
}

.register tr.new td:first-child {
    border-radius: 8px 0 0 8px;
}

.register tr.new td:last-child {
    border-radius: 0 8px 8px 0;
}

.reg-title {
    display: block;
    margin-bottom: 4px;
}

.register .muted {
    color: var(--scr-muted);
    white-space: nowrap;
}

.tag {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 999px;
    white-space: nowrap;
}

.tag.m { background: rgba(167, 139, 250, 0.16); color: #d9ccff; }
.tag.r { background: rgba(251, 191, 36, 0.14); color: #ffe39a; }
.tag.v { background: rgba(45, 212, 191, 0.14); color: #b4fff1; }

/* Report visual */
.report-visual {
    position: relative;
    padding: 20px 10px 30px 30px;
}

.paper {
    background: #fbfcff;
    color: #172040;
    border-radius: 14px;
    padding: 22px 24px;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
    position: relative;
    font-variant-numeric: tabular-nums;
}

.paper--back {
    position: absolute;
    inset: 0 40px 50px 0;
    background: #dfe5f5;
    transform: rotate(-4deg);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}

.paper--front {
    transform: rotate(1.5deg);
}

.paper-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    border-bottom: 1px solid #e3e8f4;
    padding-bottom: 12px;
    margin-bottom: 14px;
}

.paper-head strong {
    display: block;
    font-size: 17px;
}

.paper-head small {
    color: #6b7699;
    font-size: 12px;
}

.paper-brand {
    font-weight: 800;
    font-size: 18px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.paper-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}

.paper-kpis div {
    background: #f0f3fb;
    border-radius: 8px;
    padding: 8px;
    font-size: 10px;
    color: #6b7699;
}

.paper-kpis b {
    display: block;
    color: #172040;
    font-size: 16px;
    margin-top: 2px;
}

.paper-kpis b.up { color: #15803d; }

.paper h4 {
    font-size: 12px;
    margin: 10px 0 6px;
    color: #172040;
}

.paper svg.chart text {
    fill: #8a93b2;
    font-size: 8px;
}

.paper-causes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 16px;
    font-size: 11px;
}

.paper-causes div {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #e9edf6;
    padding: 4px 0;
}

.paper-foot {
    margin-top: 12px;
    font-size: 10px;
    color: #8a93b2;
}

.report-chip {
    position: absolute;
    right: 0;
    bottom: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(17, 26, 51, 0.96);
    border: 1px solid rgba(74, 222, 128, 0.4);
    color: var(--scr-text);
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}

/* ---------- More value (cards) ---------- */

.more-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.more-card {
    background: var(--card-bg);
    border: 1px solid rgba(148, 163, 209, 0.1);
    border-radius: 16px;
    padding: 28px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.more-card:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, 0.35);
}

.more-card {
    position: relative;
}

.soon {
    position: absolute;
    top: 22px;
    right: 22px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
    color: #ffe39a;
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.35);
}

.more-card .ico {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    display: grid;
    place-items: center;
    margin-bottom: 18px;
}

.more-card h3 {
    font-size: 19px;
    margin-bottom: 10px;
}

.more-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.65;
}

.team .section-title + .team-description {
    margin-top: 10px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
    .story .container {
        gap: 44px;
    }

    .logbook-visual {
        grid-template-columns: 220px 1fr;
    }
}

@media (max-width: 968px) {
    .hero .hero-title {
        font-size: 44px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 10px;
        padding: 0 10px 30px;
    }

    .toast {
        left: 0;
    }

    .story .container {
        grid-template-columns: 1fr;
    }

    .story--flip .story-text {
        order: 0;
    }

    .story-text h2 {
        font-size: 32px;
    }

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

@media (max-width: 640px) {
    .hero .hero-title {
        font-size: 34px;
    }

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

    .kpis .kpi:last-child {
        grid-column: 1 / -1;
    }

    .kpi-value {
        font-size: 19px;
    }

    /* In the flow under the chart: no overhang past the card on a phone. */
    .toast {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        margin: 0 14px 14px;
        max-width: none;
        text-align: left;
    }

    .loss-foot {
        grid-template-columns: 1fr;
    }

    .logbook-visual {
        grid-template-columns: 1fr;
    }

    .phone {
        max-width: 260px;
        margin: 0 auto;
    }

    .paper-kpis {
        grid-template-columns: 1fr 1fr;
    }

    .report-visual {
        padding: 10px 0 50px;
    }

    .paper--back {
        display: none;
    }

    .paper--front {
        transform: none;
    }

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

    .story-text h2 {
        font-size: 28px;
    }

    /* 100 px above and below every section is a full screen of nothing on a phone. */
    .section {
        padding: 60px 0;
    }

    .hero {
        padding-bottom: 40px;
    }

    .video-band {
        padding-top: 30px;
    }

    .video-frame {
        margin-top: 26px;
    }

    /* Keep the play button in the corner, clear of the poster's title. */
    .video-play {
        padding: 12px;
    }

    .video-play span {
        width: 52px;
        height: 52px;
        box-shadow: 0 0 0 6px rgba(56, 189, 248, 0.15), 0 12px 30px rgba(0, 168, 232, 0.45);
    }

    .video-play svg {
        width: 16px;
        height: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .grow,
    .toast {
        animation: none;
    }
}

/* ---------- Demo booking card (booking.js) ---------- */

.calendar-frame {
    width: 100%;
}

.bk {
    padding: 22px 24px 26px;
    text-align: left;
}

.bk-step {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
    margin: 4px 0 10px;
}

.bk-days {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 14px;
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 209, 0.35) transparent;
}

.bk-day,
.bk-time {
    flex: none;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(148, 163, 209, 0.22);
    border-radius: 10px;
    padding: 9px 14px;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.bk-day:hover,
.bk-time:hover {
    border-color: var(--c-sky);
    background: rgba(56, 189, 248, 0.08);
}

.bk-day.on {
    background: var(--accent-gradient);
    border-color: transparent;
    color: #04121f;
}

.bk-times {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
    gap: 8px;
}

.bk-chosen {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 14px;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(148, 163, 209, 0.15);
}

.bk-chosen strong {
    font-size: 18px;
}

.bk-chosen span {
    color: var(--text-secondary);
    font-size: 14px;
}

.bk-link {
    margin-left: auto;
    background: none;
    border: 0;
    color: var(--c-sky);
    font: inherit;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
}

.bk-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
}

.bk-field {
    display: grid;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
}

.bk-field:nth-of-type(4),
.bk-field:nth-of-type(5) {
    grid-column: 1 / -1;
}

.bk-field input,
.bk-field textarea {
    font: inherit;
    font-size: 15px;
    color: var(--text-primary);
    background: rgba(5, 8, 18, 0.6);
    border: 1px solid rgba(148, 163, 209, 0.25);
    border-radius: 10px;
    padding: 11px 12px;
    resize: vertical;
}

.bk-field input:focus,
.bk-field textarea:focus {
    outline: none;
    border-color: var(--c-sky);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18);
}

.bk-trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.bk-submit {
    grid-column: 1 / -1;
    justify-self: start;
    font-size: 17px;
    padding: 14px 32px;
}

.bk-submit:disabled {
    opacity: 0.6;
    cursor: wait;
}

.bk-note {
    grid-column: 1 / -1;
    font-size: 12px;
    color: var(--scr-muted);
}

.bk-error {
    grid-column: 1 / -1;
    color: #ff9db0;
    font-size: 14px;
    margin-bottom: 10px;
}

.bk-empty {
    color: var(--text-secondary);
}

.bk-done {
    display: grid;
    gap: 8px;
    padding: 10px 0;
}

.bk-done strong {
    font-size: 22px;
    color: var(--c-green);
}

.bk-done span {
    color: var(--text-secondary);
}

@media (max-width: 640px) {
    .bk {
        padding: 18px 16px 22px;
    }

    .bk-form {
        grid-template-columns: 1fr;
    }
}
