/* Colors, type and spacing follow Adobe Spectrum 2 tokens (light and dark). */
:root {
  color-scheme: light dark;
  --bg-base: #ffffff;
  --bg-layer-1: #f8f8f8;
  --border: #e1e1e1;
  --text: #292929;
  --text-subdued: #505050;
  --text-heading: #131313;
  --accent: #3b63fb;
  --accent-hover: #274dea;
  --link: #274dea;
  --on-accent: #ffffff;
  --focus-ring: #4b75ff;
  --notice: #d45b00;
  --ring-1: #c6c6c6;
  --ring-2: #8f8f8f;
  --ring-3: #505050;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-base: #111111;
    --bg-layer-1: #1b1b1b;
    --border: #323232;
    --text: #dbdbdb;
    --text-subdued: #afafaf;
    --text-heading: #f2f2f2;
    --accent: #4069fd;
    --accent-hover: #5681ff;
    --link: #6995fe;
    --focus-ring: #4069fd;
    --notice: #e06400;
    --ring-1: #444444;
    --ring-2: #6d6d6d;
    --ring-3: #afafaf;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg-base);
  color: var(--text);
  font-family: adobe-clean-spectrum-vf, adobe-clean, ui-sans-serif, system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--link); }
a:hover { color: var(--accent-hover); }
a:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: 1152px; margin: 0 auto; padding: 0 24px; }

.site-header {
  display: flex; flex-wrap: wrap; gap: 16px;
  align-items: center; justify-content: space-between;
  padding-top: 16px; padding-bottom: 16px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-heading); text-decoration: none;
  font-weight: 800; font-size: 16px; line-height: 20px;
}
.brand:hover { color: var(--text-heading); }
.brand svg rect { fill: var(--accent); }
.nav { display: flex; flex-wrap: wrap; gap: 4px; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  color: var(--text); text-decoration: none; font-size: 14px;
}
.nav a:hover { color: var(--text-heading); text-decoration: underline; }

.hero { max-width: 880px; margin: 0 auto; padding: 112px 24px 64px; text-align: center; }
h1 {
  margin: 0; color: var(--text-heading);
  font-size: 58px; line-height: 66px; font-weight: 800;
}
h1 .accent { color: var(--accent); }
.lede { margin: 24px auto 0; max-width: 600px; font-size: 20px; color: var(--text-subdued); }

.actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.button {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 20px;
  border-radius: 20px; text-decoration: none; font-weight: 700; font-size: 16px;
}
.button.primary { background: var(--accent); color: var(--on-accent); }
.button.primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.button.secondary { border: 2px solid var(--text); color: var(--text); }
.button.secondary:hover { background: var(--bg-layer-1); color: var(--text-heading); }

.products { padding-top: 32px; padding-bottom: 120px; }
.showcase {
  background: var(--bg-layer-1); border-radius: 16px; padding: 72px 24px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.showcase svg { width: 280px; max-width: 100%; height: auto; }
.rings path { fill: none; }
.rings .r1 { stroke: var(--ring-1); }
.rings .r2 { stroke: var(--ring-2); }
.rings .r3 { stroke: var(--ring-3); }
.rings .ra { stroke: var(--accent); }
.rings .pith { fill: var(--ring-3); }
.category { margin: 48px 0 0; font-size: 14px; line-height: 18px; font-weight: 500; color: var(--text-subdued); }
h2 { margin: 0; color: var(--text-heading); font-weight: 800; }
.showcase h2 { margin-top: 8px; font-size: 45px; line-height: 52px; }
.tagline { margin: 16px auto 0; max-width: 560px; font-size: 20px; color: var(--text-subdued); }
.status {
  margin: 24px 0 0; display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; line-height: 18px; color: var(--text-subdued);
}
.status::before { content: ""; width: 8px; height: 8px; border-radius: 9999px; background: var(--notice); }
.more {
  margin-top: 16px; display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 700; text-decoration: none;
}

.about { padding-bottom: 120px; }
.about h2 { text-align: center; font-size: 36px; line-height: 42px; }
.principles {
  margin-top: 56px; display: grid; gap: 48px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
h3 { margin: 0; color: var(--text-heading); font-size: 18px; line-height: 22px; font-weight: 700; }
.principles p { margin: 8px 0 0; color: var(--text-subdued); }

.site-footer { border-top: 1px solid var(--border); }
.site-footer .wrap {
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  padding-top: 24px; padding-bottom: 24px;
  font-size: 12px; line-height: 18px; color: var(--text-subdued);
}
.site-footer a { color: var(--text-subdued); }

.not-found { max-width: 640px; margin: 0 auto; padding: 160px 24px; text-align: center; }
.not-found h1 { font-size: 45px; line-height: 52px; }

@media (max-width: 640px) {
  .hero { padding-top: 64px; }
  h1 { font-size: 36px; line-height: 42px; }
  .lede, .tagline { font-size: 18px; }
  .showcase { padding: 48px 20px; }
  .showcase h2 { font-size: 36px; line-height: 42px; }
  .about h2 { font-size: 28px; line-height: 34px; }
  .principles { margin-top: 40px; gap: 32px; }
}
