:root {
    --navy: #1a274d;
    --navy-dark: #111c36;
    --navy-light: #2a3a6b;
    --green: #3BAB6F;
    --green-light: #4DC484;
    --green-pale: #E8F7F0;
    --cream: #F7F5F0;
    --warm-white: #FDFCFA;
    --text: #1a1a1a;
    --text-muted: #5a5a5a;
    --text-light: #888;
    --border: #E0DDD5;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background: var(--warm-white);
    font-size: 16px;
    line-height: 1.7;
  }

  /* NAV */
  nav {
    position: sticky; top: 0; z-index: 100;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    height: 84px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: height 0.35s ease;
  }

  nav.scrolled { height: 60px; }

  .nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex; align-items: center; justify-content: space-between;
    height: 100%;
  }

  .nav-logo-img { height: 54px; width: auto; display: block; transition: height 0.35s ease; }

  nav.scrolled .nav-logo-img { height: 36px; }

  .nav-logo { display:flex; align-items:center; gap:12px; text-decoration:none; }
  .nav-logo-text .brand { font-size:17px; font-weight:600; color:var(--navy); }
  .nav-logo-text .sub { font-size:11px; color:var(--green); font-weight:600; letter-spacing:.5px; text-transform:uppercase; }

  .nav-back {
    display:flex; align-items:center; gap:8px;
    text-decoration:none; color:var(--text-muted); font-size:14px; font-weight:500;
    transition: color .2s;
  }
  .nav-back:hover { color:var(--navy); }
  .nav-back svg { width:16px; height:16px; }

  /* HERO STRIP */
  .scan-hero {
    background: var(--navy);
    padding: 56px 40px 48px;
    position: relative;
    overflow: hidden;
  }
  .scan-hero::after {
    content:''; position:absolute; bottom:-60px; right:-60px;
    width:300px; height:300px; border-radius:50%;
    background: rgba(59,171,111,.08);
  }
  .scan-hero-inner { max-width:860px; margin:0 auto; position:relative; z-index:1; }

  .scan-badge {
    display:inline-flex; align-items:center; gap:8px;
    background:rgba(59,171,111,.15); border:1px solid rgba(59,171,111,.3);
    color:#6dd9a0; font-size:12px; font-weight:600; letter-spacing:.8px;
    text-transform:uppercase; padding:5px 14px; border-radius:20px; margin-bottom:18px;
  }
  .scan-badge::before { content:''; width:6px; height:6px; border-radius:50%; background:var(--green-light); }

  .scan-hero h1 {
    font-family:'DM Serif Display', serif;
    font-size:42px; color:white; line-height:1.15; margin-bottom:14px;
  }
  .scan-hero h1 em { font-style:italic; color:#6dd9a0; }
  .scan-hero p { font-size:16px; color:rgba(255,255,255,.65); max-width:580px; line-height:1.75; font-weight:300; }

  .scan-hero-meta {
    margin-top:28px; display:flex; gap:28px; flex-wrap:wrap;
  }
  .scan-meta-item {
    display:flex; align-items:center; gap:8px;
    font-size:13px; color:rgba(255,255,255,.55);
  }
  .scan-meta-item svg { width:15px; height:15px; color:var(--green-light); flex-shrink:0; }

  /* LAYOUT */
  .scan-body { max-width:860px; margin:0 auto; padding:48px 40px 80px; }

  /* PROGRESS BAR */
  .progress-wrap { margin-bottom:36px; }
  .progress-label {
    display:flex; justify-content:space-between; align-items:center;
    font-size:13px; color:var(--text-muted); margin-bottom:8px;
  }
  .progress-label strong { color:var(--navy); }
  .progress-track {
    height:6px; background:var(--border); border-radius:3px; overflow:hidden;
  }
  .progress-fill {
    height:100%; background:var(--green); border-radius:3px;
    width:0%; transition: width .5s ease;
  }

  /* STEP INDICATOR */
  .steps-header {
    display:flex; gap:0; margin-bottom:40px;
    border:1px solid var(--border); border-radius:10px; overflow:hidden;
  }
  .step-tab {
    flex:1; padding:14px 16px; text-align:center; font-size:13px; font-weight:500;
    color:var(--text-light); background:white; cursor:pointer; transition:.2s;
    border-right:1px solid var(--border);
    display:flex; align-items:center; justify-content:center; gap:8px;
  }
  .step-tab:last-child { border-right:none; }
  .step-tab.active { background:var(--navy); color:white; }
  .step-tab.done { background:var(--green-pale); color:var(--green); }
  .step-tab .step-num {
    width:22px; height:22px; border-radius:50%; font-size:11px; font-weight:700;
    display:flex; align-items:center; justify-content:center; flex-shrink:0;
    background:rgba(255,255,255,.2);
  }
  .step-tab.done .step-num { background:var(--green); color:white; }
  .step-tab.active .step-num { background:rgba(255,255,255,.25); color:white; }
  .step-tab:not(.active):not(.done) .step-num { background:var(--cream); color:var(--text-light); }

  /* SCREENS */
  .screen { display:none; }
  .screen.active { display:block; }

  /* ACCORDION */
  .scan-intro {
    background:var(--cream); border:1px solid var(--border); border-radius:12px;
    padding:20px 24px; margin-bottom:32px; font-size:16px; color:var(--text-muted); line-height:1.7;
  }
  .scan-intro strong { color:var(--navy); }

  .accordion-item {
    border:1.5px solid var(--border); border-radius:12px; margin-bottom:12px;
    overflow:hidden; transition:border-color .2s, box-shadow .2s;
  }
  .accordion-item.open { border-color:var(--green); box-shadow:0 4px 20px rgba(59,171,111,.08); }
  .accordion-item.has-answers { border-color:#b7e2cc; }

  .accordion-header {
    display:flex; align-items:center; gap:16px; padding:20px 24px;
    cursor:pointer; background:white; user-select:none;
    transition:background .15s;
  }
  .accordion-header:hover { background:var(--cream); }
  .accordion-item.open .accordion-header { background:var(--green-pale); }

  .acc-icon {
    width:44px; height:44px; border-radius:10px; flex-shrink:0;
    display:flex; align-items:center; justify-content:center;
    background:var(--green-pale);
    transition:background .2s;
  }
  .accordion-item.open .acc-icon { background:var(--green); }
  .acc-icon svg { width:22px; height:22px; transition:stroke .2s; }
  .accordion-item.open .acc-icon svg { stroke:white; }

  .acc-meta { flex:1; }
  .acc-meta h3 { font-size:16px; font-weight:600; color:var(--navy); margin-bottom:3px; }
  .acc-meta p { font-size:13px; color:var(--text-muted); }

  .acc-status {
    display:flex; align-items:center; gap:10px;
  }
  .acc-count {
    font-size:12px; padding:4px 10px; border-radius:20px;
    background:var(--cream); color:var(--text-light); font-weight:500;
    white-space:nowrap;
  }
  .acc-count.has-yes { background:var(--green-pale); color:var(--green); }

  .acc-chevron {
    width:28px; height:28px; border-radius:6px; background:var(--cream);
    display:flex; align-items:center; justify-content:center; flex-shrink:0;
    transition:transform .3s;
  }
  .accordion-item.open .acc-chevron { transform:rotate(180deg); background:rgba(59,171,111,.1); }
  .acc-chevron svg { width:14px; height:14px; }

  .accordion-body {
    display:none; padding:0 24px 24px; background:white;
  }
  .accordion-item.open .accordion-body { display:block; }

  .acc-divider { height:1px; background:var(--border); margin-bottom:20px; }

  /* QUESTIONS */
  .question-group { margin-bottom:20px; }

  .question-item {
    display:grid; grid-template-columns:1fr auto;
    align-items:center; gap:16px;
    padding:14px 16px; border:1px solid var(--border); border-radius:8px;
    background:var(--cream); margin-bottom:8px; transition:border-color .2s, background .2s;
  }
  .question-item:hover { border-color:#c8c4bc; }
  .question-item.answered-yes { border-color:#b7e2cc; background:var(--green-pale); }
  .question-item.answered-no { border-color:var(--border); background:white; }

  .question-text { font-size:14px; color:var(--text); line-height:1.5; }
  .question-item.answered-yes .question-text { color:var(--navy); font-weight:500; }

  .radio-group { display:flex; gap:6px; flex-shrink:0; }

  .radio-btn {
    position:relative;
  }
  .radio-btn input { position:absolute; opacity:0; width:0; height:0; }
  .radio-btn label {
    display:flex; align-items:center; gap:5px; padding:6px 14px;
    border:1.5px solid var(--border); border-radius:6px; cursor:pointer;
    font-size:13px; font-weight:500; color:var(--text-muted);
    background:white; transition:.15s; white-space:nowrap;
  }
  .radio-btn label:hover { border-color:var(--green); color:var(--green); }
  .radio-btn input:checked + label {
    border-color:var(--green); background:var(--green); color:white;
  }
  .radio-btn.no-btn input:checked + label {
    border-color:var(--border); background:var(--text-muted); color:white;
  }

  /* CONTACT FORM */
  .contact-section { max-width:600px; }
  .contact-section h2 {
    font-family:'DM Serif Display',serif; font-size:30px; color:var(--navy);
    margin-bottom:10px;
  }
  .contact-section > p { font-size:16px; color:var(--text-muted); margin-bottom:32px; line-height:1.7; }

  .summary-box {
    background:var(--green-pale); border:1px solid #b7e2cc; border-radius:10px;
    padding:18px 20px; margin-bottom:28px;
  }
  .summary-box h4 { font-size:13px; font-weight:700; color:var(--green); text-transform:uppercase; letter-spacing:.5px; margin-bottom:10px; }
  .summary-tags { display:flex; gap:8px; flex-wrap:wrap; }
  .summary-tag {
    background:white; border:1px solid #b7e2cc; border-radius:20px;
    padding:4px 12px; font-size:13px; color:var(--navy); font-weight:500;
    display:flex; align-items:center; gap:6px;
  }
  .summary-tag::before { content:'✓'; color:var(--green); font-size:11px; font-weight:700; }

  .form-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
  .form-group { margin-bottom:14px; }
  .form-group.full { grid-column:1/-1; }
  .form-group label {
    display:block; font-size:13px; font-weight:600; color:var(--navy); margin-bottom:6px;
  }
  .form-group label .req { color:var(--green); }
  .form-group input, .form-group select, .form-group textarea {
    width:100%; padding:11px 14px;
    border:1.5px solid var(--border); border-radius:8px;
    font-size:14px; font-family:'DM Sans',sans-serif; color:var(--text);
    background:white; transition:.2s; outline:none; appearance:none;
  }
  .form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color:var(--green); box-shadow:0 0 0 3px rgba(59,171,111,.1);
  }
  .form-group textarea { resize:vertical; min-height:90px; }

  .privacy-block {
    border:1.5px solid var(--border); border-radius:10px; padding:18px 20px;
    margin-bottom:24px; background:var(--cream);
  }
  .privacy-check { display:flex; align-items:flex-start; gap:12px; cursor:pointer; }
  .privacy-check input[type="checkbox"] {
    width:18px; height:18px; margin-top:2px; flex-shrink:0; accent-color:var(--green); cursor:pointer;
  }
  .privacy-check span { font-size:13px; color:var(--text-muted); line-height:1.6; }
  .privacy-check a { color:var(--green); text-decoration:none; font-weight:500; }
  .privacy-check a:hover { text-decoration:underline; }

  /* BUTTONS */
  .btn-nav { display:flex; justify-content:space-between; align-items:center; margin-top:36px; }

  .btn-primary {
    background:var(--green); color:white; border:none;
    padding:13px 28px; border-radius:8px; font-size:15px; font-weight:600;
    font-family:'DM Sans',sans-serif; cursor:pointer;
    display:inline-flex; align-items:center; gap:8px;
    transition:background .2s, transform .15s;
  }
  .btn-primary:hover { background:var(--green-light); transform:translateY(-1px); }
  .btn-primary:disabled { background:var(--text-light); cursor:not-allowed; transform:none; }

  .btn-secondary {
    background:transparent; color:var(--text-muted);
    border:1.5px solid var(--border); padding:13px 24px; border-radius:8px;
    font-size:15px; font-weight:500; font-family:'DM Sans',sans-serif;
    cursor:pointer; display:inline-flex; align-items:center; gap:8px; transition:.2s;
  }
  .btn-secondary:hover { border-color:#aaa; color:var(--text); }

  /* THANK YOU */
  .thankyou {
    text-align:center; padding:60px 20px;
  }
  .thankyou-icon {
    width:80px; height:80px; background:var(--green-pale); border-radius:50%;
    display:flex; align-items:center; justify-content:center; margin:0 auto 28px;
  }
  .thankyou-icon svg { width:40px; height:40px; }
  .thankyou h2 {
    font-family:'DM Serif Display',serif; font-size:36px; color:var(--navy); margin-bottom:14px;
  }
  .thankyou p { font-size:16px; color:var(--text-muted); max-width:480px; margin:0 auto 10px; line-height:1.75; }
  .thankyou .highlight { color:var(--green); font-weight:600; }

  .thankyou-card {
    background:var(--cream); border:1px solid var(--border); border-radius:14px;
    padding:28px; max-width:400px; margin:36px auto 0; text-align:left;
  }
  .thankyou-card h4 { font-size:14px; font-weight:700; color:var(--navy); margin-bottom:14px; }
  .thankyou-contact { display:flex; flex-direction:column; gap:12px; }
  .thankyou-contact-item { display:flex; align-items:center; gap:12px; font-size:14px; }
  .thankyou-contact-item svg { width:16px; height:16px; flex-shrink:0; }
  .btn-home {
    display:inline-flex; align-items:center; gap:8px; margin-top:36px;
    background:var(--navy); color:white; text-decoration:none;
    padding:13px 28px; border-radius:8px; font-weight:600; font-size:15px;
    transition:background .2s;
  }
  .btn-home:hover { background:var(--navy-light); }

  /* PHOTO CIRCLE */
  .hans-strip {
    background:white; border:1px solid var(--border); border-radius:12px;
    padding:20px 24px; margin-bottom:32px;
    display:flex; align-items:center; gap:18px;
  }
  .hans-photo {
    width:56px; height:56px; border-radius:50%; overflow:hidden; flex-shrink:0;
    border:2px solid var(--green-pale);
  }
  .hans-photo img { width:100%; height:100%; object-fit:cover; }
  .hans-strip-text { flex:1; }
  .hans-strip-text strong { display:block; font-size:15px; font-weight:600; color:var(--navy); }
  .hans-strip-text span { font-size:13px; color:var(--text-muted); }

  @media (max-width:700px) {
    .nav-inner { padding:0 16px; }
    .scan-hero { padding:36px 20px; }
    .scan-body { padding:28px 20px 60px; }
    .scan-hero h1 { font-size:30px; }
    .accordion-header { padding:16px; gap:12px; }
    .accordion-body { padding:0 16px 20px; }
    .question-item { grid-template-columns:1fr; gap:10px; }
    .form-grid { grid-template-columns:1fr; }
    .steps-header { display:none; }
    .btn-nav { flex-direction:column-reverse; gap:12px; }
    .btn-nav .btn-primary, .btn-nav .btn-secondary { width:100%; justify-content:center; }
  }