@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/ripple/inter-latin.woff2") format("woff2");
}

:root {
  color-scheme: light dark;
  --canvas: #fafafa;
  --ink: #17191c;
  --secondary: #4b5563;
  --muted: #6b7280;
  --line: #e5e7eb;
  --control: #f0f1f3;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  scrollbar-color: var(--muted) var(--canvas);
}

* { box-sizing: border-box; }
body { margin: 0; }
p, h1, h2, figure { margin: 0; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; border-radius: 2px; }
::selection { background: var(--ink); color: var(--canvas); }
.page { width: min(100% - 64px, 1120px); margin: 0 auto; }
header { display: flex; align-items: center; justify-content: space-between; padding: 36px 0; }
.identity { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.mark { display: block; flex: none; height: 28px; aspect-ratio: 190 / 224; background: currentColor; mask: url("/ripple/ripple-mark.svg") center / contain no-repeat; }
.status, .preview-note { color: var(--muted); font-size: 12px; line-height: 1.5; }
.hero { display: flex; align-items: center; justify-content: space-between; gap: 64px; padding: 58px 0 72px; }
.intro { max-width: 650px; }
h1 { font-size: clamp(36px, 4.6vw, 58px); font-weight: 600; line-height: 1.12; letter-spacing: -0.035em; }
.intro p { max-width: 51ch; margin-top: 24px; color: var(--secondary); font-size: 17px; line-height: 1.65; text-wrap: pretty; }
.explore { display: inline-flex; gap: 12px; align-items: center; margin-top: 24px; font-size: 14px; font-weight: 450; text-decoration: none; }
.explore:hover { text-decoration: underline; }
.brand-art { flex: none; width: 170px; margin-right: 60px; }
.brand-art img { display: block; width: 100%; height: auto; }
.showcase { scroll-margin-top: 24px; }
.showcase-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.views { display: flex; gap: 4px; margin: 0; padding: 4px; border: 0; border-radius: 12px; background: var(--control); }
.views label { position: relative; cursor: pointer; }
.views input, .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.views span { display: block; min-height: 40px; padding: 11px 17px; border-radius: 8px; font-size: 13px; line-height: 18px; font-weight: 450; color: var(--secondary); }
.views label:hover span { color: var(--ink); }
.views input:checked + span { color: var(--canvas); background: var(--ink); }
.views input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.screens figure { display: none; }
.showcase:has(#view-messages:checked) #messages,
.showcase:has(#view-timeline:checked) #timeline,
.showcase:has(#view-snooze:checked) #snooze { display: block; }
.screens picture { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; }
.screens img { display: block; width: 100%; height: auto; }
figcaption { display: flex; align-items: baseline; gap: 24px; padding: 25px 0 0; }
h2 { font-size: 18px; line-height: 1.5; font-weight: 600; letter-spacing: -0.02em; }
figcaption p { color: var(--secondary); font-size: 14px; line-height: 1.6; }
footer { display: flex; justify-content: space-between; gap: 32px; border-top: 1px solid var(--line); margin-top: 64px; padding: 28px 0 36px; color: var(--muted); font-size: 12px; line-height: 1.7; }

@media (max-width: 900px) {
  .brand-art { width: 128px; margin-right: 12px; }
  .hero { gap: 36px; }
  figcaption { display: block; }
  figcaption p { margin-top: 6px; }
  footer { display: block; }
  footer p + p { margin-top: 8px; }
}

@media (max-width: 640px) {
  .page { width: min(100% - 40px, 440px); }
  header { padding: 24px 0; }
  .identity { font-size: 20px; }
  .hero { position: relative; display: block; padding: 102px 0 40px; }
  .brand-art { position: absolute; top: 14px; right: 4px; width: 62px; margin: 0; }
  h1 { font-size: clamp(31px, 8.5vw, 42px); }
  .intro p { margin-top: 20px; font-size: 15px; }
  .explore { margin-top: 20px; }
  .showcase-heading { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
  .views { width: 100%; }
  .views label { flex: 1; text-align: center; }
  .views span { padding-inline: 8px; }
  figcaption { padding-top: 22px; }
  footer { margin-top: 40px; padding: 24px 0; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #202124;
    --ink: #f7f8fa;
    --secondary: #d1d5db;
    --muted: #9ca3af;
    --line: #3c3e43;
    --control: #292b2f;
  }
}
