/* Light theme on top of index-*.css: white page, near-black text, green accent.
   Keeps the original token names (paper = background, ink = text, lime = accent). */
:root,
:host {
  --color-paper: #ffffff;
  --color-paper-deep: #f2f7f3;
  --color-ink: #0f1a14;
  --color-ink-soft: #2a3630;
  --color-muted: #5a6760;
  --color-line: #dfe7e2;
  --color-lime: #1fe58a;
  --green-deep: #0c9d5c;
  --accent-grad: linear-gradient(120deg, #1fe58a 0%, #19e0d1 100%);
  --font-display: "Poppins", system-ui, sans-serif;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --default-font-family: var(--font-sans);
}

body {
  background:
    radial-gradient(55rem 35rem at 105% -10%, rgba(31, 229, 138, 0.12), transparent 60%),
    radial-gradient(45rem 30rem at -10% 60%, rgba(25, 224, 209, 0.08), transparent 60%),
    var(--color-paper);
}

/* Headings: heavy geometric display face. */
h1,
h2,
h3,
.font-display {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.035em;
}
h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Wide-tracked caps label in deep green. */
.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--green-deep);
}

/* Hero "life." word: green gradient text with a thin underline. */
h1 span.relative.inline-block {
  background: linear-gradient(100deg, #0c9d5c 0%, #1fe58a 60%, #12c7b9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
h1 span.relative.inline-block > span.bg-lime {
  height: 0.07em;
  bottom: -0.02em;
  z-index: 0;
  background: var(--accent-grad);
}

/* Header: frosted white. The blur sits on a pseudo-element so the fixed
   mobile menu is not trapped inside the header. */
header.bg-paper {
  background: transparent;
}
header.bg-paper::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in oklab, var(--color-paper) 85%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

/* Primary pill buttons: green gradient with dark text. */
a.bg-ink.rounded-full,
button.bg-ink.rounded-full {
  background: var(--accent-grad);
  color: var(--color-ink);
  --color-paper: var(--color-ink);
  --color-lime: var(--color-ink);
  box-shadow: 0 10px 26px -12px rgba(12, 157, 92, 0.6);
}
a.bg-ink.rounded-full:hover,
button.bg-ink.rounded-full:hover {
  filter: brightness(1.05);
}

/* Small badges ("Public demo", "Built"). */
span.bg-ink.rounded-sm {
  background: rgba(31, 229, 138, 0.14);
  color: var(--green-deep);
  border: 1px solid rgba(12, 157, 92, 0.3);
  border-radius: 999px;
  padding-inline: 0.6rem;
  --color-paper: var(--green-deep);
}

/* Dark sections and footer become soft green-tinted panels. */
section.bg-ink,
footer.bg-ink {
  --color-ink: #f2f7f3;
  --color-paper: #0f1a14;
  background: #f2f7f3;
  border-block: 1px solid var(--color-line);
}
section.bg-ink .eyebrow,
footer.bg-ink .eyebrow {
  color: var(--green-deep);
}
section.bg-ink li .text-lime,
footer.bg-ink .text-lime {
  color: var(--green-deep);
}

/* Call-to-action band: green gradient. */
section.bg-lime {
  background: var(--accent-grad);
}
section.bg-lime a.bg-ink.rounded-full {
  background: var(--color-ink);
  color: #ffffff;
  --color-paper: #ffffff;
  --color-lime: #1fe58a;
  box-shadow: none;
}

/* Category grid on the home page: separate rounded cards. */
ul.bg-line {
  background: transparent;
  border: 0;
  gap: 1rem;
}
ul.bg-line > li.bg-paper {
  border: 1px solid var(--color-line);
  border-radius: 1.25rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
ul.bg-line > li.bg-paper:hover {
  border-color: var(--color-lime);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -24px rgba(12, 157, 92, 0.45);
}

main img {
  border-radius: 1rem;
  box-shadow: 0 30px 60px -35px rgba(15, 26, 20, 0.45);
}

/* Pricing list (home page). */
.pricing-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
  list-style: none;
}
@media (min-width: 900px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem 1.75rem;
  border: 1px solid var(--color-line);
  border-radius: 1.5rem;
  background: #ffffff;
}
.pricing-card.is-featured {
  border: 2px solid var(--color-lime);
  background: linear-gradient(180deg, rgba(31, 229, 138, 0.08), #ffffff 55%);
  box-shadow: 0 30px 60px -35px rgba(12, 157, 92, 0.5);
}
.pricing-badge {
  align-self: flex-start;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: var(--accent-grad);
  color: var(--color-ink);
  font-size: 0.75rem;
  font-weight: 700;
}
.pricing-name {
  font-size: 1.5rem;
}
.pricing-price {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--color-ink);
}
.pricing-card.is-featured .pricing-price {
  color: var(--green-deep);
}
.pricing-from {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.pricing-body {
  color: var(--color-ink-soft);
}
.pricing-features {
  display: grid;
  gap: 0.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-line);
  list-style: none;
}
.pricing-features li {
  display: flex;
  gap: 0.6rem;
  color: var(--color-ink-soft);
}
.pricing-features li::before {
  content: "";
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.55em;
  border-radius: 999px;
  background: var(--color-lime);
}
.pricing-note {
  font-size: 0.9rem;
  color: var(--color-muted);
}
.pricing-action {
  margin-top: auto;
  padding-top: 0.5rem;
}
.pricing-footnote {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* AI team (home page). */
.team-intro {
  margin-top: 1.25rem;
  max-width: 60ch;
  font-size: 1.125rem;
  color: var(--color-ink-soft);
}
.team-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
  list-style: none;
}
@media (min-width: 640px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .team-grid { grid-template-columns: repeat(4, 1fr); }
}
.team-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.5rem;
  border: 1px solid var(--color-line);
  border-radius: 1.25rem;
  background: #ffffff;
  transition: border-color 0.2s, transform 0.2s;
}
.team-card:hover {
  border-color: var(--color-lime);
  transform: translateY(-2px);
}
.team-logo {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 0.75rem;
  border-radius: 1rem;
  background: var(--color-paper-deep);
}
.team-logo img {
  width: 2rem;
  height: 2rem;
  border-radius: 0;
  box-shadow: none;
}
.team-name {
  font-size: 1.35rem;
}
.team-role {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-deep);
}
.team-body {
  margin-top: 0.4rem;
  color: var(--color-muted);
}
.team-note {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--color-muted);
}
