/* Devhoot — light, clear, luxury simplicity */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #ffffff;
  --bg-soft: #f6f9fb;
  --surface: #ffffff;
  --navy: #0f1c2e;
  --navy-soft: #1a2d45;
  --text: var(--navy);
  --text-muted: #5a6b7d;
  --teal: #00b0ca;
  --teal-dark: #0097b2;
  --teal-soft: rgba(0, 176, 202, 0.1);
  --border: rgba(15, 28, 46, 0.08);
  --shadow-soft: 0 4px 24px rgba(15, 28, 46, 0.06);
  --shadow-lift: 0 12px 40px rgba(15, 28, 46, 0.1);
  --shadow-brutal: 4px 4px 0 var(--navy);
  --radius: 20px;
  --radius-sm: 12px;
  --max: 1100px;
  --header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-timeline: --page block;
  }
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Subtle ambient wash — no floating orbs */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 45% at 100% 0%, rgba(0, 176, 202, 0.05), transparent 55%),
    radial-gradient(ellipse 40% 35% at 0% 100%, rgba(0, 151, 178, 0.04), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

a {
  color: var(--teal-dark);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--teal);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  color: var(--navy);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.logo-link:hover {
  color: var(--navy);
  opacity: 0.88;
  text-decoration: none;
}

.logo-link__mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.logo-link:hover .logo-link__mark {
  transform: rotate(-6deg) scale(1.04);
}

.nav-toggle {
  display: none;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--navy);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.nav-toggle:hover {
  background: var(--bg-soft);
  border-color: rgba(15, 28, 46, 0.15);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.site-nav a {
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--navy);
  background: var(--teal-soft);
  text-decoration: none;
}

.site-nav .nav-cta {
  margin-left: 0.35rem;
  background: var(--teal);
  color: #fff;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.site-nav .nav-cta:hover {
  background: var(--teal-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lift);
}

/* Main */
main {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

/* Hero — LinkedIn banner */
.hero {
  position: relative;
  padding: 2.5rem 0 3.5rem;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-bottom: 2rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  box-shadow: var(--shadow-brutal);
}

.hero__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero__grid {
    grid-template-columns: 1fr auto;
    gap: 2.5rem;
  }
}

.hero__content {
  position: relative;
}

.hero__line {
  position: absolute;
  left: -1.25rem;
  top: 42%;
  width: calc(100% + 2.5rem);
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--teal) 8%,
    var(--teal) 72%,
    transparent 100%
  );
  z-index: -1;
  opacity: 0.5;
}

@media (min-width: 768px) {
  .hero__line {
    left: -4rem;
    width: calc(100% + 6rem);
  }
}

.hero h1 {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 0 0 0.75rem;
}

.hero h1 .navy {
  color: var(--navy);
}

.hero h1 .teal {
  color: var(--teal);
  font-weight: 700;
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 700;
  color: var(--teal);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.hero__tagline {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 1.5rem;
}

.hero__lead {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 0 2rem;
  line-height: 1.75;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__logo-wrap {
  position: relative;
  width: min(220px, 70vw);
  aspect-ratio: 1;
}

.hero__logo-wrap::before {
  content: "";
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 176, 202, 0.18), transparent 68%);
  pointer-events: none;
}

.hero__logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0, 176, 202, 0.15));
  transition: transform 0.5s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.hero__logo-wrap:hover img {
  transform: scale(1.03);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn--primary {
  background: var(--teal);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn--primary:hover {
  background: var(--teal-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lift);
}

.btn--ghost {
  background: var(--bg);
  color: var(--navy);
  border-color: rgba(15, 28, 46, 0.2);
}

.btn--ghost:hover {
  background: var(--bg-soft);
  color: var(--navy);
  border-color: rgba(15, 28, 46, 0.3);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    animation: reveal-up linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 25%;
  }
}

@keyframes reveal-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.section {
  margin-top: 3.5rem;
}

.section__head {
  margin-bottom: 1.5rem;
}

.section__head h2 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.35rem;
  color: var(--navy);
}

.section__head h2 .teal {
  color: var(--teal);
}

.section__head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
  max-width: 40rem;
  line-height: 1.65;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Cards */
.card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.card--featured {
  background: linear-gradient(160deg, #fff 0%, var(--bg-soft) 100%);
}

.card__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-dark);
  background: var(--teal-soft);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.card ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.card li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Steps */
.steps {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.steps__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.steps__num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  background: var(--teal);
  border-radius: 50%;
}

.steps__item strong {
  display: block;
  color: var(--navy);
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.steps__item p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 2rem 1.25rem;
  margin-top: 3rem;
  background: var(--bg);
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.site-footer a {
  color: var(--text-muted);
}

.site-footer a:hover {
  color: var(--teal-dark);
}

/* Legal */
.legal-page {
  padding-top: 2rem;
}

.legal-page h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
  color: var(--navy);
}

.legal-page .updated {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: var(--teal-dark);
}

.legal-page p,
.legal-page li {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.legal-page strong {
  color: var(--navy);
}

.legal-page ul {
  padding-left: 1.25rem;
}

.legal-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal-dark);
}

/* Mobile */
@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1rem;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    display: none;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.75rem 1rem;
  }

  .site-nav .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .hero__tags {
    justify-content: flex-start;
    margin-bottom: 1.5rem;
  }

  .hero {
    padding: 1.75rem 0 2.5rem;
  }

  .hero__visual {
    order: -1;
  }

  .hero__logo-wrap {
    width: 140px;
  }

  .hero__actions,
  .card__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .section {
    margin-top: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
