:root {
  color-scheme: light;
  --color-bg: #fbfaff;
  --color-panel: #ffffff;
  --color-ink: #1d213d;
  --color-muted: #777f9b;
  --color-soft: #a5a8bb;
  --color-line: #e7e3f2;
  --color-primary: #7657e6;
  --color-primary-dark: #5133c4;
  --color-primary-deep: #35206f;
  --color-purple-soft: #f2edff;
  --color-purple-ghost: #f8f5ff;
  --color-green: #16a45b;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --shadow-card: 0 22px 50px rgba(55, 43, 113, 0.09), 0 2px 8px rgba(55, 43, 113, 0.04);
  --shadow-soft: 0 12px 28px rgba(74, 61, 132, 0.08);
  --shadow-purple: 0 16px 30px rgba(93, 59, 210, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  --gradient-primary: linear-gradient(135deg, #9074f0 0%, #6b49db 52%, #4f30bd 100%);
  --gradient-soft: linear-gradient(135deg, #f8f5ff 0%, #ffffff 58%, #f3efff 100%);
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  margin: 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--color-bg) 42%, #f7f4ff 100%);
  color: var(--color-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.58;
}

a {
  color: var(--color-primary-dark);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.page {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 28px;
}

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

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 21px;
  line-height: 1.05;
}

.brand small,
.meta,
.lead,
.footer {
  color: var(--color-muted);
}

.brand small {
  font-size: 12.5px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 18px;
  background: var(--gradient-primary);
  box-shadow: var(--shadow-purple);
}

.brand-paw {
  position: relative;
  display: block;
  width: 31px;
  height: 29px;
  transform: rotate(-10deg);
}

.brand-paw i {
  position: absolute;
  display: block;
  background: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.brand-paw i:nth-child(1) {
  left: 10px;
  bottom: 0;
  width: 16px;
  height: 15px;
  border-radius: 48% 48% 56% 54%;
}

.brand-paw i:nth-child(2),
.brand-paw i:nth-child(3),
.brand-paw i:nth-child(4),
.brand-paw i:nth-child(5) {
  width: 8px;
  height: 11px;
  border-radius: 999px;
}

.brand-paw i:nth-child(2) {
  left: 0;
  top: 10px;
  transform: rotate(-25deg);
}

.brand-paw i:nth-child(3) {
  left: 8px;
  top: 2px;
  transform: rotate(-10deg);
}

.brand-paw i:nth-child(4) {
  left: 19px;
  top: 1px;
  transform: rotate(12deg);
}

.brand-paw i:nth-child(5) {
  right: 0;
  top: 9px;
  transform: rotate(28deg);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  font-size: 14px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 15px;
  color: var(--color-muted);
  font-weight: 820;
  text-decoration: none;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.nav a[aria-current="page"],
.nav a:hover {
  border-color: rgba(118, 87, 230, 0.08);
  background: linear-gradient(135deg, #f3edff, #ebe4ff);
  color: var(--color-primary-dark);
}

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

.hero,
.card,
.section.panel,
.callout {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(254, 253, 255, 0.94));
  box-shadow: var(--shadow-card);
}

.hero {
  padding: 38px;
}

.hero-home {
  padding-bottom: 42px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.12;
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(32px, 4vw, 52px);
}

h2 {
  margin-bottom: 12px;
  font-size: 21px;
}

p {
  margin: 0 0 14px;
}

.lead {
  max-width: 760px;
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.58;
}

.meta {
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 760;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--gradient-primary);
  box-shadow: var(--shadow-purple);
  color: #fff;
  font-weight: 860;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.button.secondary {
  border-color: rgba(118, 87, 230, 0.46);
  background: linear-gradient(180deg, #fff, #fbf9ff);
  box-shadow: 0 10px 24px rgba(68, 54, 132, 0.06);
  color: var(--color-primary-dark);
}

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

.section {
  padding: 30px 0;
}

.section:not(.callout) {
  max-width: 840px;
}

.callout {
  margin: 28px 0 0;
  padding: 26px;
  background: linear-gradient(135deg, #f1fff7, #ffffff 58%, #f8f5ff 100%);
}

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 28px 0 12px;
}

.card {
  padding: 24px;
}

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

ul {
  margin: 10px 0 0 22px;
  padding: 0;
}

li {
  margin: 6px 0;
}

.footer {
  margin-top: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--color-line);
  font-size: 14px;
}

@media (max-width: 820px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    padding: 28px 22px;
  }

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