
.agr-story{
  --brand:#2D8B5F;--brand-dark:#22713C;--ink:#0B0F0D;--text:#000000;--text-soft:rgba(0,0,0,.68);
  --bg:#FFFFFF;--bg-alt:#F7F7F7;--line:#D1D5DB;--radius:20px;
  --grad-brand:linear-gradient(135deg,#34a06d 0%,var(--brand) 45%,var(--brand-dark) 100%);
  --grad-dark:linear-gradient(135deg,#171f1a 0%,var(--ink) 55%,#050706 100%);
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  color:var(--text);
}
.agr-story *{box-sizing:border-box;}
.agr-story h2,.agr-story h3{margin:0;color:var(--text);font-weight:900;line-height:1.12;}
.agr-story p{margin:0;color:var(--text-soft);line-height:1.65;}
.agr-story .section{max-width:1180px;margin:0 auto;padding:64px 24px;}
.agr-story .section-alt{background:linear-gradient(180deg,var(--bg-alt) 0%,#F1F4F2 100%);border-radius:var(--radius);}
.agr-story .section-pad{padding:48px;}
@media (max-width:640px){ .agr-story .section-pad{padding:24px 18px;} }
.agr-story .eyebrow{display:inline-block;font-size:12.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--brand);margin-bottom:10px;}
.agr-story .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:15px 28px;border-radius:999px;font-weight:700;font-size:15px;background:var(--grad-brand);background-size:160% 160%;background-position:0% 50%;color:#fff!important;text-decoration:none;border:none;cursor:pointer;transition:transform .15s ease,background-position .4s ease;box-shadow:0 8px 20px rgba(45,139,95,.22);}
.agr-story .btn:hover{transform:translateY(-2px);background-position:100% 50%;}

/* Story split */
.agr-story .story-split{display:grid;grid-template-columns:1.05fr 1fr;gap:48px;align-items:center;}
.agr-story .story-media{position:relative;border-radius:var(--radius);overflow:hidden;cursor:pointer;background:#000;aspect-ratio:16/9;box-shadow:0 20px 40px rgba(0,0,0,.12);}
.agr-story .story-media img{width:100%;height:100%;object-fit:cover;opacity:.88;transition:transform .5s ease,opacity .3s ease;}
.agr-story .story-media:hover img{transform:scale(1.04);opacity:1;}
.agr-story .play-btn{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:72px;height:72px;border-radius:50%;background:rgba(255,255,255,.92);display:flex;align-items:center;justify-content:center;box-shadow:0 8px 24px rgba(0,0,0,.3);transition:transform .2s ease;}
.agr-story .story-media:hover .play-btn{transform:translate(-50%,-50%) scale(1.08);}
.agr-story .story-media:focus-visible,.agr-story .works-media:focus-visible{outline:3px solid var(--brand);outline-offset:3px;}
.agr-story .play-btn:after{content:'';border-style:solid;border-width:12px 0 12px 20px;border-color:transparent transparent transparent var(--ink);margin-left:4px;}
.agr-story .story-copy h2{font-size:clamp(24px,3vw,32px);margin-bottom:16px;}
.agr-story .story-copy p+p{margin-top:14px;}
.agr-story .story-copy .btn{margin-top:22px;}

/* Reviews (shared pattern) */
.agr-story .rv-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:28px;}
.agr-story .rv-score{display:flex;align-items:baseline;gap:12px;}
.agr-story .rv-score-num{font-size:46px;font-weight:900;color:var(--brand);line-height:1;}
.agr-story .rv-score-meta .stars{color:#F4A200;font-size:18px;letter-spacing:2px;}
.agr-story .rv-score-meta .count{font-size:13.5px;color:var(--text-soft);margin-top:2px;}
.agr-story .rv-track{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:10px;scrollbar-width:none;}
.agr-story .rv-track::-webkit-scrollbar{display:none;}
.agr-story .rv-card{flex:0 0 320px;background:var(--bg-alt);border-radius:var(--radius);padding:26px;scroll-snap-align:start;display:flex;flex-direction:column;gap:14px;transition:box-shadow .25s ease, transform .25s ease;}
.agr-story .rv-card:hover{box-shadow:0 14px 32px -14px rgba(0,0,0,.25);transform:translateY(-3px);}
.agr-story .rv-card.featured{background:linear-gradient(160deg,rgba(45,139,95,.12),rgba(45,139,95,.04));border:1.5px solid var(--brand);}
.agr-story .rv-card .stars{color:#F4A200;font-size:15px;letter-spacing:1px;}
.agr-story .rv-card .quote{font-size:15.5px;color:var(--text);flex:1;}
.agr-story .rv-card .quote em{font-style:normal;color:var(--brand-dark);font-weight:700;}
.agr-story .rv-author{display:flex;align-items:center;gap:10px;margin-top:auto;}
.agr-story .rv-avatar{width:36px;height:36px;border-radius:50%;background:var(--brand);color:#fff;font-size:14px;font-weight:700;display:flex;align-items:center;justify-content:center;flex:none;}
.agr-story .rv-name{font-size:14.5px;font-weight:700;}
.agr-story .rv-source{font-size:12.5px;color:var(--text-soft);}

/* Cost comparison */
.agr-story .cost-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.agr-story .cost-card{background:var(--bg);border:1px solid var(--line);border-radius:var(--radius);padding:30px;display:flex;flex-direction:column;gap:10px;transition:box-shadow .25s ease, transform .25s ease;}
.agr-story .cost-card:hover{box-shadow:0 14px 32px -14px rgba(0,0,0,.18);transform:translateY(-3px);}
.agr-story .cost-card.hero{background:var(--grad-dark);border-color:var(--ink);}
.agr-story .cost-card.hero *{color:#fff;}
.agr-story .cost-card .tag{font-size:11.5px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--brand);}
.agr-story .cost-card.hero .tag{color:#8FD6AE;}
.agr-story .cost-card h3{font-size:19px;margin-top:4px;}
.agr-story .cost-card p{font-size:14.5px;}
.agr-story .cost-card .sum{margin-top:auto;padding-top:14px;border-top:1px solid var(--line);font-size:13px;font-weight:700;color:var(--text);}
.agr-story .cost-card.hero .sum{border-top-color:rgba(255,255,255,.2);color:#fff;}

/* How it works table */
.agr-story .works-media{position:relative;border-radius:var(--radius);overflow:hidden;cursor:pointer;background:#000;aspect-ratio:16/9;box-shadow:0 20px 40px rgba(0,0,0,.12);margin-bottom:40px;}
.agr-story .works-media img{width:100%;height:100%;object-fit:cover;opacity:.88;transition:transform .5s ease,opacity .3s ease;}
.agr-story .works-media:hover img{transform:scale(1.04);opacity:1;}
.agr-story .works-table{width:100%;border-collapse:separate;border-spacing:0;background:var(--bg);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;}
.agr-story .works-table th,.agr-story .works-table td{padding:18px 20px;text-align:left;font-size:14px;vertical-align:top;border-bottom:1px solid var(--line);}
.agr-story .works-table tr:last-child th,.agr-story .works-table tr:last-child td{border-bottom:none;}
.agr-story .works-table thead th{background:var(--bg-alt);font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--text-soft);font-weight:800;}
.agr-story .works-table th[scope="row"]{font-weight:800;color:var(--text);white-space:nowrap;}
.agr-story .works-table td.win{background:rgba(45,139,95,.06);}
.agr-story .works-table td.win strong{color:var(--brand-dark);}
.agr-story .works-table td strong{display:block;font-weight:700;color:var(--text);margin-bottom:3px;}
.agr-story .works-table td span{color:var(--text-soft);font-size:13px;}

/* FAQ */
.agr-story .faq-list{display:flex;flex-direction:column;gap:10px;}
.agr-story .faq-item{background:var(--bg);border:1px solid var(--line);border-radius:var(--radius);padding:6px 24px;transition:border-color .2s ease, box-shadow .2s ease;}
.agr-story .faq-item:hover{border-color:rgba(45,139,95,.4);}
.agr-story .faq-item[open]{box-shadow:0 14px 32px -16px rgba(0,0,0,.2);border-color:rgba(45,139,95,.35);}
.agr-story .faq-item summary{list-style:none;cursor:pointer;padding:18px 0;font-weight:700;font-size:16px;display:flex;align-items:center;justify-content:space-between;gap:16px;color:var(--text);}
.agr-story .faq-item summary::-webkit-details-marker{display:none;}
.agr-story .faq-icon{flex:none;font-size:22px;font-weight:400;color:var(--brand);transition:transform .2s ease;}
.agr-story .faq-item[open] .faq-icon{transform:rotate(45deg);}
.agr-story .faq-item p{padding-bottom:20px;font-size:14.5px;}

/* Features */
.agr-story .feat-chips{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 36px;}
.agr-story .feat-chip{background:var(--bg);border:1px solid var(--line);border-radius:999px;padding:10px 18px;font-size:14px;font-weight:700;color:var(--text);}
.agr-story .feat-gallery{display:grid;grid-template-columns:1.4fr 1fr;grid-template-rows:1fr 1fr;gap:14px;border-radius:var(--radius);overflow:hidden;}
.agr-story .feat-gallery a{overflow:hidden;}
.agr-story .feat-gallery img{width:100%;height:100%;object-fit:cover;display:block;border-radius:14px;transition:transform .4s ease;}
.agr-story .feat-gallery a:hover img{transform:scale(1.05);}
.agr-story .feat-gallery a:first-child{grid-row:1 / span 2;}
.agr-story .feat-gallery a{display:block;height:100%;overflow:hidden;border-radius:14px;}

/* Specs */
.agr-story .specs-table{width:100%;border-collapse:separate;border-spacing:0;background:var(--bg);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;}
.agr-story .specs-table tr{border-bottom:1px solid var(--line);}
.agr-story .specs-table tr:last-child{border-bottom:none;}
.agr-story .specs-table th,.agr-story .specs-table td{padding:18px 22px;text-align:left;vertical-align:top;}
.agr-story .specs-table th{width:220px;font-size:13.5px;font-weight:800;color:var(--brand-dark);white-space:nowrap;}
.agr-story .specs-table td{font-size:14px;color:var(--text-soft);}

/* Guide CTA */
.agr-story .guide-band{position:relative;overflow:hidden;background:var(--grad-dark);border-radius:var(--radius);padding:48px;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;}
.agr-story .guide-band:before{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(480px 240px at 85% 15%,rgba(45,139,95,.35),transparent 70%);}
.agr-story .guide-band>*{position:relative;}
.agr-story .guide-band h2{color:#fff;font-size:clamp(22px,3vw,28px);}
.agr-story .guide-band p{color:rgba(255,255,255,.72);margin-top:8px;max-width:460px;}

/* Scroll reveal (progressive enhancement — elements only hide once JS opts them in) */
@media (prefers-reduced-motion:no-preference){
  .agr-story .agr-reveal-init{opacity:0;transform:translateY(18px);transition:opacity .6s ease, transform .6s ease;}
  .agr-story .agr-reveal-init.is-visible{opacity:1;transform:translateY(0);}
  .agr-story .cost-grid .cost-card:nth-child(2){transition-delay:.08s;}
  .agr-story .cost-grid .cost-card:nth-child(3){transition-delay:.16s;}
}

@media(max-width:880px){
  .agr-story .story-split{grid-template-columns:1fr;}
  .agr-story .cost-grid{grid-template-columns:1fr;}
  .agr-story .works-table{display:block;overflow-x:auto;}
  .agr-story .feat-gallery{grid-template-columns:1fr 1fr;grid-template-rows:auto;}
  .agr-story .feat-gallery a:first-child{grid-row:auto;grid-column:1 / span 2;aspect-ratio:16/9;}
  .agr-story .specs-table th{width:150px;}
}

/* ===== Mobile padding pass ===== */
@media (max-width:640px){
  .agr-story .section{padding:36px 18px;}
  .agr-story .story-copy h2{font-size:22px;margin-bottom:12px;}
  .agr-story .rv-score-num{font-size:36px;}
  .agr-story .rv-card{flex-basis:84%;padding:20px;}
  .agr-story .cost-card{padding:20px;}
  .agr-story .works-table th,.agr-story .works-table td{padding:12px 14px;font-size:13px;}
  .agr-story .faq-item{padding:4px 18px;}
  .agr-story .faq-item summary{padding:14px 0;font-size:15px;}
  .agr-story .feat-chips{margin:16px 0 24px;gap:8px;}
  .agr-story .feat-chip{padding:8px 14px;font-size:13px;}
  .agr-story .specs-table th,.agr-story .specs-table td{padding:12px 14px;}
  .agr-story .specs-table th{width:120px;font-size:12.5px;}
  .agr-story .guide-band{padding:28px 22px;}
}
