/* Simple mode — one set of screens, two looks.
   =========================================================================
   Zazi, 27 Oct 2026: "Same screens for every grade, but two colour themes
   chosen by grade." So every screen is written ONCE, against the tokens in
   :root, and the grade decides which set of tokens is in force:

     Grades 10, 11, 12, upgrading   the website look  (data-theme="senior")
                                    paper + 24px grid, navy, red, Source Serif 4
     Grades 8 and 9                 Kganya's look     (data-theme="junior")
                                    white, pink, rounded, Fredoka + Nunito

   Neither is a tint of the other: the junior values are the seven approved
   Grade 8–9 colours from public/study-plan.html, and the senior ones are the
   Grade 10–12 palette from the spec. A colour changes in one of the two
   blocks below and every screen follows.

   The theme goes on <html data-theme="..."> in assets/theme.js before the
   page paints, so there is no flash of the wrong look.
   ========================================================================= */

:root,
:root[data-theme="senior"] {
  --paper:      #F7F5EC;
  --grid:       rgba(28, 43, 68, .055);   /* the 24px grid; transparent in junior */
  --card:       #FFFFFF;
  --card-line:  #1C2B44;                  /* the outline on a card she can tap */
  --card-shadow: none;

  --ink:        #1C2B44;
  --ink-soft:   #5A6478;
  --line:       #E4DFCF;
  --line-firm:  #CFC8B4;

  --accent:     #B23A2E;                  /* the one strong button on a screen */
  --accent-ink: #8a2b22;
  --accent-soft:#FBEDEB;

  --good:       #3F6B4F;
  --good-ink:   #2D4F39;
  --good-soft:  #EEF4EF;

  --note:       #A9832C;
  --note-ink:   #7E611C;
  --note-soft:  #F6EFDD;

  --panel:      #1C2B44;                  /* the brand panel on a laptop */
  --panel-ink:  #F7F5EC;
  --panel-soft: #D6D9E0;
  --panel-faint:#B9BFCB;
  --panel-warm: #E8A49B;

  --head:  "Source Serif 4", Georgia, serif;
  --body:  Inter, system-ui, sans-serif;
  --label: "IBM Plex Mono", ui-monospace, monospace;
  --label-size: 11px;
  --label-track: .06em;

  --r-card: 16px;
  --r-box:  18px;
  --bubble-me: 18px 18px 6px 18px;
  --bubble-her: 18px 18px 18px 6px;
}

:root[data-theme="junior"] {
  --paper:      #FFFFFF;
  --grid:       transparent;              /* no grid paper in the Grade 8–9 look */
  --card:       #FFFFFF;
  --card-line:  #e6e7ee;
  --card-shadow: 0 2px 0 #eceef5;

  --ink:        #1f2433;
  --ink-soft:   #6b7085;
  --line:       #e6e7ee;
  --line-firm:  #c3c6d4;

  --accent:     #d6457f;
  --accent-ink: #b8336a;
  --accent-soft:#fde8f0;

  --good:       #2c9b55;
  --good-ink:   #1f6b3b;
  --good-soft:  #e8f6ed;

  --note:       #ef9d24;
  --note-ink:   #9a5f0a;
  --note-soft:  #fff4e0;

  --panel:      #5b3fb0;
  --panel-ink:  #ffffff;
  --panel-soft: #e6ddfa;
  --panel-faint:#cdbdf2;
  --panel-warm: #ffd6ea;

  --head:  Fredoka, system-ui, sans-serif;
  --body:  Nunito, system-ui, sans-serif;
  --label: Nunito, system-ui, sans-serif;
  --label-size: 12px;
  --label-track: .04em;

  --r-card: 18px;
  --r-box:  20px;
  --bubble-me: 20px 20px 8px 20px;
  --bubble-her: 20px 20px 20px 8px;
}

/* ---------------------------------------------------------------- shell --- */
* { box-sizing: border-box; }

body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }
a:hover { color: var(--accent-ink); }
button { font-family: inherit; }

/* PHONE FIRST. Everything is this one column, and the laptop rules at the
   bottom of the file only add the brand panel beside it. */
.sm-phone {
  width: 100%;
  max-width: 430px;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 18px 18px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* --------------------------------------------------------------- header --- */
.sm-head { display: flex; align-items: center; gap: 10px; }
.sm-head .sm-logo {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
  border: 1.5px solid var(--line); background: #fff; flex: none;
}
.sm-head .sm-name {
  flex: 1; font-family: var(--head); font-weight: 700; font-size: 17px; line-height: 1.2;
}
.sm-back {
  width: 40px; height: 40px; border-radius: 50%; flex: none; cursor: pointer;
  background: var(--card); border: 1px solid var(--line-firm);
  display: grid; place-items: center; color: var(--ink); padding: 0;
}
.sm-back:active { background: var(--paper); }

/* ------------------------------------------------------------- step dots --- */
.sm-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.sm-steps span { height: 6px; border-radius: 99px; background: var(--line); }
.sm-steps span.done { background: var(--good); }
.sm-steps span.now  { background: var(--accent); }

/* ------------------------------------------------------ the conversation ---
   Zandile on the left with her face, the learner's answers on the right.
   One question per screen; the answers already given stay on the page, so it
   reads as a conversation and not as a form. */
.sm-her { display: flex; gap: 10px; align-items: flex-end; }
.sm-her img {
  width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; background: #fff;
}
.sm-her .sm-bubbles { display: flex; flex-direction: column; gap: 6px; }
.sm-said {
  margin: 0; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--bubble-her); padding: 12px 14px;
}
.sm-said.sm-ask {
  font-family: var(--head); font-weight: 700; font-size: 22px; line-height: 1.25;
}
.sm-mine { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.sm-mine span {
  background: var(--panel); color: var(--panel-ink);
  border-radius: var(--bubble-me); padding: 10px 16px; font-weight: 600;
}

/* chips: the choices already made, carried along the top of a later screen */
.sm-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sm-chip {
  background: var(--card); border: 1px solid var(--line-firm); border-radius: 999px;
  padding: 4px 12px; font-size: 14px; font-weight: 600;
}

/* --------------------------------------------------------------- choices ---
   Min 44px on everything, because every one of these is a thumb on a phone. */
.sm-choices { display: flex; flex-direction: column; gap: 12px; }
.sm-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

.sm-pick {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  background: var(--card); border: 1.5px solid var(--card-line); border-radius: var(--r-card);
  box-shadow: var(--card-shadow);
  padding: 16px; color: var(--ink); text-decoration: none; font: inherit; cursor: pointer;
  min-height: 56px;
}
.sm-pick:active { background: var(--paper); }
.sm-pick.sm-plain { justify-content: center; font-weight: 600; font-size: 17px; padding: 14px 10px; text-align: center; }
.sm-pick.sm-lead  { border-width: 2px; border-color: var(--accent); flex-direction: column; align-items: stretch; gap: 8px; }
.sm-pick.sm-quiet { border-color: var(--line-firm); }

.sm-pick .sm-icon {
  width: 48px; height: 48px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
  font-family: var(--head); font-weight: 700; font-size: 22px;
}
.sm-pick .sm-icon.good { background: var(--good-soft); color: var(--good); }
.sm-pick .sm-icon.note { background: var(--note-soft); color: var(--note-ink); }
.sm-pick .sm-icon.calm { background: var(--paper); color: var(--ink); }
.sm-pick .sm-words { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.sm-pick .sm-words b { font-size: 18px; }
.sm-pick .sm-words span { font-size: 14px; color: var(--ink-soft); }
.sm-pick .sm-go { flex: none; color: var(--accent); }
.sm-pick .sm-row { display: flex; align-items: center; gap: 12px; }
.sm-pick .sm-row b { font-size: 19px; flex: 1; }
.sm-pick .sm-why { font-size: 15px; color: var(--ink-soft); }
.sm-pick .sm-price {
  font-size: 14px; font-weight: 600; color: var(--ink);
  border-top: 1px dashed var(--line); padding-top: 8px;
}

/* ---------------------------------------------------------------- forms ---- */
.sm-box {
  background: var(--card); border: 1.5px solid var(--card-line); border-radius: var(--r-box);
  box-shadow: var(--card-shadow);
  padding: 16px; display: flex; flex-direction: column; gap: 10px;
}
.sm-box.sm-soft  { border: 1px solid var(--line); }
.sm-box.sm-green { border-color: var(--good); }

.sm-box label { font-weight: 600; font-size: 14px; }
.sm-box input {
  font: inherit; font-size: 16px;            /* 16px exactly: less zooms iOS */
  border: 1.5px solid var(--line-firm); border-radius: 12px; padding: 11px 14px;
  background: var(--paper); color: var(--ink);
}
.sm-box input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

.sm-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  text-align: center; text-decoration: none; font: inherit; cursor: pointer;
  background: var(--accent); color: #fff; border: 0; border-radius: 999px;
  padding: 14px 18px; font-weight: 600; font-size: 16px; min-height: 48px;
}
.sm-btn:active { background: var(--accent-ink); }
.sm-btn[disabled] { opacity: .55; cursor: default; }
.sm-btn.sm-whatsapp { background: var(--good); }
.sm-btn.sm-outline {
  background: var(--card); color: var(--ink);
  border: 1px solid var(--line-firm); font-size: 15px; padding: 12px 18px;
}

.sm-link { text-align: center; font-size: 14px; font-weight: 600; }
.sm-fine { margin: 0; text-align: center; font-size: 13px; color: var(--ink-soft); }
.sm-note { margin: 0; font-size: 15px; color: var(--ink-soft); }
.sm-label {
  font-family: var(--label); font-size: var(--label-size); font-weight: 600;
  letter-spacing: var(--label-track); text-transform: uppercase; color: var(--note-ink);
}
.sm-tag {
  font-family: var(--label); font-size: var(--label-size); font-weight: 600;
  letter-spacing: var(--label-track); color: var(--good-ink);
  background: var(--good-soft); border-radius: 999px; padding: 3px 8px; white-space: nowrap;
}
.sm-push { margin-top: auto; }

/* something went wrong, or is on its way */
.sm-msg { margin: 0; font-size: 14px; font-weight: 600; padding: 10px 12px; border-radius: 12px; }
.sm-msg.bad  { color: var(--accent-ink); background: var(--accent-soft); }
.sm-msg.info { color: var(--good-ink);   background: var(--good-soft); }
.sm-msg[hidden] { display: none; }

/* ---------------------------------------------------------------- setup ---
   The five questions. A choice that has been made is `sm-on`: filled, not
   merely outlined, so on a phone in daylight it is obvious which one is
   already picked. */
.sm-h1 { margin: 0; font-family: var(--head); font-weight: 700; font-size: 30px; line-height: 1.15; }

.sm-pick.sm-on {
  border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink);
}
.sm-pick.sm-on .sm-why, .sm-pick.sm-on .sm-price { color: var(--accent-ink); }

/* day pills and the three-up row */
.sm-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.sm-days button {
  min-height: 44px; border-radius: 12px; cursor: pointer; font-size: 13px; font-weight: 600;
  background: var(--card); border: 1.5px solid var(--line-firm); color: var(--ink);
}
.sm-days button.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.sm-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }

/* the subject tabs on the topics screen */
.sm-tabs { display: flex; gap: 8px; }
.sm-tabs button {
  flex: 1; min-height: 44px; cursor: pointer; font: inherit; font-weight: 600;
  background: var(--card); border: 1.5px solid var(--line-firm); border-radius: 999px;
  color: var(--ink-soft); padding: 8px 10px;
}
.sm-tabs button.on { border-color: var(--ink); color: var(--ink); background: var(--paper); }

/* one topic, with its place in their order and what it is worth */
.sm-topic-list { display: flex; flex-direction: column; gap: 8px; }
.sm-topic-row {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  min-height: 56px; cursor: pointer; font: inherit; color: var(--ink);
  background: var(--card); border: 1.5px solid var(--line-firm); border-radius: var(--r-card);
  padding: 12px 14px;
}
.sm-topic-row.picked { border-color: var(--ink); }
.sm-num {
  width: 30px; height: 30px; flex: none; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 14px;
  background: var(--paper); border: 1.5px dashed var(--line-firm); color: var(--ink-soft);
}
.sm-topic-row.picked .sm-num {
  background: var(--accent); border: 0; color: #fff; border-style: solid;
}
.sm-topic-name { flex: 1; font-weight: 600; }
.sm-topic-row.picked .sm-topic-name { font-weight: 700; }
.sm-band {
  flex: none; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 3px 9px;
  background: var(--paper); color: var(--ink-soft); border: 1px solid var(--line);
}
.sm-band.lots { background: var(--accent-soft); color: var(--accent-ink); border-color: transparent; }
.sm-band.some { background: var(--note-soft); color: var(--note-ink); border-color: transparent; }
.sm-band.few  { background: var(--good-soft); color: var(--good-ink); border-color: transparent; }

/* ------------------------------------------------------------ the plan ----
   Week down the side, a column per subject — the shape of Plan.dc.html. */
.sm-weeks { display: flex; flex-direction: column; }
.sm-week-head, .sm-week {
  display: grid; grid-template-columns: 72px repeat(var(--cols, 2), minmax(0, 1fr));
  gap: 10px; padding: 12px 14px; align-items: start;
}
.sm-week-head { border-bottom: 1px solid var(--line); }
.sm-week-head span { font-family: var(--label); font-size: var(--label-size);
  letter-spacing: var(--label-track); color: var(--ink-soft); }
.sm-week { border-bottom: 1px solid var(--line); font-size: 14px; }
.sm-week:last-child { border-bottom: 0; }
.sm-week b { font-size: 15px; }
.sm-quiet-cell { color: var(--ink-soft); }
.sm-more { font-size: 13px; color: var(--ink-soft); }

/* --------------------------------------------------------------- today ---- */
.sm-sitting {
  background: var(--card); border: 1.5px solid var(--card-line); border-radius: var(--r-box);
  box-shadow: var(--card-shadow); padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.sm-sitting.sm-next { border-width: 2px; border-color: var(--accent); }
.sm-sitting.sm-held { border-color: var(--line); background: var(--paper); }
.sm-sitting h2 {
  margin: 0; font-family: var(--head); font-weight: 700; font-size: 24px; line-height: 1.2;
}
.sm-sitting p { margin: 0; font-size: 15px; color: var(--ink-soft); }

.sm-countdown { display: flex; align-items: center; gap: 14px; }
.sm-countdown .sm-days-left {
  width: 56px; height: 56px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: var(--note-soft); color: var(--note-ink);
  font-family: var(--head); font-weight: 700; font-size: 22px;
}

/* the bottom bar: Today · Full plan · Results */
.sm-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 5;
  background: var(--card); border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 8px 8px calc(10px + env(safe-area-inset-bottom)); text-align: center;
}
.sm-nav a {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 6px 0; border-radius: 12px; text-decoration: none;
  color: var(--ink-soft); font-size: 12px; font-weight: 600; min-height: 44px;
}
.sm-nav a.on { color: var(--accent); background: var(--accent-soft); }
.sm-has-nav { padding-bottom: 92px; }

/* the day-by-day list on Full plan */
.sm-day-row {
  display: flex; align-items: baseline; gap: 10px; padding: 10px 0;
  border-bottom: 1px solid var(--line); font-size: 14px;
}
.sm-day-row:last-child { border-bottom: 0; }
.sm-day-row .sm-dow { width: 42px; flex: none; font-weight: 700; }
.sm-day-row .sm-what { flex: 1; min-width: 0; }
.sm-day-row .sm-when { flex: none; color: var(--ink-soft); font-size: 13px; }
.sm-day-row.sm-today { background: var(--accent-soft); border-radius: 10px; padding: 10px 8px; }
.sm-day-row.sm-exam-row .sm-what { color: var(--accent-ink); font-weight: 700; }
.sm-pill {
  font-size: 12px; font-weight: 600; border-radius: 999px; padding: 2px 8px;
  background: var(--note-soft); color: var(--note-ink);
}

/* --------------------------------------------------------------- videos ---
   Videos.dc.html. A card is a link out to YouTube, so it is an <a> and looks
   like one on a keyboard: the whole row is the target. */
.sm-video {
  display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--ink);
  padding: 2px 0;
}
.sm-thumb {
  position: relative; width: 112px; height: 63px; border-radius: 8px; flex: none;
  background: var(--panel); display: grid; place-items: center; overflow: hidden;
}
.sm-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sm-play { position: absolute; display: grid; place-items: center; filter: drop-shadow(0 1px 2px rgba(0,0,0,.5)); }
.sm-vwords { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.sm-vwords b { font-size: 15px; line-height: 1.3; }
.sm-watch { font-size: 13px; color: var(--accent); font-weight: 600; }

.sm-topic-open {
  display: flex; align-items: center; gap: 8px; width: 100%;
  background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink); font: inherit;
}
.sm-topic-open b { flex: 1; text-align: left; font-size: 17px; }

.sm-nudge {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
  background: var(--panel); color: var(--panel-ink);
  border-radius: var(--r-card); padding: 14px 16px; min-height: 48px;
}
.sm-nudge .sm-words { display: flex; flex-direction: column; flex: 1; }
.sm-nudge .sm-words b { font-size: 15px; }
.sm-nudge .sm-words span { font-size: 13px; opacity: .85; }

/* ---------------------------------------------------------------- prices --- */
.sm-rows { display: flex; flex-direction: column; padding: 4px 14px; }
.sm-row-item {
  display: flex; align-items: center; gap: 10px; padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.sm-row-item:last-child { border-bottom: 0; }
.sm-row-item .sm-what { flex: 1; }
.sm-row-item .sm-what span { font-size: 13px; color: var(--ink-soft); }
.sm-amount { font-size: 18px; font-weight: 700; white-space: nowrap; }
.sm-save {
  font-family: var(--label); font-size: 10px; font-weight: 600; letter-spacing: .05em;
  color: #fff; background: var(--good); border-radius: 999px; padding: 2px 7px; vertical-align: middle;
}
.sm-example {
  display: flex; flex-direction: column; gap: 6px;
  background: var(--paper); border-radius: 10px; padding: 10px 12px; font-size: 13px;
}
.sm-months { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; align-items: end; }
.sm-months span {
  background: var(--panel); color: var(--panel-ink); border-radius: 6px;
  padding: 4px; text-align: center; font-weight: 600;
}
.sm-months span.exam {
  background: var(--accent-soft); color: var(--accent-ink);
  border: 1.5px solid var(--accent); font-weight: 700;
}
.sm-list { margin: 0; padding-left: 18px; font-size: 14px; display: flex; flex-direction: column; gap: 2px; }

/* --------------------------------------------------------------- laptop ---
   Desktop.dc.html: the brand panel on the left, the same flow on the right.
   The panel is decoration — nothing in it is said only there — so it is
   simply not drawn on a phone. */
.sm-panel { display: none; }

@media (min-width: 900px) {
  body { display: flex; min-height: 100dvh; background-image: none; }
  .sm-panel {
    display: flex; flex-direction: column; gap: 24px; flex: none;
    width: min(460px, 36vw); padding: 56px 48px;
    background: var(--panel); color: var(--panel-ink);
  }
  .sm-panel .sm-panel-top { display: flex; align-items: center; gap: 12px; }
  .sm-panel img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: #fff; }
  .sm-panel .sm-panel-name { font-family: var(--head); font-weight: 700; font-size: 22px; line-height: 1.2; }
  .sm-panel h1 {
    margin: 48px 0 0; font-family: var(--head); font-weight: 700; font-size: 44px; line-height: 1.1;
  }
  .sm-panel h1 em { font-style: normal; color: var(--panel-warm); }
  .sm-panel p { margin: 0; font-size: 17px; color: var(--panel-soft); }
  .sm-panel .sm-panel-foot {
    margin-top: auto; font-family: var(--label); font-size: 12px;
    letter-spacing: .08em; color: var(--panel-faint);
  }

  .sm-main {
    flex: 1; min-width: 0; padding: 40px 64px;
    background-color: var(--paper);
    background-image:
      linear-gradient(var(--grid) 1px, transparent 1px),
      linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: 24px 24px;
    display: flex; flex-direction: column;
  }
  .sm-phone { max-width: 480px; min-height: 0; margin: 40px auto 0; padding: 0; }

  /* the logo is in the panel on a laptop, so the small one is not repeated */
  .sm-main .sm-head .sm-logo { display: none; }
  .sm-main .sm-head .sm-name { visibility: hidden; }
  .sm-said.sm-ask { font-size: 26px; }
}

@media (prefers-reduced-motion: no-preference) {
  .sm-step-in { animation: sm-in .18s ease-out both; }
  @keyframes sm-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}

/* ------------------------------------------------------------ small pill ---
   A button that is tapped but is not the main action on the screen: the way
   into the questions on every step of the pre-launch chat, and "Start again"
   in its header. Same red as .sm-btn, still thumb-sized, but only as wide as
   its own words instead of the full column.
   Added 11 Nov 2026 for start-ahead.html. Nothing existing changed. */
.sm-btn.sm-small {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 14px;
  width: auto;
  align-self: center;
}

/* ---------------------------------------------------------- how it works ---
   A numbered run of steps, drawn inside one of Zandile's bubbles. A line
   joins the circles so it reads top to bottom. The circle is .sm-num, which
   already exists; this adds the column and the join.
   Added 11 Nov 2026 for start-ahead.html. Nothing existing changed. */
.sm-flow { display: flex; flex-direction: column; }

.sm-flow-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  padding: 0 0 14px;
}
.sm-flow-step:last-child { padding-bottom: 0; }

/* The join. 14px is the 30px circle's centre, less half this line's width. */
.sm-flow-step::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 32px;
  bottom: 0;
  width: 2px;
  border-radius: 2px;
  background: var(--line-firm);
}
.sm-flow-step:last-child::before { content: none; }

.sm-flow-words { flex: 1; min-width: 0; font-size: 14px; line-height: 1.45; }
.sm-flow-words svg { vertical-align: -3px; margin-right: 6px; color: var(--accent); }

/* The question box on the pre-launch page. Everything a .sm-box input already
   is, plus room for a few lines. Added 11 Nov 2026 because there was no
   textarea anywhere in Simple Mode to reuse. */
.sm-box textarea {
  font: inherit; font-size: 16px;            /* 16px exactly: less zooms iOS */
  border: 1.5px solid var(--line-firm); border-radius: 12px; padding: 11px 14px;
  background: var(--paper); color: var(--ink);
  resize: vertical; min-height: 96px;
}
.sm-box textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
