/* roamkeep.app. The app's palette (styles.css), on a page built to be read. */
:root {
  --teal: #0E7C7B;
  --teal-2: #0B5F5E;
  --teal-soft: #E7F3F2;
  --coral: #FF6B5B;
  --ink: #0F172A;
  --ink-2: #334155;
  --muted: #64748B;
  --line: #E2E8F0;
  --bg: #FFFFFF;
  --bg-2: #F5F7F9;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-underline-offset: 2px; }
a:hover { color: var(--teal-2); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.25rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
strong { font-weight: 700; }
code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9em; background: var(--bg-2); padding: .1em .35em; border-radius: 5px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.quiet { color: var(--muted); }
.small { font-size: .9rem; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

/* ── Header ─────────────────────────────────────────── */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.lockup { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.lk-tile { width: 34px; height: 34px; color: #fff; }
.lk-word { width: 90px; height: 18px; color: var(--teal); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 6px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--teal); }
.top-cta { flex-shrink: 0; }

/* ── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--teal); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 1rem; line-height: 1.2;
  padding: 14px 22px; border-radius: 12px; border: 2px solid var(--teal);
}
.btn:hover { background: var(--teal-2); border-color: var(--teal-2); color: #fff; }
.btn-ghost { background: transparent; color: var(--teal); }
.btn-ghost:hover { background: var(--teal-soft); color: var(--teal-2); }
.btn-sm { padding: 8px 14px; font-size: .9rem; border-radius: 10px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 14px; }

/* ── Sections ───────────────────────────────────────── */
.sec { padding: 72px 0; }
.sec-alt { background: var(--bg-2); }
.sec-head { max-width: 680px; margin-bottom: 36px; }
.sec-head p { color: var(--ink-2); font-size: 1.08rem; }
.kicker { display: inline-block; color: var(--teal); font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }

/* ── Hero ───────────────────────────────────────────── */
.hero { padding: 64px 0 40px; }
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 36em; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .95rem; margin: 0; padding: 0; list-style: none; }
.facts li::before { content: "✓"; color: var(--teal); font-weight: 800; margin-right: 6px; }
.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art .phone { width: min(300px, 78vw); transform: rotate(2deg); }
.hero-tile { position: absolute; left: 4%; bottom: 8%; width: 92px; height: 92px; box-shadow: 0 12px 30px rgba(15, 23, 42, .18); }

/* A phone, drawn around a screenshot. */
.phone {
  border: 10px solid var(--ink); border-radius: 34px; overflow: hidden;
  background: var(--ink); box-shadow: 0 24px 60px rgba(15, 23, 42, .22);
}
.phone img { width: 100%; height: auto; }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.shot { margin: 0; text-align: center; }
.shot .phone { max-width: 260px; margin: 0 auto 14px; }
.shot figcaption { font-weight: 700; }
.shot figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: .95rem; }

/* ── Cards ──────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.sec-alt .card { box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.card h3 { display: flex; align-items: center; gap: 10px; }
.card p { margin: 0; color: var(--ink-2); }
.ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--teal-soft); font-size: 1.25rem; flex-shrink: 0; }

/* ── The privacy band ───────────────────────────────── */
.band { background: var(--teal); color: #fff; }
.band h2, .band h3 { color: #fff; }
.band .sec-head p, .band .card p { color: #DDF0EE; }
.band .kicker { color: #FFD5CF; }
.band a { color: #fff; }
.band .card { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); }

.flow { display: grid; grid-template-columns: 1fr auto 1.2fr auto 1fr; align-items: stretch; gap: 14px; margin-bottom: 36px; }
.node { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 20px; }
.node h3 { color: var(--ink); margin-bottom: .3em; }
.node p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.node-yours { outline: 3px solid var(--coral); outline-offset: -3px; }
.node-ours { background: rgba(255, 255, 255, .1); color: #fff; border: 2px dashed rgba(255, 255, 255, .5); }
.node-ours h3 { color: #fff; }
.node-ours p { color: #DDF0EE; }
.arrow { display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: .8rem; color: #DDF0EE; text-align: center; min-width: 74px; }
.arrow b { font-size: 1.6rem; line-height: 1; color: #fff; }

/* ── Lists and steps ────────────────────────────────── */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ticks li { padding-left: 34px; position: relative; color: var(--ink-2); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--teal); color: #fff; font-size: .8rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.ticks strong { color: var(--ink); }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 8px; display: grid; gap: 22px; }
.steps > li { counter-increment: step; position: relative; padding-left: 52px; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.steps h3 { margin-bottom: .25em; }
.steps p { margin: 0; color: var(--ink-2); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.panel { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.price { font-size: 2.2rem; font-weight: 800; margin: 0; color: var(--teal); }
.callout { background: var(--teal-soft); border-left: 4px solid var(--teal); border-radius: 0 12px 12px 0; padding: 16px 18px; margin: 0 0 1.2em; color: var(--ink-2); }
.callout strong { color: var(--ink); }

/* ── Article pages (FAQ, Security, Delete, Support) ─── */
.page-head { padding: 56px 0 8px; }
.page-head .lead { margin-bottom: 0; }
.article { padding: 32px 0 72px; }
.article h2 { margin-top: 1.6em; font-size: 1.5rem; }
.article h2:first-child { margin-top: 0; }
.article li { margin-bottom: .4em; color: var(--ink-2); }
.article p { color: var(--ink-2); }
.article p strong, .article li strong { color: var(--ink); }

.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; margin-bottom: 12px; background: var(--bg); }
.faq summary { cursor: pointer; font-weight: 700; padding: 18px 28px 18px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.4rem; color: var(--teal); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding-bottom: 18px; }
.faq details p:last-child { margin-bottom: 0; }

table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: .97rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }

/* ── Footer ─────────────────────────────────────────── */
.foot { background: var(--bg-2); border-top: 1px solid var(--line); padding: 48px 0 28px; font-size: .95rem; }
.foot-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.foot h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .8em; }
.foot nav a { display: block; color: var(--ink-2); text-decoration: none; margin-bottom: .45em; }
.foot nav a:hover { color: var(--teal); }
.foot-legal { color: var(--muted); font-size: .85rem; margin-top: 28px; }

/* ── Narrow screens ─────────────────────────────────── */
@media (max-width: 880px) {
  .hero-in, .split { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art .phone { width: min(240px, 64vw); }
  .hero-tile { width: 70px; height: 70px; left: 2%; }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr; }
  .arrow { flex-direction: row; gap: 8px; min-width: 0; }
  .arrow b { transform: rotate(90deg); }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .top-in { flex-wrap: wrap; gap: 10px 16px; padding-top: 10px; }
  .top-cta { margin-left: auto; }
  .nav { order: 3; width: 100%; margin: 0; gap: 18px; overflow-x: auto; padding-bottom: 6px; }
  .nav a { white-space: nowrap; }
  .sec { padding: 52px 0; }
  .hero { padding: 36px 0 24px; }
  .shots { grid-template-columns: 1fr; gap: 36px; }
  .cards-3 { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .nav { gap: 14px; }
}
