/* NoteInk website. System fonts only: nothing is loaded from third parties (see the privacy page). */
:root {
  --ink: #042C53; /* same blue as the icon and the App Store pictures, so they blend into the page */
  --on-ink: #ffffff;
  --on-ink-soft: #bccbdb;
  --paper: #ffffff;
  --text: #17212b;
  --soft: #55626f;
  --heading: var(--ink);
  --line: #dfe4ea;
  --tint: #eef3f8;
  --link: #1b5d99;
  --gutter: clamp(16px, 5vw, 56px);
  --measure: 1120px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0c1621;
    --text: #e6ebf0;
    --soft: #a0adba;
    --heading: #f2f5f8;
    --line: #26333f;
    --tint: #142231;
    --link: #8cc0ee;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--link); }
a:focus-visible, .strip:focus-visible, .arrow:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
h1, h2, h3 { color: var(--heading); line-height: 1.15; letter-spacing: -0.01em; }

/* Top bar */
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--gutter);
  background: var(--ink);
  color: var(--on-ink);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-weight: 600;
  font-size: 19px;
  text-decoration: none;
}
.brand img { border-radius: 8px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .18); }
.bar nav { display: flex; gap: 8px; }
.bar nav a {
  padding: 10px 12px;
  color: var(--on-ink-soft);
  font-size: 15px;
  text-decoration: none;
}
.bar nav a:hover { color: var(--on-ink); }

/* Hero: the pictures share the page's blue and are cut off at the bottom edge, like an iPad rising out of the page */
.hero { background: var(--ink); color: var(--on-ink); text-align: center; }
.pitch { max-width: 760px; margin: 0 auto; padding: clamp(32px, 7vw, 72px) var(--gutter) clamp(24px, 4vw, 40px); }
.hero h1 { margin: 0; color: inherit; font-size: clamp(38px, 6.4vw, 66px); font-weight: 700; }
.lead { margin: 20px 0 28px; color: var(--on-ink-soft); font-size: clamp(18px, 2.2vw, 21px); line-height: 1.45; }
.store {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 12px;
  background: var(--on-ink);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.store.soon { background: none; box-shadow: inset 0 0 0 1px var(--on-ink-soft); color: var(--on-ink); }
.note { margin: 16px 0 0; color: var(--on-ink-soft); font-size: 15px; }

.gallery { position: relative; }
.strip {
  display: flex;
  gap: clamp(8px, 2vw, 24px);
  margin: 0;
  padding: 0 calc(50vw - min(44vw, 490px));
  overflow-x: auto;
  list-style: none;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.strip::-webkit-scrollbar { display: none; }
.strip li { flex: 0 0 min(88vw, 980px); scroll-snap-align: center; }
.strip img { display: block; width: 100%; height: auto; }
.arrow {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  padding: 12px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: var(--on-ink);
  cursor: pointer;
}
.arrow:hover { background: rgba(255, 255, 255, .26); }
.arrow:disabled { opacity: .3; cursor: default; }
.arrow svg { display: block; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.prev { left: max(12px, calc(50% - 620px)); }
.next { right: max(12px, calc(50% - 620px)); }
/* Touch screens swipe; a phone has no room beside the picture anyway */
@media (hover: none), (max-width: 1100px) { .arrow { display: none; } }

/* Features */
.features { max-width: var(--measure); margin: 0 auto; padding: clamp(48px, 8vw, 96px) var(--gutter); }
.features h2 { margin: 0 0 clamp(28px, 4vw, 48px); font-size: clamp(30px, 4vw, 42px); }
.columns { columns: 2; column-gap: clamp(40px, 7vw, 96px); }
.columns section { break-inside: avoid; padding: 0 0 32px; }
.columns h3 { margin: 0 0 10px; font-size: 21px; }
.columns ul { margin: 0; padding: 0; list-style: none; }
.columns li { padding: 9px 0; border-top: 1px solid var(--line); }
@media (max-width: 720px) { .columns { columns: 1; } }

.price { padding: clamp(48px, 8vw, 80px) var(--gutter); background: var(--tint); text-align: center; }
.price h2 { margin: 0 0 14px; font-size: clamp(28px, 3.6vw, 38px); }
.price p { max-width: 640px; margin: 0 auto; font-size: 19px; }

/* Privacy and support */
.text { max-width: 720px; margin: 0 auto; padding: clamp(40px, 7vw, 72px) var(--gutter) clamp(56px, 8vw, 96px); }
.text h1 { margin: 0 0 12px; font-size: clamp(34px, 5vw, 46px); }
.text h2 { margin: 36px 0 8px; font-size: 21px; }
.text p { margin: 0 0 12px; }
.text ul { margin: 0; padding-left: 20px; }
.text li { margin: 10px 0; }
.text .meta { color: var(--soft); font-size: 15px; }
.lead-text { font-size: 19px; }

.foot { padding: 28px var(--gutter) 36px; border-top: 1px solid var(--line); color: var(--soft); font-size: 15px; }
.foot div { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.foot a { color: inherit; }
.foot p { margin: 12px 0 0; }
