/* The landing page (signed out): board K1 in the Carbon look. Everything here is prefixed wl-.
   The page scrolls as a document (no rail, no fixed frame); colours are wg.css tokens only, so the
   light mode follows by itself. */

.main.wl { display: block; height: auto; min-height: 100%; padding-bottom: 0; font-size: 16px; line-height: 1.6; }
.wl-wrap { max-width: 1168px; margin: 0 auto; padding: 0 24px; }
.wl p { margin: 0 0 14px; }
.wl h1 { font-size: clamp(34px, 3.7vw, 54px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 700; margin: 0 0 18px; }
.wl h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.14; letter-spacing: -0.025em; font-weight: 600; margin: 0 0 18px; max-width: 760px; }
.wl h3 { font-size: 17px; line-height: 1.3; font-weight: 600; margin: 0 0 8px; }
.wl-kick { font: 500 12px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--mut); }
.wl-ink { color: var(--ink); }

/* the top: the brand, the page's parts, the look, sign in */
.wl-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.wl-brand { display: inline-flex; align-items: center; min-height: 40px; gap: 10px; margin-right: auto; text-decoration: none; font-size: 20px; line-height: 1; letter-spacing: -0.02em; }
.wl-brand img { width: 26px; height: 26px; flex: none; }
.wl-brand b { font-weight: 700; }
.wl-gto { font-weight: 400; color: var(--mut); }
.wl-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.wl-links a, .wl-look { font-size: 14px; color: var(--mut); text-decoration: none; padding: 8px 0; }
.wl-look { border: 0; background: none; cursor: pointer; }
.wl-links a:hover, .wl-look:hover { color: var(--ink); }
.wl .btn { min-height: 40px; padding: 0 16px; font-weight: 600; font-size: 15px; text-decoration: none; }
.wl .btn.wl-big { min-height: 44px; padding: 0 18px; }
.wl .btn[aria-disabled="true"] { border-color: var(--line); background: var(--surf); color: var(--mut2); cursor: default; }

/* the first screen: the words, sign in, the product */
.wl-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 640px); gap: 48px; align-items: center; padding: 44px 0 8px; }
.wl-lead { font-size: 18px; max-width: 560px; color: var(--body); }
.wl-cta { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; margin: 26px 0 16px; }
.wl-rib { font-size: 14px; color: var(--mut); }
.wl-rib b { color: var(--ink); }
.wl-note { border: 1px solid var(--line2); border-radius: var(--rad); background: var(--sur); padding: 10px 12px; font-size: 15px; max-width: 560px; }
.wl-note.bad { border-color: var(--bad); }
.wl-dev { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; max-width: 560px; }
.wl-dev label { flex: 1 1 100%; }
.wl-dev input[type="email"] { flex: 1 1 200px; min-width: 0; min-height: 40px; border: 1px solid var(--line2); border-radius: var(--rad); background: var(--bg); padding: 5px 10px; }

/* the product picture: the real table (table.js) and the network's answer beside it */
.wl-shot { margin: 0; border: 1px solid var(--line2); border-radius: var(--rad); background: var(--sur); overflow: hidden; font-size: 13px; line-height: 1.4; }
.wl-shot-head { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--mut); }
.wl-shot-head b { color: var(--ink); font-weight: 600; }
.wl-shot-body { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); }
.wl-shot-table { position: relative; width: 100%; max-width: 400px; aspect-ratio: 380 / 548; background: var(--bg); border-right: 1px solid var(--line); }
.wl-shot-alt { padding: 14px; margin: 0; color: var(--mut); }
.wl-shot-answer { min-width: 0; padding: 14px; display: flex; flex-direction: column; gap: 9px; }
.wl-shot figcaption { padding: 10px 14px; border-top: 1px solid var(--line); color: var(--mut); }
.wl-an-moves { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; }
.wl-an-rows { display: grid; gap: 8px; }
.wl-an-row { display: grid; grid-template-columns: 1fr auto; gap: 3px 8px; align-items: baseline; }
.wl-an-row .track { grid-column: 1 / -1; }
.wl-an-row.pick .wl-an-l { font-weight: 600; }
.wl-an-l .mut { font-weight: 400; font-size: 11px; }
.wl-an-hand { border-top: 1px solid var(--line); padding-top: 9px; margin-top: auto; display: grid; gap: 3px; }
.wl-an-h { display: grid; grid-template-columns: 38px 1fr auto; gap: 8px; align-items: baseline; }

/* the sections under it */
.wl-sec { padding: 84px 0 0; }
.wl-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 26px; }
.wl-card { border: 1px solid var(--line); border-radius: var(--rad); background: var(--sur); padding: 22px; }
.wl-card p { font-size: 15px; margin: 0; color: var(--body); }
.wl-tag { font: 500 11px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--mut); display: block; margin-bottom: 12px; }
.wl-two { display: flex; flex-wrap: wrap; gap: 40px; }
.wl-two > div { flex: 1 1 420px; min-width: 0; }
.wl-body, .wl-text p { color: var(--body); }
.wl-pts { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--rad); overflow: hidden; }
.wl-pts div { background: var(--sur); padding: 18px 20px; font-size: 15px; color: var(--body); }
.wl-pts b { display: block; color: var(--ink); margin-bottom: 4px; }
.wl-text { max-width: 720px; }
.wl-price { border: 1px solid var(--line); border-radius: var(--rad); background: var(--sur); padding: 22px; max-width: 520px; margin-top: 18px; }
.wl-price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.wl-price-big { font-size: 40px; line-height: 1; font-weight: 600; }
.wl-price ul { margin: 0 0 18px; padding-left: 20px; color: var(--body); }
.wl-price .wl-rib { margin: 14px 0 0; }
.wl-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 88px; padding: 22px 0 30px; border-top: 1px solid var(--line); font-size: 14px; color: var(--mut); }
.wl-foot-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.wl-foot a { color: var(--mut); }
.wl-foot a:hover { color: var(--ink); }

/* a laptop's width and below: the picture under the words */
@media (max-width: 1099px) {
  .wl-hero { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 36px; }
  .wl-shot { max-width: 640px; }
}
/* phones: the answer under the table, the page's parts on a line of their own */
@media (max-width: 699px) {
  .wl-wrap { padding: 0 16px; }
  .wl-top { gap: 4px 12px; padding: 10px 0; }
  .wl-links { order: 3; flex: 1 1 100%; flex-wrap: nowrap; gap: 0 18px; overflow-x: auto; scrollbar-width: none; }
  .wl-links a { white-space: nowrap; padding: 11px 0; }
  .wl-look { padding: 11px 0; }
  .wl-hero { padding-top: 28px; }
  .wl-lead { font-size: 16px; }
  .wl .btn.wl-big { flex: 1 1 100%; }
  .wl-shot-body { grid-template-columns: minmax(0, 1fr); }
  .wl-shot-table { margin: 0 auto; border-right: 0; }
  .wl-shot-answer { border-top: 1px solid var(--line); }
  .wl-sec { padding-top: 56px; }
  .wl-card, .wl-price { padding: 18px; }
  .wl-foot { margin-top: 56px; }
  .wl-foot-links a { padding: 10px 0; }
}
