/* ==========================================================================
   Agent landing pages (Domestic / International education agents)
   Light theme matching the live home page: white sections with a subtle grid,
   gradient headings, navy rounded cards only for the key highlight blocks.
   Everything is scoped under .ag-page so no other page changes.
   ========================================================================== */

.ag-page {
    --ag-navy: var(--gw-navy);
    --ag-navy-2: var(--gw-navy);
    --ag-navy-3: var(--gw-navy-light);
    --ag-cyan: var(--gw-gold);
    --ag-cyan-dark: var(--gw-gold-dark);
    --ag-teal-text: var(--gw-gold-dark);
    --ag-soft-teal: #f9fcfc;
    --ag-tint: var(--gw-ice);
    --ag-cyan-soft: rgba(var(--gw-gold-rgb), 0.14);
    --ag-cyan-line: rgba(var(--gw-gold-dark-rgb), 0.35);
    --ag-muted: #8f90a6;
    --ag-muted-2: var(--gw-slate);
    --ag-text: rgba(var(--gw-navy-rgb), 0.7);
    --ag-ink: var(--gw-navy);
    --ag-ink-strong: var(--gw-navy);
    --ag-soft: #f8fafc;
    --ag-white: #ffffff;
    --ag-border: #e8ebef;
    --ag-input-border: #dfe5eb;
    --ag-line-dark: rgba(255, 255, 255, 0.12);
    --ag-radius: 24px;
    --ag-shadow: 0 18px 45px rgba(var(--gw-navy-rgb), 0.08);
    --ag-shadow-lg: 0 28px 70px rgba(var(--gw-navy-rgb), 0.12);
    --ag-heading: linear-gradient(var(--gw-navy), var(--gw-navy));
    --ag-font: var(--gw-font);
    --ag-font-medium: var(--gw-font);
    --ag-font-bold: var(--gw-font);
    --ag-max: 1220px;

    color: var(--ag-text);
    background: var(--ag-white);
    font-family: var(--gw-font);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.ag-page *,
.ag-page *::before,
.ag-page *::after { box-sizing: border-box; }

.ag-page h1, .ag-page h2, .ag-page h3 { font-family: var(--gw-font); font-weight: 500; margin: 0; color: var(--ag-ink-strong); }
.ag-page p { margin: 0; }
.ag-page a { text-decoration: none; }
.ag-page button { cursor: pointer; font-family: var(--gw-font); }
.ag-page img { max-width: 100%; }

.ag-page .ag-container { width: min(var(--ag-max), calc(100% - 64px)); margin-inline: auto; }

/* ---------- Typography ---------- */
.ag-page .ag-kicker {
    font-family: var(--gw-font); font-weight: 700;
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ag-teal-text);
    margin-bottom: 14px;
}
.ag-page .ag-title {
    font-size: clamp(32px, 3.6vw, 48px);
    line-height: 1.15;
    letter-spacing: -.02em;
    background: var(--ag-heading);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
/* Accent words keep the heading gradient on light sections. */
.ag-page .ag-accent { color: inherit; }
.ag-page .ag-muted { color: var(--ag-text); font-size: 18px; line-height: 1.6; }
.ag-page .ag-fine { font-size: 12px; line-height: 1.55; color: var(--ag-muted-2); margin-top: 12px; }

/* ---------- Buttons ---------- */
.ag-page .ag-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 13px 24px;
    border-radius: 100px;
    border: 1.5px solid var(--ag-ink-strong);
    background: transparent;
    color: var(--ag-ink-strong);
    font-family: var(--gw-font);
    font-size: 15px;
    letter-spacing: .01em;
    transition: transform .2s, box-shadow .2s, background .2s, color .2s;
    text-align: center;
}
.ag-page .ag-btn:hover { transform: translateY(-2px); color: var(--ag-ink-strong); box-shadow: 0 9px 26px rgba(23, 34, 53, .08); }
.ag-page .ag-btn--primary { background: var(--gw-gold-shine); border-color: var(--ag-cyan); color: var(--ag-navy-2); }
.ag-page .ag-btn--primary:hover { background: var(--gw-gold-shine); border-color: var(--ag-cyan); color: var(--ag-navy-2); }
.ag-page .ag-btn--dark { background: var(--ag-navy); border-color: var(--ag-navy); color: var(--ag-white); }
.ag-page .ag-btn--dark:hover { color: var(--ag-white); }
.ag-page .ag-btn--sm { min-height: 42px; padding: 10px 18px; font-size: 13px; }
.ag-page .ag-btn--block { width: 100%; }
.ag-page .ag-btn[disabled] { opacity: .65; cursor: wait; transform: none; }
.ag-page .ag-link { display: inline-flex; gap: 6px; align-items: center; margin-top: 12px; padding: 0; border: 0; background: none; color: var(--ag-teal-text); font-family: var(--gw-font); font-weight: 700; font-size: 14px; }
.ag-page .ag-link:hover { color: var(--ag-ink-strong); }

/* ---------- Sections (all light) ---------- */
.ag-page .ag-section,
.ag-page .ag-section--alt,
.ag-page .ag-section--light { padding: 90px 0; background-color: var(--ag-white); }
.ag-page .ag-section--soft { padding: 90px 0; background-color: var(--ag-soft); }
.ag-page .ag-grid-bg {
    background-image:
        linear-gradient(to right, rgba(21, 42, 61, .04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(21, 42, 61, .04) 1px, transparent 1px);
    background-size: 48px 48px;
    background-position: center top;
}
.ag-page .ag-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.ag-page .ag-head > .ag-muted { max-width: 440px; }

/* ---------- Dark highlight cards (navy, rounded, inset) ---------- */
.ag-page .ag-card--feature,
.ag-page .ag-total,
.ag-page .ag-receipt,
.ag-page .ag-mapstrip,
.ag-page .ag-market-card,
.ag-page .ag-support-feature,
.ag-page .ag-crm-bar {
    background: var(--ag-navy);
    color: rgba(255, 255, 255, .78);
    border: 0;
}
.ag-page .ag-card--feature h3,
.ag-page .ag-receipt h3,
.ag-page .ag-mapstrip .ag-title,
.ag-page .ag-market-card h3 {
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    color: var(--ag-white);
}
.ag-page .ag-card--feature .ag-accent,
.ag-page .ag-receipt .ag-accent,
.ag-page .ag-mapstrip .ag-accent,
.ag-page .ag-market-card .ag-accent { color: var(--ag-cyan); }
.ag-page .ag-card--feature .ag-kicker,
.ag-page .ag-mapstrip .ag-kicker,
.ag-page .ag-market-card .ag-kicker { color: var(--ag-cyan); }
.ag-page .ag-mapstrip .ag-muted,
.ag-page .ag-receipt .ag-fine,
.ag-page .ag-market-card .ag-fine { color: rgba(255, 255, 255, .72); }
.ag-page .ag-card--feature .ag-btn:not(.ag-btn--primary),
.ag-page .ag-mapstrip .ag-btn:not(.ag-btn--primary) { border-color: var(--ag-white); color: var(--ag-white); }
.ag-page .ag-card--feature .ag-btn:not(.ag-btn--primary):hover,
.ag-page .ag-mapstrip .ag-btn:not(.ag-btn--primary):hover { color: var(--ag-white); }
.ag-page .ag-card--feature .ag-link { color: var(--ag-cyan); }
.ag-page .ag-card--feature .ag-link:hover { color: var(--ag-white); }

/* ---------- Hero ---------- */
.ag-page .ag-hero {
    position: relative;
    padding: 64px 0 88px;
    background-color: var(--ag-white);
    background-image:
        radial-gradient(ellipse at 48% 95%, rgba(var(--gw-gold-rgb), .16) 0%, rgba(255, 255, 255, 0) 52%),
        linear-gradient(to right, rgba(21, 42, 61, .04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(21, 42, 61, .04) 1px, transparent 1px);
    background-size: auto, 48px 48px, 48px 48px;
    background-position: center, center top, center top;
}
.ag-page .ag-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(400px, .95fr); gap: 56px; align-items: center; }
.ag-page .ag-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--gw-font); font-weight: 700; font-size: 11px; letter-spacing: .17em; text-transform: uppercase; color: var(--ag-muted-2); }
.ag-page .ag-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gw-gold-shine); box-shadow: 0 0 0 5px var(--ag-cyan-soft); flex-shrink: 0; }
.ag-page .ag-hero h1 {
    margin: 22px 0 18px;
    font-size: clamp(42px, 5vw, 66px);
    line-height: 1.1;
    letter-spacing: -.035em;
    background: var(--ag-heading);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.ag-page .ag-hero-lead { max-width: 520px; margin-bottom: 28px; font-size: 18px; line-height: 1.6; color: var(--ag-text); }
.ag-page .ag-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ag-page .ag-checks { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; font-size: 14px; color: var(--ag-muted-2); }
.ag-page .ag-checks span::before { content: "\2713"; color: var(--ag-cyan-dark); font-family: var(--gw-font); font-weight: 700; margin-right: 7px; }
.ag-page .ag-checks b { color: var(--ag-ink-strong); font-family: var(--gw-font); font-weight: 700; }
.ag-page .ag-pills { display: flex; flex-wrap: wrap; gap: 9px; margin: 24px 0 4px; }
.ag-page .ag-pills span { padding: 9px 13px; border: 1px solid var(--ag-border); background: var(--ag-white); border-radius: 60px; font-size: 13px; color: var(--ag-muted-2); }

/* ---------- Form card (hero + modal) ---------- */
.ag-page .ag-form-card {
    position: relative;
    padding: 28px;
    border: 1px solid var(--ag-border);
    border-radius: var(--ag-radius);
    background: var(--ag-white);
    color: var(--ag-ink);
    box-shadow: var(--ag-shadow-lg);
}
.ag-page .ag-form-top { display: flex; align-items: center; gap: 10px; font-family: var(--gw-font); font-weight: 700; font-size: 10px; letter-spacing: .1em; color: var(--ag-muted-2); }
.ag-page .ag-form-spark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--ag-cyan-soft); color: var(--ag-teal-text); font-size: 18px; }
.ag-page .ag-form-speed { margin-left: auto; padding: 7px 10px; border-radius: 50px; background: var(--ag-soft); font-family: var(--gw-font); letter-spacing: 0; }
.ag-page .ag-form-card h2 { margin: 18px 0 4px; font-size: 28px; letter-spacing: -.02em; background: var(--ag-heading); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ag-page .ag-form-card > p { margin-bottom: 14px; font-size: 14px; color: var(--ag-muted-2); }

.ag-page .ag-form .ag-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.ag-page .ag-form .ag-span-2 { grid-column: 1 / -1; }
.ag-page .ag-form .ag-field { display: block; margin: 8px 0; font-family: var(--gw-font); font-weight: 500; font-size: 12px; color: var(--ag-ink); }
.ag-page .ag-form .ag-field > span:first-child { display: block; margin-bottom: 6px; }
.ag-page .ag-form .ag-field small { color: var(--ag-muted-2); }
.ag-page .ag-form input[type=text],
.ag-page .ag-form input[type=tel],
.ag-page .ag-form input[type=email],
.ag-page .ag-form select {
    display: block;
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid var(--ag-input-border);
    border-radius: 10px;
    background: var(--ag-soft);
    color: var(--ag-ink-strong);
    font-family: var(--gw-font);
    font-size: 14px;
    outline: none;
}
.ag-page .ag-form input::placeholder { color: #98a2b3; opacity: 1; }
.ag-page .ag-form select option { color: var(--ag-ink-strong); background: var(--ag-white); }
.ag-page .ag-form input:focus,
.ag-page .ag-form select:focus { border-color: var(--ag-cyan-dark); box-shadow: 0 0 0 3px rgba(var(--gw-gold-rgb), .25); }
.ag-page .ag-form .ag-invalid input,
.ag-page .ag-form .ag-invalid select { border-color: var(--gw-danger); }
.ag-page .ag-form .ag-phone { display: grid; grid-template-columns: 112px 1fr; gap: 8px; }
.ag-page .ag-form .ag-err { display: block; margin-top: 4px; font-family: var(--gw-font); font-size: 11px; color: var(--gw-danger); }
.ag-page .ag-form .ag-err:empty { display: none; }
.ag-page .ag-form .ag-consent { display: flex; gap: 9px; align-items: flex-start; margin: 12px 0; font-family: var(--gw-font); font-size: 12px; line-height: 1.5; color: var(--ag-muted-2); }
.ag-page .ag-form .ag-consent input { flex-shrink: 0; width: 16px; height: 16px; margin-top: 2px; accent-color: var(--ag-cyan-dark); }
.ag-page .ag-form .ag-alert { display: none; margin: 10px 0; padding: 10px 12px; border-radius: 10px; background: #fef3f2; color: #b42318; font-size: 12px; line-height: 1.5; }
.ag-page .ag-form .ag-alert.is-visible { display: block; }
.ag-page .ag-form .ag-submit { width: 100%; justify-content: space-between; margin-top: 4px; }
.ag-page .ag-form [hidden] { display: none !important; }
.ag-page .ag-form-tail { margin-top: 12px; text-align: center; font-size: 13px; color: var(--ag-muted-2); }
.ag-page .ag-form-tail a { color: var(--ag-teal-text); font-family: var(--gw-font); font-weight: 700; }
.ag-page .ag-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Destinations ---------- */
.ag-page .ag-dest-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.ag-page .ag-dest-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 160px;
    padding: 18px 16px;
    border: 1px solid var(--ag-border);
    border-radius: 18px;
    background: var(--ag-white);
    color: var(--ag-ink-strong);
    text-align: left;
    box-shadow: 0 10px 23px rgba(26, 67, 78, .04);
    transition: transform .2s, border-color .2s, box-shadow .2s;
}
.ag-page .ag-dest-card:hover { transform: translateY(-5px); border-color: var(--ag-cyan); box-shadow: 0 20px 38px rgba(26, 67, 78, .10); }
.ag-page .ag-flag { width: 62px; height: 44px; overflow: hidden; border-radius: 8px; background: var(--ag-soft); box-shadow: 0 4px 14px rgba(var(--gw-navy-rgb), .12); }
.ag-page .ag-flag img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ag-page .ag-dest-name { margin-top: auto; font-family: var(--gw-font); font-weight: 500; font-size: 15px; }
.ag-page .ag-dest-arrow { position: absolute; right: 15px; bottom: 15px; color: var(--ag-cyan-dark); font-size: 18px; }
.ag-page .ag-dest-under { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 22px; font-size: 14px; color: var(--ag-muted-2); }

/* ---------- Highlight / value cards ---------- */
.ag-page .ag-cards-3 { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 16px; }
.ag-page .ag-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
    padding: 26px;
    border: 1px solid var(--ag-border);
    border-radius: var(--ag-radius);
    background: var(--ag-white);
    box-shadow: var(--ag-shadow);
}
.ag-page .ag-card h3 { margin-top: 22px; font-size: 24px; line-height: 1.2; letter-spacing: -.02em; color: var(--ag-ink-strong); }
.ag-page .ag-card--feature h3 { font-size: 34px; }
.ag-page .ag-card p { margin-top: 6px; font-size: 15px; line-height: 1.6; color: var(--ag-text); }
.ag-page .ag-card--feature p { color: #c5ccdb; }
.ag-page .ag-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--ag-cyan-soft); color: var(--ag-teal-text); font-size: 21px; }
.ag-page .ag-card--feature .ag-icon { background: var(--ag-navy-3); color: var(--ag-cyan); }
.ag-page .ag-big-num { position: absolute; right: -14px; bottom: -34px; font-family: var(--gw-font); font-weight: 700; font-size: 150px; line-height: 1; color: var(--gw-navy-light); pointer-events: none; }
.ag-page .ag-card .ag-copy { position: relative; z-index: 1; }

/* ---------- Earnings estimator ---------- */
.ag-page .ag-earn-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }
.ag-page .ag-signal { display: flex; gap: 15px; align-items: center; max-width: 380px; margin: 28px 0 24px; padding: 18px 20px; border: 1px solid var(--ag-border); border-radius: 18px; background: var(--ag-white); box-shadow: var(--ag-shadow); }
.ag-page .ag-signal strong { display: block; font-family: var(--gw-font); font-weight: 700; font-size: 15px; color: var(--ag-ink-strong); }
.ag-page .ag-signal small { display: block; margin-top: 5px; font-size: 13px; color: var(--ag-muted-2); }
.ag-page .ag-panel { padding: 32px; border: 1px solid var(--ag-border); border-radius: 28px; background: var(--ag-white); box-shadow: var(--ag-shadow-lg); color: var(--ag-ink); }
.ag-page .ag-panel-top { display: flex; justify-content: space-between; margin-bottom: 24px; font-family: var(--gw-font); font-weight: 700; font-size: 10px; letter-spacing: .14em; color: var(--ag-muted-2); }
.ag-page .ag-panel-top .ag-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; }
.ag-page .ag-step-label { display: block; font-family: var(--gw-font); font-weight: 500; font-size: 14px; color: var(--ag-ink); }
.ag-page .ag-student-num { display: flex; align-items: baseline; gap: 12px; margin: 6px 0; }
.ag-page .ag-student-num output { font-family: var(--gw-font); font-weight: 700; font-size: clamp(64px, 7vw, 100px); line-height: 1; letter-spacing: -.06em; color: var(--ag-ink-strong); }
.ag-page .ag-student-num span { font-size: 18px; color: var(--ag-muted-2); }
.ag-page .ag-range { width: 100%; margin: 18px 0 10px; accent-color: var(--ag-cyan-dark); cursor: pointer; }
.ag-page .ag-range-labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--ag-muted-2); }
.ag-page .ag-divider { height: 1px; margin: 24px 0 22px; background: var(--ag-border); }
.ag-page .ag-share { display: flex; gap: 5px; margin-top: 12px; padding: 5px; border-radius: 14px; background: var(--ag-soft); }
.ag-page .ag-share button { flex: 1; min-height: 42px; border: 0; border-radius: 11px; background: transparent; color: var(--ag-muted-2); font-family: var(--gw-font); font-weight: 700; }
.ag-page .ag-share button.is-selected { background: var(--ag-navy); color: var(--ag-white); box-shadow: 0 4px 12px rgba(var(--gw-navy-rgb), .2); }
.ag-page .ag-earn-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.ag-page .ag-earn-inputs label { font-family: var(--gw-font); font-weight: 500; font-size: 13px; color: var(--ag-ink); }
.ag-page .ag-earn-inputs select,
.ag-page .ag-earn-inputs input { display: block; width: 100%; height: 44px; margin-top: 6px; padding: 0 12px; border: 1px solid var(--ag-input-border); border-radius: 10px; background: var(--ag-soft); color: var(--ag-ink-strong); font-family: var(--gw-font); }
.ag-page .ag-total { position: relative; overflow: hidden; margin-top: 22px; padding: 22px; border-radius: 18px; background: linear-gradient(118deg, var(--gw-navy), var(--gw-navy-light)) !important; }
.ag-page .ag-total span { display: block; font-family: var(--gw-font); font-weight: 700; font-size: 10px; letter-spacing: .12em; color: rgba(255, 255, 255, .65); }
.ag-page .ag-total strong { display: block; margin: 8px 0 6px; font-family: var(--gw-font); font-weight: 700; font-size: clamp(36px, 4.2vw, 56px); letter-spacing: -.04em; color: var(--ag-cyan); }
.ag-page .ag-total small { display: block; font-size: 12px; line-height: 1.5; color: rgba(255, 255, 255, .7); }
.ag-page .ag-panel .ag-btn--primary { margin-top: 16px; }

/* ---------- CRM block ---------- */
.ag-page .ag-split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.ag-page .ag-crm-mock { padding: 15px; border: 1px solid var(--ag-border); border-radius: 22px; background: var(--ag-white); color: var(--ag-ink); box-shadow: var(--ag-shadow-lg); transform: rotate(-1deg); }
.ag-page .ag-crm-top { display: flex; justify-content: space-between; align-items: center; padding: 10px 10px 16px; border-bottom: 1px solid var(--ag-border); font-family: var(--gw-font); font-weight: 700; font-size: 12px; color: var(--ag-ink-strong); }
.ag-page .ag-crm-top small { color: var(--ag-muted-2); font-family: var(--gw-font); }
.ag-page .ag-crm-pill { padding: 6px 10px; border-radius: 100px; background: var(--ag-cyan-soft); color: var(--ag-teal-text); font-size: 10px; }
.ag-page .ag-crm-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 10px; }
.ag-page .ag-crm-stat { padding: 13px; border-radius: 12px; background: var(--ag-soft); }
.ag-page .ag-crm-stat strong { display: block; font-family: var(--gw-font); font-weight: 700; font-size: 24px; color: var(--ag-ink-strong); }
.ag-page .ag-crm-stat small { font-size: 11px; color: var(--ag-muted-2); }
.ag-page .ag-crm-table { margin: 0 10px 8px; overflow: hidden; border: 1px solid var(--ag-border); border-radius: 12px; }
.ag-page .ag-crm-row { display: grid; grid-template-columns: 1.2fr 1fr .9fr; gap: 7px; align-items: center; padding: 12px; border-bottom: 1px solid var(--ag-border); font-size: 12px; color: var(--ag-ink); }
.ag-page .ag-crm-row:last-child { border-bottom: 0; }
.ag-page .ag-crm-row.is-head { background: var(--ag-soft); color: var(--ag-muted-2); font-family: var(--gw-font); font-weight: 700; font-size: 11px; }
.ag-page .ag-status { display: inline-block; padding: 4px 8px; border-radius: 50px; background: #e7fbf7; color: #047c6e; font-size: 10px; }
.ag-page .ag-status--review { background: #fff5df; color: #a26b12; }
.ag-page .ag-status--blue { background: #eaf2ff; color: #3e66b0; }

/* ---------- Services ---------- */
.ag-page .ag-support { display: grid; grid-template-columns: minmax(280px, .85fr) minmax(0, 1.6fr); gap: 16px; }
.ag-page .ag-support-feature { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 500px; padding: 26px; border-radius: var(--ag-radius); }
.ag-page .ag-support-top { display: flex; justify-content: space-between; font-family: var(--gw-font); font-weight: 700; font-size: 10px; letter-spacing: .13em; color: var(--ag-cyan); }
.ag-page .ag-support-top span:last-child { color: rgba(255, 255, 255, .6); }
.ag-page .ag-orbit { position: relative; display: grid; place-items: center; height: 270px; }
.ag-page .ag-ring { position: absolute; border: 1px solid var(--ag-navy-3); border-radius: 50%; }
.ag-page .ag-ring--outer { width: 245px; height: 245px; }
.ag-page .ag-ring--inner { width: 180px; height: 180px; border-style: dashed; border-color: rgba(var(--gw-gold-rgb), .35); }
.ag-page .ag-core { position: relative; display: grid; place-content: center; width: 138px; height: 138px; border-radius: 50%; background: var(--gw-gold-shine); color: var(--ag-navy-2); text-align: center; box-shadow: 0 0 0 10px rgba(var(--gw-gold-rgb), .1); font-family: var(--gw-font); font-weight: 700; font-size: 15px; letter-spacing: .06em; line-height: 1.25; }
.ag-page .ag-marker { position: absolute; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ag-white); color: var(--ag-navy-2); font-family: var(--gw-font); font-weight: 700; font-size: 11px; }
.ag-page .ag-marker--1 { top: 12%; left: 13%; }
.ag-page .ag-marker--2 { top: 32%; right: 7%; }
.ag-page .ag-marker--3 { bottom: 12%; left: 16%; }
.ag-page .ag-support-foot { margin-top: auto; }
.ag-page .ag-support-foot strong { display: block; font-family: var(--gw-font); font-weight: 500; font-size: 25px; line-height: 1.2; color: var(--ag-white); }
.ag-page .ag-support-foot p { margin: 10px 0 18px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.ag-page .ag-board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--ag-border); border-radius: var(--ag-radius); background: var(--ag-white); box-shadow: var(--ag-shadow); }
.ag-page .ag-unit { position: relative; min-width: 0; min-height: 150px; padding: 26px 24px; border-right: 1px solid var(--ag-border); border-bottom: 1px solid var(--ag-border); transition: background .2s; }
.ag-page .ag-unit:nth-child(2n) { border-right: 0; }
.ag-page .ag-unit:hover { background: var(--ag-soft); }
.ag-page .ag-unit-index { font-family: var(--gw-font); font-weight: 700; font-size: 10px; letter-spacing: .15em; color: var(--ag-muted-2); }
.ag-page .ag-unit-icon { position: absolute; top: 22px; right: 24px; font-size: 22px; color: var(--ag-cyan-dark); }
.ag-page .ag-unit h3 { margin: 24px 0 6px; font-size: 18px; line-height: 1.25; color: var(--ag-ink-strong); }
.ag-page .ag-unit p { font-size: 14px; color: var(--ag-text); }
.ag-page .ag-unit--wide { grid-column: 1 / -1; border-right: 0; border-bottom: 0; background: linear-gradient(110deg, rgba(var(--gw-gold-rgb), .16), rgba(255, 255, 255, 0) 80%); }
.ag-page .ag-unit--wide:hover { background: linear-gradient(110deg, rgba(var(--gw-gold-rgb), .22), rgba(255, 255, 255, 0) 80%); }
.ag-page .ag-unit--wide h3 { font-size: 21px; }
.ag-page .ag-unit--wide .ag-unit-icon { font-size: 34px; }

/* ---------- Map strip / markets (dark cards) ---------- */
.ag-page .ag-mapstrip { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr .8fr; gap: 30px; align-items: center; padding: 46px; border-radius: var(--ag-radius); }
.ag-page .ag-mapstrip::before,
.ag-page .ag-market-card::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(var(--gw-gold-rgb), .4) 1px, transparent 1px); background-size: 18px 18px; opacity: .14; }
.ag-page .ag-mapstrip > *,
.ag-page .ag-market-card > * { position: relative; }
.ag-page .ag-mapstrip .ag-muted { margin: 14px 0 22px; }
.ag-page .ag-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ag-page .ag-chips span { padding: 11px 15px; border: 1px solid var(--ag-line-dark); border-radius: 60px; background: rgba(255, 255, 255, .06); font-size: 14px; color: var(--ag-white); }

/* ---------- International: signal strip, journey, markets, mini services ---------- */
.ag-page .ag-strip { padding: 24px 0; background: var(--ag-navy); color: var(--ag-white); }
.ag-page .ag-strip-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.ag-page .ag-strip strong { font-family: var(--gw-font); font-weight: 700; font-size: 12px; letter-spacing: .12em; color: #b8f4e8; }
.ag-page .ag-strip-items { display: flex; flex-wrap: wrap; gap: 24px; font-size: 13px; color: #e4eef4; }
.ag-page .ag-journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 32px; }
.ag-page .ag-step { min-height: 225px; padding: 24px; border: 1px solid var(--ag-border); border-radius: 19px; background: var(--ag-white); box-shadow: var(--ag-shadow); }
.ag-page .ag-step:nth-child(2) { background: linear-gradient(160deg, rgba(var(--gw-gold-rgb), .16), var(--ag-white) 75%); border-color: rgba(var(--gw-gold-dark-rgb), .35); }
.ag-page .ag-step-num { font-family: var(--gw-font); font-weight: 700; font-size: 11px; color: var(--ag-teal-text); }
.ag-page .ag-step-glyph { display: block; margin-top: 14px; font-size: 30px; color: var(--ag-cyan-dark); }
.ag-page .ag-step h3 { margin: 18px 0 7px; font-size: 19px; color: var(--ag-ink-strong); }
.ag-page .ag-step p { font-size: 14px; line-height: 1.55; color: var(--ag-text); }
.ag-page .ag-market-card { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-height: 420px; padding: 32px; border-radius: 28px; }
.ag-page .ag-market-card h3 { margin: 14px 0; font-size: 48px; line-height: 1.05; letter-spacing: -.03em; }
.ag-page .ag-mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 26px; }
.ag-page .ag-mini { display: flex; flex-direction: column; justify-content: space-between; min-height: 150px; padding: 22px; border: 1px solid var(--ag-border); border-radius: 18px; background: var(--ag-white); box-shadow: var(--ag-shadow); }
.ag-page .ag-mini span { color: var(--ag-cyan-dark); font-size: 21px; }
.ag-page .ag-mini h3 { margin-top: 14px; font-size: 16px; color: var(--ag-ink-strong); }
.ag-page .ag-mini--accent { background: linear-gradient(135deg, rgba(var(--gw-gold-rgb), .22), var(--ag-white) 85%); border-color: rgba(var(--gw-gold-dark-rgb), .4); }

/* ---------- Commission guide ---------- */
.ag-page .ag-comm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ag-page .ag-receipt,
.ag-page .ag-payout { min-height: 440px; padding: 31px; overflow: hidden; border-radius: var(--ag-radius); }
.ag-page .ag-receipt { position: relative; }
.ag-page .ag-receipt-head,
.ag-page .ag-payout-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--gw-font); font-weight: 700; font-size: 10px; letter-spacing: .12em; color: var(--ag-cyan); }
.ag-page .ag-tag { padding: 6px 10px; border: 1px solid var(--ag-line-dark); border-radius: 100px; color: rgba(255, 255, 255, .7); font-size: 9px; }
.ag-page .ag-receipt h3 { margin: 24px 0 28px; font-size: 34px; line-height: 1.13; letter-spacing: -.02em; }
.ag-page .ag-receipt-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 20px 0 10px; font-size: 14px; color: rgba(255, 255, 255, .72); }
.ag-page .ag-receipt-row strong { font-family: var(--gw-font); font-weight: 700; font-size: 19px; color: var(--ag-white); }
.ag-page .ag-receipt-row b { color: var(--ag-cyan); font-weight: normal; font-family: var(--gw-font); font-weight: 700; }
.ag-page .ag-track { height: 8px; overflow: hidden; border-radius: 99px; background: var(--ag-navy-3); }
.ag-page .ag-track span { display: block; height: 100%; border-radius: 99px; background: var(--ag-muted-2); }
.ag-page .ag-track--share span { background: var(--gw-gold-shine); }
.ag-page .ag-receipt-total { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px dashed var(--ag-navy-3); }
.ag-page .ag-receipt-total span { max-width: 130px; font-family: var(--gw-font); font-weight: 700; font-size: 10px; letter-spacing: .1em; line-height: 1.5; color: rgba(255, 255, 255, .65); }
.ag-page .ag-receipt-total strong { font-family: var(--gw-font); font-weight: 700; font-size: 36px; color: var(--ag-cyan); white-space: nowrap; }
.ag-page .ag-payout { display: flex; flex-direction: column; border: 1px solid var(--ag-border); background: var(--ag-white); color: var(--ag-ink); box-shadow: var(--ag-shadow); }
.ag-page .ag-payout-head { color: var(--ag-teal-text); }
.ag-page .ag-payout-head strong { font-family: var(--gw-font); font-weight: normal; font-size: 12px; letter-spacing: 0; color: var(--ag-muted-2); }
.ag-page .ag-rail { margin: 32px 0 18px; }
.ag-page .ag-stop { position: relative; display: flex; gap: 17px; padding-bottom: 26px; }
.ag-page .ag-stop:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 2px; width: 1px; background: var(--ag-cyan-line); }
.ag-page .ag-stop:last-child { padding-bottom: 0; }
.ag-page .ag-stop-num { display: grid; place-items: center; flex-shrink: 0; width: 43px; height: 43px; border-radius: 50%; background: var(--ag-cyan-soft); color: var(--ag-ink-strong); font-family: var(--gw-font); font-weight: 700; font-size: 12px; }
.ag-page .ag-stop:last-child .ag-stop-num { background: var(--gw-gold-shine); }
.ag-page .ag-stop h3 { margin: 2px 0 6px; font-size: 18px; color: var(--ag-ink-strong); }
.ag-page .ag-stop p { font-size: 14px; line-height: 1.5; color: var(--ag-text); }
.ag-page .ag-payout-cta { display: flex; justify-content: space-between; gap: 14px; margin-top: auto; padding: 16px; border-radius: 13px; background: var(--ag-cyan-soft); color: var(--ag-teal-text); font-family: var(--gw-font); font-weight: 700; font-size: 13px; }
.ag-page .ag-payout-cta:hover { background: var(--gw-gold-shine); color: var(--ag-navy-2); }
.ag-page .ag-resources { display: grid; grid-template-columns: 1fr 1.1fr 1.1fr 1.1fr auto; align-items: center; margin-top: 16px; overflow: hidden; border: 1px solid var(--ag-border); border-radius: 19px; background: var(--ag-white); box-shadow: var(--ag-shadow); }
.ag-page .ag-res { display: flex; flex-direction: column; justify-content: center; gap: 7px; min-height: 104px; padding: 22px 17px; border-right: 1px solid var(--ag-border); }
.ag-page .ag-res strong { font-family: var(--gw-font); font-weight: 700; font-size: 14px; color: var(--ag-ink-strong); }
.ag-page .ag-res small { font-size: 12px; line-height: 1.45; color: var(--ag-text); }
.ag-page .ag-res--intro { background: var(--ag-cyan-soft); }
.ag-page .ag-resources .ag-btn { margin: 0 15px; }

/* ---------- Social ---------- */
.ag-page .ag-social-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ag-page .ag-social-card { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 260px; padding: 24px; border-radius: var(--ag-radius); color: var(--ag-white); transition: transform .22s; }
.ag-page .ag-social-card:hover { transform: translateY(-5px); color: var(--ag-white); }
.ag-page .ag-social-card::after { content: ""; position: absolute; right: -68px; top: -50px; width: 205px; height: 205px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; box-shadow: 0 0 0 34px rgba(255, 255, 255, .06), 0 0 0 70px rgba(255, 255, 255, .04); }
.ag-page .ag-social--ig { background: linear-gradient(138deg, #7435b0, #c54589 54%, #f5a96b); }
.ag-page .ag-social--fb { background: linear-gradient(138deg, var(--gw-navy-light), #2775bd); }
.ag-page .ag-social--in { background: linear-gradient(138deg, #18364d, #176a93); }
.ag-page .ag-social-glyph { font-family: var(--gw-font); font-weight: 700; font-size: 52px; line-height: 1; }
.ag-page .ag-social-label { position: relative; z-index: 1; margin-top: auto; }
.ag-page .ag-social-label span { display: block; font-family: var(--gw-font); font-weight: 700; font-size: 10px; letter-spacing: .15em; color: rgba(255, 255, 255, .8); }
.ag-page .ag-social-label strong { display: block; margin-top: 6px; font-family: var(--gw-font); font-weight: 500; font-size: 30px; }
.ag-page .ag-social-nudge { position: relative; z-index: 1; margin-top: 12px; font-family: var(--gw-font); font-weight: 700; font-size: 13px; }

/* ---------- Final conversion ---------- */
.ag-page .ag-final {
    padding: 90px 0 84px;
    background-color: var(--ag-white);
    background-image:
        linear-gradient(to right, rgba(21, 42, 61, .04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(21, 42, 61, .04) 1px, transparent 1px);
    background-size: 48px 48px;
}
.ag-page .ag-final-topline { display: flex; align-items: center; gap: 10px; padding-top: 19px; border-top: 1px solid var(--ag-border); font-family: var(--gw-font); font-weight: 700; font-size: 10px; letter-spacing: .15em; color: var(--ag-muted-2); }
.ag-page .ag-final-topline span:last-child { margin-left: auto; color: var(--ag-muted); }
.ag-page .ag-final-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 55px; align-items: center; padding: 52px 0; }
.ag-page .ag-final h2 {
    margin: 20px 0;
    font-size: clamp(44px, 5.4vw, 80px);
    line-height: 1.05;
    letter-spacing: -.035em;
    background: var(--ag-heading);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.ag-page .ag-final-lead { max-width: 460px; font-size: 18px; line-height: 1.6; color: var(--ag-text); }
.ag-page .ag-choices { display: flex; flex-direction: column; gap: 12px; }
.ag-page .ag-choices-label { margin: 0 0 6px 4px; font-family: var(--gw-font); font-weight: 700; font-size: 10px; letter-spacing: .15em; color: var(--ag-muted-2); }
.ag-page .ag-choice { display: flex; align-items: center; gap: 18px; width: 100%; padding: 20px 22px; border: 1px solid var(--ag-border); border-radius: 22px; background: var(--ag-white); color: var(--ag-ink-strong); text-align: left; box-shadow: 0 8px 20px rgba(var(--gw-navy-rgb), .04); transition: transform .2s, border-color .2s, box-shadow .2s; }
.ag-page .ag-choice:hover { transform: translateX(-5px); border-color: var(--ag-cyan-line); box-shadow: 0 18px 35px rgba(21, 43, 57, .08); }
.ag-page .ag-choice--primary { background: var(--gw-gold-shine); border-color: var(--ag-cyan); color: var(--ag-navy-2); }
.ag-page .ag-choice-symbol { display: grid; place-items: center; flex-shrink: 0; width: 52px; height: 52px; border-radius: 15px; background: var(--ag-cyan-soft); color: var(--ag-teal-text); font-size: 23px; }
.ag-page .ag-choice--primary .ag-choice-symbol { background: var(--ag-white); color: var(--ag-navy-2); }
.ag-page .ag-choice-copy { display: flex; flex: 1; flex-direction: column; gap: 3px; }
.ag-page .ag-choice-copy small { font-family: var(--gw-font); font-weight: 700; font-size: 9px; letter-spacing: .13em; color: var(--ag-muted-2); }
.ag-page .ag-choice--primary .ag-choice-copy small { color: #1d4f4a; }
.ag-page .ag-choice-copy strong { font-family: var(--gw-font); font-weight: 500; font-size: 21px; letter-spacing: -.02em; }
.ag-page .ag-choice-copy em { font-style: normal; font-size: 13px; color: var(--ag-text); }
.ag-page .ag-choice--primary .ag-choice-copy em { color: #24504b; }
.ag-page .ag-crm-bar { display: flex; align-items: center; gap: 19px; padding: 22px 28px; border-radius: var(--ag-radius); }
.ag-page .ag-crm-bar small { display: block; font-family: var(--gw-font); font-weight: 700; font-size: 9px; letter-spacing: .16em; color: #80e8dc; }
.ag-page .ag-crm-bar strong { display: block; margin-top: 4px; font-family: var(--gw-font); font-weight: 500; font-size: 18px; color: var(--ag-white); }
.ag-page .ag-crm-bar-icon { display: grid; place-items: center; flex-shrink: 0; width: 50px; height: 50px; border: 1px solid var(--ag-line-dark); border-radius: 15px; color: var(--ag-cyan); font-family: var(--gw-font); font-weight: 700; font-size: 24px; }
.ag-page .ag-crm-bar a { margin-left: auto; padding: 14px 21px; border-radius: 50px; background: var(--ag-white); color: var(--ag-navy-2); font-family: var(--gw-font); font-weight: 700; font-size: 13px; white-space: nowrap; }
.ag-page .ag-crm-bar a:hover { background: var(--gw-gold-shine); color: var(--ag-navy-2); }
.ag-page .ag-disclaimer { padding: 22px 0 30px; border-top: 1px solid var(--ag-border); font-size: 13px; color: var(--ag-muted-2); text-align: center; }

/* ---------- Mobile sticky bar ---------- */
.ag-page .ag-sticky { display: none; }

/* Hide the site's generic mobile bottom bar on these pages (we show our own). */
body:has(.ag-page:not(.ag-embed)) .bottom-nav { display: none !important; }   /* the home-page section (.ag-embed) keeps the site's bottom bar */

/* ---------- Modal ---------- */
.ag-page .ag-modal { position: fixed; inset: 0; z-index: 1060; display: none; align-items: center; justify-content: center; padding: 18px; background: rgba(14, 22, 36, .66); }
.ag-page .ag-modal.is-open { display: flex; }
.ag-page .ag-modal-dialog { width: min(100%, 470px); max-height: 92vh; overflow-y: auto; padding: 26px; border-radius: 22px; background: var(--ag-white); color: var(--ag-ink); box-shadow: 0 25px 90px rgba(8, 19, 34, .3); }
.ag-page .ag-modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.ag-page .ag-modal-head h2 { font-size: 26px; line-height: 1.2; letter-spacing: -.02em; background: var(--ag-heading); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ag-page .ag-modal-desc { margin: 8px 0 14px; font-size: 14px; line-height: 1.6; color: var(--ag-muted-2); }
.ag-page .ag-close { flex-shrink: 0; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--ag-soft); color: var(--ag-ink-strong); font-size: 20px; line-height: 1; }
body.ag-modal-open { overflow: hidden; }

/* Thank-you page styles: see the 'Thank-you page' block at the end of this file. */

/* ---------- Small utilities ---------- */
.ag-page .ag-sub { margin-top: 10px; }
.ag-page .ag-dot--inline { display: inline-block; margin-right: 10px; vertical-align: middle; }
.ag-page .ag-mt-16 { margin-top: 16px; }
.ag-page .ag-mt-24 { margin-top: 24px; }
.ag-page .ag-w-100 { width: 100%; }
.ag-page .ag-w-90 { width: 90%; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
    .ag-page .ag-container { width: min(var(--ag-max), calc(100% - 46px)); }
    .ag-page .ag-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(370px, 1fr); gap: 28px; }
    .ag-page .ag-dest-grid { grid-template-columns: repeat(3, 1fr); }
    .ag-page .ag-earn-grid { gap: 36px; }
    .ag-page .ag-support { grid-template-columns: 1fr 1.5fr; }
    .ag-page .ag-resources { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ag-page .ag-res { border-bottom: 1px solid var(--ag-border); }
    .ag-page .ag-resources .ag-btn { justify-self: start; margin: 16px; }
    .ag-page .ag-mini-grid { grid-template-columns: repeat(3, 1fr); }
    .ag-page .ag-final-grid { gap: 26px; }
}

@media (max-width: 800px) {
    .ag-page .ag-section,
    .ag-page .ag-section--alt,
    .ag-page .ag-section--light,
    .ag-page .ag-section--soft { padding: 64px 0; }
    .ag-page .ag-hero { padding: 40px 0 60px; }
    .ag-page .ag-hero-grid,
    .ag-page .ag-earn-grid,
    .ag-page .ag-split,
    .ag-page .ag-support,
    .ag-page .ag-mapstrip,
    .ag-page .ag-comm-grid,
    .ag-page .ag-final-grid { grid-template-columns: 1fr; }
    .ag-page .ag-hero-copy { text-align: center; }
    .ag-page .ag-hero-lead { margin-inline: auto; }
    .ag-page .ag-hero-copy .ag-actions,
    .ag-page .ag-hero-copy .ag-checks,
    .ag-page .ag-hero-copy .ag-pills { justify-content: center; }
    .ag-page .ag-form-card { width: 100%; max-width: 620px; margin: 0 auto; }
    .ag-page .ag-head { flex-direction: column; align-items: flex-start; }
    .ag-page .ag-cards-3 { grid-template-columns: 1fr 1fr; }
    .ag-page .ag-card--feature { grid-column: span 2; }
    .ag-page .ag-crm-mock { transform: none; }
    .ag-page .ag-support-feature { min-height: auto; }
    .ag-page .ag-journey { grid-template-columns: repeat(2, 1fr); }
    .ag-page .ag-receipt, .ag-page .ag-payout { min-height: 0; }
    .ag-page .ag-resources { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ag-page .ag-crm-bar { flex-wrap: wrap; }
    .ag-page .ag-crm-bar a { margin-left: 0; }
    .ag-page .ag-final-topline span:last-child { display: none; }

    .ag-page .ag-sticky {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1050;
        display: flex;
        gap: 10px;
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 -3px 20px rgba(21, 36, 56, .14);
    }
    .ag-page .ag-sticky .ag-btn { flex: 1; min-height: 44px; padding: 11px 10px; font-size: 13px; }
    .ag-page { padding-bottom: 70px; }
}

@media (max-width: 520px) {
    .ag-page .ag-container { width: calc(100% - 32px); }
    .ag-page .ag-hero h1 { font-size: clamp(38px, 10.5vw, 54px); }
    .ag-page .ag-hero-lead, .ag-page .ag-muted, .ag-page .ag-final-lead { font-size: 16px; }
    .ag-page .ag-actions .ag-btn { width: 100%; }
    .ag-page .ag-checks { gap: 10px; font-size: 13px; }
    .ag-page .ag-form-card { padding: 20px 16px; }
    .ag-page .ag-form-card h2 { font-size: 24px; }
    .ag-page .ag-form .ag-form-grid { grid-template-columns: 1fr; }
    .ag-page .ag-form .ag-phone { grid-template-columns: 100px 1fr; }
    .ag-page .ag-form-speed { display: none; }
    .ag-page .ag-title { font-size: 32px; }
    .ag-page .ag-dest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .ag-page .ag-dest-card { min-height: 130px; padding: 14px; }
    .ag-page .ag-flag { width: 52px; height: 36px; }
    .ag-page .ag-dest-name { font-size: 14px; }
    .ag-page .ag-dest-under { flex-direction: column; align-items: flex-start; }
    .ag-page .ag-cards-3 { grid-template-columns: 1fr; }
    .ag-page .ag-card--feature { grid-column: auto; }
    .ag-page .ag-card { min-height: 200px; }
    .ag-page .ag-panel { padding: 20px; }
    .ag-page .ag-earn-inputs { grid-template-columns: 1fr; }
    .ag-page .ag-crm-row { padding: 10px 8px; font-size: 11px; }
    .ag-page .ag-crm-stat { padding: 10px; }
    .ag-page .ag-crm-stat strong { font-size: 20px; }
    .ag-page .ag-board { grid-template-columns: 1fr 1fr; }
    .ag-page .ag-unit { min-height: 140px; padding: 18px 14px; }
    .ag-page .ag-unit h3 { margin-top: 28px; font-size: 15px; }
    .ag-page .ag-unit-icon { top: 16px; right: 13px; font-size: 19px; }
    .ag-page .ag-unit p { font-size: 13px; }
    .ag-page .ag-mapstrip { padding: 26px; }
    .ag-page .ag-journey, .ag-page .ag-mini-grid { grid-template-columns: 1fr 1fr; }
    .ag-page .ag-step { min-height: 200px; padding: 16px; }
    .ag-page .ag-step h3 { font-size: 17px; }
    .ag-page .ag-step p { font-size: 13px; }
    .ag-page .ag-market-card { min-height: 330px; padding: 24px; }
    .ag-page .ag-market-card h3 { font-size: 38px; }
    .ag-page .ag-receipt, .ag-page .ag-payout { padding: 22px; }
    .ag-page .ag-receipt h3 { font-size: 29px; }
    .ag-page .ag-receipt-total strong { font-size: 29px; }
    .ag-page .ag-resources { grid-template-columns: 1fr; }
    .ag-page .ag-res { min-height: 0; border-right: 0; }
    .ag-page .ag-social-grid { grid-template-columns: 1fr; gap: 11px; }
    .ag-page .ag-social-card { min-height: 170px; }
    .ag-page .ag-final h2 { font-size: clamp(40px, 11vw, 56px); }
    .ag-page .ag-choice { gap: 12px; padding: 15px; }
    .ag-page .ag-choice-symbol { width: 44px; height: 44px; }
    .ag-page .ag-choice-copy strong { font-size: 18px; }
    .ag-page .ag-crm-bar { padding: 20px; }
    .ag-page .ag-crm-bar a { width: 100%; text-align: center; }
    .ag-page .ag-modal-dialog { padding: 22px 16px; }
}

/* ==========================================================================
   Reference colour placement (1:1 with the approved HTML designs)
   ========================================================================== */
/* Soft teal-white sections (reference #f8fcfc / #f9fcfc / #fbfefe). */
.ag-page .ag-section--soft { background-color: var(--ag-soft-teal); }
.ag-page #destinations {
    background-color: #fbfefe;
    background-image:
        linear-gradient(to right, rgba(42, 93, 105, .037) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(42, 93, 105, .037) 1px, transparent 1px),
        radial-gradient(ellipse at 50% 100%, rgba(var(--gw-gold-rgb), .12) 0%, transparent 64%);
    background-size: 48px 48px, 48px 48px, auto;
    border-top: 1px solid #ecf1f1;
    border-bottom: 1px solid #eaf0f1;
}
.ag-page[data-ag-page="domestic"] #commissions,
.ag-page[data-ag-page="international"] #markets,
.ag-page[data-ag-page="international"] #crm,
.ag-page[data-ag-page="international"] #social { background-color: var(--ag-soft-teal); }
.ag-page[data-ag-page="international"] .ag-final {
    background-color: #fff;
    background-image:
        linear-gradient(to right, rgba(21, 42, 61, .035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(21, 42, 61, .035) 1px, transparent 1px),
        linear-gradient(145deg, #f6fffc, #fff);
    background-size: 48px 48px, 48px 48px, auto;
}
.ag-page[data-ag-page="international"] .ag-hero {
    background-image:
        radial-gradient(ellipse at 68% 90%, rgba(var(--gw-gold-rgb), .14) 0%, rgba(255, 255, 255, 0) 57%),
        linear-gradient(to right, rgba(21, 42, 61, .035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(21, 42, 61, .035) 1px, transparent 1px);
}

/* International form: rotated outline frame behind the card (reference .int-form-wrap:before). */
.ag-page[data-ag-page="international"] #apply.ag-form-card::before {
    content: "";
    position: absolute;
    inset: -15px -15px 22px 22px;
    z-index: -1;
    border: 1px solid rgba(var(--gw-gold-dark-rgb), .35);
    border-radius: 28px;
    transform: rotate(2deg);
    pointer-events: none;
}

/* Dark panels: CTA buttons are white with dark text (reference .support-feature-cta). */
.ag-page .ag-support-foot .ag-btn { background: var(--ag-white); border-color: var(--ag-white); color: var(--ag-navy-2); text-transform: none; }
.ag-page .ag-support-foot .ag-btn:hover { background: var(--ag-white); color: var(--ag-navy-2); }

/* "Ask for details" in the resource bar is dark (reference .resource-more). */
.ag-page .ag-resources .ag-btn { background: var(--ag-navy); border-color: var(--ag-navy); color: var(--ag-white); }
.ag-page .ag-resources .ag-btn:hover { background: var(--ag-navy); color: var(--ag-white); }

/* Light icon tiles on white (reference #eafffb / #dffff9 tints). */
.ag-page .ag-icon,
.ag-page .ag-form-spark,
.ag-page .ag-choice-symbol,
.ag-page .ag-stop-num,
.ag-page .ag-crm-pill { background-color: var(--ag-tint); }
.ag-page .ag-card--feature .ag-icon { background-color: var(--ag-navy-3); }
.ag-page .ag-choice--primary .ag-choice-symbol { background-color: var(--ag-white); }
.ag-page .ag-stop:last-child .ag-stop-num { background: var(--gw-gold-shine); }

/* International social: light tiles instead of gradient cards (reference .social-line). */
.ag-page .ag-social-tiles { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
.ag-page .ag-social-tile { display: flex; flex: 1; align-items: center; justify-content: space-between; min-width: 165px; padding: 22px; border: 1px solid #e2e9eb; border-radius: 17px; background: #f3f8f9; color: var(--ag-ink-strong); font-family: var(--gw-font); font-weight: 500; font-size: 16px; }
.ag-page .ag-social-tile b { color: var(--ag-teal-text); font-size: 22px; font-weight: normal; }
.ag-page .ag-social-tile:hover { border-color: var(--ag-cyan); color: var(--ag-ink-strong); }
@media (max-width: 520px) { .ag-page .ag-social-tile { min-width: 100%; } }

/* Feature card must stay navy (beats the generic white .ag-card rule). */
.ag-page .ag-card.ag-card--feature { background: var(--ag-navy); border-color: var(--ag-navy); box-shadow: none; }

/* ==========================================================================
   Thank-you page: same visual language as the landing pages
   (white + grid + cyan glow, gradient heading, white cards, one navy card).
   ========================================================================== */
.ag-page .ag-ty {
    position: relative;
    padding: 72px 0 96px;
    min-height: calc(100vh - 110px);
    background-color: var(--ag-white);
    overflow: hidden;
}
.ag-page .ag-ty::before {
    content: "";
    position: absolute;
    inset: auto -10% -35% -10%;
    height: 70%;
    background: radial-gradient(ellipse at 40% 60%, rgba(var(--gw-gold-rgb), .16) 0%, rgba(var(--gw-gold-rgb), 0) 62%);
    pointer-events: none;
}
.ag-page .ag-ty-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
    gap: 56px;
    align-items: center;
}

/* Animated check */
.ag-page .ag-ty-check {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    margin-bottom: 26px;
    border-radius: 22px;
    background: var(--ag-tint);
    box-shadow: 0 0 0 8px rgba(var(--gw-gold-rgb), .08);
}
.ag-page .ag-ty-check svg { width: 44px; height: 44px; }
.ag-page .ag-ty-check-ring { stroke: var(--ag-cyan-dark); stroke-width: 2.5; stroke-dasharray: 151; stroke-dashoffset: 151; animation: agTyRing .7s ease-out forwards; }
.ag-page .ag-ty-check-tick { stroke: var(--ag-navy); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 36; stroke-dashoffset: 36; animation: agTyTick .4s .55s ease-out forwards; }
@keyframes agTyRing { to { stroke-dashoffset: 0; } }
@keyframes agTyTick { to { stroke-dashoffset: 0; } }

.ag-page .ag-ty-status { max-width: 540px; margin: 18px 0 0; font-family: var(--gw-font); font-weight: 500; font-size: clamp(20px, 2vw, 26px); line-height: 1.3; letter-spacing: -.01em; color: var(--ag-ink-strong); }
.ag-page .ag-ty-title {
    font-size: clamp(44px, 5.4vw, 78px);
    line-height: 1.06;
    letter-spacing: -.035em;
    background: var(--ag-heading);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.ag-page .ag-ty-lead { max-width: 500px; margin: 12px 0 0; font-size: 18px; line-height: 1.65; color: var(--ag-text); }

/* CTA-specific action block */
.ag-page .ag-ty-action { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 30px; }
.ag-page .ag-ty-action-label { font-family: var(--gw-font); font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ag-teal-text); }
.ag-page .ag-ty-action-note { font-size: 13px; color: var(--ag-muted-2); }
.ag-page .ag-ty-phone {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 14px 28px 14px 14px;
    border-radius: 100px;
    background: var(--gw-gold-shine);
    color: var(--ag-navy-2);
    font-family: var(--gw-font); font-weight: 700;
    font-size: clamp(22px, 2.6vw, 32px);
    letter-spacing: .01em;
    box-shadow: 0 18px 40px rgba(var(--gw-gold-dark-rgb), .28);
    transition: transform .2s, box-shadow .2s;
}
.ag-page .ag-ty-phone:hover { color: var(--ag-navy-2); transform: translateY(-2px); box-shadow: 0 22px 46px rgba(var(--gw-gold-dark-rgb), .36); }
.ag-page .ag-ty-phone-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ag-navy); color: var(--ag-cyan); font-size: 24px; }
.ag-page .ag-ty-action--status {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 16px 22px 16px 18px;
    border: 1px solid var(--ag-border);
    border-radius: 18px;
    background: var(--ag-white);
    box-shadow: var(--ag-shadow);
}
.ag-page .ag-ty-action--status strong { display: block; font-family: var(--gw-font); font-weight: 500; font-size: 17px; color: var(--ag-ink-strong); }
.ag-page .ag-ty-pulse { position: relative; width: 14px; height: 14px; border-radius: 50%; background: var(--ag-cyan-dark); flex-shrink: 0; }
.ag-page .ag-ty-pulse::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--ag-cyan-dark); opacity: 0; animation: agTyPulse 1.6s ease-out infinite; }
@keyframes agTyPulse { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

.ag-page .ag-ty-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 34px; }
.ag-page .ag-ty-links .ag-link { margin-top: 0; }

/* Right column */
.ag-page .ag-ty-side { display: flex; flex-direction: column; gap: 14px; }
.ag-page .ag-ty-next { padding: 30px 30px 26px; border: 1px solid var(--ag-border); border-radius: 26px; background: var(--ag-white); box-shadow: var(--ag-shadow-lg); }
.ag-page .ag-ty-next-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--gw-font); font-weight: 700; font-size: 10px; letter-spacing: .14em; color: var(--ag-muted-2); }
.ag-page .ag-ty-next-badge { padding: 6px 10px; border-radius: 100px; background: var(--ag-tint); color: var(--ag-teal-text); letter-spacing: .04em; }
.ag-page .ag-ty-steps { list-style: none; margin: 26px 0 0; padding: 0; }
.ag-page .ag-ty-step { position: relative; display: flex; gap: 16px; padding-bottom: 24px; }
.ag-page .ag-ty-step:last-child { padding-bottom: 0; }
.ag-page .ag-ty-step:not(:last-child)::before { content: ""; position: absolute; left: 20px; top: 44px; bottom: 4px; width: 1px; background: var(--ag-cyan-line); }
.ag-page .ag-ty-step-num { display: grid; place-items: center; flex-shrink: 0; width: 41px; height: 41px; border-radius: 50%; background: var(--ag-soft); border: 1px solid var(--ag-border); color: var(--ag-muted-2); font-family: var(--gw-font); font-weight: 700; font-size: 12px; }
.ag-page .ag-ty-step.is-active .ag-ty-step-num { background: var(--gw-gold-shine); border-color: var(--ag-cyan); color: var(--ag-navy-2); box-shadow: 0 0 0 6px var(--ag-cyan-soft); }
.ag-page .ag-ty-step strong { display: block; margin-top: 2px; font-family: var(--gw-font); font-weight: 500; font-size: 17px; color: var(--ag-ink-strong); }
.ag-page .ag-ty-step p { margin-top: 5px; font-size: 13px; line-height: 1.55; color: var(--ag-muted-2); }

.ag-page .ag-ty-ga { display: flex; align-items: center; gap: 16px; padding: 20px 20px 20px 22px; border-radius: 22px; background: var(--ag-navy); color: var(--ag-white); }
.ag-page .ag-ty-ga-icon { position: relative; display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 14px; font-family: var(--gw-font); font-weight: 700; font-size: 24px; }
.ag-page .ag-ty-ga-icon span { position: absolute; top: 7px; right: 9px; font-size: 8px; color: var(--ag-cyan); }
.ag-page .ag-ty-ga-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ag-page .ag-ty-ga-copy small { font-family: var(--gw-font); font-weight: 700; font-size: 9px; letter-spacing: .16em; color: var(--ag-cyan); }
.ag-page .ag-ty-ga-copy strong { font-family: var(--gw-font); font-weight: 500; font-size: 15px; line-height: 1.35; color: var(--ag-white); }
.ag-page .ag-ty-ga-link { margin-left: auto; flex-shrink: 0; padding: 12px 18px; border-radius: 100px; background: var(--gw-gold-shine); color: var(--ag-navy-2); font-family: var(--gw-font); font-weight: 700; font-size: 13px; white-space: nowrap; transition: transform .2s; }
.ag-page .ag-ty-ga-link:hover { color: var(--ag-navy-2); transform: translateY(-2px); }

@media (max-width: 960px) {
    .ag-page .ag-ty { padding: 48px 0 72px; min-height: 0; }
    .ag-page .ag-ty-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 520px) {
    .ag-page .ag-ty { padding: 36px 0 56px; }
    .ag-page .ag-ty-check { width: 64px; height: 64px; margin-bottom: 20px; border-radius: 18px; }
    .ag-page .ag-ty-title { font-size: clamp(38px, 11vw, 52px); }
    .ag-page .ag-ty-lead { font-size: 16px; }
    .ag-page .ag-ty-action { display: flex; width: 100%; }
    .ag-page .ag-ty-action .ag-btn { width: 100%; }
    .ag-page .ag-ty-phone { width: 100%; justify-content: center; padding: 12px 18px 12px 12px; font-size: 22px; }
    .ag-page .ag-ty-phone-icon { width: 44px; height: 44px; font-size: 20px; }
    .ag-page .ag-ty-links .ag-btn { width: 100%; }
    .ag-page .ag-ty-next { padding: 22px 18px 20px; border-radius: 22px; }
    .ag-page .ag-ty-ga { flex-wrap: wrap; }
    .ag-page .ag-ty-ga-link { width: 100%; margin-left: 0; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    .ag-page .ag-ty-check-ring, .ag-page .ag-ty-check-tick { animation: none; stroke-dashoffset: 0; }
    .ag-page .ag-ty-pulse::after { animation: none; }
}

/* ==========================================================================
   Review round 2 (Khyati's feedback doc)
   ========================================================================== */

/* 1. Grey sub-texts become black. Heading gradient: lighter end darkened so the shading is subtler. */
.ag-page {
    --ag-text: var(--gw-navy);
    --ag-muted-2: var(--gw-navy);
    --ag-heading: linear-gradient(var(--gw-navy), var(--gw-navy));
}

/* Round 3: all dropdowns use one compact custom arrow (no extra native padding). */
.ag-page .ag-form select,
.ag-page .ag-earn-inputs select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0 30px 0 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23171a23' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 11px center;
    background-size: 12px 12px;
}
.ag-page .ag-form select[data-ag-dial] { padding: 0 24px 0 10px; background-position: right 8px center; }

/* 2. SVG icons. */
.ag-page .ag-svg { display: inline-block; flex-shrink: 0; vertical-align: middle; }
.ag-page .ag-icon .ag-svg, .ag-page .ag-choice-symbol .ag-svg { width: 22px; height: 22px; }

/* 3 + 10. Buttons: same sliding-fill hover as the website (.light-theme-btn / .new-theme-btn), text always centred. */
.ag-page .ag-btn {
    position: relative;
    z-index: 1;
    overflow: hidden;
    justify-content: center;
    text-align: center;
    transition: color .4s linear, border-color .4s linear;
}
.ag-page .ag-btn::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: auto;
    z-index: -1;
    width: 0;
    height: 100%;
    background-color: var(--ag-navy-2);
    transition: width .6s cubic-bezier(.25, .8, .25, 1);
}
.ag-page .ag-btn:hover { transform: none; box-shadow: none; }
.ag-page .ag-btn:hover::after { width: 100%; left: 0; right: auto; }
/* Outline + cyan buttons: dark fill, cyan text. */
.ag-page .ag-btn:hover,
.ag-page .ag-btn--primary:hover { color: var(--ag-cyan); border-color: var(--ag-navy-2); }
/* Dark / white buttons: cyan fill, dark text. */
.ag-page .ag-btn--dark::after,
.ag-page .ag-support-foot .ag-btn::after,
.ag-page .ag-resources .ag-btn::after,
.ag-page .ag-card--feature .ag-btn::after,
.ag-page .ag-mapstrip .ag-btn:not(.ag-btn--primary)::after { background: var(--gw-gold-shine); }
.ag-page .ag-btn--dark:hover,
.ag-page .ag-support-foot .ag-btn:hover,
.ag-page .ag-resources .ag-btn:hover,
.ag-page .ag-card--feature .ag-btn:hover,
.ag-page .ag-mapstrip .ag-btn:not(.ag-btn--primary):hover { color: var(--ag-navy-2); border-color: var(--ag-cyan); }
.ag-page .ag-btn[disabled]::after { display: none; }
.ag-page .ag-form .ag-submit { justify-content: center; }
.ag-page .ag-crm-bar a, .ag-page .ag-ty-ga-link { transition: background .3s, color .3s; }
.ag-page .ag-crm-bar a:hover, .ag-page .ag-ty-ga-link:hover { background: var(--ag-navy-2); color: var(--ag-cyan); transform: none; }

/* 9. Hero form: compact 6-column layout so it fits without scrolling. */
.ag-page .ag-hero { padding: 40px 0 56px; }
.ag-page .ag-form-card { padding: 22px 24px; }
.ag-page .ag-form-card h2 { margin: 12px 0 2px; font-size: 24px; }
.ag-page .ag-form-card > p { margin-bottom: 6px; font-size: 13px; }
.ag-page .ag-form-top { margin-bottom: 8px; }   /* heading removed: small gap before the first field */
/* Form title ("NEW PARTNER ENQUIRY"): it is now the only heading of the card. */
/* Same typography as the removed "Grow with Gateway." heading (.ag-form-card h2). */
.ag-page .ag-form-top .ag-form-title {
    font-family: var(--gw-font); font-weight: 500;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -.02em;
    background: var(--ag-heading);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
@media (max-width: 520px) { .ag-page .ag-form-top .ag-form-title { font-size: 19px; } }
.ag-page .ag-form .ag-form-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 10px; }
.ag-page .ag-form .ag-col-3 { grid-column: span 3; }
.ag-page .ag-form .ag-col-2 { grid-column: span 2; }
.ag-page .ag-form .ag-field { min-width: 0; margin: 6px 0; }
.ag-page .ag-form .ag-field > span:first-child { margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-page .ag-form input[type=text],
.ag-page .ag-form input[type=tel],
.ag-page .ag-form input[type=email],
.ag-page .ag-form select { height: 40px; min-width: 0; max-width: 100%; text-overflow: ellipsis; }
.ag-page .ag-form .ag-consent { margin: 8px 0 6px; }
.ag-page .ag-form-tail { margin-top: 8px; }
/* Quick forms (modal CTAs): one field per row so the phone input is never squeezed (point 13). */
.ag-page .ag-form[data-ag-full="0"] .ag-form-grid { grid-template-columns: minmax(0, 1fr); }
.ag-page .ag-form[data-ag-full="0"] .ag-field { grid-column: auto; margin: 8px 0; }
.ag-page .ag-form[data-ag-full="0"] input[type=text],
.ag-page .ag-form[data-ag-full="0"] input[type=tel],
.ag-page .ag-form[data-ag-full="0"] select { height: 46px; }

/* 4 + 7. Phone code shows only "+91"; nothing can push past the screen edge. */
.ag-page .ag-form .ag-phone { grid-template-columns: 76px minmax(0, 1fr); }
.ag-page .ag-modal-dialog { overflow-x: hidden; }

/* 5 + 6 + 8. Inline validation: red border, red label, message right under the field. */
.ag-page .ag-form .ag-err,
.ag-page .ag-form .ag-field small.ag-err { font-size: 12px; color: var(--gw-danger); }
.ag-page .ag-form .ag-invalid input,
.ag-page .ag-form .ag-invalid select { border-color: var(--gw-danger); background-color: #fffafa; box-shadow: 0 0 0 3px rgba(var(--gw-danger-rgb), .08); }
.ag-page .ag-form .ag-invalid .ag-consent { color: var(--gw-danger); }
.ag-page .ag-form .ag-invalid .ag-consent input { outline: 2px solid var(--gw-danger); outline-offset: 1px; }

/* 11. Destination cards: glow on hover. */
.ag-page .ag-dest-card:hover { border-color: var(--ag-cyan); box-shadow: 0 0 0 1px rgba(var(--gw-gold-rgb), .5), 0 18px 48px rgba(var(--gw-gold-rgb), .38); }

/* 14. Three benefit cards: equal size; white cards turn navy on hover; feature heading visible. */
.ag-page .ag-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ag-page .ag-card.ag-card--feature h3 { color: var(--ag-white); }
.ag-page .ag-card { transition: background .3s, border-color .3s, transform .3s; }
.ag-page .ag-card:not(.ag-card--feature):hover { background: var(--ag-navy); border-color: var(--ag-navy); transform: translateY(-4px); }
.ag-page .ag-card:not(.ag-card--feature):hover h3 { color: var(--ag-white); }
.ag-page .ag-card:not(.ag-card--feature):hover p { color: #c5ccdb; }
.ag-page .ag-card:not(.ag-card--feature):hover .ag-icon { background-color: var(--ag-navy-3); color: var(--ag-cyan); }
.ag-page .ag-card:not(.ag-card--feature):hover .ag-link { color: var(--ag-cyan); }
.ag-page .ag-card h3, .ag-page .ag-card p, .ag-page .ag-card .ag-icon { transition: color .3s, background-color .3s; }

/* 19 + 20. Estimator: bigger question label, asterisk on the amount. */
.ag-page .ag-panel .ag-step-label { font-size: 19px; color: var(--ag-ink-strong); }
.ag-page .ag-total strong span { display: inline; font: inherit; letter-spacing: inherit; color: inherit; }
.ag-page .ag-total strong sup { top: -.9em; margin-left: 2px; font-size: .4em; color: var(--ag-cyan); }
.ag-page .ag-panel .ag-range-labels + .ag-total { margin-top: 26px; }

/* 22. Glow behind the Guaranteed Admit dashboard. */
.ag-page .ag-crm-mock { box-shadow: 0 28px 70px rgba(var(--gw-navy-rgb), .12), 0 0 0 1px rgba(var(--gw-gold-rgb), .25), 0 0 90px 12px rgba(var(--gw-gold-rgb), .28); }

/* Round 4: single Location picker (country -> state -> city). */
.ag-page .ag-form .ag-col-6 { grid-column: 1 / -1; }
.ag-page .ag-loc { position: relative; }
.ag-page .ag-loc-btn {
    display: flex;
    align-items: center;
    width: 100%;
    height: 40px;
    padding: 0 30px 0 12px;
    border: 1px solid var(--ag-input-border);
    border-radius: 10px;
    background: var(--ag-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23171a23' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 11px center / 12px 12px;
    color: var(--ag-ink-strong);
    font-family: var(--gw-font);
    font-size: 14px;
    text-align: left;
    cursor: pointer;
}
.ag-page .ag-loc-text { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ag-page .ag-loc-text.is-placeholder { color: #98a2b3; }
.ag-page .ag-loc.is-open .ag-loc-btn,
.ag-page .ag-loc-btn:focus { border-color: var(--ag-cyan-dark); box-shadow: 0 0 0 3px rgba(var(--gw-gold-rgb), .25); outline: none; }
.ag-page .ag-form .ag-invalid .ag-loc-btn { border-color: var(--gw-danger); background-color: #fffafa; box-shadow: 0 0 0 3px rgba(var(--gw-danger-rgb), .08); }
.ag-page .ag-loc-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% - 2px);
    z-index: 30;
    min-width: 300px;           /* the box is a third of the row; the list needs more room */
    padding: 10px;
    border: 1px solid var(--ag-border);
    border-radius: 14px;
    background: var(--ag-white);
    box-shadow: 0 22px 50px rgba(var(--gw-navy-rgb), .18);
}
.ag-page .ag-loc-head { display: flex; align-items: center; gap: 8px; min-height: 28px; margin-bottom: 8px; }
.ag-page .ag-loc-head strong { flex: 1; font-family: var(--gw-font); font-weight: 700; font-size: 13px; color: var(--ag-ink-strong); }
.ag-page .ag-loc-back,
.ag-page .ag-loc-skip { padding: 4px 10px; border: 1px solid var(--ag-border); border-radius: 50px; background: var(--ag-white); color: var(--ag-ink-strong); font-size: 12px; max-width: 45%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ag-page .ag-loc-back:hover,
.ag-page .ag-loc-skip:hover { border-color: var(--ag-cyan-dark); }
.ag-page .ag-form .ag-loc-search { height: 38px; margin-bottom: 6px; }
.ag-page .ag-loc-list { max-height: 220px; margin: 0; padding: 0; overflow-y: auto; list-style: none; }
.ag-page .ag-loc-list li { padding: 9px 10px; border-radius: 8px; font-family: var(--gw-font); font-size: 14px; color: var(--ag-ink-strong); cursor: pointer; }
.ag-page .ag-loc-list li[data-value]:hover { background: var(--ag-tint); }
.ag-page .ag-loc-list li.is-selected { background: var(--ag-cyan-soft); font-family: var(--gw-font); font-weight: 700; }
.ag-page .ag-loc-list li.ag-loc-empty { color: var(--ag-muted-2); cursor: default; }
/* Fallback (no lists available): plain text inputs side by side. */
.ag-page .ag-loc.is-fallback .ag-loc-src { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }

/* 16. Confetti canvas (party popper on the estimator). */
.ag-confetti { position: fixed; inset: 0; z-index: 2000; pointer-events: none; }

@media (max-width: 800px) {
    .ag-page .ag-cards-3 { grid-template-columns: 1fr; }
    .ag-page .ag-card--feature { grid-column: auto; }
}
@media (max-width: 520px) {
    .ag-page .ag-form .ag-form-grid { grid-template-columns: minmax(0, 1fr); }
    .ag-page .ag-form .ag-col-3, .ag-page .ag-form .ag-col-2 { grid-column: auto; }
    .ag-page .ag-form .ag-phone { grid-template-columns: 76px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    .ag-page .ag-btn::after { transition: none; }
}

/* ==========================================================================
   Review round 3: slightly bigger common text, bigger destination flags.
   Desktop sizes sit outside the mobile breakpoint so phones keep their own scale.
   ========================================================================== */
@media (min-width: 521px) {
    .ag-page .ag-muted, .ag-page .ag-hero-lead, .ag-page .ag-final-lead, .ag-page .ag-ty-lead { font-size: 17px; }
    .ag-page .ag-fine { font-size: 13.5px; }
    .ag-page .ag-checks { font-size: 16px; }
    .ag-page .ag-pills span { font-size: 15px; }
    .ag-page .ag-link { font-size: 16px; }
    .ag-page .ag-btn { font-size: 16px; }
    .ag-page .ag-btn--sm { font-size: 14px; }
    .ag-page .ag-card p, .ag-page .ag-unit p, .ag-page .ag-step p, .ag-page .ag-stop p, .ag-page .ag-support-foot p { font-size: 17px; }
    .ag-page .ag-card h3 { font-size: 26px; }
    .ag-page .ag-unit h3, .ag-page .ag-stop h3 { font-size: 20px; }
    .ag-page .ag-step h3 { font-size: 21px; }
    .ag-page .ag-mini h3 { font-size: 18px; }
    .ag-page .ag-res strong { font-size: 16px; }
    .ag-page .ag-res small { font-size: 14px; }
    .ag-page .ag-signal strong { font-size: 17px; }
    .ag-page .ag-signal small { font-size: 17px; }
    .ag-page .ag-total small { font-size: 14px; }
    .ag-page .ag-receipt-row { font-size: 16px; }
    .ag-page .ag-chips span { font-size: 16px; }
    .ag-page .ag-strip-items { font-size: 15px; }
    .ag-page .ag-choice-copy em { font-size: 15px; }
    .ag-page .ag-disclaimer { font-size: 14px; }
    .ag-page .ag-crm-row { font-size: 13px; }
    .ag-page .ag-crm-stat small { font-size: 12px; }
    .ag-page .ag-form .ag-field { font-size: 13px; }
    .ag-page .ag-form .ag-consent { font-size: 13px; }
    .ag-page .ag-range-labels { font-size: 14px; }
}
@media (max-width: 520px) {
    .ag-page .ag-hero-lead, .ag-page .ag-muted, .ag-page .ag-final-lead, .ag-page .ag-ty-lead,
    .ag-page .ag-card p, .ag-page .ag-unit p, .ag-page .ag-step p, .ag-page .ag-stop p, .ag-page .ag-support-foot p { font-size: 15px; }
    .ag-page .ag-checks { font-size: 14px; }
}

/* Destination flags */
.ag-page .ag-flag { width: 108px; height: 74px; border-radius: 12px; }
.ag-page .ag-dest-card { min-height: 0; }
.ag-page .ag-dest-name { margin-top: 16px; font-size: 18px; }
.ag-page .ag-dest-under { font-size: 16px; }
@media (max-width: 520px) {
    .ag-page .ag-flag { width: 84px; height: 57px; }
    .ag-page .ag-dest-card { min-height: 0; }
    .ag-page .ag-dest-name { font-size: 15px; }
    .ag-page .ag-dest-under { font-size: 14px; }
}

/* Inline amount inside the estimator note must not take the small uppercase label style */
.ag-page .ag-total small span { display: inline; font: inherit; letter-spacing: inherit; color: inherit; text-transform: none; font-weight: 700; }

/* ==========================================================================
   Review round 4 (sheet points 23-35)
   ========================================================================== */

/* 27: one subtext size everywhere (desktop 17px, phones 15px). */
@media (min-width: 521px) {
    .ag-page .ag-muted, .ag-page .ag-hero-lead, .ag-page .ag-final-lead, .ag-page .ag-ty-lead,
    .ag-page .ag-card p, .ag-page .ag-unit p, .ag-page .ag-step p, .ag-page .ag-stop p,
    .ag-page .ag-support-foot p, .ag-page .ag-signal small { font-size: 17px; }
}

/* 23: CRM bullets */
.ag-page .ag-bullets { list-style: none; display: grid; gap: 12px; margin: 20px 0 14px; padding: 0; font-size: 17px; color: var(--ag-ink-strong); }
.ag-page .ag-bullets li { display: flex; align-items: center; gap: 12px; }
.ag-page .ag-bullets li::before { content: "\2713"; display: grid; place-items: center; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--ag-cyan-soft); color: var(--ag-teal-text); font-size: 13px; font-family: var(--gw-font); font-weight: 700; }

/* 24: services picture + its top row use the normal site font (the small "What we do" heading stays as it is). */
.ag-page .ag-support-top { font-family: var(--gw-font); font-weight: 500; font-size: 14px; letter-spacing: 0; }
.ag-page .ag-core { font-family: var(--gw-font); font-weight: 500; font-size: 18px; letter-spacing: 0; line-height: 1.25; }
.ag-page .ag-marker { font-family: var(--gw-font); font-weight: 500; font-size: 12px; }

/* 26: flags in the market chips */
.ag-page .ag-chips span { display: inline-flex; align-items: center; }
.ag-page .ag-chip-flag { display: block; width: 26px; height: 18px; margin-right: 9px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, .18); }

/* 30: payout card without the extra box, less empty space */
.ag-page .ag-comm-grid { align-items: start; }
.ag-page .ag-payout { min-height: 0; padding-bottom: 26px; }
.ag-page .ag-rail { margin-bottom: 0; }

/* 34: "Call me now" is white until hovered, then aqua with a soft glow behind it */
.ag-page .ag-choice--primary { background: var(--ag-white); border-color: var(--ag-border); color: var(--ag-ink-strong); }
.ag-page .ag-choice--primary .ag-choice-symbol { background-color: var(--ag-cyan-soft); color: var(--ag-teal-text); }
.ag-page .ag-choice--primary .ag-choice-copy small { color: var(--ag-muted-2); }
.ag-page .ag-choice--primary .ag-choice-copy em { color: var(--ag-text); }
.ag-page .ag-choice { transition: transform .2s, border-color .2s, box-shadow .3s, background-color .3s; }
.ag-page .ag-choice--primary:hover { background: var(--gw-gold-shine); border-color: var(--ag-cyan); color: var(--ag-navy-2); box-shadow: 0 0 0 1px rgba(var(--gw-gold-rgb), .5), 0 18px 48px rgba(var(--gw-gold-rgb), .42); }
.ag-page .ag-choice--primary:hover .ag-choice-symbol { background-color: var(--ag-white); color: var(--ag-navy-2); }
.ag-page .ag-choice--primary:hover .ag-choice-copy small { color: #1d4f4a; }
.ag-page .ag-choice--primary:hover .ag-choice-copy em { color: #24504b; }

/* 35: only "100 students" is bold, the rest of the headline is normal weight */
.ag-page .ag-final h2 { font-family: var(--gw-font); font-weight: 400; }
.ag-page .ag-final h2 .ag-accent { font-family: var(--gw-font); font-weight: 700; }

/* Social cards, compact (domestic): same colourful cards, a little smaller than the full size. */
.ag-page .ag-social-grid--sm { gap: 14px; }
.ag-page .ag-social-grid--sm .ag-social-card { min-height: 190px; padding: 20px 22px; }
.ag-page .ag-social-grid--sm .ag-social-glyph { font-size: 40px; }
.ag-page .ag-social-grid--sm .ag-social-label strong { font-size: 25px; margin-top: 4px; }
.ag-page .ag-social-grid--sm .ag-social-nudge { margin-top: 8px; font-size: 13px; }
@media (max-width: 520px) { .ag-page .ag-social-grid--sm .ag-social-card { min-height: 150px; } }

/* Social (domestic): heading on the left, the three cards beside it, narrower. */
.ag-page .ag-social-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.ag-page .ag-social-split .ag-head { margin-bottom: 0; }
.ag-page .ag-social-split .ag-social-grid--sm { gap: 12px; }
.ag-page .ag-social-split .ag-social-grid--sm .ag-social-card { min-height: 170px; padding: 18px; }
.ag-page .ag-social-split .ag-social-grid--sm .ag-social-glyph { font-size: 34px; }
.ag-page .ag-social-split .ag-social-grid--sm .ag-social-label span { font-size: 9px; letter-spacing: .1em; }
.ag-page .ag-social-split .ag-social-grid--sm .ag-social-label strong { font-size: 21px; }
.ag-page .ag-social-split .ag-social-grid--sm .ag-social-nudge { font-size: 12px; }
@media (max-width: 900px) {
    .ag-page .ag-social-split { grid-template-columns: 1fr; gap: 24px; }
    .ag-page .ag-social-split .ag-social-grid--sm { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .ag-page .ag-social-split .ag-social-grid--sm { grid-template-columns: 1fr; }
    .ag-page .ag-social-split .ag-social-grid--sm .ag-social-card { min-height: 140px; }
}
.ag-page .ag-social-split { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px; }
.ag-page .ag-social-split .ag-social-grid--sm { gap: 14px; }
.ag-page .ag-social-split .ag-social-grid--sm .ag-social-card { min-height: 180px; padding: 20px; }
@media (max-width: 900px) { .ag-page .ag-social-split { grid-template-columns: 1fr; gap: 24px; } }

/* ===== Review round 5 (sheet points 37-64) ===== */
/* 45/63: "Up to" is a small prefix, the amount stays the hero. */
.ag-page .ag-upto { font-size: .42em; font-weight: 500; letter-spacing: 0; margin-right: .15em; vertical-align: .25em; opacity: .9; }
.ag-page .ag-receipt-row .ag-upto { font-size: .7em; vertical-align: baseline; }

/* 44: the two commission cards are always the same size. */
.ag-page .ag-comm-grid { align-items: stretch; }
.ag-page .ag-receipt { display: flex; flex-direction: column; }
.ag-page .ag-payout .ag-rail { margin: auto 0; }

/* 46/49: tighter vertical spacing on the estimator and the last section. */
.ag-page #earnings.ag-section { padding: 52px 0; }
.ag-page .ag-final { padding: 48px 0 56px; }
.ag-page .ag-final-grid { padding: 24px 0; }

/* 48: CRM text sits a little further right of the dashboard picture (domestic). */
.ag-page[data-ag-page="domestic"] #crm .ag-split > div:last-child { padding-left: 44px; }
@media (max-width: 900px) { .ag-page[data-ag-page="domestic"] #crm .ag-split > div:last-child { padding-left: 0; } }

/* 50: final choices get a visible border and the same aqua glow hover as "Call me now". */
.ag-page .ag-choice { border: 1.5px solid #c3d3d9; }
.ag-page .ag-choice:hover { background: var(--gw-gold-shine); border-color: var(--ag-cyan); color: var(--ag-navy-2); box-shadow: 0 0 0 1px rgba(var(--gw-gold-rgb), .5), 0 18px 48px rgba(var(--gw-gold-rgb), .42); }
.ag-page .ag-choice:hover .ag-choice-symbol { background-color: var(--ag-white); color: var(--ag-navy-2); }
.ag-page .ag-choice:hover .ag-choice-copy small { color: #1d4f4a; }
.ag-page .ag-choice:hover .ag-choice-copy em { color: #24504b; }

/* 55: partner markets (international): flags fill the space beside the heading. */
.ag-page .ag-market-top { display: flex; gap: 28px; align-items: flex-start; justify-content: space-between; }
.ag-page .ag-market-card .ag-chips--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; flex: 1; max-width: 340px; }
.ag-page .ag-market-card .ag-chips--grid .ag-chip-flag { width: 34px; height: 24px; }
@media (max-width: 520px) {
    .ag-page .ag-market-top { flex-direction: column; gap: 18px; }
    .ag-page .ag-market-card .ag-chips--grid { max-width: none; width: 100%; }
}

/* 57: all workflow steps use the tinted style, with a navy border. */
.ag-page .ag-step { background: linear-gradient(160deg, rgba(var(--gw-gold-rgb), .16), var(--ag-white) 75%); border: 1.5px solid var(--ag-navy-2); }

/* 61: services (international): coloured cards, button level with the heading start. */
.ag-page .ag-head--top { align-items: flex-start; }
.ag-page .ag-mini:nth-child(4n+1) { background: linear-gradient(145deg, rgba(var(--gw-gold-rgb), .2), var(--ag-white) 80%); border-color: rgba(var(--gw-gold-dark-rgb), .4); }
.ag-page .ag-mini:nth-child(4n+2) { background: linear-gradient(145deg, rgba(86, 130, 255, .14), var(--ag-white) 80%); border-color: rgba(86, 130, 255, .35); }
.ag-page .ag-mini:nth-child(4n+3) { background: linear-gradient(145deg, rgba(255, 196, 77, .2), var(--ag-white) 80%); border-color: rgba(230, 160, 30, .4); }
.ag-page .ag-mini:nth-child(4n+4) { background: linear-gradient(145deg, rgba(255, 120, 150, .14), var(--ag-white) 80%); border-color: rgba(235, 90, 125, .35); }
.ag-page .ag-mini--accent { background: linear-gradient(145deg, rgba(var(--gw-gold-rgb), .26), var(--ag-white) 80%); }

/* International CRM: same layout as domestic (dashboard left, text right with a bit more room). */
.ag-page[data-ag-page="international"] #crm .ag-crm-mock { order: -1; }
.ag-page[data-ag-page="international"] #crm .ag-split > div:not(.ag-crm-mock) { padding-left: 44px; }
@media (max-width: 900px) { .ag-page[data-ag-page="international"] #crm .ag-split > div:not(.ag-crm-mock) { padding-left: 0; } }

/* Partner markets (international): card height follows its content, no empty space below the flags. */
.ag-page .ag-market-card { min-height: 0; justify-content: flex-start; padding: 28px 32px; }

/* 65: the university-commission bar is filled with aqua like the share bar. */
.ag-page .ag-track span { background: var(--gw-gold-shine); }
/* 67: with the top labels gone the card heading starts the card. */
.ag-page .ag-receipt h3 { margin-top: 0; }

/* Partner markets (international): heading in its own box, country pills below, flags without their own frame. */
.ag-page .ag-market-card { gap: 18px; justify-content: flex-start; }
.ag-page .ag-market-card .ag-market-title { margin: 0; padding: 20px 24px; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.12; border: 1px solid var(--ag-line-dark); border-radius: 18px; background: rgba(255, 255, 255, .06); }
.ag-page .ag-market-card .ag-chips--row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ag-page .ag-market-card .ag-chips--row .ag-chip-flag { width: 34px; height: 24px; border-radius: 0; box-shadow: none; }
.ag-page .ag-market-card .ag-chips-more { font-style: normal; font-size: 15px; color: rgba(255, 255, 255, .8); padding-left: 6px; }
@media (max-width: 520px) { .ag-page .ag-market-card .ag-market-title { padding: 16px 18px; font-size: 28px; } }
.ag-page .ag-market-card .ag-chips--row { gap: 8px; }
.ag-page .ag-market-card .ag-chips--row span { padding: 9px 12px; font-size: 14px; }
.ag-page .ag-market-card .ag-chips--row .ag-chip-flag { width: 28px; height: 20px; margin-right: 7px; }
.ag-page .ag-market-card { padding: 28px; }

/* Required fields carry a red asterisk after the label (domestic + international forms, hero and popup). */
.ag-page .ag-form .ag-field:has([data-ag-required]) > span:first-child::after { content: " *"; color: var(--gw-danger); }

/* Partner markets: flag + name sit plain (no pill box); smaller heading. */
.ag-page .ag-market-card .ag-chips--row { gap: 14px 26px; padding: 4px 6px; }
.ag-page .ag-market-card .ag-chips--row span { padding: 0; border: 0; background: none; border-radius: 0; font-size: 15px; }
.ag-page .ag-market-card .ag-chips--row .ag-chip-flag { width: 32px; height: 22px; margin-right: 10px; }
.ag-page .ag-market-card .ag-market-title { padding: 14px 20px; font-size: clamp(22px, 2.2vw, 28px); border-radius: 14px; }
@media (max-width: 520px) { .ag-page .ag-market-card .ag-market-title { padding: 12px 16px; font-size: 22px; } }

/* Partner markets (international): dark card holds only the heading; flags + names sit below it in one line, no boxes. */
.ag-page .ag-market-col { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.ag-page .ag-market-card { min-height: 0; padding: 32px; justify-content: flex-start; }
.ag-page .ag-market-card h3 { margin: 14px 0 0; font-size: 48px; line-height: 1.05; }
.ag-page .ag-market-flags { display: flex; flex-wrap: nowrap; align-items: center; gap: 18px; padding-left: 4px; color: var(--ag-ink-strong); font-size: 15px; font-family: var(--gw-font); font-weight: 500; white-space: nowrap; }
.ag-page .ag-market-flags span { display: inline-flex; align-items: center; }
.ag-page .ag-market-flags em { font-style: normal; color: var(--ag-text); }
.ag-page .ag-flag-sm { display: block; width: 30px; height: 21px; margin-right: 8px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(var(--gw-navy-rgb), .12); }
@media (max-width: 640px) {
    .ag-page .ag-market-card h3 { font-size: 38px; }
    .ag-page .ag-market-flags { flex-wrap: wrap; gap: 12px 18px; }
}
.ag-page .ag-market-card h3 { font-size: 38px; white-space: nowrap; }
@media (max-width: 640px) { .ag-page .ag-market-card h3 { font-size: 26px; white-space: normal; } }

/* Partner markets: kicker above the dark card; flags in one centred line under the whole section. */
.ag-page .ag-market-kicker { margin-bottom: 14px; }
.ag-page .ag-market-col { gap: 0; }
.ag-page .ag-market-flags-wrap { margin-top: 38px; }
.ag-page .ag-market-flags-wrap .ag-market-flags { justify-content: center; gap: 14px 40px; padding-left: 0; font-size: 17px; }
.ag-page .ag-market-flags-wrap .ag-flag-sm { width: 38px; height: 26px; margin-right: 10px; }
@media (max-width: 760px) { .ag-page .ag-market-flags-wrap .ag-market-flags { flex-wrap: wrap; gap: 14px 24px; } }

/* ===== Partner markets (international), redesigned: intro on top, one dark panel with the flag strip ===== */
.ag-page .ag-mk-head .ag-sub { max-width: 640px; }
.ag-page .ag-mk-panel { position: relative; overflow: hidden; border-radius: 28px; padding: 32px 40px 30px; background: var(--ag-navy); color: #fff; }
.ag-page .ag-mk-panel::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(var(--gw-gold-rgb), .4) 1px, transparent 1px); background-size: 18px 18px; opacity: .12; pointer-events: none; }
.ag-page .ag-mk-panel > * { position: relative; }
.ag-page .ag-mk-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; padding-bottom: 22px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.ag-page .ag-mk-top .ag-kicker { margin: 0; color: var(--ag-cyan); }
.ag-page .ag-mk-top h3 { margin: 0; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.1; letter-spacing: -.03em; background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #fff; }
.ag-page .ag-mk-top h3 .ag-accent { color: var(--ag-cyan); }
.ag-page .ag-mk-list { list-style: none; margin: 0; padding: 28px 0 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.ag-page .ag-mk-list li { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 2px 10px; border-left: 1px solid rgba(255, 255, 255, .12); color: #fff; font-family: var(--gw-font); font-weight: 500; font-size: 17px; text-align: center; }
.ag-page .ag-mk-list li:first-child { border-left: 0; }
.ag-page .ag-mk-list img { display: block; width: 60px; height: 41px; border-radius: 6px; object-fit: cover; box-shadow: 0 8px 20px rgba(0, 0, 0, .35); }
@media (max-width: 760px) {
    .ag-page .ag-mk-panel { padding: 24px 20px; }
    .ag-page .ag-mk-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 0; }
    .ag-page .ag-mk-list li:nth-child(4) { border-left: 0; }
    .ag-page .ag-mk-list li { font-size: 15px; }
}

/* ===== Partner markets (international), v3: text left, one borderless dark card with round flags ===== */
.ag-page #markets.ag-section { padding: 60px 0; }
.ag-page .ag-mx { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.ag-page .ag-mx-copy .ag-sub { max-width: 520px; }
.ag-page .ag-mx-card { position: relative; overflow: hidden; padding: 30px 34px 32px; border-radius: 26px; color: #fff; background: radial-gradient(120% 90% at 100% 0%, rgba(var(--gw-gold-rgb), .22), rgba(var(--gw-gold-rgb), 0) 55%), var(--ag-navy); box-shadow: 0 24px 60px rgba(17, 28, 44, .18); }
.ag-page .ag-mx-kicker { font-family: var(--gw-font); font-weight: 700; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ag-cyan); }
.ag-page .ag-mx-card h3 { margin: 8px 0 24px; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; letter-spacing: -.03em; background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #fff; }
.ag-page .ag-mx-card h3 span { color: var(--ag-cyan); }
.ag-page .ag-mx-flags { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 12px; }
.ag-page .ag-mx-flags li { display: flex; flex-direction: column; align-items: center; gap: 9px; color: rgba(255, 255, 255, .92); font-family: var(--gw-font); font-weight: 500; font-size: 15px; text-align: center; }
.ag-page .ag-mx-flags img { display: block; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 8px 18px rgba(0, 0, 0, .35); }
@media (max-width: 900px) { .ag-page .ag-mx { grid-template-columns: 1fr; gap: 30px; } .ag-page #markets.ag-section { padding: 44px 0; } }
@media (max-width: 520px) { .ag-page .ag-mx-card { padding: 24px 20px; } .ag-page .ag-mx-flags img { width: 48px; height: 48px; } }
/* v3b: flags are shown whole (not cropped into circles); UK replaces "and more". */
.ag-page .ag-mx-flags .ag-mx-flag { display: flex; align-items: center; justify-content: center; height: 48px; }
.ag-page .ag-mx-flags img { width: auto; height: 44px; max-width: 76px; border-radius: 0; object-fit: contain; box-shadow: none; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); }
@media (max-width: 520px) { .ag-page .ag-mx-flags .ag-mx-flag { height: 40px; } .ag-page .ag-mx-flags img { height: 36px; } }
/* "and more" is plain text with a small plus, not a flag-like picture. */
.ag-page .ag-mx-more .ag-mx-flag b { font-family: var(--gw-font); font-weight: 500; font-size: 34px; line-height: 1; color: var(--ag-cyan); }
.ag-page .ag-mx-more > span:last-child { color: var(--ag-cyan); }
/* "and more" is not a link: same plain white text as the country names, no icon, no accent colour. */
.ag-page .ag-mx-more .ag-mx-flag b { display: none; }
.ag-page .ag-mx-more > span:last-child { color: rgba(255, 255, 255, .92); font-style: normal; }
/* "+" icon in the flag slot of "and many more": white, same tone as the names. */
.ag-page .ag-mx-more .ag-mx-flag b { display: block; font-family: var(--gw-font); font-weight: 500; font-size: 40px; line-height: 1; color: rgba(255, 255, 255, .92); }

/* Workflow steps: no border, theme navy-blue gradient with light text. */
.ag-page .ag-step { border: 0; background: linear-gradient(155deg, var(--ag-navy-2) 0%, var(--ag-navy) 100%); box-shadow: 0 18px 40px rgba(17, 28, 44, .16); }
.ag-page .ag-step .ag-step-num { color: var(--ag-cyan); }
.ag-page .ag-step .ag-step-glyph { color: var(--ag-cyan); }
.ag-page .ag-step h3 { color: #fff; }
.ag-page .ag-step p { color: rgba(255, 255, 255, .82); }
.ag-page .ag-step:nth-child(2) { background: linear-gradient(155deg, var(--ag-navy-2) 0%, var(--ag-navy) 100%); border: 0; }

/* Workflow steps v2: only a soft navy-blue gradient on a white card, no border, dark text. */
.ag-page .ag-step,
.ag-page .ag-step:nth-child(2) { border: 0; background: linear-gradient(160deg, rgba(var(--gw-navy-rgb), .13), var(--ag-white) 72%); box-shadow: 0 14px 34px rgba(var(--gw-navy-rgb), .08); }
.ag-page .ag-step .ag-step-num { color: var(--ag-teal-text); }
.ag-page .ag-step .ag-step-glyph { color: var(--ag-cyan-dark); }
.ag-page .ag-step h3 { color: var(--ag-ink-strong); }
.ag-page .ag-step p { color: var(--ag-text); }

/* Workflow steps v3: a visible navy-blue gradient (blue hue, not grey), white at the far corner. */
.ag-page .ag-step,
.ag-page .ag-step:nth-child(2) { background: linear-gradient(160deg, rgba(var(--gw-navy-light-rgb), .30) 0%, rgba(var(--gw-navy-light-rgb), .10) 55%, #fff 100%); box-shadow: 0 14px 34px rgba(var(--gw-navy-light-rgb), .12); }

/* ===== Workflow steps (international), redesigned as a connected journey ===== */
.ag-page .ag-journey { counter-reset: agstep; gap: 22px; margin-top: 38px; }
.ag-page .ag-step,
.ag-page .ag-step:nth-child(2) {
    counter-increment: agstep;
    position: relative;
    overflow: visible;
    min-height: 0;
    padding: 28px 26px 26px;
    border: 0;
    border-radius: 22px;
    background: linear-gradient(90deg, var(--gw-navy-light), var(--gw-gold)) top / 100% 4px no-repeat, linear-gradient(180deg, #ffffff 0%, #f1f5fc 100%);
    box-shadow: 0 18px 42px rgba(var(--gw-navy-light-rgb), .13);
    transition: transform .25s, box-shadow .25s;
}
.ag-page .ag-step:hover { transform: translateY(-6px); box-shadow: 0 26px 54px rgba(var(--gw-navy-light-rgb), .2); }
/* big faint step number */
.ag-page .ag-step::before {
    content: counter(agstep, decimal-leading-zero);
    position: absolute; right: 22px; top: 16px;
    font-family: var(--gw-font); font-weight: 700; font-size: 64px; line-height: 1; letter-spacing: -.04em;
    color: rgba(var(--gw-navy-light-rgb), .09); pointer-events: none;
}
/* arrow between steps */
.ag-page .ag-step:not(:last-child)::after {
    content: "\203A";
    position: absolute; right: -25px; top: 50%; z-index: 2;
    display: grid; place-items: center; width: 28px; height: 28px; margin-top: -14px;
    border-radius: 50%; background: #fff; color: var(--gw-navy-light); font-size: 20px; line-height: 1;
    box-shadow: 0 6px 16px rgba(var(--gw-navy-light-rgb), .25);
}
.ag-page .ag-step .ag-step-num { color: var(--gw-navy-light); letter-spacing: .1em; }
.ag-page .ag-step .ag-step-glyph {
    display: grid; place-items: center; width: 50px; height: 50px; margin-top: 18px;
    border-radius: 15px; font-size: 24px; line-height: 1;
    background: linear-gradient(145deg, var(--gw-navy-light), var(--gw-navy)); color: var(--ag-cyan);
    box-shadow: 0 10px 22px rgba(var(--gw-navy-light-rgb), .3);
}
.ag-page .ag-step .ag-step-glyph .ag-svg { width: 24px; height: 24px; }
.ag-page .ag-step h3 { margin: 20px 0 8px; color: var(--ag-ink-strong); }
.ag-page .ag-step p { color: var(--ag-text); }
@media (max-width: 900px) { .ag-page .ag-step:not(:last-child)::after { display: none; } .ag-page .ag-journey { gap: 16px; } }

/* Workflow steps v5: no big numbers; all four cards filled with navy blue, light text. */
.ag-page .ag-step::before { content: none; }
.ag-page .ag-step,
.ag-page .ag-step:nth-child(2) { background: linear-gradient(155deg, var(--gw-navy-light) 0%, var(--gw-navy) 100%); box-shadow: 0 18px 42px rgba(var(--gw-navy-rgb), .28); }
.ag-page .ag-step:hover { box-shadow: 0 26px 54px rgba(var(--gw-navy-rgb), .38); }
.ag-page .ag-step .ag-step-num { color: var(--ag-cyan); }
.ag-page .ag-step .ag-step-glyph { background: rgba(255, 255, 255, .12); box-shadow: none; color: var(--ag-cyan); }
.ag-page .ag-step h3 { color: #fff; }
.ag-page .ag-step p { color: rgba(255, 255, 255, .82); }

/* Workflow steps v6: back to the white journey cards; only the icon badges (1-4) are navy-blue filled; no big numbers. */
.ag-page .ag-step::before { content: none; }
.ag-page .ag-step,
.ag-page .ag-step:nth-child(2) { background: linear-gradient(90deg, var(--gw-navy-light), var(--gw-gold)) top / 100% 4px no-repeat, linear-gradient(180deg, #ffffff 0%, #f1f5fc 100%); box-shadow: 0 18px 42px rgba(var(--gw-navy-light-rgb), .13); }
.ag-page .ag-step:hover { box-shadow: 0 26px 54px rgba(var(--gw-navy-light-rgb), .2); }
.ag-page .ag-step .ag-step-num { color: var(--gw-navy-light); }
.ag-page .ag-step .ag-step-glyph { background: linear-gradient(145deg, var(--gw-navy-light), var(--gw-navy)); box-shadow: 0 10px 22px rgba(var(--gw-navy-light-rgb), .3); color: var(--ag-cyan); }
.ag-page .ag-step h3 { color: var(--ag-ink-strong); }
.ag-page .ag-step p { color: var(--ag-text); }

/* Workflow steps v7: back to the original simple cards; only the "01 / PROFILE" labels are navy-blue filled pills. */
.ag-page .ag-journey { gap: 12px; }
.ag-page .ag-step,
.ag-page .ag-step:nth-child(2) { background: var(--ag-white); border: 0; border-radius: 19px; padding: 24px; min-height: 225px; overflow: hidden; box-shadow: 0 14px 34px rgba(var(--gw-navy-rgb), .08); }
.ag-page .ag-step:hover { transform: none; box-shadow: 0 14px 34px rgba(var(--gw-navy-rgb), .08); }
.ag-page .ag-step::before,
.ag-page .ag-step::after { content: none !important; display: none; }
.ag-page .ag-step .ag-step-num { display: inline-block; padding: 6px 12px; border-radius: 99px; background: var(--gw-navy-light); color: #fff; letter-spacing: .08em; }
.ag-page .ag-step .ag-step-glyph { display: block; width: auto; height: auto; margin-top: 14px; border-radius: 0; background: none; box-shadow: none; font-size: 30px; color: var(--ag-cyan-dark); }
.ag-page .ag-step h3 { margin: 18px 0 7px; color: var(--ag-ink-strong); }
.ag-page .ag-step p { color: var(--ag-text); }

/* Workflow steps v8: the journey design again; big numbers are 1-4 (no leading zero), solid navy blue. */
.ag-page .ag-journey { gap: 22px; }
.ag-page .ag-step,
.ag-page .ag-step:nth-child(2) {
    position: relative; overflow: visible; min-height: 0; padding: 28px 26px 26px; border: 0; border-radius: 22px;
    background: linear-gradient(90deg, var(--gw-navy-light), var(--gw-gold)) top / 100% 4px no-repeat, linear-gradient(180deg, #ffffff 0%, #f1f5fc 100%);
    box-shadow: 0 18px 42px rgba(var(--gw-navy-light-rgb), .13);
    transition: transform .25s, box-shadow .25s;
}
.ag-page .ag-step:hover { transform: translateY(-6px); box-shadow: 0 26px 54px rgba(var(--gw-navy-light-rgb), .2); }
.ag-page .ag-step::before {
    content: counter(agstep) !important; display: block !important;
    position: absolute; right: 24px; top: 14px;
    font-family: var(--gw-font); font-weight: 700; font-size: 64px; line-height: 1; letter-spacing: -.02em;
    color: var(--gw-navy-light); pointer-events: none;
}
.ag-page .ag-step:not(:last-child)::after {
    content: "\203A" !important; display: grid !important;
    position: absolute; right: -25px; top: 50%; z-index: 2; place-items: center; width: 28px; height: 28px; margin-top: -14px;
    border-radius: 50%; background: #fff; color: var(--gw-navy-light); font-size: 20px; line-height: 1; box-shadow: 0 6px 16px rgba(var(--gw-navy-light-rgb), .25);
}
.ag-page .ag-step .ag-step-num { display: block; padding: 0; border-radius: 0; background: none; color: var(--gw-navy-light); letter-spacing: .1em; }
.ag-page .ag-step .ag-step-glyph {
    display: grid; place-items: center; width: 50px; height: 50px; margin-top: 18px; border-radius: 15px; font-size: 24px; line-height: 1;
    background: linear-gradient(145deg, var(--gw-navy-light), var(--gw-navy)); color: var(--ag-cyan); box-shadow: 0 10px 22px rgba(var(--gw-navy-light-rgb), .3);
}
.ag-page .ag-step h3 { margin: 20px 0 8px; color: var(--ag-ink-strong); }
.ag-page .ag-step p { color: var(--ag-text); }
@media (max-width: 900px) { .ag-page .ag-step:not(:last-child)::after { display: none !important; } .ag-page .ag-journey { gap: 16px; } }
/* Workflow steps v9: no "01 /" prefix and no icon badges; the label sits straight above the heading. */
.ag-page .ag-step h3 { margin: 22px 0 8px; }
/* Workflow steps v10: more room between the label (PROFILE...) and the heading. */
.ag-page .ag-step h3 { margin-top: 46px; }
/* Workflow steps v11: each card is just the label and one sentence (no heading). */
.ag-page .ag-step .ag-step-text { margin: 40px 0 0; max-width: 85%; font-family: var(--gw-font); font-weight: 500; font-size: 19px; line-height: 1.4; letter-spacing: -.01em; color: var(--ag-ink-strong); }
/* Workflow steps v12: bigger label on top, smaller sentence below. */
.ag-page .ag-step .ag-step-num { font-size: 16px; letter-spacing: .12em; }
.ag-page .ag-step .ag-step-text { font-size: 16px; line-height: 1.5; margin-top: 34px; max-width: 88%; }
.ag-page .ag-step .ag-step-text { font-size: 17px; }

/* ===== Guaranteed Admit dashboard picture: clean, colourful, easier to read (both pages) ===== */
.ag-page .ag-crm-mock { transform: none; padding: 18px; border: 0; border-radius: 26px; box-shadow: 0 30px 70px rgba(var(--gw-navy-rgb), .14), 0 0 80px 8px rgba(var(--gw-gold-rgb), .22); }
.ag-page .ag-crm-top { padding: 4px 6px 16px; border-bottom: 0; }
.ag-page .ag-crm-brand { display: flex; align-items: center; gap: 10px; font-family: var(--gw-font); font-weight: 700; font-size: 14px; color: var(--ag-ink-strong); }
.ag-page .ag-crm-brand b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(145deg, var(--gw-navy-light), var(--gw-navy)); color: var(--ag-cyan); font-size: 16px; }
.ag-page .ag-crm-brand small { font-family: var(--gw-font); font-size: 12px; color: var(--ag-muted-2); }
.ag-page .ag-crm-pill { background: #e4fbe9; color: var(--gw-success); font-size: 11px; padding: 7px 12px; }
.ag-page .ag-crm-stats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 4px 16px; }
.ag-page .ag-crm-stat { position: relative; overflow: hidden; padding: 14px 14px 12px; border-radius: 14px; background: #f4f7fb; }
.ag-page .ag-crm-stat::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--c, var(--gw-navy-light)); }
.ag-page .ag-crm-stat strong { color: var(--c, var(--gw-navy-light)); font-size: 28px; }
.ag-page .ag-crm-stat small { font-size: 12px; color: var(--ag-ink); }
.ag-page .ag-crm-stat--blue { --c: #2f6df6; background: #eef3ff; }
.ag-page .ag-crm-stat--amber { --c: #e39a0f; background: #fff6e2; }
.ag-page .ag-crm-stat--green { --c: var(--gw-success); background: #e8f8ee; }
.ag-page .ag-crm-stat--purple { --c: #7c4dff; background: #f1ebff; }
.ag-page .ag-crm-table { margin: 0 4px 4px; border: 0; border-radius: 14px; background: #f8fafc; }
.ag-page .ag-crm-row { border-bottom: 1px solid #e8edf3; padding: 11px 14px; font-size: 13px; }
.ag-page .ag-crm-row strong { display: flex; align-items: center; gap: 10px; font-family: var(--gw-font); font-weight: 500; }
.ag-page .ag-crm-row.is-head { background: #eef2f7; font-size: 11px; letter-spacing: .08em; }
.ag-page .ag-av { display: grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; font-style: normal; font-family: var(--gw-font); font-weight: 700; font-size: 10px; color: #fff; background: #2f6df6; }
.ag-page .ag-av--amber { background: #e39a0f; } .ag-page .ag-av--green { background: var(--gw-success); } .ag-page .ag-av--purple { background: #7c4dff; } .ag-page .ag-av--teal { background: #0fb5a5; }
.ag-page .ag-crm-dest { display: flex; align-items: center; gap: 8px; }
.ag-page .ag-crm-dest img { display: block; width: 20px; height: 14px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(var(--gw-navy-rgb), .12); }
.ag-page .ag-status { padding: 5px 10px; font-size: 11px; }
.ag-page .ag-status--purple { background: #f1ebff; color: #6a3de0; }
@media (max-width: 520px) { .ag-page .ag-crm-stats--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ag-page .ag-crm-row { grid-template-columns: 1.3fr 1fr; } .ag-page .ag-crm-row > span:last-child { grid-column: 1 / -1; } .ag-page .ag-crm-row.is-head > span:last-child { display: none; } }

/* International CRM: more room between the dashboard and the text. */
.ag-page[data-ag-page="international"] #crm .ag-split { gap: 96px; }
.ag-page[data-ag-page="international"] #crm .ag-split > div:not(.ag-crm-mock) { padding-left: 0; }
@media (max-width: 900px) { .ag-page[data-ag-page="international"] #crm .ag-split { gap: 34px; } }

/* CRM section: much more room between the dashboard and the text (both pages). */
.ag-page #crm .ag-split { gap: 150px; }
.ag-page[data-ag-page="domestic"] #crm .ag-split { gap: 96px; }
@media (max-width: 1100px) { .ag-page #crm .ag-split, .ag-page[data-ag-page="domestic"] #crm .ag-split { gap: 56px; } }
@media (max-width: 900px) { .ag-page #crm .ag-split, .ag-page[data-ag-page="domestic"] #crm .ag-split { gap: 34px; } }
.ag-page[data-ag-page="international"] #crm .ag-split { gap: 150px; }
@media (max-width: 1100px) { .ag-page[data-ag-page="international"] #crm .ag-split { gap: 56px; } }
@media (max-width: 900px) { .ag-page[data-ag-page="international"] #crm .ag-split { gap: 34px; } }

/* ===== Services (international), redesigned in the site theme: 3x2 grid, navy icon badge, navy hover ===== */
.ag-page .ag-mini-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.ag-page .ag-mini,
.ag-page .ag-mini:nth-child(n),
.ag-page .ag-mini--accent {
    position: relative; flex-direction: row; align-items: center; justify-content: flex-start; gap: 18px;
    min-height: 0; padding: 22px 24px; border: 0; border-radius: 20px;
    background: #fff; box-shadow: 0 12px 30px rgba(var(--gw-navy-rgb), .08);
    transition: transform .25s, box-shadow .25s, background .25s;
}
.ag-page .ag-mini > span {
    display: grid; place-items: center; flex-shrink: 0; width: 54px; height: 54px; border-radius: 16px;
    background: linear-gradient(145deg, var(--gw-navy-light), var(--gw-navy)); color: var(--ag-cyan); font-size: 24px; line-height: 1;
    transition: background .25s, color .25s;
}
.ag-page .ag-mini h3 { margin: 0; font-size: 19px; line-height: 1.3; color: var(--ag-ink-strong); transition: color .25s; }
.ag-page .ag-mini:hover { transform: translateY(-5px); background: linear-gradient(145deg, var(--gw-navy-light), var(--gw-navy)); box-shadow: 0 22px 46px rgba(var(--gw-navy-rgb), .3); }
.ag-page .ag-mini:hover > span { background: var(--gw-gold-shine); color: var(--gw-navy); }
.ag-page .ag-mini:hover h3 { color: #fff; }
@media (max-width: 900px) { .ag-page .ag-mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ag-page .ag-mini-grid { grid-template-columns: 1fr; gap: 12px; } .ag-page .ag-mini { padding: 18px 20px; } }

/* ===== Services (international), v3: one soft panel, heading left, service pills right ===== */
.ag-page #services.ag-section { padding: 56px 0; }
.ag-page .ag-sv { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; padding: 50px 54px; border-radius: 32px; background: radial-gradient(90% 120% at 100% 0%, rgba(var(--gw-gold-rgb), .16), rgba(var(--gw-gold-rgb), 0) 60%), linear-gradient(135deg, rgba(var(--gw-navy-light-rgb), .09), rgba(var(--gw-navy-light-rgb), .02)); }
.ag-page .ag-sv-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.ag-page .ag-sv-pills li { display: inline-flex; align-items: center; gap: 12px; padding: 9px 22px 9px 9px; border-radius: 99px; background: #fff; box-shadow: 0 10px 26px rgba(var(--gw-navy-rgb), .09); font-family: var(--gw-font); font-weight: 500; font-size: 17px; color: var(--ag-ink-strong); transition: transform .22s, box-shadow .22s, background .22s, color .22s; }
.ag-page .ag-sv-pills i { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(145deg, var(--gw-navy-light), var(--gw-navy)); color: var(--ag-cyan); transition: background .22s, color .22s; }
.ag-page .ag-sv-pills li:hover { transform: translateY(-3px); background: var(--gw-gold-shine); box-shadow: 0 14px 34px rgba(var(--gw-gold-rgb), .4); }
.ag-page .ag-sv-pills li:hover i { background: var(--gw-navy); color: var(--ag-cyan); }
@media (max-width: 900px) { .ag-page .ag-sv { grid-template-columns: 1fr; gap: 28px; padding: 34px 26px; border-radius: 26px; } }
@media (max-width: 520px) { .ag-page .ag-sv { padding: 26px 18px; } .ag-page .ag-sv-pills li { font-size: 15px; padding-right: 16px; } }

/* Services v3b: clean light panel (no grey shading) and the six services in an even 2-column grid. */
.ag-page .ag-sv { background: linear-gradient(135deg, #eaf1ff 0%, #e4fbf8 100%); }
.ag-page .ag-sv-pills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ag-page .ag-sv-pills li { display: flex; width: 100%; justify-content: flex-start; border-radius: 99px; }
@media (max-width: 640px) { .ag-page .ag-sv-pills { grid-template-columns: 1fr; gap: 12px; } }

/* Commission guide: both cards always the same height, and the milestones spread evenly over the full height of the right card (no dead space). */
.ag-page .ag-comm-grid { align-items: stretch; }
.ag-page .ag-receipt,
.ag-page .ag-payout { min-height: 0; padding: 30px 32px; }
.ag-page .ag-receipt h3 { margin: 0 0 26px; }
.ag-page .ag-payout { display: flex; flex-direction: column; }
.ag-page .ag-payout .ag-rail { flex: 1; display: flex; flex-direction: column; margin: 26px 0 0; }
.ag-page .ag-payout .ag-stop { flex: 1 1 0; padding-bottom: 0; }
.ag-page .ag-payout .ag-stop:last-child { flex: 0 0 auto; }
.ag-page .ag-payout .ag-stop:not(:last-child)::before { top: 48px; bottom: 6px; }
.ag-page .ag-payout .ag-stop h3 { font-size: 20px; margin-top: 4px; }
.ag-page .ag-payout .ag-stop p { font-size: 15px; }
@media (max-width: 900px) { .ag-page .ag-payout .ag-stop { flex: 0 0 auto; padding-bottom: 26px; } .ag-page .ag-payout .ag-stop:last-child { padding-bottom: 0; } }

/* Commission guide v3: compact content in both cards, so the cards are short and the leftover space is tiny. */
.ag-page .ag-receipt,
.ag-page .ag-payout { padding: 24px 30px; }
.ag-page .ag-receipt h3 { margin: 0 0 14px; font-size: 30px; }
.ag-page .ag-receipt-row { margin: 12px 0 8px; }
.ag-page .ag-receipt-total { margin-top: 16px; padding-top: 14px; }
.ag-page .ag-receipt .ag-fine { margin: 12px 0 0; }
.ag-page .ag-payout .ag-rail { flex: 1; display: flex; flex-direction: column; justify-content: space-between; margin: 18px 0 0; }
.ag-page .ag-payout .ag-stop,
.ag-page .ag-payout .ag-stop:last-child { flex: 0 0 auto; padding-bottom: 0; }
.ag-page .ag-payout .ag-stop:not(:last-child)::before { top: 46px; bottom: -12px; }
.ag-page .ag-payout .ag-stop h3 { font-size: 19px; margin: 2px 0 4px; }
.ag-page .ag-payout .ag-stop p { font-size: 15px; line-height: 1.45; }
/* Commission guide v3b: heading on one line (left), real spacing between milestones (right) so both cards are short and level. */
.ag-page .ag-receipt h3 br { display: none; }
.ag-page .ag-receipt h3 .ag-accent { margin-left: .25em; }
.ag-page .ag-payout .ag-rail { gap: 30px; margin-top: 22px; }
.ag-page .ag-payout .ag-stop:not(:last-child)::before { bottom: -26px; }
.ag-page .ag-payout .ag-stop-num { width: 46px; height: 46px; }
.ag-page .ag-payout .ag-stop:not(:last-child)::before { left: 22px; top: 50px; }

/* ===== Mobile pass: tap targets, readable small text, narrow-phone layouts ===== */
@media (max-width: 900px) {
    /* text links that act as buttons get a proper tap area */
    .ag-page .ag-link { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; }
    .ag-page .ag-btn { min-height: 46px; }
    .ag-page .ag-btn--sm { min-height: 44px; }
}
@media (max-width: 600px) {
    /* smallest labels: never below 11-12px */
    .ag-page .ag-panel-top, .ag-page .ag-panel-top span,
    .ag-page .ag-total > span:first-child, .ag-page .ag-form-speed,
    .ag-page .ag-ty-next-head, .ag-page .ag-ty-next-badge, .ag-page .ag-crm-row.is-head,
    .ag-page .ag-receipt-total span, .ag-page .ag-choices-label { font-size: 11.5px; }
    .ag-page .ag-ty-ga-copy small, .ag-page .ag-choice-copy small { font-size: 11px; }
    .ag-page .ag-form .ag-field small { font-size: 11.5px; }
}
@media (max-width: 480px) {
    /* workflow steps: one column on small phones so nothing is squeezed or cut */
    .ag-page .ag-journey { grid-template-columns: 1fr; }
    .ag-page .ag-step { min-height: 0; }
    .ag-page .ag-step .ag-step-text { max-width: 100%; margin-top: 26px; }
    .ag-page .ag-step::before { font-size: 52px; right: 20px; top: 12px; }
}
@media (max-width: 360px) {
    .ag-page .ag-mx-flags { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ag-page .ag-sv-pills li { font-size: 14px; }
    .ag-page .ag-container { padding-left: 14px; padding-right: 14px; }
}
/* Dashboard picture on phones: the LIVE VIEW pill never wraps. */
.ag-page .ag-crm-pill { white-space: nowrap; flex-shrink: 0; }
.ag-page .ag-crm-brand > span { min-width: 0; }

/* ===== Sheet round: bigger aqua kickers, social hover glow ===== */
.ag-page .ag-kicker { font-size: 13px; letter-spacing: .15em; }
.ag-page .ag-mx-kicker { font-size: 13px; }
@media (max-width: 520px) { .ag-page .ag-kicker, .ag-page .ag-mx-kicker { font-size: 12px; } }
.ag-page .ag-social-card { transition: transform .25s, box-shadow .3s; }
.ag-page .ag-social--ig:hover { box-shadow: 0 22px 56px rgba(214, 82, 140, .55), 0 0 40px rgba(245, 169, 107, .45); }
.ag-page .ag-social--fb:hover { box-shadow: 0 22px 56px rgba(39, 117, 189, .55), 0 0 40px rgba(var(--gw-navy-light-rgb), .45); }
.ag-page .ag-social--in:hover { box-shadow: 0 22px 56px rgba(23, 106, 147, .55), 0 0 40px rgba(24, 54, 77, .45); }

/* Aqua/teal label texts: 3px bigger (kickers, payout label, "One team. Every step."). */
.ag-page .ag-kicker { font-size: 16px; letter-spacing: .13em; }
.ag-page .ag-mx-kicker { font-size: 16px; }
.ag-page .ag-payout-head > span:first-child { font-size: 13px; }
.ag-page .ag-support-top > span:first-child { font-size: 17px; }
@media (max-width: 520px) { .ag-page .ag-kicker, .ag-page .ag-mx-kicker { font-size: 14px; letter-spacing: .1em; } .ag-page .ag-payout-head > span:first-child { font-size: 12px; } }

/* ===== Brand: the accent word is Fraunces Italic (one word / short phrase per headline) ===== */
.ag-page .ag-accent { font-family: var(--gw-font-accent); font-style: var(--gw-accent-style); font-weight: 600; color: var(--gw-gold-dark); -webkit-text-fill-color: currentColor; background: none; }
.ag-page .ag-card--feature .ag-accent,
.ag-page .ag-receipt .ag-accent,
.ag-page .ag-mapstrip .ag-accent,
.ag-page .ag-market-card .ag-accent,
.ag-page .ag-mk-top h3 .ag-accent { color: var(--gw-gold); }
/* "100 students" is a number: it stays Poppins bold, never the accent font. */
.ag-page .ag-final h2 .ag-accent { font-family: var(--gw-font); font-style: normal; font-weight: 700; color: inherit; }
.ag-page .ag-mx-card h3 span { font-family: var(--gw-font-accent); font-style: var(--gw-accent-style); font-weight: 600; }

/* Popup success panel (replaces the redirect to the thank-you page for popup forms). */
.ag-page .ag-modal-done { text-align: center; padding: 18px 6px 8px; }
.ag-page .ag-modal-done[hidden] { display: none; }
.ag-page .ag-modal-done-check { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--gw-navy); color: var(--gw-gold); font-size: 30px; font-weight: 700; box-shadow: 0 0 0 6px rgba(var(--gw-gold-rgb), .35); }
.ag-page .ag-modal-done h2 { margin: 0 0 8px; font-size: 26px; line-height: 1.2; color: var(--gw-navy); background: none; -webkit-text-fill-color: currentColor; }
.ag-page .ag-modal-done p { margin: 0 auto 16px; max-width: 360px; color: var(--ag-text); }
.ag-page .ag-modal-done-tel { display: inline-block; margin-bottom: 18px; padding: 12px 20px; border-radius: 99px; background: var(--ag-ice, var(--gw-ice)); color: var(--gw-navy); font-size: 20px; font-weight: 700; text-decoration: none; }
.ag-page .ag-modal-done .ag-btn { min-width: 160px; }

/* ===== Home page: "Partner with us" section ===== */
.ag-page.ag-embed { background: transparent; }
.ag-hpart { position: relative; overflow: hidden; padding: 84px 0; background: linear-gradient(180deg, var(--gw-ice) 0%, #fff 100%); }
.ag-hpart::before { content: ""; position: absolute; right: -140px; top: -120px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--gw-gold-rgb), .22), rgba(var(--gw-gold-rgb), 0) 68%); pointer-events: none; }
.ag-hpart-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, 1.05fr); gap: 56px; align-items: center; }
.ag-hpart-copy .ag-title { margin: 8px 0 14px; }
.ag-hpart-copy .ag-sub { max-width: 520px; margin: 0 0 22px; }
.ag-hpart-points { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
.ag-hpart-points li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: #fff; box-shadow: 0 10px 26px rgba(var(--gw-navy-rgb), .07); }
.ag-hpart-points li > span { display: grid; place-items: center; flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; background: var(--gw-navy); color: var(--gw-gold); }
.ag-hpart-points li > span .ag-svg { width: 22px; height: 22px; }
.ag-hpart-points strong { display: block; font-weight: 600; font-size: 17px; color: var(--gw-navy); }
.ag-hpart-points small { display: block; margin-top: 2px; font-size: 14px; color: var(--ag-text); }
.ag-hpart-card { margin: 0; }
.ag-hpart-done { text-align: center; padding: 46px 18px 40px; }
.ag-hpart-done[hidden] { display: none; }
.ag-hpart-done-check { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: var(--gw-navy); color: var(--gw-gold); font-size: 34px; font-weight: 700; box-shadow: 0 0 0 7px rgba(var(--gw-gold-rgb), .35); }
.ag-hpart-done h3 { margin: 0 0 8px; font-size: 26px; color: var(--gw-navy); background: none; -webkit-text-fill-color: currentColor; }
.ag-hpart-done p { margin: 0 auto; max-width: 340px; color: var(--ag-text); }
@media (max-width: 900px) {
    .ag-hpart { padding: 56px 0; }
    .ag-hpart-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
}

/* Home "Partner with us": plain heading + a one-line sub heading. */
.ag-hpart-copy .ag-title { margin: 0 0 8px; }
.ag-hpart-lead { margin: 0 0 12px; font-size: 20px; line-height: 1.4; font-weight: 600; color: var(--gw-gold-dark); }

/* Headings are solid navy (no grey gradient shading) and kept to one or two lines. */
.ag-page .ag-title { background: none; -webkit-text-fill-color: currentColor; color: var(--gw-navy); }
.ag-page .ag-sv { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.ag-page .ag-sv-copy .ag-title { font-size: clamp(30px, 3vw, 40px); }

/* Thank-you heading: descenders (g, y) are never cut: more line height + room below. */
.ag-page .ag-ty-title { line-height: 1.2; padding-bottom: .12em; font-size: clamp(40px, 4.8vw, 66px); }
.ag-page .ag-ty-title [data-ag-firstname] { display: inline-block; padding-bottom: .1em; }
/* Market chips ("Beyond borders"): gold border. */
.ag-page .ag-chips span { border: 1.5px solid var(--gw-gold); }

/* ===== Review points 84-95 ===== */
/* "Up to" is small and sits on the same baseline as the amount (it was inheriting the big size). */
.ag-page .ag-total strong .ag-upto,
.ag-page .ag-receipt-total strong .ag-upto { font-size: .38em; font-weight: 500; letter-spacing: 0; vertical-align: baseline; margin-right: .3em; opacity: .9; }
/* 84: all three "How would you like to start" icons use the same gold tile. */
.ag-page .ag-choice-symbol,
.ag-page .ag-choice--primary .ag-choice-symbol { background-color: rgba(var(--gw-gold-rgb), .18); color: var(--gw-gold-dark); }
/* 95: bottom strip text is gold, not aqua. */
.ag-page .ag-strip strong { color: var(--gw-gold); }
/* Top line (eyebrow) of every page: bigger. */
.ag-page .ag-eyebrow { font-size: 15px; letter-spacing: .14em; }

/* 85: International hero form looks different from the India one: navy header band, gold top edge, outlined fields. */
.ag-page[data-ag-page="international"] #apply.ag-form-card { padding: 0 24px 24px; border-radius: 22px; border-top: 6px solid var(--gw-gold); overflow: hidden; box-shadow: 0 24px 60px rgba(var(--gw-navy-rgb), .18); }
.ag-page[data-ag-page="international"] #apply .ag-form-top { margin: 0 -24px 18px; padding: 16px 24px; background: linear-gradient(118deg, var(--gw-navy), var(--gw-navy-light)); }
.ag-page[data-ag-page="international"] #apply .ag-form-top .ag-form-title { color: #fff; }
.ag-page[data-ag-page="international"] #apply .ag-form-top .ag-form-spark { background: rgba(var(--gw-gold-rgb), .22); color: var(--gw-gold); }
.ag-page[data-ag-page="international"] #apply .ag-form-top .ag-form-speed { background: rgba(var(--gw-gold-rgb), .22); color: var(--gw-gold); }
.ag-page[data-ag-page="international"] #apply .ag-form .ag-field > span:first-child { font-size: 13px; font-weight: 700; color: var(--gw-navy); }
.ag-page[data-ag-page="international"] #apply .ag-form input:not([type=checkbox]),
.ag-page[data-ag-page="international"] #apply .ag-form select { background-color: #fff; border: 1.5px solid rgba(var(--gw-navy-rgb), .22); border-radius: 10px; }
