:root {
  color-scheme: dark;
  --bg: #101714;
  --surface: #1a231e;
  --text: #eeeee4;
  --muted: #b8bfb3;
  --accent: #c6d7ae;
  --line: #38443a;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-wrap: break-word;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.75;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex="-1"]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
button,
input,
textarea {
  border-radius: 7px;
}
button {
  min-height: 52px;
}
input,
textarea {
  font-size: 16px;
}
h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-weight: 400;
}
h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
em {
  font-weight: 400;
  color: var(--accent);
}
h1 {
  font-size: clamp(3.1rem, 5.9vw, 5.6rem);
}
h2 {
  font-size: clamp(2.5rem, 4.7vw, 4.3rem);
}
h3 {
  font-size: clamp(1.85rem, 3vw, 2.65rem);
}
p {
  color: var(--muted);
}
.wrap {
  width: min(1180px, calc(100% - 96px));
  margin-inline: auto;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: max(28px, env(safe-area-inset-top)) 26px;
}
.brand {
  font-size: 16px;
  letter-spacing: 0.24em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
}
.brand-dot {
  font-size: 40px;
  color: var(--accent);
  line-height: 0.5;
  margin-left: 5px;
  letter-spacing: 0;
}
.header-link {
  font-size: 14px;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
}
.header-link:hover {
  color: var(--accent);
}
.eyebrow {
  font-size: 11px;
  line-height: 1.6;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.signal {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 100%;
  background: var(--accent);
  margin: 0 8px 1px 0;
}
.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px 70px;
  align-items: center;
  padding-top: 45px;
  padding-bottom: 55px;
}
.hero-copy > .eyebrow {
  margin-bottom: 23px;
}
.lead {
  font-size: 18px;
  line-height: 1.65;
  max-width: 44ch;
  margin-top: 25px;
}
.human-line {
  margin-top: 15px;
  font-size: 15px;
}
.human-line strong {
  color: var(--text);
  font-weight: 500;
}
.signup {
  margin-top: 30px;
  scroll-margin-top: 30px;
}
.signup label,
.human-edit label {
  font-size: 13px;
  display: block;
  margin-bottom: 9px;
  color: var(--text);
}
.field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
}
.field input {
  min-width: 0;
  width: 100%;
  min-height: 54px;
  border: 1px solid #6f7c69;
  background: #1d2720;
  color: var(--text);
  padding: 12px 15px;
  scroll-margin-block: 24px;
}
.field input::placeholder {
  color: #b0b9a9;
}
.field input:focus {
  border-color: var(--accent);
}
.field input[aria-invalid="true"] {
  border-color: #ffc4b8;
}
.field button,
.primary-link {
  border: 1px solid var(--accent);
  color: #192117;
  background: var(--accent);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 17px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  min-height: 54px;
  text-decoration: none;
}
.field button:hover,
.primary-link:hover {
  background: #d6e3c4;
}
.fine-print {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 12px;
}
.fine-print a {
  display: inline-block;
  padding-block: 5px;
}
.status {
  font-size: 14px;
  margin-top: 12px;
  line-height: 1.5;
  color: var(--text);
}
.status.error {
  color: #ffc4b8;
}
.status.success {
  color: #c6e8bb;
}
.status[hidden] {
  display: none;
}
.hero-photo {
  transform: rotate(2deg);
  margin: 10px 6px 0;
}
.photo-frame {
  position: relative;
  background: #273025;
  padding: 9px 9px 48px;
  border: 1px solid #4a5547;
  box-shadow: 0 16px 34px #0003;
}
.photo-frame img {
  width: 100%;
  aspect-ratio: 1.05;
  object-fit: cover;
  object-position: center;
}
.photo-note {
  position: absolute;
  bottom: 13px;
  left: 20px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: #e6e7db;
}
.hero-photo figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  margin-top: 16px;
  color: var(--muted);
  letter-spacing: 0.015em;
}
.scroll-cue {
  grid-column: 1/-1;
  text-align: center;
  text-decoration: none;
  color: var(--muted);
  font-size: 13px;
  padding-block: 15px;
}
.scroll-cue span {
  margin-right: 15px;
  color: var(--accent);
}
.story-section {
  border-top: 1px solid var(--line);
  background: #141d17;
  padding: 88px 0 72px;
}
.section-heading {
  margin-bottom: 64px;
}
.section-heading h2 {
  margin-top: 17px;
}
.section-heading > p:not(.eyebrow) {
  margin-top: 18px;
}
.section-heading .demo-label {
  display: inline-block;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  font-size: 12px;
}
.story-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 100px;
  align-items: start;
}
.story-anchor {
  min-width: 0;
}
.anchor-photo {
  border: 1px solid var(--line);
  padding: 10px;
  background: #1c261f;
}
.anchor-photo img {
  aspect-ratio: 1;
  object-fit: cover;
}
.anchor-photo figcaption {
  display: grid;
  gap: 5px;
  padding: 20px 12px 15px;
  font-size: 12px;
  color: var(--muted);
}
.anchor-photo strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  color: var(--text);
}
.story-progress {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 11px;
  color: var(--muted);
  margin-top: 25px;
  font-variant-numeric: tabular-nums;
}
.story-progress > div {
  height: 1px;
  background: var(--line);
  flex: 1;
}
.story-progress i {
  display: block;
  height: 2px;
  width: 20%;
  background: var(--accent);
  transition: width 0.4s;
}
.story-progress > span:last-child {
  min-width: 88px;
  text-align: right;
}
.story-step {
  padding: 40px 0 65px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 40px;
}
.step-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 24px;
}
.step-label span {
  font-size: 11px;
  letter-spacing: 0;
  border: 1px solid #64755b;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.story-step > p:not(.step-label) {
  margin-top: 18px;
  max-width: 40ch;
}
.story-step h3 {
  max-width: 19ch;
}
.source-line {
  margin-top: 28px;
  padding-left: 17px;
  border-left: 2px solid #8d9d7d;
  display: flex;
  gap: 13px;
  align-items: center;
  font-size: 14px;
  line-height: 1.8;
}
.source-line > span:first-child {
  font-size: 29px;
  color: var(--accent);
}
.source-line time {
  font-size: 12px;
  color: var(--muted);
}
.small-copy {
  font-size: 14px;
}
.messages {
  padding: 0;
  margin: 27px 0 0;
  list-style: none;
  display: grid;
  gap: 13px;
}
.messages li {
  max-width: 90%;
  width: fit-content;
  padding: 12px 17px;
  background: #26322a;
  border: 1px solid #435045;
  border-radius: 12px 12px 12px 2px;
}
.messages li.from-you {
  margin-left: auto;
  background: #303d2c;
  border-color: #506148;
  border-radius: 12px 12px 2px 12px;
}
.messages span {
  font-size: 11px;
  color: #c6cdbf;
}
.messages p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
  margin-top: 5px;
}
.interpretation {
  margin-top: 27px;
  border-left: 2px solid #b4c09e;
  padding: 20px 23px;
  background: #1e2921;
}
.draft-text {
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.45;
  color: var(--text);
  margin-top: 14px;
}
.possibilities {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  font-size: 11px;
}
.possibilities span {
  border: 1px solid #788469;
  padding: 2px 10px;
  border-radius: 20px;
  color: var(--text);
}
details summary {
  cursor: pointer;
  min-height: 44px;
  align-content: center;
}
.evidence-details {
  margin-top: 19px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.evidence-details summary {
  color: var(--text);
}
.evidence-details ul {
  padding-left: 17px;
  margin: 0;
  color: var(--muted);
}
.evidence-details li + li {
  margin-top: 8px;
}
.human-edit {
  margin-top: 27px;
}
.human-edit textarea {
  display: block;
  resize: vertical;
  width: 100%;
  min-height: 144px;
  border: 1px solid #7d8a71;
  background: #1d2820;
  color: var(--text);
  padding: 15px;
  line-height: 1.65;
}
.secondary-button {
  background: transparent;
  border: 1px solid #829274;
  color: var(--accent);
  padding: 10px 17px;
  font-size: 13px;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 12px;
}
.secondary-button:hover {
  background: #2a362b;
}
.saved-memory {
  margin-top: 28px;
  overflow: hidden;
  border-radius: 4px;
  background: #e8e8db;
  color: #243126;
  border: 1px solid #b1bea5;
  box-shadow: 0 20px 40px #0002;
}
.saved-memory img {
  width: 100%;
  aspect-ratio: 1.6;
  object-fit: cover;
}
.saved-memory figcaption {
  padding: 25px;
}
.saved-memory .eyebrow {
  font-size: 10px;
  color: #4a5b46;
}
.saved-memory h4 {
  font-size: 30px;
  margin-top: 14px;
}
.saved-memory blockquote {
  margin: 16px 0 25px;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.6;
  white-space: normal;
}
.saved-memory .fine-print {
  color: #4a5b46;
}
.memory-sources {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 11px;
}
.memory-sources span {
  border-top: 1px solid #98a48e;
  padding-top: 6px;
}
.outcomes {
  padding-block: 100px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 100px;
}
.outcomes h2 {
  margin-top: 20px;
}
.outcomes > div > p:last-child {
  margin-top: 25px;
  font-size: 15px;
}
.outcome-list {
  margin: 0;
}
.outcome-list > div {
  border-top: 1px solid var(--line);
  padding: 25px 0;
}
.outcome-list dt {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.3;
  position: relative;
  padding-left: 36px;
}
.outcome-list dt span {
  position: absolute;
  left: 0;
  top: 6px;
  font-family: var(--sans);
  font-size: 10px;
  color: var(--accent);
}
.outcome-list dd {
  margin: 12px 0 0 36px;
  font-size: 14px;
  color: var(--muted);
  max-width: 43ch;
}
.closing {
  text-align: center;
  border-top: 1px solid var(--line);
  padding-block: 80px 90px;
}
.closing h2 {
  margin-top: 25px;
  font-size: clamp(3rem, 5.2vw, 5rem);
}
.closing > p:not(.eyebrow):not(.fine-print) {
  max-width: 47ch;
  margin: 25px auto;
  font-size: 17px;
}
.primary-link {
  border-radius: 7px;
  min-width: 210px;
}
.site-footer {
  padding-bottom: max(32px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}
.footer-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 28px;
}
.footer-line > span {
  font-size: 12px;
  color: var(--muted);
}
.privacy-details {
  max-width: 680px;
  font-size: 13px;
  color: var(--muted);
  margin-top: 15px;
}
.privacy-details summary {
  width: fit-content;
}
.privacy-details p {
  margin-top: 13px;
}
.skip-link {
  position: absolute;
  top: 8px;
  left: 12px;
  z-index: 10;
  transform: translateY(-200%);
  background: var(--accent);
  color: #101714;
  padding: 10px 18px;
}
.skip-link:focus {
  transform: none;
}
@media (min-width: 900px) and (min-height: 760px) {
  .story-anchor {
    position: sticky;
    top: 40px;
  }
  .story-step {
    min-height: 560px;
  }
  .story-step:last-child {
    min-height: 0;
  }
}
@media (max-width: 1050px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .hero {
    gap: 40px;
  }
  .story-layout,
  .outcomes {
    gap: 55px;
  }
  .field {
    grid-template-columns: 1fr;
  }
  .field button {
    width: 100%;
  }
  .hero h1 {
    font-size: clamp(3rem, 5.9vw, 4rem);
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 40px);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  .site-header {
    padding-top: max(16px, env(safe-area-inset-top));
    padding-bottom: 10px;
  }
  .brand {
    font-size: 14px;
  }
  .header-link {
    font-size: 12px;
    gap: 10px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-top: 28px;
    padding-bottom: 30px;
  }
  .hero-copy > .eyebrow {
    font-size: 10px;
    margin-bottom: 17px;
    letter-spacing: 0.1em;
  }
  .hero h1 {
    font-size: clamp(2.9rem, 9vw, 4rem);
    line-height: 1.04;
  }
  .lead {
    font-size: 16px;
    line-height: 1.65;
    margin-top: 22px;
    max-width: 40ch;
  }
  .human-line {
    font-size: 14px;
    margin-top: 13px;
  }
  .signup {
    margin-top: 23px;
  }
  .signup label {
    font-size: 13px;
  }
  .field {
    gap: 10px;
  }
  .fine-print {
    font-size: 12px;
  }
  .hero-photo {
    margin: 8px 8px 0;
  }
  .photo-frame img {
    aspect-ratio: 1.3;
  }
  .photo-note {
    font-size: 19px;
  }
  .hero-photo figcaption {
    font-size: 10px;
  }
  .scroll-cue {
    padding: 7px 0 0;
    font-size: 12px;
  }
  .story-section {
    padding-block: 55px 25px;
  }
  .section-heading {
    margin-bottom: 32px;
  }
  .section-heading > p:not(.eyebrow) {
    font-size: 14px;
  }
  .section-heading .demo-label {
    font-size: 11px;
  }
  .story-layout,
  .outcomes {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .anchor-photo img {
    aspect-ratio: 1.4;
  }
  .anchor-photo figcaption {
    padding: 16px 10px 10px;
  }
  .anchor-photo strong {
    font-size: 21px;
  }
  .story-progress {
    display: none;
  }
  .story-step {
    padding: 28px 0 42px;
  }
  .story-step h3 {
    max-width: 23ch;
  }
  .step-label {
    margin-bottom: 19px;
  }
  .story-step > p:not(.step-label) {
    font-size: 15px;
  }
  .messages p {
    font-size: 15px;
  }
  .interpretation {
    padding: 18px;
  }
  .draft-text {
    font-size: 22px;
  }
  .saved-memory figcaption {
    padding: 22px;
  }
  .saved-memory blockquote {
    font-size: 20px;
  }
  .outcomes {
    padding-block: 60px;
    gap: 35px;
  }
  .outcome-list dt {
    font-size: 23px;
  }
  .closing {
    padding-block: 55px;
  }
  .closing > p:not(.eyebrow):not(.fine-print) {
    font-size: 16px;
  }
  .footer-line > span {
    font-size: 11px;
  }
  .privacy-details {
    font-size: 12px;
  }
  .human-edit textarea {
    scroll-margin-block: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Grid children may shrink when users enlarge text; long headings can wrap. */
.hero-copy,
.hero-photo,
.story-anchor,
.story-steps,
.outcomes > div,
.outcome-list {
  min-width: 0;
}
h1,
h2,
h3,
h4 {
  overflow-wrap: anywhere;
}

.status:empty {
  margin: 0;
  min-height: 0;
}
.fine-print a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.scroll-cue {
  min-height: 44px;
  align-content: center;
}
.saved-memory:focus {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
.kept-context {
  font-size: 13px;
  border-top: 1px solid #98a48e;
  border-bottom: 1px solid #98a48e;
  padding-block: 8px 15px;
  margin-bottom: 22px;
}
.kept-context summary {
  color: #243126;
}
.kept-context p {
  color: #42513c;
  margin-top: 10px;
}
.kept-context strong {
  font-size: 11px;
  font-weight: 500;
}
.kept-context .context-note {
  font-size: 11px;
}

#saved-words[data-edited] {
  white-space: pre-wrap;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  align-items: center;
  margin-top: 28px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
}
.hero h1 {
  font-size: clamp(3rem, 5.3vw, 5rem);
}
.hero-photo {
  transform: rotate(1.5deg);
}
.photo-frame img {
  aspect-ratio: 0.86;
  object-position: center 57%;
}
.anchor-photo img {
  object-position: center 57%;
}
.saved-memory img {
  object-position: center 56%;
}
.try-now,
.updates {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 100px;
  padding-block: 80px;
  border-top: 1px solid var(--line);
}
.try-now h2,
.updates h2 {
  margin-top: 18px;
}
.try-now > div > p:not(.eyebrow),
.updates > div > p:not(.eyebrow) {
  margin-top: 22px;
  max-width: 45ch;
}
.try-now .primary-link {
  margin-top: 26px;
}
.try-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 24px;
}
.try-steps li {
  display: flex;
  gap: 22px;
  border-top: 1px solid var(--line);
  padding-top: 19px;
}
.try-steps li > span {
  color: var(--accent);
  font-size: 12px;
  padding-top: 5px;
}
.try-steps strong {
  font-weight: 500;
}
.try-steps p {
  font-size: 14px;
  margin-top: 5px;
}
.storage-note {
  margin-top: 24px;
  border-left: 2px solid var(--accent);
  padding-left: 18px;
  font-size: 13px;
}
.storage-note strong {
  font-weight: 500;
  color: var(--text);
}
.updates .signup {
  margin-top: 0;
}
.updates .text-link {
  margin-top: 12px;
}
.voice-wave {
  font-size: 20px;
  line-height: 2;
  color: var(--accent);
  overflow: hidden;
  height: 40px;
  white-space: nowrap;
}
.messages .voice-example {
  width: 100%;
  max-width: 100%;
  border-radius: 6px;
}
@media (max-width: 1050px) {
  .try-now,
  .updates {
    gap: 55px;
  }
}
@media (max-width: 760px) {
  .hero h1 {
    font-size: clamp(2.65rem, 10.3vw, 4rem);
  }
  .hero-actions {
    gap: 6px 20px;
  }
  .hero-actions .primary-link {
    min-width: 165px;
  }
  .photo-frame img {
    aspect-ratio: 1.12;
  }
  .try-now,
  .updates {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-block: 55px;
  }
  .try-now h2,
  .updates h2 {
    font-size: clamp(2.25rem, 8.5vw, 3rem);
  }
}

body {
  padding-bottom: var(--keyboard-space, 0px);
}
.try-now > div,
.updates > div,
.try-steps li > div {
  min-width: 0;
}
.messages li {
  min-width: 0;
}
