/* ONCE, by Dibsly LLC. The app's own typeface (AR One Sans, SIL Open Font License, fonts/OFL.txt)
   and its default colours (Ember), light and dark. Every link is relative: these pages live
   under dibsly.app/once/. */

@font-face {
  font-family: "AR One Sans";
  src: url("fonts/AROneSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "AR One Sans";
  src: url("fonts/AROneSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #FAF8F4;
  --surface: #FFFFFF;
  --ink: #1A1814;
  --muted: #5F5A52;
  --hairline: #E4E0D8;
  --accent: #A86C0C;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E0D0B;
    --surface: #1A1916;
    --ink: #F2EEE6;
    --muted: #A8A296;
    --hairline: #2A2824;
    --accent: #F0B347;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 18px/1.55 "AR One Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  -webkit-text-size-adjust: 100%;
}

main, footer { max-width: 680px; margin: 0 auto; padding: 0 20px; }
main { padding-top: 40px; padding-bottom: 56px; }

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

.mark { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 700; letter-spacing: 0.08em; }
.mark img { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--hairline); }
.mark:hover { text-decoration: none; }

h1 { font-size: 40px; line-height: 1.15; margin: 48px 0 12px; font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: 21px; line-height: 1.3; margin: 40px 0 8px; font-weight: 700; }
p, li { margin: 0 0 12px; }
ul { padding-left: 22px; margin: 0 0 12px; }
.lead { font-size: 21px; color: var(--muted); margin-bottom: 28px; }
.muted { color: var(--muted); }

.store {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: var(--surface);
  color: var(--muted);
  font-weight: 700;
}

/* ONCE is out (2026-11-19): the official App Store badge in place of the "coming soon" pill. */
.store-link { padding: 0; border: 0; border-radius: 0; background: none; line-height: 0; }
.store-link img { display: block; width: 150px; height: auto; }
.store-link:hover { opacity: 0.85; }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 48px 0 8px; }
.shots img { width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--hairline); display: block; }
@media (max-width: 560px) {
  .shots { grid-template-columns: 1fr; max-width: 340px; }
  h1 { font-size: 32px; }
}

.points { list-style: none; padding: 0; margin: 40px 0 0; border-top: 1px solid var(--hairline); }
.points li { padding: 16px 0; margin: 0; border-bottom: 1px solid var(--hairline); }

footer {
  padding-top: 20px;
  padding-bottom: 40px;
  border-top: 1px solid var(--hairline);
  color: var(--muted);
  font-size: 15px;
}
footer a { color: var(--muted); text-decoration: underline; }

/* The words rise in when the page loads, one after another (dibsly.app, 2026-11-16). */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
main > .mark, main > h1, main > .lead, main > .store, main > .shots, main > .points {
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
main > h1 { animation-delay: 0.1s; }
main > .lead { animation-delay: 0.22s; }
main > .store { animation-delay: 0.34s; }
main > .shots { animation-delay: 0.46s; }
main > .points { animation-delay: 0.58s; }
@media (prefers-reduced-motion: reduce) {
  main > .mark, main > h1, main > .lead, main > .store, main > .shots, main > .points { animation: none; }
}
