/*
 * AI with Everyone / Home + About refresh (2026-10-10)
 * Scope: only index.htm and about.htm.
 * Bootstrap 5.3.3 + global /css/aiwitheveryone.css remain the foundation.
 * Do not load this stylesheet on other product or content pages.
 */
:root {
  --awe-home-nav-bg: rgba(250, 251, 252, .95);
  --awe-home-focus: #1b5b83;
  --awe-home-card-shadow: 0 10px 30px rgba(27, 39, 49, .055);
  --awe-home-card-shadow-hover: 0 16px 36px rgba(27, 39, 49, .11);
}
:root[data-bs-theme="dark"] {
  color-scheme: dark;
  --awe-color-page-bg: #111923;
  --awe-color-surface: #1a2632;
  --awe-color-surface-soft: #17212c;
  --awe-color-surface-glass: rgba(26, 38, 50, .94);
  --awe-color-text: #eef3f6;
  --awe-color-text-muted: #b5c4d0;
  --awe-color-line: rgba(202, 221, 235, .2);
  --awe-color-accent: #8cc8ef;
  --awe-color-accent-hover: #c3e4fa;
  --awe-color-accent-soft: rgba(140, 200, 239, .22);
  --awe-color-accent-muted: #a2c7db;
  --awe-color-selection-bg: #345873;
  --awe-color-selection-text: #ffffff;
  --awe-color-footer-bg: #0c131c;
  --awe-color-footer-text: #b2c1cf;
  --awe-color-footer-link: #d3dee8;
  --awe-color-footer-heading: #ffffff;
  --awe-shadow-card: 0 10px 30px rgba(0, 0, 0, .12);
  --awe-shadow-card-hover: 0 18px 42px rgba(0, 0, 0, .22);
  --awe-home-nav-bg: rgba(17, 25, 35, .96);
  --awe-home-focus: #a4d5f5;
  --awe-home-card-shadow: 0 10px 28px rgba(0, 0, 0, .13);
  --awe-home-card-shadow-hover: 0 18px 42px rgba(0, 0, 0, .25);
  --bs-body-bg: var(--awe-color-page-bg);
  --bs-body-color: var(--awe-color-text);
  --bs-secondary-color: var(--awe-color-text-muted);
  --bs-border-color: var(--awe-color-line);
  --bs-link-color: var(--awe-color-accent);
  --bs-link-hover-color: var(--awe-color-accent-hover);
}
:root[data-bs-theme="light"] { color-scheme: light; }
.awe-home-page .awe-navbar,
.awe-about-page .awe-navbar { background: var(--awe-home-nav-bg); }
.awe-home-page .awe-navbar .nav-link.active,
.awe-about-page .awe-navbar .nav-link.active {
  color: var(--awe-color-text) !important;
  font-weight: 700;
}
.awe-nav-bars {
  display: inline-block;
  width: 24px;
  height: 18px;
  background: linear-gradient(currentColor,currentColor) center top/100% 2px no-repeat,
              linear-gradient(currentColor,currentColor) center/100% 2px no-repeat,
              linear-gradient(currentColor,currentColor) center bottom/100% 2px no-repeat;
}
.awe-home-page .navbar-toggler,
.awe-about-page .navbar-toggler { color: var(--awe-color-text); }
.awe-theme-control { display: flex; align-items: center; gap: .4rem; }
.awe-theme-control label { white-space: nowrap; color: var(--awe-color-text-muted); font-size: .82rem; }
.awe-theme-select {
  min-width: 112px;
  color: var(--awe-color-text);
  background-color: var(--awe-color-surface);
  border: 1px solid var(--awe-color-line);
  font-size: .88rem;
  line-height: 1.35;
  padding: .42rem 2rem .42rem .65rem;
}
.awe-theme-select:focus { border-color: var(--awe-home-focus); box-shadow: 0 0 0 .2rem var(--awe-color-accent-soft); }
.awe-home-page :is(a, button, select):focus-visible,
.awe-about-page :is(a, button, select):focus-visible {
  outline: 3px solid var(--awe-home-focus);
  outline-offset: 3px;
}
.awe-home-page :is(.container, .row, .col, [class*="col-"]),
.awe-about-page :is(.container, .row, .col, [class*="col-"]) { min-width: 0; }
.awe-home-page h1, .awe-home-page h2, .awe-home-page h3,
.awe-about-page h1, .awe-about-page h2, .awe-about-page h3 { overflow-wrap: anywhere; }
.awe-kicker {
  display: inline-block;
  color: var(--awe-color-accent);
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}
.awe-hero { padding: clamp(3rem, 7vw, 5.8rem) 0 clamp(2.4rem, 5vw, 4.2rem); }
.awe-hero h1 { font-size: clamp(2rem, 4.2vw, 3.5rem); font-weight: 750; line-height: 1.3; max-width: 18ch; letter-spacing: -.025em; }
.awe-hero-lead { max-width: 680px; color: var(--awe-color-text-muted); font-size: clamp(1rem, 1.5vw, 1.13rem); }
.awe-hero-action { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; margin-top: 1.5rem; }
.awe-cta, .awe-secondary-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; gap: .35rem; border-radius: 12px; padding: .55rem 1.1rem;
  font-size: .94rem; font-weight: 650; text-decoration: none;
}
.awe-cta { color: #fff; background: #335d77; border: 1px solid #335d77; }
.awe-cta:is(:hover,:focus-visible) { color: #fff; background: #254b64; }
.awe-secondary-link { border: 1px solid var(--awe-color-line); color: var(--awe-color-text); background: var(--awe-color-surface); }
.awe-secondary-link:is(:hover,:focus-visible) { color: var(--awe-color-accent-hover); border-color: var(--awe-color-accent); }
.awe-home-section, .awe-about-section { padding: clamp(2.2rem, 5vw, 4rem) 0; }
.awe-home-section--soft, .awe-about-section--soft { background: var(--awe-color-surface-soft); }
.awe-section-heading { margin-bottom: 1.35rem; }
.awe-section-heading h2 { font-size: clamp(1.55rem, 2.6vw, 2.15rem); margin-bottom: .45rem; }
.awe-section-heading p { color: var(--awe-color-text-muted); margin-bottom: 0; max-width: 62ch; }
.awe-entry-card, .awe-feature-card, .awe-info-card {
  display: flex; flex-direction: column; height: 100%; min-width: 0;
  border: 1px solid var(--awe-color-line); border-radius: 18px;
  background: var(--awe-color-surface); box-shadow: var(--awe-home-card-shadow);
  padding: clamp(1.1rem, 2.4vw, 1.7rem);
}
a.awe-entry-card, a.awe-feature-card {
  color: var(--awe-color-text); text-decoration: none;
  transition: transform .17s ease, box-shadow .17s ease, border-color .17s ease;
}
a.awe-entry-card:is(:hover,:focus-visible),
a.awe-feature-card:is(:hover,:focus-visible) {
  color: var(--awe-color-text);
  border-color: var(--awe-color-accent);
  box-shadow: var(--awe-home-card-shadow-hover);
  transform: translateY(-3px);
}
.awe-entry-top { display: flex; align-items: center; gap: .85rem; margin-bottom: .8rem; }
.awe-entry-icon {
  flex: 0 0 auto; display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 13px; font-size: 1.45rem; background: var(--awe-color-surface-soft);
}
.awe-entry-title { margin: 0; font-size: 1.17rem; }
.awe-card-copy { color: var(--awe-color-text-muted); font-size: .95rem; line-height: 1.7; margin-bottom: 1.1rem; }
.awe-card-meta { display: inline-block; font-weight: 700; letter-spacing: .055em; font-size: .71rem; color: var(--awe-color-accent); margin-bottom: .6rem; }
.awe-card-action { margin-top: auto; color: var(--awe-color-accent); font-size: .92rem; font-weight: 700; }
.awe-feature-card h3 { font-size: 1.2rem; margin-bottom: .7rem; }
.awe-feature-card .awe-card-copy { margin-bottom: 1.1rem; }
.awe-copy-panel { max-width: 850px; }
.awe-copy-panel p { color: var(--awe-color-text-muted); }
.awe-fact-list { display: grid; gap: .75rem; }
.awe-fact {
  display: flex; align-items: start; gap: .8rem;
  padding: .85rem 1rem; border-radius: 12px; background: var(--awe-color-surface-soft);
}
.awe-fact strong { display: block; color: var(--awe-color-text); }
.awe-fact p { margin: 0; font-size: .92rem; color: var(--awe-color-text-muted); }
.awe-fact-icon { font-size: 1.25rem; flex: 0 0 auto; line-height: 1.4; }
.awe-content-narrow { max-width: 830px; }
.awe-info-card h3 { font-size: 1.18rem; }
.awe-info-card p:last-child { margin-bottom: 0; }
.awe-text-soft { color: var(--awe-color-text-muted); }
.awe-inline-link { color: var(--awe-color-accent); font-weight: 650; text-underline-offset: .2em; }
.awe-footer h2 { color: var(--awe-color-footer-heading); }
.awe-footer .awe-footer-subtitle { color: var(--awe-color-footer-heading); font-size: .85rem; font-weight: 700; }
.awe-footer .awe-footer-description { color: var(--awe-color-footer-text); }
.awe-footer a { display: inline-block; padding-block: .18rem; }
.awe-footer a:focus-visible { outline-color: #d3e9f9; }
.awe-anchor-legacy { display: block; height: 0; overflow: hidden; scroll-margin-top: calc(var(--awe-nav-height) + 18px); }
@media (min-width: 1200px) {
  .awe-home-page .container, .awe-about-page .container { max-width: 1140px; }
}
@media (max-width: 991.98px) {
  .awe-theme-control { margin: .75rem 0 .2rem; }
}
@media (max-width: 575.98px) {
  .awe-hero { padding: 2.5rem 0 2rem; }
  .awe-hero h1 { max-width: 100%; }
  .awe-entry-card, .awe-feature-card { padding: 1.1rem; }
  .awe-hero-action > a { width: 100%; }
  .awe-section-heading { margin-bottom: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  a.awe-entry-card, a.awe-feature-card { transition: none; transform: none !important; }
}
