@font-face { font-family: "Coconat"; src: url("fonts/Coconat-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
/* Showlo final: Okno, variant Noc. The night system: the fixed fluted-glass ground behind the whole
   page, solid night surfaces for cards and app windows, the one extra accent (coral) and the accent
   face (Coconat, self-hosted woff2, accent words only). Loaded after every kit and page stylesheet. */

:root {
  --coral: #ff8f6b;            /* the second accent: accent words, hot-lead chips, small highlights, ticks */
  --coral-ink: #2a0f07;
  --coral-tint: #3a211c;       /* a coral chip's own fill on a night surface */
  --night: #0c171c;            /* the ground's base, under the canvas */
  --night-card: #13232a;       /* cards, panels and windows: solid, never see-through */
  --night-card-2: #182b33;
  --night-edge: rgb(255 255 255 / .09);
  --font-accent: "Coconat", Georgia, "Times New Roman", serif;
}

/* the lit ground every panel takes (cards.css, system.css): a lit window in the night, teal with a
   coral glow in its far corner, so the dark app cards on it stand out (3:1 and more) */
html[data-ground="night"] {
  --ground-bg: #2c6971; --ground-surface: #3b7f87; --ground-ink: #eef4f5; --ground-muted: #d3e2e5; --ground-accent: #ff8f6b;
}

/* ---------------------------------------------------------------- the ground */
html { background: var(--night); }
body { background: transparent; }
.sh-ground {
  position: fixed; inset: 0; z-index: -1; height: 100lvh; pointer-events: none; contain: strict;
  background:
    repeating-linear-gradient(90deg, rgb(255 255 255 / .045) 0 1px, transparent 1px 31px, rgb(0 0 0 / .22) 33px 34px),
    radial-gradient(42% 48% at 22% 22%, #15474d, transparent 72%),
    radial-gradient(34% 40% at 82% 80%, #56302a, transparent 72%),
    radial-gradient(30% 34% at 46% 56%, #0f3439, transparent 72%),
    linear-gradient(160deg, #0c171c, #0f2329);
}
/* every section lies on the ground: no slab of its own */
main > section, .ground-surface, footer.closing, .footer--statement { background: transparent; }
.ground-surface { --bg: var(--night); --surface: var(--night-card); --card: var(--night-card); }

/* ---------------------------------------------------------------- the nav: a night bar of glass */
.nav { background: rgb(12 23 28 / .82); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--night-edge); }
.nav .mark { background: var(--p-accent); }
@media (max-width: 1023px) {
  .nav__links { --bg: var(--night); background: var(--night); }
  /* backdrop-filter makes the nav the containing block of its fixed children, so the open sheet's
     action bar pinned to the nav's bottom edge and covered the menu button. Open, the sheet is opaque anyway. */
  .nav.is-open { -webkit-backdrop-filter: none; backdrop-filter: none; }
  /* a page with no actions (/zapis/) gets no bar */
  .nav.is-open .nav__actions:empty { display: none; }
}

/* ---------------------------------------------------------------- surfaces */
.card:not(.card--open) { background: var(--night-card); border-color: var(--night-edge); }
/* frames hold UI like panels do: the same lit window (cards.css's mesh, in the night ground's tones) */
.frame:not(.frame--photo) { border-color: transparent; background-color: var(--ground-bg);
  background-image:
    radial-gradient(70% 90% at 12% 0%, color-mix(in oklab, var(--ground-surface) 92%, white), transparent 70%),
    radial-gradient(60% 80% at 100% 100%, color-mix(in oklab, var(--ground-accent) 34%, var(--ground-bg)), transparent 72%),
    radial-gradient(50% 60% at 85% 10%, color-mix(in oklab, var(--ground-surface) 60%, transparent), transparent 70%); }
.panel, .frame:not(.frame--photo) { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); }
/* the flow inside the app window is part of the app: the app's own fill, not a lit window */
.sh-op .panel { background: var(--u-fill) !important; box-shadow: inset 0 0 0 1px var(--u-line); }
.card--plan.is-featured { border-color: var(--action); box-shadow: inset 0 0 0 1px var(--action); }
.ui { --fx-bg: #142630; --fx-surface: #1a2e37; --fx-ink: #eef4f5; --fx-muted: #b0bec3; --fx-accent: #3cc0cb; --fx-accent-ink: #08191d; }
.faq__item { border-color: var(--line-strong); }

/* status chips inside the app, re-toned for night surfaces (AA on #142630) */
.sh-chip { background: rgb(255 255 255 / .08); color: #dbe5e8; }
.sh-chip--hot { background: var(--coral-tint); color: var(--coral); box-shadow: inset 0 0 0 1px rgb(255 143 107 / .32); }
.sh-chip--ok { background: #163a35; color: #8fe0c9; }
.sh-chip--ai { background: #17334a; color: #9cc8f2; }
.sh-chip--wait { background: #3a3218; color: #ecd28a; }
.sh-tick { background: #163a35; color: #8fe0c9; }
.ui-win__st.is-you { color: var(--coral); background: var(--coral-tint); box-shadow: inset 0 0 0 1px rgb(255 143 107 / .32); }
.ui-win__st.is-you::before { background: var(--coral); }

/* ---------------------------------------------------------------- the accent face and colour */
.sh-accent { font-family: var(--font-accent); font-style: normal; font-weight: 400; letter-spacing: -0.01em; color: var(--coral); }
h1 .sh-accent { display: block; font-size: 1.08em; line-height: .98; }
h2 .sh-accent { font-size: 1.1em; line-height: 1; }

/* ---------------------------------------------------------------- hero */
.hero--centred .hero__c { max-width: 960px; gap: var(--s-5); }
.hero--centred .hero__lead { color: var(--ink); }
.hero .pill { background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .16); }
.hero .pill .sh-pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 3px rgb(255 143 107 / .18); }
.btn--secondary { background: rgb(255 255 255 / .08); color: var(--ink); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14); }
.btn--secondary:hover { background: rgb(255 255 255 / .14); }
/* the window rises from the hero's foot on a pane of the same glass, lit at its rim */
.hero--centred .hero__window { background: linear-gradient(180deg, rgb(255 255 255 / .05), rgb(255 255 255 / .015) 60%, transparent);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .1), inset 0 0 0 1px rgb(255 255 255 / .06); }
.sh-studio { background: var(--u-bg); border-color: rgb(255 255 255 / .1); box-shadow: 0 40px 80px -30px rgb(0 0 0 / .7), 0 0 0 1px rgb(0 0 0 / .3); }
.sh-studio__bar { border-bottom-color: rgb(255 255 255 / .08); }
.sh-dots i { background: rgb(255 255 255 / .18); }
.sh-studio .sh-field { background: var(--u-fill); }
/* a phone: badge, headline, sentence and buttons, nothing else */
@media (max-width: 639px) {
  .hero--centred .hero__window { display: none; }
  .hero--centred .hero__c { gap: var(--s-4); }
  .hero--centred .pill { display: inline-flex; }   /* the badge stays: the phone hero is badge, h1, sentence, buttons */
}

/* ---------------------------------------------------------------- before and after */
.sh-ba__col--now { background: var(--night-card); }
.sh-ba__col--with { background: radial-gradient(70% 60% at 100% 0%, rgb(22 160 170 / .3), transparent 70%),
  radial-gradient(60% 60% at 0% 100%, rgb(255 143 107 / .14), transparent 72%), #15262d; box-shadow: inset 0 0 0 1px rgb(111 211 219 / .22); }
.sh-ba__col--with .sh-ba__ic { background: var(--coral); color: var(--coral-ink); }
.sh-ba__tag .mark { background: var(--coral); }

/* ---------------------------------------------------------------- small highlights */
.sh-statement strong, .sh-wh strong { color: var(--coral); }
.card--plan .badge { background: var(--coral-tint); color: var(--coral); }
.sh-bar.is-you i { background: var(--coral); }

/* the one primary style everywhere, the closing slab too (the kit gives it the ground's ink there) */
.footer--statement, .frame--cta, .frame--lit { --action: var(--p-action); --action-ink: var(--p-action-ink); }
.footer--statement .btn--primary { background: var(--action); color: var(--action-ink); }
/* the agency's reply bubble: a teal glass bubble, not a white slab on the night window */
.sh-msg--out { background: #1f5a61 !important; color: #eef4f5; }

/* the ground's pause button in the nav: the same 32px disc as the kit's loop buttons */
.nav__actions { gap: var(--s-3); }
.sh-gp { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; padding: 0; cursor: pointer;
  border: 0; background: rgb(255 255 255 / .08); color: var(--ink); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16);
  transition: background-color var(--dur, .2s) var(--ease, ease), transform .12s ease; }
.sh-gp:hover { background: rgb(255 255 255 / .16); }
.sh-gp:active { transform: translateY(1px); }
.sh-gp:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 2px; }
.sh-gp svg { width: 14px; height: 14px; fill: currentColor; }
@media (max-width: 639px), (prefers-reduced-motion: reduce) { .sh-gp { display: none; } }

/* the ground sits in the hero's markup but paints behind the whole page: the hero opens no stacking context */
main > .hero { isolation: auto; }
/* the hero's words start on the container's left at every width (equal edges, as below 1280 in round 3);
   the window under them stays centred in its pane */
.hero--centred .hero__c { text-align: left; justify-items: start; margin-inline: 0; justify-self: start; }
.hero--centred .btn-row { justify-content: flex-start; }
.hero--centred h1 { max-width: 26ch; }
.hero--centred .hero__lead { max-width: 640px; }
/* an accent word never changes its heading's line box */
h2 .sh-accent { line-height: 0; }
@media (max-width: 639px) {
  /* the phone hero ends on its buttons, one section gap above the next heading */
  .hero--centred > .wrap > .hero-text { justify-content: flex-end; }
  /* the badge as a plain coral line on the column's edge: no box half the column wide */
  .hero--centred .pill { background: none; border: 0; padding: 0; height: auto; color: var(--coral); font-weight: 500; }
  .hero--centred .pill .sh-pill-dot { display: none; }
}
