    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --bg:        #ffffff;
      --surface:   #f5f5f5;
      --surface2:  #efefef;
      --border:    #e5e5e5;
      --accent:    #4f7cff;
      --accent-dim:#2a3d80;
      --green:     #22c55e;
      --yellow:    #eab308;
      --red:       #ef4444;
      --text:      #1f2937;
      --muted:     #6b7280;
      --pink:      #e86aa6;
      --display:   'Poppins', sans-serif;
      --body:      'Poppins', sans-serif;
      --shadow:    0 24px 70px rgba(42, 61, 128, 0.14);
      --soft-shadow: 0 14px 36px rgba(42, 61, 128, 0.12);
    }

    html { scroll-behavior: smooth; }

    body {
      background:
        radial-gradient(circle at 7% 98%, rgba(232,106,166,0.18), transparent 24%),
        radial-gradient(circle at 78% 31%, rgba(79,124,255,0.18), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #f8fbff 48%, #eef5ff 100%);
      color: var(--text);
      font-family: var(--body);
      min-height: 100vh;
      line-height: 1.6;
      overflow-x: hidden;
    }

    body::before,
    body::after {
      content: "";
      position: fixed;
      pointer-events: none;
      z-index: 0;
    }

    body::before {
      width: 140px;
      height: 96px;
      left: 32px;
      bottom: 18px;
      opacity: 0.38;
      background-image: radial-gradient(circle, var(--pink) 2px, transparent 2.5px);
      background-size: 25px 25px;
    }

    body::after {
      width: 150px;
      height: 110px;
      right: 44px;
      top: 62px;
      opacity: 0.24;
      background-image: radial-gradient(circle, var(--accent) 2px, transparent 2.5px);
      background-size: 25px 25px;
    }

    button, input, textarea { font: inherit; }
    button { border: 0; }

    .page-shell {
      min-height: 100vh;
      position: relative;
      z-index: 1;
    }

    .landing {
      display: grid;
      grid-template-columns: minmax(0, 0.95fr) minmax(430px, 1.05fr);
      align-items: center;
      gap: 48px;
      min-height: 100vh;
      max-width: 1540px;
      margin: 0 auto;
      padding: 64px clamp(28px, 5vw, 88px);
      position: relative;
    }

    .landing-copy {
      max-width: 690px;
      position: relative;
      z-index: 3;
    }

    .landing h1 {
      color: var(--accent-dim);
      font-size: clamp(46px, 5.4vw, 86px);
      font-weight: 800;
      line-height: 1.08;
      letter-spacing: 0;
      text-shadow: 0 8px 18px rgba(42, 61, 128, 0.08);
    }

    .landing .tagline {
      color: var(--pink);
      font-size: clamp(30px, 3.1vw, 48px);
      font-weight: 800;
      line-height: 1.18;
      margin-top: 10px;
    }

    .landing .intro {
      color: #4f6592;
      font-size: clamp(17px, 1.55vw, 24px);
      line-height: 1.55;
      max-width: 640px;
      margin: 24px 0 34px;
    }

    .cta-row {
      display: flex;
      align-items: center;
      gap: 32px;
      flex-wrap: wrap;
      margin-bottom: 66px;
    }

    .btn-primary {
      min-height: 70px;
      padding: 0 38px;
      border-radius: 10px;
      background: linear-gradient(135deg, var(--accent), #3568f6);
      color: #fff;
      box-shadow: 0 18px 32px rgba(79,124,255,0.32);
      font-size: 22px;
      font-weight: 700;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 14px;
      cursor: pointer;
      transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 22px 42px rgba(79,124,255,0.38);
    }

    .btn-primary:active { transform: translateY(0) scale(0.99); }

    .btn-icon {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: rgba(255,255,255,0.25);
      border: 1px solid rgba(255,255,255,0.5);
    }

    .btn-icon svg { width: 19px; height: 19px; }

    .hand-note {
      color: #376ded;
      display: grid;
      grid-template-columns: 76px 160px;
      align-items: center;
      gap: 10px;
      transform: rotate(-3deg);
    }

    .hand-note svg {
      width: 76px;
      height: 44px;
      stroke: currentColor;
      fill: none;
      stroke-width: 2.2;
      stroke-linecap: round;
    }

    .hand-note span {
      font-family: 'Caveat', cursive;
      font-size: 24px;
      line-height: 1.12;
    }

    .feature-strip {
      display: grid;
      grid-template-columns: repeat(3, minmax(120px, 1fr));
      gap: 34px;
      max-width: 650px;
    }

    .feature {
      color: #516596;
    }

    .feature-icon {
      width: 58px;
      height: 58px;
      color: #7fa4ff;
      margin-bottom: 15px;
    }

    .feature h3 {
      color: var(--accent-dim);
      font-size: 17px;
      font-weight: 800;
      line-height: 1.25;
      margin-bottom: 4px;
    }

    .feature p {
      font-size: 14px;
      line-height: 1.45;
    }

    .hero-art {
      min-height: 650px;
      position: relative;
      display: grid;
      place-items: center;
      overflow: hidden;
    }

    .hero-art::before {
      content: "";
      position: absolute;
      width: min(520px, 70vw);
      height: min(520px, 70vw);
      border-radius: 50%;
      background: rgba(79,124,255,0.2);
      right: 80px;
      top: 10px;
      z-index: 0;
    }

    .orbit {
      position: absolute;
      width: 610px;
      height: 520px;
      border: 2px dashed rgba(79,124,255,0.42);
      border-radius: 48% 52% 45% 55%;
      transform: rotate(18deg);
      z-index: 0;
    }

    .check-badge {
      position: absolute;
      top: 34px;
      left: 42px;
      width: 54px;
      height: 54px;
      border-radius: 50%;
      background: #8fb2ff;
      color: #fff;
      display: grid;
      place-items: center;
      box-shadow: var(--soft-shadow);
      z-index: 2;
    }

    .target-badge {
      position: absolute;
      right: 24px;
      top: 246px;
      color: var(--pink);
      width: 82px;
      height: 82px;
      z-index: 2;
    }

    .resume-card,
    .score-card,
    .suggestion-card {
      position: absolute;
      background: rgba(255,255,255,0.92);
      border: 1px solid rgba(255,255,255,0.85);
      border-radius: 16px;
      box-shadow: var(--shadow);
      -webkit-backdrop-filter: blur(8px);
      backdrop-filter: blur(8px);
    }

    .resume-card {
      width: min(430px, 58vw);
      min-height: 590px;
      left: 82px;
      top: 92px;
      padding: 34px 38px;
      z-index: 1;
    }

    .score-card {
      width: 292px;
      min-height: 420px;
      right: 58px;
      top: 198px;
      padding: 30px 32px;
      z-index: 3;
    }

    .suggestion-card {
      width: 300px;
      right: 120px;
      bottom: 32px;
      padding: 25px 28px;
      z-index: 4;
    }

    .mock-title {
      color: var(--accent-dim);
      font-size: 15px;
      font-weight: 800;
      margin-bottom: 25px;
    }

    .profile-row {
      display: grid;
      grid-template-columns: 96px 1fr;
      align-items: center;
      gap: 24px;
      margin-bottom: 34px;
    }

    .avatar {
      width: 96px;
      height: 96px;
      border-radius: 50%;
      background: linear-gradient(#edf3ff, #e5edff);
      position: relative;
      overflow: hidden;
    }

    .avatar::before,
    .avatar::after {
      content: "";
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      background: linear-gradient(145deg, #79a3ff, #5c82ef);
    }

    .avatar::before {
      width: 31px;
      height: 31px;
      border-radius: 50%;
      top: 24px;
    }

    .avatar::after {
      width: 78px;
      height: 45px;
      border-radius: 50% 50% 38% 38%;
      bottom: -8px;
    }

    .line-stack {
      display: flex;
      flex-direction: column;
      gap: 13px;
    }

    .mock-line,
    .mock-dot-line {
      height: 11px;
      border-radius: 999px;
      background: #e8eefb;
    }

    .mock-line:nth-child(1) { width: 100%; }
    .mock-line:nth-child(2) { width: 78%; }
    .mock-line:nth-child(3) { width: 62%; }

    .mock-section {
      margin-top: 26px;
    }

    .mock-section h4 {
      color: var(--accent);
      font-size: 15px;
      font-weight: 800;
      margin-bottom: 15px;
      text-transform: uppercase;
    }

    .mock-bullet {
      display: grid;
      grid-template-columns: 8px 1fr;
      align-items: center;
      gap: 18px;
      margin: 13px 0;
    }

    .mock-bullet::before {
      content: "";
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--accent);
      opacity: 0.78;
    }

    .mock-bullet span {
      height: 11px;
      width: var(--w, 82%);
      border-radius: 999px;
      background: #e2e9f7;
    }

    .skill-pills {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }

    .skill-pills span {
      width: var(--w, 66px);
      height: 22px;
      border-radius: 999px;
      background: #dbeafe;
      position: relative;
    }

    .skill-pills span::after {
      content: "";
      position: absolute;
      left: 16px;
      top: 7px;
      height: 8px;
      width: 38px;
      border-radius: 999px;
      background: #b8d4f8;
    }

    .score-card h3 {
      color: var(--accent-dim);
      font-size: 15px;
      font-weight: 800;
      margin-bottom: 18px;
    }

    .hero-score-ring {
      width: 190px;
      height: 190px;
      margin: 0 auto 12px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background:
        radial-gradient(circle at center, #fff 0 57%, transparent 58%),
        conic-gradient(var(--accent) 0 83%, #dce7ff 83% 100%);
      position: relative;
    }

    .hero-score-ring::after {
      content: "";
      position: absolute;
      inset: 15px;
      border-radius: 50%;
      border: 10px solid #ecf2ff;
      z-index: -1;
    }

    .hero-score-ring strong {
      color: var(--accent-dim);
      font-size: 42px;
      line-height: 1;
      font-weight: 800;
    }

    .hero-score-ring span {
      color: var(--accent);
      display: block;
      font-size: 12px;
      font-weight: 500;
      margin-top: 4px;
      text-align: center;
    }

    .score-card .match-label {
      color: var(--accent);
      font-size: 17px;
      font-weight: 800;
      text-align: center;
      margin: 8px 0 16px;
    }

    .match-list {
      display: flex;
      flex-direction: column;
      gap: 13px;
      color: #536791;
      font-size: 13px;
    }

    .match-list li {
      list-style: none;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .match-list li::before {
      content: "✓";
      width: 19px;
      height: 19px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: #48c9a0;
      color: #fff;
      font-size: 12px;
      font-weight: 800;
      flex: 0 0 auto;
    }

    .suggestion-card h3 {
      color: var(--pink);
      font-size: 15px;
      font-weight: 800;
      display: flex;
      align-items: center;
      gap: 9px;
      margin-bottom: 16px;
    }

    .pink-lines {
      display: flex;
      flex-direction: column;
      gap: 15px;
    }

    .pink-lines span {
      height: 10px;
      width: var(--w, 82%);
      border-radius: 999px;
      background: rgba(232,106,166,0.25);
      position: relative;
      margin-left: 20px;
    }

    .pink-lines span::before {
      content: "";
      position: absolute;
      width: 5px;
      height: 5px;
      left: -19px;
      top: 3px;
      border-radius: 50%;
      background: rgba(232,106,166,0.56);
    }

    header {
      padding: 24px clamp(24px, 5vw, 56px);
      display: flex;
      align-items: center;
      gap: 14px;
      position: sticky;
      top: 0;
      z-index: 20;
      background:
        radial-gradient(circle at 42% -40%, rgba(255,255,255,0.58), transparent 34%),
        linear-gradient(105deg, #fde7f1 0%, #fbd5e7 52%, #f6afd2 100%);
      border-bottom: 1px solid rgba(255,255,255,0.48);
      -webkit-backdrop-filter: blur(14px);
      backdrop-filter: blur(14px);
    }

    .logo-mark {
      display: none;
    }

    header h1 {
      color: var(--accent-dim);
      font-size: 28px;
      font-weight: 800;
      letter-spacing: 0;
      line-height: 1;
    }

    header h1 .logo-pink {
      color: var(--pink);
    }

    .top-nav {
      display: flex;
      align-items: center;
      gap: 26px;
      margin-left: auto;
    }

    .nav-btn {
      background: transparent;
      color: var(--accent-dim);
      border: 1px solid transparent;
      border-radius: 999px;
      padding: 11px 18px;
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
      transition: color 0.15s, background 0.15s, border-color 0.15s, box-shadow 0.15s;
    }

    .nav-btn:hover {
      color: var(--pink);
      background: rgba(255,255,255,0.58);
      border-color: rgba(255,255,255,0.76);
    }

    .nav-btn.active {
      color: var(--pink);
      background: #fff;
      border-color: rgba(255,255,255,0.9);
      box-shadow: 0 12px 26px rgba(232,106,166,0.12);
    }

    header span {
      color: #60719a;
      font-size: 13px;
      font-weight: 500;
      margin-left: auto;
    }

    .matcher-page {
      display: none;
      min-height: 100vh;
      position: relative;
      z-index: 2;
    }

    .matcher-page.visible { display: block; }

    .matcher-page.showing-results .hero,
    .matcher-page.showing-results .form-panel,
    .matcher-page.showing-results .divider {
      display: none;
    }

    .simple-page,
    .result-page {
      display: none;
      min-height: 100vh;
      background: #fff;
      position: relative;
      z-index: 2;
    }

    .simple-page.visible,
    .result-page.visible { display: block; }

    .simple-content,
    .result-content {
      max-width: 980px;
      margin: 0 auto;
      padding: 58px 24px;
    }

    .simple-content h2 {
      color: var(--accent-dim);
      font-size: clamp(30px, 3.5vw, 48px);
      font-weight: 800;
      line-height: 1.12;
      margin-bottom: 18px;
    }

    .editable-copy {
      min-height: 360px;
      color: #526897;
      font-size: 16px;
      font-weight: 500;
      line-height: 1.7;
    }

    .results-loading,
    .results-render-error {
      background: rgba(255,255,255,0.9);
      border: 1px solid rgba(229,229,229,0.82);
      border-radius: 14px;
      box-shadow: var(--soft-shadow);
      color: #526897;
      font-size: 15px;
      font-weight: 700;
      padding: 20px;
    }

    .results-render-error {
      color: #b91c1c;
      border-color: rgba(239,68,68,0.25);
      background: rgba(239,68,68,0.06);
    }

    main {
      max-width: 1080px;
      margin: 0 auto;
      padding: 58px 24px 88px;
    }

    .hero {
      margin-bottom: 34px;
    }

    .hero h2 {
      color: var(--accent-dim);
      font-size: clamp(32px, 4vw, 54px);
      font-weight: 800;
      letter-spacing: 0;
      line-height: 1.12;
      margin-bottom: 14px;
    }

    .hero h2 em {
      font-style: normal;
      color: #f07db4;
    }

    .hero p {
      color: #516596;
      font-size: 17px;
      max-width: 600px;
    }

    .form-panel,
    .section-block,
    .info-card {
      background: rgba(255,255,255,0.88);
      border: 1px solid rgba(229,229,229,0.82);
      box-shadow: var(--soft-shadow);
      -webkit-backdrop-filter: blur(10px);
      backdrop-filter: blur(10px);
    }

    .form-panel {
      border-radius: 16px;
      padding: clamp(20px, 3vw, 34px);
    }

    .form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 18px;
      margin-bottom: 18px;
    }

    .field {
      display: flex;
      flex-direction: column;
      gap: 9px;
    }

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

    label {
      font-size: 12px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0;
      color: var(--accent-dim);
    }

    input[type="text"], textarea {
      background: #f8faff;
      border: 1px solid #dfe7f6;
      border-radius: 10px;
      color: var(--text);
      font-family: var(--body);
      font-size: 14px;
      font-weight: 500;
      padding: 14px 15px;
      outline: none;
      transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
      width: 100%;
    }

    input[type="text"]:focus, textarea:focus {
      border-color: var(--accent);
      background: #fff;
      box-shadow: 0 0 0 4px rgba(79,124,255,0.12);
    }

    textarea { resize: vertical; min-height: 148px; }

    .drop-zone {
      background: #f8faff;
      border: 1.5px dashed #cbd8f1;
      border-radius: 12px;
      padding: 28px;
      text-align: center;
      cursor: pointer;
      transition: border-color 0.15s, background 0.15s, transform 0.15s;
      position: relative;
      min-height: 145px;
      display: grid;
      place-items: center;
    }

    .drop-zone:hover, .drop-zone.drag-over {
      border-color: var(--accent);
      background: #fff;
      transform: translateY(-1px);
    }

    .drop-zone input[type="file"] {
      position: absolute;
      inset: 0;
      opacity: 0;
      cursor: pointer;
      width: 100%;
      height: 100%;
    }

    .drop-zone-content {
      display: grid;
      place-items: center;
      gap: 8px;
      color: #526897;
    }

    .drop-zone .icon {
      width: 46px;
      height: 46px;
      border-radius: 14px;
      display: grid;
      place-items: center;
      color: var(--accent);
      background: #edf3ff;
    }

    .drop-zone .hint {
      font-size: 14px;
      color: #526897;
      font-weight: 600;
    }

    .drop-zone .file-name {
      font-size: 13px;
      color: var(--accent);
      font-weight: 700;
      max-width: 100%;
      overflow-wrap: anywhere;
    }

    .btn-analyze {
      margin-top: 10px;
      width: 100%;
      min-height: 56px;
      padding: 14px;
      background: linear-gradient(135deg, #f58abd, #ee6fac);
      color: #fff;
      border-radius: 10px;
      font-size: 16px;
      font-weight: 800;
      cursor: pointer;
      transition: opacity 0.15s, transform 0.1s, box-shadow 0.15s;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      box-shadow: 0 15px 28px rgba(240,125,180,0.22);
    }

    .btn-analyze:hover { opacity: 0.92; transform: translateY(-1px); }
    .btn-analyze:active { transform: scale(0.99); }
    .btn-analyze:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; }

    .spinner {
      width: 18px;
      height: 18px;
      border: 2px solid rgba(255,255,255,0.3);
      border-top-color: #fff;
      border-radius: 50%;
      animation: spin 0.7s linear infinite;
    }

    @keyframes spin { to { transform: rotate(360deg); } }

    .divider {
      border: none;
      border-top: 1px solid rgba(203,216,241,0.8);
      margin: 52px 0;
    }

    #results { display: none; }
    #results.visible { display: block; }

    .results-header {
      display: flex;
      align-items: center;
      gap: 20px;
      margin-bottom: 28px;
      background: rgba(255,255,255,0.78);
      border: 1px solid rgba(229,229,229,0.82);
      border-radius: 16px;
      padding: 22px;
      box-shadow: var(--soft-shadow);
      -webkit-backdrop-filter: blur(10px);
      backdrop-filter: blur(10px);
    }

    .score-ring {
      width: 104px;
      height: 104px;
      flex-shrink: 0;
      position: relative;
    }

    .score-ring svg {
      width: 104px;
      height: 104px;
      transform: rotate(-90deg);
    }

    .score-ring .score-text {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }

    .score-ring .score-num {
      color: var(--accent-dim);
      font-size: 25px;
      font-weight: 800;
      line-height: 1;
    }

    .score-ring .score-label {
      font-size: 9px;
      color: #66779c;
      text-transform: uppercase;
      letter-spacing: 0;
      font-weight: 700;
    }

    .results-header-text h3 {
      color: var(--accent-dim);
      font-size: 25px;
      font-weight: 800;
      margin-bottom: 4px;
    }

    .results-header-text p {
      font-size: 14px;
      color: #526897;
      font-weight: 500;
    }

    .cards-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      margin-bottom: 18px;
    }

    .info-card {
      border-radius: 14px;
      padding: 18px 20px;
      font-size: 14px;
      line-height: 1.55;
      color: #526897;
      font-weight: 500;
    }

    .info-card .card-label {
      color: var(--accent-dim);
      font-size: 12px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0;
      margin-bottom: 6px;
    }

    .info-card.ok  { border-left: 4px solid var(--green); }
    .info-card.warn { border-left: 4px solid var(--yellow); }
    .info-card.bad  { border-left: 4px solid var(--red); }

    .section-block {
      border-radius: 14px;
      padding: 22px;
      margin-bottom: 16px;
    }

    .section-block h4 {
      color: var(--accent-dim);
      font-size: 15px;
      font-weight: 800;
      margin-bottom: 14px;
      display: flex;
      align-items: center;
      gap: 9px;
    }

    .section-block h4 .dot {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      flex-shrink: 0;
    }

    .section-block p,
    #feedbackText {
      color: #526897 !important;
      font-size: 14px !important;
      line-height: 1.65 !important;
      font-weight: 500;
    }

    .chips {
      display: flex;
      flex-wrap: wrap;
      gap: 9px;
    }

    .chip {
      padding: 6px 12px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 700;
    }

    .chip.match   { background: rgba(34,197,94,0.12);  color: var(--green); border: 1px solid rgba(34,197,94,0.25); }
    .chip.missing { background: rgba(239,68,68,0.10);  color: var(--red);   border: 1px solid rgba(239,68,68,0.22); }
    .chip.weak    { background: rgba(234,179,8,0.10);  color: var(--yellow);border: 1px solid rgba(234,179,8,0.22); }

    .suggestions-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 11px;
    }

    .suggestions-list li {
      display: flex;
      gap: 10px;
      align-items: flex-start;
      color: #526897;
      font-size: 14px;
      font-weight: 500;
      line-height: 1.55;
    }

    .suggestions-list li::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--accent);
      flex-shrink: 0;
      margin-top: 8px;
    }

    .error-msg {
      background: rgba(239,68,68,0.08);
      border: 1px solid rgba(239,68,68,0.3);
      color: #b91c1c;
      border-radius: 10px;
      padding: 14px 16px;
      font-size: 13.5px;
      font-weight: 600;
      margin-top: 14px;
      display: none;
    }

    .error-msg.visible { display: block; }

    .status-msg {
      color: #526897;
      font-size: 12px;
      font-weight: 700;
      margin-top: 10px;
      min-height: 18px;
      display: none;
    }

    .status-msg.visible { display: block; }

    /* Compact laptop fit: same visual style, tighter sizing so each screen fits better. */
    @media (min-width: 761px) {
      .landing {
        gap: 28px;
        padding: 28px clamp(28px, 4.2vw, 68px);
      }

      .landing h1 {
        font-size: clamp(40px, 4.25vw, 64px);
        line-height: 1.04;
      }

      .landing .tagline {
        font-size: clamp(25px, 2.35vw, 35px);
      }

      .landing .intro {
        font-size: clamp(14px, 1.18vw, 17px);
        line-height: 1.42;
        max-width: 540px;
        margin: 16px 0 22px;
      }

      .cta-row {
        gap: 22px;
        margin-bottom: 34px;
      }

      .btn-primary {
        min-height: 54px;
        padding: 0 28px;
        font-size: 17px;
      }

      .btn-icon {
        width: 28px;
        height: 28px;
      }

      .btn-icon svg {
        width: 17px;
        height: 17px;
      }

      .hand-note {
        grid-template-columns: 62px 132px;
      }

      .hand-note svg {
        width: 62px;
        height: 36px;
      }

      .hand-note span {
        font-size: 20px;
      }

      .feature-strip {
        gap: 22px;
        max-width: 590px;
      }

      .feature-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 8px;
      }

      .feature h3 {
        font-size: 14px;
      }

      .feature p {
        font-size: 11px;
        line-height: 1.35;
      }

      .hero-art {
        min-height: 520px;
      }

      .hero-art::before {
        width: min(410px, 58vw);
        height: min(410px, 58vw);
        right: 70px;
      }

      .orbit {
        width: 510px;
        height: 420px;
      }

      .check-badge {
        top: 24px;
        left: 72px;
        width: 42px;
        height: 42px;
      }

      .target-badge {
        right: 40px;
        top: 190px;
        width: 58px;
        height: 58px;
      }

      .resume-card {
        width: min(340px, 52vw);
        min-height: 452px;
        left: 86px;
        top: 58px;
        padding: 24px 28px;
      }

      .score-card {
        width: 232px;
        min-height: 316px;
        right: 78px;
        top: 145px;
        padding: 21px 24px;
      }

      .suggestion-card {
        width: 246px;
        right: 128px;
        bottom: 24px;
        padding: 18px 22px;
      }

      .mock-title,
      .score-card h3,
      .suggestion-card h3 {
        font-size: 12px;
      }

      .mock-title {
        margin-bottom: 16px;
      }

      .profile-row {
        grid-template-columns: 72px 1fr;
        gap: 18px;
        margin-bottom: 22px;
      }

      .avatar {
        width: 72px;
        height: 72px;
      }

      .line-stack {
        gap: 9px;
      }

      .mock-line,
      .mock-dot-line {
        height: 8px;
      }

      .mock-section {
        margin-top: 17px;
      }

      .mock-section h4 {
        font-size: 12px;
        margin-bottom: 9px;
      }

      .mock-bullet {
        gap: 13px;
        margin: 8px 0;
      }

      .mock-bullet span {
        height: 8px;
      }

      .skill-pills {
        gap: 8px;
      }

      .skill-pills span {
        height: 16px;
      }

      .hero-score-ring {
        width: 140px;
        height: 140px;
        margin-bottom: 8px;
      }

      .hero-score-ring::after {
        inset: 12px;
        border-width: 8px;
      }

      .hero-score-ring strong {
        font-size: 31px;
      }

      .hero-score-ring span {
        font-size: 9px;
      }

      .score-card .match-label {
        font-size: 13px;
        margin: 6px 0 10px;
      }

      .match-list {
        gap: 9px;
        font-size: 10.5px;
      }

      .suggestion-card h3 {
        margin-bottom: 11px;
      }

      .pink-lines {
        gap: 10px;
      }

      .pink-lines span {
        height: 7px;
      }

      header {
        padding: 14px clamp(22px, 4vw, 44px);
      }

      header h1 {
        font-size: 24px;
      }

      .nav-btn {
        font-size: 11px;
      }

      main {
        max-width: 1040px;
        padding: 24px 22px 28px;
      }

      .hero {
        margin-bottom: 18px;
      }

      .hero h2 {
        font-size: clamp(28px, 3.1vw, 40px);
        line-height: 1.06;
        margin-bottom: 8px;
      }

      .hero p {
        font-size: 13px;
        max-width: 520px;
      }

      .form-panel {
        padding: 18px 20px;
      }

      .form-grid {
        gap: 12px;
        margin-bottom: 12px;
      }

      .field {
        gap: 6px;
      }

      label {
        font-size: 10px;
      }

      input[type="text"], textarea {
        font-size: 12px;
        padding: 10px 12px;
      }

      textarea {
        min-height: 92px;
      }

      .drop-zone {
        min-height: 104px;
        padding: 16px;
      }

      .drop-zone-content {
        gap: 5px;
      }

      .drop-zone .icon {
        width: 34px;
        height: 34px;
        border-radius: 10px;
      }

      .drop-zone .hint {
        font-size: 12px;
      }

      .drop-zone .file-name {
        font-size: 11px;
      }

      .btn-analyze {
        min-height: 46px;
        font-size: 13px;
        margin-top: 6px;
      }

      .error-msg {
        padding: 10px 12px;
        font-size: 12px;
        margin-top: 10px;
      }

      .divider {
        margin: 18px 0;
      }

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

      #results.visible .results-header,
      #results.visible .cards-row {
        grid-column: 1 / -1;
      }

      .results-header {
        gap: 14px;
        margin-bottom: 14px;
        padding: 14px;
      }

      .score-ring,
      .score-ring svg {
        width: 78px;
        height: 78px;
      }

      .score-ring .score-num {
        font-size: 20px;
      }

      .score-ring .score-label {
        font-size: 8px;
      }

      .results-header-text h3 {
        font-size: 19px;
      }

      .results-header-text p,
      .info-card,
      .section-block p,
      #feedbackText,
      .suggestions-list li {
        font-size: 12px !important;
      }

      .cards-row {
        gap: 10px;
        margin-bottom: 0;
      }

      .info-card {
        padding: 12px 14px;
      }

      .info-card .card-label {
        font-size: 10px;
      }

      .section-block {
        padding: 13px 14px;
        margin-bottom: 0;
      }

      .section-block h4 {
        font-size: 12px;
        margin-bottom: 9px;
      }

      .chip {
        padding: 4px 9px;
        font-size: 10.5px;
      }
    }

    @media (max-width: 1180px) {
      .landing {
        grid-template-columns: 1fr;
        gap: 28px;
      }

      .hero-art {
        min-height: 620px;
        transform: scale(0.92);
        transform-origin: top center;
        margin-bottom: -60px;
      }
    }

    @media (max-width: 760px) {
      body::before, body::after { display: none; }

      .landing {
        min-height: auto;
        padding: 44px 20px 28px;
      }

      .landing h1 { font-size: clamp(42px, 13vw, 62px); }
      .landing .tagline { font-size: clamp(28px, 8vw, 38px); }
      .landing .intro { font-size: 16px; }

      .cta-row {
        align-items: flex-start;
        gap: 22px;
        margin-bottom: 44px;
      }

      .btn-primary {
        width: 100%;
        min-height: 62px;
        font-size: 18px;
      }

      .hand-note {
        grid-template-columns: 64px 1fr;
        width: 100%;
      }

      .feature-strip {
        grid-template-columns: 1fr;
        gap: 20px;
      }

      .feature {
        display: grid;
        grid-template-columns: 54px 1fr;
        gap: 14px;
        align-items: center;
      }

      .feature-icon {
        width: 48px;
        height: 48px;
        margin: 0;
      }

      .hero-art {
        min-height: 540px;
        transform: scale(0.74);
        transform-origin: top left;
        width: 135%;
        margin-bottom: -150px;
      }

      header {
        padding: 16px 18px;
        gap: 12px;
      }

      .top-nav {
        gap: 6px;
      }

      .nav-btn {
        padding: 7px 8px;
        font-size: 10.5px;
      }

      main {
        padding: 40px 18px 72px;
      }

      .form-grid,
      .cards-row {
        grid-template-columns: 1fr;
      }

      .results-header {
        align-items: flex-start;
        flex-direction: column;
      }
    }

    @media (max-width: 480px) {
      .hero-art {
        transform: scale(0.62);
        width: 160%;
        margin-bottom: -210px;
      }
    }
