:root {
  --fg: #111;
  --muted: #666;
  --border: #e5e5e5;
  --bg: #ffffff;
  --card: #fafafa;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
}

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

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

nav a {
  text-decoration: none;
  color: var(--fg);
  margin-left: 16px;
}

nav a.muted {
  color: var(--muted);
}

h1 {
  font-size: 34px;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 22px;
  margin-top: 32px;
  margin-bottom: 8px;
}

h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

p {
  margin-top: 0;
  margin-bottom: 14px;
}

.lead {
  font-size: 18px;
  color: var(--muted);
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 20px;
}

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

@media (min-width: 720px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }
}

.muted {
  color: var(--muted);
}

.btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--fg);
  color: var(--fg);
  text-decoration: none;
  font-weight: 600;
}

footer {
  margin-top: 40px;
  font-size: 14px;
  color: var(--muted);
}
/* DecFrame identity */
.brandlock {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brandmark {
  width: 22px;
  height: 22px;
  display: inline-block;
}

.brandname {
  font-weight: 750;
  letter-spacing: -0.04em;
  font-size: 18px;
}

.brandlock:hover .brandname {
  text-decoration: underline;
  text-underline-offset: 4px;
}
