@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  color-scheme: light;
  --bg: #f6f1e9;
  --surface: #ffffff;
  --ink: #0b1324;
  --muted: #5a6474;
  --accent: #ff6b4a;
  --accent-strong: #e3502f;
  --border: #e5ded2;
  --shadow: 0 28px 60px rgba(11, 19, 36, 0.18);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at calc(15% + var(--bg-shift-x, 0px)) calc(20% + var(--bg-shift-y, 0px)), rgba(255, 107, 74, 0.2), transparent 40%),
    radial-gradient(circle at calc(85% - var(--bg-shift-x, 0px)) calc(0% + var(--bg-shift-y, 0px)), rgba(6, 116, 140, 0.18), transparent 45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(246, 241, 233, 0.3));
  z-index: -2;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent-strong);
}

h1,
h2,
h3,
h4 {
  font-family: "Fraunces", serif;
  margin: 0 0 0.6rem 0;
  line-height: 1.1;
}

p {
  margin: 0 0 1rem 0;
  color: var(--muted);
}

.container {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 241, 233, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  border-color: var(--border);
  background: rgba(246, 241, 233, 0.92);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav__brand img {
  height: 48px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.nav__cta {
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(255, 107, 74, 0.35);
}

.nav__cta:hover {
  color: #fff;
  background: var(--accent-strong);
}

.nav__toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 1.6rem;
}

.hero {
  padding: 5rem 0 3.5rem;
}

.hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.85rem;
  border: 1px solid var(--border);
}

.hero__title {
  font-size: clamp(2.4rem, 2.2vw + 2rem, 4rem);
}

.hero__title span {
  color: var(--accent-strong);
}

.hero__subtitle {
  font-size: 1.1rem;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.hero__actions--with-award {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 1.2rem;
}

.hero__actions-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__award {
  width: 130px;
  height: 130px;
  object-fit: contain;
  display: block;
  justify-self: end;
  align-self: start;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 18px 30px rgba(255, 107, 74, 0.35);
}

.button--primary:hover {
  transform: translateY(-2px);
  color: #fff;
}

.button--ghost {
  border-color: var(--border);
  background: #fff;
  color: var(--ink);
}

.hero__stack {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: auto;
  perspective: 1000px;
}

.hero__stack img {
  position: relative;
  width: min(220px, 36vw);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.hero__stack img:nth-child(1) {
  z-index: 2;
}

.hero__stack img:nth-child(2) {
  z-index: 3;
}

.hero__stack img:nth-child(3) {
  display: none;
}

.section {
  padding: 4rem 0;
}


.section--surface {
  background: var(--surface);
  border-radius: 48px 48px 0 0;
  margin-top: 2rem;
  box-shadow: 0 -30px 80px rgba(11, 19, 36, 0.08);
}

.section__header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--border);
  min-height: 170px;
}

.feature-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(255, 107, 74, 0.15);
  color: var(--accent-strong);
  font-weight: 700;
  margin-bottom: 1rem;
}

.split {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0 0;
  display: grid;
  gap: 0.6rem;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.checklist li.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--reveal-delay, 0s);
}

.checklist li::before {
  content: "✓";
  color: var(--accent-strong);
  font-weight: 700;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.partner-card {
  background: #fff;
  padding: 1.8rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  display: grid;
  gap: 1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.partner-card img {
  max-height: 70px;
  object-fit: contain;
}

.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px rgba(11, 19, 36, 0.18);
}

.portal-image {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.pricing-card {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: grid;
  gap: 1.2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px rgba(11, 19, 36, 0.18);
}

.pricing-card__price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--ink);
}

.pricing-card__note {
  color: var(--muted);
  font-size: 0.9rem;
}

.pricing-card .button {
  width: 100%;
}

.footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
}

.footer a {
  color: inherit;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 320px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px rgba(11, 19, 36, 0.18);
}

.blog-card__image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.blog-card__content {
  padding: 1.5rem;
  display: grid;
  gap: 0.8rem;
}

.blog-card__date {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  color: var(--muted);
}

.blog-card__link {
  font-weight: 600;
  color: var(--accent-strong);
}

.article-hero {
  padding: 4.5rem 0 2.5rem;
}

.article {
  background: #fff;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.article img {
  border-radius: var(--radius-md);
}

.article h1,
.article h2,
.article h3 {
  color: var(--ink);
}

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

.legal {
  background: #fff;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.legal h1,
.legal h2,
.legal h3 {
  color: var(--ink);
}

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

.legal a {
  color: var(--accent-strong);
}

.legal ul,
.legal ol {
  color: var(--muted);
  padding-left: 1.2rem;
}

[data-animate] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--reveal-delay, 0s);
}


@media (max-width: 860px) {
  .nav__links {
    position: absolute;
    top: 76px;
    right: 1rem;
    left: 1rem;
    flex-direction: column;
    background: #fff;
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: none;
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .hero__stack {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0.5rem 0;
    overflow: hidden;
  }

  .hero__stack img {
    position: relative;
    width: min(180px, 52vw);
    margin-left: -2.5rem;
  }

  .hero__stack img:first-child {
    margin-left: 0;
  }

  .hero__stack img:nth-child(3) {
    display: none;
  }

  .hero__actions--with-award {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .hero__award {
    width: 120px;
    height: 120px;
    justify-self: end;
  }

  .hero__actions-group {
    gap: 0.9rem;
  }

  .split--mobile-stack {
    display: flex;
    flex-direction: column;
  }

  .split--mobile-stack .split__media {
    order: 2;
  }

  .split--mobile-stack .split__content {
    order: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
