:root {
  color-scheme: light;
  --paper: #f4eddd;
  --paper-deep: #e5d9c2;
  --paper-up: #fffaf0;
  --ink: #1d2424;
  --muted: #6d685d;
  --signal: #bd3f31;
  --signal-dark: #84281f;
  --orange: #d86b2c;
  --green: #2b6958;
  --line: rgba(29, 36, 36, .18);
  --line-strong: rgba(29, 36, 36, .34);
  --max: 1240px;
  --serif: "Iowan Old Style", Baskerville, Georgia, serif;
  --sans: "Avenir Next", "Trebuchet MS", sans-serif;
  --mono: "DejaVu Sans Mono", "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: linear-gradient(rgba(29,36,36,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(29,36,36,.035) 1px,transparent 1px),var(--paper); background-size: 18px 18px; font-family: var(--sans); font-size: 17px; }
a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 30; min-height: 72px; padding: 0 max(22px,calc((100vw - var(--max))/2)); display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid var(--line); background: rgba(244,237,221,.92); backdrop-filter: blur(16px); }
.brand, .footer-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; }
.brand span { display: grid; gap: 3px; }
.brand strong { font: 900 13px/1 var(--mono); letter-spacing: .11em; text-transform: uppercase; }
.brand small { color: var(--muted); font: 800 8px/1 var(--mono); letter-spacing: .11em; }
nav { display: flex; align-items: center; gap: 24px; }
nav a { color: #4f514d; font-size: 13px; font-weight: 800; text-decoration: none; }
nav a:hover { color: var(--signal-dark); }
.nav-demo { min-height: 38px; padding: 0 13px; display: inline-flex; align-items: center; gap: 12px; color: #fff9ec; border: 1px solid var(--signal-dark); border-radius: 7px; background: var(--signal); box-shadow: 0 3px 0 var(--signal-dark); }
nav .nav-demo:hover { color: white; transform: translateY(-1px); }

.hero { min-height: 820px; padding: 150px max(24px,calc((100vw - var(--max))/2)) 92px; display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 78px; border-bottom: 1px solid var(--line-strong); }
.eyebrow { margin: 0 0 16px; color: var(--signal-dark); font: 900 10px/1.25 var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.eyebrow i { width: 8px; height: 8px; margin-right: 8px; display: inline-block; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(216,107,44,.13); vertical-align: -1px; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 28px; font: 700 clamp(62px,6.8vw,98px)/.86 var(--serif); letter-spacing: -.058em; }
h1 em, h2 em { color: var(--signal); font-style: normal; }
.hero-lede { max-width: 650px; margin-bottom: 0; color: var(--muted); font-size: 20px; line-height: 1.62; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.button { min-height: 48px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; border: 1px solid var(--line-strong); border-radius: 7px; font-size: 13px; font-weight: 900; text-decoration: none; cursor: pointer; }
.button--signal { color: #fff9ec; border-color: var(--signal-dark); background: var(--signal); box-shadow: 0 4px 0 var(--signal-dark); }
.button--signal:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--signal-dark); }
.text-link { color: var(--green); font-size: 13px; font-weight: 900; text-underline-offset: 5px; }
.text-link span { margin-left: 7px; color: var(--signal); }
.hero-facts { margin: 34px 0 0; padding: 17px 0 0; display: flex; flex-wrap: wrap; gap: 12px 28px; border-top: 1px solid var(--line); list-style: none; color: var(--muted); font: 800 9px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.hero-facts li + li::before { margin-right: 28px; color: var(--orange); content: "/"; }

.hero-routine { position: relative; min-height: 580px; display: grid; place-items: center; }
.routine-orbit { position: absolute; width: 510px; height: 510px; border: 1px dashed rgba(189,63,49,.36); border-radius: 50%; animation: orbit 25s linear infinite; }
.routine-orbit::before, .routine-orbit::after { position: absolute; content: ""; border: 1px solid rgba(29,36,36,.13); border-radius: 50%; }
.routine-orbit::before { inset: 52px; }
.routine-orbit::after { inset: 115px; border-style: dashed; }
.routine-card { position: relative; z-index: 2; width: min(480px,100%); overflow: hidden; border: 2px solid var(--ink); border-radius: 16px; background: rgba(255,250,240,.95); box-shadow: 22px 26px 0 rgba(216,107,44,.18),0 35px 80px rgba(50,35,20,.18); transform: rotate(1deg); }
.routine-card header, .routine-card footer { min-height: 58px; padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.routine-card header { border-bottom: 1px solid var(--line); background: var(--paper); }
.routine-card header > span { display: flex; align-items: center; gap: 9px; font: 900 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.routine-card header img { width: 32px; height: 32px; border-radius: 8px; }
.routine-card header > i { color: var(--green); font: 900 8px/1 var(--mono); letter-spacing: .1em; }
.routine-card header small { width: 7px; height: 7px; margin-right: 6px; display: inline-block; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(216,107,44,.14); }
.routine-card > p { margin: 25px 25px 8px; color: var(--signal-dark); font: 900 9px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.routine-card > h2 { margin: 0 25px 22px; font: 700 39px/.94 var(--serif); letter-spacing: -.04em; }
.routine-card ol { margin: 0; padding: 0 25px 20px; list-style: none; }
.routine-card li { min-height: 50px; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; border-top: 1px solid var(--line); }
.routine-card li > span { color: var(--signal); font: 900 9px/1 var(--mono); }
.routine-card li b { font-family: var(--serif); font-size: 15px; }
.routine-card time { color: var(--muted); font: 800 9px/1 var(--mono); }
.routine-card footer { color: var(--paper); background: var(--ink); font: 900 8px/1 var(--mono); letter-spacing: .1em; }
.routine-card footer b { color: #f7c19f; }
.hero-sticker { position: absolute; z-index: 3; right: -10px; bottom: 42px; padding: 14px 15px 11px; color: #fff9ec; border: 4px double #fff9ec; background: var(--signal); font: 900 15px/.9 var(--mono); letter-spacing: .04em; text-align: center; transform: rotate(-8deg); }

.demo-section { padding: 110px max(24px,calc((100vw - var(--max))/2)) 120px; color: var(--paper); background: var(--ink); scroll-margin-top: 68px; }
.section-intro { margin-bottom: 62px; display: grid; grid-template-columns: 1.05fr .75fr; align-items: end; gap: 92px; }
.section-intro .eyebrow { color: #f0a57a; }
.section-intro h2, .features h2, .settings-showcase h2 { margin: 0; font: 700 clamp(54px,6.2vw,88px)/.88 var(--serif); letter-spacing: -.055em; }
.section-intro > div:last-child > p { color: #bdb8ad; line-height: 1.65; }
.demo-instruction { margin-bottom: 0; padding: 14px 16px; border-left: 3px solid var(--orange); background: rgba(255,255,255,.045); font-size: 13px; }
.demo-instruction b { color: #f6e0cb; }
.demo-browser { overflow: hidden; color: var(--ink); border: 5px solid #070909; border-radius: 20px; background: #d8d2c6; box-shadow: 22px 26px 0 rgba(216,107,44,.18),0 40px 100px rgba(0,0,0,.4); }
.demo-chrome { height: 46px; padding: 0 16px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: #a29d93; border-bottom: 1px solid #363838; background: #0e1111; }
.demo-chrome > span { display: flex; gap: 6px; }
.demo-chrome i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.demo-chrome i:nth-child(2) { opacity: .62; }
.demo-chrome i:nth-child(3) { opacity: .3; }
.demo-chrome b { font: 800 8px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.demo-chrome em { justify-self: end; font-size: 18px; font-style: normal; }
.demo-toolbar { height: 46px; padding: 0 12px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #c6c1b8; background: #ece9e3; }
.demo-address { min-width: 0; flex: 1; padding: 7px 13px; overflow: hidden; border: 1px solid #d1ccc4; border-radius: 999px; color: #7a7771; background: #f8f6f1; font: 700 9px/1 var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.toolbar-action { position: relative; width: 35px; height: 35px; padding: 0; display: grid; place-items: center; border: 1px solid #c8c4bb; border-radius: 8px; background: white; cursor: pointer; }
.toolbar-action img { width: 26px; height: 26px; }
.toolbar-action b { position: absolute; right: -6px; bottom: -5px; min-width: 22px; padding: 3px 4px; border-radius: 5px; color: white; background: var(--signal); font: 900 7px/1 var(--mono); }
.toolbar-action:focus-visible { outline: 3px solid rgba(216,107,44,.4); outline-offset: 3px; }
.demo-page { position: relative; min-height: 660px; overflow: hidden; background: #d9dde3; }
.homework-editor { position: absolute; inset: 0; color: #30343a; background: #d9dde3; font-family: "Avenir Next","Segoe UI",sans-serif; }
.homework-titlebar { min-height: 56px; padding: 9px 25px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid #d2d5d9; background: #fff; }.homework-titlebar > span { display: flex; align-items: center; gap: 10px; }.homework-titlebar > span:first-child { align-items: flex-start; flex-direction: column; gap: 3px; }.homework-titlebar strong { font-size: 14px; line-height: 1; }.homework-titlebar small { color: #7a8087; font-size: 9px; }.homework-titlebar i { color: #6f7881; font-style: normal; }.homework-titlebar b { padding: 8px 14px; border-radius: 5px; color: white; background: #bd3f31; font-size: 10px; }
.homework-formatbar { height: 42px; padding: 0 25px; display: flex; align-items: center; gap: 7px; overflow: hidden; border-bottom: 1px solid #c8ccd1; background: #f8f9fa; color: #5f666e; white-space: nowrap; }.homework-formatbar > b { width: 27px; height: 27px; display: grid; flex: 0 0 27px; place-items: center; border-radius: 4px; font-size: 12px; }.homework-formatbar > span { min-width: 58px; padding: 6px 9px; border: 1px solid #dde0e4; border-radius: 4px; background: #fff; font-size: 10px; }.homework-formatbar > span:nth-of-type(2) { min-width: 35px; }.homework-formatbar > i { width: 1px; height: 22px; margin: 0 3px; background: #d6d9dd; }
.homework-ruler { position: relative; height: 24px; padding: 0 15%; display: flex; align-items: flex-start; justify-content: space-between; border-bottom: 1px solid #c5c9ce; background: #f2f3f5; }.homework-ruler > span { position: absolute; top: 0; left: 15%; width: 8px; height: 8px; border: 4px solid transparent; border-top-color: #727980; }.homework-ruler i { width: 1px; height: 5px; display: block; background: #a3a8ae; }
.homework-canvas { height: 538px; padding: 26px 24px 80px; overflow: hidden; }
.homework-sheet { position: relative; width: min(650px,calc(100% - 110px)); min-height: 610px; margin: 0 auto; padding: 62px 72px; color: #25272b; background: white; box-shadow: 0 5px 22px rgba(38,46,56,.2); font-family: Georgia,"Times New Roman",serif; }.homework-sheet h3 { margin: 20px 0 25px; font: 600 24px/1.1 Georgia,"Times New Roman",serif; text-align: center; }.homework-sheet p { margin: 0 0 16px; font-size: 13px; line-height: 1.8; }.homework-sheet .homework-meta { color: #51555a; font-size: 11px; line-height: 1.55; }.homework-sheet p u { text-decoration-color: #bd3f31; text-decoration-style: wavy; text-underline-offset: 3px; }.typing-caret { width: 1px; height: 15px; margin-left: 2px; display: inline-block; vertical-align: -2px; background: #bd3f31; animation: caret-blink 1s steps(1,end) infinite; }.teacher-comment { position: absolute; top: 282px; right: -62px; width: 150px; padding: 10px 11px; color: #5b3a31; border-left: 3px solid var(--orange); border-radius: 3px; background: #fff6d9; box-shadow: 0 3px 12px rgba(55,44,28,.16); font: 700 9px/1.4 "Avenir Next","Segoe UI",sans-serif; }

.timer-widget { position: absolute; z-index: 5; top: 42px; right: 42px; width: min(342px,calc(100% - 24px)); overflow: hidden; border: 1px solid rgba(29,36,36,.28); border-radius: 15px; color: var(--ink); background: linear-gradient(rgba(29,36,36,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(29,36,36,.035) 1px,transparent 1px),var(--paper); background-size: 18px 18px; box-shadow: 0 18px 48px rgba(25,18,12,.3); font-family: var(--sans); }
.timer-widget[hidden] { display: none; }
.widget-head { min-height: 43px; padding: 8px 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); user-select: none; }
.widget-brand, .widget-tools { display: flex; align-items: center; gap: 8px; }
.widget-brand img { width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 6px; }
.widget-brand strong { font: 900 9px/1 var(--mono); letter-spacing: .11em; text-transform: uppercase; }
.widget-tools { height: 25px; flex: 0 0 auto; gap: 7px; }
.drag-handle, .close-widget { width: 25px; height: 25px; padding: 0; display: grid; flex: 0 0 25px; place-content: center; align-self: center; border: 0; border-radius: 6px; color: #68665f; background: transparent; cursor: grab; line-height: 0; }
.drag-handle { grid-template-columns: repeat(2,3px); grid-template-rows: repeat(3,3px); gap: 3px; touch-action: none; }
.drag-handle i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.drag-handle:hover, .drag-handle.is-dragging { background: rgba(29,36,36,.07); }
.close-widget { border: 1px solid var(--line); background: rgba(255,255,255,.42); cursor: pointer; font: 600 18px/1 var(--sans); }
.activity-dot { position: relative; width: 8px; height: 8px; margin: 0 5px; display: block; flex: 0 0 8px; align-self: center; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(216,107,44,.13); }
.timer-widget.is-running .activity-dot::after { position: absolute; inset: -5px; border: 1px solid rgba(216,107,44,.7); border-radius: 50%; content: ""; animation: pulse 1.4s cubic-bezier(.23,1,.32,1) infinite; }
.widget-main { padding: 18px 15px 15px; display: grid; grid-template-columns: 126px 1fr; align-items: center; gap: 14px; background: rgba(255,251,243,.74); }
.stopwatch { position: relative; width: 122px; height: 122px; padding: 7px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; background: var(--paper-deep); box-shadow: inset 0 0 0 3px rgba(255,250,240,.5),0 5px 14px rgba(50,35,20,.14); }
.watch-crown { position: absolute; top: -14px; left: 50%; width: 28px; height: 14px; border: 2px solid var(--ink); border-bottom: 0; border-radius: 6px 6px 2px 2px; background: var(--paper-deep); transform: translateX(-50%); }
.watch-button { position: absolute; z-index: 0; top: 2px; right: 1px; width: 15px; height: 8px; border: 2px solid var(--ink); border-radius: 3px; background: var(--paper-deep); transform: rotate(43deg); transform-origin: left center; }
.stopwatch svg { position: relative; z-index: 1; width: 100%; height: 100%; overflow: visible; }
.watch-face { fill: var(--paper); stroke: rgba(29,36,36,.22); }
.ticks { fill: none; stroke: var(--ink); stroke-linecap: round; stroke-width: 2.3; }
.hand { transform-origin: 50px 50px; transition: transform 220ms linear; }
.hand--little { stroke: var(--ink); stroke-linecap: round; stroke-width: 4; }
.hand--big { stroke: var(--signal); stroke-linecap: round; stroke-width: 3; }
.hand-pin { fill: var(--ink); stroke: var(--paper); stroke-width: 1.5; }
.watch-readout { position: absolute; z-index: 2; right: 0; bottom: 15px; left: 0; display: grid; justify-items: center; pointer-events: none; }
.watch-readout output { padding: 2px 4px; border: 1px solid rgba(29,36,36,.14); border-radius: 4px; background: rgba(244,237,221,.92); font: 900 16px/1 var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.06em; }
.watch-readout span { margin-top: 3px; color: var(--muted); font: 900 7px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.widget-copy { min-width: 0; }
.widget-copy > p:first-child { margin-bottom: 6px; color: var(--signal-dark); font: 900 8px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.widget-copy h3 { margin: 0; overflow-wrap: anywhere; font: 700 21px/1.02 var(--serif); letter-spacing: -.025em; }
.widget-copy #demoStatus { min-height: 44px; margin: 7px 0 9px; color: var(--muted); font-size: 10px; line-height: 1.42; }
.start-pause { width: 100%; min-height: 34px; border: 1px solid var(--signal-dark); border-radius: 6px; color: #fff9ec; background: var(--signal); box-shadow: 0 3px 0 var(--signal-dark); cursor: pointer; font: 900 9px/1 var(--mono); text-transform: uppercase; }
.timer-widget.is-attention .stopwatch { color: #fff9ec; background: var(--signal); }
.timer-widget.is-attention .watch-face { fill: var(--signal-dark); }
.timer-widget.is-attention .watch-readout output { color: #fff9ec; background: rgba(132,40,31,.92); }
.timer-widget.is-attention .start-pause { display: none; }
.timer-widget.is-attention #nextBlock { color: #fff9ec; border-color: var(--signal-dark); background: var(--signal); }
.widget-actions { padding: 10px; display: grid; grid-template-columns: repeat(4,1fr); gap: 6px; border-top: 1px solid var(--line); }
.widget-actions button { min-width: 0; min-height: 34px; padding: 6px 3px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: rgba(255,255,255,.48); cursor: pointer; font: 900 8px/1 var(--mono); text-transform: uppercase; }
.widget-actions button:disabled { cursor: not-allowed; opacity: .42; }
.timer-widget button:focus-visible { outline: 3px solid rgba(189,63,49,.3); outline-offset: 2px; }
.timer-widget > footer { padding: 0 10px 10px; text-align: center; }
.timer-widget > footer a { color: var(--muted); font: 800 8px/1 var(--mono); text-decoration: none; }
.settings-drawer { position: absolute; z-index: 7; right: 24px; bottom: 24px; width: min(470px,calc(100% - 48px)); overflow: hidden; border: 2px solid var(--ink); border-radius: 13px; background: var(--paper); box-shadow: 0 28px 70px rgba(29,20,12,.32); }
.settings-drawer[hidden] { display: none; }
.settings-drawer header { padding: 17px 18px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.settings-drawer header p { margin-bottom: 6px; color: var(--signal-dark); font: 900 9px/1 var(--mono); letter-spacing: .11em; }
.settings-drawer h3 { margin: 0; font: 700 28px/1 var(--serif); }
.settings-drawer header button { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.45); cursor: pointer; font-size: 22px; }
.settings-drawer form { padding: 18px; display: grid; grid-template-columns: 1fr 120px; gap: 14px; }
.settings-drawer label { display: grid; gap: 7px; color: var(--muted); font-size: 12px; font-weight: 800; }
.settings-drawer input[type="text"], .settings-drawer input[type="number"] { min-width: 0; min-height: 44px; padding: 0 11px; border: 1px solid var(--line-strong); border-radius: 7px; color: var(--ink); background: var(--paper-up); font-size: 15px; }
.settings-drawer .check-row { grid-column: 1 / -1; display: flex; align-items: center; gap: 9px; }
.settings-drawer .check-row input { width: 18px; height: 18px; accent-color: var(--signal); }
.settings-drawer form > p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.settings-drawer form > button { grid-column: 1 / -1; }
.demo-note { max-width: 900px; margin: 36px auto 0; color: #a9a59c; font-size: 12px; line-height: 1.6; text-align: center; }
.demo-note b { color: #f0d7c4; }

.features { padding: 110px max(24px,calc((100vw - var(--max))/2)); background: var(--paper); }
.features > header { max-width: 990px; margin-bottom: 65px; }
.features > header > p:last-child { max-width: 690px; margin: 24px 0 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.feature-grid { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.feature-grid article { min-height: 270px; padding: 30px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); background: rgba(255,250,240,.55); }
.feature-grid span { color: var(--signal); font: 900 10px/1 var(--mono); letter-spacing: .1em; }
.feature-grid h3 { margin: 70px 0 12px; font: 700 29px/1 var(--serif); }
.feature-grid p { max-width: 520px; margin: 0; color: var(--muted); line-height: 1.62; }

.settings-showcase { padding: 110px max(24px,calc((100vw - var(--max))/2)); display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 75px; color: var(--paper); background: var(--signal-dark); }
.settings-showcase > div > p:not(.eyebrow) { margin: 25px 0; color: #e4c5b0; line-height: 1.65; }
.settings-showcase .eyebrow { color: #ffd2b5; }
.settings-showcase .eyebrow i { background: #ff9e62; }
.settings-showcase .text-link { color: #fff2e3; }
.settings-showcase figure { margin: 0; }
.settings-showcase img { width: 100%; display: block; border: 4px solid var(--ink); border-radius: 14px; box-shadow: 18px 20px 0 rgba(29,36,36,.26); transform: rotate(.7deg); }
.settings-showcase figcaption { margin-top: 22px; color: #e1b99e; font: 800 9px/1.4 var(--mono); letter-spacing: .08em; text-align: center; text-transform: uppercase; }

.privacy-band { min-height: 330px; padding: 65px max(24px,calc((100vw - var(--max))/2)); display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 48px; border-bottom: 1px solid var(--line-strong); background: var(--paper-deep); }
.privacy-band > img { width: 112px; border: 2px solid var(--ink); border-radius: 23px; box-shadow: 9px 10px 0 rgba(216,107,44,.22); }
.privacy-band h2 { margin-bottom: 12px; font: 700 clamp(42px,4.7vw,68px)/.92 var(--serif); letter-spacing: -.04em; }
.privacy-band > div > p:last-child { max-width: 720px; margin: 0; color: var(--muted); line-height: 1.62; }
.button--ink { color: var(--paper); border-color: var(--ink); background: var(--ink); box-shadow: 0 4px 0 var(--orange); white-space: nowrap; }
.button--ink:hover { transform: translateY(-2px); }

.site-footer { min-height: 90px; padding: 18px max(22px,calc((100vw - var(--max))/2)); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 25px; color: var(--muted); border-top: 1px solid var(--line); font-size: 12px; }
.footer-brand img { width: 38px; height: 38px; border-radius: 9px; }
.footer-brand strong { color: var(--ink); font: 900 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.site-footer > div { display: flex; gap: 21px; }
.site-footer a { text-underline-offset: 4px; }
.site-footer p { margin: 0; text-align: right; }

.policy-body { min-height: 100vh; }
.policy-page { width: min(1040px,calc(100% - 40px)); margin: auto; padding: 150px 0 100px; }
.policy-hero { padding: 0 0 68px; border-bottom: 2px solid var(--ink); }
.policy-hero h1 { max-width: 850px; font-size: clamp(58px,8vw,100px); }
.policy-hero > p:not(.eyebrow):not(.policy-meta) { max-width: 740px; margin: 0; color: var(--muted); font-size: 20px; line-height: 1.65; }
.policy-meta { margin: 24px 0 0; color: var(--signal-dark); font: 800 10px/1.4 var(--mono); letter-spacing: .08em; }
.policy-grid { padding-top: 25px; }
.policy-grid section { padding: 42px 0; display: grid; grid-template-columns: 260px 1fr; gap: 52px; border-bottom: 1px solid var(--line-strong); }
.policy-grid section > span { color: var(--signal); font: 900 10px/1 var(--mono); letter-spacing: .1em; }
.policy-grid h2 { margin: 14px 0 0; font: 700 30px/1 var(--serif); }
.policy-grid p, .policy-grid li { color: var(--muted); line-height: 1.72; }
.policy-grid p:first-child { margin-top: 0; }
.policy-grid p:last-child { margin-bottom: 0; }
.policy-grid ul { margin: 0; padding-left: 20px; }
.policy-grid li + li { margin-top: 8px; }
.policy-callout { margin-top: 55px; padding: 30px; display: flex; align-items: center; justify-content: space-between; gap: 25px; border: 2px solid var(--ink); background: var(--paper-deep); box-shadow: 10px 11px 0 rgba(216,107,44,.2); }
.policy-callout h2 { margin: 0 0 7px; font: 700 31px/1 var(--serif); }
.policy-callout p { margin: 0; color: var(--muted); }

@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes pulse { 0% { opacity: .72; transform: scale(.72); } 72%,100% { opacity: 0; transform: scale(1.55); } }
@keyframes caret-blink { 0%,48% { opacity: 1; } 49%,100% { opacity: 0; } }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; }
  .hero-routine { min-height: 620px; }
  .section-intro, .settings-showcase { grid-template-columns: 1fr; gap: 40px; }
  .privacy-band { grid-template-columns: 100px 1fr; }
  .privacy-band .button { grid-column: 2; justify-self: start; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .site-header { min-height: 66px; }
  .brand small, nav a:not(.nav-demo) { display: none; }
  .hero { min-height: auto; padding-top: 120px; gap: 40px; }
  h1 { font-size: 60px; }
  .hero-lede { font-size: 17px; }
  .hero-facts { display: grid; }
  .hero-facts li + li::before { display: none; }
  .hero-routine { min-height: 520px; }
  .routine-orbit { width: 400px; height: 400px; }
  .routine-card { width: 100%; }
  .hero-sticker { right: 0; bottom: 4px; }
  .section-intro h2, .features h2, .settings-showcase h2 { font-size: 54px; }
  .demo-browser { margin-inline: -12px; }
  .demo-page { min-height: 780px; }
  .homework-titlebar { padding-inline: 15px; }
  .homework-titlebar > span:last-child i { display: none; }
  .homework-formatbar { padding-inline: 11px; gap: 4px; }
  .homework-formatbar > span { min-width: 52px; }
  .homework-ruler { padding-inline: 10%; }
  .homework-ruler > span { left: 10%; }
  .homework-canvas { height: 658px; padding: 18px 12px 70px; }
  .homework-sheet { width: calc(100% - 10px); min-height: 650px; padding: 44px 28px; }
  .homework-sheet p { font-size: 11px; }
  .teacher-comment { right: -10px; width: 125px; }
  .timer-widget { top: 250px; right: 12px; }
  .settings-drawer { right: 12px; bottom: 12px; width: calc(100% - 24px); }
  .settings-drawer form { grid-template-columns: 1fr; }
  .settings-drawer form > *, .settings-drawer .check-row, .settings-drawer form > p, .settings-drawer form > button { grid-column: 1; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 235px; }
  .privacy-band { grid-template-columns: 1fr; }
  .privacy-band .button { grid-column: 1; }
  .site-footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .site-footer p { text-align: center; }
  .policy-grid section { grid-template-columns: 1fr; gap: 12px; }
  .policy-callout { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 390px) {
  .widget-main { grid-template-columns: 1fr; }
  .stopwatch { margin: 0 auto; }
  .timer-widget { width: calc(100% - 18px); right: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
