/* Homepage light enterprise theme - matches /inr and /evaluate
   Loaded after affix-master.css so unlayered rules win over layered homepage.css. */

@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&family=Oxanium:wght@500;600;700&family=Sora:wght@400;500;600;700&display=swap");

body.home {
  --home-graphite: #1a1f27;
  --home-chalk: #f7f5f1;
  --home-surface: #fffcf8;
  --home-verdict: #295f4e;
  --home-verdict-soft: #3d7a66;
  --home-bronze: #8a6742;
  --home-refusal: #8c3a32;
  --home-coal: #101317;
  --home-muted: #4a5563;
  --home-card: #f0ece4;
  --home-line: #d4cdc2;
  --home-chip: #ebe4d6;
  --home-terminal: #0c1118;
  --home-terminal-line: #2a3545;
  --home-shadow: rgba(17, 22, 31, 0.08);
  --home-radius: 2px;
  --home-radius-lg: 6px;
  --home-radius-btn: 32px;
  --home-max: 76rem;
  --home-font: "Sora", system-ui, sans-serif;
  --home-display: "Oxanium", "Sora", system-ui, sans-serif;
  --home-mono: "JetBrains Mono", ui-monospace, monospace;
  --home-border: 1px solid color-mix(in srgb, var(--home-line) 85%, transparent);
  --home-border-hover: 1px solid color-mix(in srgb, var(--home-verdict) 45%, var(--home-line));
  --home-focus: 2px solid var(--home-verdict);
  --home-hero-accent: var(--home-verdict);

  background: var(--home-chalk) !important;
  color: var(--home-graphite) !important;
  font-family: var(--home-font) !important;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  color-scheme: light;
}

body.home .home-header {
  background: color-mix(in srgb, var(--home-surface) 92%, #fff) !important;
  border-block-end: 1px solid var(--home-line) !important;
  color: var(--home-graphite);
}

body.home .home-brand,
body.home .home-brand span,
body.home .home-nav a,
body.home .home-header__doc {
  color: var(--home-graphite);
}

body.home .home-nav a:hover,
body.home .home-header__doc:hover {
  color: var(--home-verdict);
}

body.home .home-nav-popover {
  background: var(--home-surface);
  border-color: var(--home-line);
  color: var(--home-graphite);
}

body.home .home-wrap {
  max-width: var(--home-max);
}

body.home .home-band {
  background: var(--home-chalk);
  border-block-end: 1px solid var(--home-line);
}

body.home .home-band--proof,
body.home .home-band--platform {
  background: var(--home-card);
}

body.home .home-band--alt,
body.home .home-band--solutions {
  background: var(--home-chalk);
}

/* Light hero - INR / evaluate intro language */
body.home .home-band--hero,
body.home .home-hero {
  background:
    radial-gradient(ellipse 65% 50% at 10% 0%, rgba(41, 95, 78, 0.1), transparent 55%),
    linear-gradient(180deg, var(--home-surface) 0%, var(--home-chalk) 100%) !important;
  border-block-end: 1px solid var(--home-line) !important;
  color: var(--home-graphite) !important;
  font-family: var(--home-font) !important;
  --home-hero-accent: var(--home-verdict);
  padding-block: clamp(2.25rem, 5vw, 3.75rem);
}

body.home .home-band--hero::before,
body.home .home-hero::before,
body.home .home-band--hero::after,
body.home .home-hero::after {
  display: none !important;
  content: none !important;
  background: none !important;
  opacity: 0 !important;
}

body.home .home-hero__bg {
  background: transparent !important;
}

body.home .home-hero__bg::before {
  background-image:
    linear-gradient(color-mix(in srgb, var(--home-verdict) 8%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--home-verdict) 8%, transparent) 1px, transparent 1px) !important;
  opacity: 0.4 !important;
  mask-image: radial-gradient(ellipse 85% 75% at 72% 38%, #000 20%, transparent 72%);
}

body.home .home-hero__bg::after {
  background: radial-gradient(
    ellipse at center,
    color-mix(in srgb, var(--home-verdict) 12%, transparent) 0%,
    transparent 68%
  ) !important;
}

body.home .home-band--hero h1,
body.home .home-hero h1 {
  font-family: var(--home-display) !important;
  color: var(--home-graphite) !important;
  font-size: clamp(2.05rem, 5.2vw, 3.35rem) !important;
  letter-spacing: -0.03em;
  line-height: 1.08;
  max-width: 16ch;
}

body.home .home-hero__lead {
  color: var(--home-muted) !important;
  font-family: var(--home-font) !important;
  max-width: 48ch;
}

body.home .home-hero__badge {
  border: 1px solid var(--home-line) !important;
  border-radius: var(--home-radius) !important;
  background: var(--home-surface) !important;
  font-family: var(--home-mono) !important;
  color: var(--home-verdict) !important;
}

body.home .home-hero__badge-dot {
  background: var(--home-verdict) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--home-verdict) 22%, transparent) !important;
}

body.home .home-band--hero .home-btn--primary,
body.home .home-hero .home-btn--primary {
  background: var(--home-verdict) !important;
  border-color: var(--home-verdict) !important;
  color: #f5f2ea !important;
  -webkit-text-fill-color: #f5f2ea !important;
  box-shadow: none !important;
}

body.home .home-band--hero .home-btn--ghost,
body.home .home-hero .home-btn--ghost,
body.home .home-band--hero a.home-btn.home-btn--ghost {
  border: 1px solid var(--home-line) !important;
  color: var(--home-graphite) !important;
  -webkit-text-fill-color: var(--home-graphite) !important;
  background: var(--home-surface) !important;
}

body.home .home-band--hero .home-btn--ghost:hover {
  border-color: var(--home-graphite) !important;
  background: var(--home-card) !important;
}

body.home .home-hero__points li {
  color: var(--home-graphite) !important;
  border: 1px solid var(--home-line) !important;
  background: var(--home-surface) !important;
}

body.home .home-hero__points .home-i {
  color: var(--home-verdict) !important;
}

/* Keep verification panel as dark product chrome for contrast */
body.home .home-hero__panel {
  border-color: color-mix(in srgb, var(--home-verdict) 35%, var(--home-terminal-line));
}

body.home .home-btn {
  border-radius: var(--home-radius-btn) !important;
  font-size: 0.82rem;
  padding-block: 0.55rem;
  padding-inline: 1.15rem;
}

body.home .home-eyebrow {
  font-family: var(--home-mono);
  color: var(--home-verdict);
  letter-spacing: 0.12em;
}

body.home .home-band__head h2,
body.home .home-section h2,
body.home h2 {
  font-family: var(--home-display);
  color: var(--home-graphite);
}

body.home .home-card {
  background: var(--home-surface);
  border-color: var(--home-line);
  border-radius: var(--home-radius-lg);
}

body.home .home-card:hover {
  border-color: color-mix(in srgb, var(--home-verdict) 45%, var(--home-line));
}

/* Security band: light surface, not void coal */
body.home .home-security {
  background: var(--home-surface) !important;
  color: var(--home-graphite) !important;
  border-block-end: 1px solid var(--home-line) !important;
  --home-hero-accent: var(--home-verdict);
}

body.home .home-security .home-band__head::after {
  background: linear-gradient(90deg, var(--home-verdict), transparent) !important;
}

body.home .home-security .home-band__lead,
body.home .home-security .home-section__lead,
body.home .home-security .home-card p {
  color: var(--home-muted) !important;
}

body.home .home-security .home-eyebrow {
  color: var(--home-verdict) !important;
}

body.home .home-security h2,
body.home .home-security .home-card h3 {
  color: var(--home-graphite) !important;
}

body.home .home-security .home-card {
  background: var(--home-chalk) !important;
  border-color: var(--home-line) !important;
}

body.home .home-security .home-card:hover {
  border-color: color-mix(in srgb, var(--home-verdict) 45%, var(--home-line)) !important;
}

body.home .home-security a:not(.home-btn) {
  color: var(--home-verdict) !important;
}

body.home .home-security .home-btn--ghost,
body.home .home-security a.home-btn.home-btn--ghost {
  color: var(--home-graphite) !important;
  border-color: var(--home-line) !important;
}

body.home .home-dev-card {
  background: var(--home-card);
  border-color: var(--home-line);
}

body.home .footer,
body.home footer.footer {
  background: var(--home-surface);
  border-top: 1px solid var(--home-line);
  color: var(--home-muted);
}

body.home .footer a {
  color: var(--home-muted);
}

body.home .footer a:hover {
  color: var(--home-verdict);
}

@media (min-width: 901px) {
  body.home .home-band--hero h1,
  body.home .home-hero h1 {
    max-width: 18ch;
  }
}

body.home .mono,
body.home .home-hero__verdict-row dd.mono {
  font-family: var(--home-mono);
  font-size: 0.82em;
  letter-spacing: 0.02em;
}

/* Hero refinements */
body.home .home-hero__badge {
  border-radius: var(--home-radius) !important;
  max-width: 100%;
}

body.home .home-hero__panel-foot {
  font-family: var(--home-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  word-break: break-word;
}

body.home .home-hero__verdict-row dt {
  font-family: var(--home-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* What AffixIO provides */
body.home .home-provides {
  background: var(--home-surface) !important;
}

body.home .home-provides .home-band__head {
  max-width: 48rem;
  margin-bottom: 2rem;
}

body.home .home-provides .home-section__lead {
  margin: 0.65rem 0 0;
  color: var(--home-muted);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 58ch;
}

body.home .home-provides__layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 960px) {
  body.home .home-provides__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 2.5rem 3rem;
  }
}

body.home .home-provides__col {
  min-width: 0;
}

body.home .home-provides__col--sdk {
  padding: 1.25rem 1.2rem 1.35rem;
  border: 1px solid var(--home-line);
  background: var(--home-chalk);
  border-radius: var(--home-radius);
}

body.home .home-provides__label {
  margin: 0 0 1rem;
  font-family: var(--home-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--home-verdict);
}

body.home .home-provides__sdk-head {
  margin-bottom: 0.35rem;
}

body.home .home-provides__pkg {
  margin: -0.35rem 0 1.1rem;
  font-size: 0.88rem;
  color: var(--home-muted);
}

body.home .home-provides__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

body.home .home-provides__list li {
  display: grid;
  gap: 0.3rem;
  padding: 0.95rem 0;
  border-top: 1px solid var(--home-line);
}

body.home .home-provides__list li:first-child {
  border-top: 0;
  padding-top: 0;
}

body.home .home-provides__list strong {
  font-family: var(--home-display);
  font-size: 1rem;
  font-weight: 650;
  color: var(--home-graphite);
  letter-spacing: -0.01em;
}

body.home .home-provides__list span {
  color: var(--home-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

body.home .home-provides__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.25rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--home-line);
}

/* Hide legacy strip/glance if any remnant styles bleed */
body.home .home-provides .home-strip,
body.home .home-provides .home-glance {
  display: none;
}

/* Common questions: hero intro + dual audience columns */
body.home .faq-hero {
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, color-mix(in srgb, var(--home-verdict) 10%, transparent), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 100%, color-mix(in srgb, var(--home-verdict) 6%, transparent), transparent 50%),
    var(--home-chalk) !important;
  border-block: 1px solid var(--home-line);
  padding-block: 3.25rem 3.5rem !important;
}

body.home .faq-hero__intro {
  max-width: 40rem;
  margin: 0 0 2.25rem;
}

body.home .faq-hero__intro h2 {
  font-family: var(--home-display);
  font-size: clamp(1.85rem, 3.5vw, 2.55rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 0.85rem;
  color: var(--home-graphite);
}

body.home .faq-hero__lead {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--home-muted);
  max-width: 52ch;
}

body.home .faq-hero__jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

body.home .faq-hero__jump a {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0 0.9rem;
  border: 1px solid var(--home-line);
  border-radius: 999px;
  background: var(--home-surface);
  color: var(--home-graphite) !important;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
}

body.home .faq-hero__jump a:hover {
  border-color: color-mix(in srgb, var(--home-verdict) 45%, var(--home-line));
  color: var(--home-verdict) !important;
}

body.home .faq-hero__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 900px) {
  body.home .faq-hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }
}

body.home .faq-col {
  background: var(--home-surface);
  border: 1px solid var(--home-line);
  border-radius: 2px;
  padding: 1.35rem 1.25rem 1.15rem;
  box-shadow: 0 1px 0 color-mix(in srgb, #000 4%, transparent);
}

body.home .faq-col__head {
  margin: 0 0 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--home-line);
}

body.home .faq-col__label {
  margin: 0 0 0.45rem;
  font-family: var(--home-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--home-verdict);
}

body.home .faq-col__head h3 {
  margin: 0 0 0.4rem;
  font-family: var(--home-display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--home-graphite);
}

body.home .faq-col__head p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--home-muted);
}

body.home .faq-hero .home-faq {
  display: grid;
  gap: 0.45rem;
  max-width: none;
  margin: 0;
  grid-template-columns: 1fr;
}

body.home .faq-hero .home-faq details {
  border: 1px solid var(--home-line);
  border-radius: 2px;
  background: var(--home-chalk);
  overflow: hidden;
}

body.home .faq-hero .home-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 0.85rem 0.95rem;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--home-graphite);
}

body.home .faq-hero .home-faq summary::-webkit-details-marker {
  display: none;
}

body.home .faq-hero .home-faq summary::after {
  content: "+";
  color: var(--home-verdict);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1;
  margin-top: 0.15rem;
}

body.home .faq-hero .home-faq details[open] summary {
  border-bottom: 1px solid var(--home-line);
  background: color-mix(in srgb, var(--home-verdict) 8%, var(--home-chalk));
}

body.home .faq-hero .home-faq details[open] summary::after {
  content: "\2212";
}

body.home .faq-hero .home-faq p {
  margin: 0;
  padding: 0.85rem 0.95rem 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--home-muted);
}

body.home .faq-hero .home-faq a {
  color: var(--home-verdict) !important;
  font-weight: 600;
  text-decoration: none;
}

body.home .faq-hero .home-faq a:hover {
  text-decoration: underline;
}

body.home .faq-hero .mono {
  font-family: var(--home-mono);
  font-size: 0.86em;
}
