:root {
  color-scheme: light;
  --ink: #171a1c;
  --muted: #66727a;
  --blue: #2a86b8;
  --link: #216d97;
  --surface: #f7f9fa;
  --border: #e6eaed;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.65;
}
a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
  border-radius: 4px;
}
a:hover {
  text-decoration: underline;
}
img,
svg {
  display: block;
}
.container {
  width: min(100% - 48px, 1120px);
  margin-inline: auto;
}
.site-header {
  min-height: 104px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand .wordmark {
  width: 128px;
  height: 25px;
}
.brand-mark {
  width: 30px;
  height: 30px;
}
nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
}
nav a[aria-current] {
  color: var(--ink);
  text-decoration: underline;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 5;
  padding: 10px 18px;
  background: #fff;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 72px;
  align-items: center;
  padding-block: 64px 104px;
}
.eyebrow {
  color: var(--link);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  margin: 0 0 24px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-weight: 650;
}
h1 {
  font-size: 4rem;
  line-height: 1.04;
  letter-spacing: -0.055em;
  margin-bottom: 28px;
}
h2 {
  font-size: 2.5rem;
  line-height: 1.12;
  letter-spacing: -0.045em;
  margin-bottom: 24px;
}
h3 {
  font-size: 1.0625rem;
  line-height: 1.4;
  margin-bottom: 12px;
}
p {
  margin-bottom: 20px;
}
.lead {
  font-size: 1.25rem;
  line-height: 1.55;
  max-width: 430px;
}
.hero-detail {
  color: var(--muted);
  max-width: 440px;
  margin-bottom: 30px;
}
.supporting {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 22px 0 0;
}
.store-buttons {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.store-button {
  display: inline-block;
  max-width: 100%;
  min-height: 48px;
  text-decoration: none;
}
.store-button:hover {
  text-decoration: none;
}
.store-button img {
  height: 48px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.icon {
  flex: none;
}
.hero-visual {
  margin: 0;
  justify-self: center;
  width: min(100%, 340px);
}
.app-window {
  background: #fff;
  border: 1px solid #d8dfe3;
  border-radius: 36px;
  padding: 12px 12px 30px;
  position: relative;
  box-shadow:
    0 24px 60px -25px #243d5140,
    0 0 0 5px #f4f6f7;
  overflow: hidden;
}
.app-status {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 650;
  padding: 0 16px 20px;
}
.app-brand {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 14px 24px;
  color: var(--muted);
}
.app-content {
  padding: 0 12px;
}
.app-heading {
  font-size: 20px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.app-heading .icon {
  width: 19px;
  height: 19px;
  color: var(--muted);
}
.app-filter {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}
.app-filter .selected {
  color: var(--link);
  font-weight: 600;
  border-bottom: 2px solid var(--blue);
}
.note-group {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin: 16px 0 8px;
}
.preview-note {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 9px;
}
.preview-title {
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.preview-title .icon {
  height: 15px;
  width: 15px;
  color: var(--blue);
}
.preview-note p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  margin: 8px 0 14px;
}
.preview-meta {
  display: flex;
  gap: 4px;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 10px;
}
.preview-meta span {
  display: flex;
  gap: 3px;
  align-items: center;
}
.preview-meta .icon {
  width: 12px;
  height: 12px;
}
.app-add {
  position: absolute;
  right: 23px;
  bottom: 28px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  padding: 12px;
  box-shadow: 0 4px 12px #2a86b828;
}
.home-indicator {
  height: 4px;
  width: 95px;
  border-radius: 3px;
  background: #24282a;
  margin: 25px auto -20px;
}
figcaption {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin-top: 22px;
}
figcaption span {
  display: block;
  font-size: 11px;
  margin-top: 3px;
  color: var(--muted);
}
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 36px 24px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.site-footer > p {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: right;
  margin: 20px 0 0;
}
.section {
  padding-block: 112px;
}
.muted {
  color: var(--muted);
}
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
}
.section-copy {
  max-width: 480px;
}
.notes-section {
  border-top: 1px solid var(--border);
}
.writing-visual {
  width: 100%;
  max-width: 400px;
  margin: 0;
  justify-self: center;
}
.writing-preview {
  background: #fff;
  padding: 26px 30px 0;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 16px 45px -30px #263b5050;
  overflow: hidden;
}
.editor-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: var(--link);
  margin-bottom: 44px;
}
.editor-bar > span:last-child {
  display: flex;
  gap: 16px;
}
.editor-bar .icon {
  width: 16px;
  height: 16px;
}
.editor-date {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.09em;
  margin-bottom: 14px;
}
.writing-preview h3 {
  font-size: 22px;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}
.writing-preview > p:not(.editor-date) {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 18px;
}
.editor-tags {
  display: flex;
  gap: 6px;
  padding-block: 8px 32px;
  font-size: 11px;
  color: var(--link);
}
.editor-tags span {
  background: #eff6fa;
  border-radius: 6px;
  padding: 3px 7px;
}
.editor-related {
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 18px;
  font-size: 12px;
  font-weight: 600;
}
.editor-related > span {
  margin-left: auto;
  color: var(--muted);
  font-weight: 400;
}
.editor-related .icon {
  width: 16px;
  height: 16px;
  color: var(--blue);
}
.editor-related-note {
  font-size: 12px;
  border: 1px solid var(--border);
  border-radius: 8px 8px 0 0;
  margin-top: 14px;
  padding: 12px;
  border-bottom: 0;
}
.feature-row {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 32px 0 0;
  padding: 0;
}
.feature-row li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.feature-row .icon {
  color: var(--blue);
}
.branch-section {
  background: var(--surface);
}
.branch-section .section-copy {
  max-width: 460px;
}
.branch-section h2 {
  max-width: 430px;
}
.emphasis {
  color: var(--link);
  font-weight: 550;
  padding-left: 16px;
  border-left: 2px solid var(--blue);
  margin: 28px 0 0;
}
.branch-visual {
  margin: 0;
}
.branch-notes {
  position: relative;
  padding-bottom: 1px;
}
.thought-card {
  position: relative;
  z-index: 1;
  width: 86%;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  background: #fff;
  box-shadow: 0 8px 30px -20px #203d5030;
}
.thought-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.thought-label .icon {
  width: 16px;
  height: 16px;
  color: var(--blue);
}
.thought-card h3 {
  font-size: 20px;
  letter-spacing: -0.025em;
}
.thought-card p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}
.related-action {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--link);
  font-size: 12px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.related-action .icon {
  height: 16px;
  width: 16px;
}
.child-thought {
  margin: 0 0 0 auto;
}
.child-thought .thought-label {
  color: var(--link);
}
.parent-link {
  font-size: 11px;
  color: var(--muted);
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.connection {
  position: relative;
  width: 55%;
  margin-left: 10%;
  padding: 18px 0 18px 12px;
  border-left: 1px solid var(--blue);
}
.connection::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -1px;
  width: 100%;
  height: 32px;
  border-left: 1px solid var(--blue);
  border-bottom: 1px solid var(--blue);
  border-bottom-left-radius: 20px;
}
.connection span {
  display: block;
  font-size: 12px;
  color: var(--link);
}
.section-intro {
  max-width: 730px;
  margin: 0 auto 44px;
  text-align: center;
}
.section-intro .eyebrow {
  margin-bottom: 18px;
}
.section-intro p:last-child {
  font-size: 15px;
}
.recovery-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.recovery-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px;
}
.recovery-card .icon {
  width: 28px;
  height: 28px;
  color: var(--blue);
  margin-bottom: 28px;
}
.recovery-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 240px;
  margin-bottom: 0;
}
.pro-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: 72px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 96px;
  align-items: center;
}
.pro-section > div {
  max-width: 620px;
}
.pro-support {
  font-size: 14px;
  margin: 28px 0 0;
}
.pro-features {
  list-style: none;
  margin: 0;
  padding: 32px;
  background: var(--surface);
  border-radius: 20px;
}
.pro-features li {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-block: 22px;
}
.pro-features li + li {
  border-top: 1px solid var(--border);
}
.pro-features .icon {
  color: var(--blue);
  width: 28px;
  height: 28px;
}
.final-cta {
  text-align: center;
}
.final-cta h2 {
  font-size: 3rem;
}
.final-cta > p:not(.eyebrow) {
  max-width: 630px;
  margin-inline: auto;
}
.final-cta .store-buttons {
  justify-content: center;
  margin-top: 30px;
}
.legal-page {
  min-height: 65vh;
  padding-block: 80px 112px;
  max-width: 740px;
}
.legal-page h1 {
  font-size: 3rem;
}
.last-updated {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 44px;
}
.placeholder-notice,
.contact-method {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  margin-block: 32px;
}
.placeholder-notice h2,
.contact-method h2 {
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 18px 0 16px;
}
.placeholder-notice p,
.contact-method p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 0;
}
.status-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--muted);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  min-height: 44px;
}
.text-link .icon {
  width: 17px;
  height: 17px;
}
.contact-subtitle {
  font-size: 22px;
  margin-top: 48px;
}
.contact-categories {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
}
.contact-categories li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.email-link {
  display: block;
  font-size: 20px;
  margin-top: 12px;
  overflow-wrap: anywhere;
}
@media (max-width: 1023px) {
  .hero {
    gap: 40px;
  }
  h1 {
    font-size: 3.5rem;
  }
}
@media (max-width: 767px) {
  .container {
    width: calc(100% - 40px);
  }
  .site-header {
    min-height: 88px;
    gap: 16px;
    flex-wrap: wrap;
    padding-block: 14px;
  }
  .brand {
    gap: 7px;
  }
  .brand .wordmark {
    width: 107px;
    height: 21px;
  }
  .brand-mark {
    width: 24px;
    height: 24px;
  }
  nav {
    gap: 14px;
  }
  nav a {
    font-size: 0.8125rem;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 52px;
    padding-block: 44px 72px;
  }
  h1 {
    font-size: 2.75rem;
  }
  h2 {
    font-size: 2rem;
  }
  .eyebrow {
    margin-bottom: 20px;
  }
  .lead {
    font-size: 1.125rem;
  }
  .hero-copy {
    max-width: 520px;
  }
  .store-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
  .final-cta .store-buttons {
    align-items: center;
  }
  .supporting {
    font-size: 0.8125rem;
  }
  .hero-visual {
    max-width: 318px;
  }
  .desktop-break {
    display: none;
  }
  .footer-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .site-footer > p {
    text-align: left;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .split-layout {
    gap: 44px;
  }
  .pro-section {
    gap: 44px;
  }
  .recovery-cards {
    gap: 16px;
  }
  .recovery-card {
    padding: 24px;
  }
}
@media (max-width: 767px) {
  .section {
    padding-block: 72px;
  }
  .split-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .notes-section .section-copy {
    grid-row: 1;
  }
  .section-copy {
    max-width: none;
  }
  .feature-row {
    flex-wrap: wrap;
    row-gap: 20px;
  }
  .feature-row li {
    min-width: 44px;
  }
  .writing-visual {
    max-width: 360px;
  }
  .branch-visual {
    width: 100%;
    max-width: 400px;
    justify-self: center;
  }
  .thought-card {
    padding: 24px;
    width: 91%;
  }
  .connection {
    margin-left: 4%;
  }
  .recovery-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .recovery-card {
    padding: 28px;
  }
  .recovery-card .icon {
    margin-bottom: 20px;
  }
  .recovery-card p {
    max-width: none;
  }
  .section-intro {
    text-align: left;
  }
  .pro-section {
    padding-block: 64px;
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .pro-features {
    padding: 12px 24px;
  }
  .final-cta {
    text-align: left;
  }
  .final-cta h2 {
    font-size: 2rem;
  }
  .legal-page {
    padding-block: 48px 80px;
  }
  .legal-page h1 {
    font-size: 2.5rem;
  }
  .placeholder-notice,
  .contact-method {
    padding: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}

.policy-page h2 {
  font-size: 28px;
  margin-top: 48px;
}
.policy-page h3 {
  font-size: 20px;
  margin-top: 28px;
}
.policy-page p,
.policy-page li {
  line-height: 1.75;
}
.policy-page ul {
  padding-left: 24px;
}
.policy-page a,
.email-link {
  overflow-wrap: anywhere;
}
.analytics-panel {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 24px;
  background: var(--surface);
}
.analytics-panel[hidden],
#analytics-settings[hidden] {
  display: none;
}
.analytics-panel h2 {
  font-size: 24px;
}
.analytics-panel p {
  max-width: 680px;
}
.analytics-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.analytics-actions button {
  background: white;
  color: var(--link);
  border: 1px solid var(--link);
  border-radius: 8px;
  padding: 12px 20px;
  font: inherit;
  cursor: pointer;
}
#analytics-settings {
  font: inherit;
  color: var(--link);
  border: 0;
  background: transparent;
  padding: 8px 0;
  cursor: pointer;
  text-decoration: underline;
}
@media (max-width: 767px) {
  .analytics-panel {
    width: calc(100% - 40px);
  }
  .analytics-actions {
    flex-direction: column;
  }
}
