/* Desktop landing only. Reference: Figma 2:40, 1650 x 940, 150 x 47 cells.
   Responsive tracks and bounded type sizes belong to this page, not html. */

@media (min-width: 601px) and (not ((orientation: landscape) and (pointer: coarse) and (max-height: 500px))) {
  .landing-page {
    --grid-columns: 11;
    --grid-rows: 20;
    --landing-columns: 11;
    --landing-rows: 20;
    --cell-width: calc(100vw / 11);
    --cell-height: max(35px, 5dvh);
    display: grid;
    grid-template-columns: repeat(11, minmax(0, 1fr));
    grid-template-rows: repeat(20, var(--cell-height));
    place-content: normal;
    width: 100%;
    height: auto;
    min-height: max(700px, 100dvh);
    margin: 0;
    padding: 0;
    background-position: 0 0;
    background-size: var(--cell-width) var(--cell-height);
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 16px;
    font-optical-sizing: none;
    color: #171717;
  }

  .landing-page .site-head,
  .landing-page .landing,
  .landing-page .legal-links {
    position: static;
    inset: auto;
    min-width: 0;
    max-width: none;
    width: auto;
    margin: 0;
    padding: 0;
  }

  .landing-page .site-head {
    grid-column: 2 / span 9;
    grid-row: 3;
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    grid-template-rows: minmax(0, 1fr);
    height: var(--cell-height);
    align-items: stretch;
    gap: 0;
  }

  .landing-page .brand {
    grid-column: 1 / span 3;
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: minmax(0, 1fr);
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    gap: 0;
    overflow: visible;
    font-size: clamp(14px, 1.454545vw, 26px);
    font-weight: 100;
    line-height: normal;
    letter-spacing: 0;
    background: transparent;
  }
  .landing-page .brand::before { content: none; }
  .landing-page .brand-mark,
  .landing-page .brand-name {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    padding: 0;
  }
  .landing-page .brand-mark picture {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 100%;
    max-height: 40px;
  }
  /* The API's exported symbol retains its intrinsic 33.9106 x 32.6082 size. */
  .landing-page .brand-mark img {
    display: block;
    width: auto;
    height: auto;
    max-width: none;
    object-fit: contain;
    transform: none;
  }
  .landing-page .brand-name { color: #171717; letter-spacing: 0; }
  .landing-page .brand-name > span { letter-spacing: 0; }
  .landing-page .brand-suffix { color: #4a80bf; }

  .landing-page .site-head nav {
    grid-column: 8 / span 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: minmax(0, 1fr);
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    gap: 0;
  }
  .landing-page button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    font: 100 clamp(14px, 1.212121vw, 22px)/normal Inter, system-ui, sans-serif;
    letter-spacing: 0;
  }
  .landing-page .site-head nav button,
  .landing-page .site-head nav [data-action="signin"],
  .landing-page .site-head nav .primary { width: 100%; }

  .landing-page .landing {
    grid-column: 2 / span 9;
    grid-row: 8 / span 6;
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    grid-template-rows: repeat(6, var(--cell-height));
  }
  .landing-page .lead {
    grid-column: 1 / -1;
    grid-row: 1 / span 2;
    display: block;
    align-content: center;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    padding: 2px 0 0;
    font-size: clamp(18px, 1.575758vw, 28px);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
    white-space: normal;
  }
  .landing-page .lead br { display: initial; }
  .landing-page .lead-wrap-space { display: none; }
  .landing-page .actions {
    grid-column: 4 / span 3;
    grid-row: 5;
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: minmax(0, 1fr);
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    gap: 0;
  }
  .landing-page .actions .primary,
  .landing-page .actions [data-action="signin"] { width: 100%; }

  .landing-page .legal-links {
    grid-column: 2 / span 9;
    grid-row: 18;
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    height: var(--cell-height);
    gap: 0;
    font-size: clamp(14px, 1.090909vw, 20px);
    font-weight: 100;
    color: #171717;
  }
  .landing-page .legal-links > a,
  .landing-page .copyright {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-size: inherit;
    font-weight: 100;
    line-height: normal;
    letter-spacing: 0;
  }
  .landing-page .legal-links > a:first-child { grid-column: 1; }
  .landing-page .legal-links > a:nth-child(2) { grid-column: 2; }
  .landing-page .copyright {
    grid-column: 9;
    font-size: clamp(12px, .969697vw, 18px);
    color: #606a73;
  }
}

@media (min-width: 601px) and (not ((orientation: landscape) and (pointer: coarse) and (max-height: 500px))) and (max-width: 1000px) {
  .landing-page .site-head { grid-row: 2 / span 2; height: calc(2 * var(--cell-height)); }
  .landing-page .site-head nav button { white-space: normal; padding: 0 3px; }
  .landing-page .landing { grid-row: 7 / span 8; grid-template-rows: repeat(8, var(--cell-height)); }
  .landing-page .lead { grid-row: 1 / span 3; padding: 0 8px; text-wrap: balance; }
  .landing-page .lead br { display: none; }
  .landing-page .lead-wrap-space { display: inline; }
  .landing-page .actions { grid-row: 5 / span 2; }
  .landing-page .actions button { white-space: normal; padding: 0 8px; }
}

@media (min-width: 601px) and (not ((orientation: landscape) and (pointer: coarse) and (max-height: 500px))) and (max-width: 1100px) {
  .landing-page .copyright { grid-column: 8 / span 2; }
}
