@font-face {
      font-family: 'Rawline';
      src: url('/fonts/rawline-500.ttf') format('truetype');
      font-weight: 500;
      font-display: swap;
    }

    @font-face {
      font-family: 'Rawline';
      src: url('/fonts/rawline-600.ttf') format('truetype');
      font-weight: 600;
      font-display: swap;
    }

    :root {
      --blue: #080f2b;
      --blue-72: rgba(8, 15, 43, 0.72);
      --blue-42: rgba(8, 15, 43, 0.42);
      --blue-16: rgba(8, 15, 43, 0.16);
      --blue-10: rgba(8, 15, 43, 0.10);
      --purple: #6e66f0;
      --purple-soft: #f8ecff;
      --purple-light: #f3e0ff;
      --white: #ffffff;
      --mint: #dcfae9;
      --mint-text: #1f7a48;
      --rose: #fde4e3;
      --rose-text: #c85454;
      --amber: #fff0c2;
      --amber-text: #8f6400;
      --page: linear-gradient(180deg, #f7f4fb 0%, #ffffff 34%, #f8ecff 100%);
      --card: radial-gradient(58.73% 95.31% at 50% 50%, rgba(248, 236, 255, 1) 0%, rgba(246, 244, 249, 1) 100%);
      --shadow: 0 24px 60px rgba(8, 15, 43, 0.08);
      --radius-xl: 32px;
      --radius-lg: 24px;
      --radius-md: 18px;
      --radius-sm: 14px;
      --container: 1370px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      font-family: 'Rawline', Arial, sans-serif;
      color: var(--blue);
      background: var(--page);
      overflow-x: hidden;
    }

    img {
      display: block;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    button,
    input,
    select,
    textarea {
      font: inherit;
    }

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

    @keyframes floatDesk {
      0%, 100% { transform: translate3d(0, 0, 0); }
      50% { transform: translate3d(0, -8px, 0); }
    }

    @keyframes floatWide {
      0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
      35% { transform: translate3d(0, -10px, 0) rotate(-0.4deg); }
      70% { transform: translate3d(0, -4px, 0) rotate(0.35deg); }
    }

    @keyframes floatTilt {
      0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
      50% { transform: translate3d(0, -6px, 0) rotate(0.6deg); }
    }

    @keyframes pulseGlow {
      0%, 100% { box-shadow: 0 0 0 0 rgba(110, 102, 240, 0.14); }
      50% { box-shadow: 0 0 0 12px rgba(110, 102, 240, 0); }
    }

    @keyframes scanLine {
      0% { transform: translateX(-120%); }
      100% { transform: translateX(120%); }
    }

    @keyframes valuePulse {
      0% { transform: translateY(0) scale(1); filter: brightness(1); }
      35% { transform: translateY(-3px) scale(1.045); filter: brightness(1.08); }
      100% { transform: translateY(0) scale(1); filter: brightness(1); }
    }

    @keyframes textBlink {
      0% { opacity: 0.72; }
      50% { opacity: 1; }
      100% { opacity: 0.72; }
    }

    @keyframes riseIn {
      0% { opacity: 0; transform: translateY(24px) scale(0.985); }
      100% { opacity: 1; transform: translateY(0) scale(1); }
    }

    .page-shell::before,
    .page-shell::after {
      content: '';
      position: fixed;
      width: 520px;
      height: 520px;
      border-radius: 999px;
      filter: blur(72px);
      opacity: 0.38;
      pointer-events: none;
      z-index: 0;
    }

    .page-shell::before {
      top: -180px;
      left: -120px;
      background: rgba(243, 224, 255, 0.9);
    }

    .page-shell::after {
      right: -180px;
      bottom: -180px;
      background: rgba(110, 102, 240, 0.16);
    }
    main{
      padding-top: 50px;
    }
    .footer{
      padding: 42px 0 !important;
    }
    .container {
      width: min(var(--container), calc(100% - 32px));
      margin: 0 auto;
      position: relative;
      z-index: 1;
    }

    .header {
      position: sticky;
      top: 24px;
      z-index: 30;
      padding-top: 24px;
    }

    .header__bar {
      display: grid;
      grid-template-columns: min-content 1fr max-content;
      align-items: center;
      gap: 28px;
      padding: 18px 22px;
      border-radius: 24px;
      background: rgba(248, 236, 255, 0.78);
      backdrop-filter: blur(20px);
      box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 28px;
      flex-wrap: wrap;
    }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 16px 24px;
      border-radius: 18px;
      border: 2px solid transparent;
      cursor: pointer;
      transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
      font-size: 17px;
      font-weight: 600;
      line-height: 1;
    }

    .btn:hover {
      transform: translateY(-1px);
      box-shadow: 0 14px 28px rgba(8, 15, 43, 0.08);
    }

    .btn--primary {
      background: var(--purple);
      color: var(--white);
      border-color: var(--purple);
    }

    .btn--ghost {
      background: var(--white);
      color: var(--blue);
      border-color: var(--blue-10);
    }

    .hero {
      padding: 28px 0 20px;
    }

    .hero__layout {
      display: grid;
      grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
      gap: 20px;
      align-items: stretch;
      min-height: calc(100vh - 136px);
    }

    .hero__panel,
    .preview,
    .panel,
    .feature-card,
    .faq-card,
    .cta,
    .mini-stat,
    .metric,
    .recommendation,
    .diagnostic,
    .benchmark,
    .summary {
      border-radius: var(--radius-xl);
      background: var(--card);
      box-shadow: var(--shadow);
      animation: riseIn 0.8s ease both;
    }

    .hero__panel {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 34px;
      position: relative;
      overflow: hidden;
    }

    .hero__panel::after {
      content: '';
      position: absolute;
      inset: auto -10% -35% 35%;
      height: 240px;
      background: radial-gradient(circle, rgba(110, 102, 240, 0.18) 0%, rgba(110, 102, 240, 0) 68%);
      pointer-events: none;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 10px 14px;
      border-radius: 999px;
      background: var(--white);
      color: var(--blue-72);
      font-size: 14px;
      margin-bottom: 22px;
      border: 1px solid rgba(8, 15, 43, 0.06);
    }

    .eyebrow::before {
      content: '';
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--purple);
      box-shadow: 0 0 0 6px rgba(110, 102, 240, 0.12);
    }

    .hero h1 {
      margin: 0 0 14px;
      font-size: clamp(38px, 5.2vw, 68px);
      line-height: 0.93;
      text-transform: uppercase;
      letter-spacing: -0.04em;
    }

    .hero p {
      margin: 0;
      color: var(--blue-72);
      font-size: 18px;
      line-height: 1.45;
      max-width: 680px;
    }

    .hero__chips {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin: 22px 0 0;
      padding: 0;
      list-style: none;
    }

    .hero__chips li {
      padding: 10px 14px;
      border-radius: 999px;
      background: var(--white);
      border: 3px solid #fbf5fe;
      font-size: 14px;
      font-weight: 500;
    }

    .hero__actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 24px;
    }

    .preview {
      position: relative;
      display: flex;
      padding: 22px;
      background: linear-gradient(180deg, #faf9ff 0%, #f2efff 100%);
      border: 1px solid rgba(255, 255, 255, 0.7);
      animation-delay: 0.08s;
    }

    .preview::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: inherit;
      background:
        radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0) 26%),
        radial-gradient(circle at 90% 10%, rgba(110, 102, 240, 0.14) 0%, rgba(110, 102, 240, 0) 24%);
      pointer-events: none;
    }

    .preview__stage {
      position: relative;
      display: grid;
      gap: 14px;
      width: 100%;
      min-height: 0;
      z-index: 1;
    }

    .preview__summary-label {
      display: inline-flex;
      align-items: center;
      width: fit-content;
      padding: 8px 12px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.86);
      border: 1px solid rgba(8, 15, 43, 0.06);
      color: var(--blue-72);
      text-transform: uppercase;
      font-size: 12px;
      letter-spacing: 0.08em;
    }

    .preview__hero {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 14px;
    }

    .preview__screen,
    .preview__chart,
    .preview__benchmark-panel,
    .preview__insight,
    .preview__glass-card {
      border-radius: 24px;
      border: 1px solid rgba(8, 15, 43, 0.08);
      box-shadow: 0 16px 32px rgba(8, 15, 43, 0.06);
    }

    .preview__screen {
      padding: 22px;
      background: linear-gradient(180deg, #1b2345 0%, #0f1530 100%);
      color: var(--white);
    }

    .preview__screen-label,
    .preview__screen-status,
    .preview__screen-note {
      text-align: left;
    }

    .preview__screen-label {
      color: rgba(255, 255, 255, 0.7);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-size: 12px;
      margin-bottom: 10px;
    }

    .preview__screen-status {
      color: rgba(255, 255, 255, 0.86);
      font-size: 14px;
      margin-bottom: 10px;
    }

    .preview__score {
      font-size: clamp(46px, 5vw, 74px);
      line-height: 0.92;
      margin: 0 0 6px;
      font-weight: 600;
      color: #ffffff;
    }

    .preview__screen-note {
      color: rgba(255, 255, 255, 0.78);
      font-size: 15px;
      margin: 0;
    }

    .preview__hero-meta {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
      margin-top: 16px;
    }

    .preview__hero-chip {
      padding: 10px 12px;
      border-radius: 16px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .preview__hero-chip span {
      display: block;
      margin-bottom: 6px;
      color: rgba(255, 255, 255, 0.64);
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .preview__hero-chip strong {
      display: block;
      font-size: 16px;
      line-height: 1.1;
    }

    .preview__metrics,
    .preview__analysis {
      display: grid;
      gap: 12px;
    }

    .preview__metrics {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .preview__glass-card {
      padding: 14px;
      background: rgba(255, 255, 255, 0.82);
    }

    .preview__card-label {
      display: block;
      font-size: 11px;
      color: var(--blue-42);
      line-height: 1.35;
      margin-bottom: 8px;
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }

    .preview__card-value {
      font-size: 21px;
      font-weight: 600;
      line-height: 1.08;
      margin-bottom: 6px;
    }

    .preview__card-delta {
      color: #1f9b62;
      font-size: 12px;
      line-height: 1.35;
    }

    .preview__analysis {
      grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.72fr);
      align-items: start;
    }

    .preview__chart,
    .preview__benchmark-panel {
      padding: 16px 18px;
      background: rgba(255, 255, 255, 0.86);
    }

    .preview__insight {
      padding: 18px 20px;
      background: linear-gradient(180deg, #202847 0%, #10162f 100%);
      color: var(--white);
    }

    .preview__analysis-main,
    .preview__analysis-side {
      display: grid;
      gap: 12px;
      min-height: 0;
    }

    .preview__analysis-side {
      align-content: start;
    }

    .preview__chart-head,
    .preview__benchmark-head {
      display: flex;
      justify-content: space-between;
      gap: 10px;
      align-items: flex-start;
      margin-bottom: 12px;
    }

    .preview__chart-title,
    .preview__benchmark-title {
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--blue-42);
    }

    .preview__chart-score {
      text-align: right;
      color: #121938;
      font-size: 18px;
      font-weight: 600;
    }

    .preview__chart-score span {
      display: block;
      font-size: 12px;
      color: #1f9b62;
      margin-top: 4px;
    }

    .preview__chart svg {
      width: 100%;
      height: 68px;
      display: block;
    }

    .preview__axis {
      display: flex;
      justify-content: space-between;
      gap: 6px;
      color: var(--blue-42);
      font-size: 11px;
      margin-top: 4px;
      text-transform: uppercase;
    }

    .preview__benchmark-rail {
      position: relative;
      height: 8px;
      border-radius: 999px;
      background: linear-gradient(90deg, #9c6cff 0%, #714dff 48%, #3a79ff 100%);
      margin: 28px 6px 14px;
    }

    .preview__benchmark-marker {
      position: absolute;
      top: 50%;
      left: 64%;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      background: #ffffff;
      border: 4px solid #755cff;
      transform: translate(-50%, -50%);
    }

    .preview__benchmark-labels {
      display: flex;
      justify-content: space-between;
      gap: 8px;
      color: var(--blue-42);
      font-size: 12px;
    }

    .preview__benchmark-score {
      position: absolute;
      top: -30px;
      left: 64%;
      transform: translateX(-50%);
      color: var(--blue);
      font-size: 13px;
      text-align: center;
      white-space: nowrap;
    }

    .preview__insight h3 {
      margin: 0 0 6px;
      font-size: 14px;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    .preview__insight p,
    .preview__sub {
      margin: 0;
      color: var(--blue-72);
      font-size: 13px;
      line-height: 1.45;
    }

    .preview__insight p {
      color: rgba(255, 255, 255, 0.78);
      margin-bottom: 14px;
    }

    .preview__insight strong {
      display: block;
      font-size: 24px;
      line-height: 1;
    }

    .preview__insight span {
      display: block;
      margin-top: 6px;
      color: rgba(255, 255, 255, 0.62);
      font-size: 12px;
    }

    .preview__insight-meta {
      display: grid;
      gap: 4px;
      margin-top: 18px;
      padding-top: 14px;
      border-top: 1px solid rgba(255, 255, 255, 0.14);
    }

    .preview__insight-meta span {
      margin: 0;
      color: rgba(255, 255, 255, 0.64);
      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: 0.07em;
    }

    .preview__insight-meta strong {
      display: block;
      font-size: 18px;
      line-height: 1.15;
      color: var(--white);
    }

    .section {
      padding: 28px 0;
    }

    .section__heading {
      margin: 0 0 24px;
      font-size: clamp(30px, 4vw, 52px);
      line-height: 1;
    }

    .section__heading span {
      color: var(--purple);
    }

    .section__lead {
      margin: 0 0 28px;
      color: var(--blue-72);
      max-width: 860px;
      font-size: 18px;
      line-height: 1.6;
    }

    .calculator__layout {
      display: grid;
      grid-template-columns: 0.9fr 1.1fr;
      gap: 24px;
      align-items: start;
    }

    .panel {
      padding: 28px;
    }

    .panel__title {
      margin: 0 0 12px;
      font-size: 28px;
      line-height: 1.1;
    }

    .panel__lead {
      margin: 0 0 24px;
      color: var(--blue-72);
      line-height: 1.5;
    }

    .mode-switch {
      display: inline-flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 14px;
      padding: 8px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.68);
      border: 1px solid rgba(8, 15, 43, 0.08);
    }

    .mode-button {
      border: 0;
      padding: 12px 18px;
      border-radius: 999px;
      background: transparent;
      color: var(--blue);
      cursor: pointer;
      font-size: 14px;
      font-weight: 600;
      transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    }

    .mode-button:hover,
    .mode-button.is-active {
      background: var(--purple);
      color: var(--white);
      box-shadow: 0 12px 24px rgba(110, 102, 240, 0.2);
    }

    .mode-description {
      margin: 0 0 22px;
      color: var(--blue-72);
      line-height: 1.55;
      font-size: 14px;
    }

    .preset-row {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 22px;
    }

    .preset {
      border: 0;
      padding: 12px 16px;
      border-radius: 999px;
      background: var(--white);
      color: var(--blue);
      cursor: pointer;
      font-size: 14px;
      font-weight: 600;
      border: 1px solid rgba(8, 15, 43, 0.08);
    }

    .preset:hover,
    .preset.is-active {
      background: var(--purple);
      color: var(--white);
      border-color: var(--purple);
    }

    .form-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;
    }

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

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

    .field label,
    .field__label {
      font-size: 14px;
      font-weight: 600;
      color: var(--blue);
    }

    .label-row {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    .field__hint {
      font-size: 13px;
      color: var(--blue-42);
      line-height: 1.45;
    }

    .input,
    .select,
    .textarea {
      width: 100%;
      padding: 16px 18px;
      border-radius: 18px;
      border: 1px solid rgba(8, 15, 43, 0.12);
      background: var(--white);
      color: var(--blue);
      outline: none;
      transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .input:focus,
    .select:focus,
    .textarea:focus {
      border-color: rgba(110, 102, 240, 0.48);
      box-shadow: 0 0 0 4px rgba(110, 102, 240, 0.12);
    }

    .slider {
      width: 100%;
      accent-color: var(--purple);
    }

    .slider-row {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 12px;
      align-items: center;
    }

    .slider-value {
      min-width: 96px;
      text-align: center;
      padding: 14px 16px;
      border-radius: 18px;
      background: var(--white);
      font-weight: 600;
    }

    .form-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 22px;
    }

    .tooltip {
      position: relative;
      display: inline-flex;
      align-items: center;
      isolation: isolate;
      z-index: 8;
    }

    .tooltip__trigger {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 20px;
      height: 20px;
      padding: 0;
      border: 0;
      border-radius: 50%;
      background: rgba(110, 102, 240, 0.14);
      color: var(--purple);
      cursor: pointer;
      font-size: 12px;
      font-weight: 700;
      line-height: 1;
    }

    .tooltip__trigger:hover,
    .tooltip__trigger:focus-visible {
      background: rgba(110, 102, 240, 0.22);
      outline: none;
    }

    .tooltip__bubble {
      position: absolute;
      left: 50%;
      bottom: calc(100% + 10px);
      width: min(280px, 70vw);
      padding: 12px 14px;
      border-radius: 16px;
      background: var(--blue);
      color: var(--white);
      font-size: 13px;
      font-weight: 500;
      line-height: 1.45;
      box-shadow: 0 18px 34px rgba(8, 15, 43, 0.26);
      transform: translateX(-50%);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.18s ease, transform 0.18s ease;
      z-index: 6;
    }

    .tooltip__bubble::after {
      content: '';
      position: absolute;
      left: 50%;
      top: calc(100% - 1px);
      width: 10px;
      height: 10px;
      background: var(--blue);
      transform: translateX(-50%) rotate(45deg);
    }

    .tooltip:hover .tooltip__bubble,
    .tooltip:focus-within .tooltip__bubble,
    .tooltip.is-open .tooltip__bubble {
      opacity: 1;
      pointer-events: auto;
      transform: translateX(-50%) translateY(-2px);
    }

    .result-top {
      display: grid;
      grid-template-columns: 1.05fr 0.95fr;
      gap: 16px;
      margin-bottom: 16px;
    }

    .score-card {
      padding: 24px;
      border-radius: 26px;
      background: linear-gradient(140deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 236, 255, 0.9) 100%);
      border: 1px solid rgba(8, 15, 43, 0.06);
      position: relative;
      overflow: visible;
      animation-delay: 0.05s;
    }

    .score-card::after {
      content: '';
      position: absolute;
      width: 18px;
      height: 18px;
      right: 24px;
      top: 24px;
      border-radius: 50%;
      background: rgba(110, 102, 240, 0.22);
      z-index: 0;
      animation: none;
    }

    .score-card__label {
      margin: 0 0 12px;
      color: var(--blue-42);
      font-size: 14px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      position: relative;
      z-index: 1;
    }

    .score-card__value {
      margin: 0;
      font-size: clamp(54px, 7vw, 82px);
      line-height: 0.95;
      font-weight: 600;
      position: relative;
      z-index: 1;
    }

    .score-card__note {
      margin: 14px 0 0;
      color: var(--blue-72);
      line-height: 1.5;
      font-size: 15px;
      position: relative;
      z-index: 1;
    }

    .pill {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 10px 14px;
      border-radius: 999px;
      font-size: 14px;
      font-weight: 600;
      margin-top: 16px;
    }

    .pill--healthy {
      background: var(--mint);
      color: var(--mint-text);
    }

    .pill--watch {
      background: var(--amber);
      color: var(--amber-text);
    }

    .pill--risk {
      background: var(--rose);
      color: var(--rose-text);
    }

    .formula-stack {
      display: grid;
      gap: 16px;
    }

    .formula-card {
      padding: 20px;
      border-radius: 24px;
      background: var(--white);
      border: 1px solid rgba(8, 15, 43, 0.06);
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .formula-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 20px 28px rgba(8, 15, 43, 0.08);
    }

    .formula-card__label {
      display: block;
      color: var(--blue-42);
      font-size: 13px;
      margin-bottom: 8px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .formula-card__value {
      font-size: 34px;
      line-height: 1;
      font-weight: 600;
      margin-bottom: 8px;
    }

    .formula-card__meta {
      font-size: 14px;
      color: var(--blue-72);
      line-height: 1.45;
    }

    .metrics {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 12px;
      margin-bottom: 16px;
    }

    .standard-summary {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;
      margin-bottom: 16px;
    }

    .standard-note {
      padding: 22px;
      border-radius: 24px;
      background: var(--white);
      border: 1px solid rgba(8, 15, 43, 0.06);
    }

    .standard-note__title {
      margin: 0 0 10px;
      font-size: 18px;
      line-height: 1.2;
    }

    .standard-note__formula {
      margin: 0 0 8px;
      color: var(--blue);
      font-size: 19px;
      font-weight: 600;
      line-height: 1.4;
    }

    .standard-note__copy {
      margin: 0;
      color: var(--blue-72);
      font-size: 14px;
      line-height: 1.5;
    }

    .metric {
      padding: 18px;
      background: var(--white);
      box-shadow: none;
      border: 1px solid rgba(8, 15, 43, 0.06);
      transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    }

    .metric:hover {
      transform: translateY(-7px);
      box-shadow: 0 18px 28px rgba(8, 15, 43, 0.08);
      border-color: rgba(110, 102, 240, 0.18);
    }

    .metric__label {
      display: block;
      color: var(--blue-42);
      font-size: 13px;
      margin-bottom: 8px;
    }

    .metric__value {
      font-size: 30px;
      font-weight: 600;
      line-height: 1.05;
      margin-bottom: 8px;
      transform-origin: left center;
    }

    .metric__hint {
      color: var(--blue-72);
      font-size: 13px;
      line-height: 1.4;
    }

    .benchmark {
      padding: 22px;
      margin-bottom: 16px;
      background: var(--white);
      box-shadow: none;
      border: 1px solid rgba(8, 15, 43, 0.06);
      animation-delay: 0.12s;
    }

    .benchmark__head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 18px;
      flex-wrap: wrap;
    }

    .benchmark__title {
      margin: 0;
      font-size: 22px;
    }

    .benchmark__context {
      color: var(--blue-42);
      font-size: 14px;
    }

    .benchmark__track {
      position: relative;
      height: 22px;
      border-radius: 999px;
      background: linear-gradient(90deg, rgba(253, 228, 227, 1) 0%, rgba(255, 240, 194, 1) 48%, rgba(220, 250, 233, 1) 100%);
      overflow: hidden;
      isolation: isolate;
    }

    .benchmark__track::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
      animation: scanLine 4s linear infinite;
      z-index: 0;
    }

    .benchmark__range {
      position: absolute;
      top: 3px;
      bottom: 3px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.72);
      border: 1px solid rgba(8, 15, 43, 0.08);
      z-index: 1;
    }

    .benchmark__marker {
      position: absolute;
      top: -7px;
      width: 18px;
      height: 36px;
      border-radius: 999px;
      background: var(--blue);
      box-shadow: 0 12px 20px rgba(8, 15, 43, 0.18);
      transform: translateX(-50%);
      z-index: 2;
    }

    .benchmark__labels {
      display: flex;
      justify-content: space-between;
      gap: 8px;
      margin-top: 10px;
      color: var(--blue-42);
      font-size: 13px;
    }

    .benchmark__note {
      margin: 14px 0 0;
      color: var(--blue-72);
      line-height: 1.5;
      font-size: 14px;
    }

    .stack {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;
    }

    .diagnostic,
    .recommendation,
    .summary {
      padding: 22px;
      background: var(--white);
      box-shadow: none;
      border: 1px solid rgba(8, 15, 43, 0.06);
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .diagnostic:hover,
    .recommendation:hover,
    .summary:hover,
    .feature-card:hover,
    .faq-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 18px 30px rgba(8, 15, 43, 0.08);
    }

    .card-title {
      margin: 0 0 14px;
      font-size: 22px;
      line-height: 1.15;
    }

    .diagnostic-list,
    .recommendation-list {
      margin: 0;
      padding: 0;
      list-style: none;
      display: grid;
      gap: 12px;
    }

    .diagnostic-list li,
    .recommendation-list li {
      padding-left: 18px;
      position: relative;
      color: var(--blue-72);
      line-height: 1.55;
    }

    .diagnostic-list li::before,
    .recommendation-list li::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0.7em;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--purple);
      transform: translateY(-50%);
    }

    .summary textarea {
      min-height: 170px;
      resize: vertical;
      margin-bottom: 14px;
    }

    .summary__meta {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      flex-wrap: wrap;
      color: var(--blue-42);
      font-size: 13px;
    }

    .summary__feedback {
      min-height: 20px;
      color: var(--mint-text);
      font-weight: 600;
    }

    [hidden] {
      display: none !important;
    }

    .features {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 16px;
    }

    .feature-card {
      padding: 24px;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .feature-card__title {
      margin: 0 0 10px;
      font-size: 22px;
      line-height: 1.15;
    }

    .feature-card p,
    .faq-card p,
    .cta p {
      margin: 0;
      color: var(--blue-72);
      line-height: 1.6;
    }

    .faq-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 16px;
    }

    .faq-card {
      padding: 24px;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .is-live-number {
      will-change: transform, filter;
    }

    .is-updating {
      animation: valuePulse 0.42s ease;
    }

    .is-live-copy {
      transition: opacity 0.2s ease;
    }

    .is-refreshing {
      animation: textBlink 0.34s ease;
    }

    .faq-card h3 {
      margin: 0 0 10px;
      font-size: 20px;
      line-height: 1.2;
    }

    .cta {
      padding: 34px;
      display: grid;
      grid-template-columns: 1fr max-content;
      gap: 24px;
      align-items: center;
    }

    .cta h2 {
      margin: 0 0 10px;
      font-size: clamp(28px, 4vw, 46px);
      line-height: 1;
    }

    .footer {
      padding: 12px 0 42px;
    }

    .footer__inner {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      align-items: center;
      color: var(--blue-42);
      font-size: 14px;
      flex-wrap: wrap;
    }

    .footer__links {
      display: flex;
      gap: 18px;
      flex-wrap: wrap;
    }

    .footer__links a:hover {
      color: var(--purple);
    }

    @media (max-width: 1180px) {
      .hero__layout,
      .calculator__layout,
      .cta {
        grid-template-columns: 1fr;
        min-height: auto;
      }

      .metrics,
      .standard-summary,
      .features,
      .faq-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .stack,
      .result-top {
        grid-template-columns: 1fr;
      }

      .preview__analysis {
        grid-template-columns: 1fr;
      }

      .preview__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .preview {
        max-height: none;
      }
    }

    @media (max-width: 860px) {
      .header__bar {
        grid-template-columns: 1fr;
        justify-items: start;
      }

      .nav {
        justify-content: flex-start;
      }

      .hero__panel,
      .preview,
      .panel,
      .cta {
        padding: 24px;
      }

      .form-grid,
      .metrics,
      .standard-summary,
      .features,
      .faq-grid {
        grid-template-columns: 1fr;
      }

      .preview__hero-meta,
      .preview__metrics {
        grid-template-columns: 1fr;
      }

      .preview__screen,
      .preview__chart,
      .preview__benchmark-panel,
      .preview__insight,
      .preview__glass-card {
        padding: 18px;
      }
    }

    @media (max-width: 640px) {
      .header {
        top: 12px;
        padding-top: 12px;
      }

      .container {
        width: min(var(--container), calc(100% - 20px));
      }

      .hero {
        padding-top: 24px;
      }

      .hero p {
        font-size: 18px;
      }

      .btn {
        width: 100%;
      }

      .hero__actions,
      .form-actions {
        flex-direction: column;
      }

      .hero h1 {
        font-size: clamp(34px, 10vw, 52px);
      }

      .preview {
        padding: 18px;
      }

      .preview__hero-meta {
        grid-template-columns: 1fr;
      }

      .preview__chart-head,
      .preview__benchmark-head {
        font-size: 12px;
      }

      .tooltip__bubble {
        left: 0;
        bottom: calc(100% + 8px);
        width: min(240px, calc(100vw - 48px));
        transform: translateY(0);
      }

      .tooltip__bubble::after {
        left: 18px;
        transform: rotate(45deg);
      }

      .tooltip:hover .tooltip__bubble,
      .tooltip:focus-within .tooltip__bubble,
      .tooltip.is-open .tooltip__bubble {
        transform: translateY(-2px);
      }
    }

    @media (prefers-reduced-motion: reduce) {
      *,
      *::before,
      *::after {
        animation: none !important;
        transition: none !important;
      }
    }