/* Sketch website. Brand: Marker Red #FF4D3D, Orange #FF8A3D, Ink #1F2430, Slate #6B6F7A,
   white backgrounds, Readex Pro. Contrast rules (store-assets/README.md): never Ink text on
   red; red text is #C62A1E; white text on red only on #D93A2B. */

@font-face { font-family: "Readex Pro"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/readex-pro-400.woff2) format("woff2"); }
@font-face { font-family: "Readex Pro"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/readex-pro-500.woff2) format("woff2"); }
@font-face { font-family: "Readex Pro"; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/readex-pro-700.woff2) format("woff2"); }

:root {
  --red: #FF4D3D;
  --orange: #FF8A3D;
  --ink: #1F2430;
  --slate: #6B6F7A;
  --paper: #FAFAF7;

  --bg: #FFFFFF;
  --text: #1F2430;          /* 15.5:1 on white */
  --muted: #6B6F7A;         /* 5.0:1 on white, 4.8:1 on paper */
  --link: #C62A1E;          /* 5.6:1 on white */
  --border: #E6E4DE;
  --card: #FAFAF7;
  --chip: #F1F0EC;          /* Ink on it 13.9:1 */
  --swipe: #FFD9C7;         /* highlight behind Ink words, 11.8:1 */
  --mark-text: inherit;
  --summary: #FFF2EC;       /* Ink on it 14.0:1, #C62A1E 5.1:1 */
  --button-bg: #1F2430;
  --button-text: #FFFFFF;
  --focus: #C62A1E;
  --band: #1F2430;          /* the "stays on your phone" band */
  --band-muted: #D9DCE3;    /* 11.3:1 on Ink */
  --shadow: 0 1px 2px rgba(31, 36, 48, .06), 0 8px 24px rgba(31, 36, 48, .06);
  --dot: rgba(31, 36, 48, .13);
  --swipe-solid: #FFD9C7;

  --font: "Readex Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1120px;
  --pad: 20px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1F2430;
    --text: #FFFFFF;        /* 15.5:1 on Ink */
    --muted: #D9DCE3;       /* 11.3:1 on Ink */
    --link: #FF8A3D;        /* 6.6:1 on Ink */
    --border: #3A4152;
    --card: #262C39;        /* #D9DCE3 10.2:1, orange 6.0:1 */
    --chip: #323949;        /* white 11.6:1 */
    --swipe: transparent;
    --mark-text: #FF8A3D;   /* highlighted words in orange, as on the Ink store slides */
    --summary: #2E2A33;     /* white 14.0:1, orange 6.0:1 */
    --button-bg: #FFFFFF;
    --button-text: #1F2430;
    --focus: #FF8A3D;
    --band: #161A23;        /* #D9DCE3 12.7:1, orange 7.4:1 */
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    --dot: rgba(255, 255, 255, .12);
    --swipe-solid: #4A3238;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; background: var(--chip); padding: .05em .3em; border-radius: 6px; }

a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

/* The highlighter swipe behind a word, as on the store slides. */
mark {
  color: var(--mark-text);
  background: linear-gradient(176deg, transparent 52%, var(--swipe) 52%, var(--swipe) 94%, transparent 94%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 .08em;
  margin: 0 -.08em;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 var(--pad); }
@media (min-width: 700px) { :root { --pad: 32px; } }

.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--button-bg); color: var(--button-text); padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 500; }
.skip:focus { top: 12px; }

.eyebrow { font-size: .9375rem; font-weight: 500; color: var(--muted); margin: 0 0 .5rem; letter-spacing: .01em; }
.lede { font-size: 1.1875rem; color: var(--muted); line-height: 1.55; }

/* Header */
.site-header { border-bottom: 1px solid var(--border); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.lockup { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; min-height: 44px; }
.lockup img { width: 34px; height: auto; }
.site-header ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--text); text-decoration: none; font-weight: 500; border-radius: 10px; }
.site-header nav a:hover { background: var(--chip); }
.site-header nav a[aria-current="page"] { background: var(--chip); }

/* Hero */
.hero { position: relative; isolation: isolate; padding: 40px 0 56px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(circle at center, var(--dot) 1.15px, transparent 1.6px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%); mask-image: linear-gradient(180deg, #000 30%, transparent 100%); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.app-icon { display: block; width: 88px; height: 88px; border-radius: 22%; box-shadow: 0 0 0 1px var(--border), var(--shadow); margin-bottom: 24px; }
.keep { white-space: nowrap; }
.hero h1 { font-size: clamp(2.5rem, 10.4vw, 4.1rem); line-height: 1.04; letter-spacing: -0.03em; margin-bottom: 20px; }
.hero .lede { max-width: 34rem; margin-bottom: 28px; }
.stores { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.store { flex: 1 1 150px; max-width: 220px; display: flex; flex-direction: column; padding: 10px 14px 11px; border: 1.5px solid var(--border); border-radius: 14px; background: var(--card); }
.store-name { font-weight: 700; font-size: 1.0625rem; line-height: 1.3; }
@media (max-width: 479px) {
  .store { flex-basis: 100%; max-width: none; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0 12px; padding: 12px 16px; }
}
.store-note { font-size: .8125rem; color: var(--muted); line-height: 1.4; }
.promise { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 1.0625rem; margin: 0; }
.dot { flex: none; width: 30px; height: 26px; background: url(/assets/img/mark.svg) center / contain no-repeat; }

.hero-art { position: relative; container-type: inline-size; aspect-ratio: 1 / 1.08; max-width: 560px; width: 100%; margin: 0 auto; }
.panel { position: absolute; inset: 13cqi 0 0 6cqi; border-radius: 28px; overflow: hidden; background: linear-gradient(150deg, var(--red), var(--orange)); clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%, 0 30%); }
.panel-swipe { position: absolute; width: 120%; max-width: none; left: -6%; bottom: -12%; opacity: .12; }

.phone { margin: 0; position: absolute; --w: 44cqi; width: var(--w); padding: calc(var(--w) * .026); background: #101217; border-radius: calc(var(--w) * .16); box-shadow: inset 0 0 0 2px #2C303A, 0 18px 48px rgba(31, 36, 48, .32); }
.phone img { display: block; width: 100%; border-radius: calc(var(--w) * .135); }
.phone-back { --w: 40cqi; left: 6cqi; top: 22cqi; }
.phone-front { --w: 45cqi; left: 46cqi; top: 2cqi; box-shadow: inset 0 0 0 2px #2C303A, 0 24px 60px rgba(120, 20, 10, .35); }

@media (min-width: 900px) {
  .hero { padding: 64px 0 88px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .hero h1 { font-size: clamp(3rem, 4.7vw, 4rem); }
}

/* Features */
.features { padding: 72px 0; border-top: 1px solid var(--border); }
.features-grid { display: grid; gap: 48px; align-items: center; }
.features h2, .private h2 { font-size: clamp(1.75rem, 7.6vw, 3rem); margin-bottom: 16px; letter-spacing: -0.025em; }
.section-lede { color: var(--muted); font-size: 1.125rem; max-width: 36rem; margin-bottom: 32px; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.feature { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 22px 22px 24px; }
.feature h3 { font-size: 1.1875rem; margin-bottom: 8px; display: flex; align-items: flex-start; gap: 10px; }
.feature h3::before { content: ""; flex: none; width: 26px; height: 22px; margin-top: .05em; background: url(/assets/img/mark.svg) center / contain no-repeat; }
.feature p { color: var(--muted); font-size: 1rem; line-height: 1.55; }
.phone-solo { position: relative; --w: min(260px, 66vw); margin: 0 auto; }
.features-text { order: -1; }
@media (min-width: 640px) { .feature-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) {
  .features { padding: 104px 0; }
  .features-grid { grid-template-columns: 320px 1fr; gap: 72px; }
  .features-text { order: 0; }
  .phone-solo { --w: 300px; }
}

/* "Your boards stay on your phone" */
.private { background: var(--band); color: #FFFFFF; padding: 72px 0; }
.private mark { color: var(--orange); background: none; }
.private p { color: var(--band-muted); font-size: 1.125rem; max-width: 36rem; }
.private-grid { display: grid; gap: 32px; }
.private-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.private-points li { position: relative; padding-left: 40px; color: var(--band-muted); }
.private-points li::before { content: ""; position: absolute; left: 0; top: .2em; width: 26px; height: 22px; background: url(/assets/img/mark.svg) center / contain no-repeat; }
.private-points strong { color: #FFFFFF; }
.private a { color: var(--orange); font-weight: 500; }
.private-links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; }
.private-links a { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 900px) {
  .private { padding: 96px 0; }
  .private-grid { grid-template-columns: 1.1fr 1fr; column-gap: 72px; align-items: start; }
  .private-links { grid-column: 1 / -1; }
}

/* Page header band (Privacy, Support) */
.band { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); padding: 48px 0 44px; isolation: isolate; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: radial-gradient(circle at center, var(--dot) 1.15px, transparent 1.6px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .35) 100%); mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .35) 100%); }
.band::after { content: ""; display: none; position: absolute; z-index: -1; width: 300px; aspect-ratio: 800 / 496; right: max(32px, calc((100vw - var(--wrap)) / 2 + 24px)); top: 50%; transform: translateY(-50%) rotate(-3deg); background: url(/assets/img/swipe-brand.svg) center / contain no-repeat; }
.band-mark { display: block; width: 44px; height: auto; margin-bottom: 18px; }
.band h1 { font-size: clamp(2.5rem, 8vw, 4rem); letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 14px; }
.band .meta { color: var(--muted); font-weight: 500; margin: 0; }
.band .lede { max-width: 36rem; margin: 0; }
@media (min-width: 900px) {
  .band { padding: 72px 0 64px; }
  .band::after { display: block; }
  .band-mark { display: none; }
}

/* Privacy: table of contents beside readable text */
.doc-layout { display: grid; gap: 32px; padding-top: 40px; padding-bottom: 88px; }
.doc-body { max-width: 68ch; min-width: 0; }
.doc-body section { scroll-margin-top: 24px; padding-top: 36px; margin-top: 36px; border-top: 1px solid var(--border); }
.doc-body h2 { font-size: 1.5rem; margin-bottom: 14px; letter-spacing: -0.015em; }
.doc-body p, .doc-body li { line-height: 1.7; }
.doc-body ul, .doc-body ol { padding-left: 1.3em; margin: 0 0 1em; }
.doc-body li { margin-bottom: .6em; }
.doc-body li::marker { color: var(--link); }
.doc-body em, .faq-body em { font-style: normal; font-weight: 500; }
.intro { font-size: 1.125rem; margin-top: 32px; }

.toc { border: 1px solid var(--border); border-radius: 20px; padding: 20px 22px; background: var(--bg); }
.toc .toc-title { font-size: .875rem; margin-bottom: 8px; color: var(--muted); font-weight: 500; letter-spacing: .02em; text-transform: uppercase; }
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 7px 8px; margin: 0 -8px; border-radius: 10px; color: var(--text); text-decoration: none; line-height: 1.35; transition: background-color .15s ease, color .15s ease; }
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--muted); font-size: .8125rem; font-weight: 500; padding-top: .15em; font-variant-numeric: tabular-nums; }
.toc a:hover { background: var(--chip); color: var(--link); }
@media (min-width: 640px) and (max-width: 999px) { .toc ol { columns: 2; column-gap: 32px; } .toc li { break-inside: avoid; } }
@media (min-width: 1000px) {
  .doc-layout { grid-template-columns: 250px minmax(0, 1fr); column-gap: 72px; row-gap: 0; padding-top: 56px; }
  .doc-layout .summary { grid-column: 2; grid-row: 1; }
  .doc-layout .doc-body { grid-column: 2; grid-row: 2; }
  .toc { grid-column: 1; grid-row: 1 / span 2; position: sticky; top: 24px; align-self: start; max-height: calc(100vh - 48px); overflow: auto; }
}

.summary { position: relative; overflow: hidden; background: var(--summary); border-radius: 24px; padding: 28px; isolation: isolate; }
.summary h2 { font-size: clamp(1.35rem, 3.6vw, 1.75rem); line-height: 1.2; margin-bottom: 22px; letter-spacing: -0.02em; }
.summary-kicker { display: block; width: fit-content; font-size: .8125rem; letter-spacing: .04em; text-transform: uppercase; font-weight: 700; color: var(--link); margin-bottom: 10px; }
.summary { max-width: 68ch; }
.doc-layout .summary-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.summary-points li { display: flex; gap: 14px; align-items: flex-start; margin: 0; line-height: 1.5; font-size: 1rem; }
.summary-points strong { display: block; }
.icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px; background: var(--bg); color: var(--link); box-shadow: 0 0 0 1px var(--border); }
@media (min-width: 760px) {
  .summary { padding: 32px; }
  .summary-points { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .summary-points li { flex-direction: column; gap: 12px; }
}

.path { font-weight: 500; background: var(--chip); padding: .08em .4em; border-radius: 6px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Support */
.support-layout { padding-top: 40px; padding-bottom: 88px; }
.support-layout > * { max-width: 880px; }
.contact-card { position: relative; overflow: hidden; display: grid; gap: 24px; background: var(--card); border: 1px solid var(--border); color: var(--text); border-radius: 28px; padding: 32px 28px; isolation: isolate; }
.contact-card::after { content: ""; display: none; position: absolute; z-index: -1; width: 360px; aspect-ratio: 800 / 496; right: -70px; bottom: -130px; background: url(/assets/img/swipe-brand.svg) center / contain no-repeat; opacity: .14; }
.contact-card h2 { font-size: 1.75rem; margin-bottom: 12px; }
.contact-card p { color: var(--muted); }
.contact-card .path { white-space: nowrap; }
.contact-action { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.contact-address { margin: 0; font-weight: 500; }
.contact-address a { display: inline-flex; min-height: 44px; align-items: center; }
@media (min-width: 760px) {
  .contact-card::after { display: block; }
  .contact-card { grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding: 44px 48px; }
  .contact-action { align-items: center; text-align: center; }
}

.faqs { margin-top: 64px; }
.faqs > h2 { font-size: clamp(1.75rem, 5vw, 2.25rem); margin-bottom: 24px; letter-spacing: -0.025em; }
.faq-list { display: grid; gap: 12px; }
.faq { border: 1px solid var(--border); border-radius: 20px; background: var(--bg); transition: border-color .2s ease, box-shadow .2s ease; scroll-margin-top: 24px; }
.faq[open] { border-color: transparent; box-shadow: 0 0 0 1.5px var(--text); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; min-height: 64px; cursor: pointer; border-radius: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover h3 { color: var(--link); }
.faq summary h3 { font-size: 1.125rem; line-height: 1.35; letter-spacing: -0.01em; transition: color .15s ease; }
.chev { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--chip); position: relative; transition: transform .2s ease, background-color .2s ease; }
.chev::before { content: ""; position: absolute; left: 50%; top: 45%; width: 8px; height: 8px; border-right: 2px solid var(--text); border-bottom: 2px solid var(--text); transform: translate(-50%, -50%) rotate(45deg); }
.faq[open] .chev { transform: rotate(180deg); background: var(--swipe-solid); }
.faq-body { padding: 0 22px 22px; color: var(--text); }
.faq-body p, .faq-body li { line-height: 1.7; }
.faq-body ol { padding-left: 1.3em; margin: 0 0 1em; }
.faq-body li { margin-bottom: .5em; }
.faq-body li::marker { color: var(--link); font-weight: 700; }
.small { font-size: .9375rem; color: var(--muted); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 24px; border-radius: 999px; background: var(--button-bg); color: var(--button-text); text-decoration: none; font-weight: 500; text-align: center; transition: transform .15s ease, box-shadow .15s ease; }
.button:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(31, 36, 48, .18); }
.button-outline { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--text); }
.button-outline:hover { box-shadow: inset 0 0 0 1.5px var(--text), 0 8px 20px rgba(31, 36, 48, .12); }
.button-big { min-height: 60px; padding: 14px 34px; font-size: 1.1875rem; font-weight: 700; }

/* 404 */
.notfound { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: 80px 0 104px; }
.notfound::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(circle at center, var(--dot) 1.15px, transparent 1.6px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); }
.notfound-mark { width: 120px; margin: 0 auto 28px; display: block; transform: rotate(-6deg); }
.notfound h1 { font-size: clamp(2.6rem, 9vw, 4rem); margin-bottom: 16px; letter-spacing: -0.03em; }
.notfound .lede { margin: 0 auto 32px; max-width: 30rem; }
.notfound-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* A gentle fade-in, only for people who haven't asked for less motion. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  .hero-text, .band-inner, .notfound-inner { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-art { animation: rise .8s .12s cubic-bezier(.2, .7, .2, 1) both; }
  .feature { transition: transform .2s ease, box-shadow .2s ease; }
  .feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0 48px; font-size: .9375rem; }
.footer-row { display: grid; gap: 20px; }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand img { width: 40px; height: 40px; border-radius: 22%; box-shadow: 0 0 0 1px var(--border); }
.footer-brand p { margin: 0; color: var(--muted); line-height: 1.45; }
.footer-brand strong { color: var(--text); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 20px; }
.site-footer ul a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); }
.fineprint { color: var(--muted); margin: 0; font-size: .875rem; }
.fineprint a { color: var(--muted); }
.fineprint-note { display: block; margin-top: 4px; }
@media (min-width: 900px) {
  .footer-row { grid-template-columns: auto 1fr; align-items: center; }
  .site-footer nav { justify-self: end; }
  .fineprint { grid-column: 1 / -1; }
}
