/* Fanout-inspired presentation. Screen-only so quotation print styles stay independent. */
@font-face {
  font-family: "Overused Grotesk";
  src: url("/assets/fonts/OverusedGrotesk-VF.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/IBMPlexMono-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@media screen {
  :root {
    --ink: #272727;
    --muted: #626269;
    --line: #e0e0e4;
    --soft: #f4f4f5;
    --accent: #1d1d1d;
    --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
    font-family:
      "Overused Grotesk",
      -apple-system,
      BlinkMacSystemFont,
      "Segoe UI",
      sans-serif;
    background: #f7f7f8;
  }

  body {
    background: #f7f7f8;
    font-size: 14px;
  }
  .site-frame {
    border: 0;
    box-shadow: none;
    background: #f7f7f8;
  }
  body > .masthead {
    height: 64px;
    padding-inline: 24px;
    gap: 24px;
    background: #fff;
    border-color: #e8e8ea;
  }
  .masthead .brand img {
    width: 176px;
  }
  .edition {
    border-color: #e8e8ea;
    padding-left: 24px;
    color: var(--muted);
  }
  .header-actions {
    gap: 24px;
  }
  .header-actions > .text-button {
    font-size: 13px;
  }
  .header-button-box {
    background: #fff;
    border-color: var(--line);
    border-radius: 9px;
  }
  .header-actions .header-button-box > .header-email {
    border-color: transparent;
    background: #f4f4f5;
    border-radius: 6px;
  }
  .header-actions .header-email:hover {
    background: #e8e8ea;
  }
  .header-login,
  .login-submit {
    background: linear-gradient(#272727, #414141);
    border-color: #515151;
    box-shadow:
      0 1px 2px #27272726,
      inset 0 1px 0 #ffffff26;
  }
  .header-login:hover,
  .login-submit:hover {
    background: #353538;
  }

  .site-frame > .chapter-footer {
    background: #fafafa;
    border-color: #e8e8ea;
    padding: 24px 14px;
  }
  .chapter-footer .chapters {
    gap: 6px;
  }
  .chapter-footer .chapters a {
    min-height: 44px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #626269;
    border: 1px solid transparent;
    border-radius: 6px;
  }
  .chapter-footer .chapters a[aria-current] {
    background: #f0f0f2;
    color: #272727;
  }
  .chapter-footer .chapters a:hover {
    background: #f0f0f2;
    color: #272727;
  }
  .outside-footer {
    min-height: 28px;
    height: 28px;
    padding-inline: 24px;
    background: #fafafa;
    border-color: #e8e8ea;
    color: #626269;
    font-weight: 400;
    letter-spacing: 0;
  }
  .outside-footer .text-button {
    font-weight: 400;
  }

  .content-tabs {
    min-height: 60px;
    align-items: center;
    padding: 10px 32px;
    gap: 6px;
    background: #f7f7f8;
    border-color: #e8e8ea;
  }
  .content-tabs [role="tab"] {
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: #626269;
  }
  .content-tabs [role="tab"]:hover {
    background: #ededf0;
    color: #272727;
  }
  .content-tabs [aria-selected="true"] {
    background: #eaeaec;
    border-color: #e0e0e4;
    color: #272727;
  }
  .content-tabs-layout #main > [data-screen] {
    padding: 36px clamp(24px, 3.5vw, 56px) 48px;
    scrollbar-color: #c9c9cf #f7f7f8;
  }
  .content-tabs-layout #main > [data-screen]::-webkit-scrollbar {
    width: 8px;
  }
  .content-tabs-layout #main > [data-screen]::-webkit-scrollbar-thumb {
    background: #c9c9cf;
    border: 2px solid #f7f7f8;
    border-radius: 8px;
  }
  .content-tabs-layout #main > [data-screen]::-webkit-scrollbar-track {
    background: #f7f7f8;
  }
  h1,
  h2,
  h3 {
    font-weight: 500;
    letter-spacing: -0.025em;
  }
  .eyebrow {
    color: #626269;
    font-size: 10px;
    letter-spacing: 0.035em;
  }
  .tiny-mark {
    border-color: #626269;
  }
  .lead {
    font-size: 17px;
    line-height: 1.6;
    color: #626269;
  }
  .text-button {
    font-weight: 500;
  }
  .button {
    min-height: 44px;
    border-radius: 7px;
    background: linear-gradient(#272727, #414141);
    border-color: #515151;
    box-shadow:
      0 1px 2px #27272726,
      inset 0 1px 0 #ffffff26;
    font-size: 13px;
  }
  .button:hover {
    background: #353538;
    border-color: #353538;
  }
  .button-outline {
    background: #fff;
    color: #272727;
    border-color: #dedee2;
    box-shadow: 0 1px 2px #2727270a;
  }
  .button-outline:hover {
    background: #f0f0f2;
    border-color: #c9c9cf;
    color: #272727;
  }
  button:focus-visible,
  a:focus-visible,
  input:focus-visible,
  select:focus-visible,
  textarea:focus-visible,
  [tabindex]:focus-visible {
    outline-color: #626269;
  }

  .content-tabs-layout #overview[data-page-kind] {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
    background: radial-gradient(ellipse at 50% 28%, #fff 0, #f7f7f8 65%);
  }
  #overview .hero-copy {
    width: 100%;
    max-width: 800px;
    margin-inline: auto;
    padding: 56px 0 24px;
    text-align: center;
  }
  #overview h1 {
    font-size: clamp(48px, 6vw, 80px);
    line-height: 1.01;
    margin: 28px 0;
    font-weight: 400;
    letter-spacing: -0.052em;
  }
  #overview h1 em {
    color: #272727;
  }
  #overview .lead {
    max-width: 580px;
    margin-inline: auto;
  }
  #overview .hero-actions {
    justify-content: center;
  }
  #overview .hero-actions .button {
    min-height: 48px;
    border-radius: 9px;
    padding-inline: 21px;
  }
  .hero-actions {
    margin-top: 28px;
    gap: 20px;
  }
  .entry-price {
    border-color: #e0e0e4;
    margin-top: 32px;
    padding-top: 20px;
  }
  .entry-price strong {
    font-weight: 500;
  }
  #overview .entry-price {
    margin-inline: auto;
  }
  .content-tabs-layout #overview .stack-illustration {
    width: min(740px, 100%);
    margin-inline: auto;
    padding: 24px;
    background: #fff;
    border: 1px solid #e8e8ea;
    border-radius: 12px;
    box-shadow: 0 1px 2px #3b3b3b0d;
  }
  .diagram-caption {
    padding-inline: 0;
    color: #626269;
  }
  .stack-grid {
    padding: 12px 0 20px;
    background-image: none;
    gap: 16px;
  }
  .stack-card {
    padding: 18px 16px;
    border-color: #dedee2;
    background: #fff;
    box-shadow: 0 1px 2px #3b3b3b0a;
    border-radius: 8px;
  }
  .stack-card strong {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
  }
  .stack-card div > span {
    font-size: 12px;
  }
  .stack-card small {
    font-size: 9px;
  }
  .stack-icon {
    background: #f4f4f5;
    color: #626269;
    border-color: #e8e8ea;
  }
  .stack-line {
    border-color: #c9c9cf;
  }
  .port {
    background: #a7a7af;
  }
  .operator-strip {
    margin-inline: 0;
    font-size: 11px;
  }
  .operator-symbol {
    background: #1d1d1d;
  }
  .operator-label {
    font-size: 8px;
  }
  .content-tabs-layout #overview .overview-proof {
    padding-top: 36px;
    border-color: #e0e0e4;
  }
  .overview-proof-intro h2 {
    font-size: 32px;
  }
  .overview-proof-intro > p:last-child {
    font-size: 15px;
    line-height: 1.6;
    max-width: 65ch;
  }
  .overview-benefits {
    gap: 16px;
  }
  .overview-benefits article {
    padding: 22px;
    background: #fff;
    border-color: #e8e8ea;
    border-radius: 12px;
  }
  .overview-benefits h3 {
    font-size: 18px;
  }
  .overview-benefits p {
    font-size: 14px;
    line-height: 1.6;
  }
  .industry-strip {
    border-color: #e0e0e4;
    gap: 10px;
    padding-top: 24px;
  }
  .industry-strip span {
    padding: 10px 12px;
    background: #fff;
    color: #626269;
    border-color: #e0e0e4;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 400;
  }

  .screen-title h2 {
    font-size: 36px;
    line-height: 1.1;
  }
  .content-tabs-layout #platform .platform-content,
  .content-tabs-layout #platform .platform-aside,
  .plan-card,
  .live-estimate,
  .contact-form-card,
  .contact-detail-card {
    border: 1px solid #e8e8ea;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 2px #3b3b3b0d;
  }
  .content-tabs-layout #platform .platform-content {
    padding: 32px;
  }
  .platform-content h3 {
    letter-spacing: -0.025em;
  }
  .platform-content p,
  .platform-aside p {
    line-height: 1.65;
  }
  .mini-architecture > span,
  .capability-tags span,
  .runtime-chip,
  .status-pill {
    border-color: #e0e0e4;
    background: #f4f4f5;
    color: #4a4a4a;
  }
  .console-preview {
    background: #fafafa;
    border-color: #e0e0e4;
  }
  .console-preview > div {
    border-color: #e8e8ea;
  }
  .plan-arrows .icon-button,
  .icon-button {
    border-color: #dedee2;
    border-radius: 6px;
  }
  .plan-card {
    padding: 28px;
  }
  .plan-card-heading,
  .plan-price,
  .plan-features li {
    border-color: #e8e8ea;
  }
  .pill {
    background: #f0f0f2;
    color: #4a4a4a;
    border-color: #e0e0e4;
  }

  .content-tabs-layout #configure .configuration-choice {
    background: #fff;
    border: 1px solid #e8e8ea;
    border-radius: 12px;
    padding: 24px;
  }
  .quantity-row,
  .toggle-row,
  .number-row,
  .estimate-table td,
  .estimate-table th,
  .live-estimate dl > div {
    border-color: #e8e8ea;
  }
  .stepper,
  .stepper button,
  .period-bar,
  .segmented {
    background: #fff;
    border-color: #dedee2;
  }
  .stepper button:hover {
    background: #f0f0f2;
  }
  .stepper input,
  .number-row input {
    background: #fff;
  }
  .live-estimate {
    padding: 22px;
  }
  input:not([type="checkbox"]):not([type="range"]),
  select,
  textarea,
  #contact-form input,
  #contact-form select,
  #contact-form textarea,
  .login-card input {
    background: #fff;
    border-color: #c9c9cf;
    border-radius: 6px;
  }
  input[type="checkbox"],
  input[type="range"] {
    accent-color: #272727;
  }
  .customer-fields input:focus,
  #contact-form input:focus,
  #contact-form select:focus,
  #contact-form textarea:focus,
  .login-card input:focus {
    border-color: #626269;
  }
  .ready-panel {
    background: #fff;
    border-color: #e8e8ea;
    border-radius: 12px;
  }
  .contact-detail-card {
    background: #fff;
  }
  .contact-detail-card h3,
  .contact-form-card h3 {
    font-weight: 500;
  }
  .contact-email-list a {
    color: #272727;
  }
  .contact-form-card,
  .contact-detail-card {
    padding: 28px;
  }

  #notes-dialog {
    background: #fff;
    border-color: #dedee2;
    border-radius: 12px;
  }
  .notes-header,
  .notes-footer,
  .notes-rail {
    background: #fafafa;
    border-color: #e8e8ea;
  }
  #notes-dialog::backdrop {
    background: #27272755;
    backdrop-filter: blur(4px);
  }
  .notes-rail-mark,
  .notes-rail label {
    color: #626269;
  }
  .notes-topic-control {
    border-color: #c9c9cf;
  }
  .notes-topic-control:focus-within {
    outline-color: #626269;
  }
  .configuration-choice-control select {
    border-color: #c9c9cf;
  }
  .stepper input {
    border-radius: 0;
  }
  .console-preview i,
  .live-dot {
    background: #2ab673;
  }
  .ready-mark {
    background: #f0f0f2;
    color: #272727;
    border-color: #dedee2;
  }
  .login-page {
    background: #f7f7f8;
  }
  .login-card {
    border-color: #e0e0e4;
    box-shadow: 0 2px 8px #3b3b3b0a;
  }
  .login-card h2 {
    font-weight: 500;
  }
  .login-support {
    color: #626269;
  }
  .login-error {
    color: #a32626;
  }

  @media (min-width: 1100px) {
    .site-frame {
      grid-template-columns: 232px minmax(0, 1fr);
    }
  }
  @media (min-width: 761px) and (max-width: 1099px) {
    .site-frame {
      grid-template-columns: 196px minmax(0, 1fr);
    }
    .content-tabs-layout #overview[data-page-kind] {
      grid-template-columns: minmax(0, 1fr);
    }
    .content-tabs-layout #overview .stack-illustration {
      max-width: 660px;
    }
  }
  @media (max-width: 760px) {
    body {
      --mobile-header-height: 64px;
    }
    body > .masthead {
      gap: 10px;
      padding-inline: 12px;
    }
    .masthead .brand img {
      width: clamp(100px, 27vw, 160px);
    }
    .mobile-nav-toggle {
      border-color: transparent;
      background: #f4f4f5;
      border-radius: 6px;
      font-size: 23px;
    }
    .site-frame > .chapter-footer {
      background: #fafafa;
      padding: 14px;
      box-shadow: 0 8px 24px #27272714;
      border-radius: 0 0 10px 0;
      max-height: calc(100dvh - var(--mobile-header-height, 64px) - 28px);
    }
    .header-actions {
      gap: 8px;
    }
    .header-login {
      padding-inline: 12px;
    }
    .content-tabs {
      min-height: 56px;
      padding: 8px 16px;
    }
    .content-tabs [role="tab"] {
      min-height: 36px;
      padding-inline: 12px;
      font-size: 12px;
    }
    .content-tabs-layout #main > [data-screen] {
      padding: 28px 20px 36px;
    }
    .content-tabs-layout #overview[data-page-kind] {
      gap: 32px;
    }
    #overview .hero-copy {
      padding: 28px 0 12px;
    }
    #overview h1 {
      font-size: clamp(40px, 11.5vw, 57px);
      margin-block: 24px;
    }
    .lead {
      font-size: 16px;
    }
    .hero-actions {
      gap: 16px;
      margin-top: 24px;
    }
    .entry-price {
      margin-top: 24px;
    }
    .content-tabs-layout #overview .stack-illustration {
      padding: 20px;
    }
    .stack-card {
      padding: 14px 12px;
      gap: 12px;
    }
    .stack-card strong {
      font-size: 13px;
    }
    .stack-card div > span {
      font-size: 11px;
    }
    .edge-card {
      margin-right: 16px;
    }
    .app-card {
      margin-inline: 8px;
    }
    .db-card {
      margin-left: 16px;
    }
    .operator-strip {
      flex-wrap: wrap;
      gap: 8px;
    }
    .operator-label {
      margin-left: 34px;
    }
    .overview-proof-intro h2,
    .screen-title h2 {
      font-size: 30px;
    }
    .overview-benefits article {
      padding: 20px;
    }
    .content-tabs-layout #platform .platform-content {
      padding: 24px;
    }
    .plan-card {
      padding: 24px;
    }
    .outside-footer {
      padding-inline: 12px;
      font-size: 9px;
      letter-spacing: 0;
    }
    .outside-footer .text-button {
      font-size: 9px;
    }
  }
  @media (max-width: 480px) {
    body {
      --mobile-header-height: 60px;
    }
    body > .masthead {
      height: 60px;
      padding-inline: 10px;
    }
    .contact-form-card,
    .contact-detail-card {
      padding: 20px;
    }
  }
  @media (max-width: 360px) {
    body > .masthead {
      gap: 8px;
      padding-inline: 8px;
    }
    .masthead .brand img {
      width: 100px;
    }
    .header-login {
      padding-inline: 10px;
    }
    .content-tabs-layout #main > [data-screen] {
      padding-inline: 16px;
    }
    .content-tabs-layout #overview .stack-illustration {
      padding: 16px;
    }
    .stack-card {
      gap: 8px;
    }
    .stack-icon {
      width: 28px;
    }
  }
  @media (min-width: 361px) and (max-height: 650px) {
    body {
      --mobile-header-height: 52px;
    }
    body > .masthead {
      height: 52px;
    }
  }
  @media (max-width: 360px) and (max-height: 560px),
    (min-width: 600px) and (max-height: 560px) {
    body {
      --mobile-header-height: 48px;
    }
    body > .masthead {
      height: 48px;
    }
    .header-button-box {
      padding: 1px;
      border: 0;
    }
  }
}
