/* Bidnelo. Samo sistemske pisave, brez zunanjih virov. Ime znamke je v brand.js. */

:root {
  /* Barve */
  --navy: #14212e;
  --navy-deep: #0e1822;
  --navy-raised: #1e2f40;
  --navy-line: #3a4e61;
  --graphite: #22282e;
  --steel: #55616b;
  --concrete: #e7eaea;
  --concrete-deep: #cfd5d7;
  --white: #f5f7f6;
  --paper: #fcfcfa;
  --orange: #f6781e;
  --orange-light: #ff9549;
  --pencil: #a34302;
  --masking: #efe4b8;
  --on-dark: #f2f5f6;
  --on-dark-soft: #bcc8d2;

  /* Pisave */
  --font-display: "DIN Condensed", "Bahnschrift Condensed", "Bahnschrift SemiBold Condensed", "Roboto Condensed", "sans-serif-condensed", "Arial Narrow", "Liberation Sans Narrow", sans-serif;
  --font-label: "DIN Alternate", "Bahnschrift", "Roboto", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-text: Charter, "Bitstream Charter", "Sitka Text", Cambria, "Noto Serif", "Droid Serif", Georgia, serif;

  /* Mere */
  --gutter: clamp(1rem, 4vw, 3rem);
  --band: clamp(4rem, 2.6rem + 6vw, 8rem);
  --focus: var(--navy);

  /* Tekstura papirja: drobna, vgrajena, brez zunanje datoteke */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .13 0 0 0 0 .18 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--concrete);
  color: var(--graphite);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 48rem) {
  body { font-size: 1.125rem; }
}

html.has-dialog { overflow: hidden; scrollbar-gutter: stable; }

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img, svg { display: block; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: .75rem 1rem;
  background: var(--paper);
  color: var(--navy);
  font-family: var(--font-label);
  font-weight: 700;
}
.skip-link:focus { top: .5rem; }

.wrap {
  width: min(100% - 2 * var(--gutter), 80rem);
  margin-inline: auto;
}

/* Trak o stanju bete */
.preview-strip {
  background: var(--navy-deep);
  color: var(--on-dark);
  font-family: var(--font-label);
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.3;
  padding-block: .4375rem;
  letter-spacing: .01em;
}
.preview-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .25rem 1rem;
}
.preview-strip__more { display: none; }
@media (min-width: 36rem) { .preview-strip__more { display: inline; } }
.preview-strip__text::before {
  content: "";
  display: inline-block;
  width: .5625rem;
  height: .5625rem;
  margin-right: .5625rem;
  background: var(--orange);
  vertical-align: .0625rem;
}
.preview-strip:has(.lang-switch) { padding-block: .25rem; }

/* Izbira jezika na traku */
.lang-switch { display: flex; margin-left: auto; }
.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.875rem;
  min-height: 1.75rem;
  padding-inline: .25rem;
  color: var(--on-dark-soft);
  font-size: .8125rem;
  letter-spacing: .05em;
  text-decoration: none;
}
.lang-switch a:hover { color: var(--on-dark); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: .25em; }
.lang-switch a[aria-current="page"] { color: var(--on-dark); box-shadow: inset 0 -2px 0 var(--orange); }

/* Glava */
.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--navy);
  color: var(--on-dark);
  border-bottom: 1px solid var(--navy-line);
  --focus: var(--on-dark);
}
.site-head__row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 3.75rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--on-dark);
  text-decoration: none;
  margin-right: auto;
  min-width: 0;
  min-height: 2.75rem;
  --logo-tick: var(--navy);
}
.logo__mark { color: var(--orange); flex: none; }
.logo__word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1;
  padding-top: .25rem;
  min-width: 0;
  overflow-wrap: anywhere;
}
.site-head__row .btn { flex: none; }
.site-nav { display: none; }
@media (min-width: 56rem) {
  .site-nav { display: flex; gap: .25rem; }
  .site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    padding-inline: .75rem;
    font-family: var(--font-label);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    color: var(--on-dark-soft);
  }
  .site-nav a:hover { color: var(--on-dark); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: .3em; }
}

/* Gumbi */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 3.25rem;
  padding: .75rem 1.375rem;
  border: 0;
  border-radius: 3px;
  background: none;
  font-family: var(--font-label);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, box-shadow .15s ease, transform .08s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--orange);
  color: var(--navy);
  box-shadow: inset 0 -3px 0 rgba(20, 33, 46, .28);
}
.btn--primary:hover { background: var(--orange-light); }
.btn--primary[aria-disabled="true"] {
  background: var(--concrete-deep);
  color: var(--graphite);
  box-shadow: none;
  cursor: not-allowed;
}
.btn--ghost {
  color: var(--on-dark);
  box-shadow: inset 0 0 0 2px #6b8197;
}
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--on-dark); }
.btn--small { min-height: 2.75rem; padding: .5rem .875rem; font-size: 1rem; }
.btn--large { min-height: 3.75rem; padding: .875rem 2rem; font-size: 1.3125rem; }
.btn--line {
  color: var(--navy);
  box-shadow: inset 0 0 0 2px var(--navy);
}
.btn--line:hover { background: rgba(20, 33, 46, .07); }

/* Oznaka s pleskarskim trakom: vedno pomeni »to je primer ali osnutek« */
.label-tape {
  display: inline-block;
  padding: .3125rem 1rem;
  background: var(--masking);
  color: var(--graphite);
  font-family: var(--font-label);
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.3;
  transform: rotate(-1.2deg);
  clip-path: polygon(0 0, 100% 0, calc(100% - 4px) 25%, 100% 50%, calc(100% - 4px) 75%, 100% 100%, 0 100%, 4px 75%, 0 50%, 4px 25%);
}
.label-tape--warn {
  background: var(--orange);
  color: var(--navy);
  font-size: 1rem;
  transform: rotate(-.8deg);
}

/* List papirja */
.sheet {
  position: relative;
  background-color: var(--paper);
  background-image: var(--grain);
  color: var(--graphite);
  border-radius: 1px;
  box-shadow:
    0 1px 1px rgba(14, 24, 34, .24),
    0 10px 18px -8px rgba(14, 24, 34, .34),
    0 34px 54px -30px rgba(14, 24, 34, .5);
}
.sheet--stacked::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #e4e8e8;
  transform: rotate(2deg) translate(.5rem, .25rem);
  box-shadow: 0 8px 22px -10px rgba(5, 12, 20, .7);
}

/* Dokument na listu */
.doc {
  container-type: inline-size;
  padding: clamp(1.125rem, .8rem + 1.6vw, 2rem);
  font-size: .9375rem;
  line-height: 1.45;
}
.doc__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  min-height: 3rem;
}
.doc__firm {
  display: block;
  font-family: var(--font-label);
  font-size: 1rem;
  line-height: 1.25;
}
.doc__sub {
  display: block;
  color: var(--steel);
  font-size: .875rem;
}
.doc__title {
  margin-top: .75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.75rem;
  line-height: 1;
  padding-top: .25rem;
}
.doc__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: .25rem 1.5rem;
  margin-top: .75rem;
}
.doc__meta dt {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: .8125rem;
  color: var(--steel);
}
.doc__meta dd { line-height: 1.35; }
.doc__table {
  width: 100%;
  margin-top: 1.125rem;
  border-collapse: collapse;
  border-top: 2px solid var(--graphite);
}
.doc__table th {
  padding: .5rem .5rem .375rem 0;
  border-bottom: 1px solid var(--graphite);
  font-family: var(--font-label);
  font-size: .8125rem;
  font-weight: 700;
  text-align: left;
  vertical-align: bottom;
}
.doc__table td {
  padding: .5625rem .5rem .5625rem 0;
  border-bottom: 1px solid #d8dcdc;
  vertical-align: top;
}
.doc__table .c-num {
  text-align: right;
  white-space: nowrap;
  padding-right: 0;
  padding-left: .75rem;
  font-variant-numeric: lining-nums tabular-nums;
}
.doc__table .c-wide { display: none; }
.doc__inline {
  display: block;
  color: var(--steel);
  font-size: .875rem;
}
.doc__flag {
  display: block;
  margin-top: .125rem;
  color: var(--pencil);
  font-style: italic;
  font-size: .875rem;
  line-height: 1.3;
}
.doc__flag--ok { color: var(--steel); }
.doc__flag svg {
  display: inline-block;
  width: .875em;
  height: .875em;
  margin-right: .25em;
  vertical-align: -.05em;
  color: var(--pencil);
}
@container (min-width: 25rem) {
  .doc__table .c-wide { display: table-cell; }
  .doc__inline { display: none; }
}
.doc__table tr.is-struck td { color: var(--steel); text-decoration: line-through; }
.doc__table tr.is-struck .doc__flag { text-decoration: none; display: block; }
.doc__missing { color: var(--pencil); font-style: italic; white-space: normal; }
.doc__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: .875rem;
  border-top: 2px solid var(--graphite);
  margin-top: -1px;
}
.doc__total span {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 1rem;
}
.doc__total strong {
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
  border-radius: 2px;
}
.doc__foot {
  margin-top: .75rem;
  color: var(--steel);
  font-size: .875rem;
  line-height: 1.4;
}
.pencil-mark {
  display: inline-block;
  padding: 0 .25em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 34' preserveAspectRatio='none'%3E%3Cpath d='M12 8C28 2 56 1 68 8c10 6 8 17-6 21-18 5-44 4-54-3C-1 19 3 9 22 4' fill='none' stroke='%23e0660f' stroke-width='2' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  padding-inline: .5em;
  margin-right: -.25em;
}
.stamp {
  flex: none;
  padding: .25rem .625rem .0625rem;
  border: 2.5px solid var(--pencil);
  border-radius: 3px;
  color: var(--pencil);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: .06em;
  text-transform: uppercase;
  transform: rotate(-5deg);
  transform-origin: center;
  opacity: .92;
}
.stamp--ok {
  border-color: #33566f;
  color: #33566f;
}

/* Uvod */
.hero {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(70rem 40rem at 78% 0%, rgba(62, 92, 120, .32), transparent 70%),
    var(--navy);
  color: var(--on-dark);
  --focus: var(--on-dark);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  padding-top: clamp(2.25rem, 1.5rem + 3vw, 4.5rem);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 15.4vw, 4.75rem);
  line-height: .96;
  letter-spacing: -.003em;
}
.hero__title span { display: block; text-wrap: balance; }
.hero__title span + span { margin-top: .05em; }
@media (min-width: 60rem) {
  /* Na širokem zaslonu je vsak stavek ena vrstica */
  .hero__title { font-size: clamp(4rem, 6.75vw, 6rem); }
}
.hero__lead {
  max-width: 34em;
  margin-top: 1.5rem;
  color: var(--on-dark);
  font-size: 1.125rem;
  line-height: 1.55;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.75rem;
}
.hero__note {
  max-width: 34em;
  margin-top: 1.125rem;
  color: var(--on-dark-soft);
  font-size: .9375rem;
  line-height: 1.45;
}
.hero-sheet {
  position: relative;
  --r: -1.6deg;
  z-index: 1;
  width: min(100%, 36rem);
  margin-inline: auto 0;
  /* List se nadaljuje pod merilni trak in ga rob uvoda odreže */
  margin-bottom: -7rem;
  transform: rotate(var(--r));
  transform-origin: 50% 100%;
}
.hero-sheet .label-tape {
  position: absolute;
  z-index: 2;
  top: -.75rem;
  left: 1.25rem;
}
.hero-sheet .sheet { z-index: 1; padding-bottom: 5rem; }
.pencil {
  position: absolute;
  z-index: 3;
  right: 1%;
  bottom: 7.25rem;
  width: 62%;
  height: auto;
  transform: rotate(-11deg);
  filter: drop-shadow(0 8px 5px rgba(14, 24, 34, .36));
}
@media (min-width: 60rem) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr);
    align-items: end;
    gap: clamp(2rem, 5vw, 5rem);
    padding-bottom: 3rem;
  }
  .hero__lead { font-size: 1.1875rem; }
  .hero-sheet { margin-bottom: -9rem; }
  .hero-sheet .sheet { padding-bottom: 6rem; }
  .pencil { bottom: 9rem; right: -7%; width: 66%; }
}

/* Merilni trak: skupna podoba */
.flow-tape,
.demo-tape__fill,
.closing__tape {
  --tick: var(--navy);
  background-color: var(--orange);
  background-image:
    repeating-linear-gradient(90deg, var(--tick) 0 2px, transparent 2px 5rem),
    repeating-linear-gradient(90deg, var(--tick) 0 1px, transparent 1px 1rem),
    linear-gradient(180deg, rgba(255, 255, 255, .2), transparent 30%, rgba(20, 33, 46, .14));
  background-size: 100% .875rem, 100% .4375rem, 100% 100%;
  background-repeat: no-repeat;
}

/* Merilni trak v uvodu */
.flow-tape {
  position: relative;
  z-index: 5;
  margin-right: 1.25rem;
  color: var(--navy);
  box-shadow: 0 -6px 16px -6px rgba(5, 12, 20, .55), 0 2px 0 rgba(14, 24, 34, .5);
  --focus: var(--navy);
}
.flow-tape::after {
  /* Kovinski kavelj na koncu traku */
  content: "";
  position: absolute;
  top: -.25rem;
  bottom: -.25rem;
  right: -.875rem;
  width: .875rem;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(90deg, #808c96, #dfe5e8 45%, #97a3ac);
  box-shadow: 1px 0 2px rgba(5, 12, 20, .5);
}
.flow-tape__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(100% - var(--gutter), 80rem);
  margin-inline: auto;
}
.flow-tape__list a {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0;
  min-height: 4.5rem;
  padding: 1.125rem .25rem .5rem .25rem;
  color: inherit;
  font-family: var(--font-label);
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
}
.flow-tape__list b {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
}
.flow-tape__list a:hover span { text-decoration: underline; text-underline-offset: .2em; }
.t-long { display: none; }
@media (min-width: 48rem) {
  .t-long { display: inline; }
  .t-short { display: none; }
  .flow-tape__list a {
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-start;
    gap: .5rem;
    padding: 1.625rem .5rem .75rem;
    font-size: 1rem;
  }
  .flow-tape__list b { font-size: 1.875rem; }
}

/* Vsebinski pasovi */
.band { padding-block: var(--band); }
.band--concrete { background: var(--concrete); }
.band--white { background: var(--white); }
.band--navy {
  background: var(--navy);
  color: var(--on-dark);
  --focus: var(--on-dark);
}
.h-section {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 1.9rem + 2.6vw, 4.25rem);
  line-height: 1;
  letter-spacing: -.002em;
  text-wrap: balance;
}
.h-section span { display: block; }
.lead {
  max-width: 36em;
  margin-top: 1rem;
  font-size: 1.125rem;
  line-height: 1.55;
}
@media (min-width: 48rem) {
  .lead { font-size: 1.1875rem; }
}
.band--navy .lead { color: var(--on-dark); }
.fine { margin-top: 1.5rem; color: var(--steel); font-size: .9375rem; line-height: 1.45; }

.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
@media (min-width: 60rem) {
  .split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: start;
  }
  .split__aside { position: sticky; top: 6rem; }
}

/* Koristi */
.benefits li {
  padding-block: 1.5rem 1.625rem;
  border-top: 2px solid var(--graphite);
}
.benefits li:first-child { padding-top: 1.125rem; }
.benefits h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.875rem, 1.625rem + 1vw, 2.5rem);
  line-height: 1.04;
}
.benefits p { max-width: 36em; margin-top: .5rem; }

/* Primer */
.demo__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}
.demo__intro .label-tape { justify-self: start; }
.label-tape--static { font-size: .9375rem; }
@media (min-width: 60rem) {
  .demo__intro {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 3rem;
  }
  .demo__intro .label-tape { margin-bottom: .375rem; }
}
.demo__noscript {
  padding: 1rem;
  background: var(--navy-raised);
}

/* Izbira obrti */
.trade-pick {
  margin: 0 0 1.5rem;
  padding: 0;
  border: 0;
}
.trade-pick legend {
  padding: 0;
  margin-bottom: .5rem;
  font-family: var(--font-label);
  font-size: 1rem;
  font-weight: 700;
  color: var(--on-dark);
}
.trade-pick__options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 36rem;
  background: var(--navy-raised);
  border-radius: 4px;
  padding: 3px;
}
.trade-pick label {
  position: relative;
  display: block;
  cursor: pointer;
}
.trade-pick input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.trade-pick span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.875rem;
  padding: .25rem .375rem;
  border-radius: 2px;
  font-family: var(--font-label);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  color: var(--on-dark);
  transition: background-color .15s ease, color .15s ease;
}
.trade-pick label:hover span { background: var(--navy-line); }
.trade-pick input:checked + span {
  background: var(--paper);
  color: var(--navy);
}
.trade-pick input:focus-visible + span {
  outline: 3px solid var(--on-dark);
  outline-offset: 2px;
}

/* Merilni trak kot koraki */
.demo-tape {
  position: relative;
  margin-bottom: 2rem;
  scroll-margin-top: 5rem;
}
.demo-tape__track {
  position: absolute;
  inset: 0;
  background-color: var(--navy-raised);
  background-image:
    repeating-linear-gradient(90deg, var(--navy-line) 0 2px, transparent 2px 5rem),
    repeating-linear-gradient(90deg, var(--navy-line) 0 1px, transparent 1px 1rem);
  background-size: 100% .875rem, 100% .4375rem;
  background-repeat: no-repeat;
}
.demo-tape__fill {
  position: relative;
  height: 100%;
  width: 20%;
  transition: width .38s cubic-bezier(.3, .7, .2, 1);
}
.demo-tape__fill::after {
  /* Kavelj je znotraj konca traku, da ne prekrije številke naslednjega koraka */
  content: "";
  position: absolute;
  top: -.25rem;
  bottom: -.25rem;
  right: 0;
  width: .5rem;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(90deg, #808c96, #dfe5e8 45%, #97a3ac);
  box-shadow: 1px 0 2px rgba(5, 12, 20, .6);
}
.demo-tape__tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.demo-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 4.75rem;
  padding: 1.125rem .25rem .5rem .375rem;
  border: 0;
  background: none;
  color: var(--on-dark);
  font-family: var(--font-label);
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: left;
  cursor: pointer;
  transition: color .2s ease;
}
.demo-tab b {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
}
.demo-tab.is-reached { color: var(--navy); }
.demo-tab[aria-selected="true"] span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .22em; }
.demo-tab:hover span { text-decoration: underline; text-underline-offset: .22em; }
.demo-tab:focus-visible { outline-offset: -3px; }
.demo-tab.is-reached:focus-visible { outline-color: var(--navy); }
@media (min-width: 48rem) {
  .demo-tab {
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-start;
    gap: .5rem;
    padding: 1.625rem .5rem .75rem .625rem;
    font-size: 1rem;
  }
  .demo-tab b { font-size: 1.875rem; }
}

/* Oder primera */
.demo-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  scroll-margin-top: 5rem;
}
.demo-stage:focus { outline: none; }
.phone {
  background: var(--white);
  color: var(--graphite);
  border-radius: 6px;
  --focus: var(--navy);
  min-width: 0;
}
.phone__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  padding: .625rem 1rem;
  border-bottom: 1px solid var(--concrete-deep);
  font-family: var(--font-label);
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.2;
}
.phone__bar em {
  font-style: normal;
  color: var(--steel);
  text-align: right;
}
.phone__body { padding: 1rem 1rem 1.25rem; }
.phone h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.03;
}
.phone p { font-size: 1rem; line-height: 1.5; }
.phone h3 + p { margin-top: .375rem; }
.phone__small { color: var(--steel); font-size: .875rem !important; line-height: 1.4 !important; }
@media (min-width: 62rem) {
  .demo-stage {
    grid-template-columns: 22.5rem minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
  }
  .phone {
    border: 9px solid #05090d;
    outline: 1px solid var(--navy-line);
    border-radius: 2.25rem;
    overflow: hidden;
    min-height: 40rem;
  }
  .phone__bar { padding: .875rem 1.25rem .625rem; }
  .phone__body { padding: 1.125rem 1.25rem 1.5rem; }
}

/* Vsebina zaslona */
.input-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: .875rem;
  border-radius: 3px;
  background: var(--concrete);
  padding: 3px;
}
.input-switch label { position: relative; cursor: pointer; }
.input-switch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.input-switch span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  border-radius: 2px;
  font-family: var(--font-label);
  font-size: .9375rem;
  font-weight: 700;
}
.input-switch input:checked + span { background: var(--navy); color: var(--on-dark); }
.input-switch input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 2px; }
.voice {
  margin-top: .875rem;
  padding: .875rem;
  background: var(--paper);
  border: 1px solid var(--concrete-deep);
  border-radius: 3px;
}
.voice__wave {
  width: 100%;
  height: 2.25rem;
  color: var(--navy);
  margin-bottom: .625rem;
}
.voice blockquote {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}
.field-photo { margin-top: .875rem; }
.field-photo svg {
  width: 100%;
  height: auto;
  border-radius: 3px;
  font-family: var(--font-label);
}
.field-photo figcaption { margin-top: .5rem; }
.input-note { margin-top: .625rem; }

.fact-list { margin-top: .875rem; }
.fact-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .5625rem;
  border-top: 1px solid var(--concrete-deep);
  font-size: .9375rem;
  line-height: 1.35;
}
.fact-list li:last-child { border-bottom: 1px solid var(--concrete-deep); }
.fact-list b {
  font-family: var(--font-display);
  font-size: 1.375rem;
  line-height: 1;
  padding-top: .125rem;
}
.fact-list li.is-ask { color: var(--pencil); }

.decision {
  margin-top: 1rem;
  padding-top: .875rem;
  border-top: 2px solid var(--graphite);
}
.decision--choice {
  margin-inline: 0;
  margin-bottom: 0;
  padding-inline: 0;
  padding-bottom: 0;
  border-width: 2px 0 0;
  border-style: solid;
  border-color: var(--graphite);
}
.decision h4 {
  margin: 0;
  font-family: var(--font-label);
  font-size: 1.0625rem;
  line-height: 1.2;
}
.decision > p { margin-top: .25rem; font-size: .9375rem; line-height: 1.4; color: var(--steel); }
.stepper {
  display: grid;
  grid-template-columns: 2.875rem minmax(0, 1fr) 2.875rem;
  align-items: center;
  margin-top: .625rem;
  border: 2px solid var(--navy);
  border-radius: 3px;
  background: var(--paper);
}
.stepper button {
  height: 2.75rem;
  border: 0;
  background: var(--concrete);
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.stepper button:hover:not(:disabled) { background: var(--concrete-deep); }
.stepper button:disabled { color: #8d979f; cursor: not-allowed; }
.stepper output {
  text-align: center;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 1.125rem;
}
.check-row {
  display: flex;
  align-items: center;
  gap: .625rem;
  min-height: 2.75rem;
  margin-top: .375rem;
  font-size: .9375rem;
  line-height: 1.3;
  cursor: pointer;
}
.check-row input {
  flex: none;
  width: 1.375rem;
  height: 1.375rem;
  margin: 0;
  accent-color: var(--navy);
  cursor: pointer;
}
.review-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
  padding-top: .75rem;
  border-top: 2px solid var(--graphite);
  font-family: var(--font-label);
  font-weight: 700;
  font-size: .9375rem;
}
.review-total strong {
  font-family: var(--font-display);
  font-size: 1.875rem;
  line-height: 1;
}
.confirm-btn { width: 100%; margin-top: .75rem; }
.confirm-hint { margin-top: .625rem; font-size: .875rem !important; line-height: 1.4 !important; }
.confirm-hint--alert { color: var(--pencil); font-style: italic; }
.confirm-hint--ok { color: var(--graphite); }

.file-tile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .75rem;
  align-items: center;
  margin-top: 1rem;
  padding: .75rem;
  background: var(--paper);
  border: 1px solid var(--concrete-deep);
  border-radius: 3px;
}
.file-tile__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 3.25rem;
  background: var(--navy);
  color: var(--on-dark);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  padding-top: .125rem;
  clip-path: polygon(0 0, 72% 0, 100% 22%, 100% 100%, 0 100%);
}
.file-tile strong {
  display: block;
  font-family: var(--font-label);
  font-size: 1rem;
  overflow-wrap: anywhere;
  line-height: 1.2;
}
.file-tile div > span { font-size: .875rem; color: var(--steel); }
.blocked {
  margin-top: 1rem;
  padding: .875rem;
  border-left: 4px solid var(--orange);
  background: var(--paper);
}
.blocked strong { display: block; font-family: var(--font-label); font-size: 1.0625rem; line-height: 1.25; }
.blocked p { margin-top: .25rem; font-size: .9375rem; line-height: 1.4; }
.blocked .btn { margin-top: .75rem; }

/* List v primeru */
.demo-paper {
  position: relative;
  min-width: 0;
  --focus: var(--navy);
}
.demo-paper .label-tape {
  position: absolute;
  z-index: 2;
  top: -.625rem;
  left: 1.25rem;
}
.demo-paper .doc { padding-top: 1.75rem; }
.is-entering > * { animation: step-in .26s cubic-bezier(.2, .7, .2, 1) both; }
.doc__total strong.is-updated { animation: total-flash .7s ease both; }

.notes-list { margin-top: 1rem; border-top: 2px solid var(--graphite); }
.notes-list div {
  display: grid;
  grid-template-columns: minmax(0, 6.5rem) minmax(0, 1fr);
  gap: .75rem;
  padding-block: .625rem;
  border-bottom: 1px solid #c9d5dd;
}
.notes-list dt {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: .875rem;
  color: var(--steel);
  padding-top: .0625rem;
}
.task-list { margin-top: .375rem; border-top: 2px solid var(--graphite); }
.task-list label {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  min-height: 2.75rem;
  padding-block: .625rem;
  border-bottom: 1px solid #d8dcdc;
  cursor: pointer;
  line-height: 1.35;
}
.task-list input {
  flex: none;
  width: 1.375rem;
  height: 1.375rem;
  margin: 0;
  accent-color: var(--navy);
  cursor: pointer;
}
.task-list input:checked + span { color: var(--steel); text-decoration: line-through; }
.doc__block-title {
  margin-top: 1rem;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: .875rem;
  color: var(--steel);
}
.empty-order {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid var(--graphite);
}

/* Navigacija primera */
.demo-nav {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  margin-top: 1.75rem;
}
.demo-nav .btn { flex: 0 1 auto; }
#demo-prev[hidden] { display: inline-flex !important; visibility: hidden; }
@media (min-width: 62rem) {
  .demo-nav { justify-content: flex-start; padding-left: calc(22.5rem + clamp(2rem, 4vw, 3.5rem)); }
}

/* Cenik */
.pricing-head { max-width: 46rem; }
.match {
  position: relative;
  margin-top: 2.75rem;
}
.match > .label-tape {
  position: absolute;
  z-index: 2;
  top: -.75rem;
  left: 1.25rem;
}
.match__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  line-height: 1.4;
}
.match__table thead { display: none; }
.match__table tbody,
.match__table tr,
.match__table td { display: block; }
.match__table tr {
  padding: 1rem 1.125rem;
  border-bottom: 1px solid #d8dcdc;
}
.match__table tr:first-child { padding-top: 1.75rem; }
.match__table tr:last-child { border-bottom: 0; }
.match__table td + td {
  display: grid;
  grid-template-columns: 6.75rem minmax(0, 1fr);
  gap: .5rem;
  margin-top: .375rem;
}
.match__table td[data-label]::before {
  content: attr(data-label);
  font-family: var(--font-label);
  font-size: .8125rem;
  font-weight: 700;
  color: var(--steel);
  padding-top: .125rem;
}
.match__said { font-style: italic; font-size: 1.0625rem; }
.match__ask { color: var(--pencil); font-style: italic; }
.match__none { color: var(--pencil); font-weight: 700; }
@media (min-width: 48rem) {
  .match__table thead { display: table-header-group; }
  .match__table tbody { display: table-row-group; }
  .match__table tr { display: table-row; padding: 0; }
  .match__table td,
  .match__table td + td { display: table-cell; margin: 0; }
  .match__table td[data-label]::before { content: none; }
  .match__table th {
    padding: 1.75rem 1.5rem .625rem;
    border-bottom: 2px solid var(--graphite);
    font-family: var(--font-label);
    font-size: .9375rem;
    font-weight: 700;
    text-align: left;
  }
  .match__table td {
    padding: .875rem 1.5rem;
    border-bottom: 1px solid #d8dcdc;
    vertical-align: top;
    width: 33.33%;
  }
  .match__table tr:last-child td { border-bottom: 0; padding-bottom: 1.5rem; }
}

/* Pregled */
.review {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.75rem;
  margin-top: var(--band);
}
.review__fix { position: relative; align-self: center; }
.review__fix > .label-tape {
  position: absolute;
  z-index: 2;
  top: -.75rem;
  left: 1.25rem;
}
.review__strip {
  padding: 1.75rem 1.5rem 1.5rem;
  transform: rotate(-.7deg);
}
.review__item {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 1.0625rem;
}
.review__change {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: .375rem;
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 2rem + 5vw, 5rem);
  line-height: 1;
  font-weight: 700;
}
.review__change s {
  color: var(--steel);
  text-decoration-color: var(--orange);
  text-decoration-thickness: .07em;
}
.review__new { color: var(--pencil); }
.review__tick { color: var(--pencil); width: .55em; height: .55em; }
.review__sum {
  margin-top: .5rem;
  padding-top: .5rem;
  border-top: 1px solid #d8dcdc;
  font-size: 1rem;
}
.review__sum s { color: var(--steel); margin-right: .5rem; }
.review__sum span { font-weight: 700; }
.review__copy p:last-child { margin-top: 1rem; }
.plain-list { margin-top: 1rem; }
.plain-list li {
  position: relative;
  padding-left: 1.25rem;
}
.plain-list li + li { margin-top: .375rem; }
.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .65em;
  width: .625rem;
  height: 2px;
  background: var(--orange);
}
@media (min-width: 60rem) {
  .review {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: center;
  }
}

/* Beta */
.beta { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.75rem; }
.beta > *, .beta__lists > * { min-width: 0; }
.beta__lists {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem;
  margin-top: 2rem;
}
.beta__lists h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.875rem;
  line-height: 1.05;
}
.beta__lists .plain-list { margin-top: .625rem; }
.price-note {
  position: relative;
  align-self: start;
}
.price-note > .label-tape {
  position: relative;
  z-index: 2;
  display: block;
  max-width: calc(100% - .5rem);
  margin-bottom: -.875rem;
  margin-left: .5rem;
  padding: .5rem 1rem;
}
.price-note__sheet { padding: 2.25rem 1.5rem 1.5rem; }
.price-note__amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 2.2rem + 3vw, 4.5rem);
  line-height: 1;
  overflow-wrap: anywhere;
}
.price-note__amount span {
  display: block;
  margin-top: .125em;
  font-size: .5em;
  line-height: 1;
  color: var(--steel);
}
.price-note__sheet p + p { margin-top: 1rem; max-width: 30em; }
.price-note__amount.is-struck { color: var(--steel); }
.price-note__amount s { text-decoration-color: var(--orange); text-decoration-thickness: .07em; }
@media (min-width: 40rem) {
  .beta__lists { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
}
@media (min-width: 62rem) {
  .beta {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(2rem, 6vw, 6rem);
  }
  .price-note { margin-top: .5rem; }
}

/* Vprašanja */
.faq details { border-top: 2px solid var(--graphite); }
.faq details:last-child { border-bottom: 2px solid var(--graphite); }
.faq summary {
  position: relative;
  display: block;
  padding: 1rem 2.75rem 1rem 0;
  font-family: var(--font-label);
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: .5rem;
  width: 1rem;
  height: 3px;
  margin-top: -1.5px;
  background: var(--pencil);
  transition: transform .18s ease;
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover { color: var(--pencil); }
.faq details p {
  max-width: 36em;
  padding-bottom: 1.25rem;
}
.faq a { color: var(--pencil); text-underline-offset: .15em; }

/* Zaključek */
.closing {
  position: relative;
  background: var(--navy);
  color: var(--on-dark);
  --focus: var(--on-dark);
}
.closing__tape {
  height: 1.75rem;
  width: 62%;
  position: relative;
}
.closing__tape::after {
  content: "";
  position: absolute;
  top: -.1875rem;
  bottom: -.1875rem;
  right: -.625rem;
  width: .625rem;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(90deg, #808c96, #dfe5e8 45%, #97a3ac);
}
.closing__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  padding-block: clamp(3.5rem, 2.5rem + 5vw, 7rem);
}
.closing__title {
  max-width: 14em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 2.1rem + 4vw, 5.75rem);
  line-height: .98;
  text-wrap: balance;
}
.closing__action p {
  max-width: 26em;
  margin-top: .875rem;
  color: var(--on-dark-soft);
  font-size: 1rem;
  line-height: 1.45;
}
@media (min-width: 60rem) {
  .closing__body {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: end;
  }
}

/* Noga */
.site-foot {
  padding-block: 1.75rem;
  background: var(--navy-deep);
  color: var(--on-dark-soft);
  font-size: .9375rem;
  line-height: 1.45;
}
.site-foot strong { color: var(--on-dark); font-family: var(--font-label); }
.site-foot p + p { margin-top: .25rem; }
.site-foot__legal {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .875rem;
  font-style: normal;
}
.site-foot__legal > span { display: block; }
.site-foot__legal .nw { white-space: nowrap; }
.site-foot a { color: var(--on-dark); text-decoration-color: var(--orange); text-underline-offset: .2em; }
.site-foot a:hover { text-decoration-thickness: 2px; }
.site-foot__links { margin-top: .875rem; }
.site-foot__links a { display: inline-block; padding-block: .25rem; }

/* Pravne strani (zasebnost) */
.legal { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); background: var(--white); }
.legal__body { max-width: 42rem; }
.legal__back {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding-block: .375rem;
  font-family: var(--font-label);
  font-weight: 700;
  color: var(--steel);
  text-decoration-color: var(--orange);
  text-underline-offset: .25em;
}
.legal h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 1.9rem + 2.6vw, 3.75rem);
  line-height: 1;
  text-wrap: balance;
}
.legal__meta { margin-top: .75rem; color: var(--steel); font-size: .9375rem; }
.legal h2 {
  margin-top: 2.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.625rem;
  line-height: 1.1;
}
.legal p { margin-top: .75rem; }
.legal ul { margin-top: .75rem; }
.legal li { position: relative; padding-left: 1.25rem; }
.legal li + li { margin-top: .375rem; }
.legal li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .75em;
  width: .625rem;
  height: 2px;
  background: var(--orange);
}
.legal a { overflow-wrap: anywhere; text-decoration-color: var(--orange); text-underline-offset: .2em; }

/* Informativno okno */
.access-dialog {
  width: min(100% - 2rem, 30rem);
  padding: 0;
  border: 0;
  border-radius: 2px;
  background-color: var(--paper);
  background-image: var(--grain);
  color: var(--graphite);
  box-shadow: 0 30px 70px -20px rgba(5, 12, 20, .8);
  --focus: var(--navy);
}
.access-dialog::backdrop { background: rgba(14, 24, 34, .72); }
.access-dialog__inner { padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); }
.access-dialog h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.75rem;
  line-height: 1;
}
.access-dialog p { margin-top: .875rem; }
.access-dialog .btn { margin-top: 1.5rem; }

/* Zelo ozki zasloni: oznake na traku in izbira obrti se morajo prilegati tudi s širšo nadomestno pisavo */
@media (max-width: 22.5rem) {
  .flow-tape__list a,
  .demo-tab { padding-inline: .1875rem; font-size: .75rem; }
  .trade-pick span { padding-inline: .125rem; font-size: .875rem; }
}

/* Gibanje: enkrat ob nalaganju, sicer samo kot odziv na dejanje */
@keyframes tape-pull { from { transform: translateX(calc(-100% - 2rem)); } to { transform: none; } }
@keyframes sheet-settle {
  from { opacity: 0; transform: translateY(1.75rem) rotate(.8deg); }
  to { opacity: 1; transform: rotate(var(--r)); }
}
@keyframes step-in { from { opacity: 0; transform: translateY(.5rem); } to { opacity: 1; transform: none; } }
@keyframes total-flash { from { background: rgba(246, 120, 30, .34); } to { background: transparent; } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(.625rem); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .flow-tape { animation: tape-pull 1.15s cubic-bezier(.14, .8, .22, 1) .1s both; }
  .hero-sheet { animation: sheet-settle .85s cubic-bezier(.2, .8, .25, 1) both; }
  .access-dialog[open] { animation: dialog-in .2s ease both; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
