/* Bento — bentoplanner.com
   One stylesheet for every page. Dark, warm, compartmentalized — like the app. */

:root {
  /* The icon's palette (scripts/make-icon.mjs): blue blocks, gray blocks,
     the amber now-line. Blue = interactive, amber = the thread, gray = calm. */
  --bg: #161616;
  --panel: #1e1e1e;
  --panel-2: #242424;
  --line: #2e2e2e;
  --text: #ececec;
  --dim: #a3a3a3;
  --blue: #5b8def;        /* the top block — buttons, links */
  --accent: #f5a623;      /* the now-line — highlights, the thread */
  --bar-gray: #6b7280;    /* the quiet blocks */
  --econ: #4fd1a5;
  --engl: #f58ea8;
  --good: #9ece6a;
  --max: 1060px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---- header ---- */
header.site {
  position: sticky; top: 0; z-index: 10;
  background: rgba(22, 22, 22, .88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex; align-items: center; gap: 14px; height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 19px; }
.brand:hover { text-decoration: none; }
.brand svg { display: block; }
nav.main { margin-left: auto; display: flex; gap: 22px; align-items: center; }
nav.main a { color: var(--dim); font-size: 15px; white-space: nowrap; }
@media (max-width: 680px) {
  nav.main { gap: 14px; }
  nav.main a.hide-m { display: none; }
}
nav.main a:hover { color: var(--text); text-decoration: none; }
nav.main a.cta {
  color: #fff; background: var(--blue); font-weight: 650;
  padding: 8px 16px; border-radius: 9px;
}

/* ---- hero ---- */
.hero { padding: 84px 0 40px; text-align: center; }
.hero h1 {
  font-size: clamp(34px, 6vw, 58px); line-height: 1.08; letter-spacing: -0.02em;
  margin: 0 auto 18px; max-width: 17ch; font-weight: 800;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lede { font-size: clamp(17px, 2.4vw, 21px); color: var(--dim); max-width: 60ch; margin: 0 auto 30px; }
.hero .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 11px; font-weight: 650; font-size: 16px;
  border: 1px solid var(--line); color: var(--text);
}
.btn:hover { text-decoration: none; border-color: var(--dim); }
.btn.primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn.primary:hover { filter: brightness(1.06); }
.hero .fineprint { color: var(--dim); font-size: 13.5px; margin-top: 14px; }

/* ---- video slot ---- */
/* 16/10 to match the tour's 1920x1200, and `contain` rather than `cover`:
   the app fills the frame edge to edge, so cropping eats the interface. */
.video {
  margin: 46px auto 0; max-width: 880px; aspect-ratio: 16/10;
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  display: flex; align-items: center; justify-content: center; color: var(--dim); font-size: 15px;
}
.video video { width: 100%; height: 100%; border-radius: 16px; object-fit: contain; }

/* ---- bento grid ---- */
section.features { padding: 72px 0 8px; }
.grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(6, 1fr);
}
.cell {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  padding: 26px 26px 24px;
}
.cell h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -0.01em; }
.cell p { margin: 0; color: var(--dim); font-size: 15.5px; line-height: 1.6; }
.cell .tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; margin-bottom: 12px; padding: 3px 10px; border-radius: 99px;
}
.span3 { grid-column: span 3; }
.span2 { grid-column: span 2; }
.span4 { grid-column: span 4; }
.span6 { grid-column: span 6; }
@media (max-width: 860px) { .span2, .span3, .span4 { grid-column: span 6; } }

.t-amber { background: rgba(232,161,60,.14); color: var(--accent); }
.t-econ  { background: rgba(79,209,165,.14); color: var(--econ); }
.t-bus   { background: rgba(91,141,239,.14); color: var(--blue); }
.t-engl  { background: rgba(245,142,168,.14); color: var(--engl); }

/* ---- section headings ---- */
h2.sec { font-size: clamp(26px, 4vw, 36px); letter-spacing: -0.02em; margin: 0 0 10px; text-align: center; }
/* The now-line under every section heading — the icon's amber thread + node. */
h2.sec::after {
  content: ""; display: block; width: 76px; height: 10px; margin: 14px auto 2px;
  background:
    radial-gradient(circle 5px at 5px 50%, var(--accent) 97%, transparent),
    linear-gradient(var(--accent), var(--accent)) 16px 50% / 60px 3px no-repeat;
}
p.sec-sub { text-align: center; color: var(--dim); max-width: 60ch; margin: 0 auto 40px; }

/* ---- pricing ---- */
section.pricing { padding: 72px 0; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 860px; margin: 0 auto; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.plan {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 30px;
  display: flex; flex-direction: column;
}
.plan.featured { border-color: var(--blue); background: var(--panel-2); }
.plan h3 { margin: 0; font-size: 21px; }
.plan .price { font-size: 40px; font-weight: 800; margin: 12px 0 2px; letter-spacing: -0.02em; }
.plan .price span { font-size: 16px; font-weight: 500; color: var(--dim); }
.plan p.for { color: var(--dim); font-size: 14.5px; margin: 0 0 18px; }
.plan ul { list-style: none; margin: 0 0 26px; padding: 0; }
.plan li { padding: 7px 0 7px 28px; position: relative; color: var(--text); font-size: 15.5px; }
.plan li::before { content: "✓"; position: absolute; left: 4px; color: var(--blue); font-weight: 700; }
.plan li.dim { color: var(--dim); }
.plan .btn { margin-top: auto; text-align: center; }

/* ---- download ---- */
section.download { padding: 0 0 32px; }
.download-inner {
  background: var(--panel-2); border: 1px solid var(--blue); border-radius: 16px;
  padding: 34px 34px; max-width: 860px; margin: 0 auto; text-align: center;
}
.download-inner h2 { margin: 0 0 10px; font-size: 24px; letter-spacing: -0.01em; }
.download-inner p { color: var(--dim); margin: 0 auto 20px; font-size: 16px; max-width: 60ch; }
.download-inner .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.download-inner p.req { font-size: 13.5px; margin: 18px auto 0; }

/* ---- trust strip ---- */
section.trust { padding: 40px 0 72px; }
.trust-inner {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  padding: 34px 34px; max-width: 860px; margin: 0 auto;
}
.trust-inner h2 { margin: 0 0 12px; font-size: 24px; letter-spacing: -0.01em; }
.trust-inner p { color: var(--dim); margin: 0 0 12px; font-size: 16px; }
.trust-inner p:last-child { margin-bottom: 0; }

/* ---- FAQ ---- */
section.faq { padding: 0 0 72px; }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-list details {
  border-bottom: 1px solid var(--line); padding: 4px 0;
}
.faq-list summary {
  cursor: pointer; font-weight: 650; font-size: 17px; padding: 14px 0; list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; float: right; color: var(--dim); }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { color: var(--dim); margin: 0 0 16px; font-size: 15.5px; }
/* Bullets wrap a little earlier than the paragraphs, so a long line fills its
   second line instead of stranding a word or two. */
.faq-list details ul { padding-right: 56px; }
.faq-list details li { font-size: 18px; margin-bottom: 6px; }

/* ---- article pages (legal, ethical AI) ---- */
main.article { max-width: 760px; margin: 0 auto; padding: 56px 24px 90px; }
main.article h1 { font-size: clamp(30px, 5vw, 40px); letter-spacing: -0.02em; margin: 0 0 6px; }
main.article p.updated { color: var(--dim); font-size: 14px; margin: 0 0 36px; }
main.article h2 { font-size: 22px; margin: 38px 0 10px; letter-spacing: -0.01em; }
main.article p, main.article li { color: #cfcfcf; font-size: 16.5px; }
main.article ul { padding-left: 22px; }
main.article .callout {
  background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: 10px; padding: 16px 20px; margin: 22px 0;
}
main.article .callout p { margin: 0; }

/* ---- footer ---- */
footer.site { border-top: 1px solid var(--line); padding: 40px 0 56px; margin-top: 40px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 26px; align-items: baseline; }
footer.site .brand { font-size: 16px; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 20px; margin-left: auto; }
footer.site a { color: var(--dim); font-size: 14px; }
footer.site a:hover { color: var(--text); }
footer.site p.legal { width: 100%; color: #6f6f6f; font-size: 13px; margin: 10px 0 0; }

/* ---- macOS pop-up mockups (getting-started.html) ----
   Recreations of the real dialogs, not screenshots: retina-crisp, exact
   wording, and restylable when macOS changes. pointer-events off — they're
   illustrations, not controls. */
.macdialog {
  background: linear-gradient(#2e2e30, #29292b);
  border: 1px solid #414144;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 2px 10px rgba(0, 0, 0, .4);
  margin: 24px auto 14px;
  padding: 20px;
  color: #e8e8e8;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-size: 13px;
  line-height: 1.45;
  pointer-events: none;
  user-select: none;
}
.macdialog.center { max-width: 290px; text-align: center; }
.macdialog .mi { font-size: 42px; line-height: 1; margin-bottom: 10px; }
.macdialog .mi svg { display: inline-block; }
.macdialog h4 { margin: 0 0 6px; font-size: 13.5px; font-weight: 700; color: #fff; }
main.article .macdialog p { margin: 0 0 14px; color: #b7b7bc; font-size: 12px; line-height: 1.4; }
.macdialog .btns { display: flex; gap: 9px; justify-content: flex-end; }
.macdialog.center .btns { justify-content: center; }
.macdialog .btns span {
  background: #4d4d52; color: #fff; border-radius: 7px;
  padding: 5px 14px; font-size: 12.5px; font-weight: 500; white-space: nowrap;
}
.macdialog.center .btns span { flex: 1; text-align: center; }
.macdialog.wide { max-width: 460px; }
.macdialog.wide .head { display: flex; gap: 16px; align-items: flex-start; text-align: left; margin-bottom: 12px; }
.macdialog.wide .mi { margin: 0; font-size: 38px; }
.macdialog .pwrow { display: flex; gap: 8px; align-items: center; margin: 0 0 16px; }
.macdialog .pwrow label { color: #cfcfd4; font-size: 12.5px; }
.macdialog .pwrow .field {
  flex: 1; height: 24px; border-radius: 6px;
  background: #1d1d1f; border: 1px solid #4a90e2;
  box-shadow: 0 0 0 3px rgba(74, 144, 226, .28);
}
.popup-note { max-width: 640px; margin: 0 auto 34px; }
.popup-note em.folder { color: var(--blue); }
.popup-note .popup-aside { display: block; margin-top: 14px; }
.popup-note strong { color: var(--accent); }

/* The maker line at the foot of the buy page: who made it, and where. */
p.maker { text-align: center; color: var(--dim); font-size: 13.5px; margin: 40px auto 0; line-height: 1.8; }
