/* ============================================================
   How About Today — shared styles
   Serene, warm, quiet. One accent (sage). Lots of air.
   ============================================================ */

:root {
  /* paper & ink */
  --paper:      #F7F8F3;
  --paper-2:    #FEFEFC;
  --paper-3:    #F1F3EC;
  --ink:        #1B1D19;
  --ink-2:      #4A4E46;
  --ink-3:      #898E81;
  --hair:       #E4E7DD;
  --hair-2:     #ECEFE6;

  /* brand sage */
  --sage:       #5BA36D;
  --sage-deep:  #4E9460;
  --sage-soft:  #A4BB9E;
  --sage-wash:  #EDF2E8;

  /* four task colors (from the app) */
  --rose:   #F8D3DB;  --rose-ink:  #7A3D49;
  --amber:  #FBE8A6;  --amber-ink: #6E5A23;
  --leaf:   #D9E8C9;  --leaf-ink:  #46603B;
  --sky:    #D2E2EF;  --sky-ink:   #3A5266;
  --star:   #F2B829;

  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;

  --shadow-soft: 0 1px 2px rgba(27,29,25,.04), 0 14px 40px -22px rgba(27,29,25,.18);
  --shadow-lift: 0 1px 2px rgba(27,29,25,.05), 0 30px 70px -34px rgba(27,29,25,.30);

  --font: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --serif: "Newsreader", Georgia, serif;

  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.01em;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.08; }
p { margin: 0; text-wrap: pretty; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

.serif-it { font-family: var(--serif); font-style: italic; font-weight: 300; letter-spacing: -0.01em; }

.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--sage-deep);
  display: inline-flex; align-items: center; gap: 9px;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--sage); display: inline-block;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font); font-size: 16px; font-weight: 600;
  border: none; cursor: pointer; border-radius: 999px;
  padding: 14px 24px; letter-spacing: -0.01em;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), background .25s, box-shadow .25s, color .25s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink); color: var(--paper-2);
  box-shadow: 0 10px 24px -12px rgba(27,29,25,.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(27,29,25,.55); }
.btn-sage { background: var(--sage); color: #fff; box-shadow: 0 10px 24px -12px rgba(91,163,109,.7); }
.btn-sage:hover { transform: translateY(-2px); background: var(--sage-deep); }
.btn-ghost { background: transparent; color: var(--ink); padding: 14px 18px; }
.btn-ghost:hover { color: var(--sage-deep); }
.btn-quiet {
  background: var(--paper-2); color: var(--ink); border: 1px solid var(--hair);
  box-shadow: var(--shadow-soft);
}
.btn-quiet:hover { transform: translateY(-2px); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--paper) 80%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { border-color: var(--hair); }
.nav-in {
  max-width: var(--maxw); margin: 0 auto; padding: 16px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand img.mark { width: 30px; height: 30px; border-radius: 8px; }
.brand .word { height: 22px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { padding: 8px 14px; font-size: 15.5px; font-weight: 500; color: var(--ink-2); border-radius: 999px; white-space: nowrap; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--ink); background: var(--hair-2); }
.nav-cta { display: flex; align-items: center; gap: 6px; }

/* ---------- hero ---------- */
.hero { padding: 78px 0 36px; position: relative; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start;
}
.hero h1 { font-size: clamp(40px, 5.6vw, 66px); letter-spacing: -0.035em; }
.hero h1 .soft { color: var(--ink-3); }
.hero-sub { margin-top: 24px; font-size: 20px; color: var(--ink-2); max-width: 30ch; line-height: 1.55; }
.hero-actions { margin-top: 34px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-fine { margin-top: 18px; font-size: 14.5px; color: var(--ink-3); display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 4px 8px; line-height: 1.5; }
.hero-fine .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--sage); margin-top: 8px; flex: none; }
.hero-fine .fine-2 { grid-column: 2; color: var(--ink-3); }

.hero-demo { position: relative; }
.demo-hint { margin-top: 16px; text-align: center; font-size: 14px; color: var(--ink-3); font-family: var(--serif); font-style: italic; }

/* ---------- the demo window ---------- */
.win {
  background: var(--paper-2);
  border-radius: 22px;
  border: 1px solid var(--hair);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  width: 100%;
}
.win-bar {
  height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 16px;
  border-bottom: 1px solid var(--hair-2);
  background: linear-gradient(var(--paper-2), color-mix(in srgb, var(--paper-2) 60%, var(--paper-3)));
}
.win-dots { display: flex; gap: 7px; }
.win-dots span { width: 11px; height: 11px; border-radius: 50%; background: #E2E5DC; }
.win-url {
  margin: 0 auto; font-size: 13px; color: var(--ink-3); font-weight: 500;
  display: flex; align-items: center; gap: 6px;
  background: var(--paper); padding: 4px 14px; border-radius: 999px;
}
.win-url svg { width: 12px; height: 12px; opacity: .6; }

/* the app surface lives in demo.jsx but base layout here */
.app {
  padding: 22px 24px 26px;
  height: 588px;
  display: flex; flex-direction: column; position: relative;
}

/* ============================================================
   demo app (the React island in the hero window)
   ============================================================ */
.hb-top { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.hb-logo { display: flex; align-items: baseline; font-weight: 800; font-size: 22px; letter-spacing: -0.04em; }
.hb-today { color: var(--ink); }
.hb-dot { color: var(--sage); }
.hb-month { font-weight: 700; font-size: 14px; letter-spacing: .04em; color: var(--ink-2); margin-left: 4px; }
.hb-arrows { display: flex; gap: 2px; align-self: center; }
.hb-arrows button {
  border: none; background: transparent; cursor: pointer; color: var(--ink-3);
  font-size: 18px; width: 24px; height: 24px; border-radius: 7px; line-height: 1;
  transition: background .2s, color .2s;
}
.hb-arrows button:hover { background: var(--hair-2); color: var(--ink); }
.hb-inbox {
  margin-left: auto; align-self: center; border: none; background: transparent; cursor: pointer;
  color: var(--ink-3); width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  transition: background .2s, color .2s;
}
.hb-inbox:hover { background: var(--hair-2); color: var(--ink); }

.hb-day { display: flex; flex-direction: column; align-items: center; width: 64px; margin: 6px 0 14px; }
.hb-day .dayname { font-weight: 600; font-size: 13.5px; color: var(--ink-2); }
.hb-day .daynum { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 17px; font-weight: 600; margin-top: 5px; border: 1.5px solid var(--ink); }

/* "just start typing" affordance at the top of the list */
.hb-ready { display: flex; align-items: center; gap: 9px; height: 30px; margin-bottom: 2px; cursor: text; }
.hb-caret { width: 2px; height: 21px; background: var(--sage); border-radius: 1px; animation: hbblink 1.15s step-end infinite; }
@keyframes hbblink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.hb-ready .hint { font-size: 15.5px; color: var(--ink-3); opacity: 0; transition: opacity .2s; }
.app:hover .hb-ready .hint { opacity: .65; }

/* the new-task dialog (matches the real desktop product) */
.hb-compose {
  position: absolute; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: color-mix(in srgb, var(--paper) 52%, transparent); backdrop-filter: blur(3px);
  animation: hbfade .18s ease;
}
@keyframes hbfade { from { opacity: 0; } to { opacity: 1; } }
.hb-dialog {
  width: 100%; background: var(--paper-2); border-radius: 18px;
  box-shadow: 0 30px 70px -28px rgba(27,29,25,.45), 0 2px 6px rgba(27,29,25,.08);
  padding: 20px 20px 16px; animation: hbpop .2s cubic-bezier(.2,.7,.3,1);
}
@keyframes hbpop { from { transform: translateY(8px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.hb-dialog-day { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.hb-dialog-input {
  width: 100%; border: none; outline: none; background: transparent; resize: none;
  font-family: var(--font); font-size: 19px; font-weight: 500; color: var(--ink);
  letter-spacing: -0.01em; margin-top: 12px; min-height: 52px; line-height: 1.35;
}
.hb-dialog-input::placeholder { color: var(--ink-3); font-weight: 400; }
.hb-dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.hb-dbtn {
  display: inline-flex; align-items: center; gap: 7px; border: none; cursor: pointer; border-radius: 10px;
  padding: 9px 13px; font-family: var(--font); font-size: 14.5px; font-weight: 600; transition: background .2s, transform .2s;
}
.hb-dbtn.quiet { background: var(--paper-2); color: var(--ink); border: 1px solid var(--hair); }
.hb-dbtn.sage { background: var(--sage); color: #fff; }
.hb-dbtn.sage:hover { background: var(--sage-deep); }
.hb-dbtn .hb-k { font-size: 11px; font-weight: 600; opacity: .7; }
.hb-dbtn.quiet .hb-k { color: var(--ink-3); }

.hb-list { margin-top: 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; scrollbar-color: var(--hair) transparent; margin-right: -10px; padding-right: 10px; }
.hb-list::-webkit-scrollbar { width: 7px; }
.hb-list::-webkit-scrollbar-thumb { background: var(--hair); border-radius: 99px; }
.hb-list::-webkit-scrollbar-track { background: transparent; }
.hb-task { display: flex; align-items: center; gap: 8px; padding: 3px 0; position: relative; }
.hb-checkbtn {
  border: none; background: transparent; cursor: pointer; padding: 2px; flex: none;
  opacity: 0; transition: opacity .2s; display: grid; place-items: center;
}
.hb-task:hover .hb-checkbtn, .hb-task.done .hb-checkbtn { opacity: 1; }
.hb-check { width: 18px; height: 18px; border-radius: 50%; border: 1.6px solid var(--ink-3); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.hb-check.on { background: var(--sage); border-color: var(--sage); }
.hb-check svg { opacity: 0; transition: opacity .15s; }
.hb-check.on svg { opacity: 1; }

.hb-starbtn { border: none; background: transparent; cursor: pointer; padding: 2px; flex: none; display: grid; place-items: center; transition: transform .15s; }
.hb-starbtn:hover { transform: scale(1.18); }

.hb-pill {
  position: relative;
  display: inline-flex; align-items: center; border-radius: 9px;
  padding: 7px 13px; font-size: 16px; font-weight: 500; cursor: pointer;
  transition: filter .2s, background .35s; max-width: 100%;
}
/* plain tasks wear the app's quiet outline pill */
.hb-pill.plain { box-shadow: inset 0 0 0 1.4px var(--hair); }
/* recurrence woven into the pill edge — a ringed badge ON the outline */
.hb-pill.has-rep { margin-right: 10px; padding-right: 18px; }
.hb-rep {
  position: absolute; right: -10.5px; top: 50%; transform: translateY(-50%);
  width: 21px; height: 21px; border-radius: 50%;
  background: var(--paper-2);
  box-shadow: inset 0 0 0 1.4px var(--hair);
  display: grid; place-items: center; color: var(--ink-3);
  pointer-events: none;
}
.hb-rep svg { display: block; }
.hb-task.done .hb-rep { opacity: .7; }
.hb-pill:hover { filter: brightness(.975); }
.hb-task.done .hb-pill { cursor: default; padding-left: 2px; }
.hb-task.done .hb-text { text-decoration: line-through; color: var(--ink-3); font-weight: 400; }

.hb-swatches {
  display: flex; gap: 6px; margin-left: 4px; padding: 4px 6px;
  background: var(--paper-2); border: 1px solid var(--hair); border-radius: 999px;
  box-shadow: var(--shadow-soft);
}
.hb-sw { width: 18px; height: 18px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; padding: 0; transition: transform .15s; }
.hb-sw:hover { transform: scale(1.15); }
.hb-sw.sel { border-color: var(--ink); }

.hb-done-label { font-family: var(--serif); font-style: italic; font-size: 15px; letter-spacing: .01em; text-transform: none; color: var(--ink-3); margin: 14px 0 4px; }
.hb-foot { padding-top: 18px; color: var(--ink-3); font-size: 13.5px; font-style: italic; font-family: var(--serif); }

/* ---------- generic section ---------- */
.section { padding: 92px 0; }
.section-head { max-width: 640px; }
.section-head h2 { font-size: clamp(30px, 3.8vw, 44px); }
.section-head .lede { margin-top: 18px; font-size: 19px; color: var(--ink-2); }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- philosophy (the nots) ---------- */
.philo { background: var(--ink); color: var(--paper); border-radius: 40px; }
.philo .wrap { padding: 92px 72px; }
.philo .eyebrow { color: #9DC6A8; }
.philo .eyebrow::before { background: var(--sage); }
.philo h2 { color: var(--paper-2); font-size: clamp(32px, 4.6vw, 54px); max-width: 30ch; text-wrap: balance; }
.philo h2 em { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 1.08em; color: #C8D6BE; }
.nots { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.not {
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-md);
  padding: 28px 26px 30px; background: rgba(255,255,255,.03);
}
.not .x {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.22); color: #C8D6BE; margin-bottom: 18px;
}
.not h3 { font-size: 21px; color: var(--paper-2); }
.not p { margin-top: 9px; color: #AEB3A6; font-size: 16px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.step {
  background: var(--paper-2); border: 1px solid var(--hair); border-radius: var(--r-md);
  padding: 26px 24px; box-shadow: var(--shadow-soft);
  transition: transform .3s, box-shadow .3s;
  display: flex; flex-direction: column;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.step .n { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--sage-deep); }
.step h3 { font-size: 20px; margin-top: 10px; }
.step p { margin-top: 8px; color: var(--ink-2); font-size: 16px; }
.step .key {
  margin-top: auto; padding-top: 22px; display: inline-flex; gap: 5px; align-items: center; align-self: flex-start;
}
.kbd {
  font-family: var(--font); font-size: 12.5px; font-weight: 700; color: var(--ink-2);
  background: var(--paper); border: 1px solid var(--hair);
  border-bottom-width: 2px; border-radius: 7px; padding: 3px 8px; min-width: 22px; text-align: center;
  display: inline-block; line-height: 1; vertical-align: middle;
}
/* inline keycaps in prose: nudge up so a capital glyph reads clearly against larger text */
.feat-copy .lede .kbd, .feat-copy li .kbd { font-size: 13.5px; }

/* ---------- two-up feature (carry over / set aside) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.feature.rev .feat-visual { order: 2; }
.feat-copy h2 { font-size: clamp(28px, 3.4vw, 40px); }
.feat-copy .lede { margin-top: 18px; font-size: 19px; color: var(--ink-2); }
.feat-copy ul { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.feat-copy li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; color: var(--ink-2); }
.feat-copy li svg { flex: none; margin-top: 3px; color: var(--sage); }
.feat-visual {
  background: var(--paper-2); border: 1px solid var(--hair); border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft); padding: 30px; min-height: 320px;
  display: flex; flex-direction: column;
}

/* mini day card used in features */
.mini-head { display: flex; align-items: center; gap: 8px; color: var(--ink-3); font-weight: 600; font-size: 13px; letter-spacing: .04em; }
.daycol { display: flex; flex-direction: column; align-items: center; }
.dayname { font-weight: 600; font-size: 14px; color: var(--ink-2); }
.dayname.wknd { color: #D98A8A; }
.daynum { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 17px; font-weight: 600; margin-top: 6px; }
.daynum.today { border: 1.5px solid var(--ink); }
.daynum.faint { color: var(--ink-3); }

.task-chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 14px; border-radius: 10px; font-size: 15px; font-weight: 500;
}
.star-ico { width: 15px; height: 15px; flex: none; }

/* ---------- use cases ---------- */
.cases { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 48px; }
.case {
  border-radius: var(--r-md); padding: 30px 28px; border: 1px solid var(--hair);
  background: var(--paper-2); transition: transform .3s;
}
.case:hover { transform: translateY(-4px); }
.case .tag { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.case h3 { font-size: 22px; margin-top: 10px; }
.case p { margin-top: 10px; color: var(--ink-2); font-size: 16px; }
.case .sample { margin-top: 20px; display: flex; flex-direction: column; gap: 7px; }
.sample-row { display: flex; align-items: center; gap: 8px; }
.sample-row .case-star { width: 16px; flex: none; display: flex; align-items: center; justify-content: center; }

/* ---------- shortcuts band ---------- */
.shortcuts { background: var(--sage-wash); border-radius: 40px; }
.shortcuts .wrap { padding: 84px 72px; }
.sc-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px 56px; margin-top: 44px; }
.sc-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 4px; border-bottom: 1px solid var(--hair); }
.sc-row span { font-size: 16.5px; color: var(--ink-2); }
.sc-keys { display: flex; gap: 5px; flex: none; }
.sc-note { margin-top: 30px; display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--hair); padding-top: 26px; }
.sc-note > span { font-size: 14.5px; color: var(--ink-2); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.sc-note strong { font-weight: 700; color: var(--ink); margin-right: 4px; letter-spacing: .01em; }
.sc-note .kbd { font-size: 11.5px; padding: 2px 6px; min-width: 18px; }
.sc-keys { display: flex; gap: 5px; flex: none; }

/* ---------- agent / MCP section ---------- */
.agent { background: var(--ink); color: var(--paper); border-radius: 40px; }
.agent .wrap { padding: 92px 72px; }
.agent .eyebrow { color: #9DC6A8; }
.philo .eyebrow, .agent .eyebrow, .shortcuts .eyebrow { display: flex; width: fit-content; margin-bottom: 18px; }
.agent-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-top: 8px; }
.agent h2 { color: var(--paper-2); font-size: clamp(30px, 4vw, 46px); line-height: 1.32; max-width: 14ch; }
.agent h2 em { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 1.08em; color: #C8D6BE; }
.agent .lede { margin-top: 30px; color: #B6BBAE; font-size: 19px; line-height: 1.6; max-width: 44ch; }
.agent ul { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.agent li { position: relative; padding-left: 32px; color: #CFD3C8; font-size: 16.5px; line-height: 1.5; }
.agent li svg { position: absolute; left: 0; top: 4px; color: var(--sage); }
.agent-chips { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.agent-chips span { font-size: 13.5px; font-weight: 500; color: #C8CDC0; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 6px 14px; }
.agent-note { margin-top: 16px; font-size: 13px; color: #8E9387; display: flex; align-items: center; gap: 8px; }
.agent-note .soon { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #9DC6A8; border: 1px solid rgba(157,198,168,.4); border-radius: 999px; padding: 2px 8px; }

.agent-actions { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.agent-actions .agent-skill { color: #9DC6A8; font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.agent-actions .agent-skill:hover { color: #B9D8C2; }

/* permission approval card */
.perm {
  background: var(--paper-2); color: var(--ink); border-radius: var(--r-lg);
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.6); padding: 26px; max-width: 420px; margin: 0 auto; width: 100%;
}
.perm-top { display: flex; align-items: center; gap: 13px; padding-bottom: 18px; border-bottom: 1px solid var(--hair-2); }
.perm-avatar { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 19px; flex: none; background: linear-gradient(150deg, #6B7280, #374151); }
.perm-top h4 { font-size: 17px; }
.perm-top p { font-size: 14px; color: var(--ink-3); margin-top: 2px; }
.perm-scopes { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 20px; }
.scope { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--hair); border-radius: 14px; padding: 14px 16px; transition: border-color .2s, background .2s; }
.scope.sel { border-color: var(--sage); background: var(--sage-wash); }
.scope .radio { width: 19px; height: 19px; border-radius: 50%; border: 2px solid var(--ink-3); flex: none; margin-top: 1px; display: grid; place-items: center; }
.scope.sel .radio { border-color: var(--sage); }
.scope.sel .radio::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--sage); }
.scope .label { font-weight: 600; font-size: 15.5px; }
.scope .desc { font-size: 13.5px; color: var(--ink-3); margin-top: 2px; }
.perm-actions { display: flex; gap: 10px; }
.perm-actions .btn { flex: 1; justify-content: center; padding: 13px; }
.perm-note { margin-top: 16px; font-size: 12.5px; color: var(--ink-3); display: flex; gap: 8px; align-items: flex-start; line-height: 1.45; }
.perm-note svg { flex: none; margin-top: 1px; color: var(--sage-deep); }

/* ---------- command menu visual (recurring tasks) ---------- */
.cmd-stage { position: relative; display: flex; justify-content: center; min-height: 360px; align-items: center; }
.cmd-menu {
  background: var(--paper-2); border: 1px solid var(--hair); border-radius: 16px;
  box-shadow: var(--shadow-lift); padding: 7px; width: 244px; position: relative; z-index: 2;
}
.cmd-item { display: flex; align-items: center; gap: 12px; padding: 9px 11px; border-radius: 10px; font-size: 15.5px; font-weight: 500; color: var(--ink); cursor: default; white-space: nowrap; }
.cmd-item .ico { width: 17px; height: 17px; color: var(--ink-2); flex: none; }
.cmd-item .k { margin-left: auto; font-size: 11.5px; font-weight: 700; color: var(--ink-3); background: var(--paper); border: 1px solid var(--hair); border-radius: 6px; padding: 2px 6px; min-width: 18px; text-align: center; }
.cmd-item.active { background: var(--hair-2); }
.cmd-item.danger { color: #C0564E; }
.cmd-item.danger .ico { color: #C0564E; }
.cmd-sep { height: 1px; background: var(--hair-2); margin: 5px 8px; }
.cmd-group { position: relative; width: 404px; max-width: 100%; }
.cmd-sub {
  position: absolute; top: 171px; left: 232px; z-index: 3;
  background: var(--paper-2); border: 1px solid var(--hair); border-radius: 16px;
  box-shadow: var(--shadow-lift); padding: 7px; width: 184px;
}
.cmd-sub .cmd-item.on { background: var(--hair-2); color: var(--sage-deep); font-weight: 600; }
.cmd-sub .cmd-item.on .ico { color: var(--sage); }

/* ---------- 5-day strip (carry-over visual) ---------- */
.weekstrip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; width: 100%; }
.weekstrip .daycol { gap: 0; }
.weekstrip .daynum { width: 36px; height: 36px; font-size: 15px; }
.weekstrip .dayname { font-size: 12.5px; }
.daycol .col-tasks { margin-top: 14px; display: flex; flex-direction: column; gap: 7px; width: 100%; align-items: stretch; }
.mini-chip { font-size: 12.5px; font-weight: 500; border-radius: 7px; padding: 6px 9px; display: flex; align-items: center; gap: 6px; line-height: 1.25; }
.mini-chip .star-ico { width: 11px; height: 11px; }
.mini-row { display: flex; align-items: center; gap: 5px; }
.mini-row .mini-chip { flex: 1; }
.mini-star { width: 13px; flex: none; display: flex; align-items: center; justify-content: center; }
.mini-star .star-ico { width: 13px; height: 13px; }

/* ---------- pricing ---------- */
.price-card {
  max-width: 460px; margin: 48px auto 0; background: var(--paper-2);
  border: 1px solid var(--hair); border-radius: var(--r-lg); box-shadow: var(--shadow-lift);
  padding: 40px 40px 38px; text-align: center; position: relative;
}
.price-badge {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .04em;
  color: var(--sage-deep); background: var(--sage-wash); padding: 6px 14px; border-radius: 999px;
}
.price-amt { margin-top: 22px; font-size: 60px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.price-amt small { font-size: 19px; font-weight: 500; color: var(--ink-3); letter-spacing: -0.01em; }
.price-card .trial { margin-top: 12px; color: var(--ink-2); font-size: 17px; }
.price-list { list-style: none; margin: 28px 0 30px; padding: 0; display: grid; gap: 13px; text-align: left; }
.price-list li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink-2); font-size: 16px; }
.price-list li svg { color: var(--sage); flex: none; margin-top: 4px; }
.price-card .btn { width: 100%; justify-content: center; }
.price-note { margin-top: 14px; font-size: 13.5px; color: var(--ink-3); }

/* ---------- faq teaser ---------- */
.faq-teaser { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.faq-head-sticky { position: sticky; }
.qa { border-top: 1px solid var(--hair); }
.qa details { border-bottom: 1px solid var(--hair); }
.qa summary {
  list-style: none; cursor: pointer; padding: 22px 0; font-size: 19px; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .chev { flex: none; transition: transform .3s; color: var(--ink-3); }
.qa details[open] summary .chev { transform: rotate(45deg); color: var(--sage); }
.qa .a { padding: 0 40px 24px 0; color: var(--ink-2); font-size: 16.5px; line-height: 1.6; }

/* ---------- footer ---------- */
.foot { padding: 72px 0 48px; border-top: 1px solid var(--hair); margin-top: 40px; }
.foot-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.foot .brand .word { height: 24px; }
.foot-tag { margin-top: 16px; color: var(--ink-3); font-size: 15px; max-width: 30ch; }
.foot-cols { display: flex; gap: 72px; flex-wrap: wrap; }
.foot-col h4 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.foot-col a { display: block; margin-top: 12px; color: var(--ink-2); font-size: 15.5px; }
.foot-col a:hover { color: var(--sage-deep); }
.foot-base { margin-top: 56px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--ink-3); font-size: 14px; }

/* ---------- reveal-on-scroll (enhancement only; content is visible by default) ---------- */
.reveal { opacity: 1; transform: none; }
html.js-anim .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
html.js-anim .reveal.in { opacity: 1; transform: none; }

html { overflow-x: clip; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-sub { max-width: none; }
  .feature, .faq-teaser { grid-template-columns: 1fr; gap: 32px; }
  .faq-head-sticky { position: static; top: auto; }
  .agent-grid { grid-template-columns: 1fr; gap: 36px; }
  .feature.rev .feat-visual { order: 0; }
  .nots, .steps, .cases { grid-template-columns: 1fr 1fr; }
  .sc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .wrap { padding: 0 20px; }
  .nav-links { display: none; }
  .section { padding: 64px 0; }
  .philo .wrap, .shortcuts .wrap, .agent .wrap { padding: 56px 26px; }
  .nots, .steps, .cases { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 24px; }
  .philo, .shortcuts { border-radius: 28px; }
  .foot-cols { gap: 40px; }
  /* stack the command-menu illustration so the submenu never overflows */
  .cmd-stage { flex-direction: column; min-height: 0; gap: 12px; }
  .cmd-group { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
  .cmd-menu { width: 100%; max-width: 280px; }
  .cmd-sub { position: static; width: 100%; max-width: 240px; }
}

@media (prefers-reduced-motion: reduce) {
  html.js-anim .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto; }
}
