@font-face {
  font-family: "Newsreader";
  src: url("/site/newsreader.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("/site/newsreader-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #fafaf7;
  --paper-raised: #f0f2ec;
  --ink: #16211b;
  --ink-soft: #4b5a51;
  --ever: #0e6b4f;
  --ever-bright: #12855f;
  --ever-flip: #46c69a;
  --sage: #8fbfa9;
  --hairline: rgba(22, 33, 27, 0.14);
  --hairline-strong: rgba(22, 33, 27, 0.3);
  --glow: rgba(14, 107, 79, 0.16);
  --serif: "Newsreader", "New York", ui-serif, Georgia, serif;
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0c1310;
    --paper-raised: #121c16;
    --ink: #eaf1ec;
    --ink-soft: #9fb2a7;
    --ever: #46c69a;
    --ever-bright: #63d8ae;
    --ever-flip: #0e6b4f;
    --hairline: rgba(234, 241, 236, 0.14);
    --hairline-strong: rgba(234, 241, 236, 0.32);
    --glow: rgba(70, 198, 154, 0.16);
  }
}

* { box-sizing: border-box; }
html {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}
body { margin: 0; overflow-x: hidden; }
a { color: inherit; }
::selection { background: var(--ever); color: var(--paper); }
:focus-visible { outline: 2px solid var(--ever); outline-offset: 3px; border-radius: 4px; }

.display {
  font-family: var(--serif);
  font-weight: 460;
  letter-spacing: -0.02em;
  line-height: 1.02;
  text-wrap: balance;
  margin: 0;
}
.display em { font-style: italic; font-weight: 420; }
.display .dot { color: var(--ever); }

/* Hero */
.hero {
  position: relative;
  text-align: center;
  padding: 56px 16px 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 900px;
  background: radial-gradient(60% 50% at 50% 0%, var(--glow), transparent 70%);
  pointer-events: none;
}
.lockup {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.lockup svg { display: block; overflow: visible; }
.lockup .word { font-size: 30px; font-weight: 800; letter-spacing: -0.05em; }
.lockup .word span { color: var(--ever); }

.hero h1 {
  position: relative;
  max-width: 11em;
  margin: 56px auto 0;
  font-size: clamp(46px, 9vw, 104px);
}
.lead {
  position: relative;
  max-width: 33em;
  margin: 30px auto 0;
  font-size: clamp(18px, 2.2vw, 21px);
  line-height: 1.55;
  text-wrap: pretty;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 11px 3px 3px;
  margin: 0 1px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--paper-raised);
  font-weight: 650;
  text-decoration: none;
  line-height: 1.3;
  vertical-align: 1px;
  white-space: nowrap;
  transition: border-color 0.2s;
}
.chip:hover { border-color: var(--hairline-strong); }
.chip img { width: 24px; height: 24px; border-radius: 6px; display: block; }

/* Phone */
.stage {
  position: relative;
  margin: 64px auto 0;
  display: flex;
  justify-content: center;
  -webkit-mask-image: linear-gradient(#000 80%, transparent);
  mask-image: linear-gradient(#000 80%, transparent);
}
.device {
  zoom: 0.92;
  padding: 11px 11px 0;
  border: 1px solid #3a3a3f;
  border-bottom: 0;
  border-radius: 73px 73px 0 0;
  background: #1b1b1e;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.45);
}
.screen {
  position: relative;
  width: 402px;
  height: 400px;
  border-radius: 62px 62px 0 0;
  overflow: hidden;
  background: #000;
}
.ph-head, .ph-grid {
  position: absolute;
  left: 0;
  right: 0;
  background: url("/site/grid.jpg") no-repeat;
  background-size: 402px auto;
}
.ph-head { top: 0; height: 116px; z-index: 2; }
.ph-grid { top: 149.33px; bottom: 0; background-position: 0 -116px; }
.ph-bar {
  position: absolute;
  left: 0;
  right: 0;
  top: 116px;
  height: 33.33px;
  z-index: 2;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 0 16px;
  background: #171717;
  box-shadow: inset 0 -0.5px 0 rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);
  font: 13px/1 var(--sans);
  white-space: nowrap;
  text-align: left;
}
.ph-bar svg { display: block; flex: none; }
.ph-bar .t { flex: 1; overflow: hidden; text-overflow: ellipsis; }
.ph-bar .a { display: flex; align-items: center; gap: 5px; color: #fff; font-weight: 600; }
.ph-bar .x { padding: 0 16px 0 12px; color: rgba(255, 255, 255, 0.4); }

/* Facts */
.facts {
  max-width: 1080px;
  margin: 0 auto;
  padding: 72px 24px 0;
}
.facts h2 { font-size: clamp(36px, 5.6vw, 64px); max-width: 12em; }
.facts dl { margin: 48px 0 0; }
.row {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 16px 48px;
  padding: 30px 0 32px;
  border-top: 1px solid var(--hairline);
}
.row dt {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 460;
  letter-spacing: -0.01em;
  line-height: 1.18;
}
.row dd {
  margin: 0;
  max-width: 34em;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.6;
  text-wrap: pretty;
}
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
}
.links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.links a:hover { color: var(--ever); border-color: var(--ever); }
.links svg { display: block; }

footer {
  margin-top: 120px;
  padding: 40px 24px 56px;
  border-top: 1px solid var(--hairline);
  text-align: center;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}
footer a { display: inline-block; margin-bottom: 10px; }
footer svg { display: block; }
footer .dot { color: var(--ever); }

/* Not found */
.lost { min-height: 100vh; display: flex; flex-direction: column; }
.lost .hero { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-bottom: 12vh; }
.lost h1 { font-size: clamp(46px, 9vw, 96px); }
.lost .links { justify-content: center; border: 0; padding-top: 36px; position: relative; }

/* Logo */
.fam-back-l, .fam-back-r, .fam-front { transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1); }
.fam-back-l { transform: translate(-21px, -18px) rotate(-16deg); }
.fam-back-r { transform: translate(21px, -20px) rotate(14deg); }
.fam-front { transform: translate(0, 8px); }
.lockup:hover .fam-back-l { transform: translate(-25px, -23px) rotate(-20deg); }
.lockup:hover .fam-back-r { transform: translate(25px, -25px) rotate(18deg); }

/* Motion */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes fan-back-l { from { transform: translate(0, 8px) rotate(0deg); opacity: 0; } 45% { opacity: 1; } }
@keyframes fan-back-r { from { transform: translate(0, 8px) rotate(0deg); opacity: 0; } 45% { opacity: 1; } }
@keyframes fan-front { from { transform: translate(0, 26px) scale(0.82); opacity: 0; } }
@keyframes bar-open { from { height: 0; } }
@keyframes grid-down { from { top: 116px; } }
@keyframes fade-in { from { opacity: 0; } }

.rise { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: var(--d, 0s); }
.fam-anim .fam-back-l { animation: fan-back-l 0.8s 0.25s cubic-bezier(0.34, 1.4, 0.64, 1) both; }
.fam-anim .fam-back-r { animation: fan-back-r 0.8s 0.32s cubic-bezier(0.34, 1.4, 0.64, 1) both; }
.fam-anim .fam-front { animation: fan-front 0.6s 0.1s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.ph-bar { animation: bar-open 0.55s 1.9s cubic-bezier(0.3, 0.8, 0.2, 1) both; }
.ph-grid { animation: grid-down 0.55s 1.9s cubic-bezier(0.3, 0.8, 0.2, 1) both; }
.ph-bar > * { animation: fade-in 0.4s 2.15s ease-out both; }

.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js [data-reveal].in { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .hero { padding-top: 40px; }
  .hero h1 { margin-top: 44px; }
  .stage { margin-top: 48px; }
  .facts { padding: 44px 20px 0; }
  .facts dl { margin-top: 36px; }
  .row { grid-template-columns: 1fr; padding: 24px 0 26px; }
  .row dt { font-size: 24px; }
  .row dd { font-size: 16.5px; }
  footer { margin-top: 88px; }
}
@media (max-width: 460px) { .device { zoom: 0.8; } }
@media (max-width: 374px) { .device { zoom: 0.66; } .lockup .word { font-size: 26px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
