/* ── Papercopy website ─────────────────────────────────────────── */

:root {
  --accent:        #147dfa;
  --accent-green:  #12e880;
  --accent-cyan:   #00aef3;

  --bg:            #121213;
  --bg-raised:     #1a1919;
  --bg-sunken:     #0e0e0f;

  --text:          #ffffff;
  --text-muted:    rgba(255, 255, 255, .78);
  --text-soft:     rgba(255, 255, 255, .65);
  --text-dim:      rgba(255, 255, 255, .45);
  --text-faint:    rgba(255, 255, 255, .35);
  --link:          #4da3ff;
  --link-hover:    #7abaff;

  --line:          rgba(255, 255, 255, .08);
  --line-soft:     rgba(255, 255, 255, .06);

  --page:          1120px;
  --page-narrow:   820px;
  --gutter:        32px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Readex Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;

  /* Keep the footer at the bottom of short pages */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body > header,
body > main,
body > footer { width: 100%; }
body > main { flex: 1 0 auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); }

img { max-width: 100%; }

:where(a, button):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.icon { width: 1em; height: 1em; display: block; flex: none; fill: currentColor; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 10;
  padding: 12px 20px; background: var(--accent); color: #fff; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ── Layout ────────────────────────────────────────────────────── */

.wrap {
  max-width: var(--page);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--page-narrow); }

/* ── Nav ───────────────────────────────────────────────────────── */

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-block: 26px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}
.brand:hover { color: var(--text); }
.brand__name {
  font-weight: 200;
  font-size: 24px;
  letter-spacing: .5px;
}

.nav__links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
}
.nav__links a { color: rgba(255, 255, 255, .75); }
.nav__links a:hover { color: var(--text); }

.nav__back { margin-left: auto; color: rgba(255, 255, 255, .75); font-size: 15px; }
.nav__back:hover { color: var(--text); }

/* ── Hero ──────────────────────────────────────────────────────── */

.hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
  align-items: center;
  padding-block: 64px 96px;
}

.hero__copy { display: flex; flex-direction: column; gap: 24px; }

.hero__title {
  margin: 0;
  font-weight: 300;
  font-size: clamp(38px, 5vw, 54px);
  line-height: 1.12;
  text-wrap: pretty;
}

.hero__lead {
  margin: 0;
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .72);
  max-width: 480px;
  text-wrap: pretty;
}

.hero__note { font-size: 14px; color: var(--text-dim); }

/* ── Store buttons ─────────────────────────────────────────────── */

.stores {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.store {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding-inline: 24px;
  border-radius: 32px;
  font-weight: 500;
  font-size: 16px;
  border: 1px solid transparent;
  transition: transform .15s ease, background-color .15s ease;
}
.store:hover { transform: translateY(-1px); }
.store__icon { font-size: 24px; }
.store__label { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store__label small { font-size: 11px; font-weight: 400; }

.store--apple { background: #fff; color: #121213; }
.store--apple:hover { background: #ececec; color: #121213; }

.store--play {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .2);
  color: var(--text);
}
.store--play:hover { background: rgba(255, 255, 255, .16); color: var(--text); }
.store--play .store__icon { font-size: 22px; }
.store--play .store__label small { color: rgba(255, 255, 255, .7); }

/* ── Phone mockup ──────────────────────────────────────────────── */

.phone-stage { display: flex; justify-content: center; }

.phone {
  width: 300px;
  height: 610px;
  max-width: 100%;
  border-radius: 44px;
  background: var(--bg-raised);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .55);
  padding: 14px;
  position: relative;
}

.phone__screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
}
.phone__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone__notch {
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 26px;
  border-radius: 14px;
  background: var(--bg);
}

.phone__pill {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding-inline: 16px;
  border-radius: 20px;
  background: rgba(18, 18, 19, .85);
  backdrop-filter: blur(10px);
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
}
.phone__pill .icon { font-size: 15px; color: var(--accent); }

/* ── Section band ──────────────────────────────────────────────── */

.band {
  background: var(--bg-raised);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.section { padding-block: 88px; }

.section__title {
  margin: 0 0 56px;
  font-weight: 300;
  font-size: clamp(28px, 4vw, 36px);
  text-wrap: balance;
}

/* ── Steps ─────────────────────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.step { display: flex; flex-direction: column; gap: 16px; }

.step__badge {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(20, 125, 250, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--accent);
}

.step__eyebrow {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, .4);
}

.step__name { font-weight: 500; font-size: 21px; }

.step p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-soft);
  text-wrap: pretty;
}

/* ── Feature cards ─────────────────────────────────────────────── */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature {
  border-radius: 20px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature__shot {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  background: #0b0b0c;
}

.feature__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature__name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 19px;
}
.feature__name .icon { font-size: 22px; }

.feature p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-soft);
  text-wrap: pretty;
}

.tint-accent { color: var(--accent); }
.tint-green  { color: var(--accent-green); }
.tint-cyan   { color: var(--accent-cyan); }

/* ── Footer ────────────────────────────────────────────────────── */

.footer {
  background: var(--bg-sunken);
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-block: 56px 40px;
}

.footer__col { display: flex; flex-direction: column; gap: 14px; }

.footer__brand { display: flex; align-items: center; gap: 9px; color: var(--text); }
.footer__brand:hover { color: var(--text); }
.footer__brand span { font-weight: 200; font-size: 20px; }

.footer__blurb {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .5);
  max-width: 320px;
  text-wrap: pretty;
}

.footer__heading {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, .4);
}

.footer__col a { color: rgba(255, 255, 255, .75); font-size: 15px; }
.footer__col a:hover { color: var(--text); }

.footer__legal {
  padding-bottom: 32px;
  font-size: 13px;
  color: var(--text-faint);
}

/* Compact footer, used on the document pages */
.footer__bar {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-block: 32px;
  font-size: 14px;
}
.footer__bar .footer__legal { padding: 0; }
.footer__bar a { color: rgba(255, 255, 255, .6); margin-left: auto; }
.footer__bar a:hover { color: var(--text); }
.footer__bar a + a { margin-left: 0; }

/* ── Document pages (privacy, deletion) ────────────────────────── */

.doc { padding-block: 40px 96px; }

.doc__title {
  margin: 0;
  font-weight: 300;
  font-size: clamp(32px, 5vw, 42px);
  text-wrap: pretty;
}

.doc__date {
  margin-top: 12px;
  font-size: 15px;
  color: var(--text-dim);
}

.doc__body {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
}

.doc__section { display: flex; flex-direction: column; gap: 12px; }
.doc__section h2 { margin: 0; font-weight: 500; font-size: 22px; color: var(--text); }
.doc__section p { margin: 0; text-wrap: pretty; }
.doc__section strong { font-weight: 500; color: var(--text); }
.doc__section ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }

.doc__section h3 {
  margin: 12px 0 0;
  font-weight: 500;
  font-size: 17px;
  color: rgba(255, 255, 255, .92);
}

.doc__section h2 + p,
.doc__section h3 + p { margin-top: -2px; }

.callout {
  border-radius: 16px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.method-list { display: flex; flex-direction: column; gap: 14px; }

.method {
  border-radius: 16px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  padding: 22px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.method > .icon { font-size: 24px; color: var(--accent); margin-top: 2px; }
.method__text { display: flex; flex-direction: column; gap: 12px; }
.method__title { font-weight: 500; font-size: 17px; color: var(--text); }

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding-inline: 24px;
  border-radius: 28px;
  background: var(--accent);
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  align-self: flex-start;
  transition: background-color .15s ease;
}
.button:hover { background: #2f8dfb; color: #fff; }
.button .icon { font-size: 18px; }

/* ── Responsive ────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-block: 40px 72px;
  }
  .hero__lead { max-width: none; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .features { grid-template-columns: 1fr; }
  .feature__shot { height: 220px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__col:first-child { grid-column: 1 / -1; }
  .section { padding-block: 64px; }
  .section__title { margin-bottom: 40px; }
}

@media (max-width: 560px) {
  :root { --gutter: 20px; }
  .nav { gap: 16px; flex-wrap: wrap; }
  .nav__links { gap: 18px; font-size: 14px; }
  .stores { flex-direction: column; align-items: stretch; }
  .store { justify-content: center; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bar a { margin-left: 0; }
}
