*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --bg: #f6f5f1;
  --surface: #ffffff;
  --surface-2: #eeece5;
  --surface-soft: #fbfaf8;
  --ink: #242424;
  --ink-soft: #4f4d49;
  --muted: #6f6b64;
  --border: #d8d3c8;
  --border-strong: #b9b0a2;
  --accent: #9a5e3f;
  --teal: #447a6b;
  --violet: #695f91;
  --coral: #b75f4c;
  --focus: #6c4633;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --serif: ui-serif, Georgia, "Times New Roman", Times, serif;
  --mono: "SFMono-Regular", "Cascadia Code", Consolas, monospace;
  --max: 1120px;
}

html {
  background: var(--bg);
  min-height: 100%;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  width: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.58;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
}

img,
svg {
  display: block;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
}

a:focus-visible,
.store-link:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
  overflow-wrap: break-word;
}

p {
  color: var(--ink-soft);
}

.skip-link {
  background: var(--ink);
  color: var(--surface);
  left: 14px;
  padding: 8px 12px;
  position: fixed;
  top: 12px;
  transform: translateY(-160%);
  z-index: 10;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 82%, transparent);
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(10px);
}

.nav-shell,
.section-inner {
  margin: 0 auto;
  max-width: var(--max);
  padding-left: 18px;
  padding-right: 18px;
}

.nav-shell {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  min-height: 58px;
  width: 100%;
}

.brand-link {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-weight: 680;
  gap: 9px;
  min-width: 0;
}

.brand-link img {
  border-radius: 7px;
  flex: 0 0 auto;
}

.brand-link span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-left: auto;
  min-width: 0;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 640;
}

.hero-section {
  padding: 34px 0 38px;
}

.hero-layout {
  display: grid;
  gap: 30px;
}

.hero-copy {
  min-width: 0;
}

h1 {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 4rem;
  font-weight: 560;
  letter-spacing: 0;
  line-height: 0.92;
  margin-bottom: 18px;
}

.hero-lede {
  color: var(--ink);
  font-size: 1.14rem;
  line-height: 1.45;
  margin-bottom: 22px;
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  margin-bottom: 24px;
}

.store-link {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 720;
  justify-content: center;
  min-height: 44px;
  padding: 9px 14px;
  text-align: center;
}

.store-link-primary {
  background: var(--ink);
  border: 1px solid var(--ink);
  color: var(--surface);
}

.store-link-primary.is-disabled {
  background: #35322e;
  border-color: #35322e;
  color: rgba(255, 255, 255, 0.86);
  cursor: default;
}

.promise-strip {
  border-top: 1px solid var(--border);
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  max-width: 620px;
  padding: 0;
}

.promise-strip li {
  border-bottom: 1px solid var(--border);
  display: grid;
  gap: 4px;
  padding: 12px 0;
}

.promise-strip span {
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.36;
}

.promise-strip strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 560;
  line-height: 1.08;
}

.screen-frame {
  background: var(--surface-soft);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.graph-stage {
  min-width: 0;
}

.graph-frame {
  min-height: 440px;
  padding: 14px;
}

.preview-tabs {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
}

.preview-tabs span,
.preview-tabs button {
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  min-height: 30px;
  padding: 6px 8px;
  text-align: center;
}

.preview-tabs button {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.preview-tabs .is-active {
  background: var(--surface);
  color: var(--ink);
}

.preview-tabs button.is-active {
  cursor: default;
}

.preview-tabs button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.preview-panel {
  min-height: 358px;
  position: relative;
}

.preview-panel[hidden] {
  display: none;
}

.preview-panel.is-active {
  animation: preview-panel-enter 180ms ease-out;
}

.hero-notebook-panel {
  padding-top: 12px;
}

.hero-notebook-panel .composer-preview {
  margin-top: 0;
}

.hero-notebook-panel .timeline-preview {
  min-height: 276px;
}

.hero-notebook-panel .timeline-post {
  padding: 8px 10px;
}

.hero-notebook-panel .timeline-post span {
  margin-bottom: 4px;
}

.hero-notebook-panel .timeline-post p {
  display: -webkit-box;
  font-size: 0.86rem;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hero-notebook-panel .timeline-post strong {
  margin-top: 6px;
}

@keyframes preview-panel-enter {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.arc-chip-row {
  display: flex;
  gap: 6px;
  margin: 10px 0 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.arc-chip-row::-webkit-scrollbar {
  display: none;
}

.arc-chip {
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--ink);
  flex: 0 0 auto;
  font-size: 0.76rem;
  font-weight: 680;
  padding: 5px 8px;
}

.arc-chip.launch {
  border-color: color-mix(in srgb, var(--coral) 36%, var(--border));
  color: var(--coral);
}

.arc-chip.health {
  border-color: color-mix(in srgb, var(--teal) 36%, var(--border));
  color: var(--teal);
}

.arc-chip.move {
  border-color: color-mix(in srgb, var(--violet) 36%, var(--border));
  color: var(--violet);
}

.map-title {
  color: color-mix(in srgb, var(--ink) 78%, var(--bg));
  font-family: var(--serif);
  font-size: clamp(3.6rem, 14vw, 6.4rem);
  font-weight: 560;
  line-height: 0.92;
  opacity: 0.13;
  padding: 14px 2px 0;
  text-align: center;
}

.map-preview {
  height: 280px;
  margin-top: -8px;
  overflow: visible;
  width: 100%;
}

.map-axis,
.map-knot-line {
  fill: none;
  stroke: var(--border);
  stroke-linecap: round;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.map-knot-line {
  opacity: 0.58;
  stroke-dasharray: 3 6;
}

.map-line {
  fill: none;
  opacity: 0.88;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.launch-line {
  stroke: var(--coral);
}

.health-line {
  stroke: var(--teal);
}

.move-line {
  stroke: var(--violet);
}

.map-dot,
.map-knot {
  fill: var(--surface-soft);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.launch-dot {
  stroke: var(--coral);
}

.health-dot {
  stroke: var(--teal);
}

.move-dot {
  stroke: var(--violet);
}

.map-dot.is-selected,
.map-knot {
  fill: currentColor;
}

.map-dot.is-selected.launch-dot {
  color: var(--coral);
}

.map-dot.is-selected.health-dot {
  color: var(--teal);
}

.map-dot.is-selected.move-dot {
  color: var(--violet);
}

.map-knot {
  color: var(--accent);
  stroke: var(--accent);
}

.map-date,
.map-arc-label {
  fill: var(--muted);
  font-family: var(--font);
  font-size: 12px;
  paint-order: stroke fill;
  stroke: var(--surface-soft);
  stroke-linejoin: round;
  stroke-width: 4px;
}

.map-arc-label {
  font-size: 13px;
  font-weight: 680;
}

.launch-label {
  fill: var(--coral);
}

.health-label {
  fill: var(--teal);
}

.move-label {
  fill: var(--violet);
}

.graph-preview-note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(39, 34, 28, 0.1);
  max-width: 230px;
  padding: 10px 12px;
  position: absolute;
}

.hero-graph-panel .graph-preview-note {
  right: 22px;
  top: 184px;
}

.graph-preview-note span,
.mini-date,
.timeline-post span {
  color: var(--muted);
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  margin-bottom: 6px;
}

.graph-preview-note p,
.timeline-post p {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 0.9rem;
  line-height: 1.42;
  margin: 0;
}

.showcase-section,
.plus-section {
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

h2 {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 560;
  letter-spacing: 0;
  line-height: 1.08;
  margin-bottom: 22px;
}

h3 {
  color: var(--ink);
  font-size: 1rem;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0;
}

.backup-list {
  display: grid;
  gap: 7px;
}

.backup-list span {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.78rem;
  min-height: 34px;
  padding: 7px 9px;
}

.showcase-section h2 {
  margin-bottom: 8px;
}

.showcase-row {
  border-top: 1px solid var(--border);
  display: grid;
  gap: 18px;
  padding: 28px 0;
}

.showcase-row:last-child {
  padding-bottom: 0;
}

.showcase-copy p {
  margin: 8px 0 0;
}

.mini-screen,
.notebook-screen,
.wide-graph-screen,
.backup-screen {
  padding: 14px;
}

.writing-screen {
  min-height: 180px;
}

.writing-screen p {
  border: 1px dashed var(--border-strong);
  border-radius: 8px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.14rem;
  margin: 0;
  min-height: 88px;
  padding: 16px;
}

.mini-toolbar {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.mini-toolbar span {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--ink);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 680;
  justify-content: center;
  min-height: 32px;
  min-width: 32px;
  padding: 0 8px;
}

.composer-preview {
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: 8px;
  margin: 12px 0 14px;
  min-height: 70px;
  padding: 12px 13px;
}

.composer-preview p {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1rem;
  margin: 0;
}

.timeline-preview {
  min-height: 310px;
  position: relative;
}

.story-rail-preview {
  bottom: 0;
  left: 0;
  overflow: visible;
  position: absolute;
  top: 0;
  width: 64px;
  z-index: 2;
}

.rail-line {
  fill: none;
  opacity: 0.74;
  stroke-linecap: round;
  stroke-width: 2.2;
  vector-effect: non-scaling-stroke;
}

.rail-dot {
  fill: var(--surface-soft);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.timeline-posts {
  display: grid;
  gap: 10px;
  padding-left: 64px;
  position: relative;
  z-index: 1;
}

.timeline-post {
  background: color-mix(in srgb, var(--surface-soft) 54%, transparent);
  border: 1px solid var(--border);
  border-left-color: color-mix(in srgb, var(--accent) 30%, var(--border));
  border-radius: 6px;
  padding: 12px;
}

.timeline-post strong {
  color: var(--accent);
  display: block;
  font-size: 0.74rem;
  margin-top: 9px;
}

.timeline-post strong.launch {
  color: var(--coral);
}

.timeline-post strong.health {
  color: var(--teal);
}

.timeline-post strong.move {
  color: var(--violet);
}

.wide-graph-screen {
  min-height: 300px;
}

.wide-graph-screen .map-title {
  font-size: clamp(3.1rem, 12vw, 5.4rem);
  padding-top: 4px;
}

.wide-graph-screen .map-preview {
  height: 246px;
}

.backup-screen {
  min-height: 210px;
}

.zip-file {
  background: var(--ink);
  border-radius: 7px;
  color: var(--surface);
  font-family: var(--mono);
  font-size: 0.82rem;
  margin-bottom: 10px;
  padding: 11px 12px;
}

.split-section {
  display: grid;
  gap: 18px;
}

.section-copy {
  max-width: 680px;
}

.section-copy p:last-child {
  margin-bottom: 0;
}

.plus-section {
  background: #eeece5;
}

.strong-copy {
  color: var(--ink);
  font-weight: 680;
}

.site-footer {
  padding: 24px 0;
}

.footer-inner {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-inner p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

.footer-inner nav {
  display: flex;
  gap: 16px;
}

.footer-inner a {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 650;
}

.legal-main {
  padding: 34px 18px 56px;
  width: 100%;
}

.legal-article {
  display: grid;
  gap: 18px;
  margin: 0 auto;
  max-width: 760px;
  width: 100%;
}

.policy-back-link,
.policy-updated {
  font-family: var(--mono);
  font-size: 0.72rem;
}

.policy-back-link {
  color: var(--accent);
  justify-self: start;
}

.legal-article h1 {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 2.35rem;
  font-weight: 560;
  line-height: 1;
  margin: 0;
}

.policy-updated {
  color: var(--muted);
  margin: -8px 0 0;
}

.legal-article section {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.legal-article section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.legal-article h2 {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 720;
  line-height: 1.3;
  margin-bottom: 7px;
}

.legal-article p {
  color: var(--muted);
  font-size: 0.98rem;
  margin-bottom: 8px;
}

.legal-article p:last-child {
  margin-bottom: 0;
}

.legal-article a {
  color: var(--accent);
  font-weight: 680;
  overflow-wrap: anywhere;
}

@media (max-width: 380px) {
  .nav-shell,
  .section-inner {
    padding-left: 14px;
    padding-right: 14px;
  }

  .nav-links {
    gap: 10px;
  }

  .nav-links a {
    font-size: 0.84rem;
  }

  h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 1.72rem;
  }
}

@media (max-width: 639px) {
  .nav-links a[href="#how"] {
    display: none;
  }

  h1 {
    font-size: 3.55rem;
  }

  .hero-lede {
    font-size: 1.05rem;
    margin-bottom: 18px;
  }

  .hero-actions {
    margin-bottom: 18px;
  }

  .promise-strip {
    gap: 0;
    margin-bottom: 8px;
  }

  .promise-strip li {
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
  }

  .promise-strip li:last-child {
    border-bottom: 0;
  }

  .promise-strip strong {
    font-size: 1.22rem;
  }

  .map-title {
    font-size: 3.2rem;
    padding-top: 8px;
  }

  .map-preview {
    height: 248px;
    margin-left: -28px;
    margin-top: -16px;
    width: calc(100% + 56px);
  }

  .graph-preview-note {
    max-width: calc(100% - 24px);
  }

  .hero-graph-panel .graph-preview-note {
    right: 12px;
    top: 138px;
  }

  .hero-notebook-panel .timeline-preview {
    min-height: 270px;
  }

  .hero-notebook-panel .timeline-posts {
    gap: 8px;
  }

  .graph-frame {
    min-height: 475px;
  }
}

@media (min-width: 640px) {
  .promise-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .promise-strip li {
    border-bottom: 0;
    border-right: 1px solid var(--border);
    padding: 14px 16px 14px 0;
  }

  .promise-strip li + li {
    padding-left: 16px;
  }

  .promise-strip li:last-child {
    border-right: 0;
  }

  .showcase-row {
    align-items: center;
    gap: 30px;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  }

  .showcase-row:nth-of-type(even) .showcase-copy {
    order: 2;
  }

  .footer-inner {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
  }

  .legal-main {
    padding-top: 46px;
  }

  .legal-article h1 {
    font-size: 3.1rem;
  }
}

@media (min-width: 920px) {
  .hero-section {
    padding: 52px 0 56px;
  }

  .hero-layout {
    align-items: center;
    gap: 56px;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  }

  h1 {
    font-size: 6.2rem;
  }

  .hero-lede {
    font-size: 1.24rem;
  }

  .graph-frame {
    min-height: 523px;
  }

  .preview-panel {
    min-height: 410px;
  }

  .map-preview {
    height: 310px;
  }

  .split-section {
    align-items: start;
    gap: 52px;
    grid-template-columns: 330px minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .preview-panel.is-active {
    animation: none;
  }
}
