  * { margin: 0; padding: 0; box-sizing: border-box; }
  html, body { background: #f2f1f9; }
  /* Slim scrollbar: a native scrollbar eats ~15px of viewport width and shifts
     centered content ~7px off the 1512px design grid; an 8px one makes that
     difference imperceptible while matching the design's bluegray palette. */
  ::-webkit-scrollbar { width: 8px; height: 8px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb { background: rgba(110,122,140,0.45); border-radius: 8px; }
  ::-webkit-scrollbar-thumb:hover { background: rgba(110,122,140,0.75); }
  @supports not selector(::-webkit-scrollbar) {
    html { scrollbar-width: thin; scrollbar-color: rgba(110,122,140,0.45) transparent; }
  }
  body { font-family: 'Inter', sans-serif; }
  a { text-decoration: none; color: inherit; cursor: pointer; }
  img { display: block; }

  .canvas { width: 100%; margin: 0 auto; position: relative; background: #f2f1f9; overflow: clip; }

  /* ===== Hero ===== */
  .hero { position: relative; height: 982px; overflow: hidden; }
  .hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, #006aff 0.524%, #00c8ff 100%); mix-blend-mode: multiply; }
  .hero-content { position: absolute; left: 50%; transform: translateX(-50%); top: 284px; width: 1203px; max-width: calc(100% - 48px); display: flex; flex-direction: column; align-items: center; gap: 17px; }
  .hero-chip { background: #e5e5ee; border-radius: 20px; padding: 8px 16px; }
  .hero-chip p { font-family: 'Roboto', sans-serif; font-weight: 700; font-size: 14px; line-height: 14px; letter-spacing: 1.4px; color: #006aff; white-space: nowrap; }
  .hero h1 { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 69px; line-height: 69px; letter-spacing: -1.38px; color: #fdfdff; text-align: center; width: 100%; }
  .hero-sub { font-weight: 500; font-size: 18px; line-height: 2; color: #fdfdff; text-align: center; width: 520px; max-width: 100%; white-space: pre-wrap; }

  /* ===== FAQ accordion ===== */
  .faq { position: relative; z-index: 10; width: 856px; max-width: calc(100% - 64px); margin: -365px auto 0; display: flex; flex-direction: column; gap: 8px; }
  .faq-item { background: #ebecf4; border: 1px solid #cacdd8; border-radius: 16px; overflow: hidden; }
  .faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 78px; padding: 0 24px; background: none; border: none; cursor: pointer; text-align: left; }
  .faq-q span { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 18px; line-height: 18px; color: #6e7a8c; }
  .faq-q img { width: 12px; height: 7px; flex-shrink: 0; transition: transform 0.3s ease; }
  .faq-item.open .faq-q img { transform: rotate(180deg); }
  .faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease; }
  .faq-a > div { overflow: hidden; }
  .faq-a p { padding: 0 64px 24px 24px; font-weight: 500; font-size: 18px; line-height: 2; color: #6e7a8c; }
  .faq-item.open .faq-a { grid-template-rows: 1fr; }

  /* ===== CTA ===== */
  .cta { width: min(1304px, calc(100% - 64px)); min-height: 469px; margin: 128px auto 0; background: #e5e5ee; border-radius: 22px; display: flex; flex-direction: column; align-items: center; }
  .cta-icon { margin-top: 46px; width: 56px; height: 56px; background: rgba(0,106,255,0.1); border-radius: 16px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .cta-icon img { width: 24px; height: 22.667px; }
  .cta h2 { margin-top: 26px; font-family: 'Sora', sans-serif; font-weight: 400; font-size: 44px; line-height: 44px; color: #6e7a8c; text-align: center; white-space: nowrap; }
  .cta-sub { margin-top: 24px; font-weight: 500; font-size: 18px; line-height: 2; color: #6e7a8c; text-align: center; white-space: nowrap; }
  .cta .btn-blue { margin-top: 48px; }

  /* ===== Footer ===== */
  .footer { margin-top: 128px; }
  .footer-line { height: 4px; }
  .footer-line-1 { background: linear-gradient(to left, #006aff 0.524%, #00c8ff 100%); }
  .footer-line-2 { background: linear-gradient(to right, #006aff 0.524%, #00c8ff 100%); }
  .footer-body { position: relative; background: #6e7a8c; overflow: hidden; }
  .footer-inner { position: relative; max-width: 1512px; height: 647px; margin: 0 auto; }
  .footer-spinner { position: absolute; left: 900px; top: 78px; width: 752px; height: 652.604px; pointer-events: none; }

  .footer-brand { position: absolute; left: 105px; top: 79.87px; width: 240px; }
  .footer-logo { position: relative; width: 121px; height: 105.006px; }
  .footer-logo img { position: absolute; }
  .footer-logo .fl-a { left: 0; top: 55.1px; width: 49.83px; height: 49.91px; }
  .footer-logo .fl-b { left: 71.17px; top: 0; width: 49.83px; height: 49.91px; }
  .footer-logo .fl-c { left: 18.73px; top: 10.52px; width: 83.53px; height: 83.66px; }
  .footer-tagline { margin: 14.5px 0 0 2px; width: 182px; display: flex; flex-direction: column; gap: 4px; font-family: 'Roboto', sans-serif; font-weight: 600; font-size: 9.987px; line-height: 10px; }
  .footer-tagline .t1 { color: #fdfdff; }
  .footer-tagline .t2 { color: #afb5c2; }
  .footer-contact { font-weight: 500; font-size: 18px; line-height: 18px; color: #fdfdff; }
  .footer-address { margin-top: 38.6px; width: 221px; }
  .footer-phone { margin-top: 24px; white-space: nowrap; }
  .footer-email { margin-top: 24px; white-space: nowrap; }

  .footer-cols { display: contents; }
  .footer-col { position: absolute; top: 156px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-col-udruzenje { left: 441px; }
  .footer-col-clanovi { left: 665px; }
  .footer-col-edukacija { left: 889px; }
  .footer-col-h { font-family: 'Roboto', sans-serif; font-weight: 700; font-size: 14px; line-height: 14px; letter-spacing: 1.4px; color: #afb5c2; white-space: nowrap; }
  .footer-link { font-weight: 500; font-size: 18px; line-height: 18px; color: #fdfdff; white-space: nowrap; display: block; }

  .footer-bottom { display: contents; }
  .footer-social { position: absolute; right: 103px; top: 506px; width: 48px; height: 48px; }
  .footer-copy { position: absolute; left: 105px; top: 597px; font-weight: 400; font-size: 14px; line-height: 14px; color: #afb5c2; white-space: nowrap; }
  .scroll-top { position: absolute; right: 7px; top: 239px; width: 56px; height: 56px; background: #fdfdff; border: none; border-radius: 16px; cursor: pointer; box-shadow: inset -8px -8px 10px 0 rgba(100,100,100,0.15), inset 8px 8px 10px 0 rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .scroll-top img { width: 13px; height: 29px; }

  /* ===== Hover states (from Figma prototype variants) ===== */
  .scroll-top { transition: box-shadow 0.25s ease; }
  .scroll-top:hover { box-shadow: inset -8px -8px 10px 0 rgba(100,100,100,0.15), inset 8px 8px 10px 0 rgba(255,255,255,0.3), 0 15px 30px 0 rgba(0,99,238,0.1); }
  .footer-link:hover { text-decoration: underline; }
  .faq-item { transition: border-color 0.2s ease; }
  .faq-item:hover { border-color: #afb5c2; }

  /* =====================================================
     Compact navigation (max-width: 1279px)
     The fixed-position desktop nav needs ~1280px of room;
     below that the header reflows to a flex bar.
     ===================================================== */
  @media (max-width: 1279px) {
  }

  /* =====================================================
     Tablet (max-width: 1024px)
     ===================================================== */
  @media (max-width: 1024px) {
    body { overflow-x: hidden; }

    /* Hero */
    .hero { height: 760px; }
    .hero-content { position: relative; left: auto; top: auto; transform: none; width: auto; max-width: none; padding: 232px 32px 0; }
    .hero h1 { font-size: 52px; line-height: 1.1; letter-spacing: -1px; }

    /* FAQ */
    .faq { width: calc(100% - 64px); margin: -240px auto 0; }

    /* CTA */
    .cta { width: calc(100% - 64px); min-height: 0; margin: 96px auto 0; padding: 0 32px 96px; }
    .cta h2 { font-size: 34px; line-height: 1.2; white-space: normal; }
    .cta-sub { white-space: normal; }

    /* Footer reflows to flex/grid */
    .footer { margin-top: 96px; }
    .footer-body { padding: 56px 32px 32px; }
    .footer-inner { position: static; max-width: none; height: auto; display: flex; flex-direction: column; gap: 48px; }
    .footer-spinner { display: none; }
    .footer-brand { position: static; width: auto; }
    .footer-cols { display: flex; flex-wrap: wrap; gap: 48px 64px; }
    .footer-col { position: static; }
    .footer-bottom { display: flex; align-items: center; justify-content: space-between; }
    .footer-social { position: static; }
    .scroll-top { position: static; }
    .footer-copy { position: static; }
  }

  /* =====================================================
     Mobile (max-width: 768px)
     ===================================================== */
  @media (max-width: 768px) {
    /* Header */

    /* Hero */
    .hero { height: 620px; }
    .hero-content { padding: 148px 20px 0; gap: 14px; }
    .hero h1 { font-size: 34px; line-height: 1.18; letter-spacing: -0.7px; }
    .hero-sub { font-size: 16px; line-height: 1.8; white-space: normal; }

    /* FAQ */
    .faq { width: calc(100% - 32px); margin: -150px auto 0; }
    .faq-item { border-radius: 14px; }
    .faq-q { min-height: 64px; padding: 14px 16px; gap: 12px; }
    .faq-q span { font-size: 16px; line-height: 1.35; }
    .faq-a p { padding: 0 16px 20px; font-size: 16px; line-height: 1.75; }

    /* CTA */
    .cta { width: calc(100% - 32px); margin: 64px auto 0; padding: 0 20px 64px; border-radius: 18px; }
    .cta-icon { margin-top: 40px; }
    .cta h2 { margin-top: 22px; font-size: 26px; }
    .cta-sub { margin-top: 16px; font-size: 16px; line-height: 1.75; }
    .cta .btn-blue { margin-top: 32px; --btn-py: 14px; --btn-px: 28px; }
    .cta .btn-blue p { font-size: 16px; }

    /* Footer */
    .footer { margin-top: 64px; }
    .footer-body { padding: 40px 20px 24px; gap: 36px; }
    .footer-cols { flex-direction: column; gap: 32px; }
    .footer-link { white-space: normal; }
    .footer-copy { white-space: normal; line-height: 1.5; }
  }
