
@scope (.agri-battery-page) {
  :scope {
    --ink: #10251e;
    --muted: #60736b;
    --line: #dbe6df;
    --surface: #ffffff;
    --soft: #f3f8ef;
    --accent: #2d7a45;
    --accent-strong: #174e2c;
    --lime: #c9ed82;
    --gold: #e8c45c;
    --dark: #0d3828;
    --shadow: 0 22px 60px rgba(14, 58, 40, .12);
    color: var(--ink);
    background: var(--surface);
    font-family: Inter, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
  }

  *, *::before, *::after { box-sizing: border-box; }
  h1, h2, h3, p, ul { margin-top: 0; }
  h1, h2, h3, strong, summary { color: inherit; }
  h1, h2, h3 { line-height: 1.1; letter-spacing: -.035em; }
  h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(3rem, 6vw, 5.5rem); }
  h2 { margin-bottom: 0; font-size: clamp(2.05rem, 4vw, 3.55rem); }
  h3 { margin-bottom: 10px; font-size: 1.23rem; }
  p { margin-bottom: 0; color: var(--muted); }
  a { color: inherit; text-decoration: none; }
  img { display: block; width: 100%; max-width: 100%; }
  button { font: inherit; }

  .container { width: min(1220px, calc(100% - 48px)); margin-inline: auto; }
  .section { padding: 96px 0; }
  .section-soft { background: var(--soft); }
  .section-dark { color: #fff; background: var(--dark); }
  .section-dark p { color: rgba(255, 255, 255, .7); }

  .eyebrow {
    display: inline-flex;
    gap: 11px;
    align-items: center;
    margin-bottom: 16px;
    color: var(--accent);
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .15em;
    text-transform: uppercase;
  }

  .eyebrow::before { width: 32px; height: 3px; border-radius: 99px; background: currentColor; content: ""; }
  .section-dark .eyebrow { color: var(--lime); }

  .section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .65fr);
    gap: 42px;
    align-items: end;
    margin-bottom: 42px;
  }

  .section-heading > p { max-width: 540px; justify-self: end; }
  .btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

  .btn {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 900;
  }

  .btn-primary { color: #10251e; background: var(--lime); }
  .btn-secondary { color: #fff; border-color: rgba(255, 255, 255, .34); background: rgba(255, 255, 255, .08); }
  .text-link { color: var(--accent); font-size: .78rem; font-weight: 900; }

  .hero {
    position: relative;
    overflow: hidden;
    padding: 82px 0 94px;
    color: #fff;
    background:
      radial-gradient(circle at 78% 20%, rgba(232, 196, 92, .25), transparent 27%),
      linear-gradient(132deg, #0b2f22, #27643b 58%, #153b29);
  }

  .hero::before {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 72px 72px;
    content: "";
    mask-image: linear-gradient(90deg, #000, transparent 92%);
  }

  .hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: 54px; align-items: center; }
  .hero .eyebrow { color: var(--gold); }
  .hero-copy > p { max-width: 690px; color: rgba(255, 255, 255, .74); font-size: 1.05rem; }
  .hero-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
  .hero-tags span { padding: 8px 13px; border: 1px solid rgba(255,255,255,.18); border-radius: 99px; color: rgba(255,255,255,.82); background: rgba(255,255,255,.07); font-size: .7rem; font-weight: 800; }

  .hero-visual { position: relative; min-height: 570px; overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 30px; background: #dcebd7; box-shadow: 0 38px 90px rgba(0,0,0,.25); }
  .hero-visual > img { height: 570px; object-fit: cover; }
  .hero-visual::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(5,37,25,.73)); content: ""; }
  .hero-note { position: absolute; z-index: 2; right: 24px; bottom: 24px; left: 24px; display: flex; gap: 18px; align-items: center; justify-content: space-between; padding: 18px 20px; border: 1px solid rgba(255,255,255,.2); border-radius: 16px; background: rgba(10,48,34,.82); backdrop-filter: blur(10px); }
  .hero-note strong { max-width: 270px; font-size: 1.04rem; }
  .hero-note span { max-width: 210px; color: rgba(255,255,255,.68); font-size: .72rem; text-align: right; }

  .outcome-strip { position: relative; z-index: 3; margin-top: -34px; }
  .outcome-grid { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
  .outcome { padding: 24px; border-right: 1px solid var(--line); }
  .outcome:last-child { border-right: 0; }
  .outcome strong, .outcome span { display: block; }
  .outcome strong { color: var(--accent-strong); font-size: 1rem; }
  .outcome span { margin-top: 4px; color: var(--muted); font-size: .72rem; }

  .application-grid, .product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .media-card, .pain-card, .product-card { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 12px 34px rgba(15,64,43,.07); }
  .media-card img { height: 225px; object-fit: cover; }
  .media-copy, .product-copy { padding: 22px; }
  .media-copy small, .product-copy small { display: block; margin-bottom: 7px; color: var(--accent); font-size: .68rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
  .media-copy p, .product-copy p { font-size: .84rem; }

  .proof-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .proof-card { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 14px 36px rgba(15,64,43,.07); }
  .proof-problem { min-height: 172px; padding: 26px; color: #fff; background: linear-gradient(145deg, #123d2c, #1f6140); }
  .proof-problem > span { display: block; margin-bottom: 30px; color: var(--lime); font-size: .69rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
  .proof-problem p { color: rgba(255,255,255,.69); font-size: .82rem; }
  .proof-body { display: grid; grid-template-columns: repeat(2,1fr); }
  .proof-block { min-height: 210px; padding: 23px; }
  .proof-block + .proof-block { border-left: 1px solid var(--line); }
  .proof-block.evidence { background: #f7f9f6; }
  .proof-block.solution { background: #f1f8e9; }
  .proof-block strong { display: block; margin-bottom: 10px; color: var(--accent-strong); font-size: .76rem; letter-spacing: .04em; text-transform: uppercase; }
  .proof-block p { font-size: .76rem; }
  .source-link { display: inline-flex; margin-top: 14px; color: var(--accent); font-size: .7rem; font-weight: 900; }
  .proof-note { margin-top: 22px; padding: 18px 20px; border-left: 4px solid var(--gold); border-radius: 0 13px 13px 0; background: #fffbea; }
  .proof-note p { font-size: .78rem; }

  .work-cycle { display: grid; grid-template-columns: repeat(7, minmax(130px, 1fr)); overflow-x: auto; padding: 10px 0 18px; }
  .cycle-step { position: relative; min-width: 150px; padding: 24px 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
  .cycle-step:first-child { border-left: 1px solid var(--line); border-radius: 18px 0 0 18px; }
  .cycle-step:last-child { border-right: 1px solid var(--line); border-radius: 0 18px 18px 0; }
  .cycle-step:not(:last-child)::after { position: absolute; z-index: 2; top: 46px; right: -9px; width: 18px; height: 18px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); background: #fff; content: ""; transform: rotate(45deg); }
  .cycle-step span { color: var(--accent); font-size: .72rem; font-weight: 900; }
  .cycle-step h3 { margin-top: 26px; font-size: 1rem; }
  .cycle-step p { font-size: .73rem; }

  .split-layout { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 56px; align-items: center; }
  .split-visual { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: var(--shadow); }
  .split-visual img { min-height: 570px; object-fit: contain; }
  .capability-list { display: grid; gap: 12px; margin-top: 28px; padding: 0; list-style: none; }
  .capability-list li { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
  .capability-list strong { display: block; color: var(--accent-strong); }
  .capability-list span { color: var(--muted); font-size: .78rem; }

  .class-selector, .battery-selector { display: grid; grid-template-columns: 245px minmax(0,1fr); gap: 24px; }
  .tab-nav { display: grid; gap: 9px; align-content: start; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: #eaf2e8; }
  .tab-button { padding: 15px; border: 1px solid transparent; border-radius: 12px; color: var(--muted); background: transparent; cursor: pointer; font-size: .78rem; font-weight: 850; text-align: left; }
  .tab-button small { display: block; margin-top: 3px; color: inherit; font-size: .64rem; font-weight: 600; }
  .tab-button.is-active { color: #fff; background: var(--accent); box-shadow: 0 12px 30px rgba(45,122,69,.2); }
  .tab-panel[hidden] { display: none; }
  .class-panel { min-height: 330px; padding: 36px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
  .class-panel h3 { max-width: 550px; font-size: 2rem; }
  .metric-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 28px; }
  .metric { padding: 16px; border-radius: 13px; background: var(--soft); }
  .metric strong, .metric span { display: block; }
  .metric strong { color: var(--accent-strong); }
  .metric span { color: var(--muted); font-size: .7rem; }

  .product-panel-head { display: flex; gap: 24px; align-items: end; justify-content: space-between; margin-bottom: 22px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
  .product-panel-head h3 { margin-bottom: 0; }
  .product-panel-head p { max-width: 610px; font-size: .82rem; }
  .product-card { transition: transform .18s ease, box-shadow .18s ease; }
  .product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
  .product-card img { height: 245px; padding: 18px; object-fit: contain; background: #fff; }
  .product-copy .text-link { display: inline-flex; margin-top: 16px; }

  .architecture { display: grid; grid-template-columns: .9fr 1.1fr; gap: 38px; align-items: center; }
  .architecture-flow { display: grid; gap: 12px; }
  .power-node { position: relative; padding: 18px 20px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; background: rgba(255,255,255,.06); }
  .power-node + .power-node::before { position: absolute; top: -13px; left: 35px; width: 2px; height: 13px; background: var(--lime); content: ""; }
  .power-node strong { display: block; color: var(--lime); }
  .power-node span { color: rgba(255,255,255,.66); font-size: .76rem; }
  .load-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
  .load-card { min-height: 170px; padding: 22px; border-radius: 18px; color: var(--ink); background: #fff; }
  .section-dark .load-card h3 { color: var(--ink) !important; }
  .section-dark .load-card p { color: var(--muted) !important; font-size: .78rem; }

  .operation-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
  .operation-card { padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
  .operation-card img { height: 150px; margin-bottom: 20px; border-radius: 12px; object-fit: cover; }
  .operation-card p { font-size: .79rem; }

  .test-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
  .test-card { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
  .test-card span { display: block; margin-bottom: 28px; color: var(--accent); font-size: .72rem; font-weight: 900; }
  .test-card ul { margin: 14px 0 0; padding-left: 18px; color: var(--muted); font-size: .75rem; }

  .oem-board { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(370px,.95fr); overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: var(--shadow); }
  .oem-visual { position: relative; min-height: 650px; background: #f6f8f5; }
  .oem-visual img { width: 100%; height: 650px; padding: 48px; object-fit: contain; }
  .hotspot { position: absolute; display: grid; width: 34px; height: 34px; place-items: center; border: 4px solid rgba(255,255,255,.9); border-radius: 50%; color: #fff; background: var(--accent); box-shadow: 0 8px 22px rgba(15,64,43,.25); font-size: .7rem; font-weight: 900; }
  .hotspot-one { top: 23%; left: 29%; }
  .hotspot-two { top: 46%; right: 22%; }
  .hotspot-three { bottom: 24%; left: 27%; }
  .oem-copy { padding: 46px; }
  .oem-options { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-top: 28px; }
  .oem-option { padding: 16px; border: 1px solid var(--line); border-radius: 13px; background: var(--soft); }
  .oem-option strong { display: block; color: var(--accent-strong); font-size: .84rem; }
  .oem-option span { color: var(--muted); font-size: .69rem; }

  .process-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
  .process-step { position: relative; min-height: 220px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
  .process-step > span { display: block; margin-bottom: 44px; color: var(--accent); font-weight: 900; }
  .process-step p { font-size: .8rem; }

  .faq-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
  .faq-item { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
  .faq-item summary { position: relative; padding: 19px 48px 19px 20px; cursor: pointer; font-size: .84rem; font-weight: 850; list-style: none; }
  .faq-item summary::after { position: absolute; top: 17px; right: 20px; color: var(--accent); content: "+"; font-size: 1.25rem; }
  .faq-item[open] summary::after { content: "−"; }
  .faq-answer { padding: 0 20px 20px; }
  .faq-answer p { font-size: .78rem; }

  .rfq-section { color: var(--ink); background: linear-gradient(135deg, #edf6e5, #fff8df 52%, #f5f9f1); }
  .rfq-layout { display: grid; grid-template-columns: minmax(0,.85fr) minmax(500px,1.15fr); gap: 54px; align-items: start; }
  .rfq-copy { padding-top: 32px; }
  .rfq-copy p, .rfq-copy li { color: var(--muted); }
  .rfq-copy ul { display: grid; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
  .rfq-copy li { padding: 12px 15px; border: 1px solid rgba(45,122,69,.18); border-radius: 12px; background: rgba(255,255,255,.62); font-size: .78rem; }
  .cf7-shell { width: 100%; padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
  .cf7-shell .wpcf7, .cf7-shell .wpcf7-form, .cf7-shell .wpcf7-form-control-wrap, .cf7-shell label { display: block; width: 100% !important; max-width: none !important; }
  .cf7-shell .wpcf7-form { margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; }
  .cf7-shell .wpcf7-form > p { width: 100%; margin: 0 0 14px; color: var(--ink); font-size: .75rem; font-weight: 850; }
  .cf7-shell :is(input:not([type="submit"]), select, textarea) { width: 100% !important; max-width: none !important; margin-top: 7px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #fbfcfb; font: inherit; font-size: .78rem; }
  .cf7-shell textarea { min-height: 130px; resize: vertical; }
  .cf7-shell input[type="submit"] { width: 100%; min-height: 52px; border: 0; border-radius: 10px; color: #fff; background: var(--accent); cursor: pointer; font-weight: 900; }

  @media (max-width: 1060px) {
    .hero-grid, .split-layout, .architecture, .oem-board, .rfq-layout { grid-template-columns: 1fr; }
    .hero-visual { min-height: 480px; }
    .hero-visual > img { height: 480px; }
    .application-grid, .product-grid, .process-grid { grid-template-columns: repeat(2,1fr); }
    .operation-grid, .test-grid { grid-template-columns: repeat(2,1fr); }
    .class-selector, .battery-selector { grid-template-columns: 1fr; }
    .tab-nav { grid-template-columns: repeat(2,1fr); }
  }

  @media (max-width: 700px) {
    .container { width: min(100% - 28px, 1220px); }
    .section { padding: 72px 0; }
    .hero { padding: 66px 0 76px; }
    .hero-grid { gap: 34px; }
    .hero-visual, .hero-visual > img { min-height: 380px; height: 380px; }
    .hero-note { display: block; }
    .hero-note span { display: block; margin-top: 8px; text-align: left; }
    .outcome-grid, .application-grid, .product-grid, .operation-grid, .test-grid, .process-grid, .faq-list, .metric-grid, .load-grid, .proof-grid { grid-template-columns: 1fr; }
    .proof-body { grid-template-columns: 1fr; }
    .proof-block + .proof-block { border-top: 1px solid var(--line); border-left: 0; }
    .outcome { border-right: 0; border-bottom: 1px solid var(--line); }
    .outcome:last-child { border-bottom: 0; }
    .section-heading { grid-template-columns: 1fr; gap: 18px; }
    .section-heading > p { justify-self: start; }
    .tab-nav { grid-template-columns: 1fr; }
    .product-panel-head { display: block; }
    .product-panel-head p { margin-top: 10px; }
    .oem-visual, .oem-visual img { min-height: 470px; height: 470px; }
    .oem-copy { padding: 28px; }
    .oem-options { grid-template-columns: 1fr; }
    .rfq-layout { gap: 32px; }
    .cf7-shell { padding: 20px; }
  }
}
