:root {
      --bg: #111312;
      --panel: #1d211f;
      --panel-soft: #252b28;
      --field: #171a18;
      --text: #eef4ef;
      --muted: #a8b4ad;
      --line: #354039;
      --line-soft: rgba(143, 185, 150, 0.18);
      --accent: #8fb996;
      --accent-strong: #c7e5bf;
      --danger: #e27f7f;
      --max: 1240px;
      --radius: 18px;
    }

    * { box-sizing: border-box; }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: var(--text);
      background:
        radial-gradient(circle at 78% 8%, rgba(143, 185, 150, 0.08), transparent 28rem),
        radial-gradient(circle at 10% 34%, rgba(143, 185, 150, 0.045), transparent 24rem),
        var(--bg);
      font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
      line-height: 1.5;
      min-width: 320px;
    }

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

    .container {
      width: min(calc(100% - 40px), var(--max));
      margin: 0 auto;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      color: var(--accent-strong);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: .16em;
      text-transform: uppercase;
    }

    .eyebrow::before {
      content: "";
      width: 22px;
      height: 1px;
      background: var(--accent);
      opacity: .8;
    }

    .topbar {
      position: sticky;
      top: 0;
      z-index: 20;
      border-bottom: 1px solid rgba(53, 64, 57, .72);
      background: rgba(17, 19, 18, .86);
      backdrop-filter: blur(16px);
    }

    .nav {
      height: 72px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 28px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 13px;
      font-weight: 800;
      letter-spacing: -.02em;
    }

    .brand-mark {
      width: 40px;
      height: 40px;
      border-radius: 11px;
      display: grid;
      place-items: center;
      background: linear-gradient(145deg, var(--accent-strong), var(--accent));
      color: #172019;
      font-size: 14px;
      letter-spacing: .04em;
    }

    .brand small {
      display: block;
      color: var(--muted);
      font-size: 10px;
      font-weight: 600;
      letter-spacing: .12em;
      text-transform: uppercase;
      margin-top: 1px;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 27px;
      color: var(--muted);
      font-size: 14px;
    }

    .nav-links a:hover { color: var(--text); }

    .nav-cta {
      padding: 10px 16px;
      border: 1px solid var(--line);
      border-radius: 10px;
      color: var(--text);
      background: var(--panel);
    }

    .hero {
      padding: 78px 0 52px;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.16fr) minmax(360px, .84fr);
      gap: 58px;
      align-items: center;
    }

    h1, h2, h3, p { margin-top: 0; }

    h1 {
      max-width: 790px;
      margin: 18px 0 24px;
      font-size: clamp(44px, 6vw, 78px);
      line-height: .98;
      letter-spacing: -.055em;
      font-weight: 820;
    }

    .hero h1 span {
      color: var(--accent-strong);
    }

    .lead {
      max-width: 680px;
      color: var(--muted);
      font-size: clamp(17px, 2vw, 20px);
      line-height: 1.65;
      margin-bottom: 31px;
    }

    .actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-bottom: 27px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 48px;
      padding: 0 19px;
      border-radius: 11px;
      border: 1px solid var(--line);
      background: var(--panel);
      color: var(--text);
      font-weight: 700;
      font-size: 14px;
      transition: transform .18s ease, border-color .18s ease, background .18s ease;
    }

    .btn:hover {
      transform: translateY(-1px);
      border-color: rgba(143,185,150,.55);
    }

    .btn-primary {
      background: var(--accent);
      border-color: var(--accent);
      color: #152019;
    }

    .btn-primary:hover {
      background: var(--accent-strong);
      border-color: var(--accent-strong);
    }

    .micro {
      color: #87948c;
      font-size: 12px;
    }

    .hero-card {
      position: relative;
      padding: 24px;
      border: 1px solid var(--line);
      border-radius: 22px;
      background: linear-gradient(145deg, rgba(37,43,40,.94), rgba(29,33,31,.96));
      box-shadow: 0 30px 70px rgba(0,0,0,.2);
      overflow: hidden;
    }

    .hero-card::after {
      content: "";
      position: absolute;
      width: 190px;
      height: 190px;
      border-radius: 50%;
      right: -85px;
      top: -100px;
      background: rgba(143,185,150,.12);
      filter: blur(4px);
    }

    .terminal-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-bottom: 18px;
      border-bottom: 1px solid var(--line);
    }

    .terminal-title {
      font-size: 13px;
      color: var(--muted);
      font-weight: 650;
    }

    .status {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      color: var(--accent-strong);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .status::before {
      content: "";
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--accent);
      box-shadow: 0 0 0 4px rgba(143,185,150,.09);
    }

    .flow {
      padding: 12px 0 4px;
      display: grid;
      gap: 10px;
    }

    .flow-item {
      display: grid;
      grid-template-columns: 30px 1fr auto;
      gap: 12px;
      align-items: center;
      padding: 14px;
      border: 1px solid var(--line-soft);
      background: rgba(23,26,24,.72);
      border-radius: 12px;
    }

    .flow-num {
      width: 28px;
      height: 28px;
      border-radius: 8px;
      display: grid;
      place-items: center;
      background: rgba(143,185,150,.13);
      color: var(--accent-strong);
      font-size: 11px;
      font-weight: 800;
    }

    .flow-main strong {
      display: block;
      font-size: 13px;
      margin-bottom: 2px;
    }

    .flow-main span {
      color: var(--muted);
      font-size: 11px;
    }

    .flow-arrow {
      color: #708078;
      font-size: 18px;
    }

    .metric-strip {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
      margin-top: 12px;
    }

    .metric {
      padding: 14px;
      border-radius: 12px;
      border: 1px solid var(--line);
      background: rgba(17,19,18,.48);
    }

    .metric b {
      display: block;
      font-size: 19px;
      letter-spacing: -.02em;
    }

    .metric span {
      color: var(--muted);
      font-size: 10px;
    }

    .section {
      padding: 82px 0;
    }

    .section-head {
      max-width: 720px;
      margin-bottom: 34px;
    }

    h2 {
      margin: 13px 0 12px;
      font-size: clamp(30px, 4vw, 47px);
      line-height: 1.06;
      letter-spacing: -.04em;
    }

    .section-head p {
      color: var(--muted);
      margin-bottom: 0;
      font-size: 16px;
      line-height: 1.65;
    }

    .feature-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 14px;
    }

    .feature:nth-child(4) { grid-column: 1 / 2; }
    .feature:nth-child(5) { grid-column: 2 / 3; }

    .feature {
      min-height: 174px;
      padding: 20px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: linear-gradient(145deg, rgba(37,43,40,.72), rgba(29,33,31,.78));
    }

    .feature-icon {
      width: 38px;
      height: 38px;
      flex: 0 0 38px;
      display: grid;
      place-items: center;
      border-radius: 10px;
      background: rgba(143,185,150,.11);
      border: 1px solid var(--line-soft);
      color: var(--accent-strong);
      font-size: 13px;
      font-weight: 800;
    }

    .feature-title {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 11px;
      min-height: 38px;
      margin-bottom: 14px;
      text-align: left;
    }

    .feature h3 {
      margin: 0;
      font-size: 18px;
      letter-spacing: -.015em;
    }

    .feature p {
      color: var(--muted);
      font-size: 14px;
      line-height: 1.55;
      margin-bottom: 0;
    }

    .dark-panel {
      padding: 31px;
      border: 1px solid var(--line);
      border-radius: 22px;
      background: var(--panel);
    }

    .support-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 14px;
    }

    .support-card {
      padding: 22px 24px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: linear-gradient(145deg, rgba(37,43,40,.72), rgba(29,33,31,.78));
    }

    .support-card.wide {
      grid-column: auto;
    }

    .support-card h3 {
      margin: 0 0 16px;
      font-size: 18px;
    }

    .tags {
      display: flex;
      flex-wrap: nowrap;
      gap: 9px;
      width: 100%;
    }

    .tag {
      flex: 1 1 0;
      padding: 12px 15px;
      border: 1px solid rgba(143,185,150,.34);
      border-radius: 9px;
      background: rgba(143,185,150,.10);
      color: var(--accent-strong);
      font-size: 13px;
      font-weight: 650;
      text-align: center;
      white-space: nowrap;
    }

    .scenario-list {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 10px;
    }

    .scenario {
      min-height: 132px;
      padding: 15px;
      border-radius: 14px;
      border: 1px solid var(--line);
      background: rgba(23,26,24,.62);
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      gap: 12px;
    }

    .scenario-num {
      width: 38px;
      height: 38px;
      display: grid;
      place-items: center;
      border-radius: 10px;
      background: rgba(143,185,150,.11);
      border: 1px solid var(--line-soft);
      color: var(--accent-strong);
      font-size: 11px;
      font-weight: 800;
    }

    .scenario span:last-child {
      color: #dce5df;
      font-size: 15px;
      font-weight: 650;
      line-height: 1.35;
    }

    .process {
      display: grid;
      grid-template-columns: .82fr 1.18fr;
      gap: 48px;
      align-items: start;
    }

    .process-copy p {
      color: var(--muted);
      line-height: 1.7;
      font-size: 15px;
    }

    .steps {
      display: grid;
      gap: 10px;
    }

    .step {
      display: grid;
      grid-template-columns: 48px 1fr;
      gap: 15px;
      padding: 19px;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: var(--panel);
    }

    .step-no {
      width: 42px;
      height: 42px;
      display: grid;
      place-items: center;
      border-radius: 11px;
      background: var(--accent);
      color: #162019;
      font-weight: 850;
      font-size: 13px;
    }

    .step h3 {
      margin: 1px 0 5px;
      font-size: 15px;
    }

    .step p {
      margin: 0;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.55;
    }

    .cta {
      padding: 0 0 88px;
    }

    .cta-box {
      position: relative;
      overflow: hidden;
      padding: 48px;
      border-radius: 23px;
      border: 1px solid rgba(143,185,150,.35);
      background:
        linear-gradient(120deg, rgba(143,185,150,.12), transparent 56%),
        var(--panel);
    }

    .cta-box::before {
      content: "CORRECTIONHANDLER";
      position: absolute;
      right: -5px;
      bottom: -28px;
      color: rgba(199,229,191,.035);
      font-size: clamp(60px, 10vw, 130px);
      font-weight: 900;
      letter-spacing: -.07em;
      pointer-events: none;
      white-space: nowrap;
    }

    .cta-box h2 {
      max-width: 720px;
    }

    .cta-box p {
      max-width: 650px;
      color: var(--muted);
      margin-bottom: 25px;
    }


    .modal {
      position: fixed;
      inset: 0;
      z-index: 100;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 20px;
      background: rgba(0, 0, 0, .68);
      backdrop-filter: blur(8px);
    }

    .modal.is-open {
      display: flex;
    }

    .modal-card {
      width: min(100%, 620px);
      max-height: min(90vh, 760px);
      overflow: auto;
      padding: 30px;
      border: 1px solid var(--line);
      border-radius: 20px;
      background: var(--panel);
      box-shadow: 0 30px 90px rgba(0,0,0,.45);
      position: relative;
    }

    .modal-close {
      position: absolute;
      top: 17px;
      right: 17px;
      width: 36px;
      height: 36px;
      border: 1px solid var(--line);
      border-radius: 9px;
      background: var(--field);
      color: var(--muted);
      cursor: pointer;
      font-size: 20px;
      line-height: 1;
    }

    .modal-close:hover {
      color: var(--text);
      border-color: rgba(143,185,150,.5);
    }

    .modal-card h2 {
      padding-right: 45px;
      font-size: 34px;
      margin-bottom: 8px;
    }

    .modal-subtitle {
      color: var(--muted);
      font-size: 13px;
      margin-bottom: 24px;
    }

    .form {
      display: grid;
      gap: 14px;
    }

    .form-field {
      display: grid;
      gap: 7px;
    }

    .form-field label {
      color: #dce5df;
      font-size: 12px;
      font-weight: 650;
    }

    .form-field input,
    .form-field select {
      width: 100%;
      min-height: 46px;
      padding: 0 13px;
      border: 1px solid var(--line);
      border-radius: 10px;
      outline: none;
      background: var(--field);
      color: var(--text);
      font: inherit;
      font-size: 13px;
    }

    .form-field input::placeholder {
      color: #69756e;
    }

    .form-field input:focus,
    .form-field select:focus {
      border-color: rgba(143,185,150,.65);
      box-shadow: 0 0 0 3px rgba(143,185,150,.08);
    }

    .form-submit {
      width: 100%;
      margin-top: 5px;
      cursor: pointer;
    }

    .form-success {
      display: none;
      padding: 14px;
      border: 1px solid rgba(143,185,150,.3);
      border-radius: 11px;
      background: rgba(143,185,150,.08);
      color: var(--accent-strong);
      font-size: 13px;
      line-height: 1.5;
    }

    .form-success.is-visible {
      display: block;
    }

    footer {
      padding: 28px 0 36px;
      border-top: 1px solid var(--line);
      color: var(--muted);
      font-size: 12px;
    }

    .footer-row {
      display: flex;
      justify-content: space-between;
      gap: 20px;
      align-items: center;
    }

    .footer-brand {
      color: var(--text);
      font-weight: 750;
    }

    .footer-note {
      text-align: right;
    }

    @media (max-width: 980px) {
      .hero-grid, .process { grid-template-columns: 1fr; }
      .hero-card { max-width: 680px; }
      .feature-grid { grid-template-columns: repeat(2, 1fr); }
      .feature:nth-child(4), .feature:nth-child(5) { grid-column: auto; }
      .scenario-list { grid-template-columns: repeat(2, 1fr); }
      .scenario:last-child { grid-column: 1 / -1; }
      .tags { flex-wrap: wrap; }
      .tag { flex: 1 1 auto; }
    }

    @media (max-width: 700px) {
      .container { width: min(calc(100% - 28px), var(--max)); }
      .nav { height: 62px; }
      .nav-links { display: none; }
      .hero { padding-top: 55px; }
      h1 { font-size: clamp(40px, 13vw, 60px); }
      .feature-grid, .support-grid { grid-template-columns: 1fr; }
      .support-card.wide { grid-column: auto; }
      .scenario-list { grid-template-columns: 1fr; }
      .tags { flex-wrap: wrap; }
      .tag { flex: 1 1 100%; }
      .scenario:last-child { grid-column: auto; }
      .cta-box { padding: 30px 24px; }
      .footer-row { align-items: flex-start; flex-direction: column; }
      .footer-note { text-align: left; }
    }
