:root {
  --paper: #F6F7F5;
  --ink: #15171C;
  --ink-2: #5B616D;
  --line: #E1E4E1;
  --pine: #1E6B52;
  --mint: #E4F1EB;
  --alert: #B4232C;
  --alert-soft: #FBE9EA;
  --sky: #EAF1FB;
  --sky-ink: #24477F;
  --google: #4A78C2;
  --hour: 56px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 "Instrument Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--pine); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--pine); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(1160px, 100% - 48px); margin: 0 auto; }

/* top bar */
.top { display: flex; align-items: center; gap: 28px; padding: 22px 0; }
.mark { font: 700 28px/1 Poppins, "Instrument Sans", sans-serif; letter-spacing: -.04em; color: var(--ink); text-decoration: none; position: relative; }
.mark::after { content: "!"; position: absolute; top: -9px; right: -15px; width: 18px; height: 18px; border-radius: 50%; background: var(--alert); color: #fff; font: 700 11px/18px Poppins, sans-serif; text-align: center; letter-spacing: 0; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 24px; font-size: 15px; }
.top nav a:not(.btn) { color: var(--ink-2); text-decoration: none; }
.top nav a:not(.btn):hover { color: var(--ink); }

.btn { display: inline-block; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: 16px; padding: 13px 22px; border-radius: 10px; border: 2px solid var(--ink); }
.btn:hover { background: #2A2E37; border-color: #2A2E37; }
.btn.quiet { background: transparent; color: var(--ink); }
.btn.quiet:hover { background: #fff; }
.btn.small { font-size: 14px; padding: 8px 14px; }

/* hero: the week itself */
.hero { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); gap: 56px; align-items: center; padding: 40px 0 80px; }
.hero h1 { font-size: clamp(40px, 4.8vw, 60px); line-height: 1.04; letter-spacing: -.035em; font-weight: 700; margin: 0 0 22px; }
.hero .lead { font-size: 20px; color: var(--ink-2); margin: 0 0 32px; max-width: 30em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .note { font-size: 14.5px; color: var(--ink-2); margin: 18px 0 0; }

.week { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 16px 18px; box-shadow: 0 30px 60px -30px rgba(21, 23, 28, .28); }
.week-hd { display: grid; grid-template-columns: 34px repeat(5, 1fr); font-size: 13px; color: var(--ink-2); padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.week-hd b { display: block; font-size: 20px; color: var(--ink); line-height: 1.2; font-weight: 600; }
.week-hd .today b { color: var(--pine); }
.week-bd { display: grid; grid-template-columns: 34px repeat(5, 1fr); position: relative; }
.hrs { position: relative; height: calc(var(--hour) * 5.5); }
.hrs span { position: absolute; right: 8px; font-size: 11px; color: var(--ink-2); transform: translateY(-7px); }
.day { position: relative; height: calc(var(--hour) * 5.5); border-left: 1px solid var(--line); background-image: linear-gradient(var(--line) 1px, transparent 1px); background-size: 100% var(--hour); }
.blk { position: absolute; left: 4px; right: 4px; border-radius: 9px; padding: 6px 8px; font-size: 12px; line-height: 1.3; overflow: hidden; }
.blk b { display: block; font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.blk span { display: block; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cls { background: #F0F1EF; color: #4F5560; }
.study { background: var(--mint); color: #0F3D2F; box-shadow: inset 3px 0 0 var(--pine); }
.gev { background: var(--sky); color: var(--sky-ink); box-shadow: inset 3px 0 0 var(--google); }
.exam { background: var(--alert-soft); color: var(--alert); box-shadow: inset 3px 0 0 var(--alert); }
.moved::after { content: "!"; position: absolute; top: 5px; right: 6px; width: 17px; height: 17px; border-radius: 50%; background: var(--alert); color: #fff; font: 700 11px/17px Poppins, sans-serif; text-align: center; }
.moved { outline: 2px solid var(--alert); outline-offset: 1px; }
.week-msg { margin: 14px 0 0; padding: 10px 14px; border-radius: 12px 12px 12px 4px; border: 2px solid var(--alert); font-size: 14px; background: #fff; }
.week-msg b { color: var(--alert); }

/* the one orchestrated moment: classes, then study time, then a Google event moves a session */
@media (prefers-reduced-motion: no-preference) {
  .cls, .exam { animation: appear .45s ease-out both; }
  .study { animation: slide .5s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.6s + var(--i, 0) * .12s); }
  .gev { animation: drop .45s cubic-bezier(.2, .8, .2, 1) both; animation-delay: 1.9s; }
  .ghost { animation: leave .35s ease-in both; animation-delay: 2.35s; }
  .moved { animation: slide .45s cubic-bezier(.2, .8, .2, 1) both, pulse .5s ease-out 3.2s; animation-delay: 2.65s, 3.2s; }
  .moved::after { animation: pop .35s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: 3.05s; }
  .week-msg { animation: appear .4s ease-out both; animation-delay: 3.3s; }
}
@keyframes appear { from { opacity: 0; } }
@keyframes slide { from { opacity: 0; transform: translateY(10px); } }
@keyframes drop { from { opacity: 0; transform: translateY(-16px); } }
@keyframes leave { to { opacity: 0; transform: scale(.94); } }
@keyframes pop { from { transform: scale(0); } }
@keyframes pulse { 50% { outline-offset: 4px; } }
.ghost { pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .ghost { display: none; } }

/* sections */
section { padding: 72px 0; }
section + section { border-top: 1px solid var(--line); }
h2 { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -.025em; margin: 0 0 14px; font-weight: 700; }
.lede { font-size: 19px; color: var(--ink-2); max-width: 36em; margin: 0 0 40px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; margin-bottom: 16px; }
.steps h3 { font-size: 21px; margin: 0 0 8px; letter-spacing: -.01em; }
.steps p { margin: 0; color: var(--ink-2); }

.features { columns: 2; column-gap: 64px; }
.feature { break-inside: avoid; padding: 0 0 26px; }
.feature h3 { font-size: 18px; margin: 0 0 4px; }
.feature h3 .ic { margin-right: 8px; }
.feature p { margin: 0; color: var(--ink-2); }

.shots { display: grid; grid-template-columns: 3fr 2fr; gap: 36px 28px; align-items: start; }
.shots .wide { grid-column: 1 / -1; }
figure { margin: 0; }
figure img { border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 24px 48px -28px rgba(21, 23, 28, .35); }
figcaption { font-size: 14.5px; color: var(--ink-2); margin-top: 12px; }

.privacy-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; max-width: 46em; }
.privacy-list li { padding-left: 30px; position: relative; }
.privacy-list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; border-radius: 4px; background: var(--pine); }

.install { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.btn.big { font-size: 19px; padding: 16px 30px; border-radius: 12px; }
.dl .note { font-size: 14.5px; color: var(--ink-2); margin: 14px 0 0; }
.dl .why { font-size: 15.5px; color: var(--ink-2); margin: 20px 0 18px; max-width: 30em; }
.isteps { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; counter-reset: istep; }
.isteps li { counter-increment: istep; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; }
.isteps li::before { content: counter(istep); grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--mint); color: var(--pine); font-weight: 700; }
.isteps h3 { font-size: 18px; margin: 4px 0 2px; }
.isteps p { margin: 0; color: var(--ink-2); }
details { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; background: #fff; }
summary { cursor: pointer; font-weight: 600; }
code { font: 14px/1.4 ui-monospace, Menlo, Consolas, monospace; background: #EDEFEC; padding: 1px 6px; border-radius: 5px; }

footer { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 14.5px; color: var(--ink-2); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
footer a { color: var(--ink-2); }
footer .right { margin-left: auto; }

/* privacy policy page */
.doc { max-width: 44em; padding: 24px 0 72px; }
.doc h1 { font-size: clamp(36px, 4.4vw, 52px); letter-spacing: -.03em; line-height: 1.08; margin: 12px 0 8px; }
.doc .updated { color: var(--ink-2); margin: 0 0 36px; }
.doc h2 { font-size: 24px; margin: 40px 0 10px; letter-spacing: -.015em; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15.5px; margin: 8px 0; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.doc th { font-weight: 600; background: #EEF0ED; }

/* small screens */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 16px; }
  .steps, .install, .shots { grid-template-columns: 1fr; gap: 36px; }
  .features { columns: 1; }
  .top nav a.hide-sm { display: none; }
}
@media (max-width: 560px) {
  :root { --hour: 46px; }
  .week-hd, .week-bd { grid-template-columns: 28px repeat(5, minmax(0, 1fr)); }
  .blk { padding: 4px 5px; font-size: 10.5px; } .blk b { font-size: 11px; } .blk span { display: none; }
  .hero .lead { font-size: 18px; }
}
