 :root {
    --navy: #02061a;
    --orange: #f0911d;
    --white: #f9f8f4;
    --muted: #d8d9df;
    --line: #21273f;
    --dark-text: #030a26;
    --card: #060b26;
    --card-line: #232a46;
    --paper: #ffffff;
    --ink-muted: #565b72;
    --ink-orange: #f0911d;
    --max: 1200px;
    --gutter: 48px;
  }

  * { box-sizing: border-box; }

  html, body {
    margin: 0;
    padding: 0;
    background: var(--navy);
    overflow-x: clip;
  }

  /* Cela podlaga (ne le en blok) preklopi iz temno modre v belo, ko prijavnica postane
     prevladujoča sekcija na zaslonu – glej JS spodaj. Mehak prehod z transition, ne s prelivom. */
  body {
    transition: background-color .7s ease;
  }

  body.theme-light {
    background: var(--paper);
  }

  html { scroll-behavior: smooth; }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
  }

  body {
    color: var(--white);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
  }

  .page { min-height: 100vh; overflow: hidden; }

  .container {
    width: min(var(--max), calc(100% - var(--gutter) * 2));
    margin: 0 auto;
  }

  /* HERO */
  .hero {
    position: relative;
    padding: 96px 0 72px;
    overflow: clip;
  }

  .logo { display: block; width: 260px; height: auto; }

  .hero-content { padding-top: 72px; max-width: 980px; }

  .eyebrow {
    display: inline-block;
    margin: 0 0 22px;
    padding: 8px 18px;
    border: 1px solid rgba(240,145,29,.5);
    border-radius: 999px;
    color: var(--orange);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: fadeUp .9s cubic-bezier(.2,.75,.25,1) both;
  }

  h1 {
    margin: 0;
    font-size: 62px;
    line-height: 1.16;
    letter-spacing: -1.8px;
    font-weight: 700;
    animation: headlineIn .9s cubic-bezier(.2,.75,.25,1) both;
    animation-delay: .1s;
  }

  h1 span {
    display: block;
    color: var(--orange);
    animation: sloganIn 1.1s cubic-bezier(.2,.75,.25,1) both;
    animation-delay: .38s;
  }

  @keyframes headlineIn {
    from { opacity: 0; transform: translateY(28px); filter: blur(4px); }
    to   { opacity: 1; transform: translateY(0); filter: blur(0); }
  }

  @keyframes sloganIn {
    from { opacity: 0; transform: translateX(-24px); filter: blur(5px); }
    to   { opacity: 1; transform: translateX(0); filter: blur(0); }
  }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  @media (prefers-reduced-motion: reduce) {
    h1, h1 span, .eyebrow, .intro, .beta-row, .beta-button, .benefit-col, .close-line { animation: none !important; }
  }

  .intro {
    margin: 30px 0 0;
    max-width: 720px;
    font-size: 20px;
    line-height: 1.6;
    color: var(--muted);
    animation: fadeUp .9s cubic-bezier(.2,.75,.25,1) both;
    animation-delay: .7s;
  }

  .beta-row {
    display: grid;
    grid-template-columns: 290px 1fr;
    align-items: center;
    gap: 32px;
    margin-top: 56px;
    animation: fadeUp .9s cubic-bezier(.2,.75,.25,1) both;
    animation-delay: .95s;
  }

  .beta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    height: 65px;
    width: 100%;
    padding: 0 30px;
    border-radius: 34px;
    background: var(--orange);
    color: var(--dark-text);
    text-decoration: none;
    font-size: 20px;
    line-height: 1;
    font-weight: 700;
    white-space: nowrap;
    transition: transform .2s ease, background .2s ease;
    animation: betaPulse 1.8s ease-out infinite;
  }

  .beta-button:hover { transform: translateY(-2px); background: #f6a02e; }

  @keyframes betaPulse {
    0%   { box-shadow: 0 0 0 0 rgba(240, 145, 29, .5); }
    100% { box-shadow: 0 0 0 14px rgba(240, 145, 29, 0); }
  }

  .beta-arrow { font-size: 30px; line-height: 1; font-weight: 400; margin-top: -2px; }

  .beta-copy {
    min-height: 69px;
    padding-left: 24px;
    border-left: 1px solid rgba(249,248,244,.75);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    font-size: 20px;
    line-height: 1.45;
  }

  .beta-copy span, .beta-copy strong { display: block; }
  .beta-copy strong { color: var(--orange); font-weight: 700; }

  .hero-mark {
    position: fixed;
    z-index: 0;
    width: 600px;
    height: 354px;
    right: -18px;
    top: -18px;
    pointer-events: none;
  }

  .hero-mark path {
    fill: none;
    stroke: #20273f;
    stroke-width: 22px;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .hero-mark {
    transition: opacity .6s ease;
  }

  .hero-mark.is-faded {
    opacity: 0;
  }

  .hero > .container, .benefits, .close, .faq, .signup, .footer { position: relative; z-index: 1; }

  /* BENEFITS – "kaj dobite" / "kaj pričakujemo" */
  .benefits {
    width: min(var(--max), calc(100% - var(--gutter) * 2));
    margin: 40px auto 0;
    padding-top: 56px;
    border-top: 1px solid var(--line);
  }

  .benefits-head {
    max-width: 760px;
    margin-bottom: 44px;
  }

  .benefits-head h2 {
    margin: 0;
    font-size: 38px;
    line-height: 1.2;
    letter-spacing: -1px;
    font-weight: 700;
    color: var(--white);
    transition: color .7s ease;
  }

  .benefits-head p {
    margin: 14px 0 0;
    font-size: 18px;
    line-height: 1.55;
    color: var(--muted);
    max-width: 640px;
    transition: color .7s ease;
  }

  .benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .benefit-col {
    animation: fadeUp .8s cubic-bezier(.2,.75,.25,1) both;
  }

  .benefit-col--give { animation-delay: .05s; }

  .benefit-col--ask {
    animation-delay: .2s;
  }

  .benefit-tag {
    display: block;
    margin: 0 0 32px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--orange);
  }

  .benefit-list { list-style: none; margin: 0; padding: 0; }

  .benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    padding: 26px 0;
    border-top: 1px solid var(--line);
  }

  .benefit-list li:first-child { border-top: none; padding-top: 0; }

  .benefit-icon {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(240,145,29,.1);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .benefit-icon svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: var(--orange);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .benefit-text {
    font-size: 17px;
    line-height: 1.55;
    padding-top: 12px;
    color: var(--white);
    transition: color .7s ease;
  }

  .benefit-text strong {
    color: var(--white);
    font-weight: 700;
    transition: color .7s ease;
  }

  /* Ko podlaga preklopi na belo, mora ta sekcija ostati berljiva – enak mehanizem kot pri .close-line */
  body.theme-light .benefits-head h2 { color: var(--navy); }
  body.theme-light .benefits-head p { color: var(--ink-muted); }
  body.theme-light .benefit-text { color: var(--ink-muted); }
  body.theme-light .benefit-text strong { color: var(--navy); }

  /* CLOSE */
  .close {
    width: min(var(--max), calc(100% - var(--gutter) * 2));
    margin: 80px auto 0;
  }

  .close-line {
    margin: 0;
    max-width: 900px;
    font-size: 34px;
    line-height: 1.3;
    letter-spacing: -0.8px;
    font-weight: 700;
    color: var(--white);
    transition: color .7s ease;
    animation: fadeUp .9s cubic-bezier(.2,.75,.25,1) both;
  }

  .close-line span {
    color: var(--orange);
    transition: color .7s ease;
  }

  /* Ko podlaga preklopi na belo (glej body.theme-light), mora ta vrstica ostati berljiva –
     potemni v temno modro, poudarjeni del pa v temnejšo oranžno. */
  body.theme-light .close-line { color: var(--navy); }
  body.theme-light .close-line span { color: var(--ink-orange); }

  .close .beta-row { margin-top: 44px; grid-template-columns: 260px 1fr; }

  /* FAQ – "Vprašanja in odgovori", odpiranje/zapiranje posameznih postavk (harmonika) */
  .faq {
    width: min(var(--max), calc(100% - var(--gutter) * 2));
    margin: 80px auto 0;
    padding-top: 56px;
  }

  .faq-head h2 {
    margin: 0 0 36px;
    font-size: 38px;
    line-height: 1.2;
    letter-spacing: -1px;
    font-weight: 700;
    color: var(--white);
    transition: color .7s ease;
  }

  .faq-list { max-width: 820px; }

  .faq-item { border-top: 1px solid var(--line); }
  .faq-item:first-child { border-top: none; }

  .faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    margin: 0;
    padding: 26px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font: inherit;
    font-size: 19px;
    font-weight: 600;
    color: var(--white);
    transition: color .7s ease;
  }

  .faq-icon {
    position: relative;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
  }

  .faq-icon::before,
  .faq-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--orange);
    transition: transform .3s ease;
  }

  .faq-icon::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
  .faq-icon::after { width: 2px; height: 14px; transform: translate(-50%, -50%); }

  .faq-item.is-open .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); }

  .faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .35s ease;
  }

  .faq-answer-inner { overflow: hidden; }

  .faq-answer p {
    margin: 0 0 26px;
    max-width: 640px;
    font-size: 17px;
    line-height: 1.6;
    color: var(--muted);
    transition: color .7s ease;
  }

  .faq-answer a { color: var(--orange); font-weight: 600; }

  .faq-item.is-open .faq-answer { grid-template-rows: 1fr; }

  body.theme-light .faq-head h2 { color: var(--navy); }
  body.theme-light .faq-question { color: var(--navy); }
  body.theme-light .faq-answer p { color: var(--ink-muted); }
  body.theme-light .faq,
  body.theme-light .faq-item { border-color: rgba(2,6,26,.12); }

  /* PRIJAVNICA – ozadje ni več vezano na ta blok, temveč na <body> (glej body.theme-light zgoraj) */
  .signup {
    width: min(var(--max), calc(100% - var(--gutter) * 2));
    margin: 0 auto;
    padding: 120px 0 96px;
  }

  .eyebrow--dark {
    color: var(--ink-orange);
    border-color: var(--orange);
  }

  .signup-title {
    margin: 22px 0 0;
    max-width: 720px;
    font-size: 44px;
    line-height: 1.2;
    letter-spacing: -1.2px;
    font-weight: 700;
    color: var(--navy);
  }

  .signup-sub {
    margin: 20px 0 0;
    max-width: 660px;
    font-size: 19px;
    line-height: 1.65;
    color: var(--ink-muted);
  }

  .signup-form-slot {
    margin-top: 52px;
    border: 1.5px dashed rgba(2,6,26,.2);
    border-radius: 20px;
    padding: 72px 32px;
    text-align: center;
    color: #9a9dae;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
  }

  @media (max-width: 650px) {
    .signup { padding: 72px 0 64px; }
    .signup-title { font-size: 30px; letter-spacing: -0.6px; margin-top: 18px; }
    .signup-sub { font-size: 17px; margin-top: 16px; }
    .signup-form-slot { margin-top: 36px; padding: 48px 20px; }
  }

  /* FOOTER */
  .footer {
    width: min(var(--max), calc(100% - var(--gutter) * 2));
    margin: 76px auto 0;
    padding-bottom: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 10px;
    gap: 20px;
    font-size: 18px;
    line-height: 1;
  }

  .footer-line { width: 43px; height: 1px; background: var(--white); }
  .footer strong { font-weight: 700; }

  .footer-status {
    color: inherit;
    text-decoration: none;
    opacity: .7;
    white-space: nowrap;
    transition: opacity .2s ease;
  }

  .footer-status:hover { opacity: 1; text-decoration: underline; }

  .footer--light { color: var(--navy); margin-top: 0; }
  .footer--light .footer-line { background: var(--navy); opacity: .35; }

  @media (min-width: 901px) {
    .hero { min-height: 92vh; display: flex; align-items: center; padding: clamp(24px, 4vh, 96px) 0; }
    .logo { width: clamp(180px, 20vh, 260px); }
    .hero-content { padding-top: clamp(16px, 5vh, 72px); }
  }

  @media (max-width: 900px) {
    :root { --gutter: 24px; }
    .hero { padding-top: 40px; padding-bottom: 56px; }
    .hero-content { padding-top: 56px; }
    h1 { font-size: clamp(38px, 6.4vw, 54px); }
    .benefits-grid { grid-template-columns: 1fr; gap: 0; }
    .benefit-col--ask {
      margin-top: 48px;
      padding-top: 44px;
      border-top: 1px solid var(--line);
    }
    .beta-row { margin-top: 48px; }
  }

  @media (max-width: 650px) {
    :root { --gutter: 16px; }
    .logo { width: 200px; }
    .hero-content { padding-top: 44px; }
    h1 { font-size: 34px; line-height: 1.18; letter-spacing: -1px; }
    .intro { font-size: 17px; margin-top: 24px; }
    .beta-row { display: block; margin-top: 40px; }
    .beta-button { width: 100%; max-width: 320px; gap: 16px; padding: 0 24px; font-size: 18px; }
    .beta-copy { margin-top: 22px; padding: 12px 0 12px 18px; min-height: 0; font-size: 17px; }
    .benefits { padding-top: 40px; }
    .benefits-head h2 { font-size: 28px; }
    .benefit-icon { width: 48px; height: 48px; border-radius: 14px; }
    .benefit-icon svg { width: 25px; height: 25px; }
    .benefit-list li { gap: 18px; padding: 22px 0; }
    .close-line { font-size: 24px; letter-spacing: -0.4px; }
    .close .beta-row { margin-top: 30px; }
    .faq { padding-top: 40px; }
    .faq-head h2 { font-size: 28px; }
    .faq-question { font-size: 17px; padding: 20px 0; }
    .footer { margin-top: 44px; font-size: 15px; line-height: 1.5; }
  }