* { margin:0; padding:0; box-sizing:border-box; }
    :root {
      --gold:#C3A431; --teal:#006C66; --burgundy:#7B1F24;
      --light-bg:#F8F5F0; --dark-bg:#1A1A1A; --text-light:#333; --text-dark:#F0F0F0;
    }
    img, svg { max-width: 100%; height: auto; }
    button, a, .status-card { -webkit-tap-highlight-color: rgba(0,0,0,0); touch-action: manipulation; }
    body { font-family:'Inter',sans-serif; line-height:1.6; transition:background-color .3s ease; overflow-x: hidden; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
    body.light-theme { background-color:var(--light-bg); color:var(--text-light); }
    body.dark-theme { background-color:var(--dark-bg); color:var(--text-dark); }

    /* Hero */
    .hero { position:relative; min-height: 100vh; min-height: 100svh; display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; padding: 2rem; padding-top: calc(2rem + env(safe-area-inset-top)); padding-bottom: calc(2rem + env(safe-area-inset-bottom)); overflow:hidden; }
    .hero.light-theme {
      background: radial-gradient(1200px 400px at 50% 0%, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 50%),
                  linear-gradient(140deg, #0E2A28 0%, #045D56 55%, #0E2A28 100%);
    }
    .hero.light-theme .hero-content h1 { color: var(--gold); text-shadow: 0 2px 10px rgba(0,0,0,0.35); }
    .hero.light-theme .hero-content p { color: #EAF4F3; text-shadow: 0 1px 6px rgba(0,0,0,0.35); }
    .hero.dark-theme {
      background: radial-gradient(1000px 400px at 50% 0%, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 60%),
                  linear-gradient(160deg, #0B0F10 0%, #152526 55%, #0B0F10 100%);
    }
    .hero.dark-theme .hero-content h1 { color: #F1DFA3; text-shadow: 0 3px 14px rgba(0,0,0,0.7); }
    .hero.dark-theme .hero-content p { color: #E6ECEB; text-shadow: 0 2px 10px rgba(0,0,0,0.65); }
    .hero::before{
      content:""; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
      width:300px; height:300px;
      background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="45" fill="none" stroke="%23C3A431" stroke-width="2" opacity="0.3"/><circle cx="50" cy="50" r="35" fill="none" stroke="%23006C66" stroke-width="1.5" opacity="0.3"/><path d="M30,30 Q50,20 70,30 Q80,50 70,70 Q50,80 30,70 Q20,50 30,30" fill="none" stroke="%237B1F24" stroke-width="1.5" opacity="0.3"/></svg>') center/contain no-repeat;
      opacity:.06; z-index:1;
    }
    .hero-content { position:relative; z-index:2; max-width:800px; }
    .hero h1 { font-family:'Pacifico',cursive; font-size: clamp(2rem, 6vw, 4rem); margin-bottom:1rem; color:var(--gold); text-shadow:2px 2px 4px rgba(0,0,0,.3); }
    .hero p { font-size: clamp(1rem, 2.2vw, 1.2rem); margin-bottom:2rem; max-width:600px; margin-left:auto; margin-right:auto; }

    .cta-button { background:var(--teal); color:#fff; padding:1rem 2rem; border:none; border-radius:50px; font-size:1.1rem; font-weight:600; cursor:pointer; transition:all .3s ease; box-shadow:0 4px 15px rgba(0,108,102,.3); position:relative; overflow:hidden; }
    .cta-button:hover { background:var(--burgundy); transform:translateY(-3px); box-shadow:0 6px 20px rgba(123,31,36,.4); }
    .cta-button::after { content:""; position:absolute; top:-50%; left:-60%; width:20px; height:200%; background:rgba(255,255,255,.3); transform:rotate(30deg); transition:all .6s; }
    .cta-button:hover::after { left:120%; }

    /* Form */
    .form-section{ padding:4rem 2rem; max-width:800px; margin:0 auto; }
    .form-section.light-theme{
      background-color:#FFFFFF;
      border: 1px solid rgba(0,0,0,0.05);
    }
    .form-section.dark-theme{
      background-color:#121A1B;
      border: 1px solid rgba(255,255,255,0.08);
    }
    .form-title{ text-align:center; font-family:'Pacifico',cursive; color:var(--gold); margin-bottom:2rem; font-size:2.5rem; position:relative; }
    .form-title::after{
      content:''; position:absolute; left:50%; bottom:-12px; transform:translateX(-50%);
      width:120px; height:4px; border-radius:999px;
      background:linear-gradient(90deg, rgba(0,108,102,.55), rgba(195,164,49,.7));
    }
    .form-container{ background:inherit; padding:2rem; border-radius:15px; box-shadow:0 10px 30px rgba(0,0,0,.1); position:relative; overflow:hidden; }
    .form-container::before{
      content:''; position:absolute; inset:0; pointer-events:none;
      background:radial-gradient(circle at 20% 20%, rgba(0,108,102,.09), transparent 55%),
                 radial-gradient(circle at 80% 0%, rgba(195,164,49,.09), transparent 45%);
    }
    .form-container > *{ position:relative; z-index:1; }
    .form-group{ margin-bottom:1.5rem; }
    .form-group label{ display:block; margin-bottom:.5rem; font-weight:600; color:var(--teal); }
    .form-control{ width:100%; padding:1rem; border:2px solid #e1e1e1; border-radius:8px; font-size: 16px; /* prevents iOS zoom on focus */ transition:border-color .3s ease; }
    .form-control:focus{ outline:none; border-color:var(--gold); box-shadow:0 0 0 3px rgba(195,164,49,.2); }

    .radio-group{ display:flex; gap:1rem; flex-wrap:wrap; }
    .radio-option{ display:flex; align-items:center; gap:.5rem; cursor:pointer; }

    .status-options{ display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:1rem; margin-top:1rem; }
    .status-card{ padding:1.5rem; border:2px solid #e1e1e1; border-radius:10px; text-align:center; cursor:pointer; transition:all .3s ease; background:inherit; line-height: 1.3; word-break: break-word; min-height: 64px; }
    .status-card:hover{ border-color:var(--gold); transform:translateY(-3px); box-shadow:0 5px 15px rgba(0,0,0,.1); }
    .status-card.selected{ border-color:var(--gold); background:rgba(195,164,49,.1); }
    .status-card i{ font-size:2rem; margin-bottom:1rem; color:var(--teal); }
    .status-card:focus-visible {
      outline: 3px solid rgba(195,164,49,0.55);
      outline-offset: 2px;
    }
    .status-card:active {
      transform: translateY(-1px) scale(0.995);
    }

    .submit-button{ background:var(--teal); color:#fff; padding:1.2rem 2rem; border:none; border-radius:50px; font-size:1.1rem; font-weight:600; cursor:pointer; transition:all .3s ease; width:100%; position:relative; overflow:hidden; }
    .submit-button:hover{ background:var(--burgundy); transform:translateY(-3px); box-shadow:0 10px 25px rgba(123,31,36,.3); }
    .submit-button::before{ content:""; position:absolute; top:0; left:-100%; width:100%; height:100%; background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent); transition:.5s; }
    .submit-button:hover::before{ left:100%; }
    .submit-button[disabled]{ opacity:.7; cursor:not-allowed; box-shadow:none; transform:none; }
    .status-msg{ margin-top:.75rem; font-size:.95rem; color:var(--teal); }
    .status-msg.error{ color:#b00020; }
    .form-meta{ margin-bottom:1.7rem; }
    .form-progress{
      height:8px; border-radius:999px; background:rgba(0,0,0,.08);
      overflow:hidden; margin-bottom:10px;
    }
    body.dark-theme .form-progress{ background:rgba(255,255,255,.15); }
    .form-progress-bar{
      height:100%; width:0%; border-radius:inherit;
      background:linear-gradient(90deg, var(--teal), var(--gold));
      transition:width .3s ease;
    }
    .form-progress-details{
      display:flex; align-items:center; justify-content:space-between;
      font-size:.95rem; color:rgba(0,0,0,.7);
    }
    body.dark-theme .form-progress-details{ color:rgba(255,255,255,.75); }
    .form-progress-value{ font-weight:700; font-size:1rem; color:var(--teal); }
    body.dark-theme .form-progress-value{ color:#F8E7B5; }
    .insight-panel{
      display:flex; flex-direction:column; gap:.75rem;
      border:1px solid rgba(0,0,0,.06); border-radius:18px;
      padding:1.25rem 1.5rem; margin-bottom:1.8rem;
      background:linear-gradient(135deg, rgba(0,108,102,.08), rgba(123,31,36,.05));
    }
    body.dark-theme .insight-panel{
      border-color:rgba(255,255,255,.08);
      background:linear-gradient(135deg, rgba(0,108,102,.18), rgba(123,31,36,.1));
    }
    .insight-label{ text-transform:uppercase; letter-spacing:.08em; font-size:.78rem; color:rgba(0,0,0,.6); margin:0; }
    body.dark-theme .insight-label{ color:rgba(255,255,255,.65); }
    .insight-panel h3{ margin:0; font-size:1.35rem; color:var(--teal); }
    body.dark-theme .insight-panel h3{ color:#E7F6F4; }
    .insight-sub{ margin:0; font-size:.95rem; color:rgba(0,0,0,.7); }
    body.dark-theme .insight-sub{ color:rgba(255,255,255,.75); }
    .insight-tags{ display:flex; flex-wrap:wrap; gap:.4rem; }
    .insight-tag{
      display:inline-flex; align-items:center; gap:.35rem;
      padding:.35rem .75rem; border-radius:999px;
      background:rgba(0,108,102,.12); color:var(--teal); font-size:.85rem; font-weight:600;
    }
    body.dark-theme .insight-tag{ background:rgba(0,108,102,.22); color:#B7E3DF; }
    .insight-note{ margin:0; font-size:.9rem; color:var(--muted, #6c757d); }

    /* Footer */
    .footer{ padding:3rem 2rem; text-align:center; }
    .footer.light-theme{ background-color:#0E2A28; color:#fff; }
    .footer.dark-theme{ background-color:#0C1314; color:#EAEAEA; }
    .footer-content{ max-width:1200px; margin:0 auto; }
    .footer p{ margin-bottom:1.5rem; font-size:1.1rem; }
    .social-links{ display:flex; justify-content:center; gap:1.5rem; margin-bottom:2rem; }
    .social-link{ display:inline-flex; align-items:center; justify-content:center; width:50px; height:50px; border-radius:50%; background:rgba(255,255,255,.1); color:#fff; font-size:1.3rem; transition:all .3s ease; }
    .social-link:hover{ background:var(--gold); transform:translateY(-5px); }
    .theme-toggle{ background:var(--teal); color:#fff; padding:.5rem 1rem; border:none; border-radius:20px; cursor:pointer; margin-top:1rem; transition:background .3s ease; }
    .theme-toggle:hover{ background:var(--burgundy); }

    /* Responsive */
    @media (max-width: 768px){
      .hero-content{ padding-inline: 1rem; }
      .form-title{ font-size: clamp(1.5rem, 6vw, 2rem); }
      .status-options{ grid-template-columns: 1fr; }
      .cta-button, .theme-toggle{ width: 100%; max-width: 420px; }
      .status-card h3 { font-size: clamp(1rem, 4.5vw, 1.125rem); }
      .status-card p  { font-size: clamp(0.9rem, 3.8vw, 1rem); }
    }
    @media (max-width: 480px){
      .hero{ padding: 1rem; }
      .hero::before{ width: 220px; height: 220px; }
      .form-section{ padding: 2rem 1rem; }
      .form-container{ padding: 1rem; }
      .radio-group{ flex-direction: column; gap: .5rem; }
      .status-card{ padding: 1rem; }
      .cta-button, .theme-toggle { width: 100%; max-width: 100%; }
      .form-group { margin-bottom: 1.1rem; }
    }

    /* Animations */
    @keyframes fadeIn{ from{opacity:0; transform:translateY(20px);} to{opacity:1; transform:translateY(0);} }
    .hero-content,.form-container{ animation:fadeIn 1s ease-out; }
    .pulse{ animation:pulse 2s infinite; }
    @keyframes pulse{ 0%{transform:scale(1);} 50%{transform:scale(1.05);} 100%{transform:scale(1);} }

    @supports (-webkit-touch-callout: none) {
      .hero{ min-height: -webkit-fill-available; }
    }
