/* ============================================================
   SpreeCards landing
   Motif (PLAN.md of spreecards-app): a card index with dividers by
   interval. Sections are index cards with a divider tab on top; the
   tabs move along from card to card like the dividers in a box.
   Flat colours of the app's light theme (src/theme/palettes.ts):
   cream background, white paper, navy ink, brown accent, the yellow
   highlight. No gradients, glow, halos or shadows: depth comes only
   from the flat offset card under a card, as under a flashcard in
   the app. The system font (SF Pro on Apple devices).
   ============================================================ */
:root {
  --bg: #faf5ea;
  --paper: #ffffff;
  --ink: #1c1e37;
  --navy-2: #272a48;
  --muted: #655c50;
  --sand: #caba9b;
  --accent: #804023;
  --yellow: #f9d75d;
  --well: #faebcd;
  --cream: #eddebb;
  --danger: #a92b22;

  --radius: 22px;
  --radius-btn: 12px;
  --radius-tab: 14px;
  --offset: 8px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 500 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

h1,
h2,
h3 {
  font-weight: 800;
  letter-spacing: -0.015em;
}

::selection {
  background: var(--yellow);
  color: var(--ink);
}

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

.sc_icon__6e03 {
  width: 20px;
  height: 20px;
  flex: none;
}

/* ---------- layout ---------- */
.sc_wrap__3c7a {
  width: min(1160px, 100% - 32px);
  margin: 0 auto;
}

/* The flat cards under the index cards (z-index -1) stay inside main, above its background */
.sc_main__9e41 {
  position: relative;
  isolation: isolate;
  display: block;
}

/* ---------- topbar: the lid of the box with divider tabs ---------- */
.sc_top__5b20 {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  padding-top: 22px;
  border-bottom: 3px solid var(--ink);
}

.sc_brand__a81d {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  color: var(--ink);
  text-decoration: none;
}

.sc_brandMark__0f6c {
  width: 44px;
  height: 44px;
  border-radius: 11px;
}

.sc_brandText__c2b7 {
  display: grid;
  line-height: 1.2;
}

.sc_brandText__c2b7 strong {
  font-size: 20px;
  font-weight: 800;
}

.sc_brandText__c2b7 span {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.sc_tabs__e2d4 {
  display: flex;
  gap: 6px;
  margin-left: 12px;
}

.sc_tab__71b9 {
  position: relative;
  padding: 10px 18px 9px;
  border: 2px solid var(--ink);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  background: var(--cream);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.sc_tab__71b9:hover {
  background: var(--well);
}

/* The front divider: its tab covers the lid line and belongs to the page below */
.sc_tabOn__c03e {
  margin-bottom: -3px;
  padding-bottom: 12px;
  background: var(--bg);
}

.sc_tabOn__c03e:hover {
  background: var(--bg);
}

.sc_topEnd__4d8b {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  padding-bottom: 14px;
}

.sc_topMin__6a1e .sc_topEnd__4d8b {
  padding-bottom: 16px;
}

/* ---------- language switch ---------- */
.sc_langSwitch__9d15 {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px 4px 3px 10px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.sc_langSwitch__9d15 .sc_icon__6e03 {
  width: 16px;
  height: 16px;
  margin-right: 4px;
}

.sc_langSwitch__9d15 a {
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
}

.sc_langSwitch__9d15 a.sc_langOn__46a8 {
  background: var(--ink);
  color: var(--yellow);
}

/* ---------- buttons ---------- */
.sc_btn__b7e2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: var(--radius-btn);
  font: 700 16px/1.2 var(--font);
  text-decoration: none;
  cursor: pointer;
}

.sc_btnInk__4c19 {
  background: var(--ink);
  color: var(--yellow);
}

.sc_btnInk__4c19:hover {
  background: var(--navy-2);
}

.sc_btnYellow__d35a {
  background: var(--yellow);
  color: var(--ink);
}

.sc_btnLine__8a60 {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.sc_btnLine__8a60:hover {
  background: var(--well);
}

.sc_btnSoon__1f9b {
  background: var(--cream);
  color: var(--ink);
  cursor: default;
}

.sc_btnSmall__2c5d {
  min-height: 40px;
  padding: 0 14px;
  font-size: 14px;
}

.sc_btnSmall__2c5d .sc_icon__6e03 {
  width: 17px;
  height: 17px;
}

/* ---------- hero ---------- */
.sc_hero__c4f1 {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 48px;
  align-items: center;
  padding: 56px 0 24px;
}

.sc_kicker__5a7d {
  display: inline-block;
  margin: 0;
  padding: 7px 16px;
  border-radius: 10px 10px 0 0;
  border-bottom: 3px solid var(--ink);
  background: var(--yellow);
  font-size: 14px;
  font-weight: 700;
}

.sc_heroText__18be h1 {
  margin: 20px 0 20px;
  font-size: clamp(40px, 4.6vw, 58px);
  line-height: 1.04;
}

.sc_accent__e09c {
  display: block;
  color: var(--accent);
}

.sc_heroSub__77d2 {
  max-width: 36em;
  margin: 0;
  font-size: 19px;
}

.sc_heroActions__3b8e {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.sc_heroMeta__b51f {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

/* The phone in front of a yellow card, like the two cards of the app's mark */
.sc_heroShot__92aa {
  position: relative;
  justify-self: center;
  width: min(320px, 100%);
  margin: 0 0 26px 26px;
}

.sc_stackBack__e5c0 {
  position: absolute;
  top: 34px;
  right: 26px;
  bottom: -26px;
  left: -26px;
  border-radius: 58px;
  background: var(--yellow);
}

/* ---------- phone frame ---------- */
.sc_phone__0d6b {
  position: relative;
  margin: 0;
  padding: 11px;
  border-radius: 54px;
  background: var(--ink);
}

.sc_island__f2a9 {
  position: absolute;
  top: 22px;
  left: 50%;
  width: 30%;
  height: 25px;
  border-radius: 999px;
  background: #000;
  transform: translateX(-50%);
}

.sc_screen__4e57 {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 44px;
}

.sc_phoneSmall__ca12 {
  padding: 8px;
  border-radius: 40px;
}

.sc_phoneSmall__ca12 .sc_island__f2a9 {
  top: 16px;
  height: 18px;
}

.sc_phoneSmall__ca12 .sc_screen__4e57 {
  border-radius: 33px;
}

/* ---------- index cards with a divider tab ---------- */
.sc_section__a6f2,
.sc_page__e4b6 {
  position: relative;
  margin-top: 84px;
  padding: 40px;
  border-radius: 0 var(--radius) var(--radius) var(--radius);
  background: var(--paper);
}

/* The flat card underneath, as under a flashcard in the app */
.sc_section__a6f2::after,
.sc_page__e4b6::after,
.sc_stepCard__b1c8::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: var(--offset);
  right: 10px;
  bottom: calc(var(--offset) * -1);
  left: 10px;
  border-radius: var(--radius);
  background: var(--cream);
}

.sc_sectionTab__1d8e {
  position: absolute;
  top: -42px;
  left: 0;
  display: flex;
  align-items: center;
  height: 42px;
  margin: 0;
  padding: 0 20px;
  border-radius: var(--radius-tab) var(--radius-tab) 0 0;
  background: var(--paper);
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
}

.sc_sectionHead__1e2f h2,
.sc_drawerHead__4f9a h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
}

.sc_lead__5f3b {
  max-width: 42em;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

/* ---------- interval dividers ---------- */
.sc_dividerRow__e61a {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.sc_divider__2b95 {
  position: relative;
  margin-top: 40px;
  padding: 26px 18px 22px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  border-top-left-radius: calc(14px * min(var(--at, 0), 1));
  border-top-right-radius: calc(14px * min(3 - var(--at, 0), 1));
  background: var(--bg);
}

/* Each divider's tab sits a little further along, as in a card box */
.sc_dividerTab__0a5c {
  position: absolute;
  top: -40px;
  left: calc(-2px + (100% - 92px) * var(--at, 0) / 3);
  display: flex;
  align-items: center;
  min-width: 96px;
  height: 42px;
  padding: 0 16px;
  border: 2px solid var(--ink);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  background: inherit;
  font-size: 15px;
  font-weight: 700;
}

.sc_dividerTime__63e7 {
  display: block;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.sc_dividerOn__f8d4 {
  background: var(--yellow);
}

.sc_dividers__7c3e {
  padding-bottom: 34px;
}

.sc_note__4a12 {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

/* ---------- tour: one divider card per step ---------- */
.sc_tour__8b4d {
  margin-top: 96px;
}

.sc_step__e3a0 {
  position: relative;
  margin-top: 74px;
}

.sc_stepTab__57c6 {
  position: absolute;
  top: -46px;
  left: calc((100% - 200px) * var(--at, 0) / 5);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 200px;
  height: 46px;
  margin: 0;
  padding: 0 20px 0 9px;
  border-radius: var(--radius-tab) var(--radius-tab) 0 0;
  background: var(--paper);
  font-size: 16px;
  font-weight: 700;
}

.sc_stepNum__3a9f {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--yellow);
  font-size: 15px;
  font-weight: 800;
}

.sc_stepCard__b1c8 {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 44px;
  align-items: center;
  padding: 36px 40px;
  border-radius: var(--radius);
  border-top-left-radius: calc(var(--radius) * min(var(--at, 0), 1));
  border-top-right-radius: calc(var(--radius) * min(5 - var(--at, 0), 1));
  background: var(--paper);
}

.sc_stepText__2a71 h3 {
  margin: 0 0 14px;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--accent);
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.15;
}

.sc_stepText__2a71 p {
  margin: 0;
}

/* Facts on the ruled lines of the card */
.sc_facts__9c06 {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.sc_facts__9c06 li {
  position: relative;
  padding: 11px 0 11px 30px;
  border-bottom: 2px solid var(--cream);
  font-size: 15.5px;
  font-weight: 650;
}

.sc_facts__9c06 li::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 3px;
  width: 13px;
  height: 13px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--yellow);
}

.sc_stepShot__6d39 {
  justify-self: center;
  width: 100%;
  max-width: 220px;
}

/* ---------- ready decks: the drawer ---------- */
.sc_drawer__0e8b {
  position: relative;
  margin-top: 104px;
  padding: 44px 40px;
  border-radius: 0 var(--radius) var(--radius) var(--radius);
  background: var(--ink);
  color: var(--bg);
}

.sc_drawer__0e8b .sc_sectionTab__1d8e {
  background: var(--ink);
  color: var(--yellow);
}

.sc_drawer__0e8b .sc_lead__5f3b {
  color: var(--sand);
}

.sc_group__a2c7 {
  margin-top: 34px;
}

.sc_groupTab__3e15 {
  display: inline-block;
  margin: 0;
  padding: 7px 16px;
  border-radius: 10px 10px 0 0;
  background: var(--yellow);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}

.sc_deckGrid__c9e0 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 16px 0 0;
  border-top: 3px solid var(--yellow);
  list-style: none;
}

.sc_deck__75ad {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
}

.sc_deck__75ad strong {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
}

.sc_deckCount__18f3 {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.sc_deckSource__b40e {
  margin-top: auto;
  padding-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.sc_drawerLink__6b2d {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--yellow);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--yellow);
}

/* ---------- final band ---------- */
.sc_end__f61c {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  margin-top: 84px;
  padding: 36px 40px;
  border-radius: var(--radius);
  background: var(--yellow);
}

.sc_end__f61c h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.1;
}

.sc_end__f61c p {
  margin: 0;
}

.sc_endMark__0b7a {
  width: 96px;
  height: 96px;
  border-radius: 22px;
}

.sc_endMeta__e85b {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 14px !important;
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.sc_endActions__5c19 {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sc_end__f61c .sc_btnSoon__1f9b {
  background: var(--paper);
}

/* ---------- pages: changelog, support, privacy, licences ---------- */
.sc_pagePlain__5d71 {
  margin-top: 40px;
  border-radius: var(--radius);
}

.sc_pageHead__8f30 {
  margin-bottom: 26px;
}

.sc_pageHead__8f30 h1 {
  margin: 0 0 10px;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.08;
}

.sc_pageHead__8f30 h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 30px);
}

/* ---------- changelog ---------- */
.sc_release__d72e + .sc_release__d72e {
  margin-top: 40px;
}

.sc_releaseHead__3a84 {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sc_releaseHead__3a84 img {
  border-radius: 11px;
}

.sc_releaseHead__3a84 h2 {
  margin: 0;
  font-size: 28px;
}

.sc_chip__9b61 {
  padding: 5px 12px;
  border-radius: 8px;
  background: var(--yellow);
  font-size: 13px;
  font-weight: 700;
}

.sc_checkList__c5e2 {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.sc_checkList__c5e2 li {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 2px solid var(--cream);
}

.sc_check__16af {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  border-radius: 7px;
  background: var(--ink);
  color: var(--yellow);
}

.sc_check__16af svg {
  width: 16px;
  height: 16px;
}

/* ---------- support ---------- */
.sc_grid2__f0a3 {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 48px;
}

.sc_grid2__f0a3 h2 {
  margin: 0 0 16px;
  font-size: 22px;
}

.sc_form__6c3d {
  display: grid;
  gap: 16px;
}

.sc_field__0b52 label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 700;
}

.sc_input__e79d {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--cream);
  border-radius: var(--radius-btn);
  background: var(--bg);
  color: var(--ink);
  font: 500 16px/1.4 var(--font);
}

.sc_input__e79d:focus {
  border-color: var(--ink);
  outline: 3px solid var(--yellow);
  outline-offset: 0;
}

.sc_textarea__41fe {
  min-height: 170px;
  resize: vertical;
}

.sc_form__6c3d .sc_btn__b7e2 {
  justify-self: start;
}

.sc_alert__d8c4 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 2px solid transparent;
  border-radius: var(--radius-btn);
  background: var(--well);
  font-size: 15px;
  font-weight: 600;
}

.sc_alertOk__5e02 {
  border-color: var(--ink);
}

.sc_alertBad__a937 {
  border-color: var(--danger);
  color: var(--danger);
}

.sc_contactRow__3f6b {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 2px solid var(--cream);
  overflow-wrap: anywhere;
}

.sc_well__87dc {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-btn);
  background: var(--well);
}

.sc_label__c62e {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.sc_faq__2d58 details {
  padding: 14px 0;
  border-bottom: 2px solid var(--cream);
}

.sc_faq__2d58 summary {
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}

.sc_faq__2d58 details p {
  margin: 10px 0 0;
  color: var(--muted);
}

.sc_faqNote__0e7d {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- prose: privacy ---------- */
.sc_prose__6a5c {
  max-width: 780px;
}

.sc_prose__6a5c h1 {
  margin: 0 0 10px;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.08;
}

.sc_prose__6a5c h2 {
  margin: 36px 0 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--cream);
  font-size: 22px;
}

.sc_prose__6a5c p,
.sc_prose__6a5c li {
  line-height: 1.65;
}

.sc_prose__6a5c ul {
  padding-left: 22px;
}

.sc_prose__6a5c li {
  margin: 6px 0;
}

/* ---------- licences ---------- */
.sc_meta__0c3a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.sc_source__91e4 {
  padding: 22px 0;
  border-bottom: 2px solid var(--cream);
}

.sc_source__91e4 h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.sc_source__91e4 summary {
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.sc_attr__4b7f {
  margin: 0;
  padding: 14px 18px;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-btn) var(--radius-btn) 0;
  background: var(--well);
  font-size: 16px;
  font-weight: 600;
}

dl.sc_meta__0c3a {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
  margin: 16px 0 0;
}

.sc_meta__0c3a dt {
  font-size: 13px;
  font-weight: 700;
}

.sc_meta__0c3a dd {
  margin: 2px 0 0;
  color: var(--ink);
  font-weight: 500;
  overflow-wrap: anywhere;
}

.sc_noteBox__7a29 {
  margin-top: 26px;
  padding: 22px 24px;
  border-radius: 16px;
  background: var(--yellow);
}

.sc_noteBox__7a29 h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.sc_noteBox__7a29 p {
  margin: 0;
}

.sc_licenceText__ef13 {
  margin: 14px 0 0;
  padding: 18px;
  overflow-x: auto;
  border-radius: var(--radius-btn);
  background: var(--bg);
  font: 13px/1.55 var(--mono);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* ---------- footer ---------- */
.sc_foot__2c94 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  margin-top: 72px;
  padding: 24px 0 40px;
  border-top: 3px solid var(--ink);
  font-size: 14px;
  font-weight: 600;
}

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

.sc_footBrand__7d01 img {
  border-radius: 6px;
}

.sc_footLinks__b9a3 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.sc_footLinks__b9a3 a {
  color: var(--ink);
  text-decoration: none;
}

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

/* ---------- motion ---------- */
.sc_reveal__a4d0 {
  animation: sc-rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: calc(var(--at, 0) * 50ms);
}

@keyframes sc-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sc_reveal__a4d0 {
    animation: none;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .sc_hero__c4f1 {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding-top: 40px;
  }

  .sc_heroShot__92aa {
    width: min(290px, 78%);
  }

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

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

  .sc_endActions__5c19 {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 900px) {
  .sc_section__a6f2,
  .sc_page__e4b6,
  .sc_drawer__0e8b {
    padding: 30px 24px;
  }

  .sc_stepCard__b1c8 {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding: 30px 24px;
  }

  .sc_stepShot__6d39 {
    max-width: 230px;
  }

  .sc_dividerRow__e61a {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 4px;
  }

  /* Two dividers per row: the tab of the first one at the left, of the second one at the right */
  .sc_divider__2b95:nth-child(odd) {
    border-top-left-radius: 0;
    border-top-right-radius: 14px;
  }

  .sc_divider__2b95 .sc_dividerTab__0a5c {
    left: -2px;
  }

  .sc_divider__2b95:nth-child(even) .sc_dividerTab__0a5c {
    left: calc(100% - 94px);
  }

  .sc_divider__2b95:nth-child(even) {
    border-top-left-radius: 14px;
    border-top-right-radius: 0;
  }

  .sc_grid2__f0a3 {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .sc_top__5b20 {
    flex-wrap: wrap;
    gap: 0 12px;
    padding-top: 16px;
  }

  .sc_brand__a81d {
    padding-bottom: 12px;
  }

  .sc_brandText__c2b7 span {
    display: none;
  }

  .sc_topEnd__4d8b {
    padding-bottom: 12px;
  }

  .sc_topEnd__4d8b .sc_btnSoon__1f9b {
    display: none;
  }

  .sc_tabs__e2d4 {
    order: 3;
    width: 100%;
    margin-left: 0;
  }

  .sc_tab__71b9 {
    padding: 8px 14px 7px;
    font-size: 14px;
  }

  .sc_tabOn__c03e {
    padding-bottom: 10px;
  }

  .sc_heroText__18be h1 {
    font-size: 36px;
  }

  .sc_heroSub__77d2 {
    font-size: 17px;
  }

  .sc_heroActions__3b8e .sc_btn__b7e2 {
    width: 100%;
  }

  .sc_section__a6f2,
  .sc_page__e4b6,
  .sc_drawer__0e8b {
    padding: 26px 18px;
  }

  .sc_stepCard__b1c8 {
    padding: 26px 18px;
  }

  .sc_stepTab__57c6 {
    left: calc((100% - 170px) * var(--at, 0) / 5);
    min-width: 170px;
    font-size: 15px;
  }

  .sc_divider__2b95 {
    padding: 22px 14px 18px;
  }

  .sc_dividerTab__0a5c {
    min-width: 84px;
    padding: 0 12px;
    font-size: 14px;
  }

  .sc_divider__2b95:nth-child(even) .sc_dividerTab__0a5c {
    left: calc(100% - 82px);
  }

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

  .sc_end__f61c {
    grid-template-columns: minmax(0, 1fr);
    padding: 28px 20px;
  }

  .sc_endMark__0b7a {
    width: 72px;
    height: 72px;
    border-radius: 17px;
  }

  .sc_endActions__5c19 .sc_btn__b7e2 {
    width: 100%;
  }

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