/* Aurora-native styles for product marketing pages formerly authored light
 * (why-kimss, enterprise, and shared button/hero patterns).
 */
.kimss-master-container,
.kimss-master-container * {
  box-sizing: border-box;
}

.kimss-master-container {
  font-family: var(--au-font-body);
  color: var(--au-text);
  line-height: 1.55;
  background: transparent;
  width: 100%;
  overflow: clip;
}

.hero-ent {
  padding: 48px 5% 32px;
  background: transparent;
}

.hero-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.hero-inner h1 {
  font-family: var(--au-font-display);
  font-size: clamp(1.85rem, 7vw, 2.85rem);
  font-weight: 700;
  color: var(--au-text);
  margin: 0 0 16px 0;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero-inner .lead {
  font-size: 1.1rem;
  color: var(--au-muted);
  max-width: 680px;
  margin: 0 auto 28px;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.btn-fill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(120deg, #6366f1, #a5b4fc);
  color: #05060f;
  border: 0;
  box-shadow: 0 8px 28px rgba(165, 180, 252, 0.22);
  transition: transform 0.25s var(--au-ease), box-shadow 0.25s var(--au-ease);
}

.btn-fill:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(165, 180, 252, 0.3);
  color: #05060f;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  background: rgba(129, 140, 248, 0.08);
  color: var(--au-text);
  border: 1px solid var(--au-line-strong);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.btn-outline:hover {
  border-color: rgba(165, 180, 252, 0.45);
  background: rgba(129, 140, 248, 0.14);
  transform: translateY(-1px);
  color: var(--au-text);
}

.wk-section {
  padding: 40px 5% 64px;
  background: transparent;
}

.wk-section-alt {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--au-line);
  border-bottom: 1px solid var(--au-line);
}

.wk-inner {
  max-width: 960px;
  margin: 0 auto;
}

.wk-inner-wide {
  max-width: 1040px;
}

.wk-kicker {
  display: block;
  font-family: var(--au-font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--au-cyan);
  margin-bottom: 8px;
}

.wk-h2 {
  font-family: var(--au-font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--au-text);
  margin: 0 0 12px 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.wk-lede {
  font-size: 1rem;
  color: var(--au-muted);
  max-width: 720px;
  margin: 0 0 32px 0;
  line-height: 1.65;
}

.wk-lede-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.wk-callout {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 24px;
  border: 1px solid var(--au-line);
  border-radius: 14px;
  background: rgba(129, 140, 248, 0.08);
  font-size: 0.95rem;
  color: var(--au-muted);
  line-height: 1.55;
  text-align: center;
}

.wk-callout strong {
  color: var(--au-text);
}

.wk-compare-wrap {
  overflow-x: auto;
  margin-top: 8px;
  border-radius: var(--au-radius);
  border: 1px solid var(--au-line);
  background: var(--au-surface);
}

.wk-compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 640px;
}

.wk-compare th,
.wk-compare td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--au-line);
  border-right: 1px solid var(--au-line);
  vertical-align: top;
  line-height: 1.5;
}

.wk-compare th:last-child,
.wk-compare td:last-child {
  border-right: none;
}

.wk-compare thead th {
  background: rgba(99, 102, 241, 0.28);
  color: var(--au-text);
  font-family: var(--au-font-display);
  font-weight: 600;
  text-align: left;
}

.wk-compare thead th:first-child {
  background: rgba(5, 6, 15, 0.9);
}

.wk-compare tbody th {
  background: rgba(255, 255, 255, 0.03);
  font-weight: 600;
  color: var(--au-text);
  text-align: left;
  width: 22%;
}

.wk-compare td {
  color: var(--au-muted);
}

.wk-compare .col-foundry {
  background: transparent;
}

.wk-compare .col-kimss {
  background: rgba(139, 92, 246, 0.07);
}

.wk-compare tbody tr:nth-child(even) .col-foundry {
  background: rgba(255, 255, 255, 0.02);
}

.wk-compare tbody tr:hover td,
.wk-compare tbody tr:hover th {
  background: rgba(129, 140, 248, 0.08);
}

.wk-compare a {
  color: var(--au-indigo);
}

.wk-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .wk-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .wk-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.wk-card {
  border: 1px solid var(--au-line);
  border-radius: 14px;
  padding: 22px;
  background: var(--au-surface);
  transition: transform 0.3s var(--au-ease), border-color 0.3s ease, box-shadow 0.3s ease;
}

.wk-card:hover {
  transform: translateY(-3px);
  border-color: var(--au-line-strong);
  box-shadow: 0 14px 36px rgba(99, 102, 241, 0.12);
}

.wk-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: var(--au-text);
  font-family: var(--au-font-display);
}

.wk-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--au-muted);
  line-height: 1.55;
}

.wk-arch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 32px 20px;
  background: rgba(10, 12, 29, 0.9);
  border: 1px solid var(--au-line);
  border-radius: 14px;
  color: var(--au-muted);
  font-family: var(--au-font-mono);
  font-size: 0.85rem;
  text-align: center;
}

.wk-arch-row {
  padding: 12px 24px;
  border: 1px solid rgba(139, 124, 246, 0.28);
  border-radius: 8px;
  background: rgba(139, 92, 246, 0.08);
  min-width: 0;
  width: 100%;
  max-width: 420px;
  color: var(--au-text);
}

.wk-arch-arrow {
  padding: 8px 0;
  color: var(--au-violet);
  font-size: 1.1rem;
  line-height: 1;
}

.wk-arch-note {
  margin-top: 20px;
  font-size: 0.875rem;
  color: var(--au-dim);
  text-align: center;
  font-family: var(--au-font-body);
}

.wk-arch-note a {
  color: var(--au-cyan);
  font-weight: 600;
  text-decoration: none;
}

.wk-arch-note a:hover {
  text-decoration: underline;
}

.wk-faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wk-faq details {
  border: 1px solid var(--au-line);
  border-radius: 12px;
  background: var(--au-surface);
  padding: 0;
}

.wk-faq summary {
  padding: 16px 20px;
  font-weight: 700;
  color: var(--au-text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wk-faq summary::-webkit-details-marker {
  display: none;
}

.wk-faq summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--au-violet);
  font-weight: 400;
  flex-shrink: 0;
}

.wk-faq details[open] summary::after {
  content: "−";
}

.wk-faq .wk-faq-body {
  padding: 0 20px 16px;
  font-size: 0.9rem;
  color: var(--au-muted);
  line-height: 1.6;
}

.wk-faq .wk-faq-body a {
  color: var(--au-cyan);
  font-weight: 600;
  text-decoration: none;
}

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

.wk-quote {
  border-left: 4px solid var(--au-violet);
  padding: 20px 24px;
  background: rgba(139, 92, 246, 0.08);
  border-radius: 0 12px 12px 0;
  margin: 0;
}

.wk-quote p {
  margin: 0 0 12px 0;
  font-size: 1rem;
  color: var(--au-muted);
  line-height: 1.65;
  font-style: italic;
}

.wk-quote cite {
  font-size: 0.875rem;
  color: var(--au-dim);
  font-style: normal;
}

.wk-quote cite a {
  color: var(--au-cyan);
  font-weight: 600;
  text-decoration: none;
}

.wk-final-cta {
  text-align: center;
  padding: 48px 5% 64px;
  background: transparent;
}

.wk-final-cta .hero-cta {
  margin-top: 24px;
}

.wk-compare-mobile {
  display: none;
}

@media (max-width: 720px) {
  .wk-compare-mobile {
    display: block;
  }

  .wk-compare-wrap {
    display: none;
  }

  .hero-ent,
  .wk-section,
  .ent-section,
  .wk-final-cta {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    width: min(22rem, 100%);
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta .btn-fill,
  .hero-cta .btn-outline,
  .hero-cta .au-btn,
  .hero-cta .site-btn {
    width: 100%;
  }

  .wk-compare-card {
    border: 1px solid var(--au-line);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    background: var(--au-surface);
  }

  .wk-compare-card h4 {
    margin: 0 0 12px 0;
    font-size: 0.95rem;
    color: var(--au-text);
  }

  .wk-compare-card dl {
    margin: 0;
  }

  .wk-compare-card dt {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--au-dim);
    margin-top: 10px;
  }

  .wk-compare-card dt:first-of-type {
    margin-top: 0;
  }

  .wk-compare-card dd {
    margin: 4px 0 0;
    color: var(--au-muted);
    font-size: 0.9rem;
  }
}

.ent-section {
  padding: 40px 5% 64px;
}

.ent-inner {
  max-width: 1040px;
  margin: 0 auto;
}

.ent-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .ent-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .ent-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .ent-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ent-card {
  border: 1px solid var(--au-line);
  border-radius: 14px;
  padding: 22px;
  background: var(--au-surface);
  transition: transform 0.3s var(--au-ease), border-color 0.3s ease;
}

.ent-card:hover {
  transform: translateY(-3px);
  border-color: var(--au-line-strong);
}

.ent-card h3 {
  font-family: var(--au-font-display);
  color: var(--au-text);
  margin: 0 0 10px;
}

.ent-card p {
  margin: 0;
  color: var(--au-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.ent-note {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid var(--au-line);
  background: rgba(129, 140, 248, 0.07);
  color: var(--au-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.ent-note a {
  color: var(--au-cyan);
  font-weight: 600;
}

.ent-note strong {
  color: var(--au-text);
}

/* Shared FAQ (enterprise + SEO pages) */
.kimss-faq details {
  border: 1px solid var(--au-line);
  border-radius: 12px;
  background: var(--au-surface);
  margin-bottom: 10px;
  padding: 0;
}

.kimss-faq summary {
  padding: 14px 18px;
  font-weight: 700;
  color: var(--au-text);
  cursor: pointer;
  list-style: none;
}

.kimss-faq summary::-webkit-details-marker {
  display: none;
}

.kimss-faq-answer,
.kimss-faq details p {
  padding: 0 18px 14px;
  margin: 0;
  color: var(--au-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.kimss-bluf {
  color: var(--au-muted);
  line-height: 1.65;
  margin: 0 0 1.25rem;
}

/* Legal pages */
.privacy-hero,
.terms-hero {
  padding: 64px 5% 28px;
}

.privacy-hero-inner,
.terms-hero-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.privacy-kicker,
.terms-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  padding: 7px 14px;
  border-radius: 999px;
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.09);
  border: 1px solid var(--au-line);
  font-family: var(--au-font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.privacy-hero h1,
.terms-hero h1 {
  font-family: var(--au-font-display);
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--au-text);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}

.privacy-hero p,
.terms-hero p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--au-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.privacy-body,
.terms-body,
.legal-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 24px 5% 80px;
  color: var(--au-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.privacy-body h2,
.terms-body h2,
.legal-body h2 {
  font-family: var(--au-font-display);
  color: var(--au-text);
  margin: 2rem 0 0.75rem;
  font-size: 1.35rem;
}

.privacy-body a,
.terms-body a,
.legal-body a {
  color: var(--au-cyan);
}

.privacy-section,
.terms-section {
  padding: 0 5% 80px;
}

.privacy-card,
.terms-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 1.75rem 2.5rem;
  border: 1px solid var(--au-line);
  border-radius: var(--au-radius);
  background: var(--au-surface);
  color: var(--au-muted);
  line-height: 1.7;
}

.privacy-updated,
.terms-updated {
  font-family: var(--au-font-mono);
  font-size: 0.78rem;
  color: var(--au-dim);
  margin: 0 0 1.5rem;
}

.privacy-card h2,
.terms-card h2,
.policy-block h2 {
  font-family: var(--au-font-display);
  color: var(--au-text);
  font-size: 1.25rem;
  margin: 1.75rem 0 0.75rem;
}

.privacy-card a,
.terms-card a {
  color: var(--au-cyan);
}

.privacy-card ul,
.terms-card ul {
  padding-left: 1.2rem;
}

.privacy-card li,
.terms-card li {
  margin-bottom: 0.45rem;
}

/* Trust Center */
.trust-kicker {
  font-family: var(--au-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a5b4fc;
  margin: 0 0 0.75rem;
}
.trust-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin: 1.5rem 0 0;
}
.trust-flow article {
  padding: 1.1rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--au-line);
  background: rgba(99, 102, 241, 0.08);
  text-align: center;
}
.trust-flow strong {
  display: block;
  font-family: var(--au-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a5b4fc;
  margin-bottom: 0.4rem;
}
.trust-flow span {
  color: var(--au-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}
.trust-scope {
  margin-top: 1.5rem;
  padding: 1.1rem 1.25rem;
  border-radius: 12px;
  border: 1px dashed rgba(129, 140, 248, 0.45);
  color: var(--au-muted);
  font-size: 0.95rem;
}
.trust-print-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}
@media (max-width: 800px) {
  .trust-flow { grid-template-columns: 1fr 1fr; }
}
@media print {
  @page { margin: 14mm 16mm; }
  html { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .kimss-header,
  .au-footer,
  .kimss-security-chat,
  .trust-print-bar,
  .hero-cta,
  .kimss-mobile-menu { display: none !important; }
  .hero-ent { padding-top: 0; }
}
