    :root {
      color-scheme: light;
      --ink: #24352f;
      --muted: #747d72;
      --green: #4d7563;
      --green-dark: #294d41;
      --pale: #e8eee6;
      --paper: #f5f1e7;
      --white: #fff;
      --line: #e5dfd1;
      --shadow: 0 20px 55px rgba(54, 65, 48, .09);
    }

    * { box-sizing: border-box; }

    html {
      scrollbar-width: none;
    }

    html::-webkit-scrollbar {
      display: none;
    }

    body {
      margin: 0;
      min-width: 320px;
      min-height: 100vh;
      background: var(--paper);
      color: var(--ink);
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      -webkit-font-smoothing: antialiased;
    }

    button, input { font: inherit; }
    button { cursor: pointer; }

    .app {
      width: min(100%, 480px);
      min-height: 100vh;
      margin: 0 auto;
      padding: 22px 22px 34px;
    }

    .topbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 30px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 19px;
      font-weight: 750;
      letter-spacing: -.5px;
    }

    .brand-mark {
      display: grid;
      width: 36px;
      height: 36px;
      place-items: center;
      border-radius: 12px;
      background: var(--green);
      color: white;
      font-size: 19px;
    }

    .help-button {
      width: 38px;
      height: 38px;
      border: 1px solid var(--line);
      border-radius: 50%;
      background: var(--white);
      color: var(--ink);
      font-size: 16px;
      font-weight: 700;
    }

    .eyebrow {
      margin: 0 0 9px;
      color: var(--green);
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 1.5px;
      text-transform: uppercase;
    }

    h1 {
      margin: 0;
      font-size: clamp(31px, 9vw, 39px);
      line-height: 1.08;
      letter-spacing: -1.8px;
    }

    .intro {
      max-width: 345px;
      margin: 11px 0 22px;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.55;
    }

    .scan-card {
      overflow: hidden;
      padding: 14px;
      border: 1px solid rgba(230, 233, 223, .9);
      border-radius: 25px;
      background: var(--white);
      box-shadow: var(--shadow);
    }

    .photo-stage {
      position: relative;
      display: grid;
      min-height: 285px;
      overflow: hidden;
      place-items: center;
      border-radius: 17px;
      background:
        radial-gradient(ellipse at 50% 34%, rgba(255,255,255,.82), transparent 62%),
        linear-gradient(145deg, #e8efe2, #dce8d7);
    }

    .photo-stage::before,
    .photo-stage::after {
      position: absolute;
      z-index: 1;
      width: 25px;
      height: 25px;
      content: "";
      pointer-events: none;
    }

    .photo-stage::before {
      top: 16px;
      left: 16px;
      border-top: 2px solid rgba(47, 112, 72, .55);
      border-left: 2px solid rgba(47, 112, 72, .55);
      border-radius: 7px 0 0;
    }

    .photo-stage::after {
      right: 16px;
      bottom: 16px;
      border-right: 2px solid rgba(47, 112, 72, .55);
      border-bottom: 2px solid rgba(47, 112, 72, .55);
      border-radius: 0 0 7px;
    }

    .stage-image {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .stage-empty {
      display: grid;
      justify-items: center;
      gap: 11px;
      padding: 24px;
      text-align: center;
    }

    .leaf-art {
      display: grid;
      width: 76px;
      height: 76px;
      place-items: center;
      border: 1px solid rgba(47, 112, 72, .12);
      border-radius: 26px;
      background: rgba(255, 255, 255, .72);
      font-size: 36px;
    }

    .stage-title {
      margin: 0;
      font-size: 15px;
      font-weight: 700;
    }

    .stage-hint {
      margin: -5px 0 0;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.45;
    }

    .stage-badge {
      position: absolute;
      z-index: 2;
      bottom: 12px;
      left: 12px;
      display: none;
      padding: 7px 10px;
      border: 1px solid rgba(255,255,255,.6);
      border-radius: 20px;
      background: rgba(255,255,255,.88);
      color: var(--green-dark);
      font-size: 11px;
      font-weight: 700;
      backdrop-filter: blur(8px);
    }

    .stage-badge.visible { display: block; }

    .scan-overlay {
      position: absolute;
      z-index: 3;
      inset: 0;
      overflow: hidden;
      pointer-events: none;
      background: linear-gradient(180deg, rgba(12, 38, 28, .38), rgba(12, 38, 28, .16) 42%, rgba(12, 38, 28, .38));
    }

    .scan-overlay[hidden] { display: none; }

    .scan-grid {
      position: absolute;
      inset: 0;
      background-image:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, .06) 0, rgba(255, 255, 255, .06) 1px, transparent 1px, transparent 24px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0, rgba(255, 255, 255, .06) 1px, transparent 1px, transparent 24px);
      opacity: .55;
      animation: scan-grid-breathe 1.6s ease-in-out infinite alternate;
    }

    .scan-sweep {
      position: absolute;
      left: 0;
      right: 0;
      top: 6%;
      height: 88px;
      animation: scan-sweep 2.1s cubic-bezier(.5, .06, .5, .94) infinite alternate;
      will-change: top;
    }

    .scan-sweep::before {
      position: absolute;
      inset: 0;
      content: "";
      background: linear-gradient(180deg, transparent, rgba(122, 255, 183, .14) 46%, rgba(122, 255, 183, .3) 74%, transparent);
      filter: blur(1px);
    }

    .scan-sweep::after {
      position: absolute;
      right: 7%;
      bottom: 1px;
      left: 7%;
      height: 3px;
      content: "";
      border-radius: 999px;
      background: linear-gradient(90deg, transparent, #8affc3 16%, #f4fff9 50%, #8affc3 84%, transparent);
      box-shadow:
        0 0 9px rgba(138, 255, 195, .95),
        0 0 24px rgba(96, 214, 154, .6);
    }

    @keyframes scan-sweep {
      from { top: 5%; }
      to { top: calc(95% - 88px); }
    }

    @keyframes scan-grid-breathe {
      from { opacity: .3; }
      to { opacity: .65; }
    }

    .scan-label {
      position: absolute;
      z-index: 5;
      bottom: 16px;
      left: 50%;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 5px 12px;
      transform: translateX(-50%);
      border-radius: 999px;
      background: rgba(4, 12, 9, .55);
      color: #cfeadd;
      font-size: 9px;
      font-weight: 500;
      letter-spacing: .3em;
      text-transform: uppercase;
      white-space: nowrap;
    }


    .scan-dots {
      display: inline-flex;
      align-items: center;
      gap: 3px;
      margin-right: -.2em;
    }

    .scan-dots i {
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background: #7effc0;
      animation: scan-dot-wave 1.25s ease-in-out infinite;
    }

    .scan-dots i:nth-child(2) { animation-delay: .16s; }
    .scan-dots i:nth-child(3) { animation-delay: .32s; }

    @keyframes scan-dot-wave {
      0%, 70%, 100% { opacity: .25; transform: translateY(0); }
      35% { opacity: 1; transform: translateY(-2.5px); }
    }

    @media (prefers-reduced-motion: reduce) {
      .scan-line {
        top: 46%;
        animation: none;
      }

      .scan-dots i {
        animation: none;
        opacity: .8;
      }
    }

    .actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      margin-top: 14px;
    }

    .action-button {
      display: flex;
      min-height: 50px;
      align-items: center;
      justify-content: center;
      gap: 8px;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: var(--white);
      color: var(--ink);
      font-size: 13px;
      font-weight: 700;
      transition: transform .15s ease, background .15s ease;
    }

    .action-button:active, .scan-button:active { transform: scale(.98); }
    .action-button.primary {
      border-color: var(--green);
      background: var(--green);
      color: var(--white);
    }

    .action-button:disabled {
      cursor: not-allowed;
      opacity: .48;
    }

    .scan-button {
      width: 100%;
      min-height: 54px;
      margin-top: 11px;
      border: 0;
      border-radius: 15px;
      background: var(--green-dark);
      color: white;
      font-size: 14px;
      font-weight: 750;
      transition: transform .15s ease, opacity .15s ease;
    }

    .scan-button:disabled {
      cursor: not-allowed;
      opacity: .4;
    }

    .scan-button .button-icon { margin-right: 7px; }

    .result {
      display: none;
      margin-top: 15px;
      padding: 16px;
      border: 1px solid var(--line);
      border-radius: 17px;
      background: #fbfcf8;
    }

    .result.visible { display: block; }

    .screening-notice {
      display: none;
      padding: 14px 15px;
      border: 1px solid #f0dfb8;
      border-radius: 14px;
      background: #fff8e9;
      color: #775c27;
      font-size: 12px;
      line-height: 1.55;
    }

    .screening-notice.visible { display: block; }
    .screening-notice strong { display: block; margin-bottom: 4px; color: #594319; }
    .screening-notice.not-plant { border-color: var(--line); background: #f5f7f3; color: #5d6b61; }
    .screening-notice.not-plant strong { color: var(--ink); }
    .plant-assessment[hidden] { display: none; }

    .consent {
      display: flex;
      align-items: flex-start;
      margin: 14px 2px 0;
      padding: 10px 12px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #f7f9f4;
      color: var(--muted);
      font-size: 11px;
      line-height: 1.5;
    }

    .consent strong { color: var(--ink); }

    .evaluation-optin {
      display: flex;
      align-items: flex-start;
      gap: 9px;
      margin: 12px 2px 0;
      color: #58665a;
      font-size: 11px;
      line-height: 1.5;
    }

    .evaluation-optin input {
      width: 16px;
      height: 16px;
      flex: 0 0 auto;
      margin: 1px 0 0;
      accent-color: var(--green);
    }

    .eval-label-group {
      display: grid;
      gap: 6px;
      margin: 10px 2px 0 27px;
    }

    .eval-label-group[hidden] { display: none; }

    .eval-label-group label {
      color: var(--ink);
      font-size: 11px;
      font-weight: 700;
    }

    .eval-label-group select {
      width: 100%;
      min-height: 42px;
      padding: 8px 10px;
      border: 1px solid var(--line);
      border-radius: 11px;
      background: var(--white);
      color: var(--ink);
      font-size: 12px;
    }

    .eval-label-help {
      margin: 0;
      color: var(--muted);
      font-size: 10px;
      line-height: 1.45;
    }

    .analysis-status {
      display: none;
      margin: 12px 2px 0;
      color: var(--green-dark);
      font-size: 12px;
      line-height: 1.5;
    }

    .analysis-status.visible { display: block; }
    .analysis-status.error { color: #a13d32; }

    .result-plant {
      margin: 0;
      font-size: 19px;
      line-height: 1.3;
    }

    .result-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 7px;
      margin: 10px 0 0;
    }

    .result-pill {
      padding: 5px 9px;
      border-radius: 20px;
      background: var(--pale);
      color: var(--green-dark);
      font-size: 10px;
      font-weight: 750;
    }

    .result-pill.warning {
      background: #fff0dc;
      color: #805324;
    }

    .result-pill.danger {
      background: #fae7e4;
      color: #973d34;
    }

    .evaluation-outcome {
      display: none;
      margin-top: 12px;
      padding: 10px 11px;
      border-radius: 11px;
      background: var(--pale);
      color: var(--green-dark);
      font-size: 11px;
      font-weight: 700;
      line-height: 1.5;
    }

    .evaluation-outcome.visible { display: block; }
    .evaluation-outcome.incorrect { background: #fae7e4; color: #973d34; }

    .result-section {
      margin-top: 15px;
      padding-top: 13px;
      border-top: 1px solid var(--line);
    }

    .result-section h3 {
      margin: 0 0 7px;
      font-size: 12px;
    }

    .result-section p {
      color: #58665a;
      font-size: 12px;
      line-height: 1.55;
    }

    .result-section ul,
    .result-section ol {
      display: grid;
      gap: 8px;
      margin: 0;
      padding-left: 19px;
      color: #58665a;
      font-size: 12px;
      line-height: 1.55;
    }

    .care-item strong { color: var(--ink); }

    .result-heading {
      display: flex;
      align-items: flex-start;
      gap: 11px;
    }

    .result-icon {
      display: grid;
      width: 35px;
      height: 35px;
      flex: 0 0 auto;
      place-items: center;
      border-radius: 12px;
      background: var(--pale);
      font-size: 17px;
    }

    .result h2 {
      margin: 0 0 4px;
      font-size: 19px;
    }

    .result p {
      margin: 0;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.5;
    }

    .disclaimer {
      display: flex;
      gap: 9px;
      margin: 17px 3px 0;
      color: #788478;
      font-size: 11px;
      line-height: 1.5;
    }

    .disclaimer strong { color: #536253; }
    .disclaimer-icon { flex: 0 0 auto; }

    .tips {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      margin-top: 22px;
    }

    .tip {
      padding: 13px;
      border: 1px solid rgba(230, 233, 223, .8);
      border-radius: 15px;
      background: rgba(255,255,255,.62);
    }

    .tip-icon { font-size: 17px; }
    .tip h3 { margin: 8px 0 4px; font-size: 12px; }
    .tip p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.45; }

    .evaluation-card {
      margin-top: 20px;
      padding: 17px;
      border: 1px solid var(--line);
      border-radius: 20px;
      background: var(--white);
      box-shadow: var(--shadow);
    }

    .evaluation-card h2 {
      margin: 0;
      font-size: 17px;
      letter-spacing: -.3px;
    }

    .evaluation-description {
      margin: 7px 0 0;
      color: var(--muted);
      font-size: 11px;
      line-height: 1.55;
    }

    .evaluation-stats {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
      margin-top: 14px;
    }

    .evaluation-stat {
      min-width: 0;
      padding: 10px 8px;
      border-radius: 12px;
      background: #f5f7f1;
    }

    .evaluation-stat strong {
      display: block;
      overflow-wrap: anywhere;
      font-size: 17px;
    }

    .evaluation-stat span {
      display: block;
      margin-top: 3px;
      color: var(--muted);
      font-size: 9px;
      line-height: 1.35;
    }

    .evaluation-model {
      margin: 10px 0 0;
      color: var(--muted);
      font-size: 10px;
      line-height: 1.45;
    }

    .evaluation-breakdown {
      display: grid;
      gap: 7px;
      margin: 12px 0 0;
      padding: 0;
      list-style: none;
    }

    .evaluation-breakdown li {
      display: flex;
      justify-content: space-between;
      gap: 8px;
      color: #58665a;
      font-size: 10px;
      line-height: 1.4;
    }

    .evaluation-breakdown strong { color: var(--ink); white-space: nowrap; }

    .evaluation-status {
      min-height: 16px;
      margin: 9px 0 0;
      color: var(--muted);
      font-size: 10px;
      line-height: 1.45;
    }

    .evaluation-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
      margin-top: 9px;
    }

    .evaluation-actions button {
      min-height: 40px;
      padding: 7px;
      border: 1px solid var(--line);
      border-radius: 11px;
      background: white;
      color: var(--ink);
      font-size: 10px;
      font-weight: 700;
    }

    .evaluation-actions button:disabled {
      cursor: not-allowed;
      opacity: .45;
    }

    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      clip-path: inset(50%);
    }

    html { scroll-behavior: smooth; }

    body {
      background:
        radial-gradient(ellipse at 82% 0%, rgba(222, 230, 207, .66), transparent 34rem),
        var(--paper);
    }

    .app {
      width: min(480px, 100%);
      min-height: auto;
      padding: 22px 22px 34px;
    }

    .topbar {
      min-height: 0;
      margin-bottom: 16px;
    }

    .brand { gap: 10px; }

    .brand-mark {
      width: 36px;
      height: 36px;
      border-radius: 12px;
      box-shadow: none;
    }

    .topbar-actions {
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .topbar-link {
      padding: 8px 7px;
      border-radius: 10px;
      color: #53665a;
      font-size: 10px;
      font-weight: 700;
      text-decoration: none;
      transition: background .18s ease, color .18s ease;
    }

    .topbar-link:hover {
      background: rgba(255,255,255,.78);
      color: var(--green-dark);
    }

    .help-button {
      width: 35px;
      height: 35px;
      box-shadow: none;
    }

    .hero {
      position: relative;
      display: grid;
      min-height: 0;
      grid-template-columns: minmax(0, 1fr) 107px;
      align-items: center;
      overflow: hidden;
      padding: 25px 22px;
      border: 1px solid rgba(255,255,255,.5);
      border-radius: 22px;
      background:
        radial-gradient(circle at 88% 18%, rgba(214, 205, 166, .2), transparent 19rem),
        linear-gradient(115deg, #263f36 0%, #36594a 62%, #55725a 100%);
      box-shadow: 0 24px 60px rgba(39, 61, 48, .17);
      color: white;
    }

    .hero::after {
      position: absolute;
      right: -85px;
      bottom: -180px;
      width: 390px;
      height: 390px;
      border: 1px solid rgba(255,255,255,.09);
      border-radius: 50%;
      content: "";
      pointer-events: none;
    }

    .hero-copy { position: relative; z-index: 1; }

    .hero .eyebrow {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 12px;
      font-size: 9px;
      color: #d7d2a9;
    }

    .hero .eyebrow::before {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: #d5a176;
      box-shadow: 0 0 0 4px rgba(213, 161, 118, .16);
      content: "";
    }

    .hero h1 {
      max-width: 280px;
      color: white;
      font-size: clamp(35px, 9.5vw, 44px);
      line-height: 1.02;
      letter-spacing: -2px;
    }

    .hero-accent { color: #e4bd91; }

    .hero .intro {
      max-width: 310px;
      margin: 11px 0 0;
      color: rgba(244, 249, 242, .76);
      font-size: 12px;
    }

    .hero-art {
      position: relative;
      z-index: 1;
      display: grid;
      width: 107px;
      height: 111px;
      justify-self: center;
      place-items: center;
      opacity: .58;
      transform: scale(.75);
    }

    .hero-orbit {
      position: absolute;
      width: 100px;
      height: 100px;
      border: 1px solid rgba(227, 245, 214, .18);
      border-radius: 50%;
      box-shadow: 0 0 0 17px rgba(227, 245, 214, .035), 0 0 0 35px rgba(227, 245, 214, .025);
    }

    .hero-leaf {
      position: relative;
      display: grid;
      width: 67px;
      height: 67px;
      place-items: center;
      border: 1px solid rgba(255,255,255,.26);
      border-radius: 22px;
      background: linear-gradient(145deg, rgba(237, 247, 225, .2), rgba(237, 247, 225, .07));
      box-shadow: 0 18px 38px rgba(10, 31, 19, .16), inset 0 1px rgba(255,255,255,.18);
      font-size: 34px;
      transform: rotate(-8deg);
    }

    .hero-note {
      position: absolute;
      right: -9px;
      bottom: 0;
      padding: 7px 9px;
      border: 1px solid rgba(255,255,255,.3);
      border-radius: 14px;
      background: rgba(245, 250, 239, .95);
      box-shadow: 0 10px 25px rgba(9, 29, 17, .18);
      color: var(--green-dark);
      font-size: 8px;
      font-weight: 800;
      transform: rotate(2deg);
    }

    .scan-layout {
      display: grid;
      grid-template-columns: minmax(0, 1.55fr) minmax(275px, .75fr);
      align-items: start;
      gap: 20px;
      margin-top: 24px;
      scroll-margin-top: 20px;
    }

    .scan-card {
      padding: 20px;
      border-color: rgba(226, 233, 223, .95);
      border-radius: 26px;
      box-shadow: 0 15px 42px rgba(35, 57, 41, .07);
    }

    .photo-stage {
      min-height: 350px;
      border: 1px dashed rgba(70, 111, 78, .24);
      border-radius: 20px;
      background:
        radial-gradient(ellipse at 50% 34%, rgba(255,255,255,.94), transparent 58%),
        linear-gradient(145deg, #edf3e8, #e1ecdd);
      transition: background .2s ease, border-color .2s ease;
    }

    .photo-stage:hover {
      border-color: rgba(47, 112, 72, .46);
      background:
        radial-gradient(ellipse at 50% 34%, rgba(255,255,255,.96), transparent 58%),
        linear-gradient(145deg, #eaf3e4, #dcebd8);
    }

    .photo-stage::before,
    .photo-stage::after {
      width: 29px;
      height: 29px;
    }

    .photo-stage::before { top: 20px; left: 20px; }
    .photo-stage::after { right: 20px; bottom: 20px; }

    .stage-empty { gap: 14px; }

    .leaf-art {
      width: 88px;
      height: 88px;
      border-color: rgba(47, 112, 72, .1);
      border-radius: 30px;
      box-shadow: 0 10px 28px rgba(31, 73, 43, .08);
      font-size: 42px;
    }

    .stage-title { font-size: 16px; }
    .stage-hint { max-width: 270px; font-size: 12px; }

    .actions { gap: 12px; margin-top: 16px; }

    .action-button {
      min-height: 52px;
      border-radius: 14px;
      transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
    }

    .action-button:hover:not(:disabled) {
      border-color: #b7c9b8;
      box-shadow: 0 6px 16px rgba(32, 77, 52, .08);
      transform: translateY(-1px);
    }

    .action-button.primary:hover:not(:disabled) {
      border-color: #397c52;
      background: #397c52;
    }

    .scan-button {
      min-height: 56px;
      margin-top: 14px;
      border-radius: 15px;
      background: linear-gradient(100deg, #214b34, #2d6542);
      box-shadow: 0 7px 17px rgba(32, 77, 52, .17);
      transition: transform .18s ease, opacity .18s ease, box-shadow .18s ease;
    }

    .scan-button:hover:not(:disabled) {
      box-shadow: 0 10px 22px rgba(32, 77, 52, .23);
      transform: translateY(-1px);
    }

    button:focus-visible,
    input:focus-visible,
    select:focus-visible,
    a:focus-visible {
      outline: 3px solid rgba(70, 135, 80, .35);
      outline-offset: 3px;
    }

    .consent,
    .evaluation-optin {
      padding: 11px 12px;
      border: 1px solid #edf0e9;
      border-radius: 13px;
      background: #fafbf8;
    }

    .evaluation-optin { margin-top: 8px; }

    .result {
      margin-top: 18px;
      padding: 20px;
      border-color: #e5ebe2;
      border-radius: 19px;
    }

    .result-section {
      margin-top: 18px;
      padding-top: 16px;
    }

    .result-section h3 { font-size: 13px; }
    .result-section ul, .result-section ol { font-size: 12px; }

    .guide-panel {
      position: sticky;
      top: 18px;
      display: grid;
      gap: 14px;
    }

    .guide-card {
      padding: 22px;
      border: 1px solid rgba(226, 233, 223, .95);
      border-radius: 24px;
      background: rgba(255,255,255,.88);
      box-shadow: 0 14px 36px rgba(35, 57, 41, .055);
    }

    .guide-kicker {
      margin: 0 0 8px;
      color: var(--green);
      font-size: 10px;
      font-weight: 800;
      letter-spacing: 1.4px;
      text-transform: uppercase;
    }

    .guide-card h2 {
      margin: 0;
      font-size: 20px;
      letter-spacing: -.6px;
    }

    .guide-subtitle {
      margin: 8px 0 0;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.55;
    }

    .workflow-list {
      display: grid;
      gap: 18px;
      margin: 21px 0 0;
      padding: 0;
      list-style: none;
    }

    .workflow-step {
      display: grid;
      grid-template-columns: 35px minmax(0, 1fr);
      align-items: start;
      gap: 11px;
    }

    .workflow-number {
      display: grid;
      width: 35px;
      height: 35px;
      place-items: center;
      border-radius: 12px;
      background: var(--pale);
      color: var(--green-dark);
      font-size: 11px;
      font-weight: 800;
    }

    .workflow-step h3 {
      margin: 2px 0 4px;
      font-size: 12px;
    }

    .workflow-step p {
      margin: 0;
      color: var(--muted);
      font-size: 11px;
      line-height: 1.5;
    }

    .tips {
      grid-template-columns: 1fr;
      gap: 0;
      margin-top: 18px;
      border-top: 1px solid var(--line);
    }

    .tip {
      display: grid;
      grid-template-columns: 28px minmax(0, 1fr);
      column-gap: 10px;
      padding: 14px 0 0;
      border: 0;
      border-radius: 0;
      background: transparent;
    }

    .tip-icon { grid-row: span 2; }
    .tip h3 { margin: 0 0 4px; font-size: 11px; }
    .tip p { font-size: 10px; }

    .privacy-note {
      display: flex;
      gap: 11px;
      align-items: flex-start;
      padding: 15px 17px;
      border: 1px solid rgba(217, 231, 211, .9);
      border-radius: 17px;
      background: linear-gradient(120deg, #edf4e9, #f8faf5);
      color: #556b59;
      font-size: 11px;
      line-height: 1.55;
    }

    .privacy-icon {
      display: grid;
      width: 28px;
      height: 28px;
      flex: 0 0 auto;
      place-items: center;
      border-radius: 9px;
      background: white;
      color: var(--green);
      font-size: 13px;
      font-weight: 800;
    }

    .privacy-note strong { color: var(--green-dark); }

    .disclaimer {
      max-width: 800px;
      margin: 18px auto 0;
      padding: 0 4px;
      font-size: 11px;
    }

    .evaluation-card {
      margin-top: 26px;
      padding: 24px;
      border-radius: 24px;
      scroll-margin-top: 24px;
    }

    .evaluation-card h2 { font-size: 20px; }
    .evaluation-description { max-width: 730px; font-size: 12px; }
    .evaluation-stat { padding: 14px; border-radius: 14px; }
    .evaluation-stat strong { font-size: 20px; }
    .evaluation-stat span { font-size: 10px; }
    .evaluation-actions button { min-height: 44px; font-size: 11px; }

    @media (min-width: 900px) {
      body { display: block; padding: 0; }
      .app {
        width: min(1120px, calc(100% - 48px));
        min-height: 100vh;
        padding: 26px 0 56px;
      }
      .topbar { min-height: 54px; margin-bottom: 30px; }
      .brand { gap: 11px; }
      .brand-mark {
        width: 42px;
        height: 42px;
        border-radius: 14px;
        box-shadow: 0 7px 16px rgba(47, 112, 72, .18);
      }
      .topbar-actions { gap: 10px; }
      .topbar-link {
        padding: 10px 13px;
        border-radius: 12px;
        font-size: 12px;
      }
      .help-button {
        width: 40px;
        height: 40px;
        box-shadow: 0 4px 12px rgba(35, 57, 41, .05);
      }
      .hero {
        min-height: 265px;
        grid-template-columns: minmax(0, 1fr) 270px;
        padding: 36px 48px;
        border-radius: 30px;
      }
      .hero .eyebrow { margin-bottom: 15px; font-size: 11px; }
      .hero h1 {
        max-width: 690px;
        font-size: clamp(38px, 5vw, 58px);
        letter-spacing: -2.7px;
      }
      .hero .intro { max-width: 490px; margin-top: 15px; font-size: 14px; }
      .hero-art {
        width: 205px;
        height: 190px;
        opacity: 1;
        transform: none;
      }
      .hero-orbit {
        width: 176px;
        height: 176px;
        box-shadow: 0 0 0 17px rgba(227, 245, 214, .035), 0 0 0 35px rgba(227, 245, 214, .025);
      }
      .hero-leaf {
        width: 112px;
        height: 112px;
        border-radius: 36px;
        font-size: 56px;
      }
      .hero-note {
        right: -22px;
        bottom: 8px;
        padding: 9px 13px;
        font-size: 10px;
      }
      .scan-layout {
        grid-template-columns: minmax(0, 1.55fr) minmax(275px, .75fr);
        gap: 20px;
        margin-top: 24px;
      }
      .scan-card { padding: 20px; border-radius: 26px; }
      .photo-stage { min-height: 350px; border-radius: 20px; }
      .photo-stage::before { top: 20px; left: 20px; }
      .photo-stage::after { right: 20px; bottom: 20px; }
      .leaf-art { width: 88px; height: 88px; border-radius: 30px; font-size: 42px; }
      .stage-title { font-size: 16px; }
      .actions { gap: 12px; margin-top: 16px; }
      .action-button { min-height: 52px; border-radius: 14px; font-size: 13px; }
      .consent, .evaluation-optin { padding: 11px 12px; font-size: 11px; }
      .scan-button { min-height: 56px; border-radius: 15px; font-size: 14px; }
      .result { padding: 20px; border-radius: 19px; }
      .guide-panel {
        position: sticky;
        top: 18px;
        grid-template-columns: 1fr;
        gap: 14px;
      }
      .guide-card { padding: 22px; border-radius: 24px; }
      .guide-card h2 { font-size: 20px; }
      .workflow-list { gap: 18px; margin-top: 21px; }
      .tips { grid-template-columns: 1fr; margin-top: 18px; }
      .tip { padding-top: 14px; }
      .privacy-note { padding: 15px 17px; font-size: 11px; }
      .disclaimer { margin-top: 18px; font-size: 11px; }
      .evaluation-card { margin-top: 26px; padding: 24px; border-radius: 24px; }
    }

    @media (max-width: 899px) {
      .app { width: min(100% - 36px, 680px); padding-top: 18px; }
      .topbar { margin-bottom: 22px; }
      .hero {
        min-height: 0;
        grid-template-columns: minmax(0, 1fr) 155px;
        padding: 30px;
        border-radius: 25px;
      }
      .hero-art { width: 145px; height: 150px; }
      .hero-orbit { width: 128px; height: 128px; }
      .hero-leaf { width: 84px; height: 84px; border-radius: 27px; font-size: 42px; }
      .hero-note { right: -9px; bottom: 0; }
      .scan-layout { grid-template-columns: minmax(0, 1fr); gap: 14px; }
      .guide-panel { position: static; grid-template-columns: 1fr 1fr; align-items: stretch; }
      .guide-card { padding: 19px; }
      .privacy-note { align-self: stretch; }
      .tips { margin-top: 15px; }
      .tip { padding-top: 12px; }
    }

    @media (max-width: 560px) {
      .app {
        width: 100%;
        padding: 13px 14px calc(34px + env(safe-area-inset-bottom));
        padding-left: max(14px, env(safe-area-inset-left));
        padding-right: max(14px, env(safe-area-inset-right));
      }
      .topbar { min-height: 46px; margin-bottom: 16px; }
      .brand { font-size: 17px; }
      .brand-mark { width: 37px; height: 37px; border-radius: 12px; }
      .topbar-link { padding: 8px 7px; font-size: 10px; }
      .topbar-actions { gap: 4px; }
      .help-button { width: 35px; height: 35px; }
      .hero { display: block; padding: 25px 22px; border-radius: 22px; }
      .hero .eyebrow { margin-bottom: 12px; font-size: 9px; }
      .hero h1 { max-width: 380px; font-size: clamp(36px, 10vw, 46px); letter-spacing: -2px; }
      .hero .intro { max-width: 340px; margin-top: 11px; font-size: 12px; }
      .hero-art {
        position: absolute;
        right: 9px;
        bottom: -31px;
        width: 107px;
        height: 111px;
        opacity: .58;
        transform: scale(.75);
        transform-origin: center;
      }
      .hero-orbit { width: 100px; height: 100px; }
      .hero-leaf { width: 67px; height: 67px; border-radius: 22px; font-size: 34px; }
      .hero-note { display: none; }
      .scan-layout { margin-top: 15px; gap: 12px; }
      .scan-card { padding: 12px; border-radius: 21px; }
      .photo-stage { min-height: 270px; border-radius: 16px; }
      .photo-stage::before { top: 13px; left: 13px; }
      .photo-stage::after { right: 13px; bottom: 13px; }
      .leaf-art { width: 70px; height: 70px; border-radius: 23px; font-size: 34px; }
      .stage-title { font-size: 14px; }
      .actions { gap: 8px; margin-top: 11px; }
      .action-button { min-height: 47px; gap: 6px; border-radius: 12px; font-size: 11px; }
      .consent, .evaluation-optin { padding: 9px; font-size: 10px; }
      .scan-button { min-height: 51px; font-size: 12px; }
      .result { padding: 14px; border-radius: 15px; }
      .result h2 { font-size: 17px; }
      .guide-panel { grid-template-columns: 1fr; gap: 10px; }
      .guide-card { padding: 17px; border-radius: 19px; }
      .guide-card h2 { font-size: 18px; }
      .workflow-list { gap: 13px; margin-top: 16px; }
      .privacy-note { padding: 12px; font-size: 10px; }
      .disclaimer { margin-top: 14px; font-size: 10px; }
      .evaluation-card { margin-top: 18px; padding: 17px; border-radius: 19px; }
      .evaluation-card h2 { font-size: 18px; }
      .evaluation-stats { gap: 6px; }
      .evaluation-stat { padding: 10px 7px; }
      .evaluation-stat strong { font-size: 17px; }
      .evaluation-stat span { font-size: 8px; }
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { transition-duration: .01ms !important; }
    }
