/* AI Cloud shell compatibility layer.
   Maps the legacy marketing component classes used by the migrated public pages
   (router, ai_cost_management, production_records, evaluations, enterprise,
   security, ai_cost_calculator, privacy) onto the graphite/amber AI Cloud system.
   Scoped under .acta-site so it does not affect the marketing layout or the console. */

/* Containers */
.acta-site .shell, .acta-site .section { max-width: var(--width); padding-inline: var(--gutter); margin-inline: auto; }
.acta-site .section { padding-block: 110px; }
.acta-site .section.related-controls { padding-block: 0; }

/* Section headings */
.acta-site .section-heading { max-width: 860px; margin-bottom: 48px; }
.acta-site .section-heading h2, .acta-site .product-band h2, .acta-site .product-code-section h2,
.acta-site .calculator-results h2 { font-size: clamp(32px, 3.8vw, 54px); line-height: 1.08; max-width: 22ch; }
.acta-site .section-heading p { color: #52616b; font-size: 18px; margin-top: 24px; max-width: 68ch; }
.acta-site .compact-heading { margin-bottom: 38px; }
.acta-site .eyebrow { text-transform: uppercase; font: 12px/1.2 CommitMono, monospace; letter-spacing: .08em; color: var(--amber-ink); margin-bottom: 22px; }

/* Product hero */
.acta-site .product-hero { background: #10191f; color: #f3f6f7; padding: clamp(72px, 10vw, 132px) 0 96px; }
.acta-site .product-hero .eyebrow { color: var(--amber); }
.acta-site .product-hero h1 { font-size: clamp(44px, 5.6vw, 84px); line-height: 1.03; max-width: 17ch; }
.acta-site .product-lede { color: #c2cdd4; font-size: 20px; line-height: 1.5; margin-top: 28px; max-width: 62ch; }
.acta-site .product-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 34px; }
.acta-site .product-hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr); gap: clamp(44px, 7vw, 110px); align-items: start; }
.acta-site .decision-brief { border-top: 1px solid #ffffff30; padding-top: 22px; }
.acta-site .decision-brief h2 { font-size: 22px; }
.acta-site .decision-brief dl { margin: 14px 0 0; }
.acta-site .decision-brief dl > div { display: grid; grid-template-columns: 104px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid #ffffff1f; }
.acta-site .decision-brief dt { color: var(--amber); font: 12px/1.4 CommitMono, monospace; }
.acta-site .decision-brief dd { color: #c2cdd4; font-size: 14px; margin: 0; }

/* Buttons */
.acta-site .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 22px; border: 1px solid currentColor; border-radius: 3px; font-weight: 500; text-decoration: none; }
.acta-site .btn-primary { background: var(--amber); border-color: var(--amber); color: #192025; }
.acta-site .btn-primary:hover { background: #d9b677; border-color: #d9b677; }
.acta-site .btn-secondary { background: transparent; border-color: currentColor; color: inherit; }
.acta-site .btn-secondary:hover { background: #ffffff14; }
.acta-site .btn-inverse { background: #f3f6f7; border-color: #f3f6f7; color: #192025; }
.acta-site .btn-inverse:hover { background: var(--amber); border-color: var(--amber); }

/* Inline links */
.acta-site .text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 500; color: var(--amber-ink); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; }
.acta-site .text-link:hover { text-decoration-color: currentColor; }
.acta-site .product-hero .text-link, .acta-site .closing-cta .text-link { color: var(--amber); }

/* Evidence ledgers */
.acta-site .evidence-ledger { border-top: 1px solid #aab4b9; }
.acta-site .evidence-ledger .ledger-head, .acta-site .evidence-ledger > section { display: grid; grid-template-columns: minmax(150px, 3fr) minmax(250px, 5fr) minmax(180px, 4fr); gap: 32px; }
.acta-site .evidence-ledger .ledger-head { color: #52616b; font: 12px/1.4 CommitMono, monospace; padding: 10px 0; }
.acta-site .evidence-ledger > section { border-top: 1px solid #aab4b9; padding: 20px 0; }
.acta-site .evidence-ledger h3 { font-size: 20px; }
.acta-site .evidence-ledger p { color: #52616b; font-size: 15px; }
.acta-site .evidence-ledger code { font: 12px/1.5 CommitMono, monospace; }

/* Bands, schedules and code samples */
.acta-site .product-band, .acta-site .product-code-section { background: #dfe7ea; padding-block: 80px; }
.acta-site .memorandum-schedule, .acta-site .product-code-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(44px, 7vw, 110px); align-items: start; }
.acta-site .memorandum-schedule > div > p, .acta-site .product-code-grid > div > p { color: #52616b; font-size: 18px; margin: 16px 0 20px; max-width: 60ch; }
.acta-site .memorandum-schedule dl { margin: 0; }
.acta-site .memorandum-schedule dl > div { display: grid; grid-template-columns: 130px 1fr; gap: 18px; border-top: 1px solid #9eabb3; padding: 14px 0; }
.acta-site .memorandum-schedule dl > div:last-child { border-bottom: 1px solid #9eabb3; }
.acta-site .memorandum-schedule dt { color: var(--amber-ink); font: 12px/1.4 CommitMono, monospace; }
.acta-site .memorandum-schedule dd { color: #52616b; font-size: 14px; margin: 0; }
.acta-site .code-panel { background: #152128; border: 1px solid #ffffff26; border-radius: 4px; color: #e5ebef; max-width: 100%; min-width: 0; overflow: hidden; }
.acta-site .code-panel figcaption { border-bottom: 1px solid #ffffff20; color: #b4c2cb; font: 12px/1.4 CommitMono, monospace; padding: 14px 18px; }
.acta-site .code { color: #e5ebef; font: 12px/1.8 CommitMono, monospace; max-width: 100%; min-width: 0; overflow-x: auto; padding: 22px; white-space: pre-wrap; overflow-wrap: anywhere; }
.acta-site .code > code { display: block; }
.acta-site .code .s { color: var(--amber); }

/* Related controls */
.acta-site .related-controls { border-top: 1px solid #aab4b9; display: grid; grid-template-columns: repeat(3, 1fr); }
.acta-site .related-controls a { display: grid; gap: 6px; padding: 24px 26px; text-decoration: none; }
.acta-site .related-controls a + a { border-left: 1px solid #aab4b9; }
.acta-site .related-controls strong { font-size: 15px; font-weight: 500; }
.acta-site .related-controls span { color: #52616b; font-size: 14px; }
.acta-site .related-controls a:hover strong { color: var(--amber-ink); text-decoration: underline; text-underline-offset: 4px; }

/* Closing CTA */
.acta-site .closing-cta { background: #0b1217; color: #f3f6f7; padding-block: 88px; }
.acta-site .closing-grid { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.acta-site .closing-cta h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; max-width: 26ch; }
.acta-site .closing-cta p { color: #bbc8d1; font-size: 17px; margin-top: 14px; max-width: 66ch; }

/* Cost calculator */
.acta-site .calculator-hero { background: #10191f; color: #f3f6f7; padding: clamp(72px, 10vw, 128px) 0 88px; }
.acta-site .calculator-hero .eyebrow { color: var(--amber); }
.acta-site .calculator-hero h1 { font-size: clamp(44px, 5.6vw, 80px); line-height: 1.03; max-width: 20ch; }
.acta-site .calculator-hero .eyebrow, .acta-site .calculator-hero h1, .acta-site .calculator-hero .product-lede { max-width: 62ch; }
.acta-site .worksheet-intro { border-top: 1px solid var(--amber-ink); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; margin-bottom: 32px; padding-top: 22px; }
.acta-site .worksheet-intro h2 { font-size: clamp(30px, 3.4vw, 46px); }
.acta-site .worksheet-intro p { color: #52616b; }
.acta-site .worksheet-intro p + p { margin-top: 8px; }
.acta-site .calculator-errors { background: #fdecec; border: 1px solid #b3261e; color: #8a1c16; margin-bottom: 24px; padding: 16px 18px; }
.acta-site .calculator-errors h3 { font-size: 17px; }
.acta-site .calculator-errors ul { margin: 8px 0 0 20px; }
.acta-site .calculator-form { background: #ffffff; border: 1px solid #9eabb3; padding: 32px; }
.acta-site .calculator-form fieldset { border: 0; min-width: 0; margin: 0; padding: 0; }
.acta-site .calculator-form legend { border-top: 1px solid #9eabb3; font-size: 18px; font-weight: 500; padding-top: 14px; width: 100%; }
.acta-site .calculator-fields { display: grid; gap: 16px; margin-top: 18px; }
.acta-site .calculator-fields-three { grid-template-columns: repeat(3, 1fr); }
.acta-site .calculator-fields label { color: #3a4750; display: grid; font-size: 13px; font-weight: 500; gap: 6px; }
.acta-site .calculator-fields input, .acta-site .calculator-fields select { background: #ffffff; border: 1px solid #5f6d76; border-radius: 3px; color: #192025; font: 14px/1.4 CommitMono, monospace; height: 44px; padding: 8px 10px; width: 100%; }
.acta-site .calculator-fields input:focus, .acta-site .calculator-fields select:focus { border-color: var(--focus-ink); outline: 2px solid var(--focus-ink); outline-offset: 1px; }
.acta-site .calculator-scenarios { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; margin-top: 40px; }
.acta-site .calculator-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 32px; padding-top: 22px; border-top: 1px solid #aab4b9; }
.acta-site .calculator-submit p { color: #52616b; font-size: 13px; max-width: 60ch; }
.acta-site .calculator-warning { background: #fdf3e3; border-left: 3px solid #b5822a; color: #7a5410; font-size: 13px; margin-top: 16px; padding: 12px 16px; }
.acta-site .calculator-results { background: #dfe7ea; border-block: 1px solid #aab4b9; padding-block: 64px; }
.acta-site .result-table-wrap { max-width: 100%; overflow-x: auto; }
.acta-site .result-table { border-collapse: collapse; table-layout: fixed; width: 100%; }
.acta-site .result-table-measure-column { width: 38%; }
.acta-site .result-table-current-column { width: 26%; }
.acta-site .result-table-candidate-column { width: 36%; }
.acta-site .result-table th, .acta-site .result-table td { border-bottom: 1px solid #aab4b9; padding: 14px 16px; text-align: right; vertical-align: middle; }
.acta-site .result-table thead th { border-top: 1px solid #9eabb3; color: #52616b; font: 500 12px/1.4 CommitMono, monospace; overflow-wrap: anywhere; }
.acta-site .result-table th:first-child { text-align: left; }
.acta-site .result-table tbody th { color: #3a4750; font-size: 14px; font-weight: 400; overflow-wrap: anywhere; }
.acta-site .result-table td { font: 500 20px/1.3 CommitMono, monospace; font-variant-numeric: tabular-nums; white-space: nowrap; }
.acta-site .difference-panel { border-bottom: 1px solid #9eabb3; display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; padding: 22px 16px; }
.acta-site .difference-panel span, .acta-site .difference-panel strong { display: block; }
.acta-site .difference-panel span { color: #52616b; font-size: 12px; }
.acta-site .difference-panel strong { font: 500 28px/1.2 CommitMono, monospace; margin-top: 4px; }
.acta-site .difference-panel p { color: #3a4750; font-size: 13px; grid-column: 1 / -1; max-width: 80ch; }
.acta-site .assumption-ledger { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 28px; }
.acta-site .assumption-ledger article { border-top: 1px solid #9eabb3; padding: 16px 0; }
.acta-site .assumption-ledger article + article { padding-left: 32px; }
.acta-site .assumption-ledger h3 { font-size: 15px; }
.acta-site .assumption-ledger p { color: #52616b; font: 12px/1.55 CommitMono, monospace; margin-top: 8px; }
.acta-site .calculator-assessment-link { margin-top: 24px; }

/* Privacy (surrounding layout only; legal text is unchanged) */
.acta-site .legal-page { max-width: 840px; padding-block: 110px; }
.acta-site .legal-page h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.04; }
.acta-site .legal-page .section-head-col { margin-bottom: 32px; }
.acta-site .legal-page .section-head-col p { color: #52616b; margin-top: 12px; }
.acta-site .faq-list { border-top: 1px solid #9eabb3; }
.acta-site .faq-list details { border-bottom: 1px solid #aab4b9; }
.acta-site .faq-list summary { cursor: pointer; font-size: 16px; font-weight: 500; list-style: none; padding: 18px 36px 18px 0; position: relative; }
.acta-site .faq-list summary::-webkit-details-marker { display: none; }
.acta-site .faq-list summary::after { content: "+"; font: 400 18px/1 CommitMono, monospace; position: absolute; right: 4px; top: 18px; }
.acta-site .faq-list details[open] summary::after { content: "\2212"; }
.acta-site .faq-list details p { color: #52616b; max-width: 67ch; padding: 0 36px 18px 0; }

/* Focus visibility on dark bands */
.acta-site .product-hero :focus-visible, .acta-site .closing-cta :focus-visible,
.acta-site .calculator-hero :focus-visible { outline-color: var(--amber); }

/* Responsive */
@media (max-width: 900px) {
  .acta-site .section { padding-block: 72px; }
  .acta-site .product-hero { padding-block: 72px; }
  .acta-site .product-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .acta-site .evidence-ledger .ledger-head { display: none; }
  .acta-site .evidence-ledger > section { grid-template-columns: 1fr; gap: 8px; padding: 18px 0; }
  .acta-site .memorandum-schedule, .acta-site .product-code-grid { grid-template-columns: 1fr; gap: 40px; }
  .acta-site .product-band, .acta-site .product-code-section { padding-block: 64px; }
  .acta-site .related-controls { grid-template-columns: 1fr; }
  .acta-site .related-controls a + a { border-left: 0; border-top: 1px solid #aab4b9; }
  .acta-site .closing-grid { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .acta-site .closing-cta { padding-block: 64px; }
  .acta-site .worksheet-intro { grid-template-columns: 1fr; gap: 16px; }
  .acta-site .calculator-fields-three, .acta-site .calculator-scenarios { grid-template-columns: 1fr; }
  .acta-site .calculator-scenarios { gap: 32px; }
  .acta-site .calculator-submit { align-items: flex-start; flex-direction: column; }
  .acta-site .difference-panel, .acta-site .assumption-ledger { grid-template-columns: 1fr; }
  .acta-site .difference-panel p { grid-column: 1; }
  .acta-site .assumption-ledger article + article { padding-left: 0; }
  .acta-site .calculator-results { padding-block: 48px; }
  .acta-site .result-table-measure-column { width: 35%; }
  .acta-site .result-table-current-column { width: 29%; }
  .acta-site .result-table-candidate-column { width: 36%; }
  .acta-site .result-table th, .acta-site .result-table td { padding: 10px 6px; overflow-wrap: anywhere; white-space: normal; }
  .acta-site .result-table thead th, .acta-site .result-table tbody th { font-size: 12px; line-height: 1.3; }
  .acta-site .result-table td { font-size: 12px; line-height: 1.25; }
  .acta-site .legal-page { padding-block: 72px; }
}
