/* The landing of StockOne (design-01, the Penpot boards Landing / 1440, 768, 375): the sections and their grids around the kit's `so-` blocks (ui.css),
   the same layout as the Storybook page Pages / Landing. */
body {
  margin: 0;
  background: var(--so-bg);
}
.so-root a {
  text-decoration: none;
}
.l-section {
  padding: 64px clamp(16px, 11vw, 160px);
  background: var(--so-bg);
}
.l-section--surface {
  background: var(--so-surface);
}
.l-inner {
  display: grid;
  gap: 32px;
  max-width: 1120px;
  margin: 0 auto;
}
.l-stack {
  display: grid;
  gap: 12px;
}
.l-stack--8 {
  gap: 8px;
}
.l-stack--16 {
  gap: 16px;
}
.l-stack--24 {
  gap: 24px;
}
.l-grid {
  display: grid;
  gap: 16px;
}
.l-grid--tight {
  gap: 12px;
}
.l-grid--wide {
  gap: 24px;
}
.l-grid--300 {
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
}
.l-grid--280 {
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
}
.l-two {
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
  align-items: center;
  justify-content: space-between;
}
.l-two--top {
  align-items: flex-start;
}
.l-two--flip {
  flex-direction: row-reverse;
}
.l-col--intro {
  display: grid;
  gap: 24px;
  flex: 1 1 380px;
  max-width: 480px;
}
.l-col--feature {
  display: grid;
  gap: 12px;
  flex: 1 1 320px;
  max-width: 440px;
}
.l-col--mock {
  flex: 1 1 420px;
  max-width: 616px;
  min-width: 0;
  overflow: hidden;
}
.l-col--money {
  max-width: 648px;
}
.l-features {
  display: grid;
  gap: 64px;
}
/* the FAQ is <details>: the kit's +/− mark */
.so-faq > summary {
  list-style: none;
  cursor: pointer;
}
.so-faq > summary::-webkit-details-marker {
  display: none;
}
.so-faq .so-faq__icon::before {
  content: '+';
}
.so-faq[open] .so-faq__icon::before {
  content: '−';
}
/* the header: sign in and the language next to the demo button */
.l-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.l-signin {
  color: var(--so-text);
  font: 600 16px/1.4 var(--so-font);
}
.l-lang {
  display: inline-flex;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--so-border);
  border-radius: 999px;
}
.l-lang a {
  padding: 4px 10px;
  color: var(--so-muted);
  font: 600 13px/1 var(--so-font);
  border-radius: 999px;
}
.l-lang a.is-active {
  color: var(--so-accent);
  background: var(--so-primary-soft);
}
@media (max-width: 900px) {
  .l-section {
    padding: 48px 24px;
  }
}
@media (max-width: 480px) {
  .l-section {
    padding: 40px 16px;
  }
  .l-two,
  .l-features {
    gap: 40px;
  }
  .l-signin {
    display: none;
  }
}
/* the kit draws tabs, day chips and the counter buttons as <button>s; the landing shows them as plain spans, centred the same way */
span.so-tab,
span.so-day,
span.so-counter__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
/* the menu of narrow screens */
.so-header {
  position: relative;
}
.so-header .so-btn {
  white-space: nowrap;
}
.l-menu {
  display: none;
}
.l-menu > summary {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--so-text);
  list-style: none;
  cursor: pointer;
}
.l-menu > summary::-webkit-details-marker {
  display: none;
}
.l-menu__panel {
  position: absolute;
  top: 100%;
  right: 16px;
  left: 16px;
  z-index: 20;
  display: grid;
  gap: 4px;
  padding: 12px;
  background: var(--so-surface);
  border: 1px solid var(--so-border);
  border-radius: var(--so-radius-xl);
  box-shadow: 0 16px 40px rgb(37 48 90 / 0.15);
}
.l-menu__panel > a {
  padding: 12px;
  color: var(--so-text);
  font-weight: 600;
  border-radius: var(--so-radius-sm);
}
.l-menu__panel > a:hover {
  background: var(--so-bg);
}
.l-menu__panel .l-lang {
  justify-self: start;
  margin: 8px 12px 4px;
}
/* the stock on a phone (the Penpot board 375): the first product as a card, the others as rows */
.l-stock-m {
  display: none;
}
.l-stock-m__card {
  display: grid;
  gap: 2px;
  padding: 12px;
  background: var(--so-primary-soft);
  border-radius: var(--so-radius-md);
}
.l-stock-m__boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.l-stock-m__box {
  display: grid;
  gap: 4px;
  padding: 10px;
  background: var(--so-surface);
  border-radius: var(--so-radius-sm);
}
.l-stock-m__box b {
  font: 700 24px/1.1 var(--so-font-display);
  color: var(--so-text);
}
.l-stock-m__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  color: var(--so-text);
  font-size: 14px;
}
@media (max-width: 900px) {
  .l-signin,
  .l-header-actions > .l-lang {
    display: none;
  }
  .l-menu {
    display: block;
  }
}
@media (max-width: 480px) {
  .so-header {
    gap: 12px;
  }
  .l-header-actions {
    gap: 4px;
  }
  .so-app .so-table {
    display: none;
  }
  .l-stock-m {
    display: grid;
    gap: 8px;
  }
  .so-app .so-stats .so-stat:nth-child(3) {
    display: none;
  }
}
