:root {
  --ink: #17172f;
  --muted: #687190;
  --purple: #735cff;
  --purple-deep: #4f3bb5;
  --blue: #63cfff;
  --gold: #f4b52b;
  --paper: rgba(255, 255, 255, 0.86);
  --line: rgba(96, 105, 160, 0.18);
  --shadow: 0 24px 70px rgba(49, 52, 105, 0.14);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(244, 181, 43, 0.2), transparent 24rem),
    radial-gradient(circle at 92% 10%, rgba(115, 92, 255, 0.2), transparent 28rem),
    linear-gradient(145deg, #f1fbff, #faf6ff 52%, #ffffff);
}

a { color: inherit; }

.page-shell {
  width: min(1060px, calc(100% - 34px));
  margin: 0 auto;
  padding: 22px 0 56px;
}

.site-header,
.hero,
.content-card,
.cta-card {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: var(--paper);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: 24px;
  padding: 12px 14px;
}

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

.brand img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
}

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

.brand small {
  color: var(--muted);
  font-weight: 800;
}

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

.nav a {
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--muted);
  font-weight: 850;
  text-decoration: none;
}

.nav a:hover {
  color: var(--purple-deep);
  background: white;
}

.hero {
  margin-top: 24px;
  border-radius: 30px;
  padding: clamp(26px, 5vw, 54px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--purple-deep);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
  font-weight: 780;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 999px;
  padding: 0 22px;
  color: #342400;
  background: linear-gradient(135deg, #fff08f, var(--gold));
  box-shadow: 0 18px 38px rgba(242, 169, 30, 0.3);
  font-weight: 950;
  text-decoration: none;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 0.36fr;
  gap: 18px;
  margin-top: 18px;
  align-items: start;
}

.content-card,
.cta-card {
  border-radius: 26px;
  padding: clamp(22px, 4vw, 34px);
}

.content-card h2,
.content-card h3,
.cta-card h2 {
  margin-top: 0;
}

.content-card p,
.content-card li {
  color: #333954;
  font-size: 1.04rem;
  line-height: 1.75;
  font-weight: 650;
}

.content-card ul,
.content-card ol {
  padding-left: 1.25rem;
}

.tip {
  border-left: 5px solid var(--gold);
  border-radius: 18px;
  padding: 16px 18px;
  background: rgba(244, 181, 43, 0.12);
  font-weight: 850;
}

.cta-card {
  position: sticky;
  top: 110px;
}

.cta-card p {
  color: var(--muted);
  line-height: 1.55;
  font-weight: 760;
}

.related {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.related a {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--purple-deep);
  font-weight: 900;
  text-decoration: none;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  color: var(--muted);
  font-weight: 760;
}

.footer a {
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 860px) {
  .site-header,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .cta-card {
    position: static;
  }
}
