/* The site's own layer over the record's web.css: the design draws 1440 and 390; the site is fluid in between.
   Only sizes that were fixed to the artboards change here. Layout still keys off @container on .web-board. */
html, body { margin: 0; }
[hidden] { display: none !important; } /* web.css gives the form notes display: flex, which would beat the hidden attribute */
.web-site-body { background: var(--color-background); }
.web-site { width: 100%; min-height: 100vh; }
.web-site > * { --web-gutter: clamp(24px, 8.33cqi, 120px); }
.web-site input.web-field { box-sizing: border-box; font: inherit; color: var(--color-ink); background: var(--color-surface); }
.web-site input.web-field::placeholder { color: var(--color-ink-subtle); }
.web-site .lp-h1, .web-site .lp-end-title { font-size: min(var(--web-display-size), calc((100cqi - 2 * var(--web-gutter)) / 15)); line-height: 1.2; white-space: normal; }
.web-site .lp-h1:lang(ar), .web-site .lp-end-title:lang(ar) { line-height: 1.4; }
.web-site .web-footer { flex-wrap: wrap; }
.lp-scrolly-stage { top: var(--space-3xl); }

@container web (max-width: 1199px) {
  .web-site .lp-hero-sub { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-2xl); }
  .web-site .lp-scrolly-body { grid-template-columns: 360px minmax(0, 1fr); column-gap: var(--web-space-5xl); }
  .web-site .lp-scrolly-flip .lp-scrolly-body { grid-template-columns: minmax(0, 1fr) 360px; }
  .web-site .lp-scrolly-screen { width: 260px; }
}
@container web (max-width: 899px) {
  .web-site .lp-scrolly-body, .web-site .lp-scrolly-flip .lp-scrolly-body { grid-template-columns: minmax(0, 1fr); }
  .web-site .lp-scrolly-stage { display: none; }
  .web-site .lp-scrolly-list { gap: var(--space-3xl); }
  .web-site .lp-scrolly-step, .web-site .lp-scrolly-step:first-child { align-items: flex-start; gap: var(--space-l); min-height: 0; padding: 0; }
  .web-site .lp-scrolly-tile { display: flex; flex: none; width: 148px; height: 220px; padding: var(--space-m) var(--space-m) 0; border-radius: var(--shape-xl); }
  .web-site .lp-scrolly-step .lp-step-text, .web-site .lp-scrolly-step .lp-h3 { color: var(--color-ink); }
  .web-site .lp-scrolly-step .web-body { color: var(--color-ink-muted); }
  .web-site .lp-scrolly-step .lp-step-n { color: var(--color-accent-text); }
  .web-site .lp-ios { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-3xl); }
  .web-site .lp-rank-name { font-size: 32px; line-height: 40px; }
  .web-site .lp-rank-name:lang(ar) { line-height: 50px; }
}
@container web (max-width: 599px) {
  .web-site > * { --web-gutter: var(--space-2xl); }
  .web-site .lp-h1 { font-size: min(32px, calc((100cqi - 2 * var(--web-gutter)) / 10.7)); }
  .web-site .lp-end-title { font-size: min(35px, calc((100cqi - 2 * var(--web-gutter)) / 9.8)); }
  .web-site .lp-h1:lang(ar) { font-size: min(44px, calc((100cqi - 2 * var(--web-gutter)) / 7.6)); }
  .web-site .lp-end-title:lang(ar) { font-size: min(34px, calc((100cqi - 2 * var(--web-gutter)) / 10)); }
}
