:root {
  --bg-start: #f7fbff;
  --bg-end: #eef6ff;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --primary: #0d6efd;
  --primary-strong: #0959cc;
  --border: #dbeafe;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, #dbeafe 0%, transparent 35%),
    radial-gradient(circle at 90% 90%, #bfdbfe 0%, transparent 35%),
    linear-gradient(135deg, var(--bg-start), var(--bg-end));
}

.page {
  width: min(920px, 92vw);
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 18px 40px rgba(13, 110, 253, 0.12);
}

.hero-card {
  position: relative;
}

.brand-row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.85rem;
  margin-bottom: 0.9rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  min-height: 96px;
}

.hero-icon {
  width: 96px;
  height: 96px;
  min-width: 96px;
  border-radius: 22px;
  border: 0;
  box-shadow: none;
  object-fit: cover;
}

.hero-subtitle {
  margin: 0;
  color: #2563eb;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 0.8rem;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

h2 {
  margin-top: 1.8rem;
  font-size: 1.3rem;
}

h3 {
  margin-top: 1.2rem;
  font-size: 1.03rem;
}

.hero-card .brand-title {
  margin: 0;
  font-size: clamp(1.95rem, 3.9vw, 2.35rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}

p,
li {
  color: var(--muted);
}

ul {
  padding-left: 1.3rem;
}

.lead {
  font-size: 1.05rem;
}

.tag {
  display: inline-block;
  margin-bottom: 0.8rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1e3a8a;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.stacked {
  margin-top: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.feature-item {
  padding: 0.8rem;
  background: #f8fbff;
  border: 1px solid #dbeafe;
  border-radius: 14px;
}

.art-track {
  display: flex;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0.3rem 0 0.5rem;
  overflow-x: auto;
  scrollbar-width: thin;
}

.art-card {
  flex: 0 0 156px;
}

.art-figure {
  margin: 0;
  position: relative;
  border-radius: 22px;
  padding: 8px;
  border: 1px solid #dbeafe;
  background: linear-gradient(180deg, #f7fbff, #eff6ff);
  box-shadow: 0 10px 26px rgba(13, 110, 253, 0.14);
}

.art-figure img {
  width: 100%;
  display: block;
  border-radius: 16px;
  aspect-ratio: 1242 / 2688;
  object-fit: cover;
}

.button {
  display: inline-block;
  text-decoration: none;
  border-radius: 12px;
  padding: 0.75rem 1.05rem;
  font-weight: 600;
  transition: transform 120ms ease, background-color 120ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: var(--primary);
}

.button-primary:hover {
  background: var(--primary-strong);
}

.button-ghost {
  color: #1e3a8a;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.legal-meta {
  color: #334155;
  font-size: 0.95rem;
}

.top-nav {
  margin-bottom: 1.2rem;
}

.top-nav a {
  color: #1e3a8a;
  text-decoration: none;
  font-weight: 600;
}

.top-nav a:hover {
  text-decoration: underline;
}

.footer-links {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #1e3a8a;
  text-decoration: none;
}

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

@media (max-width: 640px) {
  .card {
    padding: 1.4rem;
    border-radius: 16px;
  }

  .hero-icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
  }

  .hero-card .brand-title {
    font-size: 1.8rem;
  }

  .brand-text {
    min-height: 80px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .art-card {
    flex-basis: 136px;
  }
}
