/* ==========================================================================
   AAC PLANT ROI CALCULATOR & BREAK-EVEN GUIDE — STYLES
   Source: https://laxmi-en-fab-complete.mitesh958.chatgpt.site/imported/aac-roi-break-even/
   ========================================================================== */

:root {
  --navy: #0b1727;
  --blue: #0c4f80;
  --deep: #09263d;
  --silver: #eef2f5;
  --light: #f5f7f8;
  --text: #0b1727;
  --secondary: #5e6874;
  --muted: #84909c;
  --line: #dce2e7;
  --highlight: #8fc6ec;
  --max: 1400px;
}

.roi-page {
  background: #fff;
  color: var(--text);
  font-family: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.roi-page * {
  box-sizing: border-box;
}

.roi-page a {
  color: inherit;
  text-decoration: none;
}

.roi-page button {
  font: inherit;
}

.roi-page .wrap {
  width: min(var(--max, 1400px), calc(100% - 12vw));
  margin-inline: auto;
}

/* ==========================================================================
   Typography & Eyebrow Reset
   ========================================================================== */

.roi-page .eyebrow {
  color: var(--blue);
  letter-spacing: .18em;
  text-transform: uppercase;
  margin: 0 0 24px !important;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  display: block !important;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
  width: auto !important;
  max-width: none !important;
}

.roi-page .eyebrow::before {
  content: none !important;
  display: none !important;
}

.roi-page .eyebrow.light,
.roi-page .dark .eyebrow,
.roi-page .closing .eyebrow,
.roi-page .calc-results .eyebrow {
  color: var(--highlight) !important;
}

.roi-page h1,
.roi-page h2,
.roi-page .closing h2 {
  letter-spacing: -.055em;
  margin: 0;
  font-weight: 480;
  line-height: .95;
}

.roi-page h1 {
  max-width: 900px;
  font-size: clamp(52px, 6.4vw, 105px);
  letter-spacing: -.065em;
  line-height: .92;
  color: var(--navy);
}

.roi-page h2 {
  font-size: clamp(42px, 5.5vw, 82px);
  line-height: 1.02;
  color: var(--navy);
}

.roi-page .dark h2,
.roi-page .closing h2 {
  color: #fff;
}

.roi-page h1 span,
.roi-page h2 span,
.roi-page .section-lead h2 span,
.roi-page .split-callout h2 span {
  color: var(--muted);
  font-weight: 320;
}

.roi-page .dark h2 span {
  color: #8f9aa6;
  font-weight: 320;
}

.roi-page h3 {
  letter-spacing: -.025em;
  margin: 0;
  font-size: 22px;
  font-weight: 520;
}

.roi-page p {
  margin: 0;
  line-height: 1.65;
}

.roi-page .section {
  padding: clamp(90px, 10vw, 160px) 0;
}

.roi-page .white {
  background: #fff;
}

.roi-page .silver,
.roi-page .methodology {
  background: var(--silver);
}

.roi-page .calc-section {
  background: var(--light);
}

.roi-page .section-lead {
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, .65fr);
  align-items: end;
  gap: 8vw;
  margin: 24px 0 72px;
  display: grid;
}

.roi-page .section-lead > p,
.roi-page .section-lead > div {
  color: var(--secondary);
  max-width: 540px;
  font-size: 17px;
  line-height: 1.7;
}

.roi-page .section-lead p {
  margin: 0 0 14px;
}

.roi-page .section-lead p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Buttons & Links
   ========================================================================== */

.roi-page .actions {
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
  display: flex;
}

.roi-page .button {
  background: var(--blue);
  color: #fff !important;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 13px 26px;
  font-size: 13.5px;
  font-weight: 650;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  display: inline-flex;
  cursor: pointer;
  text-decoration: none;
  border: none;
  box-shadow: 0 8px 24px rgba(12, 79, 128, 0.18);
}

.roi-page .button:hover {
  transform: translateY(-2px);
  background: #093c62;
  box-shadow: 0 12px 30px rgba(12, 79, 128, 0.28);
}

.roi-page .white-button {
  color: var(--navy) !important;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.roi-page .white-button:hover {
  background: #f0f4f7;
}

.roi-page .text-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  transition: color .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.roi-page .text-link:hover {
  color: var(--blue);
}

.roi-page .text-link.light-link {
  color: #fff;
}

.roi-page .text-link.light-link:hover {
  color: #fff;
  text-decoration: underline;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.roi-page .hero {
  background: var(--light);
  min-height: calc(100vh - 72px);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  width: 100%;
}

.roi-page .hero-image {
  object-fit: cover;
  object-position: right center;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.roi-page .hero-wash {
  background: linear-gradient(90deg, #fff 0%, #fffffffa 30%, #ffffffc2 46%, #ffffff1f 65%, #0000 78%);
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.roi-page .hero-wrap {
  position: relative;
  z-index: 2;
}

.roi-page .hero-copy {
  z-index: 2;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-block: 80px;
  display: flex;
  position: relative;
  max-width: 820px;
  width: 100%;
}

.roi-page .hero-copy h1 {
  margin: 18px 0 26px;
}

.roi-page .hero-copy > p:not(.eyebrow) {
  max-width: 620px;
  color: var(--secondary);
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.65;
}

.roi-page .hero-copy small {
  color: var(--muted);
  margin-top: 24px;
  font-size: 12.5px;
}

/* ==========================================================================
   01 · Understand (4 Output Definition Cards)
   ========================================================================== */

.roi-page .definition-grid {
  border-block: 1px solid var(--line);
  grid-template-columns: repeat(4, 1fr);
  display: grid;
}

.roi-page .definition-grid article {
  border-right: 1px solid var(--line);
  padding: 32px 32px 34px 0;
}

.roi-page .definition-grid article:not(:first-child) {
  padding-left: 32px;
}

.roi-page .definition-grid article:last-child {
  border-right: 0;
}

.roi-page .definition-grid span,
.roi-page .numbered-rows article > span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  display: block;
}

.roi-page .definition-grid h3 {
  margin: 28px 0 12px;
  font-size: 21px;
  line-height: 1.25;
  color: var(--navy);
}

.roi-page .definition-grid p {
  color: var(--secondary);
  font-size: 15px;
  line-height: 1.65;
}

/* ==========================================================================
   02 · Evaluate (Dark Navy Theme & Numbered Rows)
   ========================================================================== */

.roi-page .dark {
  background: var(--navy);
  color: #fff;
}

.roi-page .dark .section-lead > p {
  color: #aeb8c2;
}

.roi-page .numbered-rows {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.roi-page .numbered-rows article {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  grid-template-columns: 70px minmax(250px, .65fr) 1fr;
  align-items: center;
  gap: 4vw;
  padding: 30px 0;
  display: grid;
}

.roi-page .numbered-rows article > span {
  color: var(--highlight);
  font-size: 13px;
}

.roi-page .numbered-rows h3 {
  margin: 0;
  font-size: 22px;
  color: #fff;
}

.roi-page .numbered-rows p {
  color: #aeb8c2;
  max-width: 680px;
  font-size: 15px;
  line-height: 1.65;
}

.roi-page .dark blockquote {
  border-left: 3px solid var(--highlight);
  letter-spacing: -.035em;
  max-width: 1080px;
  margin: 100px 0 0;
  padding: 8px 0 8px 36px;
  font-size: clamp(26px, 3.2vw, 50px);
  line-height: 1.25;
  color: #fff;
  font-weight: 450;
}

/* ==========================================================================
   Decision Framework & Metric Table
   ========================================================================== */

.roi-page .metric-table {
  border-top: 1px solid #cbd3da;
  overflow-x: auto;
  background: #fff;
  border-radius: 2px;
}

.roi-page .metric-table table {
  border-collapse: collapse;
  width: 100%;
  min-width: 760px;
}

.roi-page .metric-table th,
.roi-page .metric-table td {
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #cbd3da;
  padding: 24px 22px;
  font-size: 15px;
}

.roi-page .metric-table thead th {
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  background: #f0f4f7;
}

.roi-page .metric-table tbody th {
  color: var(--blue);
  font-size: 19px;
  font-weight: 550;
  width: 22%;
}

.roi-page .metric-table td {
  color: var(--secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Calculator Section & Card
   ========================================================================== */

.roi-page .calculator {
  border: 1px solid var(--line);
  grid-template-columns: 1.05fr .95fr;
  display: grid;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(11, 23, 39, 0.08);
}

.roi-page .calc-inputs {
  grid-template-columns: 1fr 1fr;
  gap: 26px 28px;
  padding: clamp(28px, 4vw, 54px);
  display: grid;
}

.roi-page .calc-inputs label {
  color: var(--secondary);
  font-size: 13px;
  font-weight: 650;
  display: block;
}

.roi-page .calc-inputs label span {
  float: right;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.roi-page .calc-inputs input {
  border: 0;
  border-bottom: 1.5px solid var(--line);
  width: 100%;
  font: inherit;
  color: var(--navy);
  outline: none;
  margin-top: 8px;
  padding: 10px 2px;
  font-size: 20px;
  font-weight: 600;
  display: block;
  transition: border-color .2s ease;
  background: transparent;
}

.roi-page .calc-inputs input:focus {
  border-color: var(--blue);
}

.roi-page .calc-results {
  color: #fff;
  background: linear-gradient(145deg, #104f7d, #09263d);
  padding: clamp(30px, 4vw, 54px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.roi-page .calc-results > div {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  justify-content: space-between;
  align-items: baseline;
  padding: 18px 0;
  display: flex;
}

.roi-page .calc-results span {
  color: #b8cad7;
  font-size: 13.5px;
  font-weight: 500;
}

.roi-page .calc-results strong {
  font-size: 26px;
  font-weight: 650;
  color: #fff;
}

.roi-page .calc-results small {
  color: #a9bfce;
  margin-left: 6px;
  font-size: 11px;
  font-weight: 500;
}

.roi-page .calc-note {
  color: #a9bfce;
  margin: 24px 0 0;
  font-size: 11.5px;
  line-height: 1.6;
}

/* ==========================================================================
   03 · Decide (Scenario Grid & Split Callout)
   ========================================================================== */

.roi-page .scenario-grid {
  border: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
  display: grid;
  border-radius: 4px;
  overflow: hidden;
}

.roi-page .scenario-grid article {
  border-right: 1px solid var(--line);
  padding: 40px;
}

.roi-page .scenario-grid article:last-child {
  border-right: 0;
}

.roi-page .scenario-grid article > p {
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
}

.roi-page .scenario-grid h3 {
  margin: 36px 0 16px;
  font-size: 24px;
  line-height: 1.25;
  color: var(--navy);
}

.roi-page .scenario-grid span {
  color: var(--secondary);
  font-size: 15px;
  line-height: 1.65;
  display: block;
}

.roi-page .scenario-grid .preferred {
  background: var(--navy);
  color: #fff;
}

.roi-page .scenario-grid .preferred h3 {
  color: #fff;
}

.roi-page .scenario-grid .preferred span {
  color: #aeb8c2;
}

.roi-page .scenario-grid .preferred > p {
  color: var(--highlight);
}

.roi-page .split-callout {
  grid-template-columns: 1.1fr .9fr;
  gap: 8vw;
  margin-top: 110px;
  align-items: center;
  display: grid;
}

.roi-page .split-callout h2 {
  margin-top: 20px;
  font-size: clamp(38px, 4.8vw, 68px);
}

.roi-page .split-callout ol {
  counter-reset: cost;
  margin: 0;
  padding: 0;
  list-style: none;
}

.roi-page .split-callout li {
  counter-increment: cost;
  border-bottom: 1px solid var(--line);
  color: var(--secondary);
  padding: 20px 0;
  font-size: 15.5px;
  font-weight: 500;
}

.roi-page .split-callout li:first-child {
  border-top: 1px solid var(--line);
}

.roi-page .split-callout li:before {
  content: "0" counter(cost);
  color: var(--blue);
  margin-right: 24px;
  font-size: 11.5px;
  font-weight: 700;
}

/* ==========================================================================
   Laxmi En-Fab Methodology Rows
   ========================================================================== */

.roi-page .method-rows {
  border-top: 1px solid #cbd3da;
}

.roi-page .method-rows article {
  border-bottom: 1px solid #cbd3da;
  grid-template-columns: .6fr 1fr;
  padding: 28px 0;
  display: grid;
  align-items: center;
}

.roi-page .method-rows span {
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
}

.roi-page .method-rows p {
  color: var(--secondary);
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
}

/* ==========================================================================
   Investor Questions / FAQ Section
   ========================================================================== */

.roi-page .faq-section {
  background: #fff;
}

.roi-page .faq-list {
  border-top: 1px solid var(--line);
}

.roi-page .faq-item {
  border-bottom: 1px solid var(--line);
}

.roi-page .faq-item button {
  text-align: left;
  width: 100%;
  color: var(--navy);
  cursor: pointer;
  background: transparent;
  border: 0;
  grid-template-columns: 60px 1fr 30px;
  align-items: center;
  gap: 20px;
  padding: 25px 0;
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 520;
  display: grid;
  transition: color .2s ease;
}

.roi-page .faq-item button:hover {
  color: var(--blue);
}

.roi-page .faq-item button span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.roi-page .faq-item button b {
  text-align: right;
  font-size: 24px;
  font-weight: 350;
  color: var(--blue);
  transition: transform .2s ease;
}

.roi-page .faq-answer p {
  color: var(--secondary);
  max-width: 950px;
  margin: 0;
  padding: 0 60px 28px 60px;
  font-size: 15.5px;
  line-height: 1.7;
}

/* ==========================================================================
   Closing Section
   ========================================================================== */

.roi-page .closing {
  color: #fff;
  background: linear-gradient(135deg, #104f7d, #09263d);
  padding: clamp(90px, 10vw, 150px) 0;
}

.roi-page .closing h2 {
  letter-spacing: -.06em;
  max-width: 1050px;
  margin: 24px 0 28px;
  font-size: clamp(44px, 5.8vw, 86px);
  line-height: .98;
}

.roi-page .closing > .wrap > p:not(.eyebrow) {
  color: #c1d0db;
  max-width: 720px;
  font-size: 17.5px;
  line-height: 1.7;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1000px) {
  .roi-page .wrap {
    width: min(100% - 48px, var(--max, 1400px));
  }
  .roi-page .hero-wash {
    background: linear-gradient(90deg, #fff 0%, #fffffff5 38%, #ffffff73 63%, #0000 84%);
  }
  .roi-page .section-lead {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .roi-page .definition-grid {
    grid-template-columns: 1fr 1fr;
  }
  .roi-page .definition-grid article:nth-child(2) {
    border-right: 0;
  }
  .roi-page .definition-grid article:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }
  .roi-page .calculator,
  .roi-page .scenario-grid {
    grid-template-columns: 1fr;
  }
  .roi-page .scenario-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .roi-page .split-callout {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .roi-page .numbered-rows article {
    grid-template-columns: 50px .7fr 1fr;
    gap: 24px;
  }
}

@media (max-width: 680px) {
  .roi-page .wrap {
    width: calc(100% - 32px);
  }
  .roi-page .hero {
    min-height: 600px;
    align-items: flex-end;
    padding-top: 20px;
  }
  .roi-page .hero-image {
    object-position: 68% center;
    opacity: .85;
  }
  .roi-page .hero-wash {
    background: linear-gradient(#ffffff1a 10%, #ffffffe6 50%, #fffffffa 100%);
  }
  .roi-page .hero-copy {
    padding: 100px 0 40px;
    width: 100%;
  }
  .roi-page .hero-copy h1 {
    font-size: clamp(42px, 12vw, 68px);
    line-height: .96;
  }
  .roi-page h2 {
    font-size: clamp(34px, 10vw, 54px);
  }
  .roi-page .hero-copy > p:not(.eyebrow) {
    font-size: 16px;
  }
  .roi-page .actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .roi-page .button {
    width: 100%;
    justify-content: center;
  }
  .roi-page .section {
    padding: 80px 0;
  }
  .roi-page .section-lead {
    margin: 20px 0 45px;
  }
  .roi-page .definition-grid {
    grid-template-columns: 1fr;
  }
  .roi-page .definition-grid article,
  .roi-page .definition-grid article:not(:first-child) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 24px 0;
  }
  .roi-page .numbered-rows article {
    grid-template-columns: 38px 1fr;
    gap: 12px;
    padding: 24px 0;
  }
  .roi-page .numbered-rows article p {
    grid-column: 2;
  }
  .roi-page .dark blockquote {
    margin-top: 60px;
    padding-left: 20px;
    font-size: 26px;
  }
  .roi-page .calc-inputs {
    grid-template-columns: 1fr;
    padding: 28px 20px;
  }
  .roi-page .calc-inputs label {
    grid-column: span 1 !important;
  }
  .roi-page .calc-results {
    padding: 30px 20px;
  }
  .roi-page .calc-results strong {
    font-size: 22px;
  }
  .roi-page .scenario-grid article {
    padding: 28px 20px;
  }
  .roi-page .split-callout {
    margin-top: 70px;
  }
  .roi-page .method-rows article {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .roi-page .faq-item button {
    grid-template-columns: 32px 1fr 24px;
    gap: 10px;
    font-size: 16px;
  }
  .roi-page .faq-answer p {
    padding: 0 10px 20px 32px;
  }
}
