/* RememberMyTask website. One stylesheet, no inline styles (CSP: default-src 'self'). */

@font-face { font-family: "Caprasimo"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/static/fonts/caprasimo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Caprasimo"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/static/fonts/caprasimo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("/static/fonts/figtree-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("/static/fonts/figtree-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #241740;          /* plum ink: text, buttons, dark bands */
  --ink-deep: #1A1030;
  --paper: #F8F6FF;        /* page background, a cool lilac white */
  --lilac: #ECE7FA;        /* alternate bands */
  --line: #D8D0EE;
  --muted: #554B70;        /* secondary text, 7:1 on paper */
  --marigold: #FFC43D;     /* the highlighter: hero, accents */
  --marigold-deep: #F2A900;
  --done: #17774A;
  /* WhatsApp-like chat surface, used only inside chat mocks */
  --wall: #EFE7DD;
  --out: #D9FDD3;
  --in: #FFFFFF;
  --meta: #5E6E78;
  --tick: #2E9FD8;

  --display: "Caprasimo", "Cooper Black", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Devanagari", "Noto Sans Arabic", sans-serif;
  --gutter: 16px;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6;
  font-feature-settings: "ss01" 0;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--marigold-deep); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.15; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 10; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow > * { max-width: 760px; }  /* reading column, left-aligned with the logo */
.center { text-align: center; }

/* Type */
.display { font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 10.5vw, 4.9rem); line-height: 1.0; letter-spacing: -.01em; margin-bottom: .35em; text-wrap: balance; }
.display-s { font-family: var(--display); font-weight: 400; font-size: clamp(2.1rem, 7.5vw, 3.4rem); line-height: 1.05; margin-bottom: .4em; text-wrap: balance; }
.h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.75rem, 5.6vw, 2.6rem); line-height: 1.1; text-wrap: balance; max-width: 22ch; }
.h3 { font-size: 1.3rem; font-weight: 800; margin-top: 1.8em; }
.lede { font-size: clamp(1.125rem, 2.6vw, 1.3rem); line-height: 1.5; max-width: 38em; }
.section-lede { font-size: 1.125rem; color: var(--muted); max-width: 36em; }
.fine { font-size: .95rem; color: var(--muted); }

/* Header */
.top { background: var(--marigold); }
.page-home .top { background: var(--marigold); }
.top-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px; padding-top: 14px; padding-bottom: 10px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.logo img { width: 32px; height: 32px; }
.nav { display: flex; gap: 4px 18px; font-weight: 600; font-size: 1rem; }
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 1.05rem; text-decoration: none; line-height: 1.2;
  box-shadow: 0 3px 0 var(--ink-deep); transition: transform .12s ease, box-shadow .12s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 0 var(--ink-deep); text-decoration: none; }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink-deep); }
.btn-big { min-height: 56px; padding: 15px 26px; font-size: 1.12rem; }
.btn-icon { width: 22px; height: 22px; flex: none; }
.btn-soon { background: transparent; color: var(--ink); border: 2px dashed currentColor; box-shadow: none; cursor: default; }
.btn-soon:hover { transform: none; box-shadow: none; }
.link-quiet { font-weight: 700; }
.link-strong { font-weight: 800; font-size: 1.05rem; }

/* Hero */
.hero { background: var(--marigold); padding: 28px 0 0; overflow: hidden; }
.hero-grid { display: grid; gap: 36px; }
.hero-copy { padding-top: 8px; }
.hero-copy .lede { max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin: 26px 0 14px; }
.hero-note { font-size: .98rem; font-weight: 600; }

/* Phone mock */
.phone { justify-self: center; width: 100%; max-width: 370px; background: var(--ink); border-radius: 38px 38px 0 0;
  padding: 10px 10px 0; box-shadow: 0 30px 60px -30px rgba(36, 23, 64, .55); align-self: end; }
.phone-bar { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 29px 29px 0 0; padding: 14px 16px 10px; }
.phone-avatar img { width: 36px; height: 36px; border-radius: 50%; }
.phone-who { display: flex; flex-direction: column; line-height: 1.2; }
.phone-who strong { font-size: .98rem; }
.phone-who small { font-size: .8rem; color: var(--meta); }
.phone-chat { background-color: var(--wall);
  background-image: radial-gradient(rgba(36, 23, 64, .06) 1.2px, transparent 1.3px);
  background-size: 18px 18px;
  padding: 12px 12px 22px; display: flex; flex-direction: column; gap: 6px; min-height: 470px; }
.day-chip { align-self: center; background: #fff; color: var(--meta); font-size: .78rem; font-weight: 600; padding: 3px 10px; border-radius: 8px; margin: 6px 0; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.msg { position: relative; max-width: 84%; margin: 0; padding: 7px 10px 6px; border-radius: 10px; font-size: .93rem; line-height: 1.4;
  box-shadow: 0 1px 0 rgba(0,0,0,.08); color: #111B21; }
.msg p { margin: 0; }
.msg-me { align-self: flex-end; background: var(--out); border-top-right-radius: 2px; }
.msg-bot { align-self: flex-start; background: var(--in); border-top-left-radius: 2px; }
.meta { float: right; margin: 6px 0 -4px 10px; font-size: .7rem; color: var(--meta); white-space: nowrap; }
.ticks { color: var(--tick); letter-spacing: -3px; margin-left: 2px; }
.msg-reminder { padding-bottom: 0; }
.qr { display: flex; border-top: 1px solid #E9EDEF; margin: 8px -10px 0; }
.qr span { flex: 1; text-align: center; color: #027EB5; font-weight: 600; font-size: .9rem; padding: 8px 0; }
.qr span + span { border-left: 1px solid #E9EDEF; }

/* The one orchestrated moment: the hero conversation plays once */
@media (prefers-reduced-motion: no-preference) {
  .m1, .m2, .m3, .m4, .m5, .m6 { animation: msg-in .45s cubic-bezier(.2, .8, .2, 1) both; }
  .m1 { animation-delay: .25s; }
  .m2 { animation-delay: 1.1s; }
  .m3 { animation-delay: 2.1s; }
  .m4 { animation-delay: 3.0s; }
  .m5 { animation-delay: 3.9s; }
  .m6 { animation-delay: 4.5s; }
}
@keyframes msg-in { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }

/* Bands */
.band { padding: 64px 0; }
.band-tight { padding: 36px 0 64px; }
.band-langs, .band-more { background: var(--lilac); }
.page-head { background: var(--marigold); padding: 36px 0 40px; }
.page-head .lede { margin-bottom: 0; }
.page-head-legal { padding-bottom: 28px; }
.crumb { font-size: .95rem; font-weight: 600; margin-bottom: 14px; }

/* Language cloud */
.lang-cloud { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.say { background: var(--out); color: #111B21; padding: 9px 14px; border-radius: 16px 16px 4px 16px; font-size: 1.02rem; line-height: 1.35; box-shadow: 0 1px 0 rgba(0,0,0,.08); max-width: 100%; }
.say:nth-child(3n+2) { background: #fff; border-radius: 16px 16px 16px 4px; }
.say[dir="rtl"] { border-radius: 16px 16px 16px 4px; }

/* Steps: a real sequence, so numbered */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 32px 0 0; display: grid; gap: 28px; }
.steps > li { counter-increment: step; position: relative; padding-left: 64px; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: -4px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--marigold); color: var(--ink); font-family: var(--display); font-size: 1.5rem; display: grid; place-items: center; }
.steps h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: .25em; }
.steps p { color: var(--muted); margin: 0; max-width: 30em; }
.steps-plain { margin-bottom: 40px; }
.narrow .h2 { margin-top: 1.2em; }
.narrow .h2:first-child { margin-top: 0; }

/* Nag band */
.band-nag { background: var(--ink); color: var(--paper); }
.band-nag .section-lede, .band-nag .fine { color: #CFC6E8; }
.nag-grid { display: grid; gap: 36px; align-items: center; }
.nag-line { list-style: none; padding: 0 0 0 4px; margin: 0; position: relative; }
.nag-line::before { content: ""; position: absolute; left: 11px; top: 12px; bottom: 12px; width: 2px; background: #5B4C85; }
.nag-line li { position: relative; display: grid; grid-template-columns: 84px 1fr; gap: 10px; padding: 9px 0 9px 32px; align-items: baseline; }
.nag-line li::before { content: ""; position: absolute; left: 0; top: 14px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); border: 3px solid var(--marigold); }
.nag-line time { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--marigold); }
.nag-line .nag-done::before { background: var(--marigold); }
.nag-line .nag-done span { font-weight: 700; }

/* Commands */
.cmds { margin: 28px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.cmds > div { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cmds dt { justify-self: start; background: var(--out); color: #111B21; font-weight: 700; padding: 4px 12px; border-radius: 12px 12px 3px 12px; box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.cmds dd { margin: 0; color: var(--muted); }

/* More features */
.more { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 26px 40px; }
.more li { border-left: 4px solid var(--marigold-deep); padding-left: 16px; }
.more h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: .2em; }
.more p { margin: 0; color: var(--muted); }

/* Chat list (use cases), styled like a WhatsApp chat list */
.who-grid { display: grid; gap: 28px; align-items: start; }
.chatlist { list-style: none; margin: 0; padding: 6px 0; background: #fff; border-radius: 22px; border: 1px solid var(--line); }
.chatlist a { display: flex; align-items: center; gap: 14px; padding: 10px 18px; text-decoration: none; }
.chatlist a:hover { background: var(--lilac); }
.chatlist li + li .cl-body { border-top: 1px solid #ECE9F3; }
.cl-avatar { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--marigold); display: grid; place-items: center; font-family: var(--display); font-size: 1.3rem; }
.chatlist li:nth-child(even) .cl-avatar { background: var(--ink); color: var(--marigold); }
.cl-body { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 8px 0; }
.chatlist li:first-child .cl-body { border-top: 0; }
.cl-body strong { font-size: 1.04rem; }
.cl-preview { color: var(--muted); font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Plans */
.plans { display: grid; gap: 16px; margin: 28px 0 0; }
.plan { background: #fff; border: 2px solid var(--ink); border-radius: 20px; padding: 22px 22px 14px; }
.plan h2, .plan h3 { font-size: 1.15rem; font-weight: 800; margin: 0 0 .2em; font-family: var(--sans); }
.price { font-family: var(--display); font-size: 2.6rem; line-height: 1.05; margin: 0 0 .25em; }
.plan-sub { color: var(--muted); }
.plan-best { background: var(--ink); color: var(--paper); }
.plan-best .price { color: var(--marigold); }
.plan-best .plan-sub { color: #CFC6E8; }
.plans-compact .plan p:last-child { margin-bottom: 8px; }
.pricing-cta { margin-top: 36px; }
.more-link { margin-top: 28px; }
.band-price { background: var(--lilac); }

/* Tick lists */
.ticks-list { list-style: none; padding: 0; }
.ticks-list li { position: relative; padding-left: 30px; margin-bottom: .55em; }
.ticks-list li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 14px; height: 8px; border-left: 3px solid var(--done); border-bottom: 3px solid var(--done); transform: rotate(-45deg); }
.plan-best .ticks-list li::before, .band-privacy .ticks-list li::before { border-color: var(--marigold); }

/* Privacy band */
.band-privacy { background: var(--ink); color: var(--paper); }
.band-privacy .ticks-list { font-size: 1.1rem; max-width: 36em; }
.priv-grid { display: grid; gap: 10px 48px; }
.band-privacy :focus-visible, .band-nag :focus-visible, .plan-best :focus-visible, .foot :focus-visible { outline-color: var(--marigold); }

/* FAQ */
.faq { border-top: 1px solid var(--line); margin: 20px 0 28px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 40px 16px 0; font-weight: 700; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--muted); padding-right: 24px; }

/* Feature rows on How it works, and generic chat mocks */
.feature { display: grid; gap: 20px; padding: 34px 0; border-bottom: 1px solid var(--line); align-items: center; }
.feature:first-child { padding-top: 8px; }
.feature-copy p { color: var(--muted); max-width: 32em; margin: 0; }
.chat { background-color: var(--wall);
  background-image: radial-gradient(rgba(36, 23, 64, .06) 1.2px, transparent 1.3px); background-size: 18px 18px;
  border-radius: 20px; padding: 14px; display: flex; flex-direction: column; gap: 6px; width: 100%; max-width: 440px; }
.bubble { margin: 0; max-width: 86%; padding: 7px 11px; border-radius: 10px; font-size: .96rem; line-height: 1.42; white-space: pre-line; box-shadow: 0 1px 0 rgba(0,0,0,.08); color: #111B21; }
.bubble-me { align-self: flex-end; background: var(--out); border-top-right-radius: 2px; }
.bubble-bot { align-self: flex-start; background: var(--in); border-top-left-radius: 2px; }

/* Use-case head */
.page-head-uc { padding-bottom: 48px; }
.uc-grid { display: grid; gap: 30px; align-items: center; }
.page-head-uc .chat { box-shadow: 0 24px 50px -30px rgba(36, 23, 64, .6); }

/* Contact */
.contact-list { margin: 0 0 20px; }
.contact-list > div { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font-weight: 800; }
.contact-list dd { margin: 0; }
.plain-list li { margin-bottom: .5em; }

/* Legal */
.legal > * { max-width: 720px; }
.legal h2 { font-size: 1.25rem; font-weight: 800; margin: 1.8em 0 .5em; }
.legal li { margin-bottom: .45em; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-weight: 600; }

/* Footer */
.foot { background: var(--ink-deep); color: #DCD5F0; padding: 0 0 36px; }
.foot-cta { background: var(--marigold); color: var(--ink); margin: 0 calc(-1 * var(--gutter)); padding: 32px var(--gutter); border-radius: 0 0 28px 28px; }
.foot-cta .btn-soon { color: var(--ink); }
.foot-line { font-family: var(--display); font-size: clamp(1.6rem, 5.5vw, 2.3rem); line-height: 1.1; margin-bottom: 18px; max-width: 18ch; }
.wa-number { margin: 14px 0 0; font-size: .98rem; }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; padding: 40px 0 24px; }
.foot-cols h2 { font-size: 1rem; font-weight: 800; color: #fff; margin-bottom: .5em; }
.foot-cols ul { list-style: none; padding: 0; margin: 0; }
.foot-cols li { margin-bottom: .35em; }
.foot-cols a { text-decoration: none; }
.foot-cols a:hover { text-decoration: underline; }
.foot-legal { font-size: .9rem; color: #B9AFD6; max-width: 60em; margin-bottom: .6em; }
.foot-legal a { color: #fff; }

/* Grid items may shrink below their content width (long chat previews ellipsize instead of overflowing) */
.hero-grid, .nag-grid, .who-grid, .feature, .uc-grid, .priv-grid { grid-template-columns: minmax(0, 1fr); }
.hero-grid > *, .nag-grid > *, .who-grid > *, .feature > *, .uc-grid > *, .priv-grid > * { min-width: 0; }

/* Wider screens */
@media (min-width: 640px) {
  :root { --gutter: 24px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps-plain { grid-template-columns: 1fr; }
  .more { grid-template-columns: 1fr 1fr; }
  .cmds { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .cmds > div { grid-template-columns: 200px 1fr; align-items: center; }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .foot-cols { grid-template-columns: repeat(3, 1fr); }
  .contact-list > div { grid-template-columns: 140px 1fr; }
}
@media (min-width: 900px) {
  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: end; }
  .hero-copy { padding-bottom: 72px; }
  .nag-grid { grid-template-columns: 1.1fr .9fr; gap: 72px; }
  .who-grid { grid-template-columns: .9fr 1.1fr; gap: 56px; }
  .feature { grid-template-columns: 1fr 1fr; gap: 56px; }
  .uc-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  .more { grid-template-columns: repeat(3, 1fr); }
  .priv-grid { grid-template-columns: 1fr 1.2fr; align-items: start; }
  .priv-grid > p { grid-column: 2; }
  .band { padding: 88px 0; }
  .band-tight { padding: 48px 0 88px; }
  .foot-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; padding: 40px 48px; margin: 0; border-radius: 0 0 32px 32px; }
  .foot-cta .foot-line { margin: 0; }
  .foot-cta .wa-number { flex-basis: 100%; text-align: right; margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Pay pages */
.pay-status { font-weight: 600; }
.pay-note-big { font-size: 1.2rem; font-weight: 700; max-width: 36em; }
.plans-pay { max-width: 760px; grid-template-columns: minmax(0, 1fr); }
.plans-pay form { margin: 6px 0 10px; }
button.btn { border: 0; cursor: pointer; font-family: inherit; }
.btn-block { width: 100%; justify-content: center; }
.btn-light { background: var(--marigold); color: var(--ink); box-shadow: 0 3px 0 var(--marigold-deep); }
.btn-light:hover { box-shadow: 0 4px 0 var(--marigold-deep); }
.pay-notes { margin-top: 28px; max-width: 40em; color: var(--muted); }
@media (min-width: 640px) { .plans-pay { grid-template-columns: 1fr 1fr; } }
