/* Predlog B. Za starše: modra iz oči, Source Serif in Source Sans, besedilo levo, maskota desno. */

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/sourceserif-400-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: "Source Serif 4";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/sourceserif-400-latinext.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/sourceserif-600-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: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/sourceserif-600-latinext.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/sourcesans-400-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: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/sourcesans-400-latinext.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/sourcesans-600-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: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/sourcesans-600-latinext.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #f7f7f5;
  --ink: #1b2742;
  --soft: #3e4a66;
  --line: #e3e1db;
  --paper: #ffffff;
  --accent: #1a649c;
  --danger: #6e1e2a;
  --serif: "Source Serif 4", "Iowan Old Style", Palatino, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --max: 1080px;
  --pad: 1.25rem;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.55;
}

img { max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.2vw, 2.85rem); margin-bottom: 2rem; }
h3 { font-size: 1.45rem; line-height: 1.2; font-weight: 600; }

p { margin: 0; text-wrap: pretty; }
a { color: inherit; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: #fff;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  z-index: 20;
  text-decoration: none;
}
.skip:focus { top: 0.6rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(247, 247, 245, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.8rem var(--pad);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-right: auto;
}

.brand-mark { width: 36px; height: auto; }

.nav {
  order: 3;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.15rem;
}

.nav a {
  text-decoration: none;
  color: var(--soft);
  font-size: 1rem;
  padding: 0.3rem 0;
}

.nav a:hover,
.nav a:focus-visible { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.2;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn:hover { background: #121a30; }
.btn-small { min-height: 42px; padding: 0.5rem 0.95rem; font-size: 0.95rem; }

.section { padding: clamp(4.5rem, 9vw, 7.5rem) var(--pad); }
#kako, #cene, #primer, #vprasanja, #prijava, #videz { scroll-margin-top: 5rem; }
.section-inner { max-width: var(--max); margin: 0 auto; }

.hero {
  padding-top: clamp(2.75rem, 7vw, 5.5rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.hero-layout {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.hero-visual { order: -1; }
.hero-mascot { width: min(360px, 82vw); margin-inline: auto; }
.hero-rest { display: flex; flex-direction: column; align-items: flex-start; gap: 1.2rem; margin-top: 1.35rem; }
.lead { max-width: 34rem; color: var(--soft); font-size: 1.2rem; }
#videz .lead, #cene .lead { margin-bottom: 1.75rem; }
.reassure, .fine { color: var(--soft); max-width: 38rem; }

h2::before {
  content: "";
  display: block;
  width: 2rem;
  height: 2px;
  background: var(--accent);
  margin-bottom: 0.9rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.2rem 0.9rem;
  counter-increment: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 600;
  grid-row: 1 / span 2;
  padding-top: 0.35rem;
}

.steps h3 { margin-bottom: 0.4rem; }
.steps p { color: var(--soft); max-width: 36rem; }

.cta .section-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.cta h2::before { display: none; }

.frame {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  max-width: 920px;
}

.beats {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.beats li { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; }
.beats span { color: var(--accent); font-weight: 600; }

.note { color: var(--soft); margin: -0.75rem 0 1.5rem; max-width: 40rem; }

.sample { display: flex; flex-direction: column; gap: 2.25rem; }
.sample h3 { margin-bottom: 0.35rem; }
.meta { color: var(--soft); margin-bottom: 0.75rem; }

blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  max-width: 40rem;
}
blockquote p + p { margin-top: 0.75rem; }

.prices {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-bottom: 1.5rem;
  border-top: 1px solid var(--line);
}

.prices article { padding-top: 1.25rem; }
.amount {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0.4rem 0 0.35rem;
}

.price-notes { display: flex; flex-direction: column; gap: 0.4rem; }

.faq { border-top: 1px solid var(--line); }
.qa-item { padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.qa-item h3 { margin-bottom: 0.45rem; font-size: 1.35rem; }
.qa-item p, .qa-item li { color: var(--soft); }
.qa-item ul { margin: 0.5rem 0 0; padding-left: 1.15rem; }
.qa-item a { text-underline-offset: 0.18em; }

.signup .section-inner { max-width: 36rem; }
.form { display: flex; flex-direction: column; gap: 1.05rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-weight: 600; }
.hint { color: var(--soft); font-size: 0.98rem; }

input, select {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.8rem;
  border: 1px solid #d4d1ca;
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.consent {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.75rem;
  align-items: start;
}
.consent input {
  width: 1.25rem;
  height: 1.25rem;
  min-height: 1.25rem;
  margin-top: 0.28rem;
  accent-color: var(--ink);
}
.consent a { text-underline-offset: 0.18em; }

.error { color: var(--danger); font-weight: 600; }
.thanks { font-size: 1.2rem; max-width: 36rem; }
.thanks:focus { outline: none; }

.site-footer { border-top: 1px solid var(--line); padding: 3.5rem var(--pad) 4.5rem; }
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--soft);
  font-size: 1rem;
}
.footer-lead { color: var(--ink); font-family: var(--serif); font-size: 1.35rem; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 0.35rem 1.1rem; }
.footer-inner a { text-underline-offset: 0.18em; }
address { font-style: normal; }

@media (min-width: 800px) {
  .nav { order: 0; width: auto; }
  .hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
  }
  .hero-visual { order: 0; }
  .hero-mascot { width: min(440px, 100%); margin: 0 0 0 auto; }
  .steps { display: grid; grid-template-columns: 1fr 1fr; gap: 2.75rem 4rem; }
  .beats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; }
  .sample { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
  .prices { grid-template-columns: 1fr 1fr; }
  .prices article + article { border-left: 1px solid var(--line); padding-left: 2rem; }
  .qa-item {
    display: grid;
    grid-template-columns: minmax(14rem, 0.8fr) 1.3fr;
    gap: 1.5rem 2.5rem;
    align-items: start;
  }
  .qa-item h3 { margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

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