:root {
  --navy: #102a56;
  --ink: #16315f;
  --blue: #2f6bff;
  --blue-dark: #1f57e0;
  --muted: #5d6d88;
  --line: #e4ebf5;
  --bg: #f6f8fc;
  --green: #12b76a;
  --shadow: 0 20px 50px rgba(16, 42, 90, 0.1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }

a { color: var(--blue); text-decoration: none; }

h1, h2, h3 { color: var(--navy); letter-spacing: -0.03em; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(16, 42, 90, 0.06);
  backdrop-filter: blur(10px);
}

.navbar { padding: 0.85rem 0; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(160deg, #4c86ff, #2457e6);
}

.navbar-nav .nav-link {
  color: #3d4e6d;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
}

.navbar-nav .nav-link.is-active {
  color: var(--navy);
  box-shadow: inset 0 -2px 0 var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-login {
  color: var(--navy);
  font-weight: 700;
  padding: 0.55rem 0.4rem;
}

.btn-account,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.75rem 1.15rem;
  font-weight: 700;
  border: 0;
}

.btn-account {
  color: white;
  background: var(--blue);
  box-shadow: 0 8px 18px rgba(47, 107, 255, 0.28);
}

.btn-account:hover { background: var(--blue-dark); color: white; }

.btn-ghost {
  color: var(--blue);
  background: white;
  border: 1px solid #d5e3f7;
}

.hero { padding: 4.5rem 0 2rem; }

.eyebrow {
  margin: 0 0 0.8rem;
  color: #6a7c98;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 1rem;
}

.lead { color: var(--muted); font-size: 1.05rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0 1rem; }

.checks, .cta-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.2rem;
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
  color: #3e5274;
  font-weight: 600;
  font-size: 0.92rem;
}

.checks li::before, .cta-checks li::before {
  content: "✓ ";
  color: var(--green);
  font-weight: 800;
}

.hero-stage { position: relative; min-height: 460px; }

.dash {
  position: relative;
  margin-left: 7%;
  background: white;
  border: 1px solid #e7eef8;
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.dash-top, .dash-hello, .dash-sub, .dash-table-title { margin: 0; }

.dash-top {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-weight: 800;
  font-size: 0.85rem;
}

.dash-shop {
  font-weight: 600;
  color: var(--muted);
}

.dash-body { display: grid; grid-template-columns: 132px 1fr; min-height: 340px; }

.dash-nav {
  list-style: none;
  margin: 0;
  padding: 0.8rem 0.55rem;
  background: #f8fbff;
  border-right: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 700;
  color: #607089;
}

.dash-nav li { padding: 0.45rem 0.55rem; border-radius: 8px; }

.dash-nav .is-on { background: #e8f0ff; color: var(--blue); }

.dash-main { padding: 1rem 1rem 0.6rem; }

.dash-hello { font-weight: 800; color: var(--navy); }

.dash-sub, .dash-stats span, .dash-table-title, .dash-orders { color: var(--muted); font-size: 0.75rem; }

.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin: 0.8rem 0;
}

.dash-stats div {
  background: #f5f8fd;
  border-radius: 12px;
  padding: 0.55rem 0.6rem;
}

.dash-stats strong { display: block; color: var(--navy); font-size: 1rem; }

.dash-stats em { color: var(--green); font-style: normal; font-weight: 700; font-size: 0.72rem; }

.dash-orders { list-style: none; margin: 0.4rem 0 0; padding: 0; }

.dash-orders li {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 0.4rem;
  padding: 0.28rem 0;
  border-top: 1px solid #f0f4fa;
}

.dash-orders b { color: var(--navy); }

.float-product, .float-sales, .scribble {
  position: absolute;
  z-index: 2;
}

.float-product {
  left: 0;
  bottom: 28px;
  width: 168px;
  background: white;
  border-radius: 16px;
  padding: 0.7rem;
  box-shadow: var(--shadow);
}

.float-product img { height: 120px; width: 100%; object-fit: cover; border-radius: 10px; }

.float-product h3 { font-size: 0.92rem; margin: 0.55rem 0; }

.mini-cart {
  display: block;
  text-align: center;
  background: var(--blue);
  color: white;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.5rem;
}

.float-sales {
  right: 0;
  top: 18px;
  background: white;
  border-radius: 16px;
  padding: 0.75rem 0.9rem;
  box-shadow: var(--shadow);
  min-width: 132px;
}

.float-sales p { margin: 0; color: var(--muted); font-size: 0.75rem; }

.float-sales strong { display: block; color: var(--navy); font-size: 1.35rem; }

.float-sales span { color: var(--green); font-weight: 800; font-size: 0.85rem; }

.scribble {
  right: 8px;
  bottom: -6px;
  margin: 0;
  color: var(--blue);
  font-family: Caveat, cursive;
  font-size: 1.7rem;
  line-height: 1;
  transform: rotate(-6deg);
}

.scribble-inline {
  position: static;
  display: inline-block;
  margin-top: 0.5rem;
  transform: rotate(-4deg);
}

.categories { padding: 1.5rem 0 0.5rem; }

.categories ul {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.8rem;
  list-style: none;
  margin: 0;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.categories li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.92rem;
}

.cat-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #eaf1ff;
  color: var(--blue);
}

.cat-icon svg { width: 20px; height: 20px; }

.steps, .why, .blog-teaser, .blog-page, .pricing, .contact, .article { padding: 4rem 0; }

.steps h2, .why h2, .blog-teaser h2, .page-hero h1, .article h1 {
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.step-grid, .why-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.step-grid { grid-template-columns: repeat(3, 1fr); }

.step-grid article span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e8f0ff;
  color: var(--blue);
  font-weight: 800;
}

.step-grid h3, .why-grid h3, .post-card h3, .plan h2 { margin: 0.6rem 0 0.25rem; }

.step-grid p, .why-grid p, .plan > p, .join-card p { color: var(--muted); }

.join-card {
  background: white;
  border-radius: 20px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
  height: 100%;
}

.avatars { display: flex; align-items: center; }

.avatars span, .avatars strong {
  width: 36px;
  height: 36px;
  margin-left: -8px;
  border: 2px solid white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #dbe7ff;
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 800;
}

.avatars span:first-child { margin-left: 0; }

.avatars strong {
  width: auto;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: #e9fbf2;
  color: #067647;
}

.why-grid { grid-template-columns: repeat(5, 1fr); }

.why-icon { font-size: 1.4rem; color: var(--blue); }

.section-lead { color: var(--muted); margin-bottom: 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.text-link { font-weight: 700; white-space: nowrap; }

.post-card {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(16, 42, 90, 0.06);
  height: 100%;
  padding-bottom: 1rem;
}

.post-cover img, .article-cover {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.post-card .post-date, .post-card h3, .post-card .text-link { padding: 0 1rem; }

.post-card h3 { font-size: 1.05rem; }

.post-card h3 a { color: var(--navy); }

.post-date { color: var(--muted); font-size: 0.85rem; margin: 0.8rem 0 0.2rem; }

.page-hero { padding: 3.5rem 0 0.5rem; }

.page-hero .lead { max-width: 640px; }

.plan { margin-bottom: 2rem; }

.offer {
  background: white;
  border-radius: 18px;
  padding: 1.4rem;
  text-align: center;
  box-shadow: var(--shadow);
  margin-top: 0.8rem;
}

.offer h3 { font-size: 1.8rem; margin-bottom: 0.2rem; }

.offer-period { color: var(--muted); margin-bottom: 1rem; }

.offer .btn-account { width: 100%; justify-content: center; }

.offer-login { margin: 0.8rem 0 0; color: var(--muted); font-size: 0.92rem; }

.contact-card, .contact-form, .sent-note {
  background: white;
  border-radius: 18px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.contact-form label { display: block; font-weight: 700; margin-bottom: 0.35rem; color: var(--navy); }

.contact-form .form-control {
  border-radius: 12px;
  border-color: #d7e2f2;
  padding: 0.7rem 0.8rem;
}

.field-error { color: #b42318; font-size: 0.85rem; }

.article .narrow { max-width: 760px; }

.article-cover { height: 360px; border-radius: 18px; margin: 1rem 0 1.4rem; }

.article p { font-size: 1.05rem; color: #31486f; }

.cta-band {
  background:
    radial-gradient(circle at 12% 20%, rgba(79, 132, 255, 0.45), transparent 28%),
    radial-gradient(circle at 90% 80%, rgba(56, 189, 248, 0.25), transparent 24%),
    #0d2454;
  color: white;
  padding: 3.2rem 0;
}

.cta-band h2, .cta-kicker { color: white; }

.cta-kicker {
  margin: 0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
}

.cta-band p { color: #d5e2f7; }

.btn-account-light { background: white; color: var(--navy); box-shadow: none; }

.btn-account-light:hover { background: #f3f7ff; color: var(--navy); }

.cta-checks { justify-content: flex-end; margin-top: 0.9rem; color: white; }

.site-footer {
  background: #091833;
  color: #c9d5ea;
  padding: 1.3rem 0;
}

.brand-light, .footer-links a, .site-footer p { color: #d5e1f4; }

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

section[id] { scroll-margin-top: 90px; }

@media (max-width: 991px) {
  .header-actions { margin: 0.8rem 0 0.4rem; }
  .categories ul, .why-grid { grid-template-columns: 1fr 1fr; }
  .step-grid { grid-template-columns: 1fr; }
  .dash-body { grid-template-columns: 1fr; }
  .dash-nav { display: flex; gap: 0.2rem; overflow: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .float-product, .float-sales { position: static; width: auto; margin-top: 0.8rem; }
  .hero-stage { min-height: 0; }
  .scribble { position: static; display: block; margin-top: 0.6rem; }
  .dash { margin-left: 0; }
  .cta-checks { justify-content: flex-start; }
  .section-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 575px) {
  .categories ul, .why-grid { grid-template-columns: 1fr; }
  .dash-stats, .dash-orders li { grid-template-columns: 1fr; }
}
