/* Taskira's site. Light only, the system font, the apps' indigo accent. */

:root {
  --ink: #15161a;
  --muted: #5f6370;
  --accent: #4b5bf0;
  --accent-soft: #eef0ff;
  --done: #30b566; /* marks only, never text */
  --done-text: #1e7d45;
  --bubble: #2f66d8;
  --bg: #fbfbfd;
  --band: #f3f4fa;
  --card: #ffffff;
  --line: rgba(20, 22, 40, 0.08);
  --radius: 14px;
  --shadow: 0 1px 2px rgba(21, 22, 26, 0.06), 0 8px 24px rgba(21, 22, 26, 0.06);
  --page: 1080px;
  color-scheme: light;
}

/* pairs: ink/bg, muted/bg, muted/band, #ffffff/accent, #ffffff/bubble, accent/bg, done-text/bg, ink/card, muted/card, accent/band, accent/accent-soft, ink/band */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.5;
}

a { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
img { max-width: 100%; height: auto; }

h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 16px; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 12px; }

/* A setting still empty in a draft build. */
mark.blank { background: #fff2b3; color: var(--ink); padding: 0 4px; border-radius: 4px; }

.draft-strip {
  background: var(--ink);
  color: #ffffff;
  text-align: center;
  font-size: 14px;
  padding: 6px 16px;
}

.site-header {
  max-width: var(--page);
  margin: 0 auto;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; font-size: 19px; text-decoration: none; }
.site-header nav { display: flex; gap: 20px; flex: 1; flex-wrap: wrap; }
.site-header nav a { color: var(--ink); text-decoration: none; }
.site-header nav a:hover { color: var(--accent); }

.download {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  border: 0;
  border-radius: 999px;
  padding: 10px 20px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.download:disabled { cursor: default; opacity: 0.6; }
.download-narrow { display: none; }

main { max-width: var(--page); margin: 0 auto; padding: 0 16px; }
.narrow-section { max-width: 680px; margin: 0 auto; padding: 64px 0; }

.site-footer {
  background: var(--band);
  color: var(--muted);
  font-size: 14px;
  margin-top: 64px;
  padding: 32px 16px;
}
.site-footer > * { max-width: var(--page); margin-left: auto; margin-right: auto; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 12px; }
.site-footer p { margin-top: 4px; margin-bottom: 4px; }

/* Home page */

section { padding: 64px 0; }
/* A band runs the full width of the window behind its section, without widening the page. */
section.band { background: var(--band); box-shadow: 0 0 0 100vmax var(--band); clip-path: inset(0 -100vmax); }
.sub { font-size: 17px; color: var(--muted); margin: 10px 0 0; max-width: 640px; }
.cta { margin-top: 28px; }
.under { font-size: 14px; color: var(--muted); margin: 12px 0 0; }
.soon { font-size: 15px; margin: 12px 0 0; }

.hero { padding: 40px 0 56px; text-align: center; }
.hero h1 { font-size: clamp(2.25rem, 6vw, 3.6rem); line-height: 1.04; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lede { font-size: 20px; color: var(--muted); margin: 20px auto 0; max-width: 620px; }
.download-main .download { font-size: 17px; padding: 15px 28px; border-radius: 14px; box-shadow: 0 8px 22px rgba(75, 91, 240, 0.35); }

/* The pile of messages and the list it became. */
.ba { display: grid; grid-template-columns: 1fr 60px 1fr; gap: 10px; align-items: center; margin-top: 54px; text-align: left; }
.cap { font-size: 12px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.pile { position: relative; height: 480px; list-style: none; margin: 0; padding: 0; }
.msg {
  position: absolute;
  width: 300px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 11px 13px;
  box-shadow: 0 8px 22px rgba(20, 22, 40, 0.08);
  font-size: 14px;
  line-height: 1.4;
}
.msg small { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 12px; margin-bottom: 3px; }
.msg small b { color: var(--ink); font-weight: 600; }
.msg.me { background: var(--bubble); color: #ffffff; border-color: transparent; }
.msg.me small, .msg.me small b { color: #ffffff; }
.msg.mail { border-radius: 10px; border-left: 3px solid #b9bdcb; }
.msg .reply { display: block; margin-top: 7px; background: var(--bubble); color: #ffffff; border-radius: 12px; padding: 6px 10px; }
.msg .reply b { font-weight: 600; margin-right: 4px; }
.m1 { left: 0; top: 0; transform: rotate(-2deg); }
.m2 { left: 120px; top: 78px; transform: rotate(1.5deg); }
.m3 { left: 10px; top: 160px; transform: rotate(-1deg); }
.m4 { left: 150px; top: 236px; transform: rotate(2deg); }
.m5 { left: 0; top: 314px; transform: rotate(1deg); }
.m6 { left: 120px; top: 372px; transform: rotate(-1.5deg); }
.arrow { text-align: center; font-size: 34px; color: var(--accent); }

.win { background: #f5f5f8; border: 1px solid rgba(20, 22, 40, 0.14); border-radius: 14px; box-shadow: 0 22px 50px rgba(20, 22, 40, 0.2); overflow: hidden; }
.win .bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 12px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.win .bar i { width: 11px; height: 11px; border-radius: 50%; background: #fe5f57; display: block; }
.win .bar i:nth-child(2) { background: #febc2e; }
.win .bar i:nth-child(3) { background: #28c840; margin-right: 8px; }
.win .in { padding: 6px 16px 16px; }
.sec { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin: 12px 2px 6px; }
.rows { list-style: none; margin: 0; padding: 2px 13px; background: var(--card); border: 1px solid rgba(20, 22, 40, 0.06); border-radius: 14px; box-shadow: 0 1px 2px rgba(20, 22, 40, 0.04); }
.row { display: flex; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; }
.rd { flex: 1; min-width: 0; }
.rd p { margin: 0; }
.tick { width: 20px; height: 20px; border-radius: 50%; border: 1.7px solid #b9bdcb; flex: none; margin-top: 2px; }
.rt { font-size: 14px; font-weight: 550; line-height: 1.35; }
.rm { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.q { font-size: 12.5px; color: var(--ink); background: var(--band); border-left: 3px solid #cfd3e3; border-radius: 6px; padding: 4px 8px; margin-top: 6px; line-height: 1.4; }
.q small { display: block; color: var(--muted); font-size: 11.5px; }
.why { font-size: 12.5px; color: var(--muted); margin-top: 4px; line-height: 1.4; }

.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 44px 0 0; padding: 0; list-style: none; text-align: left; }
.trust li { border-top: 2px solid var(--accent); padding-top: 12px; }
.trust b { display: block; font-size: 16px; }
.trust span { font-size: 15px; color: var(--muted); }

.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.box h3 { font-size: 18px; margin: 0 0 6px; }
.box p { font-size: 15px; color: var(--muted); margin: 0; }
.num { width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }

.shot { margin: 32px 0 0; }
.shot img { display: block; width: 100%; border: 1px solid rgba(20, 22, 40, 0.14); border-radius: 12px; box-shadow: var(--shadow); }
.shot figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.shot-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.phone-pair { display: flex; justify-content: center; gap: 32px; margin-top: 32px; flex-wrap: wrap; }
.phone-pair-narrow { margin: 24px 0 32px; }
.phone { margin: 0; width: 240px; max-width: 100%; }
.phone img { display: block; width: 100%; height: auto; border: 8px solid #1b1d2b; border-radius: 36px; box-shadow: var(--shadow); background: #fff; }
.phone figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; text-align: center; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.more { margin: 16px 0 0; }
.claim { list-style: none; margin: 0; padding: 0; }
.claim li { display: flex; gap: 10px; font-size: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.claim li:first-child { border-top: 0; }
.claim li::before { content: "✓"; color: var(--done-text); font-weight: 700; }
.maker-note { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px; font-size: 17px; }
.maker-note p { margin: 0; }
.maker-note .by { color: var(--muted); font-size: 14px; margin-top: 16px; }

.price { text-align: center; }
.price .sub { margin-left: auto; margin-right: auto; max-width: 720px; }
.big { font-size: 64px; font-weight: 750; letter-spacing: -0.04em; line-height: 1.1; margin: 8px 0 0; }
.big small { font-size: 18px; color: var(--muted); font-weight: 500; letter-spacing: 0; }

.questions details { border-top: 1px solid var(--line); padding: 14px 0; font-size: 16px; }
.questions details:first-child { border-top: 0; padding-top: 0; }
.questions summary { font-weight: 600; cursor: pointer; }
.questions details p { color: var(--muted); margin: 6px 0 0; }

/* Selling, help and legal pages. */
.page-head { padding: 56px 0 40px; text-align: center; }
.page-head .lede { margin-top: 12px; }
.page-head .trust { margin-top: 36px; }
.narrow-section .lede { margin: 0 0 20px; }
.narrow-section h2 { margin-top: 36px; }
.narrow-section h3 { font-size: 19px; margin: 24px 0 8px; }
.narrow-section + .narrow-section { padding-top: 0; }
.facts-list { padding-left: 20px; }
.facts-list li { margin: 8px 0; }
.numbered { padding-left: 24px; }
.numbered li { margin: 8px 0; padding-left: 4px; }
.setup-steps { list-style: none; counter-reset: step; margin: 20px 0; padding: 0; }
.setup-steps li { counter-increment: step; position: relative; padding: 14px 0 14px 46px; border-top: 1px solid var(--line); }
.setup-steps li:first-child { border-top: 0; }
.setup-steps li::before { content: counter(step); position: absolute; left: 0; top: 13px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.setup-steps b { display: block; }
.help-list { list-style: none; margin: 20px 0; padding: 0; }
.help-list li { padding: 12px 0; border-top: 1px solid var(--line); }
.help-list li:first-child { border-top: 0; }
.help-list a { font-weight: 600; }
.help-list span { display: block; color: var(--muted); font-size: 15px; }
.proof { font-size: 15px; color: var(--muted); margin: 24px auto 0; max-width: 620px; }
.hops { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin: 32px 0 0; padding: 0; }
.hop { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
.hop + .hop::before { content: "\2192"; position: absolute; left: -29px; top: 50%; translate: 0 -50%; color: var(--accent); font-size: 24px; }
.hop h3 { font-size: 18px; margin: 0 0 6px; }
.hop p { font-size: 15px; color: var(--muted); margin: 0; }
.hop .hop-note { color: var(--accent); font-weight: 600; margin-top: 10px; }
.hop-n { width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.claim-explained .claim-line { font-weight: 600; margin: 24px 0 6px; padding-left: 12px; border-left: 3px solid var(--accent); }
.claim-explained p { margin: 0 0 6px; }
.short-line { font-weight: 600; margin-top: 24px; }
.legal { font-size: 16px; }
.legal .effective { color: var(--muted); font-size: 15px; margin: 0 0 20px; }
.legal ul { padding-left: 20px; }
.legal li { margin: 6px 0; }

/* Guides and comparisons */

.checked { color: var(--muted); font-size: 15px; margin: 0 0 20px; }
.answer { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.answer p { margin: 0; }
.answer p + p { margin-top: 8px; }
.table-wrap { overflow-x: auto; margin: 16px 0; }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--card); }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 10px 12px; border-top: 1px solid var(--line); }
.compare thead th { border-top: 0; font-size: 14px; color: var(--muted); }
.compare tbody th { font-weight: 600; width: 22%; }
.sources { font-size: 14px; color: var(--muted); padding-left: 20px; overflow-wrap: anywhere; }
.sources li { margin: 4px 0; }
.scroll-hint { display: none; color: var(--muted); font-size: 14px; margin: 8px 0 0; }
.site-footer .footer-guides { margin-bottom: 16px; }
.footer-guides b { color: var(--ink); font-weight: 600; flex-basis: 100%; }

/* The pile and the list arrive once; never under "reduce motion". */
@media (prefers-reduced-motion: no-preference) {
  @keyframes arrive { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
  .msg, .win { animation: arrive 0.5s ease-out both; }
  .m2 { animation-delay: 0.08s; }
  .m3 { animation-delay: 0.16s; }
  .m4 { animation-delay: 0.24s; }
  .m5 { animation-delay: 0.32s; }
  .m6 { animation-delay: 0.4s; }
  .win { animation-delay: 0.6s; }
}

@media (max-width: 900px) {
  .ba, .three, .two, .trust, .shot-pair, .hops { grid-template-columns: 1fr; }
  .hop + .hop::before { content: "\2193"; left: 50%; top: -31px; translate: -50% 0; }
  .arrow { transform: rotate(90deg); }
  .pile { height: auto; display: grid; gap: 10px; }
  .msg { position: static; width: auto; max-width: 340px; }
  .m2, .m4, .m6 { justify-self: end; }
}

@media (max-width: 699px) {
  .download-wide { display: none; }
  .download-narrow { display: inline; }
  .scroll-hint { display: block; }
  .site-header { gap: 12px; }
  .site-header nav { order: 3; flex-basis: 100%; gap: 16px; }
}
