/* lumie landing concepts. one stylesheet, three themes on <body>: t-night, t-paper, t-mix
   palette locked 2026-09-22 (lumie-brand/app-kit/BRAND.md): pine, forest, paper, wood. amber once per view.
   emphasis is colour, never italics. contrast is checked per surface: forest takes white, not cream (cream is 4.2:1). */
@font-face { font-family: "Lexend Deca"; font-weight: 300; font-display: swap; src: url("assets/fonts/lexend-deca-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Lexend Deca"; font-weight: 400; font-display: swap; src: url("assets/fonts/lexend-deca-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Lexend Deca"; font-weight: 500; font-display: swap; src: url("assets/fonts/lexend-deca-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Lexend Deca"; font-weight: 600; font-display: swap; src: url("assets/fonts/lexend-deca-latin-600-normal.woff2") format("woff2"); }

/* night: pine leads, tone on tone panels, wood is the desk band */
.t-night {
  --bg: #1E5C43; --text: #F6ECDB; --muted: #CFE6D6; --line: rgba(246, 236, 219, .22); --em: #8FCFA8;
  --accent: #8FCFA8; --accent-hover: #A9DCBC; --on-accent: #1A2018;
  --panel: #2F6F55; --panel-text: #F6ECDB; --panel-muted: #F6ECDB; --panel-em: #CFE6D6;
  --how: #2F6F55; --how-text: #F6ECDB; --how-muted: #F6ECDB;
  --ta: #8FCFA8; --ta-text: #1A2018; --tb: #7A5C45; --tb-text: #F6ECDB; --tc: #2F6F55; --tc-text: #F6ECDB;
  --band: #7A5C45; --band-text: #F6ECDB; --band-muted: #F6ECDB; --band-em: #F3D9A8; --band-line: rgba(246, 236, 219, .28);
  --pill: #2F6F55; --pill-text: #F6ECDB; --pill-on: #F6ECDB; --pill-on-text: #1A2018;
  --open: #2F6F55; --open-muted: #F6ECDB;
  --wm1: #CFE6D6; --wm2: #F6ECDB; --wm3: #8FCFA8;
}
/* paper: the light surface leads, sage panels, pine is the band */
.t-paper {
  --bg: #F4F6F3; --text: #1A2018; --muted: #5F6E5C; --line: #D4DAD1; --em: #3D7A5E;
  --accent: #1E5C43; --accent-hover: #3D7A5E; --on-accent: #F6ECDB;
  --panel: #DCE6DE; --panel-text: #1A2018; --panel-muted: #3F4C3C; --panel-em: #1E5C43;
  --how: #DCE6DE; --how-text: #1A2018; --how-muted: #3F4C3C;
  --ta: #1E5C43; --ta-text: #F6ECDB; --tb: #FFFFFF; --tb-text: #1A2018; --tc: #CFE6D6; --tc-text: #1A2018;
  --band: #1E5C43; --band-text: #F6ECDB; --band-muted: #CFE6D6; --band-em: #8FCFA8; --band-line: rgba(246, 236, 219, .22);
  --pill: #DCE6DE; --pill-text: #1A2018; --pill-on: #1E5C43; --pill-on-text: #F6ECDB;
  --open: #FFFFFF; --open-muted: #5F6E5C;
  --wm1: #8FCFA8; --wm2: #1E5C43; --wm3: #3D7A5E;
}
/* mix: the rotation. paper page, then forest, pine and wood, with framed night scenes */
.t-mix {
  --bg: #F4F6F3; --text: #1A2018; --muted: #5F6E5C; --line: #D4DAD1; --em: #3D7A5E;
  --accent: #1E5C43; --accent-hover: #3D7A5E; --on-accent: #F6ECDB;
  --panel: #1E5C43; --panel-text: #F6ECDB; --panel-muted: #CFE6D6; --panel-em: #8FCFA8;
  --how: #3D7A5E; --how-text: #FFFFFF; --how-muted: #FFFFFF;
  --ta: #1E5C43; --ta-text: #F6ECDB; --tb: #E8D6C4; --tb-text: #1A2018; --tc: #3D7A5E; --tc-text: #FFFFFF;
  --band: #7A5C45; --band-text: #F6ECDB; --band-muted: #F6ECDB; --band-em: #F3D9A8; --band-line: rgba(246, 236, 219, .28);
  --pill: #DCE6DE; --pill-text: #1A2018; --pill-on: #1E5C43; --pill-on-text: #F6ECDB;
  --open: #FFFFFF; --open-muted: #5F6E5C;
  --wm1: #8FCFA8; --wm2: #1E5C43; --wm3: #3D7A5E;
}

/* the wordmark: three pixel books for the dot on the i */
.wm { font: 600 1em/1 "Lexend Deca", sans-serif; letter-spacing: -.03em; white-space: nowrap; display: inline-block; }
.wm-i { position: relative; display: inline-block; }
.wm-dot { position: absolute; left: 50%; top: .07em; width: .32em; height: auto; transform: translateX(-50%); overflow: visible; }

/* base */
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font: 400 17px/1.6 "Lexend Deca", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--em); outline-offset: 3px; border-radius: 6px; }
img.px { image-rendering: pixelated; display: block; max-width: 100%; height: auto; width: calc(var(--n) * var(--u, var(--w)) * 1px); }
h1, h2, h3 { font-weight: 600; letter-spacing: -.03em; line-height: 1.12; text-wrap: balance; }
h1 em, h2 em { font-style: normal; color: var(--em); display: inline-block; }
h2 { font-size: clamp(30px, 4vw, 48px); }
p, small, span { text-wrap: pretty; }
section { padding: clamp(56px, 7vw, 88px) 24px; max-width: 1200px; margin: 0 auto; }
.note { margin-top: 14px; font-size: 13px; font-weight: 300; color: var(--muted); text-align: center; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 20; background: var(--accent); color: var(--on-accent); padding: 12px 18px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }

/* buttons: one pill system for the whole page */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; white-space: nowrap; background: var(--accent); color: var(--on-accent);
  text-decoration: none; font: 500 16px/1 "Lexend Deca", sans-serif; padding: 14px 26px; border-radius: 999px; border: 1.5px solid var(--accent);
  transition: background-color .2s, border-color .2s, color .2s, transform .15s; }
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn:active { transform: scale(.98); }
.btn.sm { padding: 10px 18px; font-size: 15px; }
.btn.lg { padding: 18px 34px; font-size: 18px; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--text); }
.btn.ghost:hover { background: var(--text); color: var(--bg); border-color: var(--text); }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 max(24px, calc((100vw - 1200px) / 2)); background: var(--bg); border-bottom: 1px solid var(--line); }
.wordmark { font-size: 26px; line-height: 1; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.nav nav { display: flex; gap: 8px; font-size: 15px; }
.nav nav a { text-decoration: none; color: var(--muted); padding: 10px 12px; transition: color .2s; }
.nav nav a:hover { color: var(--text); }

/* hero */
.hero { text-align: center; padding-top: clamp(48px, 6vw, 72px); padding-bottom: clamp(32px, 4vw, 48px); display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 80px); }
.hero h1 em { display: block; }
.hero p { font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); max-width: 46ch; text-wrap: balance; }
.reassure { display: block; font-size: 14px; color: var(--muted); }
.hero .btn { margin-top: 4px; }
.hero .reassure { margin-top: -8px; }
.scene { position: relative; width: 100%; max-width: 1040px; aspect-ratio: 1152 / 648; margin-top: 20px; border-radius: 20px; overflow: hidden; background: #4F3A2C; }
.scene img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.scene .l-fire-b { animation: flick 1.2s steps(1) infinite; }
.scene .l-stars-b { animation: flick 3.2s steps(1) infinite; }
@keyframes flick { 50% { opacity: 0; } }
.doodles { display: flex; align-items: flex-end; justify-content: space-between; width: 100%; max-width: 760px; margin-top: 20px; }
.works { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 12px auto 0; padding: 0; }
.works li { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.works .lbl { border: 0; padding-left: 0; }

/* collage: three staggered tiles */
.collage h2 { max-width: 22ch; margin: 0 auto; text-align: center; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; align-items: start; }
.tile { border-radius: 20px; padding: 28px; min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.tile strong { font-size: 88px; line-height: 1; font-weight: 500; letter-spacing: -.04em; }
.tile-a { background: var(--ta); color: var(--ta-text); }
.tile-b { background: var(--tb); color: var(--tb-text); margin-top: 48px; border: 1px solid var(--line); }
.tile-c { background: var(--tc); color: var(--tc-text); }

/* the pile goes in, one next step comes out */
.shift { text-align: center; }
.shift h2 { max-width: 24ch; margin: 0 auto; }
.shift-row { margin-top: 44px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 28px; align-items: center; text-align: left; max-width: 1040px; margin-inline: auto; }
.shift-arrow { display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--em); }
.pile ul { display: grid; gap: 8px; }
.pile li { padding: 10px 12px; border-radius: 12px; background: #F4F6F3; color: #5F6E5C; font-size: 14px; }
.pile li:nth-child(odd) { transform: rotate(-.6deg); }
.pile li:nth-child(even) { transform: rotate(.5deg); }
.next-title { font-size: 22px; font-weight: 600 !important; letter-spacing: -.02em; margin-top: 4px; }
.next-meta { color: #5F6E5C; font-size: 14px; margin-top: -8px; }
.next-step { padding: 12px 14px; border-radius: 12px; background: #CFE6D6; font-size: 14px; }
.next-step i { display: block; font-style: normal; font-size: 12px; color: #1E5C43; font-weight: 500; margin-bottom: 2px; }
.shift .next { transition: opacity .6s cubic-bezier(.16, 1, .3, 1) .25s, transform .6s cubic-bezier(.16, 1, .3, 1) .25s; }
.shift.pre .next { opacity: 0; transform: translateX(-16px); }

/* how it works */
.how { text-align: center; }
.how-panel { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--how); color: var(--how-text); border-radius: 20px; padding: 40px 16px; text-align: left; }
.step { padding: 8px 28px; display: flex; flex-direction: column; gap: 10px; }
.step + .step { border-left: 1px solid color-mix(in srgb, var(--how-text) 24%, transparent); }
.step-art { height: 96px; display: flex; align-items: flex-end; margin-bottom: 6px; }
.step b { font-size: 20px; line-height: 1.25; font-weight: 500; text-wrap: balance; }
.step > span:last-child { color: var(--how-muted); }

/* tabbed features */
.features h2 { text-align: center; max-width: 24ch; margin: 0 auto; }
.tabs { display: flex; gap: 4px; padding: 6px; border-radius: 999px; background: var(--pill); width: max-content; max-width: 100%; margin: 40px auto 24px; }
.tabs button { font: 500 15px/1 "Lexend Deca", sans-serif; color: var(--pill-text); background: none; border: 0; min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer; white-space: nowrap; transition: background-color .2s, color .2s; }
.tabs button[aria-selected="false"]:hover { background: color-mix(in srgb, var(--pill-text) 10%, transparent); }
.tabs button[aria-selected="true"] { background: var(--pill-on); color: var(--pill-on-text); }
.panel { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; border-radius: 20px; padding: 56px; min-height: 632px; background: var(--panel); color: var(--panel-text); }
.panel[hidden] { display: none; }
.panel.is-in { animation: rise .4s cubic-bezier(.16, 1, .3, 1); }
.panel-copy { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.panel-copy h3 { font-size: clamp(28px, 3.2vw, 40px); }
.panel-copy p { color: var(--panel-muted); max-width: 40ch; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

/* live ui previews: always the white card, like the app */
.ui { background: #FFFFFF; color: #1A2018; border: 1px solid #E3EAE2; border-radius: 20px; box-shadow: 0 2px 8px rgba(26, 32, 24, .06); padding: 22px; font-size: 14.5px; line-height: 1.45; display: flex; flex-direction: column; gap: 14px; }
.ui b { font-weight: 500; }
.ui-head { display: flex; flex-direction: column; gap: 2px; }
.ui-head b { font-size: 17px; }
.ui-head span, .ui-foot, .ui li span, .ui li small { color: #5F6E5C; font-size: 13px; }
.ui ol, .ui ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pile ul { display: grid; }
.ui-list li { display: grid; align-items: center; gap: 2px 12px; padding: 11px 12px; border-radius: 12px; background: #F4F6F3; }
.sem li { grid-template-columns: 1fr auto; }
.sem li small { grid-column: 1; }
.sem .ok { grid-column: 2; grid-row: 1 / 3; font-style: normal; font-size: 12px; color: #1E5C43; background: #CFE6D6; padding: 4px 10px; border-radius: 999px; }
.ui-foot { padding-top: 10px; border-top: 1px solid #D4DAD1; }
.ui-day li { display: grid; grid-template-columns: 46px 1fr; gap: 12px; align-items: center; }
.ui-day time { font-size: 12px; color: #5F6E5C; }
.ui-day li div { padding: 10px 12px; border-radius: 12px; display: flex; flex-direction: column; }
.ui-day .cls div { border: 1px solid #D4DAD1; }
.ui-day .study div { background: #CFE6D6; }
.ui-day .study span { color: #3F4C3C; }
.ui-day .now div { background: #1E5C43; color: #F6ECDB; }
.ui-day .now span { color: #CFE6D6; }
.ui-day .evt div { background: #F4F6F3; }
.ui-steps li { display: grid; grid-template-columns: 20px 1fr auto; gap: 12px; align-items: center; padding: 10px 4px; border-bottom: 1px solid #E3EAE2; }
.ui-steps .box { width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid #5F6E5C; }
.ui-steps .done .box { background: #1E5C43; border-color: #1E5C43; }
.ui .ui-steps .done .t { color: #5F6E5C; font-size: inherit; text-decoration: line-through; }
.ui .ui-steps .t { color: inherit; font-size: inherit; }
.ui-tip { display: flex; align-items: center; gap: 12px; background: #F4F6F3; padding: 10px 12px; border-radius: 12px; font-size: 13.5px; }
.ui-btn { align-self: flex-start; background: #1E5C43; color: #F6ECDB; padding: 11px 20px; border-radius: 999px; font-weight: 500; }
.rank li { grid-template-columns: 22px 1fr auto; }
.rank em, .board em { font-style: normal; font-weight: 600; color: #1E5C43; }
.rank li div { display: flex; flex-direction: column; }
.lvl { font-style: normal; font-size: 12px; padding: 4px 10px; border-radius: 999px; background: #FFFFFF; border: 1px solid #D4DAD1; }
.lvl.high { background: #1E5C43; color: #F6ECDB; border-color: #1E5C43; }
.board li { grid-template-columns: 22px 30px 1fr auto; }
.board .av { width: 30px; height: 30px; border-radius: 50%; background: #CFE6D6; }
.board .me { background: #1E5C43; color: #F6ECDB; }
.board .me em, .board .me small { color: #F6ECDB; }
.board .me .av { background: #8FCFA8; }
.ui-lock { align-items: center; text-align: center; padding: 36px 28px; background: #4F3A2C; color: #F6ECDB; border-color: #4F3A2C; }
.ui-lock b { font-size: 20px; }
.ui-lock > span { color: #E8D6C4; }
.ui-lock .ui-btn { align-self: center; background: #F6ECDB; color: #1A2018; }
.ui-lock .ui-ghost { font-size: 13px; text-decoration: underline; color: #E8D6C4; }

/* principles band */
.band { max-width: none; background: var(--band); color: var(--band-text); padding: clamp(64px, 8vw, 104px) 24px; }
.band-in { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.band h2 em { color: var(--band-em); }
.band-l p { margin-top: 20px; color: var(--band-muted); max-width: 42ch; }
.row { display: grid; grid-template-columns: 132px 1fr; gap: 28px; align-items: center; padding: 22px 0; border-top: 1px solid var(--band-line); }
.row:last-child { border-bottom: 1px solid var(--band-line); }
.row img { justify-self: center; }
.row div { display: flex; flex-direction: column; gap: 4px; }
.row b { font-size: 21px; line-height: 1.25; font-weight: 500; }
.row span { color: var(--band-muted); }

/* faq */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.faq-l { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; position: sticky; top: 100px; }
.faq-l p { color: var(--muted); max-width: 34ch; }
.faq-r { display: flex; flex-direction: column; gap: 10px; }
details { border: 1px solid var(--line); border-radius: 20px; padding: 0 24px; transition: background-color .2s; }
details[open] { background: var(--open); }
summary { list-style: none; cursor: pointer; min-height: 44px; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 18px; font-weight: 500; line-height: 1.35; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; font-size: 24px; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding-bottom: 22px; color: var(--open-muted); max-width: 60ch; }

/* close */
.close { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; padding-bottom: clamp(72px, 9vw, 112px); }
.close .scene { margin-top: 0; }
.close .reassure { margin-top: -10px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 32px max(24px, calc((100vw - 1200px) / 2)); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px; font-size: 15px; }
.foot nav a { color: var(--muted); text-decoration: none; padding: 12px; }
.foot nav a:hover { color: var(--text); }
.foot small { color: var(--muted); font-size: 13px; width: 100%; }

/* scroll reveal: added by js, so the page is complete without it */
.reveal { transition: opacity .6s cubic-bezier(.16, 1, .3, 1), transform .6s cubic-bezier(.16, 1, .3, 1); }
.reveal.pre { opacity: 0; transform: translateY(14px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .shift .next { transition: none; }
  .reveal.pre, .shift.pre .next { opacity: 1; transform: none; }
  .scene img, .panel.is-in { animation: none !important; }
  .btn, .tabs button, details, summary::after { transition: none; }
}

@media (max-width: 1040px) {
  .tabs { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; border-radius: 26px; }
  .tabs button { padding: 0 8px; font-size: 14px; white-space: normal; }
  .panel { grid-template-columns: 1fr; padding: 36px 28px; gap: 28px; min-height: 0; }
  .panel-copy p { max-width: 56ch; }
}

@media (max-width: 860px) {
  section { padding-inline: 16px; }
  .nav { padding: 0 16px; }
  .nav nav { display: none; }
  .scene { border-radius: 16px; }
  .d1.px, .d3.px { --u: 2; }
  .d2.px { --u: 3; }
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
  .tile-b { margin-top: 0; }
  .shift-row { grid-template-columns: minmax(0, 1fr); }
  .shift-arrow svg { transform: rotate(90deg); }
  .pile li { transform: none !important; }
  .how-panel { grid-template-columns: minmax(0, 1fr); padding: 12px; }
  .step { padding: 20px 12px; }
  .step + .step { border-left: 0; border-top: 1px solid color-mix(in srgb, var(--how-text) 24%, transparent); }
  .step-art { height: auto; }
  .tabs { grid-template-columns: repeat(2, 1fr); }
  .panel { padding: 24px 16px; }
  .ui { padding: 18px; }
  .band { padding-inline: 16px; }
  .band-in, .faq { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .row { grid-template-columns: 66px 1fr; gap: 18px; }
  .row img.px { --u: 1; }
  .faq-l { position: static; }
  details { padding: 0 18px; }
  summary { font-size: 17px; }
}

/* live homepage */
.shift-lede { max-width: 52ch; margin: 18px auto 0; color: var(--muted); }
/* the homepage's own surfaces. .home scopes these away from the concept pages */
.home .how-panel { background: #FFFFFF; border: 1px solid var(--line); }
.home .hero p, .home .shift-lede { font-size: clamp(18px, 1.6vw, 20px); text-wrap: pretty; }
.home .hero p { max-width: 830px; }
.home .shift-lede { max-width: 670px; margin-inline: auto; }
.home .hero-scene { margin-top: 24px; }
.card-label { font-size: 17px; font-weight: 500; line-height: 1.3; margin-bottom: 14px; }
.shift-col { min-width: 0; display: flex; flex-direction: column; }
.home .shift-row { align-items: start; }
.home .shift-arrow { align-self: center; }

/* everything loose at once: overlapping blocks instead of tidy rows */
.pile-blocks { position: relative; list-style: none; padding: 0; height: 360px; }
.pile-blocks li { position: absolute; width: max-content; max-width: 66%; padding: 11px 14px; border-radius: 14px; background: #FFFFFF; border: 1px solid #D4DAD1;
  box-shadow: 0 2px 8px rgba(26, 32, 24, .08); font-size: 14px; font-weight: 500; line-height: 1.3; color: #1A2018; }
.pile-blocks small { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: #5F6E5C; }
.pile-blocks li:nth-child(1) { left: 0; top: 8px; transform: rotate(-4deg); }
.pile-blocks li:nth-child(2) { left: 44%; top: 0; transform: rotate(3deg); z-index: 1; background: #F6ECDB; }
.pile-blocks li:nth-child(3) { left: 8%; top: 76px; transform: rotate(2.5deg); z-index: 2; }
.pile-blocks li:nth-child(4) { left: 38%; top: 118px; transform: rotate(-3deg); z-index: 3; background: #CFE6D6; }
.pile-blocks li:nth-child(4) small { color: #3F4C3C; }
.pile-blocks li:nth-child(5) { left: 0; top: 184px; transform: rotate(-2deg); z-index: 4; background: #F6ECDB; }
.pile-blocks li:nth-child(6) { left: 42%; top: 230px; transform: rotate(4deg); z-index: 5; }
.pile-blocks li:nth-child(7) { left: 14%; top: 288px; transform: rotate(-3.5deg); z-index: 6; }

/* study plans: only ever the next step */
.step-now { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: 14px; background: #F4F6F3; }
.ui .step-now small { font-size: 12px; color: #5F6E5C; }
.ui .step-now b { font-size: 22px; font-weight: 600; line-height: 1.2; letter-spacing: -.02em; }
.step-now span { font-size: 13px; color: #5F6E5C; }
.step-count { display: flex; align-items: center; gap: 12px; }
.step-count small { flex: none; font-size: 13px; color: #5F6E5C; }
.step-bar { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.step-bar i { height: 8px; border-radius: 999px; background: #E3EAE2; }
.step-bar .on { background: #1E5C43; }
.step-bar .cur { background: #8FCFA8; }

/* five tabs: no empty cell once they wrap */
@media (max-width: 1040px) {
  .home .tabs { grid-template-columns: repeat(6, 1fr); }
  .home .tabs button { grid-column: span 2; }
  .home .tabs button:nth-child(n+4) { grid-column: span 3; }
}
@media (max-width: 860px) {
  .home .hero p, .home .shift-lede { max-width: none; }
  .pile-blocks { height: 360px; }
  .pile-blocks li { max-width: 62%; }
  .home .tabs { grid-template-columns: repeat(2, 1fr); }
  .home .tabs button, .home .tabs button:nth-child(n+4) { grid-column: auto; }
  .home .tabs button:last-child { grid-column: 1 / -1; }
}
/* the two column pile gets tight just above the phone layout, and on the smallest phones */
@media (min-width: 861px) and (max-width: 1040px) { .pile-blocks li { max-width: 58%; font-size: 13px; } .pile-blocks li:nth-child(5) { top: 194px; } }
@media (max-width: 360px) { .pile-blocks li { font-size: 13px; padding: 9px 11px; } }

/* live homepage: sprite sizes and wordmark fills, as classes because the CSP blocks style attributes */
.s23-3 { --n: 23; --w: 3; }
.s26-3 { --n: 26; --w: 3; }
.s27-3 { --n: 27; --w: 3; }
.s31-3 { --n: 31; --w: 3; }
.s56-1 { --n: 56; --w: 1; }
.s56-2 { --n: 56; --w: 2; }
.s59-3 { --n: 59; --w: 3; }
.s60-2 { --n: 60; --w: 2; }
.s60-3 { --n: 60; --w: 3; }
.s66-2 { --n: 66; --w: 2; }
.wm-a { fill: var(--wm1); }
.wm-b { fill: var(--wm2); }
.wm-c { fill: var(--wm3); }
.wm-d { fill: #E6B26A; }
