:root {
  --primary: #6c5ce7;
  --primary-variant: #5a4ad1;
  --primary-soft: #eeebff;
  --secondary: #00cec9;
  --secondary-soft: #e0f8f7;
  --accent: #ff7675;
  --focus: #6c5ce7;
  --short-break: #00b894;
  --long-break: #0984e3;
  --bg: #f8f9fa;
  --surface: #ffffff;
  --card: #ffffff;
  --text: #2d3436;
  --muted: #636e72;
  --border: #eceef0;
  --shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  --nav-bg: rgba(255, 255, 255, 0.9);
  --ring: rgba(108, 92, 231, 0.18);
}

[data-theme="dark"] {
  --bg: #121212;
  --surface: #1e1e1e;
  --card: #252525;
  --text: #f5f6fa;
  --muted: #b2bec3;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: none;
  --nav-bg: rgba(18, 18, 18, 0.9);
  --primary-soft: #2c2459;
  --secondary-soft: #144d4b;
  --ring: rgba(108, 92, 231, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: "Funnel Sans", system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 420px at 0% -10%, rgba(108, 92, 231, 0.14), transparent 55%),
    radial-gradient(700px 360px at 100% 0%, rgba(0, 206, 201, 0.1), transparent 50%);
  z-index: 0;
}

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

a:hover {
  text-decoration: underline;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner,
.wrap,
.footer-inner {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

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

.brand:hover {
  text-decoration: none;
}

.logo {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(108, 92, 231, 0.32);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-family: "Host Grotesk", sans-serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.1;
}

.brand-sub {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.2;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-family: "Host Grotesk", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 12px;
  text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: var(--primary-soft);
  text-decoration: none;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  border-radius: 12px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.icon-btn:hover {
  border-color: var(--primary);
}

.contact-chip {
  display: none;
  align-items: center;
  gap: 8px;
  font-family: "Host Grotesk", sans-serif;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  text-decoration: none;
}

.contact-chip:hover {
  text-decoration: none;
  filter: brightness(0.97);
}

main {
  position: relative;
  z-index: 1;
  flex: 1;
  padding: 48px 0 80px;
}

.hero {
  padding-bottom: 36px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: "Host Grotesk", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid var(--ring);
  margin-bottom: 18px;
}

h1 {
  font-family: "Host Grotesk", sans-serif;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 0 0 14px;
}

.lede {
  max-width: 640px;
  font-size: 17px;
  color: var(--muted);
  margin: 0;
}

.meta {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
  font-family: "Host Grotesk", sans-serif;
  font-weight: 500;
}

.meta strong {
  color: var(--text);
}

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

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

.icon-box.purple { background: var(--primary-soft); color: var(--primary); }
.icon-box.teal { background: var(--secondary-soft); color: var(--short-break); }
.icon-box.blue { background: #e8f3fc; color: var(--long-break); }

[data-theme="dark"] .icon-box.blue {
  background: #12324a;
}

.card h3 {
  font-family: "Host Grotesk", sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.content h2 {
  font-family: "Host Grotesk", sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin: 40px 0 12px;
}

.content p,
.content li {
  color: var(--muted);
  font-size: 16px;
}

.content ul {
  padding-left: 22px;
}

.content li {
  margin: 8px 0;
}

.content strong {
  color: var(--text);
  font-weight: 600;
}

.contact-card {
  margin-top: 56px;
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.contact-card h2 {
  margin-top: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  padding: 12px 22px;
  border-radius: 12px;
  font-family: "Host Grotesk", sans-serif;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(108, 92, 231, 0.28);
}

.btn:hover {
  text-decoration: none;
  background: var(--primary-variant);
}

footer {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 28px 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-family: "Host Grotesk", sans-serif;
  font-weight: 700;
}

.footer-brand span {
  font-weight: 500;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  color: var(--muted);
  font-family: "Host Grotesk", sans-serif;
  font-weight: 600;
  font-size: 13px;
}

@media (max-width: 640px) {
  .brand-sub {
    display: none;
  }
}

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

  .contact-chip {
    display: inline-flex;
  }

  .footer-inner {
    flex-direction: row;
  }
}
