:root {
  --bg: #f1f1f4;
  --surface: #ffffff;
  --surface-raised: #e6e5eb;
  --line: #d2d1d9;
  --text: #16141b;
  --text-muted: #5d5a66;
  --text-subtle: #6e6b78;
  --ink: #16141b;
  --on-ink: #ffffff;
  --focus: #a48fff;
  --danger: #d23a3a;
  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --content: 720px;
  --radius: 18px;
  --radius-xl: 30px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141219;
    --surface: #1e1b24;
    --surface-raised: #2a2631;
    --line: #3a3542;
    --text: #f5f3f0;
    --text-muted: #aba7b3;
    --text-subtle: #8f8b98;
    --ink: #f5f3f0;
    --on-ink: #16141b;
    --focus: #a48fff;
    --danger: #ff7a7a;
    color-scheme: dark;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 21px;
}

.wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: var(--content);
  margin: 0 auto;
  padding: 24px 20px 32px;
}

main {
  flex: 1;
  padding: 48px 0 40px;
}

h1,
h2,
.brand-name,
.product-name,
.app-name {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.5px;
}

h1 {
  margin: 0;
  font-size: 30px;
  line-height: 34px;
}

h2 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 700;
  line-height: 26px;
  letter-spacing: -0.3px;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--text);
}

a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: #a98bff;
  color: #16141b;
}

.site-header {
  display: flex;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand-name {
  font-size: 18px;
  line-height: 1;
  letter-spacing: -0.3px;
}

.mark {
  display: block;
  width: 28px;
  height: 28px;
  flex: none;
}

.intro {
  max-width: 16ch;
}

.product {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
}

.product:hover {
  background: var(--surface-raised);
}

.product-name {
  font-size: 22px;
  line-height: 26px;
  letter-spacing: -0.3px;
}

.product-go {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  color: var(--text-muted);
}

.tagline {
  margin-top: 12px;
  max-width: 28ch;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 26px;
}

.badge-slot {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 148px;
  min-height: 48px;
  margin-top: 28px;
  padding: 8px 16px 9px;
  background: var(--ink);
  color: var(--on-ink);
  border-radius: 10px;
}

.badge-kicker {
  font-size: 10px;
  font-weight: 500;
  line-height: 12px;
  letter-spacing: 0.01em;
}

.badge-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: -0.3px;
}

.badge-note {
  margin-top: 8px;
  color: var(--text-subtle);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}

.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 32px;
}

.page-links a {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
}

.updated,
.contact {
  color: var(--text-muted);
}

.updated {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
}

.legal {
  margin-top: 28px;
  font-size: 17px;
  line-height: 1.65;
}

.legal h2 {
  margin-top: 32px;
}

.legal p + p,
.legal ul + p,
.legal p + ul {
  margin-top: 1em;
}

.legal ul {
  margin: 0;
  padding-left: 1.25em;
}

.legal li + li {
  margin-top: 0.35em;
}

.legal a {
  color: var(--text);
}

.contact {
  margin-top: 32px;
  font-size: 15px;
  line-height: 21px;
}

.contact a,
.faq a,
.site-footer a {
  color: var(--text);
}

.faq {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.faq p {
  color: var(--text-muted);
}

.back {
  display: inline-flex;
  margin-top: 24px;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--on-ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  text-decoration: none;
}

.back:hover {
  color: var(--on-ink);
  opacity: 0.88;
}

.site-footer {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--text-subtle);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .wrap {
    padding: 20px 16px 28px;
  }

  main {
    padding-top: 36px;
  }

  h1 {
    font-size: 28px;
    line-height: 32px;
  }
}
