/* Mint SEO — Answer Engine Optimisation (AEO) page. Matches Figma board 500:2. */

/* ===== HERO (500:3) — now the shared cream .sc-hero ATF (components.css); artifact = the .ae-ans card ===== */
.ae-ans { background: #fff; border-radius: 16px; padding: 20px 24px; color: var(--ink); box-shadow: 0 40px 80px -40px rgba(20,20,19,0.28); border: 1px solid var(--border); min-width: 0; }
.ae-ans__hd { display: flex; align-items: center; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid #eef1ef; } .ae-ans__hd .ic { width: 26px; height: 26px; border-radius: 8px; background: #0a1f1c; color: #fff; display: grid; place-items: center; font-size: 13px; } .ae-ans__hd b { font-size: 17px; color: var(--ink); } .ae-ans__hd .ae { margin-left: auto; font-size: 12px; letter-spacing: 0.08em; color: var(--body);  }
.ae-ans__body { padding: 16px 0; }
.ae-ans .q { font-size: 17px; font-weight: 700; color: var(--ink); margin: 0 0 10px; }
.ae-ans .a { font-size: 15px; line-height: 1.6; color: var(--body); margin: 0; } .ae-ans .a b { color: var(--ink); }
.ae-ans .cite { display: inline-block; background: var(--mint-tint); color: var(--mint-deep); font-size: 11px; font-weight: 800; border-radius: 4px; padding: 0 5px; vertical-align: super; line-height: 1.4; margin-left: 1px; }
.ae-ans__sources { border-top: 1px solid #eef1ef; padding-top: 14px; }
.ae-ans__sources .lbl { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--body);  margin-bottom: 10px; }
.ae-src { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 15px; color: var(--body); }
.ae-src .n { width: 20px; height: 20px; border-radius: 5px; background: #eef1ef; color: var(--body); font-size: 12px; font-weight: 800; display: grid; place-items: center; flex: 0 0 auto; }
.ae-src--primary .n { background: var(--mint-ink); color: #fff; } .ae-src--primary b { color: var(--mint-deep); } .ae-src--primary .prim { color: var(--mint-deep); font-weight: 700; }

/* ===== WHAT IS AEO (502:2) — copy + AI answer + levers ===== */
.ae-wi { background: var(--mint-tint); }
.ae-wi__in { max-width: 1300px; margin: 0 auto; padding: clamp(56px, 6vw, 84px) 48px; }
.ae-wi__top { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.ae-wi__head { max-width: 540px; min-width: 0; }
.ae-wi__head .eyebrow { font-size: 16px; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; color: var(--mint-ink); margin: 0 0 14px; }
.ae-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); } .ae-wi__head h2 em { font-style: normal; color: var(--mint); }
.ae-wi__head p { margin: 16px 0 0; font-size: 17px; line-height: 1.55; color: var(--body); }
.ae-wi__card { position: relative; min-width: 0; padding-bottom: 44px; }
.ae-wi__badge { position: absolute; left: -6px; bottom: -8px; z-index: 3; background: #0f3d37; color: #fff; border-radius: 999px; padding: 10px 18px; font-size: 15px; font-weight: 700; box-shadow: 0 20px 40px -20px rgba(0,0,0,0.5); } .ae-wi__badge .star { color: var(--mint-light); margin-right: 6px; }
.ae-wi__div { border: 0; border-top: 1px solid rgba(20,20,19,0.09); margin: 48px 0 36px; }
.ae-wi__levhead h3 { margin: 0; font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); } .ae-wi__levhead p { margin: 10px 0 28px; font-size: 17px; color: var(--body); max-width: 60ch; }
.ae-wi__levers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ae-lever { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 24px; min-width: 0; }
.ae-lever .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--mint-tint); display: grid; place-items: center; font-size: 18px; font-weight: 800; color: var(--mint-deep); margin-bottom: 22px; }
.ae-lever h4 { margin: 0 0 8px; font-size: 19px; font-weight: 800; color: var(--ink); } .ae-lever p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--body); }
@media (max-width: 900px) {
  .ae-wi__in { padding: 48px 22px; }
  .ae-wi__top { grid-template-columns: 1fr; gap: 40px; }
  .ae-wi__levers { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .ae-wi__levers { grid-template-columns: 1fr; } }

/* ===== AI PLATFORMS — coverage card (504:2) ===== */
.ae-pf { background: #fff; }
.ae-pf__in { max-width: 1300px; margin: 0 auto; padding: clamp(56px, 6vw, 84px) 48px; }
.ae-pf__head { max-width: 700px; margin-bottom: 36px; }
.ae-pf__head .eyebrow { font-size: 16px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mint-ink); margin: 0 0 14px; }
.ae-pf__head h2 { margin: 0; font-size: clamp(32px, 4.2vw, 50px); font-weight: 800; line-height: 1.03; letter-spacing: -0.03em; color: var(--ink); } .ae-pf__head h2 em { font-style: normal; color: var(--mint); }
.ae-pf__head .sub { margin: 16px 0 0; font-size: 18px; line-height: 1.55; color: var(--body); }
.ae-pf__card { display: grid; grid-template-columns: 340px 1fr; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; box-shadow: 0 40px 90px -60px rgba(20,20,19,0.3); }
.ae-pf__left { background: radial-gradient(120% 130% at 20% 0%, #1c4f4a, #0a1f1c); color: #fff; padding: 40px; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.ae-pf__left .big { font-size: 64px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; } .ae-pf__left .l { font-size: 20px; font-weight: 800; color: #fff; margin: 4px 0 12px; }
.ae-pf__left p { margin: 0; font-size: 16px; line-height: 1.55; color: rgba(255,255,255,0.72); }
.ae-pf__left .pill { display: inline-block; margin-top: 22px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); color: var(--mint-light); font-size: 14px; font-weight: 700; border-radius: 999px; padding: 7px 16px; width: fit-content; }
.ae-pf__right { background: #fff; padding: 30px 32px; min-width: 0; }
.ae-pf__grp { margin-bottom: 18px; } .ae-pf__grp:last-child { margin-bottom: 0; }
.ae-pf__grp .glbl { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--body);  margin-bottom: 10px; }
.ae-pf__chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ae-chip { display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); border-radius: 10px; padding: 11px 14px; min-width: 0; }
.ae-chip .ic { width: 26px; height: 26px; border-radius: 7px; color: #fff; font-size: 13px; font-weight: 800; display: grid; place-items: center; flex: 0 0 auto; }
.ae-chip b { font-size: 15px; color: var(--ink); font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ae-chip .ck { margin-left: auto; color: #26a269; font-weight: 800; flex: 0 0 auto; }
@media (max-width: 900px) {
  .ae-pf__in { padding: 48px 22px; }
  .ae-pf__card { grid-template-columns: 1fr; }
  .ae-pf__chips { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .ae-pf__chips { grid-template-columns: 1fr; } }

/* ===== AEO LEAD (945:199) — email form + AI Overview preview ===== */
.ae-lead { position: relative; overflow: hidden; background: radial-gradient(90% 130% at 88% -10%, #17423b, #0a1f1c 62%), #0a1f1c; color: #fff; }
.ae-lead__in { position: relative; z-index: 2; max-width: 1300px; margin: 0 auto; padding: clamp(56px, 6vw, 84px) 48px; display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.ae-lead__card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.12); border-radius: 20px; padding: 40px; max-width: 540px; min-width: 0; }
.ae-lead__card .eyebrow { font-size: 16px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mint-light); margin: 0 0 14px; }
.ae-lead__card h2 { margin: 0; font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; color: #fff; } .ae-lead__card h2 em { font-style: normal; color: var(--mint-light); }
.ae-lead__card .sub { margin: 16px 0 0; font-size: 17px; line-height: 1.55; color: rgba(255,255,255,0.72); }
.ae-lead__form label { display: block; font-size: 16px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mint-light); margin: 26px 0 10px; }
.ae-lead__form input { width: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.15); border-radius: 12px; padding: 16px 18px; font-size: 16px; color: #fff; font-family: inherit; }
.ae-lead__form input::placeholder { color: rgba(255,255,255,0.4); } .ae-lead__form input:focus { outline: none; border-color: var(--mint-light); }
.ae-lead__form button { width: 100%; margin-top: 14px; background: var(--mint-light); color: #04211d; font-weight: 800; font-size: 16px; padding: 16px; border-radius: 12px; border: 0; cursor: pointer; transition: background 0.2s, transform 0.2s; } .ae-lead__form button:hover { background: #a4e0d9; transform: translateY(-1px); }
.ae-lead__form .alt { text-align: center; margin: 16px 0 0; font-size: 16px; color: rgba(255,255,255,0.7); } .ae-lead__form .alt a { color: #fff; font-weight: 700; text-decoration: none; }
.ae-ov { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 50px 100px -50px rgba(0,0,0,0.6); color: var(--ink); min-width: 0; }
.ae-ov__bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid #eef1ef; } .ae-ov__bar .dots { display: flex; gap: 6px; } .ae-ov__bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #dfe4e2; } .ae-ov__bar b { font-size: 15px; color: var(--ink); }
.ae-ov__body { padding: 20px 22px; }
.ae-ov__body .lbl { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 800; letter-spacing: 0.06em; color: var(--mint-ink); margin-bottom: 10px; } .ae-ov__body .lbl .ic { width: 22px; height: 22px; border-radius: 6px; background: var(--mint-ink); color: #fff; display: grid; place-items: center; font-size: 12px; }
.ae-ov__body .q { font-size: 17px; font-weight: 700; color: var(--ink); margin: 0 0 10px; }
.ae-ov__body .a { font-size: 15px; line-height: 1.6; color: var(--body); margin: 0; } .ae-ov__body .a mark { background: rgba(48,159,151,0.16); color: var(--mint-deep); font-weight: 700; padding: 0 4px; border-radius: 4px; }
.ae-ov__src { display: flex; align-items: center; gap: 12px; border-top: 1px solid #eef1ef; padding: 14px 22px; font-size: 15px; color: var(--body); } .ae-ov__src .pill { display: inline-flex; align-items: center; gap: 6px; background: var(--mint-tint); color: var(--mint-deep); font-size: 14px; font-weight: 700; border-radius: 999px; padding: 5px 12px; }
@media (max-width: 960px) {
  .ae-lead__in { grid-template-columns: 1fr; gap: 40px; padding: 48px 22px; }
  .ae-lead__card { max-width: none; padding: 30px 24px; }
}

/* mobile: let the primary-source line wrap under the domain instead of a misaligned 2nd column */
@media (max-width: 560px) { .ae-src { flex-wrap: wrap; } .ae-src--primary .prim { flex-basis: 100%; padding-left: 30px; margin-top: 2px; } }
