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

:root {
  --as-primary: #1a9b4b;
  --as-primary-dark: #137a3a;
  --as-primary-soft: #e9f6ef;
  --as-mint: #f2faf5;
  --as-ink: #14231a;
  --as-muted: #5f6f66;
  --as-line: rgba(26, 155, 75, 0.14);
  --as-white: #ffffff;
  --as-shadow: 0 18px 50px rgba(19, 122, 58, 0.12);
  --as-radius: 22px;
  --as-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body.as-site {
  margin: 0;
  color: var(--as-ink);
  font-family: "Manrope", system-ui, sans-serif;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(26, 155, 75, 0.16), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(52, 199, 89, 0.12), transparent 55%),
    linear-gradient(180deg, #f7fcf8 0%, #eef6f1 48%, #f5f7fa 100%);
  min-height: 100vh;
}

body.as-site .wrapper {
  background: transparent;
}

body.as-site .content-wrapper {
  background: transparent !important;
}

/* Nav */
.as-site .main-header.navbar {
  background: rgba(255, 255, 255, 0.86) !important;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--as-line) !important;
  box-shadow: 0 8px 30px rgba(20, 35, 26, 0.04);
  padding: 0.55rem 0;
}

.as-site .navbar-brand {
  display: inline-flex;
  align-items: center;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.as-site .navbar-brand .brand-logo {
  height: 52px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}

.as-site .navbar-nav .nav-link {
  color: var(--as-muted) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.55rem 0.9rem !important;
  border-radius: 999px;
  transition: color 0.2s var(--as-ease), background 0.2s var(--as-ease);
}

.as-site .navbar-nav .nav-link:hover,
.as-site .navbar-nav .nav-link.active {
  color: var(--as-primary-dark) !important;
  background: var(--as-primary-soft);
}

.as-site .navbar-toggler {
  border: 1px solid var(--as-line);
  border-radius: 12px;
}

/* Buttons */
.as-site .btn-as-primary {
  background: var(--as-primary);
  border: 0;
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.75rem 1.4rem;
  box-shadow: 0 10px 24px rgba(26, 155, 75, 0.28);
  transition: transform 0.2s var(--as-ease), background 0.2s var(--as-ease), box-shadow 0.2s var(--as-ease);
}

.as-site .btn-as-primary:hover {
  background: var(--as-primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(19, 122, 58, 0.32);
}

.as-site .btn-as-ghost {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.75rem 1.4rem;
  transition: background 0.2s var(--as-ease), transform 0.2s var(--as-ease);
}

.as-site .btn-as-ghost:hover {
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
  transform: translateY(-1px);
}

.as-site .btn-as-outline {
  background: #fff;
  border: 1px solid var(--as-line);
  color: var(--as-primary-dark);
  font-weight: 700;
  border-radius: 999px;
  padding: 0.75rem 1.4rem;
}

.as-site .btn-as-outline:hover {
  background: var(--as-primary-soft);
  color: var(--as-primary-dark);
}

.text-as-primary {
  color: var(--as-primary) !important;
}

/* Hero */
.as-hero {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 3rem 2rem;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(19, 122, 58, 0.96) 0%, rgba(26, 155, 75, 0.92) 48%, rgba(46, 184, 92, 0.9) 100%),
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.22), transparent 40%);
  box-shadow: var(--as-shadow);
  animation: as-rise 0.7s var(--as-ease) both;
}

.as-hero::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -35%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 68%);
  pointer-events: none;
}

.as-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.as-hero .brand-mark {
  height: 64px;
  width: auto;
  max-width: 280px;
  margin-bottom: 1.25rem;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.as-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.85rem;
}

.as-hero h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 0.85rem;
}

.as-hero .lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1rem;
}

.as-hero p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.02rem;
  line-height: 1.65;
  margin-bottom: 1.6rem;
}

.as-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Page hero (inner pages) */
.as-page-hero {
  border-radius: 24px;
  padding: 2rem 1.75rem;
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--as-line);
  box-shadow: 0 10px 30px rgba(20, 35, 26, 0.05);
  animation: as-rise 0.55s var(--as-ease) both;
}

.as-page-hero h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  margin: 0 0 0.4rem;
  color: var(--as-ink);
}

.as-page-hero p {
  margin: 0;
  color: var(--as-muted);
  font-weight: 500;
}

/* Features */
.as-section-title {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.as-section-sub {
  color: var(--as-muted);
  margin-bottom: 1.5rem;
  max-width: 34rem;
}

.as-feature {
  height: 100%;
  border: 1px solid var(--as-line);
  border-radius: var(--as-radius);
  background: rgba(255, 255, 255, 0.88);
  padding: 1.5rem;
  box-shadow: 0 10px 28px rgba(20, 35, 26, 0.04);
  transition: transform 0.25s var(--as-ease), box-shadow 0.25s var(--as-ease);
  animation: as-rise 0.7s var(--as-ease) both;
}

.as-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--as-shadow);
}

.as-feature:nth-child(1) { animation-delay: 0.08s; }
.as-feature:nth-child(2) { animation-delay: 0.16s; }
.as-feature:nth-child(3) { animation-delay: 0.24s; }

.as-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--as-primary-soft);
  color: var(--as-primary-dark);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.as-feature h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 0 0.45rem;
}

.as-feature p {
  margin: 0;
  color: var(--as-muted);
  line-height: 1.6;
}

/* Content / legal cards */
.as-site .content-card {
  border: 1px solid var(--as-line);
  border-radius: var(--as-radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 36px rgba(20, 35, 26, 0.05);
  overflow: hidden;
}

.as-site .content-card .card-header {
  background: transparent;
  border-bottom: 1px solid var(--as-line);
  font-weight: 700;
}

.as-site .legal-content h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 1.85rem;
  margin-bottom: 0.65rem;
  color: var(--as-ink);
  padding-top: 0.35rem;
  border-top: 1px solid var(--as-line);
}

.as-site .legal-content h2:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 0.5rem;
}

.as-site .legal-content h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-top: 1.15rem;
  color: var(--as-primary-dark);
}

.as-site .legal-content p,
.as-site .legal-content li {
  color: var(--as-muted);
  line-height: 1.7;
}

.as-site .legal-content a {
  color: var(--as-primary-dark);
  font-weight: 600;
}

.as-site .alert-success {
  background: var(--as-primary-soft);
  border: 1px solid var(--as-line);
  color: var(--as-primary-dark);
  border-radius: 16px;
}

/* Footer */
.as-site .main-footer.footer {
  background: transparent;
  border-top: 1px solid var(--as-line);
  color: var(--as-muted);
  font-size: 0.92rem;
  padding: 1.5rem 1rem 2rem;
}

.as-site .main-footer a {
  color: var(--as-primary-dark);
  font-weight: 600;
}

.as-footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

@keyframes as-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 767.98px) {
  .as-hero {
    padding: 2.2rem 1.35rem;
    border-radius: 22px;
  }

  .as-hero .brand-mark {
    height: 52px;
  }

  .as-site .navbar-brand .brand-logo {
    height: 42px;
  }
}
