/* Phone layouts. Content and components are shared with desktop. */
@media(max-width:700px) {
  :root {
    --gutter: 20px;
  }

  .top {
    height: 59px;
  }

  .brand {
    gap: 10px;
  }

  .desktop-nav,.desktop-only,.home-rows .desktop-release {
    display: none;
  }

  .mobile-only {
    display: inline-flex;
  }

  .menu-link {
    padding-inline: 9px;
    font-weight: 550;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 36px;
    min-height: 0;
    padding: 30px 0 14px;
  }

  .hero h1 {
    font-size: clamp(30px,9.23vw,40px);
    margin: 0 0 28px;
  }

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

  .hero-actions {
    gap: clamp(16px,6vw,26px);
    margin-top: 30px;
    flex-wrap: wrap;
  }

  .button {
    min-width: min(204px,100%);
  }

  .hero-art {
    width: 100%;
    max-width: 490px;
    align-self: center;
  }

  .home-rows {
    grid-template-columns: 1fr;
    gap: 0;
    border: 0;
    padding: 4px 0 22px;
  }

  .row {
    min-height: 78px;
  }

  .page {
    padding-top: 25px;
    padding-bottom: 43px;
    min-height: calc(100svh - 163px);
  }

  .intro {
    margin-bottom: 42px;
  }

  .intro h1 {
    font-size: 31px;
    margin-bottom: 10px;
  }

  .intro p {
    font-size: 15px;
  }

  .columns {
    flex-direction: column;
    gap: 28px;
  }

  .card {
    width: 100%;
  }

  .details {
    padding-top: 0;
  }

  .details h2 {
    font-size: 19px;
  }

  .help-content section,.reading section+section {
    margin-top: 40px;
  }

  .back {
    font-size: 15px;
  }

  .plans {
    display: grid;
    grid-template-columns: 1fr;
  }

  .checkout {
    align-items: flex-start;
    flex-direction: column;
  }

  .menu-rows .row {
    min-height: 86px;
  }

  footer.shell {
    min-height: 103px;
    padding-top: 13px;
    gap: 6px 12px;
  }

  footer nav {
    grid-column: 1/-1;
    grid-row: auto;
    justify-content: flex-start;
    gap: 2px 20px;
  }

  footer nav:has(a:only-child) {
    position: absolute;
    right: var(--gutter);
    top: 10px;
  }

  footer small {
    grid-column: 1/-1;
  }

}

@media(max-width:345px) {
  :root {
    --gutter: 15px;
  }

  .hero-actions {
    gap: 6px;
  }

  .hero-actions .button {
    min-width: 174px;
  }

  .brand {
    font-size: 18px;
  }

}
