:root {
  --paper: #f6f5fa;
  --ink: #282940;
  --muted: #646579;
  --accent: #5557a0;
  --line: #dedde9;
  --lavender: #e6e4f5;
  --yellow: #f5e4a6;
  --white: #fff;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.6 "Trebuchet MS",
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button,
a,
input,
textarea {
  outline-offset: 5px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
}
p {
  margin: 0 0 20px;
}
h1,
h2,
h3 {
  margin: 0;
  line-height: 1.13;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(44px, 5.4vw, 76px);
  font-weight: 800;
}
h2 {
  font-size: 38px;
  font-weight: 700;
}
h3 {
  font-size: 24px;
  font-weight: 700;
}
.site-header,
footer {
  max-width: 1240px;
  width: calc(100% - 96px);
  margin: auto;
  display: flex;
  align-items: center;
  gap: 30px;
}
.site-header {
  height: 104px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -1.6px;
  line-height: 1;
}
.brain-mark {
  width: 39px;
  height: 39px;
  color: var(--accent);
}
.logo-dot {
  color: var(--accent);
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  font-size: 13px;
}
.nav-cta {
  padding: 10px 17px;
  border: 1px solid #bcbdd6;
  border-radius: 10px;
}
#language {
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 12px;
  padding: 8px;
}
.hero {
  text-align: center;
  padding: 44px 24px 35px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 26px;
}
.tiny-star {
  font-size: 25px;
  color: var(--accent);
  vertical-align: middle;
  margin-right: 9px;
}
.hero h1 {
  max-width: 970px;
  margin: auto;
}
mark {
  background: none;
  position: relative;
  isolation: isolate;
  color: inherit;
  white-space: nowrap;
}
mark:before {
  content: "";
  background: var(--yellow);
  position: absolute;
  inset: 48% -8px 0;
  z-index: -1;
  border-radius: 32% 8% 18% 8%;
  transform: rotate(-1.8deg);
}
.hero-text {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  margin: 28px auto 0;
  max-width: 670px;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin-top: 25px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: white;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
  min-height: 46px;
}
.button:hover {
  background: #424481;
  border-color: #424481;
}
.button:disabled {
  opacity: 0.65;
  cursor: wait;
}
.handwritten {
  font-family: "Comic Sans MS", "Comic Sans", cursive;
  font-size: 15px;
  color: var(--muted);
  transform: rotate(-4deg);
}
.development {
  font-size: 10px;
  color: var(--muted);
  margin: 14px 0 0;
}
.demo-stage {
  position: relative;
  max-width: 1060px;
  width: calc(100% - 120px);
  margin: 30px auto 85px;
}
.demo-window {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: auto;
  background: var(--white);
  border: 1px solid #d3d1e6;
  border-radius: 18px;
  box-shadow: 0 14px 40px #3f3a5b0c;
}
.window-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 24px;
  background: #efedf8;
  border-bottom: 1px solid #dedbed;
  border-radius: 18px 18px 0 0;
}
.window-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
}
.window-brand .brain-mark {
  width: 25px;
  height: 25px;
}
.demo-label {
  font-size: 8px;
  letter-spacing: 1px;
  color: #626080;
}
.demo-body {
  padding: 28px 32px 22px;
}
.capture-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.small-label {
  font-size: 8px;
  letter-spacing: 1.1px;
  color: var(--muted);
  margin-bottom: 9px;
  font-weight: 700;
}
.capture-heading h2 {
  font-size: 27px;
}
.scribble {
  width: 65px;
  height: 54px;
  color: #8d87ae;
}
.paper-tag {
  position: absolute;
  z-index: 2;
  padding: 19px 20px;
  font-family: "Comic Sans MS", "Comic Sans", cursive;
  font-size: 16px;
  line-height: 1.45;
  box-shadow: 1px 3px 5px #29294208;
}
.tag-one {
  left: -7px;
  top: 50px;
  background: var(--yellow);
  transform: rotate(-8deg);
}
.tag-two {
  right: -17px;
  top: 210px;
  background: #e3eddd;
  transform: rotate(7deg);
}
#capture-form {
  border: 1.5px solid #b4afd3;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 0 4px #f4f2fa;
}
textarea {
  width: 100%;
  display: block;
  border: 0;
  resize: vertical;
  min-height: 84px;
  max-height: 250px;
  padding: 17px;
  color: var(--ink);
  background: #fff;
  font-size: 15px;
  line-height: 1.5;
}
textarea::placeholder {
  color: #74738a;
}
textarea:focus-visible {
  outline-offset: -4px;
  border-radius: 10px;
}
.capture-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px 10px 18px;
  gap: 15px;
  border-top: 1px solid #edeaf6;
  background: #fcfbfe;
}
.capture-bottom > span {
  font-size: 10px;
  color: var(--muted);
}
.capture-bottom .button {
  font-size: 11px;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 8px;
}
.capture-status {
  font-size: 11px;
  margin: 10px 0 0;
  color: var(--accent);
  min-height: 18px;
}
.notes-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 14px 0 17px;
}
.view-controls {
  display: flex;
  gap: 7px;
}
.view-controls button {
  font-size: 10px;
  padding: 7px 12px;
  background: none;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--muted);
}
.view-controls .active {
  background: #efedf8;
  border-color: #dfdbef;
  color: #494479;
  font-weight: 700;
}
.text-button {
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  padding: 0;
}
.notes-toolbar > .text-button {
  font-size: 9px;
  color: var(--muted);
}
.notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.notes li {
  border: 1px solid #e4dfc9;
  background: #faf6e7;
  padding: 15px 14px 17px;
  border-radius: 3px 3px 12px 3px;
  min-height: 102px;
  overflow-wrap: anywhere;
}
.notes li:nth-child(3n + 2) {
  background: #efedf8;
  border-color: #e0daef;
}
.notes li:nth-child(3n + 3) {
  background: #edf3e9;
  border-color: #dbe5d6;
}
.note-time {
  display: block;
  font-size: 8px;
  color: #676579;
  margin-bottom: 13px;
}
.note-content {
  font-size: 12px;
  white-space: pre-wrap;
  line-height: 1.5;
}
.note-remove {
  display: block;
  border: 0;
  background: none;
  padding: 5px 0 0;
  font-size: 9px;
  color: var(--muted);
  text-decoration: underline;
  margin-top: 12px;
}
.notes.focus-view {
  grid-template-columns: 1fr;
}
.notes.focus-view li {
  min-height: 80px;
  max-width: none;
}
.empty-note {
  grid-column: 1/-1;
  color: var(--muted);
}
.demo-privacy {
  font-size: 9px;
  line-height: 1.6;
  color: var(--muted);
  margin: 20px 0 0;
  max-width: 680px;
}
.under-demo {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  margin: 22px 0 0;
}
.idea {
  max-width: 1080px;
  width: calc(100% - 80px);
  margin: auto;
  padding: 40px 0 75px;
}
.section-intro {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 42px;
}
.section-intro p:not(.eyebrow) {
  font-size: 15px;
  color: var(--muted);
  margin-top: 22px;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.principles article {
  padding: 24px 8px;
}
.principle-symbol {
  font-size: 43px;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 22px;
}
.principles article:nth-child(2) .principle-symbol {
  color: #8a6834;
}
.principles article:nth-child(3) .principle-symbol {
  color: #52745d;
}
.principles h3 {
  font-size: 23px;
}
.principles p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin-top: 20px;
}
.project-note {
  display: flex;
  gap: 26px;
  max-width: 920px;
  width: calc(100% - 80px);
  margin: 0 auto 75px;
  border-block: 1px solid var(--line);
  padding: 32px 0;
}
.project-note h2 {
  font-size: 21px;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
}
.project-note p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.project-note > .tiny-star {
  font-size: 34px;
}
.updates {
  width: calc(100% - 80px);
  max-width: 1080px;
  margin: 0 auto 70px;
  padding: 48px;
  background: #e9e6f6;
  border: 1px solid #ded9ed;
  border-radius: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 45px;
}
.updates h2 {
  font-size: 35px;
}
.updates-copy > p:last-child {
  font-size: 14px;
  color: var(--muted);
  margin: 20px 0 0;
}
.updates label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.form-row input {
  min-width: 0;
  width: 100%;
  border: 1px solid #b8b1cf;
  background: #fff;
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  font-size: 14px;
}
.caption {
  font-size: 10px;
  color: var(--muted);
  margin: 15px 0 0;
}
#feedback {
  font-size: 12px;
  margin: 12px 0 0;
  color: var(--accent);
}
footer {
  border-top: 1px solid var(--line);
  padding: 30px 0 40px;
  font-size: 11px;
  flex-wrap: wrap;
  color: var(--muted);
}
footer .logo {
  font-size: 24px;
  color: var(--ink);
}
footer .brain-mark {
  width: 30px;
  height: 30px;
}
footer > a:nth-of-type(2) {
  margin-left: auto;
}
.sr-only,
.skip:not(:focus) {
  position: absolute;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10;
  padding: 12px;
  background: white;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  padding: 30px;
  width: min(650px, calc(100% - 32px));
  max-height: 85vh;
}
dialog h2 {
  font-size: 30px;
  margin-bottom: 20px;
}
dialog p {
  font-size: 14px;
}
dialog::backdrop {
  background: #25223999;
}
@media (max-width: 1100px) {
  .demo-stage {
    width: calc(100% - 80px);
  }
  .demo-window {
    max-width: 800px;
  }
  .paper-tag {
    font-size: 13px;
    padding: 12px;
  }
  .tag-one {
    left: -21px;
    top: 90px;
  }
  .tag-two {
    right: -19px;
    top: 215px;
  }
  .demo-body {
    padding-inline: 27px;
  }
  .updates {
    padding: 35px;
    gap: 30px;
  }
}
@media (max-width: 760px) {
  .site-header,
  footer {
    width: calc(100% - 40px);
  }
  .site-header {
    height: 85px;
  }
  .site-header nav {
    gap: 15px;
  }
  .site-header nav > a:first-child {
    display: none;
  }
  .logo {
    font-size: 26px;
  }
  .brain-mark {
    width: 33px;
    height: 33px;
  }
  .hero {
    padding-top: 32px;
  }
  .hero h1 {
    font-size: 52px;
  }
  .hero-text {
    font-size: 16px;
  }
  .hero-text br {
    display: none;
  }
  .hero-actions {
    gap: 16px;
  }
  .handwritten {
    font-size: 12px;
  }
  .demo-stage {
    width: calc(100% - 40px);
    margin-top: 25px;
    margin-bottom: 55px;
  }
  .paper-tag {
    display: none;
  }
  .demo-body {
    padding: 24px 20px;
  }
  .capture-heading h2 {
    font-size: 24px;
  }
  .notes {
    gap: 9px;
  }
  .note-content {
    font-size: 11px;
  }
  .notes li {
    padding: 12px 10px;
  }
  .idea {
    width: calc(100% - 40px);
    padding-bottom: 30px;
  }
  .principles {
    gap: 24px;
  }
  .principles h3 {
    font-size: 20px;
  }
  .principles p {
    font-size: 13px;
  }
  .project-note {
    width: calc(100% - 48px);
    margin-bottom: 45px;
  }
  .updates {
    width: calc(100% - 40px);
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 30px;
  }
  .updates h2 {
    font-size: 32px;
  }
  .updates .eyebrow {
    margin-bottom: 18px;
  }
  footer {
    gap: 18px;
  }
  footer > a:nth-of-type(2) {
    margin-left: 0;
  }
}
@media (max-width: 480px) {
  .site-header {
    gap: 14px;
    height: 78px;
  }
  .logo {
    font-size: 24px;
    gap: 4px;
  }
  .nav-cta {
    font-size: 11px;
    padding: 8px 12px;
  }
  .site-header nav {
    gap: 9px;
  }
  .hero {
    padding: 25px 18px 25px;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 0.8px;
    margin-bottom: 22px;
  }
  .tiny-star {
    font-size: 20px;
  }
  .hero h1 {
    font-size: 42px;
    letter-spacing: -0.045em;
  }
  .hero-text {
    font-size: 14px;
    margin-top: 24px;
  }
  .hero-actions {
    flex-direction: column;
    gap: 17px;
  }
  .hero .button {
    font-size: 12px;
  }
  .handwritten {
    font-size: 13px;
  }
  .development {
    margin-top: 16px;
    font-size: 9px;
  }
  .demo-stage {
    width: calc(100% - 28px);
    margin-top: 20px;
  }
  .window-top {
    padding: 12px 15px;
    gap: 8px;
  }
  .window-brand {
    font-size: 10px;
    gap: 5px;
  }
  .demo-label {
    font-size: 7px;
    letter-spacing: 0.4px;
  }
  .window-brand .brain-mark {
    width: 21px;
    height: 21px;
  }
  .demo-body {
    padding: 22px 16px 18px;
  }
  .capture-heading h2 {
    font-size: 22px;
  }
  .scribble {
    width: 41px;
    flex-shrink: 0;
  }
  .small-label {
    font-size: 7px;
  }
  .capture-bottom {
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 12px;
  }
  .capture-bottom > span {
    font-size: 9px;
  }
  .capture-bottom .button {
    margin-left: auto;
  }
  .notes-toolbar {
    gap: 10px;
  }
  .view-controls {
    gap: 3px;
  }
  .view-controls button {
    font-size: 9px;
    padding: 7px 8px;
  }
  .notes-toolbar > .text-button {
    font-size: 8px;
  }
  .notes {
    grid-template-columns: 1fr;
  }
  .notes li {
    min-height: 70px;
    padding: 14px;
  }
  .note-time {
    margin-bottom: 8px;
  }
  .note-content {
    font-size: 13px;
  }
  .demo-privacy {
    font-size: 9px;
  }
  .under-demo {
    font-size: 10px;
    margin-inline: 12px;
  }
  .section-intro h2 {
    font-size: 29px;
  }
  .section-intro p:not(.eyebrow) {
    font-size: 14px;
  }
  .principles {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .principles article {
    padding: 25px 15px;
    border-top: 1px solid var(--line);
  }
  .principle-symbol {
    font-size: 34px;
    margin-bottom: 15px;
  }
  .principles h3 {
    font-size: 24px;
  }
  .principles p {
    font-size: 14px;
    margin-top: 14px;
  }
  .project-note {
    gap: 12px;
  }
  .project-note h2 {
    font-size: 21px;
  }
  .project-note p {
    font-size: 13px;
  }
  .updates {
    padding: 28px 22px;
  }
  .updates h2 {
    font-size: 29px;
  }
  .updates .eyebrow {
    font-size: 8px;
  }
  footer .logo {
    width: 100%;
  }
  footer > span {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
[hidden] {
  display: none !important;
}
.next-note {
  font-size: 11px;
  color: var(--accent);
  margin: 15px 20px 0 0;
}

.app-stage { position:relative; width:calc(100% - 48px); max-width:940px; margin:35px auto 70px; }
.app-shots { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px; max-width:710px; margin:auto; }
.app-shots figure { margin:0; min-width:0; }
.app-shots figure:nth-child(2) { padding-top:52px; }
.app-shots img { width:100%; height:auto; display:block; border-radius:22px; border:1px solid #c9c6de; box-shadow:0 15px 30px #28294012; }
.app-shots figcaption { font-size:12px; color:var(--muted); text-align:center; padding:16px 0; }
.app-stage .tag-one { left:-10px; top:95px; }
@media(max-width:760px) { .app-shots { gap:18px; } .app-shots figcaption { font-size:10px; } }
@media(max-width:480px) { .app-stage { width:calc(100% - 36px); } .app-shots { gap:12px; } .app-shots figure:nth-child(2) { padding-top:30px; } .app-shots img { border-radius:12px; } .app-stage .under-demo { font-size:11px; } }

img.brain-mark { border-radius:9px; object-fit:contain; }
.beta-access-link { display:inline-block; margin-top:16px; padding:6px; font-size:12px; color:var(--accent); text-decoration:underline; text-underline-offset:4px; }
