@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #f2f2f7;
  --card: #ffffff;
  --ink: #0b0b0d;
  --muted: #6e6e73;
  --faint: #aeaeb2;
  --sep: rgba(60, 60, 67, 0.16);
  --fill: #ececf1;
  --blue: #1d3cf2;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --card: #1c1c1e;
    --ink: #f5f5f7;
    --muted: #98989f;
    --faint: #5a5a5f;
    --sep: rgba(84, 84, 88, 0.55);
    --fill: #2c2c2e;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; background: var(--bg); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.5 "Inter", -apple-system, system-ui, sans-serif;
  font-optical-sizing: auto;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
}

h1, h2 { font-weight: 500; letter-spacing: -0.035em; margin: 0; text-wrap: balance; }
p { text-wrap: pretty; }

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

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.mark img { width: 32px; height: 32px; border-radius: 8px; }

.store {
  display: inline-flex;
  align-items: center;
  height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  transition: transform 160ms var(--ease), opacity 160ms ease-out;
}

.store:active { transform: scale(0.97); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  grid-template-rows: auto 1fr;
  column-gap: 72px;
  min-height: min(100dvh, 880px);
  padding: 32px 0 96px;
}

.hero .mark { grid-column: 1 / -1; align-self: start; justify-self: start; }

.pitch { align-self: center; padding-top: 48px; }

.hero h1 {
  max-width: 8.5ch;
  font-size: clamp(52px, 7.6vw, 108px);
  line-height: 0.98;
  letter-spacing: -0.048em;
}

.lede {
  margin: 28px 0 0;
  max-width: 31ch;
  font-size: 20px;
  line-height: 1.45;
  color: var(--muted);
}

.hero .store { margin-top: 40px; }

.demo {
  align-self: center;
  margin-top: 48px;
  padding: 26px 26px 22px;
  border-radius: 30px;
  background: var(--card);
}

.demo-top { display: flex; justify-content: space-between; font-size: 15px; color: var(--muted); }

.count {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 14px;
  font-size: 112px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
}

.digits { display: inline-flex; font-variant-numeric: tabular-nums; }
.digit { display: block; height: 1.04em; overflow: hidden; }

.strip {
  display: block;
  transform: translateY(calc(var(--d) * -1.04em));
  transition: transform 360ms var(--ease);
}

.strip i { display: block; height: 1.04em; font-style: normal; }

.unit { font-size: 17px; font-weight: 400; letter-spacing: -0.011em; color: var(--muted); }

.days { display: flex; justify-content: space-between; margin: 26px 0 0; padding: 0; list-style: none; }

.days li {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ink);
}

.days li.gap { background: transparent; box-shadow: inset 0 0 0 1.5px var(--faint); }
.days li.now { background: var(--fill); }
.days li.enter { animation: pop 260ms var(--ease); }

@keyframes pop { from { transform: scale(0.6); opacity: 0; } }

.say { min-height: 1.5em; margin: 18px 0 0; font-size: 15px; color: var(--muted); }

.try { display: flex; gap: 8px; margin-top: 18px; }

.btn {
  flex: 1 1 0;
  height: 48px;
  padding: 0 12px;
  white-space: nowrap;
  border: 0;
  border-radius: 999px;
  background: var(--fill);
  color: var(--ink);
  font: 500 16px/1 "Inter", system-ui, sans-serif;
  letter-spacing: -0.015em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 140ms var(--ease), opacity 140ms ease-out;
}

.btn.main { background: var(--ink); color: var(--bg); }
.btn:active { transform: scale(0.97); }

@media (hover: hover) and (pointer: fine) {
  .btn:hover, .store:hover { opacity: 0.84; }
}

.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  column-gap: 80px;
  align-items: center;
  padding: 96px 0;
}

.row h2 { max-width: 12ch; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.04; }
.row p { margin: 20px 0 0; max-width: 34ch; font-size: 19px; line-height: 1.5; color: var(--muted); }

.shot { container-type: inline-size; margin: 0; }
.shot img { display: block; width: 100%; height: auto; border-radius: 7.2cqi; }
.shot.week img { border-radius: 8.1cqi; }

.row.wide { grid-template-columns: minmax(0, 1fr) 580px; }

.alone { padding: 120px 0 104px; }
.alone h2 { max-width: 12ch; font-size: clamp(44px, 6.4vw, 88px); line-height: 1; letter-spacing: -0.045em; }
.alone p { margin: 28px 0 0; max-width: 40ch; font-size: 20px; line-height: 1.45; color: var(--muted); }

.also { padding-bottom: 32px; }
.also-head { margin: 0 0 10px 20px; font-size: 15px; font-weight: 400; letter-spacing: -0.011em; color: var(--muted); }

.lists { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.list { margin: 0; padding: 0 0 0 20px; list-style: none; border-radius: 26px; background: var(--card); }

.list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 20px 15px 0;
  font-weight: 500;
  box-shadow: inset 0 -0.5px 0 var(--sep);
}

.list li:last-child { box-shadow: none; }
.list span { font-weight: 400; color: var(--muted); text-align: right; }

.foot { margin-top: 96px; box-shadow: inset 0 0.5px 0 var(--sep); }

.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 32px;
  padding-top: 28px;
  padding-bottom: 40px;
  font: 400 13px/1.4 ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0;
  color: var(--muted);
}

.foot-name { color: var(--ink); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.foot a { color: inherit; text-decoration: none; transition: color 160ms ease-out; }

@media (hover: hover) and (pointer: fine) { .foot a:hover { color: var(--ink); } }

.doc { max-width: 760px; }
.doc > .mark { margin-top: 32px; }

.doc-head { padding: 88px 0 48px; }
.doc-head h1 { font-size: clamp(48px, 8vw, 80px); line-height: 1; letter-spacing: -0.045em; }
.doc-head .lede { max-width: 36ch; }
.doc-head mark { background: none; color: var(--ink); }

.doc-body section { padding: 28px 0; box-shadow: inset 0 0.5px 0 var(--sep); }
.doc-body h2 { margin: 0 0 10px; font-size: 21px; font-weight: 600; line-height: 1.25; letter-spacing: -0.022em; }
.doc-body p { margin: 0; color: var(--muted); }
.doc-body p + p { margin-top: 12px; }
.doc-body a { color: var(--ink); text-underline-offset: 3px; }
.doc-body .mail { font-size: 21px; font-weight: 600; letter-spacing: -0.022em; overflow-wrap: anywhere; }

.doc-date { margin: 0; padding: 28px 0 0; font-size: 15px; color: var(--muted); box-shadow: inset 0 0.5px 0 var(--sep); }

@media (max-width: 900px) {
  .wrap { padding: 0 20px; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding: 24px 0 56px; }
  .pitch { padding-top: 64px; }
  .demo { margin-top: 48px; width: 100%; max-width: 440px; }
  .row, .row.wide { grid-template-columns: 1fr; row-gap: 32px; padding: 56px 0; }
  .shot { max-width: 440px; }
  .alone { padding: 72px 0 64px; }
  .lists { grid-template-columns: 1fr; }
  .doc-head { padding: 56px 0 32px; }
}

@media (max-width: 420px) {
  .count { font-size: 92px; }
  .demo { padding: 22px 20px 18px; border-radius: 26px; }
  .lede, .row p, .alone p { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .strip, .btn, .store { transition: none; }
  .days li.enter { animation: none; }
}
