/* Mint SEO — Agentic Commerce page. Matches Figma board 489:2. */

/* ===== HERO (740:2) — dark panel in cream + ChatGPT chat mock ===== */
.ag-hero { background: var(--page); padding: 10px 48px 0; }
.ag-hero__frame { max-width: 1312px; margin: 0 auto; background: radial-gradient(90% 130% at 20% 100%, #1c4f4a, #0a1f1c 55%), #0a1f1c; border-radius: 28px; overflow: hidden; box-shadow: 0 50px 100px -60px rgba(20,20,19,0.5); }
.ag-hero__in { display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: center; padding: clamp(30px, 3.4vw, 44px) clamp(40px, 4vw, 56px); color: #fff; }
.ag-hero__copy { max-width: 460px; min-width: 0; }
.ag-hero .eyebrow { font-size: 16px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mint-light); margin: 0 0 16px; }
.ag-hero h1 { margin: 0; font-size: clamp(38px, 4.6vw, 56px); font-weight: 800; line-height: 1.03; letter-spacing: -0.03em; color: #fff; }
.ag-hero h1 em { font-style: normal; color: var(--mint-light); }
.ag-hero .sub { margin: 18px 0 0; font-size: 18px; line-height: 1.55; color: rgba(255,255,255,0.75); }
.ag-hero__ctas { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 28px; }
.ag-hero .btn { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; padding: 15px 24px; border-radius: 11px; text-decoration: none; transition: background 0.2s, transform 0.2s; }
.ag-hero .btn--mint { background: var(--mint-ink); color: #fff; } .ag-hero .btn--mint:hover { background: #35b0a7; transform: translateY(-2px); }
.ag-hero .btn--ghost { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.2); } .ag-hero .btn--ghost:hover { background: rgba(255,255,255,0.14); }
.ag-chat { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,0.6); color: var(--ink); min-width: 0; }
.ag-chat__hd { display: flex; align-items: center; gap: 10px; padding: 15px 20px; border-bottom: 1px solid #eef1ef; } .ag-chat__hd .ic { width: 26px; height: 26px; border-radius: 50%; background: #0a1f1c; color: #fff; display: grid; place-items: center; font-size: 13px; } .ag-chat__hd b { font-size: 17px; color: var(--ink); }
.ag-chat__body { padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.ag-bub { max-width: 82%; padding: 11px 15px; border-radius: 14px; font-size: 15px; line-height: 1.45; }
.ag-bub--user { align-self: flex-end; background: var(--mint-tint); color: var(--ink); border-bottom-right-radius: 4px; }
.ag-bub--ai { align-self: flex-start; background: #f4f5f4; color: var(--ink); border-bottom-left-radius: 4px; }
.ag-prod { border: 1px solid var(--border); border-radius: 12px; padding: 13px 14px; display: flex; align-items: center; gap: 14px; }
.ag-prod .thumb { width: 56px; height: 56px; border-radius: 8px; background: var(--mint-tint); flex: 0 0 auto; } .ag-prod .nm { min-width: 0; flex: 1 1 auto; } .ag-prod .nm b { display: block; font-size: 16px; color: var(--ink); } .ag-prod .nm .dom { display: block; font-size: 14px; color: var(--mint-deep); } .ag-prod .nm .pr { display: block; font-size: 15px; font-weight: 800; color: var(--ink); margin-top: 2px; } .ag-prod .buy { margin-left: auto; background: #0f3d37; color: #fff; font-size: 15px; font-weight: 700; border-radius: 8px; padding: 9px 20px; flex: 0 0 auto; }
.ag-done { align-self: flex-start; background: #e6f5ec; color: #1a7a44; border-radius: 12px; padding: 11px 15px; font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 8px; } .ag-done .ck { width: 22px; height: 22px; border-radius: 50%; background: #26a269; color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.ag-chat__ft { padding: 14px 20px; border-top: 1px solid #eef1ef; font-size: 14px; color: var(--body); }
@media (max-width: 980px) {
  .ag-hero { padding: 24px 22px 0; }
  .ag-hero__in { grid-template-columns: 1fr; gap: 40px; padding: 40px 24px; }
  .ag-hero__copy { max-width: none; }
}
@media (max-width: 560px) {
  /* narrow chat mock: let the name take the full row and drop the Buy button onto its own line */
  .ag-prod { gap: 10px 12px; padding: 12px; flex-wrap: wrap; }
  .ag-prod .thumb { width: 44px; height: 44px; }
  .ag-prod .nm { flex: 1 1 auto; }
  .ag-prod .buy { flex: 1 1 100%; margin-left: 0; text-align: center; padding: 10px 14px; }
}

/* ===== WHAT IS AGENTIC COMMERCE — timeline (776:2) ===== */
.ag-wi { background: #fff; }
.ag-wi__in { max-width: 1240px; margin: 0 auto; padding: clamp(56px, 6vw, 84px) 48px; }
.ag-wi__head { max-width: 660px; margin-bottom: 36px; }
.ag-wi__head .eyebrow { font-size: 16px; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; color: var(--mint-ink); margin: 0 0 14px; }
.ag-wi__head h2 { margin: 0; font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; color: var(--ink); } .ag-wi__head h2 em { font-style: normal; color: var(--mint); }
.ag-wi__head .sub { margin: 16px 0 0; font-size: 18px; line-height: 1.55; color: var(--body); }
.ag-tl__row { display: grid; grid-template-columns: 74px auto auto 1fr; gap: 20px; align-items: start; padding: 14px 0; position: relative; }
.ag-tl__row::before { content: ""; position: absolute; left: 26px; top: 54px; bottom: -14px; width: 2px; background: #e0e0db; z-index: 1; } .ag-tl__row:last-child::before { display: none; }
.ag-tl__n { width: 54px; height: 54px; border-radius: 50%; border: 2px solid var(--mint); color: var(--mint-deep); font-size: 20px; font-weight: 800; display: grid; place-items: center; background: #fff; position: relative; z-index: 2; }
.ag-tl__n--catch { background: #141413; border-color: #141413; color: #fff; }
.ag-tl__c { min-width: 0; } .ag-tl__c .date { font-size: 14px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mint-ink); }
.ag-tl__c h4 { margin: 4px 0 8px; font-size: 24px; font-weight: 800; color: var(--ink); } .ag-tl__c--catch h4 { color: var(--mint-ink); }
.ag-tl__c p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--body); max-width: 680px; }
.ag-tl__tag { align-self: center; background: var(--mint-tint); color: var(--mint-deep); font-size: 14px; font-weight: 700; border-radius: 999px; padding: 8px 16px; white-space: nowrap; } .ag-tl__tag--catch { background: #fff; border: 1px solid var(--mint); }
@media (max-width: 820px) {
  .ag-wi__in { padding: 48px 22px; }
  .ag-tl__row { grid-template-columns: 54px 1fr; } .ag-tl__row::before { left: 26px; }
  .ag-tl__tag { grid-column: 2; justify-self: start; margin: 10px 0 0; }
}

/* ===== THE PROBLEM (795:2) — coral accent per Figma ===== */
.ag-prob { background: #f3f4f2; }
.ag-prob__in { max-width: 1300px; margin: 0 auto; padding: clamp(56px, 6vw, 84px) 48px; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.ag-prob__copy { max-width: 520px; min-width: 0; }
.ag-prob .eyebrow { font-size: 16px; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; color: #d0433a; margin: 0 0 14px; }
.ag-prob h2 { margin: 0; font-size: clamp(32px, 4.2vw, 50px); font-weight: 800; line-height: 1.03; letter-spacing: -0.03em; color: var(--ink); } .ag-prob h2 em { font-style: normal; color: #d0433a; }
.ag-prob .sub { margin: 16px 0 0; font-size: 18px; line-height: 1.55; color: var(--body); }
.ag-prob__xs { margin-top: 24px; }
.ag-x { display: flex; gap: 12px; padding: 10px 0; align-items: flex-start; }
.ag-x .m { width: 22px; height: 22px; border-radius: 50%; background: rgba(208,67,58,0.12); color: #d0433a; font-size: 12px; font-weight: 800; display: grid; place-items: center; flex: 0 0 auto; margin-top: 2px; }
.ag-x b { display: block; font-size: 17px; color: var(--ink); margin-bottom: 3px; } .ag-x span { font-size: 15px; color: var(--body); line-height: 1.45; }
.ag-ans { background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: 0 40px 90px -60px rgba(20,20,19,0.3); min-width: 0; }
.ag-ans__hd { display: flex; align-items: center; gap: 10px; padding: 15px 22px; border-bottom: 1px solid #eef1ef; } .ag-ans__hd .ic { width: 26px; height: 26px; border-radius: 50%; background: #0a1f1c; color: #fff; display: grid; place-items: center; font-size: 13px; } .ag-ans__hd b { font-size: 17px; color: var(--ink); }
.ag-ans__body { padding: 20px 24px 22px; }
.ag-ans .q { font-size: 17px; font-weight: 700; color: var(--ink); margin: 0 0 8px; }
.ag-ans .a { font-size: 15px; color: var(--body); line-height: 1.5; margin: 0 0 16px; } .ag-ans .a b { color: var(--ink); }
.ag-ans__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ag-cc { border: 1px solid #eef1ef; border-radius: 10px; padding: 12px; min-width: 0; } .ag-cc .im { height: 66px; border-radius: 7px; background: #e6e8e6; margin-bottom: 10px; } .ag-cc b { font-size: 15px; color: var(--ink); display: block; } .ag-cc .dom { font-size: 13px; color: var(--body); margin: 2px 0 8px; } .ag-cc .cited { display: inline-flex; align-items: center; gap: 5px; background: #e6f5ec; color: #1a7a44; font-size: 12px; font-weight: 700; border-radius: 5px; padding: 3px 8px; }
.ag-notfound { display: flex; align-items: center; gap: 10px; background: #fdecea; border-radius: 10px; padding: 14px 16px; color: #c0392b; font-weight: 700; font-size: 15px; margin-top: 14px; } .ag-notfound .x { width: 24px; height: 24px; border-radius: 50%; background: #d0433a; color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; flex: 0 0 auto; }
@media (max-width: 900px) {
  .ag-prob__in { grid-template-columns: 1fr; gap: 36px; padding: 48px 22px; }
  .ag-prob__copy { max-width: none; }
  .ag-ans__cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .ag-ans__cards { grid-template-columns: 1fr; } }

/* ===== THE FIX (807:2) ===== */
.ag-fix { background: var(--mint-tint); }
.ag-fix__in { max-width: 1330px; margin: 0 auto; padding: clamp(56px, 6vw, 80px) 48px; }
.ag-fix__top { display: grid; grid-template-columns: 520px 1fr; gap: 24px; margin-bottom: 24px; }
.ag-fix__hero { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 36px; box-shadow: 0 30px 60px -50px rgba(20,20,19,0.25); min-width: 0; }
.ag-fix__hero .eyebrow { font-size: 15px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mint-ink); margin: 0 0 14px; }
.ag-fix__hero h2 { margin: 0; font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; line-height: 1.06; letter-spacing: -0.02em; color: var(--ink); } .ag-fix__hero h2 em { font-style: normal; color: var(--mint); }
.ag-fix__hero .sub { margin: 16px 0 0; font-size: 16px; line-height: 1.55; color: var(--body); }
.ag-fix__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; background: var(--mint-ink); color: #fff; font-size: 16px; font-weight: 800; padding: 14px 24px; border-radius: 11px; text-decoration: none; transition: background 0.2s, transform 0.2s; } .ag-fix__cta:hover { background: #2b9089; transform: translateY(-2px); }
.ag-fix__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ag-fc { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 26px; min-width: 0; }
.ag-fc .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--mint-tint); display: grid; place-items: center; font-size: 18px; color: var(--mint-deep); margin-bottom: 24px; }
.ag-fc h4 { margin: 0 0 8px; font-size: 19px; font-weight: 800; color: var(--ink); } .ag-fc p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--body); }
.ag-fix__payoff { display: flex; align-items: center; gap: 16px; background: radial-gradient(120% 160% at 10% 0%, #1c4f4a, #0a1f1c); color: #fff; border-radius: 18px; padding: 24px 30px; }
.ag-fix__payoff .ck { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--mint-light); color: var(--mint-light); font-size: 18px; display: grid; place-items: center; flex: 0 0 auto; }
.ag-fix__payoff b { display: block; font-size: 19px; color: #fff; } .ag-fix__payoff span { font-size: 15px; color: rgba(255,255,255,0.75); }
.ag-fix__payoff .tags { margin-left: auto; display: flex; gap: 10px; } .ag-fix__payoff .tags span { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); color: var(--mint-light); font-size: 14px; font-weight: 700; border-radius: 999px; padding: 6px 14px; }
@media (max-width: 960px) {
  .ag-fix__in { padding: 48px 22px; }
  .ag-fix__top { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .ag-fix__cards { grid-template-columns: 1fr; }
  .ag-fix__payoff { flex-direction: column; align-items: flex-start; } .ag-fix__payoff .tags { margin-left: 0; flex-wrap: wrap; }
}
