/* ============================================================
       DESIGN TOKENS
    ============================================================ */
    :root {
      --navy-950: #030c1f;
      --navy-900: #061a3a;
      --navy-800: #0b2b62;
      --navy-700: #123d78;
      --navy-600: #1a4d94;
      --copper: #b87425;
      --gold: #d7a13b;
      --gold-bright: #f0c14b;
      --orange: #f97316;
      --orange-bright: #fb923c;
      --ink: #0d1526;
      --muted: #667085;
      --muted-soft: #98a2b3;
      --line: #e8ecf2;
      --line-strong: #d3dae5;
      --white: #ffffff;
      --success: #059669;
      --success-soft: #ecfdf5;
      --danger: #dc2626;
      --danger-soft: #fef2f2;

      --r-sm: 10px;
      --r-md: 12px;
      --r-lg: 16px;
      --r-xl: 22px;
      --r-full: 999px;

      --shadow-sm: 0 3px 10px rgba(3, 17, 38, 0.06);
      --shadow-md: 0 10px 24px rgba(3, 17, 38, 0.09);
      --shadow-lg: 0 20px 48px rgba(3, 17, 38, 0.13);
      --shadow-xl: 0 34px 80px rgba(3, 17, 38, 0.2);
      --shadow-glow: 0 0 0 4px rgba(249, 115, 22, 0.18);

      --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
      --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
      --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

      --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
      --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

      --max-width: 860px;
    }

    /* Animated custom property for the frame rotation */
    @property --frame-angle {
      syntax: "<angle>";
      initial-value: 0deg;
      inherits: false;
    }

    /* ============================================================
       RESET
    ============================================================ */
    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
    body, h1, h2, h3, p, figure { margin: 0; }
    button, input, textarea, select { font: inherit; color: inherit; }
    img { display: block; max-width: 100%; }

    ::selection { background: rgba(249, 115, 22, 0.32); color: var(--navy-950); }

    ::-webkit-scrollbar { width: 7px; height: 7px; }
    ::-webkit-scrollbar-track { background: transparent; }
    ::-webkit-scrollbar-thumb {
      background: linear-gradient(180deg, var(--navy-800), var(--navy-600));
      border-radius: var(--r-full);
      border: 2px solid transparent;
      background-clip: padding-box;
    }
    ::-webkit-scrollbar-thumb:hover { background-color: var(--orange); }

    /* ============================================================
       BACKGROUND — Navy → Orange Tech Ambience
    ============================================================ */
    body {
      position: relative;
      min-height: 100vh;
      min-height: 100dvh;
      margin: 0;
      color: var(--ink);
      font-family: var(--font-ui);
      font-size: 14px;
      line-height: 1.5;
      font-feature-settings: "cv02", "cv03", "cv04", "cv11", "ss01";
      background: #030c1f;
      padding: clamp(6px, 0.8vw, 10px);
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      letter-spacing: -0.005em;
    }

    .bg-layer {
      position: fixed;
      inset: 0;
      z-index: -1;
      pointer-events: none;
      overflow: hidden;
    }

    .bg-layer::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(900px 620px at 6% -10%, rgba(249, 115, 22, 0.40), transparent 58%),
        radial-gradient(1100px 800px at 108% 8%, rgba(11, 43, 98, 0.90), transparent 60%),
        radial-gradient(820px 620px at 50% 118%, rgba(240, 193, 75, 0.32), transparent 62%),
        radial-gradient(700px 520px at 88% 92%, rgba(249, 115, 22, 0.24), transparent 65%),
        linear-gradient(135deg, #02081a 0%, #04122b 30%, #061c3d 55%, #082244 78%, #0c2543 100%);
    }

    .bg-grid {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(140, 190, 255, 0.085) 1px, transparent 1px),
        linear-gradient(90deg, rgba(140, 190, 255, 0.085) 1px, transparent 1px);
      background-size: 46px 46px;
      -webkit-mask-image: radial-gradient(ellipse 95% 90% at 50% 45%, #000 30%, transparent 92%);
              mask-image: radial-gradient(ellipse 95% 90% at 50% 45%, #000 30%, transparent 92%);
      opacity: 0.9;
      animation: gridDrift 40s linear infinite;
    }
    @keyframes gridDrift {
      from { background-position: 0 0, 0 0; }
      to   { background-position: 46px 46px, 46px 46px; }
    }

    .bg-canvas {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      opacity: 1;
      -webkit-mask-image: radial-gradient(ellipse 130% 115% at 50% 45%, #000 55%, transparent 100%);
              mask-image: radial-gradient(ellipse 130% 115% at 50% 45%, #000 55%, transparent 100%);
      filter: drop-shadow(0 0 4px rgba(120, 190, 255, 0.35));
    }

    .bg-scan {
      position: absolute;
      top: -20%;
      bottom: -20%;
      left: -40%;
      width: 34%;
      background: linear-gradient(90deg,
        transparent 0%,
        rgba(90, 170, 255, 0.09) 35%,
        rgba(200, 230, 255, 0.16) 50%,
        rgba(90, 170, 255, 0.09) 65%,
        transparent 100%);
      filter: blur(9px);
      animation: bgScan 16s cubic-bezier(0.65, 0, 0.35, 1) infinite;
    }
    @keyframes bgScan {
      0%   { left: -40%; opacity: 0; }
      12%  { opacity: 1; }
      82%  { opacity: 1; }
      100% { left: 115%; opacity: 0; }
    }

    .bg-orb {
      position: absolute;
      border-radius: 50%;
      filter: blur(90px);
      opacity: 0.6;
      animation: orbFloat 22s ease-in-out infinite;
      will-change: transform;
    }
    .bg-orb.o1 {
      width: 520px; height: 520px;
      top: -170px; left: -150px;
      background: radial-gradient(circle, rgba(249, 115, 22, 0.62), transparent 68%);
    }
    .bg-orb.o2 {
      width: 560px; height: 560px;
      top: 28%; right: -200px;
      background: radial-gradient(circle, rgba(26, 77, 148, 0.72), transparent 70%);
      animation-delay: -8s;
    }
    .bg-orb.o3 {
      width: 460px; height: 460px;
      bottom: -190px; left: 32%;
      background: radial-gradient(circle, rgba(240, 193, 75, 0.48), transparent 70%);
      animation-delay: -15s;
    }
    @keyframes orbFloat {
      0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
      33%      { transform: translate3d(48px, -36px, 0) scale(1.08); }
      66%      { transform: translate3d(-36px, 36px, 0) scale(0.94); }
    }

    .particles { position: absolute; inset: 0; }
    .particle {
      position: absolute;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(249, 180, 90, 1), rgba(249, 115, 22, 0));
      animation: floatUp linear infinite;
      opacity: 0;
    }
    @keyframes floatUp {
      0%   { transform: translateY(0) scale(0); opacity: 0; }
      10%  { opacity: 0.85; }
      90%  { opacity: 0.55; }
      100% { transform: translateY(-110vh) scale(1); opacity: 0; }
    }



    /* ============================================================
       INSTITUTIONAL WATERMARKS — Subtle architectural branding
    ============================================================ */
    .bg-institutional-art {
      position: absolute;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      overflow: hidden;
    }

    .bg-building-mark,
    .bg-seal-mark {
      position: absolute;
      user-select: none;
      -webkit-user-drag: none;
      pointer-events: none;
    }

    .bg-building-mark {
      width: clamp(520px, 43vw, 900px);
      left: clamp(-250px, -10vw, -120px);
      top: 20%;
      opacity: 0.115;
      filter: invert(1) sepia(0.1) saturate(0.7) hue-rotate(175deg) brightness(1.18) contrast(0.92)
              drop-shadow(0 0 16px rgba(88, 166, 255, 0.16));
      mix-blend-mode: screen;
      transform: rotate(-0.7deg);
      -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.8) 50%, transparent 96%),
                          linear-gradient(180deg, transparent 0%, #000 14%, #000 82%, transparent 100%);
      -webkit-mask-composite: source-in;
              mask-image: linear-gradient(90deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.8) 50%, transparent 96%),
                          linear-gradient(180deg, transparent 0%, #000 14%, #000 82%, transparent 100%);
              mask-composite: intersect;
    }

    .bg-seal-mark {
      width: clamp(310px, 25vw, 520px);
      right: clamp(-90px, -3vw, -30px);
      top: 35%;
      opacity: 0.075;
      filter: grayscale(1) brightness(1.85) contrast(0.75)
              drop-shadow(0 0 24px rgba(118, 184, 255, 0.13));
      mix-blend-mode: screen;
      transform: rotate(5deg);
      -webkit-mask-image: radial-gradient(circle at center, #000 0 58%, rgba(0,0,0,.82) 69%, transparent 94%);
              mask-image: radial-gradient(circle at center, #000 0 58%, rgba(0,0,0,.82) 69%, transparent 94%);
    }

    .bg-layer > :not(.bg-institutional-art) {
      position: absolute;
    }

    .bg-layer .bg-grid,
    .bg-layer .bg-scan,
    .bg-layer .bg-orb,
    .bg-layer .particles,
    .bg-layer .bg-canvas {
      z-index: 1;
    }

    .bg-layer .bg-institutional-art {
      z-index: 2;
    }

    @media (max-width: 1100px) {
      .bg-building-mark {
        width: 610px;
        left: -270px;
        top: 28%;
        opacity: 0.09;
      }
      .bg-seal-mark {
        width: 340px;
        right: -120px;
        top: 43%;
        opacity: 0.055;
      }
    }

    @media (max-width: 760px) {
      .bg-building-mark {
        width: 500px;
        left: -300px;
        top: 32%;
        opacity: 0.055;
      }
      .bg-seal-mark {
        width: 260px;
        right: -135px;
        top: 48%;
        opacity: 0.04;
      }
    }

    /* ============================================================
       LAYOUT
    ============================================================ */
    .page {
      position: relative;
      width: 100%;
      max-width: min(var(--max-width), 100%);
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    /* ============================================================
       BRAND HEADER
    ============================================================ */
    .brand-shell {
      position: relative;
      overflow: hidden;
      isolation: isolate;
      padding: clamp(12px, 1.2vw, 16px);
      display: grid;
      grid-template-columns: minmax(240px, 300px) minmax(0, 1fr) 66px;
      gap: clamp(10px, 1.2vw, 16px);
      align-items: center;
      border-radius: var(--r-xl);
      background:
        radial-gradient(880px 420px at 8% -40%, rgba(249, 115, 22, 0.40), transparent 62%),
        radial-gradient(720px 400px at 96% 130%, rgba(26, 77, 148, 0.52), transparent 66%),
        linear-gradient(135deg, #030b1c 0%, #061733 36%, #08203f 64%, #0a2a52 100%);
      box-shadow:
        0 22px 52px rgba(3, 17, 38, 0.30),
        0 0 0 1px rgba(120, 180, 255, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    }

    .tech-canvas {
      position: absolute;
      inset: 0;
      z-index: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      opacity: 0.9;
      -webkit-mask-image: radial-gradient(ellipse 130% 150% at 50% 50%, #000 42%, transparent 94%);
              mask-image: radial-gradient(ellipse 130% 150% at 50% 50%, #000 42%, transparent 94%);
    }

    .tech-grid {
      position: absolute;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      background-image:
        linear-gradient(rgba(120, 185, 255, 0.085) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120, 185, 255, 0.085) 1px, transparent 1px);
      background-size: 26px 26px;
      -webkit-mask-image: radial-gradient(ellipse 90% 130% at 12% 50%, #000 8%, transparent 82%);
              mask-image: radial-gradient(ellipse 90% 130% at 12% 50%, #000 8%, transparent 82%);
    }

    .tech-scan {
      position: absolute;
      top: -10%;
      bottom: -10%;
      left: -45%;
      width: 38%;
      z-index: 1;
      pointer-events: none;
      background: linear-gradient(90deg,
        transparent 0%,
        rgba(90, 170, 255, 0.10) 35%,
        rgba(180, 225, 255, 0.20) 50%,
        rgba(90, 170, 255, 0.10) 65%,
        transparent 100%);
      filter: blur(7px);
      animation: techScan 11s cubic-bezier(0.65, 0, 0.35, 1) infinite;
    }
    @keyframes techScan {
      0%   { left: -45%; opacity: 0; }
      10%  { opacity: 1; }
      85%  { opacity: 1; }
      100% { left: 115%; opacity: 0; }
    }

    .hud {
      position: absolute;
      inset: 9px;
      z-index: 2;
      pointer-events: none;
      border-radius: calc(var(--r-xl) - 8px);
    }
    .hud i {
      position: absolute;
      width: 22px;
      height: 22px;
      border: 1.5px solid rgba(140, 205, 255, 0.55);
      filter: drop-shadow(0 0 6px rgba(90, 170, 255, 0.55));
    }
    .hud i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 9px; }
    .hud i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 9px; }
    .hud i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 9px; }
    .hud i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 9px; }

    .brand-shell::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 3;
      border-radius: inherit;
      padding: 1px;
      background: linear-gradient(120deg,
        rgba(140, 205, 255, 0.55) 0%,
        rgba(140, 205, 255, 0.06) 28%,
        rgba(140, 205, 255, 0.06) 72%,
        rgba(140, 205, 255, 0.5) 100%);
      -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
      -webkit-mask-composite: xor;
              mask-composite: exclude;
      pointer-events: none;
    }
    .brand-shell::after {
      content: "";
      position: absolute;
      left: 10%;
      right: 10%;
      bottom: 0;
      height: 2px;
      z-index: 3;
      pointer-events: none;
      border-radius: 2px;
      background: linear-gradient(90deg,
        transparent,
        rgba(120, 195, 255, 0.75) 30%,
        rgba(240, 193, 75, 0.65) 70%,
        transparent);
      opacity: 0.85;
    }

    .brand-logo {
      position: relative;
      z-index: 4;
      display: flex;
      align-items: center;
      justify-content: center;
      height: clamp(56px, 7vh, 68px);
      padding: 6px;
      border-radius: var(--r-lg);
      border: 1px solid rgba(160, 210, 255, 0.5);
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(240, 246, 253, 0.95));
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 14px 28px rgba(0, 0, 0, 0.28),
        0 0 40px rgba(70, 150, 235, 0.30);
      overflow: hidden;
      transition: transform 0.5s var(--ease-spring), box-shadow 0.4s ease;
    }
    .brand-logo:hover {
      transform: translateY(-2px) scale(1.02);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 20px 36px rgba(0, 0, 0, 0.34),
        0 0 64px rgba(70, 150, 235, 0.45);
    }
    .brand-logo::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.85) 50%, transparent 70%);
      transform: translateX(-120%);
      transition: transform 0.9s var(--ease-out);
      pointer-events: none;
    }
    .brand-logo:hover::after { transform: translateX(120%); }
    .brand-logo img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.06); }

    .brand-copy {
      position: relative;
      z-index: 4;
      min-width: 0;
      padding-left: clamp(10px, 1.2vw, 16px);
    }
    .brand-copy::before {
      content: "";
      position: absolute;
      left: 0;
      top: 4px;
      bottom: 4px;
      width: 3px;
      border-radius: 2px;
      background: linear-gradient(180deg, var(--gold-bright), rgba(124, 196, 255, 0.9), transparent);
      box-shadow: 0 0 14px rgba(90, 170, 255, 0.6);
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-bottom: 6px;
      padding: 3px 10px 3px 8px;
      border-radius: var(--r-full);
      background: rgba(90, 165, 255, 0.16);
      border: 1px solid rgba(130, 195, 255, 0.45);
      color: #cfe6ff;
      font-size: 0.58rem;
      font-weight: 800;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      backdrop-filter: blur(4px);
      box-shadow: 0 0 18px rgba(70, 150, 235, 0.16);
    }
    .eyebrow::before {
      content: "";
      width: 5px; height: 5px;
      border-radius: 50%;
      background: var(--gold-bright);
      box-shadow: 0 0 0 3px rgba(240, 193, 75, 0.22), 0 0 10px rgba(240, 193, 75, 0.7);
      animation: pulseDot 2.6s ease-in-out infinite;
    }
    @keyframes pulseDot {
      0%, 100% { box-shadow: 0 0 0 3px rgba(240, 193, 75, 0.22), 0 0 8px rgba(240, 193, 75, 0.5); transform: scale(1); }
      50%      { box-shadow: 0 0 0 6px rgba(240, 193, 75, 0.06), 0 0 14px rgba(240, 193, 75, 0.85); transform: scale(1.2); }
    }

    .brand-copy h1 {
      font-family: var(--font-display);
      font-size: clamp(1.02rem, 1.55vw, 1.32rem);
      font-weight: 600;
      line-height: 1.15;
      letter-spacing: -0.02em;
      color: var(--white);
      text-wrap: balance;
      background: linear-gradient(100deg, #ffffff 0%, #e8f2ff 42%, #ffffff 78%, #ffe6b0 100%);
      -webkit-background-clip: text;
              background-clip: text;
      -webkit-text-fill-color: transparent;
      filter: drop-shadow(0 2px 14px rgba(60, 140, 230, 0.35));
    }

    .brand-copy p {
      max-width: 480px;
      margin-top: 4px;
      color: rgba(255, 255, 255, 0.78);
      font-size: clamp(0.72rem, 0.85vw, 0.8rem);
      line-height: 1.45;
      font-weight: 500;
    }

    .brand-seal {
      position: relative;
      z-index: 4;
      width: clamp(54px, 5.6vw, 64px);
      height: clamp(54px, 5.6vw, 64px);
      display: grid;
      place-items: center;
      justify-self: end;
      border-radius: 18px;
      background: linear-gradient(145deg, rgba(120, 190, 255, 0.18), rgba(255, 255, 255, 0.04));
      box-shadow:
        inset 0 0 0 1px rgba(140, 200, 255, 0.35),
        0 14px 26px rgba(0, 0, 0, 0.28),
        0 0 34px rgba(56, 132, 224, 0.32);
      overflow: hidden;
      transition: transform 0.5s var(--ease-spring), box-shadow 0.4s ease;
    }
    .brand-seal:hover {
      transform: translateY(-2px) scale(1.04);
      box-shadow:
        inset 0 0 0 1px rgba(140, 200, 255, 0.5),
        0 18px 32px rgba(0, 0, 0, 0.34),
        0 0 48px rgba(56, 132, 224, 0.45);
    }
    .brand-seal::before {
      content: "";
      position: absolute;
      inset: 9px;
      border-radius: 50%;
      border: 1px solid rgba(150, 205, 255, 0.55);
      box-shadow: 0 0 14px rgba(90, 170, 255, 0.4);
    }
    .brand-seal::after {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      background:
        linear-gradient(90deg, transparent 49.4%, rgba(150, 205, 255, 0.18) 50%, transparent 50.6%),
        linear-gradient(0deg, transparent 49.4%, rgba(150, 205, 255, 0.18) 50%, transparent 50.6%);
      opacity: 0.9;
    }

    .brand-seal img {
      position: relative;
      z-index: 1;
      width: clamp(36px, 3.8vw, 42px);
      height: clamp(36px, 3.8vw, 42px);
      object-fit: contain;
      filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.4));
    }

    /* ============================================================
       SHELL
    ============================================================ */
    .shell {
      position: relative;
      overflow: hidden;
      border-radius: var(--r-xl);
      border: 1px solid rgba(11, 43, 98, 0.32);
      background: rgba(255, 255, 255, 0.72);
      box-shadow:
         var(--shadow-lg),
         0 0 0 4px rgba(11, 43, 98, 0.04);
      backdrop-filter: blur(24px) saturate(150%);
      -webkit-backdrop-filter: blur(24px) saturate(150%);
    }

    /* ============================================================
       PROGRESS PANEL — Premium Frosted Glass + Animated Orange Frame
    ============================================================ */
    .progress-panel {
      position: relative;
      margin: 11px 11px 0;
      padding: 14px clamp(16px, 1.8vw, 22px) 12px;
      border-radius: 16px;
      /* Frosted, layered glass surface */
      background:
        linear-gradient(155deg,
          rgba(255, 255, 255, 0.70) 0%,
          rgba(250, 252, 255, 0.50) 38%,
          rgba(226, 240, 255, 0.44) 100%);
      backdrop-filter: blur(26px) saturate(190%);
      -webkit-backdrop-filter: blur(26px) saturate(190%);
      /* Multi-layered inner highlight + soft outer shadow */
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.98),
        inset 0 -1px 0 rgba(255, 255, 255, 0.45),
        inset 1px 0 0 rgba(255, 255, 255, 0.55),
        inset -1px 0 0 rgba(255, 255, 255, 0.55),
        0 12px 30px rgba(3, 17, 38, 0.14),
        0 2px 8px rgba(3, 17, 38, 0.06);
      isolation: isolate;
    }

    /* Animated premium orange frame — crisp comet sweep */
    .progress-panel::before {
      content: "";
      position: absolute;
      inset: -0.5px;
      border-radius: inherit;
      padding: 1.75px;
      background: conic-gradient(from var(--frame-angle),
        #7c2d12 0deg,
        #9a3412 35deg,
        #c2410c 70deg,
        #ea580c 105deg,
        #f97316 135deg,
        #fb923c 160deg,
        #fbbf24 180deg,
        #fcd34d 195deg,
        #fef3c7 205deg,
        #fcd34d 215deg,
        #fbbf24 230deg,
        #fb923c 250deg,
        #f97316 275deg,
        #ea580c 305deg,
        #c2410c 335deg,
        #9a3412 358deg,
        #7c2d12 360deg
      );
      -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
      -webkit-mask-composite: xor;
              mask-composite: exclude;
      animation: frameRotate 7s linear infinite;
      pointer-events: none;
      z-index: 5;
      filter:
        drop-shadow(0 0 1px rgba(249, 115, 22, 0.95))
        drop-shadow(0 0 5px rgba(249, 115, 22, 0.55))
        drop-shadow(0 0 12px rgba(240, 193, 75, 0.35));
    }

    @keyframes frameRotate {
      to { --frame-angle: 360deg; }
    }

    /* Specular frost highlight — glass sheen across the surface */
    .progress-panel::after {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      pointer-events: none;
      z-index: 1;
      background:
        linear-gradient(135deg,
          rgba(255, 255, 255, 0.42) 0%,
          rgba(255, 255, 255, 0.06) 20%,
          transparent 42%,
          transparent 60%,
          rgba(190, 225, 255, 0.10) 100%);
      mix-blend-mode: screen;
      opacity: 0.95;
    }

    .progress-head,
    .steps {
      position: relative;
      z-index: 2;
    }

    .progress-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 11px;
    }

    .progress-title {
      display: flex;
      align-items: center;
      gap: 8px;
      color: var(--navy-900);
      font-size: 0.78rem;
      font-weight: 800;
      letter-spacing: -0.01em;
    }
    .progress-title::before {
      content: "";
      width: 3px;
      height: 14px;
      border-radius: 2px;
      background: linear-gradient(180deg, var(--gold-bright), var(--orange));
      box-shadow: 0 0 12px rgba(249, 115, 22, 0.8);
    }

    .progress-count {
      white-space: nowrap;
      padding: 3px 10px;
      border-radius: var(--r-full);
      color: #7a3c08;
      background: linear-gradient(135deg, #fff2e0, #ffe4c4);
      border: 1px solid rgba(249, 115, 22, 0.45);
      font-size: 0.68rem;
      font-weight: 800;
      font-variant-numeric: tabular-nums;
      letter-spacing: 0.02em;
      box-shadow:
        0 0 12px rgba(249, 115, 22, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }

    .steps {
      position: relative;
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 4px;
    }

    .track {
      position: absolute;
      grid-column: 1 / -1;
      grid-row: 1;
      top: 13px;
      left: 8%;
      right: 8%;
      height: 3px;
      border-radius: var(--r-full);
      background: rgba(11, 43, 98, 0.10);
      overflow: hidden;
      z-index: 0;
      box-shadow: inset 0 1px 2px rgba(3, 17, 38, 0.08);
    }

    .bar {
      width: 0;
      height: 100%;
      border-radius: inherit;
      background: linear-gradient(90deg, var(--gold-bright), var(--orange));
      transition: width 0.7s var(--ease-out);
      box-shadow:
        0 0 16px rgba(249, 115, 22, 0.85),
        0 0 32px rgba(240, 193, 75, 0.5);
      position: relative;
    }
    .bar::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
      animation: barShine 2s ease-in-out infinite;
    }
    @keyframes barShine {
      0%   { transform: translateX(-100%); }
      100% { transform: translateX(100%); }
    }

    .step {
      position: relative;
      z-index: 1;
      grid-row: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
      color: #4a5a75;
      text-align: center;
      font-size: 0.62rem;
      font-weight: 700;
      letter-spacing: 0.01em;
    }

    .step span { transition: color 0.25s ease; }

    .dot {
      position: relative;
      width: 26px;
      height: 26px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.9);
      border: 2px solid #cdd8e6;
      color: #64748b;
      font-weight: 800;
      font-size: 0.72rem;
      box-shadow:
        0 2px 6px rgba(3, 17, 38, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
      transition: all 0.4s var(--ease-spring);
    }

    .step.active .dot {
      color: var(--white);
      background: linear-gradient(135deg, #f97316, #c2410c);
      border-color: transparent;
      transform: translateY(-2px) scale(1.12);
      box-shadow:
        0 12px 22px rgba(249, 115, 22, 0.45),
        0 0 0 4px rgba(249, 115, 22, 0.14),
        0 0 24px rgba(240, 193, 75, 0.65);
    }
    .step.active .dot::before {
      content: "";
      position: absolute;
      inset: -5px;
      border-radius: 50%;
      border: 1.5px dashed rgba(249, 115, 22, 0.9);
      animation: rotate 8s linear infinite;
      filter: drop-shadow(0 0 6px rgba(249, 115, 22, 0.8));
    }
    .step.active span { color: #7a3c08; font-weight: 800; }

    .step.done .dot {
      color: var(--white);
      background: linear-gradient(135deg, var(--gold-bright), var(--orange));
      border-color: transparent;
      box-shadow:
        0 8px 16px rgba(249, 115, 22, 0.4),
        0 0 18px rgba(249, 115, 22, 0.5);
    }
    .step.done .dot::after {
      content: "✓";
      font-size: 0.72rem;
      font-weight: 900;
    }
    .step.done .dot > * { display: none; }

    /* ============================================================
       FORM AREA
    ============================================================ */
    .form-area {
      position: relative;
      padding: clamp(12px, 1.4vw, 16px);
      background: rgba(255, 255, 255, 0.55);
      overflow: hidden;
    }

    .form-area::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, transparent, rgba(240, 193, 75, 0.22), transparent);
      transform: translateX(-100%);
      opacity: 0;
      pointer-events: none;
      z-index: 5;
    }
    .form-area.step-changing::after {
      animation: panelShine 0.75s ease;
    }
    @keyframes panelShine {
      0% { transform: translateX(-100%); opacity: 1; }
      100% { transform: translateX(100%); opacity: 0; }
    }

    .alert {
      display: none;
      align-items: center;
      gap: 8px;
      margin-bottom: 10px;
      padding: 9px 12px;
      border-radius: var(--r-md);
      color: #991b1b;
      background: var(--danger-soft);
      border: 1px solid #fecaca;
      font-size: 0.78rem;
      font-weight: 700;
      animation: alertIn 0.35s var(--ease-spring);
      box-shadow: 0 8px 18px rgba(220, 38, 38, 0.12);
    }
    .alert::before {
      content: "!";
      flex: 0 0 auto;
      width: 20px; height: 20px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: var(--danger);
      color: #fff;
      font-weight: 900;
      font-size: 0.78rem;
      animation: shake 0.4s ease;
      box-shadow: 0 0 12px rgba(220, 38, 38, 0.6);
    }
    @keyframes alertIn {
      from { opacity: 0; transform: translateY(-6px); }
      to   { opacity: 1; transform: none; }
    }
    @keyframes shake {
      0%, 100% { transform: translateX(0); }
      25%      { transform: translateX(-3px); }
      75%      { transform: translateX(3px); }
    }

    .form-step { display: none; }
    .form-step.active {
      display: block;
      animation: stepEnter 0.45s var(--ease-out);
    }
    .form-step.active.rev {
      animation: stepEnterRev 0.45s var(--ease-out);
    }
    @keyframes stepEnter {
      from { opacity: 0; transform: translateX(24px) scale(0.98); filter: blur(4px); }
      to   { opacity: 1; transform: translateX(0) scale(1); filter: blur(0); }
    }
    @keyframes stepEnterRev {
      from { opacity: 0; transform: translateX(-24px) scale(0.98); filter: blur(4px); }
      to   { opacity: 1; transform: translateX(0) scale(1); filter: blur(0); }
    }

    .section-title {
      display: flex;
      gap: 10px;
      align-items: flex-start;
      margin-bottom: 10px;
      padding-bottom: 8px;
      border-bottom: 1px solid var(--line);
      position: relative;
    }
    .section-title::after {
      content: "";
      position: absolute;
      bottom: -1px; left: 0;
      width: 36px;
      height: 2px;
      border-radius: 1px;
      background: linear-gradient(90deg, var(--gold-bright), var(--orange));
      box-shadow: 0 0 12px rgba(249, 115, 22, 0.85);
    }

    .section-icon {
      flex: 0 0 auto;
      width: 30px;
      height: 30px;
      display: grid;
      place-items: center;
      border-radius: 10px;
      color: var(--white);
      font-weight: 800;
      font-size: 0.82rem;
      background: linear-gradient(135deg, var(--copper), var(--orange));
      box-shadow:
        0 8px 16px rgba(184, 116, 37, 0.42),
        0 0 20px rgba(249, 115, 22, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.32);
      position: relative;
      overflow: hidden;
      transition: transform 0.4s var(--ease-spring);
    }
    .section-icon:hover { transform: rotate(-6deg) scale(1.1); }
    .section-icon::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), transparent 55%);
      pointer-events: none;
    }

    .section-title h2 {
      font-family: var(--font-display);
      color: var(--navy-900);
      font-size: clamp(0.92rem, 1.15vw, 1.05rem);
      font-weight: 700;
      line-height: 1.2;
      letter-spacing: -0.015em;
    }
    .section-title p {
      margin-top: 2px;
      color: var(--muted);
      font-size: clamp(0.7rem, 0.8vw, 0.76rem);
      line-height: 1.4;
    }

    .grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
    }

    .full { grid-column: 1 / -1; }

    .field {
      display: flex;
      flex-direction: column;
      gap: 5px;
      min-width: 0;
    }

    label {
      color: #1f2a40;
      font-size: 0.76rem;
      font-weight: 700;
      letter-spacing: -0.005em;
    }

    .req {
      color: var(--danger);
      margin-left: 2px;
      font-weight: 800;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input:not([type]),
    textarea,
    select {
      width: 100%;
      padding: 9px 12px;
      border: 1.5px solid #d4deea;
      border-radius: var(--r-md);
      background: rgba(255, 255, 255, 0.96);
      color: var(--ink);
      font-size: 0.85rem;
      font-weight: 500;
      outline: none;
      transition:
        border-color 0.2s ease,
        box-shadow 0.3s ease,
        background 0.2s ease,
        transform 0.25s var(--ease-spring);
      -webkit-appearance: none;
      appearance: none;
    }
    input::placeholder, textarea::placeholder {
      color: var(--muted-soft);
      font-weight: 500;
    }
    input:hover:not(:focus), textarea:hover:not(:focus) {
      border-color: #b9c6d8;
      background: #fff;
      box-shadow: 0 4px 12px rgba(3, 17, 38, 0.05);
    }
    input:focus, textarea:focus, select:focus {
      border-color: var(--orange);
      background: #fff;
      box-shadow:
        0 0 0 4px rgba(249, 115, 22, 0.18),
        0 0 24px rgba(249, 115, 22, 0.28),
        0 10px 22px rgba(249, 115, 22, 0.14);
      transform: translateY(-1px) scale(1.005);
    }

    textarea {
      min-height: 86px;
      resize: vertical;
      line-height: 1.55;
    }

    .hint {
      color: var(--muted);
      font-size: 0.7rem;
      line-height: 1.4;
      display: flex;
      align-items: flex-start;
      gap: 5px;
    }
    .hint::before {
      content: "i";
      flex: 0 0 auto;
      width: 13px; height: 13px;
      margin-top: 1px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: #e0e7ff;
      color: #4338ca;
      font-size: 0.58rem;
      font-weight: 900;
      font-style: italic;
    }

    .conditional-field {
      display: none;
      grid-column: 1 / -1;
      position: relative;
    }
    .conditional-field.show {
      display: flex;
      animation: fieldReveal 0.6s var(--ease-spring);
    }
    @keyframes fieldReveal {
      0% { opacity: 0; transform: translateY(-14px) scale(0.94); filter: blur(8px); }
      55% { opacity: 1; filter: blur(0); transform: translateY(3px) scale(1.015); }
      100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
    }
    .conditional-field.show input {
      animation: inputGlowPulse 1.1s ease-out 0.25s;
    }
    @keyframes inputGlowPulse {
      0% { box-shadow: 0 0 0 0 rgba(240, 193, 75, 0.7), 0 0 0 0 rgba(249, 115, 22, 0.5); border-color: var(--orange); }
      40% { box-shadow: 0 0 0 8px rgba(240, 193, 75, 0), 0 0 24px rgba(249, 115, 22, 0.55); }
      100% { box-shadow: 0 0 0 0 rgba(240, 193, 75, 0), 0 0 0 0 rgba(249, 115, 22, 0); }
    }

    .choices {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 6px;
    }

    .choice {
      position: relative;
      min-height: 38px;
      padding: 8px 11px;
      display: flex;
      align-items: flex-start;
      gap: 9px;
      border: 1.5px solid #dfe6f0;
      border-radius: var(--r-md);
      background: rgba(255, 255, 255, 0.97);
      cursor: pointer;
      transition:
        border-color 0.2s ease,
        box-shadow 0.3s ease,
        transform 0.3s var(--ease-spring),
        background 0.2s ease;
      -webkit-tap-highlight-color: transparent;
      user-select: none;
      overflow: hidden;
    }

    .choice::before {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at var(--cx, 50%) var(--cy, 50%),
        rgba(249, 115, 22, 0.22), transparent 60%);
      opacity: 0;
      transition: opacity 0.3s ease;
      pointer-events: none;
    }
    .choice:hover::before { opacity: 1; }

    .choice:hover {
      border-color: rgba(249, 115, 22, 0.65);
      box-shadow: 0 10px 22px rgba(3, 17, 38, 0.1), 0 0 20px rgba(249, 115, 22, 0.15);
      transform: translateY(-2px);
      background: #fff;
    }

    .choice:has(input:checked) {
      border-color: var(--orange);
      background: linear-gradient(180deg, #fff7ed, #fff);
      box-shadow:
        0 10px 22px rgba(249, 115, 22, 0.2),
        0 0 0 4px rgba(249, 115, 22, 0.14),
        0 0 28px rgba(249, 115, 22, 0.28);
    }

    .choice input {
      flex: 0 0 auto;
      width: 15px;
      height: 15px;
      margin: 2px 0 0;
      accent-color: var(--orange);
      cursor: pointer;
      transition: transform 0.3s var(--ease-spring);
      position: relative;
      z-index: 1;
    }
    .choice:has(input:checked) input {
      transform: scale(1.2);
      filter: drop-shadow(0 0 6px rgba(249, 115, 22, 0.8));
    }

    .choice span {
      color: #1f2a40;
      font-size: 0.76rem;
      font-weight: 700;
      line-height: 1.3;
      word-break: break-word;
      position: relative;
      z-index: 1;
    }

    .other-input { display: none; margin-top: 6px; }
    .other-input.show {
      display: block;
      animation: fieldReveal 0.55s var(--ease-spring);
    }

    .upload {
      padding: 10px 12px;
      border: 1.5px dashed #c4d0df;
      border-radius: var(--r-lg);
      background: linear-gradient(180deg, #fff, #f8fafc);
      transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.3s ease;
      position: relative;
      overflow: hidden;
    }
    .upload::before {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at 50% 0%, rgba(249, 115, 22, 0.08), transparent 60%);
      pointer-events: none;
    }
    .upload.dragover {
      border-color: var(--orange);
      background: linear-gradient(180deg, #fff7ed, #fff);
      box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.16), 0 0 28px rgba(249, 115, 22, 0.3);
    }

    .upload-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      flex-wrap: wrap;
      position: relative;
      z-index: 1;
    }
    .upload-row strong {
      display: block;
      color: var(--navy-900);
      font-size: 0.8rem;
      font-weight: 800;
      margin-bottom: 2px;
    }

    .upload-btn {
      position: relative;
      overflow: hidden;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      padding: 8px 14px;
      border-radius: 11px;
      color: var(--white);
      background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
      box-shadow: 0 8px 16px rgba(6, 26, 58, 0.28);
      cursor: pointer;
      font-weight: 800;
      font-size: 0.78rem;
      transition: transform 0.25s var(--ease-spring), box-shadow 0.25s ease;
    }
    .upload-btn::before { content: "↥"; font-size: 0.88rem; font-weight: 900; }
    .upload-btn::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
      transform: translateX(-100%);
      transition: transform 0.6s var(--ease-out);
    }
    .upload-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 14px 24px rgba(6, 26, 58, 0.34), 0 0 20px rgba(6, 26, 58, 0.3);
    }
    .upload-btn:hover::after { transform: translateX(100%); }
    .upload-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

    .file-list { margin-top: 8px; display: grid; gap: 5px; position: relative; z-index: 1; }

    .file-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 7px 10px;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: #fff;
      color: #344054;
      font-size: 0.76rem;
      font-weight: 600;
      animation: stepEnter 0.35s var(--ease-out);
      transition: box-shadow 0.25s ease, border-color 0.25s ease;
    }
    .file-item:hover {
      border-color: rgba(249, 115, 22, 0.4);
      box-shadow: 0 4px 12px rgba(249, 115, 22, 0.1);
    }
    .file-item::before { content: "📎"; flex: 0 0 auto; margin-right: 2px; font-size: 0.82rem; }
    .file-item > span {
      flex: 1;
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .remove {
      flex: 0 0 auto;
      width: 22px; height: 22px;
      padding: 0;
      display: grid;
      place-items: center;
      border: 0;
      border-radius: 50%;
      background: transparent;
      color: var(--danger);
      font-weight: 900;
      font-size: 0.94rem;
      line-height: 1;
      cursor: pointer;
      transition: background 0.2s ease, transform 0.3s var(--ease-spring);
    }
    .remove:hover { background: var(--danger-soft); transform: rotate(90deg); }

    .actions {
      display: flex;
      justify-content: space-between;
      gap: 8px;
      margin-top: 10px;
      padding-top: 10px;
      border-top: 1px solid var(--line);
    }

    button {
      border: 0;
      border-radius: 12px;
      padding: 9px 16px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      cursor: pointer;
      font-size: 0.82rem;
      font-weight: 800;
      letter-spacing: -0.005em;
      transition:
        transform 0.25s var(--ease-spring),
        box-shadow 0.3s ease,
        background 0.2s ease,
        color 0.2s ease;
      -webkit-tap-highlight-color: transparent;
    }
    button:hover { transform: translateY(-2px); }
    button:active { transform: translateY(0); }
    button:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

    .secondary {
      color: #344054;
      background: #eef2f7;
      border: 1px solid var(--line-strong);
    }
    .secondary:hover {
      background: #e6ebf3;
      box-shadow: 0 6px 16px rgba(3, 17, 38, 0.1);
    }

    .primary {
      color: var(--white);
      background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
      box-shadow: 0 10px 20px rgba(6, 26, 58, 0.28);
      position: relative;
      overflow: hidden;
    }
    .primary::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
      transform: translateX(-100%);
      transition: transform 0.6s var(--ease-out);
    }
    .primary:hover {
      box-shadow: 0 16px 28px rgba(6, 26, 58, 0.34), 0 0 24px rgba(6, 26, 58, 0.35);
    }
    .primary:hover::after { transform: translateX(100%); }

    .submit {
      display: none;
      color: var(--white);
      background: linear-gradient(135deg, var(--copper), var(--orange));
      box-shadow: 0 10px 20px rgba(184, 116, 37, 0.34);
      position: relative;
      overflow: hidden;
    }
    .submit::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.36) 50%, transparent 70%);
      transform: translateX(-100%);
      transition: transform 0.6s var(--ease-out);
    }
    .submit:hover {
      box-shadow: 0 16px 30px rgba(184, 116, 37, 0.44), 0 0 28px rgba(249, 115, 22, 0.5);
    }
    .submit:hover::after { transform: translateX(100%); }

    .success {
      display: none;
      text-align: center;
      padding: clamp(30px, 4vw, 50px) 20px;
      animation: successIn 0.7s var(--ease-spring);
      position: relative;
      overflow: hidden;
    }
    @keyframes successIn {
      from { opacity: 0; transform: scale(0.94); }
      to   { opacity: 1; transform: none; }
    }

    .success-mark {
      position: relative;
      width: 68px;
      height: 68px;
      display: grid;
      place-items: center;
      margin: 0 auto 16px;
      border-radius: 50%;
      background: radial-gradient(circle at 50% 30%, #d1fae5, var(--success-soft));
      color: var(--success);
      font-size: 1.9rem;
      font-weight: 900;
      box-shadow:
        0 16px 32px rgba(5, 150, 105, 0.32),
        0 0 40px rgba(5, 150, 105, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
      animation: markPop 0.8s var(--ease-spring) both 0.15s;
    }
    @keyframes markPop {
      0%   { transform: scale(0) rotate(-45deg); }
      60%  { transform: scale(1.15) rotate(8deg); }
      100% { transform: scale(1) rotate(0); }
    }

    .success-mark::after {
      content: "";
      position: absolute;
      inset: -5px;
      border-radius: 50%;
      border: 2px solid rgba(5, 150, 105, 0.4);
      animation: ripple 2.2s ease-out infinite;
    }
    @keyframes ripple {
      0%   { transform: scale(1); opacity: 0.8; }
      100% { transform: scale(1.6); opacity: 0; }
    }

    .confetti {
      position: absolute;
      top: 40%; left: 50%;
      width: 6px; height: 6px;
      border-radius: 50%;
      opacity: 0;
      animation: confettiBurst 1.6s var(--ease-out) forwards;
      box-shadow: 0 0 8px currentColor;
    }
    @keyframes confettiBurst {
      0%   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
      100% { opacity: 0; transform: translate(calc(-50% + var(--cx)), calc(-50% + var(--cy))) scale(0.4); }
    }

    .success h2 {
      font-family: var(--font-display);
      color: var(--success);
      font-size: clamp(1.1rem, 1.7vw, 1.32rem);
      font-weight: 700;
      letter-spacing: -0.02em;
    }
    .success p {
      margin-top: 5px;
      color: var(--muted);
      font-size: 0.82rem;
      max-width: 400px;
      margin-left: auto;
      margin-right: auto;
    }

    .modal-overlay {
      position: fixed;
      inset: 0;
      z-index: 90;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 14px;
      background: rgba(3, 17, 38, 0.7);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      animation: fadeIn 0.3s ease;
    }
    .modal-overlay.open { display: flex; }
    @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

    .modal {
      width: min(680px, 100%);
      max-height: 88vh;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      border-radius: var(--r-lg);
      background: var(--white);
      box-shadow: var(--shadow-xl), 0 0 60px rgba(240, 193, 75, 0.2);
      animation: modalIn 0.4s var(--ease-spring);
    }
    @keyframes modalIn {
      from { opacity: 0; transform: scale(0.92) translateY(18px); }
      to   { opacity: 1; transform: none; }
    }

    .modal-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 14px 18px;
      color: var(--white);
      background: linear-gradient(135deg, var(--navy-950), var(--navy-700));
      position: relative;
      overflow: hidden;
    }
    .modal-head::after {
      content: "";
      position: absolute;
      top: -50%; right: -20%;
      width: 60%; height: 200%;
      background: radial-gradient(circle, rgba(240, 193, 75, 0.42), transparent 60%);
      pointer-events: none;
    }
    .modal-head strong {
      position: relative;
      z-index: 1;
      font-family: var(--font-display);
      font-size: 0.92rem;
      font-weight: 600;
      letter-spacing: -0.01em;
    }

    .modal-body {
      padding: 18px;
      overflow-y: auto;
      color: #344054;
      line-height: 1.6;
      font-size: 0.82rem;
    }
    .modal-body h3 {
      color: var(--navy-900);
      margin: 14px 0 5px;
      font-family: var(--font-display);
      font-size: 0.88rem;
      font-weight: 700;
      letter-spacing: -0.01em;
    }
    .modal-body h3:first-child { margin-top: 0; }

    .modal-actions {
      padding: 12px 18px;
      border-top: 1px solid var(--line);
      display: flex;
      justify-content: flex-end;
      background: #fafbfd;
    }

    .close {
      position: relative;
      z-index: 1;
      width: 30px; height: 30px;
      padding: 0;
      color: var(--white);
      background: rgba(255, 255, 255, 0.14);
      border-radius: 10px;
      font-size: 1.1rem;
      font-weight: 400;
      line-height: 1;
    }
    .close:hover { background: rgba(255, 255, 255, 0.26); transform: rotate(90deg); }


    /* ============================================================
       2026 PREMIUM UI REFINEMENT
       Subtle digital typography + executive glass + precision frame
    ============================================================ */
    body {
      font-family: var(--font-ui);
      letter-spacing: -0.012em;
      text-rendering: optimizeLegibility;
    }

    .brand-copy h1,
    .section-title h2 {
      font-family: var(--font-display);
      letter-spacing: -0.035em;
    }

    .brand-copy h1 {
      font-weight: 650;
    }

    .brand-copy p,
    .section-title p,
    .hint,
    label,
    input,
    textarea,
    select,
    button,
    .choice,
    .step,
    .progress-title,
    .progress-count {
      font-family: var(--font-ui);
    }

    .shell {
      border: 1px solid rgba(255, 255, 255, 0.17);
      background:
        linear-gradient(145deg, rgba(255,255,255,0.16), rgba(232,241,255,0.08));
      box-shadow:
        0 30px 80px rgba(2, 10, 28, 0.30),
        0 10px 26px rgba(2, 10, 28, 0.16),
        inset 0 1px 0 rgba(255,255,255,0.34);
      backdrop-filter: blur(34px) saturate(150%);
      -webkit-backdrop-filter: blur(34px) saturate(150%);
    }

    /* Precision orange frame: low-noise metallic energy sweep */
    .progress-panel {
      margin: 12px 12px 0;
      padding: 15px clamp(17px, 1.8vw, 23px) 13px;
      border: 1px solid rgba(255,255,255,0.22);
      background:
        radial-gradient(120% 180% at 0% 0%, rgba(255,255,255,0.20), transparent 48%),
        linear-gradient(145deg, rgba(248,251,255,0.78), rgba(228,237,248,0.58));
      backdrop-filter: blur(34px) saturate(155%);
      -webkit-backdrop-filter: blur(34px) saturate(155%);
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.92),
        inset 0 0 0 1px rgba(255,255,255,0.20),
        0 18px 46px rgba(3,17,38,0.16),
        0 3px 10px rgba(3,17,38,0.08);
    }

    .progress-panel::before {
      inset: -1px;
      padding: 1.35px;
      background: conic-gradient(from var(--frame-angle),
        rgba(124,45,18,0.78) 0deg,
        rgba(194,65,12,0.92) 68deg,
        rgba(249,115,22,1) 106deg,
        rgba(255,193,84,1) 123deg,
        rgba(255,244,216,0.98) 130deg,
        rgba(255,187,76,1) 137deg,
        rgba(249,115,22,0.92) 155deg,
        rgba(154,52,18,0.72) 210deg,
        rgba(124,45,18,0.58) 280deg,
        rgba(124,45,18,0.78) 360deg);
      animation: frameRotate 11s linear infinite;
      filter:
        drop-shadow(0 0 2px rgba(249,115,22,0.48))
        drop-shadow(0 0 8px rgba(249,115,22,0.18));
      opacity: 0.96;
    }

    .progress-panel::after {
      background:
        linear-gradient(112deg,
          rgba(255,255,255,0.46) 0%,
          rgba(255,255,255,0.10) 24%,
          transparent 42%,
          transparent 66%,
          rgba(255,255,255,0.12) 100%),
        radial-gradient(500px 90px at 50% 0%, rgba(255,255,255,0.26), transparent 72%);
      mix-blend-mode: normal;
      opacity: 0.72;
    }

    .progress-title {
      color: #0a2147;
      font-size: 0.76rem;
      font-weight: 750;
      letter-spacing: 0.045em;
      text-transform: uppercase;
    }

    .progress-title::before {
      width: 2px;
      height: 14px;
      background: linear-gradient(180deg, #ffd08a, #f97316);
      box-shadow: 0 0 8px rgba(249,115,22,0.35);
    }

    .progress-count {
      color: #8a3f08;
      background: rgba(255, 247, 237, 0.72);
      border: 1px solid rgba(249,115,22,0.28);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
      font-weight: 750;
    }

    .track {
      height: 2px;
      background: rgba(7,31,68,0.10);
      box-shadow: none;
    }

    .bar {
      background: linear-gradient(90deg, #d95f0b, #f97316 54%, #ffc56f);
      box-shadow: 0 0 10px rgba(249,115,22,0.32);
    }

    .bar::after {
      opacity: 0.38;
      animation-duration: 3.4s;
    }

    .step {
      color: #53647d;
      font-size: 0.60rem;
      font-weight: 650;
      letter-spacing: 0;
    }

    .dot {
      width: 25px;
      height: 25px;
      background: rgba(250,252,255,0.82);
      border: 1px solid rgba(73,95,126,0.24);
      box-shadow: 0 3px 9px rgba(3,17,38,0.08), inset 0 1px 0 rgba(255,255,255,0.92);
      font-weight: 700;
    }

    .step.active .dot {
      background: linear-gradient(145deg, #ff9a45, #e65f0a);
      transform: translateY(-1px) scale(1.08);
      box-shadow:
        0 8px 18px rgba(230,95,10,0.25),
        0 0 0 4px rgba(249,115,22,0.08);
    }

    .step.active .dot::before {
      inset: -4px;
      border: 1px solid rgba(249,115,22,0.42);
      animation: none;
      filter: none;
    }

    .step.active span { color: #8a3f08; font-weight: 750; }

    /* Executive frosted form surface */
    .form-area {
      margin: 8px 12px 12px;
      padding: clamp(15px, 1.7vw, 19px);
      border-radius: 15px;
      border: 1px solid rgba(255,255,255,0.30);
      background:
        radial-gradient(900px 220px at 20% -10%, rgba(255,255,255,0.36), transparent 62%),
        linear-gradient(148deg, rgba(247,250,255,0.66), rgba(224,234,246,0.46));
      backdrop-filter: blur(32px) saturate(145%);
      -webkit-backdrop-filter: blur(32px) saturate(145%);
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.88),
        inset 0 0 0 1px rgba(255,255,255,0.09),
        0 16px 38px rgba(3,17,38,0.11);
      isolation: isolate;
    }

    .form-area::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      pointer-events: none;
      background:
        linear-gradient(120deg, rgba(255,255,255,0.16), transparent 34%),
        radial-gradient(600px 160px at 88% 100%, rgba(24,72,132,0.08), transparent 70%);
      z-index: 0;
    }

    .form-area > * {
      position: relative;
      z-index: 1;
    }

    .form-area::after {
      border-radius: inherit;
      background: linear-gradient(90deg, transparent, rgba(255,184,98,0.13), transparent);
    }

    .section-title {
      margin-bottom: 13px;
      padding-bottom: 10px;
      border-bottom-color: rgba(51,74,104,0.14);
    }

    .section-title::after {
      width: 42px;
      height: 1.5px;
      background: linear-gradient(90deg, #e7660e, #ffb15b);
      box-shadow: none;
    }

    .section-icon {
      width: 31px;
      height: 31px;
      border-radius: 9px;
      background: linear-gradient(145deg, #f58a35, #c94a05);
      box-shadow: 0 8px 16px rgba(201,74,5,0.18), inset 0 1px 0 rgba(255,255,255,0.32);
    }

    .section-icon:hover { transform: translateY(-1px); }

    .section-title h2 {
      color: #071f45;
      font-size: clamp(0.96rem, 1.18vw, 1.08rem);
      font-weight: 650;
      line-height: 1.18;
    }

    .section-title p {
      color: #64748b;
      font-size: clamp(0.70rem, 0.82vw, 0.77rem);
      letter-spacing: -0.008em;
    }

    label {
      color: #24364f;
      font-size: 0.74rem;
      font-weight: 650;
      letter-spacing: 0.005em;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input:not([type]),
    textarea,
    select {
      padding: 10px 12px;
      border: 1px solid rgba(86,108,138,0.24);
      border-radius: 10px;
      background: rgba(255,255,255,0.68);
      color: #0d1d34;
      font-size: 0.83rem;
      font-weight: 500;
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.82),
        0 2px 5px rgba(3,17,38,0.025);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
    }

    input::placeholder, textarea::placeholder {
      color: #8a98ab;
      font-weight: 400;
    }

    input:hover:not(:focus), textarea:hover:not(:focus), select:hover:not(:focus) {
      border-color: rgba(65,88,120,0.38);
      background: rgba(255,255,255,0.80);
      box-shadow: 0 4px 12px rgba(3,17,38,0.04);
    }

    input:focus, textarea:focus, select:focus {
      border-color: rgba(234, 88, 12, 0.82);
      background: rgba(255,255,255,0.94);
      box-shadow:
        0 0 0 3px rgba(249,115,22,0.09),
        0 8px 22px rgba(28,54,88,0.08);
      transform: none;
    }

    .choice {
      border-color: rgba(75,98,129,0.18);
      background: rgba(255,255,255,0.46);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.58);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
    }

    .choice:hover {
      border-color: rgba(249,115,22,0.32);
      background: rgba(255,255,255,0.70);
    }

    .choice:has(input:checked) {
      border-color: rgba(234,88,12,0.62);
      background: linear-gradient(145deg, rgba(255,247,237,0.78), rgba(255,255,255,0.62));
      box-shadow: 0 0 0 3px rgba(249,115,22,0.07), inset 0 1px 0 rgba(255,255,255,0.72);
    }

    @media (prefers-reduced-motion: reduce) {
      .progress-panel::before,
      .bar::after { animation: none !important; }
    }

    /* ============================================================
       DESKTOP DENSITY OPTIMIZATION — compact premium layout
       Keeps mobile/tablet responsive behaviour intact while making
       the desktop interface feel less zoomed-in and more spacious.
    ============================================================ */
    @media (min-width: 901px) {
      :root {
        --max-width: 790px;
      }

      body {
        font-size: 13px;
        padding: 6px 8px;
      }

      .page {
        gap: 7px;
      }

      .brand-shell {
        grid-template-columns: minmax(215px, 270px) minmax(0, 1fr) 58px;
        gap: 11px;
        padding: 11px 13px;
        border-radius: 19px;
      }

      .brand-logo {
        height: 54px;
      }

      .brand-copy {
        padding-left: 11px;
      }

      .brand-copy h1 {
        font-size: clamp(0.96rem, 1.25vw, 1.18rem);
      }

      .brand-copy p {
        max-width: 440px;
        font-size: 0.70rem;
        line-height: 1.38;
      }

      .brand-seal {
        width: 58px;
        height: 58px;
      }

      .shell {
        border-radius: 19px;
      }

      .progress-panel {
        margin: 9px 9px 0;
        padding: 11px 15px 10px;
        border-radius: 14px;
      }

      .progress-head {
        margin-bottom: 8px;
      }

      .progress-title {
        font-size: 0.72rem;
      }

      .progress-count {
        padding: 2px 9px;
        font-size: 0.64rem;
      }

      .dot {
        width: 25px;
        height: 25px;
        font-size: 0.68rem;
      }

      .track {
        top: 12px;
      }

      .step span {
        font-size: 0.66rem;
      }

      .form-area {
        padding: 11px 13px 12px;
      }

      .section-title {
        gap: 8px;
        margin-bottom: 8px;
        padding-bottom: 7px;
      }

      .section-icon {
        width: 27px;
        height: 27px;
        border-radius: 8px;
        font-size: 0.76rem;
      }

      .section-title h2 {
        font-size: 0.92rem;
      }

      .section-title p {
        font-size: 0.68rem;
      }

      .grid {
        gap: 7px;
      }

      .field {
        gap: 4px;
      }

      label {
        font-size: 0.70rem;
      }

      input[type="text"],
      input[type="email"],
      input[type="tel"],
      input:not([type]),
      textarea,
      select {
        padding: 7px 10px;
        border-radius: 10px;
        font-size: 0.78rem;
      }

      textarea {
        min-height: 74px;
      }

      .choices {
        gap: 7px;
      }

      .choice {
        min-height: 37px;
        padding: 7px 10px;
        border-radius: 10px;
      }

      .choice span {
        font-size: 0.72rem;
      }

      .actions {
        margin-top: 8px;
        padding-top: 8px;
      }

      button {
        padding: 7px 14px;
        border-radius: 10px;
        font-size: 0.76rem;
      }
    }

    /* ============================================================
       RESPONSIVE
    ============================================================ */
    @media (min-width: 981px) {
      .choices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    }

    @media (max-width: 900px) {
      .brand-shell {
        grid-template-columns: 1fr auto;
        gap: 10px;
      }
      .brand-logo {
        grid-column: 1 / -1;
        width: 100%;
        max-width: 360px;
        height: 64px;
        justify-self: center;
      }
    }

    @media (max-width: 720px) {
      .grid, .choices { grid-template-columns: 1fr; }
      .form-area { padding: 14px; }
    }

    @media (max-width: 560px) {
      body { padding: 6px; font-size: 13.5px; }
      .page { gap: 6px; }

      .bg-grid { background-size: 34px 34px; }

      .brand-shell {
        grid-template-columns: 1fr;
        padding: 10px;
        border-radius: 18px;
        gap: 8px;
      }
      .brand-logo {
        height: 56px;
        max-width: 100%;
        border-radius: 14px;
      }
      .brand-seal { display: none; }
      .brand-copy { padding-left: 10px; }
      .brand-copy h1 { font-size: 1rem; line-height: 1.2; }
      .brand-copy p { font-size: 0.72rem; }
      .eyebrow { font-size: 0.54rem; padding: 3px 8px 3px 6px; letter-spacing: 0.1em; }

      .tech-grid { background-size: 20px 20px; }
      .hud { inset: 6px; }
      .hud i { width: 16px; height: 16px; }

      .shell { border-radius: 18px; }

      .progress-panel {
        margin: 8px 8px 0;
        padding: 12px 14px 10px;
        border-radius: 14px;
      }
      .progress-panel::before { padding: 1.5px; }
      .progress-head { margin-bottom: 9px; }
      .progress-title { font-size: 0.74rem; }
      .progress-count { display: none; }

      .steps {
        display: flex;
        justify-content: space-between;
        gap: 0;
        padding: 0 4px;
      }
      .steps::before {
        content: "";
        position: absolute;
        top: 12px;
        left: 18px;
        right: 18px;
        height: 3px;
        border-radius: var(--r-full);
        background: rgba(11, 43, 98, 0.10);
        z-index: 0;
      }
      .step { width: 26px; gap: 4px; }
      .step span { display: none; }
      .dot { width: 26px; height: 26px; font-size: 0.68rem; }
      .step.active .dot::before { inset: -3px; }
      .track { display: none; }

      .form-area { padding: 12px 10px; }

      .section-title {
        gap: 9px;
        margin-bottom: 10px;
        padding-bottom: 8px;
      }
      .section-icon { width: 28px; height: 28px; border-radius: 9px; font-size: 0.75rem; }
      .section-title h2 { font-size: 0.92rem; }
      .section-title p { font-size: 0.7rem; }

      label { font-size: 0.74rem; }
      input, textarea, select { padding: 10px 12px; font-size: 16px; }

      .choice { padding: 10px 11px; min-height: 42px; }
      .choice span { font-size: 0.78rem; }

      .upload { padding: 10px; }
      .upload-row { flex-direction: column; align-items: stretch; gap: 8px; }
      .upload-btn { width: 100%; justify-content: center; }

      .actions { flex-direction: column-reverse; gap: 6px; }
      button { width: 100%; padding: 11px 16px; font-size: 0.84rem; }

      .modal-head { padding: 12px 14px; }
      .modal-head strong { font-size: 0.86rem; }
      .modal-body { padding: 14px; font-size: 0.8rem; }
      .modal-actions { padding: 10px 14px; }

      .success-mark { width: 58px; height: 58px; font-size: 1.6rem; }
      .success h2 { font-size: 1.02rem; }
    }

    @media (max-width: 400px) {
      .brand-copy h1 { font-size: 0.94rem; }
      .eyebrow { font-size: 0.5rem; }
      .dot { width: 24px; height: 24px; font-size: 0.64rem; }
      .steps::before { top: 11px; left: 14px; right: 14px; }
      .step { width: 24px; }
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
      }
    }