/* Fonts: Red Hat Display 700 and Red Hat Text 400/600, the faces of the app (SIL OFL, see assets/fonts) */
@font-face {
  font-family: "Red Hat Display";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/red-hat-display-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Red Hat Display";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/red-hat-display-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Red Hat Text";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/red-hat-text-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Red Hat Text";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/red-hat-text-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Red Hat Text";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/red-hat-text-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Red Hat Text";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/red-hat-text-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #171a36;
  --ink-2: #1f2346;
  --cell: #2b3064;
  --edge: #3a4080;
  --pale: #c9cee6;
  --white: #ffffff;
  --paper: #eceef4;
  --line: #d2d6e3;
  --soft: #565b78;
  --winter: #4c6fd1;
  --spring: #db5f93;
  --summer: #eba22c;
  --autumn: #b4582c;
  --display: "Red Hat Display", "Segoe UI", Arial, sans-serif;
  --text: "Red Hat Text", "Segoe UI", Arial, sans-serif;
  --k: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  /* Square with its four corners cut by --k, the shape of a solar cell */
  --cut: polygon(var(--k) 0, calc(100% - var(--k)) 0, 100% var(--k), 100% calc(100% - var(--k)), calc(100% - var(--k)) 100%, var(--k) 100%, 0 calc(100% - var(--k)), 0 var(--k));
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--pale);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.55;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  color: var(--white);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--summer);
}

:focus-visible {
  outline: 3px solid var(--summer);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: 1248px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.top__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--white);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  flex: none;
  display: block;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--pale);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--white);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.45em;
}

/* The four-season line that runs under every header inside the app */
.seasons {
  display: flex;
  height: 4px;
}

.seasons i {
  flex: 1;
}

.seasons i:nth-child(1) {
  background: var(--winter);
}
.seasons i:nth-child(2) {
  background: var(--spring);
}
.seasons i:nth-child(3) {
  background: var(--summer);
}
.seasons i:nth-child(4) {
  background: var(--autumn);
}

/* Strip of eight cells, lit in season order */
.cells {
  display: flex;
  gap: 6px;
  width: 100%;
  max-width: 344px;
}

.cells i {
  --k: 5px;
  flex: 1;
  height: 16px;
  background: var(--cell);
  clip-path: var(--cut);
}

.cells .c1,
.cells .c2 {
  background: var(--winter);
}
.cells .c3,
.cells .c4 {
  background: var(--spring);
}
.cells .c5,
.cells .c6 {
  background: var(--summer);
}
.cells .c7,
.cells .c8 {
  background: var(--autumn);
}

/* Google Play button and its "not published yet" state */
.cta {
  --k: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 26px;
  background: var(--summer);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
  clip-path: var(--cut);
}

a.cta:hover {
  background: var(--white);
  color: var(--ink);
}

.cta--soon {
  background: var(--cell);
  color: var(--white);
  cursor: default;
}

/* Hero */
.hero {
  padding: 56px 0 72px;
}

.eyebrow {
  margin-top: 28px;
  color: var(--pale);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  grid-area: h;
  font-size: clamp(2.25rem, 7.4vw, 6.25rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.hero h1 span {
  display: block;
  color: var(--pale);
}

.hero__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  grid-template-areas: "h act" "lead act";
  gap: 32px 64px;
  margin-top: 12px;
}

.hero__lead {
  grid-area: lead;
  max-width: 40em;
  color: var(--white);
  font-size: 1.25rem;
  line-height: 1.5;
}

.hero__act {
  grid-area: act;
  align-self: end;
  display: grid;
  justify-items: start;
  gap: 14px;
}

.more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}

.facts {
  display: grid;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--edge);
  width: 100%;
  font-size: 0.9375rem;
}

.facts li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.facts li::before {
  --k: 3px;
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  background: var(--winter);
  clip-path: var(--cut);
}

.facts li:nth-child(2)::before {
  background: var(--spring);
}
.facts li:nth-child(3)::before {
  background: var(--summer);
}
.facts li:nth-child(4)::before {
  background: var(--autumn);
}

/* App captures: a sheet with corners cut like a solar cell and a thin lilac outline */
.shot {
  --k: 22px;
  padding: 2px;
  background: #8b91c7;
  clip-path: var(--cut);
}

.shot img {
  --k: 21px;
  display: block;
  width: 100%;
  background: var(--paper);
  clip-path: var(--cut);
}

figcaption {
  font-size: 0.9375rem;
}

.bench {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  align-items: start;
  margin-top: 72px;
}

.bench__item figcaption {
  min-height: 7.4em;
  padding-top: 14px;
  border-top: 4px solid var(--winter);
  margin-bottom: 20px;
}

.bench__item:nth-child(2) figcaption {
  border-color: var(--spring);
}
.bench__item:nth-child(3) figcaption {
  border-color: var(--summer);
}

.bench__item h2 {
  font-size: 1.375rem;
  margin-bottom: 6px;
}

.sample {
  --k: 10px;
  max-width: 62em;
  margin-top: 40px;
  padding: 16px 22px;
  background: var(--ink-2);
  font-size: 0.9375rem;
  clip-path: var(--cut);
}

.sample strong,
.tag {
  color: var(--summer);
  font-weight: 600;
}

/* Dark sections */
.band {
  padding: 88px 0;
}

.band--line {
  border-top: 1px solid var(--edge);
}

.band h2,
.paper h2,
.get h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.625rem);
}

.band h3 {
  font-size: 1.375rem;
}

.head {
  max-width: 46em;
  margin-bottom: 48px;
}

.head h2,
.read__text h2,
.upkeep__text h2 {
  margin-top: 20px;
}

.head p {
  margin-top: 14px;
}

.aside {
  padding-left: 14px;
  border-left: 3px solid var(--edge);
  font-size: 0.9375rem;
}

/* Readings */
.read {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 88px;
  align-items: center;
}

.read__shot figcaption,
.pair figcaption {
  margin-top: 12px;
}

.read__text {
  display: grid;
  gap: 18px;
  max-width: 40em;
}

.methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.methods div,
.cell {
  --k: 14px;
  padding: 22px 24px;
  background: var(--ink-2);
  clip-path: var(--cut);
}

.methods dt {
  margin-bottom: 6px;
  color: var(--white);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1875rem;
}

.methods dd {
  font-size: 0.9375rem;
}

/* Comparison and value: two captures with the text between them */
.spread {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr) 360px;
  grid-template-rows: auto 1fr;
  gap: 40px 56px;
}

.spread__shot--a {
  grid-column: 1;
  grid-row: 1 / 3;
}

.spread__shot--b {
  grid-column: 3;
  grid-row: 1 / 3;
}

.spread__text {
  grid-column: 2;
  display: grid;
  gap: 14px;
  align-content: start;
}

.spread__text--b {
  padding-top: 40px;
  border-top: 1px solid var(--edge);
}

.ledger {
  border-top: 1px solid var(--edge);
}

.ledger div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--edge);
}

.ledger dt {
  font-size: 0.9375rem;
}

.ledger dd,
.formula {
  color: var(--white);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1875rem;
  white-space: nowrap;
}

.formula {
  padding: 12px 0;
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
  white-space: normal;
}

.tag {
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
}

/* Maintenance */
.upkeep {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 708px;
  gap: 64px;
  align-items: start;
}

.upkeep__text {
  display: grid;
  gap: 24px;
}

.rows div {
  display: grid;
  grid-template-columns: 6.5em minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--edge);
}

.rows div:last-child {
  border-bottom: 1px solid var(--edge);
}

.rows dt {
  color: var(--white);
  font-family: var(--display);
  font-weight: 700;
}

.pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: start;
}

/* Notes and exports */
.duo {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 24px;
  align-items: start;
}

.cell {
  display: grid;
  gap: 14px;
  padding: 30px 32px;
}

.files {
  display: grid;
  gap: 8px;
}

.files li {
  padding-left: 14px;
  border-left: 3px solid var(--summer);
}

.files strong {
  display: block;
  color: var(--white);
  font-weight: 600;
}

/* Limits and privacy */
.limits {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 72px;
  align-items: start;
}

.limits .cell h2 {
  font-size: 1.625rem;
}

.nots {
  margin-top: 28px;
  border-top: 1px solid var(--edge);
}

.nots li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--edge);
  color: var(--white);
}

.nots li::before {
  --k: 4px;
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 0.38em;
  background: var(--cell);
  clip-path: var(--cut);
}

/* Download */
.get {
  padding: 64px 0;
  background: var(--ink-2);
}

.get__in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px 64px;
  flex-wrap: wrap;
}

.get__in > div:first-child {
  display: grid;
  gap: 10px;
  max-width: 36em;
}

.get__act {
  display: grid;
  gap: 12px;
  justify-items: start;
}

/* Light sections: the grey paper and white sheets of the app */
.paper {
  padding: 88px 0;
  background: var(--paper);
  color: var(--soft);
}

.paper h2,
.paper h3 {
  color: var(--ink);
}

.paper a {
  color: var(--ink);
  font-weight: 600;
}

.paper a:hover {
  color: #2f4fb0;
}

.paper :focus-visible {
  outline-color: var(--ink);
}

.paper .cells i:not([class]) {
  background: var(--line);
}

.rules {
  columns: 3;
  column-gap: 20px;
}

.rules div,
.faq div,
.steps li,
.release,
.help__contact {
  break-inside: avoid;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.rules div {
  margin-bottom: 20px;
}

.rules dt,
.faq dt {
  margin-bottom: 6px;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.25;
}

.rules dd,
.faq dd {
  font-size: 0.9375rem;
}

/* Title band of the inner pages */
.title {
  padding: 56px 0 64px;
}

.title h1 {
  margin-top: 24px;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.title p {
  max-width: 40em;
  margin-top: 14px;
  color: var(--white);
  font-size: 1.125rem;
}

.paper--doc {
  padding: 64px 0 88px;
}

/* Privacy policy */
.doc {
  display: grid;
  grid-template-columns: 280px minmax(0, 820px);
  gap: 72px;
  align-items: start;
}

.doc__index {
  position: sticky;
  top: 24px;
  font-size: 0.9375rem;
}

.doc__index ol {
  display: grid;
  border-top: 1px solid var(--line);
  counter-reset: part;
}

.doc__index li {
  border-bottom: 1px solid var(--line);
  counter-increment: part;
}

.doc__index a {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  font-weight: 400;
  text-decoration: none;
}

.doc__index a::before {
  content: counter(part, decimal-leading-zero);
  color: var(--soft);
  font-weight: 600;
}

.doc__index a:hover {
  text-decoration: underline;
}

.doc__body {
  display: grid;
  gap: 16px;
  counter-reset: sec;
}

.doc__body > section {
  display: grid;
  gap: 12px;
  padding: 28px 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  counter-increment: sec;
  scroll-margin-top: 16px;
}

.doc__body h2 {
  font-size: 1.5rem;
}

.doc__body h2::before {
  content: counter(sec, decimal-leading-zero);
  display: block;
  margin-bottom: 6px;
  color: var(--soft);
  font-family: var(--text);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
}

.doc__body h3 {
  margin-top: 8px;
  font-size: 1.125rem;
}

.doc__body ul {
  display: grid;
  gap: 8px;
}

.doc__body li,
.release li {
  position: relative;
  padding-left: 22px;
}

.doc__body li::before,
.release li::before {
  --k: 3px;
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 10px;
  height: 10px;
  background: var(--winter);
  clip-path: var(--cut);
}

/* Support */
.help {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px 64px;
  align-items: start;
}

.help h2 {
  margin-bottom: 20px;
  font-size: 1.625rem;
}

.help__steps {
  grid-column: 1;
}

.help__faq {
  grid-column: 2;
  grid-row: 1 / 3;
}

.help__contact {
  grid-column: 1;
  display: grid;
  gap: 12px;
  padding: 28px;
}

.help__contact h2 {
  margin-bottom: 0;
}

.steps {
  display: grid;
  gap: 12px;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-left: 64px;
  counter-increment: step;
}

.steps li::before {
  --k: 6px;
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 20px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: var(--winter);
  color: var(--white);
  font-family: var(--display);
  font-weight: 700;
  clip-path: var(--cut);
}

.steps li:nth-child(2)::before {
  background: #c2457c;
}
.steps li:nth-child(3)::before {
  background: var(--summer);
  color: var(--ink);
}
.steps li:nth-child(4)::before {
  background: var(--autumn);
}

.steps h3 {
  margin-bottom: 4px;
  font-size: 1.125rem;
}

.steps p {
  font-size: 0.9375rem;
}

.faq {
  display: grid;
  gap: 12px;
}

.help__more {
  margin-top: 20px;
  font-size: 0.9375rem;
}

.mail {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  overflow-wrap: anywhere;
}

/* Changelog and 404 */
.log {
  max-width: 808px;
  margin: 0;
}

.release {
  padding: 28px 32px;
}

.release__v {
  color: var(--soft);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.release h2 {
  margin: 4px 0 16px;
  font-size: 1.625rem;
}

.release ul {
  display: grid;
  gap: 8px;
}

.lost {
  display: grid;
  gap: 10px;
}

/* Footer */
.foot {
  padding: 40px 0 48px;
  border-top: 1px solid var(--edge);
  font-size: 0.9375rem;
}

.foot__in {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px 48px;
  flex-wrap: wrap;
}

.foot__brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.foot__brand img {
  flex: none;
}

.foot__brand strong {
  color: var(--white);
  font-family: var(--display);
}

.foot__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
}

.foot__nav a,
.foot__mail a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.foot__mail {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

/* Medium screens */
@media (max-width: 1180px) {
  .upkeep {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .pair {
    max-width: 720px;
  }

  .spread {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    gap: 40px 48px;
  }

  .spread__shot,
  .spread__text {
    grid-column: auto;
    grid-row: auto;
    max-width: 380px;
  }

  .spread__text--b {
    padding-top: 0;
    border-top: 0;
  }

  .spread__shot--b {
    order: 4;
  }

  .spread__text--b {
    order: 3;
  }

  .rules {
    columns: 2;
  }

  .read {
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 48px;
  }

  .hero__row {
    gap: 32px 48px;
  }

  .bench {
    gap: 28px;
  }

  .doc {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 40px;
  }
}

/* Phones and small tablets */
@media (max-width: 899px) {
  body {
    font-size: 1rem;
  }

  .wrap {
    padding: 0 20px;
  }

  .top__in {
    min-height: 60px;
    gap: 8px;
  }

  .brand {
    gap: 7px;
    font-size: 0.8125rem;
  }

  .brand img {
    width: 24px;
    height: 24px;
  }

  .nav {
    gap: 12px;
  }

  .nav a {
    font-size: 0.8125rem;
  }

  .hero {
    padding: 36px 0 56px;
  }

  .hero__row {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "h" "lead" "act";
    gap: 24px;
  }

  .hero__lead {
    font-size: 1.0625rem;
  }

  .cells {
    max-width: 260px;
  }

  /* Rows of captures scroll sideways instead of stacking */
  .bench,
  .pair {
    display: flex;
    gap: 16px;
    max-width: none;
    margin-left: -20px;
    margin-right: -20px;
    padding: 4px 20px 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 20px;
  }

  .bench {
    margin-top: 48px;
  }

  .bench > *,
  .pair > * {
    flex: 0 0 min(76%, 300px);
    scroll-snap-align: start;
  }

  .bench__item figcaption {
    min-height: 9em;
  }

  .sample {
    margin-top: 24px;
  }

  .band,
  .paper {
    padding: 56px 0;
  }

  .head {
    margin-bottom: 32px;
  }

  .read,
  .spread,
  .duo,
  .limits,
  .help,
  .doc {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .read__shot,
  .spread__shot {
    width: 100%;
    max-width: 300px;
  }

  .read__shot {
    order: 2;
  }

  /* Phone only: the readings capture ends after the second month card */
  .shot--crop img {
    aspect-ratio: 1344 / 1764;
    object-fit: cover;
    object-position: top;
  }

  .spread__text {
    max-width: none;
  }

  .spread__text--a {
    order: 1;
  }
  .spread__shot--a {
    order: 2;
  }
  .spread__text--b {
    order: 3;
    padding-top: 32px;
    border-top: 1px solid var(--edge);
  }
  .spread__shot--b {
    order: 4;
  }

  .methods {
    grid-template-columns: minmax(0, 1fr);
  }

  .rows div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .cell {
    padding: 24px 22px;
  }

  .rules {
    columns: 1;
  }

  .rules div {
    margin-bottom: 10px;
    padding: 16px 18px;
  }

  .get {
    padding: 48px 0;
  }

  .title {
    padding: 36px 0 44px;
  }

  .paper--doc {
    padding: 40px 0 56px;
  }

  .doc__index {
    position: static;
  }

  .doc__body > section,
  .release {
    padding: 22px 20px;
  }

  .help__steps,
  .help__faq,
  .help__contact {
    grid-column: auto;
    grid-row: auto;
  }

  .help__contact {
    padding: 22px 20px;
  }

  .foot__in {
    flex-direction: column;
  }
}

@media (max-width: 359px) {
  .brand span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
