  /* ---------- Advercase (licensed, self hosted) ---------- */
  @font-face{
    font-family: "Advercase";
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url("fonts/advercase-400-normal.otf") format("opentype");
  }
  @font-face{
    font-family: "Advercase";
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    src: url("fonts/advercase-700-normal.woff2") format("woff2");
  }
  @font-face{
    font-family: "Advercase";
    font-weight: 400;
    font-style: italic;
    font-display: swap;
    src: url("fonts/advercase-400-italic.woff") format("woff");
  }
  @font-face{
    font-family: "Advercase";
    font-weight: 700;
    font-style: italic;
    font-display: swap;
    src: url("fonts/advercase-700-italic.woff2") format("woff2");
  }

  /* ---------- Tokens ---------- */
  :root{
    /* Sage palette (Emmylou, 2026-09-25): #E9F5DB #CFE1B9 #B5C99A #97A97C #87986A #718355 */
    --bg: #f3f2ec;
    --surface: #ffffff;
    --surface-tint: #E9F5DB;
    --brand: #08431d;
    --brand-soft: #4b5c4f;
    --line: rgba(8,67,29,0.14);
    --line-strong: rgba(8,67,29,0.28);
    --shadow: 0 20px 40px -28px rgba(8,67,29,0.35);
    --accent-fight: #CFE1B9;
    --accent-flight: #CFE1B9;
    --accent-freeze: #CFE1B9;
    --accent-fawn: #E9F5DB;
    --ink-fight: #718355;
    --ink-flight: #87986A;
    --ink-freeze: #97A97C;
    --ink-fawn: #B5C99A;
    --focus: #08431d;
    --font-display: "Advercase", "Arial Black", Impact, sans-serif;
    --font-body: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  }
  @media (prefers-color-scheme: dark){
    :root:not([data-theme="light"]){
      --bg: #0a2013;
      --surface: #12291a;
      --surface-tint: #16311e;
      --brand: #eef7ec;
      --brand-soft: #b9c9bd;
      --line: rgba(238,247,236,0.16);
      --line-strong: rgba(238,247,236,0.3);
      --shadow: 0 20px 40px -24px rgba(0,0,0,0.6);
      --focus: #cfe8bd;
      --ink-fight: #c8e878;
      --ink-flight: #8fc0f5;
      --ink-freeze: #b0aef7;
      --ink-fawn: #a9e0c2;
    }
  }
  :root[data-theme="dark"]{
    --bg: #0a2013;
    --surface: #12291a;
    --surface-tint: #16311e;
    --brand: #eef7ec;
    --brand-soft: #b9c9bd;
    --line: rgba(238,247,236,0.16);
    --line-strong: rgba(238,247,236,0.3);
    --shadow: 0 20px 40px -24px rgba(0,0,0,0.6);
    --focus: #cfe8bd;
    --ink-fight: #c8e878;
    --ink-flight: #8fc0f5;
    --ink-freeze: #b0aef7;
    --ink-fawn: #a9e0c2;
  }

  *{ box-sizing: border-box; }
  body{
    background: var(--bg);
    color: var(--brand);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
  }
  h1,h2,h3{
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.01em;
    text-wrap: balance;
    margin: 0;
    color: var(--brand);
  }
  p{ margin: 0; }
  button{ font-family: inherit; }

  .app{
    max-width: 640px;
    margin: 0 auto;
    padding: 0 20px 64px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  /* ---------- Topbar ---------- */
  .topbar{
    position: sticky;
    top: 0;
    z-index: 5;
    background: var(--bg);
    padding: 18px 0 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .brand-mark{
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-soft);
    font-weight: 600;
  }
  .brand-mark svg{ flex: none; }
  .progress-track{
    height: 4px;
    border-radius: 4px;
    background: var(--line);
    overflow: hidden;
  }
  .progress-fill{
    height: 100%;
    width: 0%;
    background: var(--brand);
    border-radius: 4px;
    transition: width .45s ease;
  }

  main{ flex: 1; display: flex; flex-direction: column; }

  .screen.screen-enter{
    animation: rise .5s ease both;
  }
  @keyframes rise{
    from{ opacity: 0; transform: translateY(10px); }
    to{ opacity: 1; transform: translateY(0); }
  }
  @media (prefers-reduced-motion: reduce){
    .screen.screen-enter{ animation: none; }
    .progress-fill{ transition: none; }
  }

  /* ---------- Signature line mark (brand motif) ---------- */
  .signature{
    width: 100%;
    height: auto;
    display: block;
    margin: 6px 0 22px;
  }

  /* ---------- Intro ---------- */
  .intro{ padding-top: 4px; }
  .eyebrow{
    display: inline-block;
    font-size: 12.5px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--brand-soft);
    font-weight: 600;
    margin-bottom: 14px;
  }
  .intro h1{
    font-size: clamp(32px, 7vw, 46px);
  }
  .intro .sub{
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.6;
    color: var(--brand-soft);
    max-width: 54ch;
  }

  .legend{
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 6px 0 30px;
  }
  .legend-item{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .legend-item svg{ width: 100%; height: 24px; }
  .legend-item span{
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--brand-soft);
  }
  .legend-item.lg-fight svg{ color: var(--ink-fight); }
  .legend-item.lg-flight svg{ color: var(--ink-flight); }
  .legend-item.lg-freeze svg{ color: var(--ink-freeze); }
  .legend-item.lg-fawn svg{ color: var(--ink-fawn); }

  .meta-line{
    font-size: 14.5px;
    color: var(--brand-soft);
    margin-bottom: 26px;
  }

  .btn-primary{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--brand);
    color: var(--bg);
    border: none;
    border-radius: 999px;
    padding: 16px 28px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    box-shadow: var(--shadow);
    transition: transform .15s ease, opacity .15s ease;
  }
  .btn-primary:hover{ opacity: .92; }
  .btn-primary:active{ transform: scale(0.98); }
  .btn-primary:focus-visible, .opt:focus-visible, .link-btn:focus-visible{
    outline: 2px solid var(--focus);
    outline-offset: 3px;
  }

  .fine-print{
    margin-top: 14px;
    font-size: 13px;
    color: var(--brand-soft);
    text-align: center;
  }

  /* ---------- Quiz ---------- */
  .q-counter{
    font-size: 12.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-soft);
    font-weight: 600;
    margin-bottom: 14px;
  }
  .q-text{
    font-size: clamp(24px, 5vw, 30px);
    margin-bottom: 24px;
  }
  .options{
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .opt{
    text-align: left;
    background: var(--surface);
    border: 1.5px solid var(--line);
    border-left: 3px solid var(--line);
    border-radius: 4px;
    padding: 16px 18px;
    font-size: 15.5px;
    line-height: 1.5;
    color: var(--brand);
    cursor: pointer;
    transition: border-color .15s ease, transform .1s ease, background .15s ease;
  }
  .opt:hover{ border-color: var(--line-strong); border-left-color: var(--brand); background: var(--surface-tint); }
  .opt:active{ transform: scale(0.99); }

  .q-nav{
    margin-top: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .link-btn{
    background: none;
    border: none;
    color: var(--brand-soft);
    font-size: 14px;
    cursor: pointer;
    padding: 6px 2px;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .link-btn:hover{ color: var(--brand); }

  /* ---------- Result ---------- */
  .result-header{
    padding: 12px 0 26px;
    margin-bottom: 8px;
  }
  .result-hero{
    position: relative;
    overflow: hidden;
  }
  .result-flourish{
    position: absolute;
    top: 50%;
    left: -6%;
    width: 112%;
    height: auto;
    transform: translateY(calc(-50% - 6px));
    opacity: .28;
    pointer-events: none;
  }
  .result-tag{
    position: relative;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: 17px;
    color: var(--brand);
    margin-bottom: 2px;
  }
  .result-title{
    position: relative;
    font-size: clamp(46px, 12vw, 72px);
    color: var(--brand);
  }
  .result-rule{
    position: relative;
    width: 64px;
    height: 3px;
    background: var(--result-ink, var(--brand));
    margin: 16px 0 16px;
    border-radius: 2px;
  }
  .result-kicker{
    position: relative;
    font-size: 16.5px;
    color: var(--brand);
    max-width: 42ch;
    line-height: 1.5;
  }
  .blend-note{
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 16px;
    margin: 2px 0 30px;
    background: var(--surface-tint);
    border-radius: 14px;
  }
  .blend-dot{
    flex: none;
    width: 10px;
    height: 10px;
    margin-top: 5px;
    border-radius: 50%;
    background: var(--result-ink, var(--brand));
  }
  .blend-label{
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--brand-soft);
    margin-bottom: 4px;
  }
  .blend-note p{
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--brand);
  }

  .section-block{ margin-bottom: 30px; }
  .section-label{
    font-size: 12.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-soft);
    font-weight: 700;
    margin-bottom: 10px;
  }
  .section-block p{
    font-size: 16px;
    line-height: 1.68;
    color: var(--brand);
    margin-bottom: 12px;
  }
  .section-block p:last-child{ margin-bottom: 0; }

  .tool{
    display: flex;
    gap: 14px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
  }
  .tool:first-of-type{ border-top: none; padding-top: 6px; }
  .tool-icon{
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--surface-tint);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .tool-icon svg{ width: 19px; height: 19px; }
  .tool-body h4{
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 16px;
    margin: 0 0 6px;
    color: var(--brand);
  }
  .tool-body p{
    font-size: 15px;
    line-height: 1.62;
    color: var(--brand);
    margin: 0;
  }

  .breath-demo{
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 4px 0 16px;
    padding: 16px;
    background: var(--surface-tint);
    border-radius: 16px;
  }
  .breath-circle{
    flex: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid var(--brand);
    animation: breathe 8s ease-in-out infinite;
  }
  @keyframes breathe{
    0%,100%{ transform: scale(0.72); opacity: .55; }
    45%{ transform: scale(1); opacity: 1; }
  }
  @media (prefers-reduced-motion: reduce){
    .breath-circle{ animation: none; transform: scale(0.86); }
  }
  .breath-demo p{ font-size: 14px; color: var(--brand-soft); margin: 0; }

  .result-actions{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 6px 0 30px;
  }
  .ghost-btn{
    background: none;
    border: 1.5px solid var(--line-strong);
    color: var(--brand);
    border-radius: 999px;
    padding: 11px 18px;
    font-size: 14px;
    cursor: pointer;
  }
  .ghost-btn:hover{ background: var(--surface-tint); }
  .closing-block p{ margin-bottom: 12px; }
  .cta-btn{
    display: inline-block;
    background: var(--brand);
    color: var(--bg);
    border-radius: 999px;
    padding: 13px 22px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 6px;
  }
  .cta-btn:hover{ opacity: .9; }
  .copy-feedback{
    font-size: 13px;
    color: var(--brand-soft);
    align-self: center;
  }

  footer.site-footer{
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid var(--line);
  }
  footer.site-footer p{
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--brand-soft);
    max-width: 56ch;
  }
  footer.site-footer .sign{
    margin-top: 14px;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: 16px;
    color: var(--brand-soft);
  }

  [hidden]{ display: none !important; }

  /* ---------- App build additions ---------- */
  html.embedded .app{ min-height: 0; }

  .field{ display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
  .field label{
    font-size: 12.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-soft);
    font-weight: 700;
  }
  .field input{
    font: inherit;
    font-size: 16px;
    color: var(--brand);
    background: var(--surface);
    border: 1.5px solid var(--line);
    border-radius: 4px;
    padding: 14px 16px;
  }
  .field input:focus{ outline: 2px solid var(--focus); outline-offset: 2px; border-color: var(--line-strong); }
  .field input[aria-invalid="true"]{ border-color: #b3261e; }
  .form-error{ font-size: 14px; color: #b3261e; margin: -4px 0 14px; }
  @media (prefers-color-scheme: dark){ :root:not([data-theme="light"]) .form-error{ color: #ffb4ab; } }
  .hp{ position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
  .email-sub{ font-size: 16px; line-height: 1.6; color: var(--brand-soft); margin: 0 0 24px; }
  .consent{ margin-top: 14px; font-size: 13px; line-height: 1.55; color: var(--brand-soft); text-align: center; }

  .growth-block{
    padding: 20px 20px 18px;
    border-left: 3px solid var(--result-ink, var(--brand));
    background: var(--surface-tint);
    border-radius: 0 14px 14px 0;
  }
  .growth-block .inner-room-line{ font-weight: 600; }

  .inbox-note{
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    margin: 0 0 28px;
    border: 1.5px dashed var(--line-strong);
    border-radius: 14px;
    font-size: 14.5px;
    line-height: 1.55;
  }
  .inbox-note svg{ flex: none; width: 20px; height: 20px; margin-top: 1px; }

  .share-row{ display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; }
  .share-row a.ghost-btn{ text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
  .share-row svg{ width: 18px; height: 18px; }

  /* ---------- Landing ---------- */
  .app.wide{ max-width: 1080px; }
  .landing{
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
    padding: 12px 0 8px;
  }
  .landing h1{ font-size: clamp(32px, 4.2vw, 50px); }
  .landing .sub{ margin-top: 18px; font-size: 17px; line-height: 1.6; color: var(--brand-soft); max-width: 50ch; }
  .landing .legend{ margin: 28px 0 28px; max-width: 460px; }
  .landing .btn-primary{ width: auto; min-width: 260px; }
  .landing-meta{ margin: 14px 0 0; }
  .landing-photo{ position: relative; margin: 0; }
  .landing-photo img, .photo-fallback{
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 62%;
    height: auto;
    border-radius: 200px 200px 18px 18px;
    background: var(--surface-tint);
    box-shadow: var(--shadow);
  }
  .photo-fallback{
    display: flex; align-items: center; justify-content: center; text-align: center;
    color: var(--brand-soft); font-size: 15px; line-height: 1.5; border: 1.5px dashed var(--line-strong);
  }
  .photo-fallback[hidden]{ display: none !important; }
  .landing-line{ position: absolute; inset: -18px -18px auto auto; width: 100%; height: 100%; pointer-events: none; }
  .landing-line + img{ z-index: 1; }
  @media (max-width: 760px){
    .landing{ grid-template-columns: 1fr; gap: 26px; }
    .landing-photo{ order: -1; max-width: 210px; width: 56%; margin: 0 auto; }
    .landing .btn-primary{ width: 100%; }
    .landing-meta{ text-align: center; }
  }

  /* ---------- Lead form ---------- */
  .field-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  @media (max-width: 480px){ .field-row{ grid-template-columns: 1fr; gap: 0; } }
  .field-hint{ font-size: 13px; color: var(--brand-soft); }
  .check{
    display: flex; gap: 12px; align-items: flex-start;
    font-size: 14.5px; line-height: 1.55; color: var(--brand);
    margin: 4px 0 14px; cursor: pointer;
  }
  .check input{ flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--brand); }
  .check a{ color: var(--brand); text-underline-offset: 3px; }
  .check em{ font-style: normal; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; font-weight: 700; color: var(--brand-soft); margin-left: 4px; }
  .check.invalid span{ color: #b3261e; }
  #leadSubmit{ margin-top: 8px; }
  #leadSubmit[disabled]{ opacity: .6; cursor: progress; }
  .captcha-note{ margin-top: 12px; font-size: 12px; color: var(--brand-soft); text-align: center; }
  .captcha-note a{ color: var(--brand-soft); }
  .grecaptcha-badge{ visibility: hidden; }

  /* ---------- Legal links ---------- */
  .legal-links{ display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-top: 14px; font-size: 13px; }
  .legal-links a{ color: var(--brand-soft); text-decoration: underline; text-underline-offset: 3px; }
  .legal-links a:hover{ color: var(--brand); }
  .footer-legal{ justify-content: flex-start; margin-top: 16px; font-size: 12.5px; color: var(--brand-soft); }

  /* ---------- Blend bars, blend section, references ---------- */
  .blend-bars{ margin-top: 14px; display: grid; gap: 8px; }
  .bar-row{ display: grid; grid-template-columns: 58px 1fr 40px; align-items: center; gap: 10px; font-size: 13px; }
  .bar-name{ font-weight: 700; color: var(--brand); }
  .bar-track{ height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; }
  .bar-fill{ display: block; height: 100%; border-radius: 8px; }
  .bar-pct{ text-align: right; color: var(--brand-soft); font-variant-numeric: tabular-nums; }
  .blend-block .tool{ border-top: 1px solid var(--line); margin-top: 6px; padding-top: 16px; }
  .references{ border-top: 1px solid var(--line); padding-top: 22px; }
  .references .research-line{ font-size: 14px; line-height: 1.6; color: var(--brand-soft); margin-bottom: 14px; }
  .ref-list{ list-style: none; margin: 0; padding: 0; }
  .ref-list li{ font-size: 13px; line-height: 1.55; color: var(--brand-soft); padding-left: 1.6em; text-indent: -1.6em; margin-bottom: 10px; overflow-wrap: anywhere; }
  .ref-list a{ color: var(--brand-soft); text-underline-offset: 2px; }

  /* ---------- Primary / secondary chips ---------- */
  .response-pair{ display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 10px !important; }
  .resp-chip{
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--surface); border: 1px solid #CFE1B9; border-radius: 999px;
    padding: 5px 12px; font-size: 13.5px; color: var(--brand);
  }
  .resp-dot{ width: 9px; height: 9px; border-radius: 50%; flex: none; }

  /* Emmylou asked to drop the line art behind the result title (2026-09-25). */
  .result-flourish{ display: none; }

  /* ---------- Phone landing: button visible without scrolling (2026-09-25) ---------- */
  @media (max-width: 760px){
    .topbar{ padding: 12px 0 8px; }
    .landing{ gap: 18px; padding-top: 2px; }
    .landing-photo{ order: -1; width: 100%; max-width: none; margin: 0; }
    .landing-photo img, .photo-fallback{ aspect-ratio: 3 / 2; border-radius: 18px; object-position: center 52%; }
    .landing-line{ display: none; }
    .landing-copy{ display: flex; flex-direction: column; }
    .landing .eyebrow{ order: 0; margin-bottom: 8px; }
    .landing h1{ order: 1; font-size: 29px; }
    .landing .sub-lead{ order: 2; margin-top: 12px; font-size: 16px; line-height: 1.55; }
    .landing .btn-primary{ order: 3; margin-top: 18px; width: 100%; min-width: 0; }
    .landing-meta{ order: 4; margin-top: 10px; }
    .landing .sub-more{ order: 5; margin-top: 22px; font-size: 16px; line-height: 1.55; }
    .landing .legend{ order: 6; margin: 22px 0 6px; }
  }

  /* ---------- Phone lead form: button visible without scrolling (2026-09-25) ---------- */
  @media (max-width: 760px){
    #screen-lead .q-counter{ margin-bottom: 8px; }
    #screen-lead .q-text{ font-size: 26px; margin-bottom: 10px; }
    #screen-lead .email-sub{ font-size: 14.5px; line-height: 1.5; margin-bottom: 16px; }
    #screen-lead .field-row{ grid-template-columns: 1fr 1fr; gap: 10px; }
    #screen-lead .field{ margin-bottom: 12px; gap: 4px; }
    #screen-lead .field input{ padding: 11px 12px; }
    #screen-lead .check{ font-size: 13.5px; line-height: 1.45; margin: 2px 0 10px; }
    #leadSubmit{ margin-top: 4px; }
  }
  .field-row > .field{ min-width: 0; }
  .field input{ width: 100%; min-width: 0; }
