:root {
      --ink: #11130f;
      --ink-raised: #191c16;
      --ink-soft: #23271f;
      --paper: #f3f1e8;
      --paper-deep: #e8e9df;
      --signal: #c7f96b;
      --text: #f3f1e8;
      --muted: #a7ada1;
      --dark-text: #151711;
      --dark-muted: #62675e;
      --line: rgba(243, 241, 232, 0.16);
      --line-light: rgba(21, 23, 17, 0.17);
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      background: var(--ink);
      color: var(--text);
      font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      line-height: 1.55;
      -webkit-font-smoothing: antialiased;
    }

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

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

    button,
    summary,
    a {
      -webkit-tap-highlight-color: transparent;
    }

    a:focus-visible,
    summary:focus-visible,
    button:focus-visible,
    input:focus-visible,
    textarea:focus-visible,
    select:focus-visible {
      outline: 2px solid var(--signal);
      outline-offset: 4px;
    }

    input:focus-visible,
    textarea:focus-visible,
    select:focus-visible {
      outline-color: var(--dark-text);
      outline-offset: 2px;
    }

    .container {
      width: min(1160px, calc(100% - 48px));
      margin: 0 auto;
    }

    .site-header {
      border-bottom: 1px solid var(--line);
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      min-height: 86px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 11px;
      font-size: 16px;
      font-weight: 700;
      letter-spacing: -0.02em;
    }

    .brand img {
      display: block;
      width: 33px;
      height: 33px;
    }

    .brand span {
      color: var(--muted);
      font-weight: 400;
    }

    .nav-right {
      display: flex;
      align-items: center;
      gap: 27px;
    }

    .nav-links {
      display: flex;
      gap: 24px;
    }

    .nav-link {
      color: var(--muted);
      font-size: 14px;
      transition: color 160ms ease;
    }

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

    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      min-height: 51px;
      padding: 0 22px;
      border: 1px solid transparent;
      border-radius: 8px;
      font-size: 14px;
      font-weight: 650;
      cursor: pointer;
      transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
    }

    .button:hover {
      transform: translateY(-2px);
    }

    .button-small {
      min-height: 43px;
      padding: 0 17px;
    }

    .button-primary {
      background: var(--signal);
      color: var(--dark-text);
    }

    .button-primary:hover {
      background: #d4ff85;
    }

    .button-secondary {
      border-color: var(--line);
      background: transparent;
      color: var(--text);
    }

    .button-secondary:hover {
      border-color: rgba(243, 241, 232, 0.35);
      background: rgba(243, 241, 232, 0.04);
    }

    .button-dark {
      background: var(--dark-text);
      color: var(--text);
    }

    .button-dark:hover {
      background: #2a2e25;
    }

    .button-arrow {
      font-size: 18px;
      font-weight: 400;
      line-height: 1;
    }

    .hero {
      padding: 84px 0 92px;
    }

    .hero > div {
      display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
      column-gap: 70px;
      align-items: start;
    }

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

    h1 {
      grid-column: 1 / -1;
      grid-row: 1;
      max-width: 1100px;
      margin-bottom: 40px;
      font-size: clamp(66px, 7.6vw, 106px);
      font-weight: 600;
      letter-spacing: -0.042em;
      line-height: 0.96;
    }

    h1 em {
      display: block;
      color: var(--signal);
      font-family: "Instrument Serif", Georgia, serif;
      font-size: 1.08em;
      font-weight: 400;
      letter-spacing: -0.025em;
    }

    .hero-copy {
      grid-column: 1;
      grid-row: 2;
      max-width: 590px;
      margin-bottom: 0;
      color: var(--muted);
      font-size: 18px;
      line-height: 1.65;
    }

    .hero-offer {
      grid-column: 2;
      grid-row: 2;
      max-width: 520px;
      margin-bottom: 0;
      padding-left: 14px;
      border-left: 2px solid var(--signal);
      color: #d6dbd1;
      font-size: 14px;
    }

    .hero-actions {
      display: flex;
      grid-column: 1;
      grid-row: 3;
      flex-wrap: wrap;
      gap: 11px;
      margin-top: 8px;
    }

    .hero-email {
      grid-column: 2;
      grid-row: 3;
      align-self: center;
      margin: 8px 0 0;
      color: var(--muted);
      font-size: 14px;
    }

    .text-link {
      color: inherit;
      text-decoration: underline;
      text-decoration-color: rgba(243, 241, 232, 0.35);
      text-underline-offset: 4px;
    }

    .text-link:hover {
      text-decoration-color: currentColor;
    }

    .light-section {
      background: var(--paper);
      color: var(--dark-text);
    }

    .systems {
      padding: 92px 0 98px;
    }

    .section-intro {
      display: grid;
      grid-template-columns: 1fr 0.72fr;
      align-items: end;
      gap: 70px;
      margin-bottom: 49px;
    }

    .section-label {
      margin-bottom: 14px;
      color: var(--dark-muted);
      font-size: 14px;
      font-weight: 600;
    }

    .dark-label {
      color: var(--muted);
    }

    .section-intro h2,
    .technical-intro h2,
    .process-heading h2,
    .contact-copy h2 {
      margin-bottom: 0;
      font-size: clamp(40px, 4.5vw, 58px);
      font-weight: 550;
      letter-spacing: -0.045em;
      line-height: 1.02;
    }

    .section-intro > p {
      margin-bottom: 2px;
      color: var(--dark-muted);
      font-size: 16px;
      line-height: 1.65;
    }

    .system-groups {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 34px;
    }

    .system-group {
      padding-top: 19px;
      border-top: 2px solid var(--dark-text);
    }

    .system-group h3 {
      margin-bottom: 17px;
      font-size: 15px;
      font-weight: 650;
    }

    .system-group details {
      border-bottom: 1px solid var(--line-light);
    }

    .system-group summary {
      position: relative;
      padding: 13px 27px 13px 0;
      font-size: 19px;
      font-weight: 500;
      letter-spacing: -0.02em;
      list-style: none;
      cursor: pointer;
    }

    .system-group summary::-webkit-details-marker {
      display: none;
    }

    .system-group summary::after {
      position: absolute;
      top: 13px;
      right: 2px;
      content: "+";
      color: var(--dark-muted);
      font-size: 21px;
      font-weight: 400;
      transition: transform 160ms ease;
    }

    .system-group details[open] summary::after {
      transform: rotate(45deg);
    }

    .system-group details p {
      max-width: 280px;
      margin: -2px 0 15px;
      color: var(--dark-muted);
      font-size: 13px;
      line-height: 1.55;
    }

    .technical {
      padding: 98px 0 105px;
    }

    .technical-layout {
      display: grid;
      grid-template-columns: 0.8fr 1.2fr;
      gap: 95px;
    }

    .technical-intro {
      align-self: start;
    }

    .technical-intro > p:last-child {
      max-width: 390px;
      margin: 24px 0 0;
      color: var(--muted);
      font-size: 16px;
      line-height: 1.7;
    }

    .tech-list {
      border-bottom: 1px solid var(--line);
    }

    .tech-item {
      display: grid;
      grid-template-columns: 190px 1fr;
      gap: 28px;
      padding: 25px 0;
      border-top: 1px solid var(--line);
    }

    .tech-item h3 {
      margin: 0;
      font-size: 18px;
      font-weight: 550;
      letter-spacing: -0.025em;
      line-height: 1.3;
    }

    .tech-item p {
      margin: 0;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.7;
    }

    .process {
      padding: 96px 0 102px;
    }

    .process-layout {
      display: grid;
      grid-template-columns: 0.92fr 1.08fr;
      gap: 85px;
      align-items: start;
    }

    .process-heading {
      margin-bottom: 34px;
    }

    .process-list {
      margin: 0;
      padding: 0;
      list-style: none;
      border-bottom: 1px solid var(--line-light);
    }

    .process-step {
      display: grid;
      grid-template-columns: 43px 1fr;
      gap: 16px;
      padding: 21px 0;
      border-top: 1px solid var(--line-light);
    }

    .step-number {
      padding-top: 1px;
      font-family: "Instrument Serif", Georgia, serif;
      font-size: 26px;
      font-style: italic;
      line-height: 1;
    }

    .process-step h3 {
      margin-bottom: 6px;
      font-size: 17px;
      font-weight: 600;
      letter-spacing: -0.02em;
    }

    .process-step p {
      margin: 0;
      color: var(--dark-muted);
      font-size: 14px;
      line-height: 1.65;
    }

    .scope-note {
      margin: 20px 0 0;
      color: var(--dark-muted);
      font-size: 13px;
    }

    .code-panel {
      overflow: hidden;
      border-radius: 15px;
      background: var(--ink-raised);
      color: var(--text);
    }

    .code-heading {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      padding: 18px 22px;
      border-bottom: 1px solid var(--line);
      font-size: 13px;
    }

    .code-heading span:last-child {
      color: var(--muted);
      font-size: 12px;
    }

    .code-panel pre {
      overflow-x: auto;
      margin: 0;
      padding: 26px 24px;
      color: #e4e9df;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
      font-size: 13px;
      line-height: 1.8;
      tab-size: 2;
    }

    .code-keyword {
      color: var(--signal);
    }

    .code-string {
      color: #e4c98f;
    }

    .integration-note {
      margin: 0;
      padding: 18px 22px;
      border-top: 1px solid var(--line);
      color: var(--muted);
      font-size: 13px;
      line-height: 1.6;
    }

    .contact {
      padding: 98px 0 34px;
    }

    .contact-layout {
      display: grid;
      grid-template-columns: 0.85fr 1.15fr;
      gap: 90px;
      align-items: start;
    }

    .contact-copy > p {
      max-width: 420px;
      margin: 24px 0 0;
      color: var(--muted);
      font-size: 16px;
      line-height: 1.7;
    }

    .contact-email {
      display: inline-block;
      margin-top: 25px;
      font-size: 17px;
      font-weight: 550;
    }

    .contact-form {
      position: relative;
      padding: 30px;
      border-radius: 16px;
      background: var(--paper);
      color: var(--dark-text);
    }

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

    .field {
      min-width: 0;
    }

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

    .field label {
      display: block;
      margin-bottom: 7px;
      font-size: 13px;
      font-weight: 600;
    }

    .field input,
    .field textarea,
    .field select {
      width: 100%;
      border: 1px solid rgba(21, 23, 17, 0.23);
      border-radius: 7px;
      background: #fbfaf5;
      color: var(--dark-text);
      font-size: 15px;
    }

    .field input,
    .field select {
      min-height: 49px;
      padding: 0 13px;
    }

    .field textarea {
      min-height: 112px;
      padding: 12px 13px;
      line-height: 1.5;
      resize: vertical;
    }

    .field input::placeholder,
    .field textarea::placeholder {
      color: #858a80;
    }

    .field-optional {
      color: var(--dark-muted);
      font-weight: 400;
    }

    .form-honey {
      position: absolute;
      left: -10000px;
      width: 1px;
      height: 1px;
      opacity: 0;
    }

    .form-submit {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      margin-top: 22px;
    }

    .form-note {
      max-width: 230px;
      margin: 0;
      color: var(--dark-muted);
      font-size: 12px;
      line-height: 1.5;
    }

    .form-note a {
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .form-status {
      margin: 16px 0 0;
      color: #8b3428;
      font-size: 13px;
      line-height: 1.5;
    }

    .button:disabled {
      opacity: 0.62;
      cursor: wait;
      transform: none;
    }

    .footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 25px;
      margin-top: 82px;
      padding: 25px 0 4px;
      border-top: 1px solid var(--line);
      color: var(--muted);
      font-size: 12px;
    }

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

    .footer-links {
      display: flex;
      gap: 22px;
    }

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

    @media (max-width: 1000px) {
      .nav-right {
        gap: 18px;
      }

      .hero > div {
        display: block;
      }

      .hero-copy,
      .hero-offer {
        max-width: 680px;
      }

      .hero-copy {
        margin-bottom: 20px;
      }

      .hero-offer {
        margin-bottom: 30px;
      }

      .hero-email {
        margin-top: 19px;
      }

      .section-intro {
        grid-template-columns: 1fr;
        gap: 23px;
      }

      .section-intro > p {
        max-width: 620px;
      }

      .technical-layout,
      .process-layout,
      .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
      }

      .technical-intro > p:last-child,
      .contact-copy > p {
        max-width: 620px;
      }

      .code-panel {
        max-width: 720px;
      }
    }

    @media (max-width: 720px) {
      .container {
        width: min(100% - 36px, 1160px);
      }

      .nav {
        min-height: 76px;
      }

      .brand span {
        display: none;
      }

      .button-small {
        min-height: 41px;
        padding: 0 14px;
        font-size: 12px;
      }

      .hero {
        padding: 58px 0 68px;
      }

      h1 {
        font-size: clamp(50px, 13.5vw, 68px);
      }

      .hero-copy {
        font-size: 16px;
      }

      .systems,
      .technical,
      .process {
        padding: 72px 0;
      }

      .system-groups {
        grid-template-columns: 1fr;
        gap: 38px;
      }

      .tech-item {
        grid-template-columns: 1fr;
        gap: 9px;
      }

      .contact {
        padding-top: 72px;
      }

      .contact-form {
        padding: 22px;
      }

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

      .field-full {
        grid-column: auto;
      }

      .form-submit {
        align-items: stretch;
        flex-direction: column;
      }

      .form-note {
        max-width: none;
      }

      .footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        margin-top: 58px;
      }

      .footer-links {
        flex-wrap: wrap;
      }
    }

    @media (max-width: 410px) {
      .hero-actions {
        flex-direction: column;
      }

      .hero-actions .button {
        width: 100%;
      }

      .code-panel pre {
        font-size: 12px;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      html {
        scroll-behavior: auto;
      }

      *,
      *::before,
      *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }

    }
