/* A warm notebook, a yellow smile, and the diary at the center. */
.nd-page { --nd-cream: #fff9f1; --nd-ink: #483e50; --nd-yellow: #ffda70; --nd-muted: #786c7c; --nd-line: #e8dfd6; --ink: #483e50; --muted: #756b79; --line: #e9dfe4; --accent: #c83c60; margin: 0; color: var(--nd-ink); background: var(--nd-cream); font-family: var(--diary-font-family); -webkit-font-smoothing: antialiased; }
.nd-page *, .nd-page *::before, .nd-page *::after { box-sizing: border-box; }
.nd-page a { color: inherit; text-decoration: none; }
.nd-page button, .nd-page textarea { font: inherit; }
.nd-page button, .nd-page summary { -webkit-tap-highlight-color: transparent; }
.nd-page [hidden] { display: none !important; }
.nd-page :focus-visible { outline: 3px solid var(--nd-ink); outline-offset: 5px; }
.nd-page h1, .nd-page h2, .nd-page h3, .nd-page p { margin: 0; }
.nd-page button { cursor: pointer; }
.nd-page img { max-width: 100%; }
.nd-skip-link { position: absolute; top: -100px; left: 20px; padding: 15px; background: var(--nd-yellow); z-index: 10; }
.nd-skip-link:focus { top: 10px; }
.nd-header { max-width: 1200px; margin: auto; height: 104px; padding: 16px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--nd-line); }
.nd-brand { display: block; flex-shrink: 0; }
.nd-brand img { display: block; object-fit: contain; }
.nd-nav { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 600; }
.nd-nav a { white-space: nowrap; }
.nd-nav a:not(.nd-sign-in):hover { text-decoration: underline; text-underline-offset: 5px; }
.nd-sign-in { border: 1px solid var(--nd-ink); padding: 11px 21px; border-radius: 40px; transition: background .2s, transform .2s; }
.nd-sign-in:hover { background: var(--nd-yellow); transform: translateY(-2px); }
.nd-hero { position: relative; width: 100%; padding: 62px 24px 26px; overflow: hidden; }
.nd-hero-inner { max-width: 980px; margin: auto; text-align: center; position: relative; }
.nd-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .17em; line-height: 1.6; }
.nd-headline-wrap { position: relative; margin: 24px auto 22px; }
.nd-hero h1 { font-family: var(--diary-font-family); font-size: clamp(46px, 5.7vw, 76px); letter-spacing: -.025em; font-weight: 800; line-height: 1.15; position: relative; z-index: 1; max-width: 820px; margin: auto; }
.nd-highlight { position: relative; white-space: nowrap; display: inline-block; }
.nd-highlight::after { content: ""; position: absolute; z-index: -1; inset: 65% -5px 1%; background: var(--nd-yellow); transform: rotate(-2deg); border-radius: 3px 12px 5px 9px; }
.nd-hero-smile { position: absolute; width: 175px; height: 175px; right: -65px; top: -52px; transform: rotate(14deg); }
.nd-lead { font-size: 16px; line-height: 1.65; color: var(--nd-muted); }
.nd-mobile-break { display: none; }
.nd-composer-wrap { max-width: 650px; margin: 30px auto 0; }
.nd-composer { background: #fffefd; border: 1px solid #d8cdbf; border-radius: 14px; text-align: left; padding: 20px 22px 16px; box-shadow: 0 5px 0 #ede4d7; }
.nd-composer-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.nd-composer label { font-size: 14px; font-weight: 600; }
.nd-counter { font-size: 11px; font-variant-numeric: tabular-nums; color: var(--nd-muted); white-space: nowrap; }
.nd-composer textarea { display: block; width: 100%; min-height: 100px; padding: 8px 0; border: 0; resize: vertical; background: transparent; color: var(--nd-ink); line-height: 1.65; font-size: 16px; }
.nd-composer textarea:focus { outline: 0; }
.nd-composer:focus-within { border-color: var(--nd-ink); box-shadow: 0 5px 0 var(--nd-yellow); }
.nd-composer textarea::placeholder { color: #a095a0; opacity: 1; }
.nd-composer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 14px; border-top: 1px solid var(--nd-line); }
.nd-no-signup { font-size: 11px; color: var(--nd-muted); }
.nd-button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; border: 0; border-radius: 7px; background: var(--nd-yellow); color: var(--nd-ink); padding: 13px 23px; font-size: 14px; font-weight: 700; line-height: 1.4; transition: transform .2s, box-shadow .2s, background .2s; }
.nd-button:hover { transform: translateY(-3px); box-shadow: 0 4px 0 var(--nd-ink); }
.nd-button:active { transform: translateY(0); box-shadow: none; }
.nd-button:disabled { cursor: wait; opacity: .6; transform: none; box-shadow: none; }
.nd-privacy-note { margin-top: 16px !important; font-size: 10px; line-height: 1.65; color: var(--nd-muted); }
.nd-error { padding: 15px 17px; margin-top: 16px !important; text-align: left; background: #fff0e7; border-left: 3px solid var(--nd-ink); font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.nd-generating { display: flex; gap: 16px; align-items: center; justify-content: center; margin-top: 20px; padding: 15px; }
.nd-generating p { font-size: 14px; text-align: left; }
.nd-generating small { display: block; font-size: 11px; color: var(--nd-muted); margin-top: 5px; }
.nd-loading-dots { display: flex; gap: 4px; }
.nd-loading-dots i { width: 6px; height: 6px; background: var(--nd-ink); border-radius: 50%; animation: nd-dot 1s ease-in-out infinite; }
.nd-loading-dots i:nth-child(2) { animation-delay: .15s; }
.nd-loading-dots i:nth-child(3) { animation-delay: .3s; }
.nd-small-promise { display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 11px; margin: 25px auto 0 !important; color: var(--nd-muted); }
.nd-small-promise span { font-size: 17px; color: var(--nd-ink); }
.nd-small-promise span:nth-of-type(2) { margin-left: 16px; }
.nd-scroll-cue { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 45px auto 0; font-size: 10px; letter-spacing: .05em; color: var(--nd-muted) !important; }
.nd-scroll-cue span { font-size: 20px; }
.nd-section { max-width: 1120px; margin: auto; padding: 88px 40px; scroll-margin-top: 24px; }
.nd-page h2 { font-family: var(--diary-font-family); font-size: clamp(32px, 3.8vw, 46px); font-weight: 800; letter-spacing: -.02em; line-height: 1.3; }
.nd-section-intro .nd-eyebrow { margin-bottom: 18px; }
.nd-steps { border-top: 1px solid var(--nd-line); padding-top: 68px; }
.nd-step-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; padding: 0; margin: 42px 0 0; list-style: none; }
.nd-step-number { display: block; margin-bottom: 14px; font-family: var(--diary-font-family); font-size: 16px; color: #9b8d98; }
.nd-step-list h3 { font-size: 19px; margin-bottom: 12px; font-weight: 600; }
.nd-step-list p { color: var(--nd-muted); font-size: 14px; line-height: 1.7; max-width: 265px; }
.nd-memory { display: grid; grid-template-columns: 1fr; align-items: start; gap: 36px; border-top: 1px solid var(--nd-line); }
.nd-memory-copy { max-width: 640px; }
.nd-memory-copy .nd-eyebrow { margin-bottom: 22px; }
.nd-memory-copy > p:not(.nd-eyebrow) { font-size: 14px; line-height: 1.8; color: var(--nd-muted); margin-top: 22px; }
.nd-memory-note { font-size: 12px !important; }
.nd-memory-note span { color: var(--nd-ink); margin-right: 8px; }
/* The example uses the app's actual calendar grid, cells and responsive sizes. */
.nd-calendar-example { width: 100%; max-width: 960px; justify-self: center; line-height: 1.85; background: var(--nd-cream); }
.nd-example-bar { display: flex; gap: 10px; justify-content: space-between; padding: 12px 4px; font-size: 11px; }
.nd-example-label { color: var(--nd-muted); }
.nd-page .nd-calendar-heading { padding: 25px 4px; }
.nd-page .nd-calendar-heading h3 { font-size: 23px; font-weight: 800; letter-spacing: .04em; }
.nd-calendar-example .calendar-day { text-align: left; width: 100%; }
.nd-calendar-example button.calendar-day { border: 0; border-radius: 0; background: transparent; color: var(--ink); }
.nd-calendar-example button.calendar-day:hover { background: #fff0df; }
.nd-calendar-example .nd-selected { outline: 2px solid #d56882; outline-offset: -2px; }
.nd-page .calendar-grid th { color: var(--muted); }
.nd-page .calendar-grid th:first-child { color: var(--accent); }
.nd-page .calendar-grid th:last-child { color: #376d90; }
.nd-calendar-thread { border-top: 1px solid var(--nd-line); padding: 17px 20px; }
.nd-example-date { font-size: 8px; letter-spacing: .12em; color: var(--nd-muted); }
.nd-example-title { display: flex; align-items: start; gap: 10px; margin: 8px 0 14px; }
.nd-example-title h4 { font-size: 13px; line-height: 1.45; margin: 0; }
.nd-example-title > span { font-size: 8px; white-space: nowrap; background: #eee9ef; padding: 2px 4px; }
.nd-example-entry { background: #fff6d9; padding: 12px; font-size: 11px; line-height: 1.6; margin-bottom: 14px !important; border-left: 2px solid var(--nd-yellow); }
.nd-example-reply { font-size: 11px; line-height: 1.55; margin-top: 12px !important; }
.nd-example-reply > span { display: block; }
.nd-example-reply > span:first-child { font-size: 9px; margin-bottom: 3px; font-weight: 600; }
.nd-example-reply small { color: var(--nd-muted); font-size: 8px; font-weight: 400; }
.nd-example-caption { padding: 12px 20px; border-top: 1px solid var(--nd-line); font-size: 9px; color: var(--nd-muted); }
.nd-pricing { background: var(--nd-yellow); }
.nd-pricing-inner { max-width: 1000px; padding-top: 72px; padding-bottom: 68px; }
.nd-pricing .nd-eyebrow { margin-bottom: 18px; }
.nd-price-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin: 45px 0 34px; }
.nd-price-plan h3 { font-size: 14px; font-weight: 600; }
.nd-price { font-family: var(--diary-font-family); font-size: 54px; letter-spacing: -.06em; margin-top: 15px !important; margin-bottom: 12px !important; }
.nd-price span { display: inline-block; margin-left: 15px; font-family: var(--diary-font-family); font-size: 12px; letter-spacing: normal; }
.nd-price-plan > p:not(.nd-price) { font-size: 12px; line-height: 1.7; }
.nd-price-plan ul { list-style: none; padding: 0; margin: 24px 0 0; }
.nd-price-plan li { font-size: 12px; line-height: 1.7; margin-bottom: 10px; display: flex; gap: 12px; }
.nd-price-plan li::before { content: "✓"; font-weight: 700; }
.nd-noise-plan { padding-left: 50px; border-left: 1px solid #beaa68; }
.nd-button-ink { background: var(--nd-ink); color: var(--nd-cream) !important; }
.nd-button-ink:hover { box-shadow: 0 4px 0 #fff9f1; }
.nd-price-footnote { font-size: 11px; line-height: 1.7; margin-top: 18px !important; }
.nd-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 76px; }
.nd-faq-intro .nd-eyebrow { margin-bottom: 20px; }
.nd-questions details { border-bottom: 1px solid var(--nd-line); }
.nd-questions details:first-child { border-top: 1px solid var(--nd-line); }
.nd-questions summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; font-size: 14px; font-weight: 600; }
.nd-questions summary::-webkit-details-marker { display: none; }
.nd-questions summary span { font-size: 20px; font-weight: 400; flex-shrink: 0; transition: transform .2s; }
.nd-questions details[open] summary span { transform: rotate(45deg); }
.nd-questions details p { color: var(--nd-muted); font-size: 13px; line-height: 1.8; padding: 0 28px 24px 0; }
.nd-final { text-align: center; padding: 40px 24px 82px; }
.nd-final img { margin-bottom: 8px; }
.nd-final .nd-button { margin-top: 28px; }
.nd-final p { font-size: 11px; color: var(--nd-muted); margin-top: 15px; }
.nd-footer { max-width: 1200px; border-top: 1px solid var(--nd-line); margin: auto; padding: 35px 40px 30px; display: flex; align-items: center; flex-wrap: wrap; gap: 20px 30px; }
.nd-footer p { font-size: 11px; color: var(--nd-muted); }
.nd-footer nav { display: flex; gap: 20px; margin-left: auto; font-size: 11px; }
.nd-footer nav a:hover { text-decoration: underline; }
.nd-footer small { display: block; flex-basis: 100%; color: var(--nd-muted); font-size: 9px; }
.nd-results:empty { display: none; }
.nd-live-preview { max-width: 690px; margin: 36px auto 0; text-align: left; }
.nd-result-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 18px; }
.nd-ai-indicator { font-size: 10px; white-space: nowrap; color: var(--nd-muted); }
.nd-page .nd-thread-title { font-family: var(--diary-font-family); font-size: 21px; font-weight: 600; line-height: 1.5; letter-spacing: -.02em; overflow-wrap: anywhere; }
.nd-thread-title > span, .nd-saved-title > span { display: block; font-size: 9px; font-weight: 400; color: var(--nd-muted); margin-top: 6px; }
.nd-thread { list-style: none; margin: 20px 0; padding: 0; border-top: 1px solid var(--nd-line); }
.nd-post { padding: 19px 20px; border-bottom: 1px solid var(--nd-line); }
.nd-post-head { display: flex; gap: 12px; align-items: center; font-size: 11px; margin-bottom: 9px; }
.nd-post-head > span:last-child { font-size: 9px; color: var(--nd-muted); margin-left: auto; }
.nd-post-no { font-variant-numeric: tabular-nums; color: var(--nd-muted); }
.nd-post p { font-size: 14px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.nd-your-post { background: #fff0c5; border-left: 3px solid var(--nd-yellow); }
.nd-reply-anchor { color: #776347 !important; text-decoration: underline !important; text-underline-offset: 3px; }
.nd-result-cta { text-align: center; padding: 25px 0 15px; }
.nd-result-cta h3 { font-family: var(--diary-font-family); font-size: 25px; font-weight: 400; margin-bottom: 18px; }
.nd-result-cta p { font-size: 12px; line-height: 1.7; margin-top: 18px; }
.nd-result-cta small { display: block; font-size: 10px; line-height: 1.7; color: var(--nd-muted); margin-top: 16px; }
.nd-expired-note { padding: 24px; background: #f1e9de; border-radius: 6px; font-size: 14px; line-height: 1.7; text-align: center; margin: 24px 0 !important; }
.nd-expired-note .nd-button { margin-top: 16px; }
.nd-expired-note a:not(.nd-button) { text-decoration: underline; }
.nd-handoff { max-width: 760px; padding-top: 60px; }
.nd-handoff h1 { font-family: var(--diary-font-family); font-size: clamp(40px, 6vw, 60px); font-weight: 400; letter-spacing: -.04em; line-height: 1.1; margin-top: 22px; margin-bottom: 22px; }
.nd-handoff .nd-thread { margin-top: 30px; }
.nd-handoff-actions { display: flex; gap: 28px; align-items: center; margin-top: 25px; }
.nd-text-button { border: 0; background: transparent; color: var(--nd-ink); font-size: 13px; padding: 14px 0; text-decoration: underline; text-underline-offset: 4px; }
.nd-continue-link { display: inline-block; padding: 18px 0; font-size: 13px; margin-top: 22px; }
.nd-saved-title { font-size: 14px; line-height: 1.6; }
.nd-enter { animation: nd-enter .65s both; }
.nd-headline-wrap.nd-enter { animation-delay: .08s; }
.nd-lead.nd-enter { animation-delay: .16s; }
.nd-composer-wrap.nd-enter { animation-delay: .24s; }
.nd-small-promise.nd-enter { animation-delay: .3s; }
.nd-reveal { transition: opacity .7s, transform .7s; }
.nd-reveal.nd-awaiting { opacity: 0; transform: translateY(24px); }
.nd-new-result .nd-post { animation: nd-enter .35s both; }
.nd-new-result .nd-post:nth-child(2) { animation-delay: .1s; }
.nd-new-result .nd-post:nth-child(3) { animation-delay: .2s; }
.nd-new-result .nd-post:nth-child(4) { animation-delay: .3s; }
.nd-new-result .nd-post:nth-child(5) { animation-delay: .4s; }
.nd-new-result .nd-post:nth-child(6) { animation-delay: .5s; }
.nd-new-result .nd-post:nth-child(7) { animation-delay: .6s; }
.nd-new-result .nd-post:nth-child(8) { animation-delay: .7s; }
.nd-new-result .nd-post:nth-child(9) { animation-delay: .8s; }
@keyframes nd-enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes nd-dot { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-4px); opacity: 1; } }
@media (max-width: 1000px) { .nd-hero-smile { right: -20px; width: 120px; height: 120px; top: -58px; } .nd-memory { gap: 40px; } .nd-faq { gap: 40px; } }
@media (max-width: 720px) {
  .nd-header { height: 80px; padding: 14px 22px; gap: 15px; } .nd-header .nd-brand img { width: 173px; height: 45px; }
  .nd-nav { gap: 16px; font-size: 12px; } .nd-nav-detail { display: none; } .nd-sign-in { padding: 9px 15px; }
  .nd-hero { padding-top: 48px; padding-bottom: 20px; } .nd-hero h1 { font-size: 54px; max-width: 540px; } .nd-hero-smile { width: 95px; height: 95px; top: -70px; right: -10px; }
  .nd-eyebrow { font-size: 9px; letter-spacing: .12em; } .nd-lead { font-size: 14px; } .nd-mobile-break { display: block; }
  .nd-composer-wrap { margin-top: 26px; } .nd-scroll-cue { margin-top: 34px; }
  .nd-section { padding: 62px 24px; } .nd-step-list { gap: 24px; } .nd-step-list h3 { font-size: 16px; } .nd-step-list p { font-size: 12px; }
  .nd-memory { grid-template-columns: 1fr; gap: 32px; } .nd-memory-copy { max-width: 430px; } .nd-calendar-example { width: 100%; }
  .nd-faq { grid-template-columns: 1fr; gap: 32px; } .nd-faq-intro h2 br { display: none; }
  .nd-footer { padding: 28px 24px; gap: 15px; } .nd-footer nav { flex-basis: 100%; margin-left: 0; }
  .nd-price-columns { gap: 28px; } .nd-noise-plan { padding-left: 28px; } .nd-price { font-size: 47px; }
}
@media (max-width: 480px) {
  .nd-page .nd-calendar-heading h3 { font-size: 20px; }
  .nd-header { padding: 12px 16px; height: 70px; } .nd-header .nd-brand img { width: 153px; height: 40px; } .nd-nav { gap: 13px; font-size: 11px; } .nd-sign-in { padding: 9px 12px; }
  .nd-hero { padding: 42px 19px 20px; } .nd-hero h1 { font-size: 43px; line-height: 1.07; letter-spacing: -.047em; } .nd-headline-wrap { margin: 22px 0 18px; }
  .nd-hero-smile { display: none; } .nd-eyebrow { font-size: 8px; } .nd-hero .nd-eyebrow { letter-spacing: .1em; }
  .nd-composer { padding: 16px; border-radius: 10px; } .nd-composer label { font-size: 12px; } .nd-composer textarea { min-height: 115px; }
  .nd-composer-bottom { display: grid; grid-template-columns: 1fr; gap: 12px; } .nd-composer-bottom .nd-no-signup { text-align: center; font-size: 10px; } .nd-composer-bottom .nd-button { width: 100%; }
  .nd-privacy-note { font-size: 9px; } .nd-small-promise { font-size: 9px; gap: 6px; } .nd-small-promise span:nth-of-type(2) { margin-left: 6px; }
  .nd-scroll-cue { margin-top: 28px; font-size: 9px; } .nd-section { padding: 50px 22px; }
  .nd-step-list { grid-template-columns: 1fr; gap: 28px; margin-top: 30px; } .nd-step-list li { display: grid; grid-template-columns: 32px 1fr; column-gap: 14px; } .nd-step-number { grid-row: span 2; margin-bottom: 0; padding-top: 1px; } .nd-step-list h3 { margin-bottom: 7px; font-size: 18px; } .nd-step-list p { max-width: 100%; font-size: 13px; }
  .nd-price-columns { grid-template-columns: 1fr; gap: 28px; margin: 32px 0; } .nd-noise-plan { border-left: 0; border-top: 1px solid #beaa68; padding: 25px 0 0; }
  .nd-price { margin-top: 9px !important; } .nd-price-plan ul { margin-top: 17px; } .nd-price-plan li { margin-bottom: 6px; }
  .nd-questions summary { font-size: 13px; } .nd-final { padding-bottom: 55px; } .nd-final h2 { font-size: 34px; }
  .nd-footer .nd-brand img { width: 155px; height: 41px; } .nd-footer p { font-size: 10px; } .nd-footer nav { gap: 18px; font-size: 10px; }
  .nd-result-heading { flex-direction: column; align-items: start; gap: 7px; } .nd-post { padding: 16px 14px; } .nd-post p { font-size: 13px; } .nd-post-head { gap: 8px; }
  .nd-result-cta p { font-size: 11px; } .nd-handoff-actions { gap: 20px; } .nd-generating { padding: 14px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .nd-page *, .nd-page *::before, .nd-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .nd-reveal.nd-awaiting { opacity: 1; transform: none; }
}

@media (max-width: 560px) {
  .nd-memory { padding-inline: 12px; }
  .nd-memory-copy { padding-inline: 10px; }
}

/* Use the same language picker on the public entry pages. */
.nd-nav .locale-toggle { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.nd-nav .locale-form { display: inline; }
.nd-nav .locale-option { padding: 2px 5px; border: 0; border-radius: 5px; background: transparent; color: var(--nd-muted); font: inherit; }
.nd-nav button.locale-option { color: var(--nd-ink); text-decoration: underline; text-underline-offset: 3px; }
.nd-nav .is-current { background: var(--nd-line); }
@media (max-width: 560px) { .nd-nav { gap: 10px; } }
