/* Landing page. Shared tokens, nav, buttons and the waitlist form live in styles.css. */

/* Hero */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 48px; padding-bottom: 36px; }
.hero-icon { width: 88px; height: 88px; border-radius: 22px; box-shadow: 0 18px 40px -16px rgba(123, 92, 250, .6); }
.hero-category { margin-top: 22px; font-size: 15px; font-weight: 650; color: var(--text-2); }
.hero h1 { margin-top: 12px; font-size: clamp(44px, 7vw, 76px); font-weight: 850; letter-spacing: -0.035em; line-height: 1.02; }
.hero .lede { margin-left: auto; margin-right: auto; }
.hero .waitlist { margin-top: 30px; text-align: left; }
.facts { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: 14px; color: var(--text-2); font-weight: 550; }
.facts li { display: flex; align-items: center; gap: 6px; }
.facts li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; }
.see-inside { margin-top: 18px; font-size: 15px; font-weight: 600; color: var(--text-2); text-decoration: none; padding: 10px; }
.see-inside:hover { color: var(--text); }

/* Device composite. The mockups are drawn from the app's own layout and colors. */
.devices { position: relative; padding-top: 12px; padding-bottom: 96px; }
.mac {
  max-width: 980px; margin: 0 auto; border-radius: 14px; overflow: hidden;
  background: #fff; color: #16151c; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 0, 0, .08);
  font-size: 13px; line-height: 1.35;
}
.mac-bar { height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: #f1eff4; border-bottom: 1px solid #e4e1ea; }
.mac-bar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.mac-bar i:nth-child(2) { background: #febc2e; }
.mac-bar i:nth-child(3) { background: #28c840; }
.mac-body { display: grid; grid-template-columns: 230px 1fr; min-height: 540px; }
.side { background: #f6f5f8; border-right: 1px solid #e8e5ee; padding: 14px 10px; }
.side-row { display: flex; align-items: center; gap: 9px; padding: 6px 10px; border-radius: 8px; font-weight: 550; color: #2a2833; }
.side-row svg { width: 16px; height: 16px; flex: none; }
.side-row em { margin-left: auto; font-style: normal; color: #6f6c7b; font-weight: 500; font-size: 12px; }
.side-row.sel { background: var(--accent); color: #fff; }
.side-row.sel em { color: #fff; }
.side-row.area { font-weight: 750; margin-top: 4px; }
.side-gap { height: 10px; }
.pie { width: 15px; height: 15px; flex: none; border-radius: 50%; border: 1.8px solid var(--c); padding: 2px; background: conic-gradient(var(--c) 0 var(--p, 35%), transparent 0) content-box; display: inline-block; }
.pane { padding: 30px 44px; }
.pane-title { display: flex; align-items: center; gap: 10px; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; font-family: var(--font-display); }
.pane-title svg { width: 26px; height: 26px; color: var(--accent); }
.pane-sub { color: #6f6c7b; margin-top: 2px; font-size: 14px; }
.cycle-line { display: flex; align-items: center; gap: 8px; margin: 16px 0 6px; color: #55535f; }
.cycle-line b { color: #16151c; }
.ring { width: 16px; height: 16px; border-radius: 50%; background: conic-gradient(var(--accent) 0 var(--p), #e3def8 0); -webkit-mask: radial-gradient(circle, transparent 4.5px, #000 5px); mask: radial-gradient(circle, transparent 4.5px, #000 5px); }
.grp { display: flex; align-items: center; gap: 9px; font-weight: 750; font-size: 14px; padding: 18px 0 7px; border-bottom: 1px solid #ebe8f0; }
.grp em { margin-left: auto; font-style: normal; color: #6f6c7b; font-weight: 500; }
.grp .moon { width: 15px; height: 15px; color: var(--indigo); }
.todo { display: flex; align-items: flex-start; gap: 11px; padding: 9px 0 3px; }
.todo > span:not(.cb):not(.pie) { display: flex; flex-direction: column; }
.todo small { color: #6f6c7b; font-size: 12px; margin-top: 1px; }
.todo small.red { color: #d63a3a; font-weight: 600; }
.todo .note { width: 18px; height: 18px; color: #6f6c7b; flex: none; }
.todo em { margin-left: auto; font-style: normal; font-size: 12px; color: #6f6c7b; }
.cb { width: 18px; height: 18px; flex: none; border-radius: 5.5px; border: 1.5px solid #b9b6c2; margin-top: 1px; }
.cb.done { background: var(--accent-ink); border-color: var(--accent-ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-size: 13px; background-position: center; background-repeat: no-repeat; }
.struck { color: #6f6c7b; text-decoration: line-through; }

.phone {
  position: absolute; right: max(24px, calc(50% - 560px)); bottom: 24px;
  width: 290px; aspect-ratio: 9 / 19.3; border-radius: 48px; padding: 10px;
  background: linear-gradient(145deg, #2b2a31, #0f0e13);
  box-shadow: 0 0 0 1.5px #44434b inset, var(--shadow-lg);
}
.screen { position: relative; height: 100%; border-radius: 39px; overflow: hidden; background: #fff; color: #16151c; padding: 12px 16px 0; font-size: 13px; }
.island { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 88px; height: 26px; border-radius: 20px; background: #000; }
.sb { display: flex; justify-content: space-between; font-weight: 650; font-size: 12.5px; padding: 0 10px; height: 26px; }
.sb span:last-child { font-size: 8px; letter-spacing: -2px; }
.seg { display: inline-flex; margin-top: 12px; padding: 2px; border-radius: 9px; background: #efedf3; font-size: 11.5px; font-weight: 650; }
.seg span { padding: 3px 10px; border-radius: 7px; color: #55535f; }
.seg .on { background: #fff; color: #16151c; box-shadow: 0 1px 2px rgba(0, 0, 0, .1); }
.ph-title { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; margin-top: 8px; font-family: var(--font-display); }
.ph-sub { color: #6f6c7b; font-size: 12.5px; margin-bottom: 6px; }

/* Habit rows (phone and the Habits section) */
.hrow { display: flex; align-items: center; gap: 11px; padding: 10px 0; border-bottom: 1px solid #efedf3; }
.hic { width: 32px; height: 32px; flex: none; border-radius: 9px; background: var(--c); display: grid; place-items: center; color: #fff; }
.hic svg { width: 17px; height: 17px; }
.hmeta { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.hmeta > b { font-weight: 700; font-size: 14px; }
.hmeta small { color: #6f6c7b; font-size: 11.5px; display: flex; align-items: center; gap: 3px; }
.hmeta small svg { width: 11px; height: 11px; color: var(--orange); }
.dots { display: flex; gap: 4px; margin-top: 5px; }
.dots b, .dots s { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.dots s { background: color-mix(in srgb, var(--c) 18%, #fff); }
.hck { width: 30px; height: 30px; flex: none; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--c) 55%, #fff); background: transparent; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 15px; padding: 0; font-family: inherit; }
.hck.done { background: var(--c); border-color: var(--c); }
.hck.ring { border: 0; background: conic-gradient(var(--c) 0 var(--p), color-mix(in srgb, var(--c) 20%, #fff) 0); }
.hck.ring b { width: calc(100% - 6px); height: calc(100% - 6px); border-radius: 50%; background: #fff; color: var(--c); display: grid; place-items: center; font-size: .8em; }
button.hck { cursor: pointer; transition: transform .15s, background .2s; }
button.hck:active { transform: scale(.9); }
.tabbar { position: absolute; left: 10px; right: 10px; bottom: 14px; display: flex; align-items: center; justify-content: space-around; padding: 7px 6px; border-radius: 26px; background: rgba(246, 245, 248, .92); box-shadow: 0 0 0 1px #ebe8f0; font-size: 9.5px; font-weight: 600; color: #6f6c7b; }
.tabbar span { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.tabbar svg { width: 17px; height: 17px; }
.tabbar .on { color: var(--accent-ink); }
.tabbar .plus { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 24px; font-weight: 300; justify-content: center; }

/* Overview tiles */
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; padding-bottom: 40px; }
.tile { background: var(--surface); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.tile h3 { margin: 14px 0 4px; }
.tile p { color: var(--text-2); font-size: 15px; line-height: 1.45; }
.icon-tile { width: 44px; height: 44px; border-radius: 12px; background: var(--c); display: grid; place-items: center; box-shadow: 0 6px 16px -6px var(--c); }
.icon-tile svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Chapters: one rounded card per feature, alternating light and dark */
.chapter-wrap { padding-top: 24px; padding-bottom: 24px; }
.chapter {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center;
  padding: 64px; border-radius: 36px; background: var(--surface); box-shadow: var(--shadow), inset 0 0 0 1px var(--line);
}
.chapter.reverse .ch-copy { order: 2; }
.chapter.tint { background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 10%, var(--surface)), var(--surface) 70%); }
.chapter.dark { background: radial-gradient(90% 120% at 100% 0%, var(--ink-2), var(--ink) 70%); color: var(--on-ink); box-shadow: var(--shadow-lg); }
.chapter.dark .kicker { color: #b6a8ff; }
.ch-copy h2 { max-width: 12ch; }
.ch-copy > p:not(.kicker) { color: var(--text-2); margin-top: 18px; font-size: 18px; max-width: 520px; }
.chapter.dark .ch-copy > p:not(.kicker) { color: var(--on-ink-2); }
.ch-visual { display: flex; justify-content: center; }
.pills { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { font-size: 14px; font-weight: 600; padding: 7px 13px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); }
.pills code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13.5px; color: var(--accent-ink); font-weight: 650; }
.chapter.dark .pills li { background: rgba(255, 255, 255, .09); color: var(--on-ink-2); }

/* Quick add demo */
.glass { background: var(--glass); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); border-radius: 28px; }
.quickadd {
  width: 100%; max-width: 460px; padding: 26px;
  background: linear-gradient(var(--glass), var(--glass)), radial-gradient(80% 80% at 0% 0%, var(--mesh-a), transparent), radial-gradient(80% 80% at 100% 100%, var(--mesh-c), transparent);
}
.qa-field { font-size: 22px; font-weight: 500; min-height: 66px; line-height: 1.45; letter-spacing: -0.01em; }
.qa-field .tok { color: var(--accent-ink); font-weight: 700; }
.caret { display: inline-block; width: 2px; height: 1.1em; background: var(--accent); vertical-align: -3px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.qa-divider { height: 1px; background: var(--line); margin: 16px 0; }
.qa-results { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; min-height: 130px; }
.qa-results li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--text-2); animation: pop .35s cubic-bezier(.2, .9, .3, 1.3) both; }
.qa-results .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 15px; background: color-mix(in srgb, var(--c, var(--accent)) 14%, transparent); }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.96); } }

/* Focus demo */
.focus-card {
  width: 100%; max-width: 400px; border-radius: 36px; padding: 32px 28px; color: #fff; text-align: center;
  background: radial-gradient(120% 90% at 50% 0%, #8a72ff 0%, #6440ee 50%, #4526c4 100%);
  box-shadow: 0 30px 70px -25px rgba(100, 64, 238, .8);
}
.focus-on { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; background: rgba(255, 255, 255, .16); padding: 6px 14px; border-radius: 999px; font-size: 15px; }
.session-dots { display: flex; justify-content: center; gap: 7px; margin-top: 26px; }
.session-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .35); }
.session-dots i.on { background: #fff; }
.focus-time { font-family: var(--font-round); font-size: clamp(72px, 10vw, 96px); font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; line-height: 1.1; margin-top: 8px; }
.focus-bar { height: 12px; border-radius: 12px; background: rgba(255, 255, 255, .22); overflow: hidden; margin: 14px 4px 0; }
.focus-bar i { display: block; height: 100%; width: 0; background: #fff; border-radius: 12px; transition: width 1s linear; }
.chips { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.chips span { width: 46px; height: 34px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .16); font-weight: 700; font-size: 15px; }
.chips .sel { background: #fff; color: #4526c4; }
.focus-controls { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 24px; }
.focus-controls span { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .16); font-size: 18px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.focus-controls .big { width: 68px; height: 68px; background: #fff; color: #4526c4; font-size: 20px; }

/* Habits section card */
.habit-list { width: 100%; max-width: 440px; background: #fff; color: #16151c; border-radius: 28px; padding: 10px 22px; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 0, 0, .05); }
.habit-list .hrow { padding: 16px 0; }
.habit-list .hrow:last-child { border-bottom: 0; }
.habit-list .hic { width: 40px; height: 40px; border-radius: 11px; }
.habit-list .hmeta > b { font-size: 16px; }
.habit-list .hmeta small { font-size: 13px; }
.habit-list .dots b, .habit-list .dots s { width: 9px; height: 9px; }
.habit-list .hck { width: 38px; height: 38px; font-size: 18px; }

/* Cycles card */
.cycle-card { width: 100%; max-width: 440px; background: #fff; color: #16151c; border-radius: 28px; padding: 26px; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 0, 0, .05); }
.cy-title { display: flex; align-items: center; gap: 9px; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; font-family: var(--font-display); }
.cy-title svg { width: 22px; height: 22px; color: var(--accent); }
.cy-sub { color: #6f6c7b; font-size: 14px; margin-top: 2px; }
.cy-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 18px; }
.cy-stats p { font-size: 13px; color: #6f6c7b; }
.cy-stats b { display: block; font-family: var(--font-round); font-size: 26px; color: var(--accent-ink); letter-spacing: -0.02em; }
.cy-stats p + p b { color: #16151c; }
.cy-bars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 5px; height: 70px; align-items: end; margin-top: 16px; }
.cy-bars i { height: var(--h, 6px); min-height: 6px; border-radius: 4px; background: var(--accent); }
.cy-bars i.lo { background: #cfc5ff; }
.cy-bars i.now { background: transparent; box-shadow: inset 0 0 0 2px var(--accent); }
.cy-bars i:not([style]) { background: #ece9f1; }
.cy-goal { display: flex; font-weight: 750; padding: 18px 0 8px; border-bottom: 1px solid #ebe8f0; margin-top: 8px; }
.cy-goal em { margin-left: auto; font-style: normal; font-weight: 500; color: #6f6c7b; font-size: 13px; }
.cycle-card .todo { align-items: center; padding: 10px 0 2px; font-size: 15px; }
.in .cy-bars i { animation: grow .8s cubic-bezier(.2, .8, .2, 1) both; transform-origin: bottom; }

/* Review demo */
.review-card { width: 100%; max-width: 460px; background: #fff; color: #16151c; border-radius: 28px; padding: 24px; box-shadow: var(--shadow-lg); }
.rv-head { display: flex; justify-content: space-between; font-weight: 700; font-size: 17px; }
.rv-head .muted { font-weight: 500; font-size: 15px; color: #6f6c7b; }
.rv-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.rv-stats div { background: #f4f2f8; border-radius: 16px; padding: 12px; }
.rv-stats b { display: block; font-size: 22px; font-family: var(--font-round); letter-spacing: -0.02em; }
.rv-stats small { display: block; color: #6f6c7b; font-size: 13px; }
.rv-stats em { font-style: normal; font-size: 12px; font-weight: 700; }
.up { color: #1f8a46; }
.down { color: #c4520d; }
.bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; height: 170px; margin-top: 22px; align-items: end; }
.bar { height: 100%; display: flex; flex-direction: column-reverse; align-items: center; position: relative; padding-bottom: 22px; }
.bar i { width: 100%; height: var(--h); background: var(--accent); border-radius: 6px; transform-origin: bottom; }
.bar i.lo { background: #cfc5ff; }
.bar span { position: absolute; bottom: 0; font-size: 12px; color: #6f6c7b; font-weight: 600; }
.in .bar i { animation: grow .9s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes grow { from { transform: scaleY(0); } }

/* Statement bands */
.band { margin: 72px 0; padding: 112px 0; background: radial-gradient(60% 120% at 0% 100%, rgba(123, 92, 250, .35), transparent 70%), radial-gradient(60% 120% at 100% 0%, rgba(240, 85, 154, .22), transparent 70%), var(--ink); color: var(--on-ink); text-align: center; }
.band-line { font-family: var(--font-display); font-size: clamp(32px, 5vw, 56px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; max-width: 860px; margin: 0 auto; }
.band-text { max-width: 620px; margin: 24px auto 0; font-size: 19px; color: var(--on-ink-2); }
.works { list-style: none; padding: 0; margin: 56px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 980px; text-align: left; }
.works li { padding: 20px 22px; border-radius: 20px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.works b { display: block; font-size: 17px; }
.works span { display: block; color: var(--on-ink-2); font-size: 15px; margin-top: 4px; }

/* Pricing */
.pricing { padding-top: 96px; padding-bottom: 56px; }
.pricing .kicker { margin-bottom: 14px; }
.pricing .lede { margin-top: 14px; }
.plans { display: grid; grid-template-columns: 1fr 1.08fr; gap: 18px; max-width: 840px; margin: 44px auto 0; align-items: start; }
.plan { background: var(--surface); border-radius: 30px; padding: 32px; box-shadow: var(--shadow); position: relative; }
.plan.pro { box-shadow: var(--shadow-lg), 0 0 0 2px var(--accent); background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 10%, var(--surface)), var(--surface) 60%); padding: 40px 34px; }
.plan-name { font-size: 19px; font-weight: 750; }
.badge { position: absolute; top: 30px; right: 30px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; padding: 5px 11px; border-radius: 8px; background: linear-gradient(100deg, #6440ee, #d6337f); }
.price { font-size: 46px; font-weight: 800; letter-spacing: -0.03em; margin-top: 8px; font-family: var(--font-round); }
.price small { font-size: 17px; color: var(--text-3); font-weight: 600; letter-spacing: 0; }
.alt { color: var(--text-2); font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 11px; }
.plan li { display: flex; gap: 10px; font-size: 16px; }
.plan li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 6px; background: var(--accent-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.plan:not(.pro) li::before { background-color: var(--text-3); }
.plan-foot { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; color: var(--text-2); font-weight: 550; }
.fine { color: var(--text-3); font-size: 13px; margin-top: 22px; }

/* FAQ */
.faq { max-width: 780px; padding-top: 72px; padding-bottom: 56px; }
.faq h2 { margin-bottom: 32px; }
details { background: var(--surface); border-radius: 18px; padding: 0 22px; margin-bottom: 10px; box-shadow: var(--shadow); }
summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 650; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--accent-ink); transition: transform .25s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 0 20px; color: var(--text-2); }
details a { color: var(--accent-ink); }

/* Final */
.final { text-align: center; padding-top: 72px; padding-bottom: 112px; display: flex; flex-direction: column; align-items: center; }
.final-icon { border-radius: 24px; box-shadow: 0 24px 50px -18px rgba(123, 92, 250, .55); margin-bottom: 28px; }
.final .lede { margin-top: 14px; margin-bottom: 28px; }
.final .waitlist { text-align: left; }

/* Responsive */
@media (max-width: 1100px) {
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .phone { width: 250px; right: 16px; }
}
@media (max-width: 900px) {
  .chapter { grid-template-columns: 1fr; padding: 40px 28px; gap: 36px; border-radius: 28px; }
  .chapter.reverse .ch-copy { order: 0; }
  .ch-copy h2 { max-width: none; }
  .mac-body { grid-template-columns: 1fr; min-height: 0; }
  .side { display: none; }
  .pane { padding: 24px 24px 120px; }
  .works { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 520px; }
  .plan.pro { order: -1; }
}
@media (max-width: 600px) {
  .hero { padding-top: 28px; }
  .devices { padding-bottom: 40px; }
  .mac { display: none; }
  .phone { position: relative; right: auto; bottom: auto; margin: 0 auto; width: 280px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile { padding: 18px; }
  .chapter-wrap { padding-top: 12px; padding-bottom: 12px; }
  .chapter { padding: 32px 20px; border-radius: 24px; }
  .band { padding: 72px 0; margin: 48px 0; }
  .works { grid-template-columns: 1fr; margin-top: 36px; }
  .habit-list, .cycle-card, .review-card { padding-left: 16px; padding-right: 16px; }
  .bars { gap: 6px; }
  .rv-stats b { font-size: 18px; }
  .final { padding-bottom: 72px; }
}

/* The mockups are always light, like the app's default look, so they keep the light-mode accent. */
.mac, .screen, .habit-list, .cycle-card, .review-card { --accent: #7b5cfa; --accent-ink: #6440ee; }
@media (prefers-color-scheme: dark) {
  .chapter.dark { box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .1); background: radial-gradient(90% 120% at 100% 0%, #3a2d6b, #221a40 70%); }
}
