/* Public: login / home — ads-global 00/01. Font self-host (adhub-fonts.css). */

/* Public: login / home / docs — bám 00, 01, 02, 03 */
:root {
  --p-teal: #143a42;
  --p-teal-deep: #0d2c32;
  --p-gold: #c9a227;
  --p-gold-2: #d4b03a;
  --p-muted: #6b7b82;
  --p-line: #e4eaed;
  --p-wash: #f4f6f7;
  --p-font: "Be Vietnam Pro", "Noto Sans", "Noto Sans Lao", system-ui, sans-serif;
  /* Cùng stack cho display: Be Vietnam Pro đủ dấu Việt ở mọi weight. */
  --p-serif: "Be Vietnam Pro", "Noto Sans", "Noto Sans Lao", system-ui, sans-serif;
  --st-paper: #f4efe6;
  --st-paper-2: #ebe4d6;
  --st-deep: #0c2429;
  --st-line: rgba(20, 58, 66, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body.ag-public {
  font-family: var(--p-font);
  color: var(--p-teal);
  background: #fff;
  min-height: 100%;
  font-synthesis: none;
}
a { color: var(--p-teal); text-decoration: none; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--p-gold); outline-offset: 2px; }

.ag-langdd summary { list-style: none; }
.ag-langdd summary::-webkit-details-marker { display: none; }
.ag-langdd[open] .ag-langdd__menu { display: grid; }
.ag-langdd__menu .ag-lang-form { margin: 0; }
.ag-langdd__menu .ag-lang-form button { width: 100%; }

.ag-alert {
  border-radius: 10px; padding: 10px 12px; margin: 0 0 14px;
  font-size: 0.88rem;
}
.ag-alert--error, .ag-alert--danger { background: #fdecea; color: #9b1c1c; }
.ag-alert--warning { background: #f8efd8; color: #9a5a12; }
.ag-alert--success { background: #e8f6ee; color: #1a6b48; }

.ag-google {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; border: 1px solid var(--p-line); background: #fff;
  border-radius: 10px; padding: 12px; font-weight: 650; color: var(--p-teal);
}
.ag-google img { width: 18px; height: 18px; }
.ag-field__err { color: #b42318; font-size: 0.78rem; margin: 0 0 8px; }

.ag-stories {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 32px;
  max-width: 1200px; margin: 0 auto; padding: 8px 40px 48px; align-items: start;
}
.ag-stories__kicker { color: var(--p-gold); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 0.72rem; margin: 0 0 8px; }
.ag-stories__intro, .ag-stories__empty { color: var(--p-muted); }
.ag-stories__grid { display: grid; gap: 12px; }
.ag-story {
  display: grid; grid-template-columns: 112px 1fr; gap: 12px;
  background: #fff; border: 1px solid var(--p-line); border-radius: 14px; overflow: hidden;
  min-width: 0;
}
.ag-story img {
  width: 112px; height: 88px; object-fit: cover; display: block;
}
.ag-story h3 { margin: 10px 12px 4px; font-size: 0.95rem; }
.ag-story p {
  margin: 0 12px 12px; color: var(--p-muted); font-size: 0.82rem;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.ag-mini img {
  width: 100%; height: calc(100% - 28px); object-fit: cover; display: block;
}

.ag-wordmark {
  display: inline-flex; align-items: center; gap: 0;
  color: var(--p-teal); font-weight: 800; font-size: 1.28rem;
  letter-spacing: -0.03em; text-transform: none; text-decoration: none;
  line-height: 1;
}
.ag-wordmark:hover { color: var(--p-teal); }
.ag-wordmark .ah-logo-ad { color: inherit; }
.ag-wordmark .ah-logo-hub {
  display: inline-flex; align-items: center;
  margin-left: 0.16em;
  padding: 0.18em 0.5em 0.2em;
  border-radius: 999px;
  background: var(--p-gold);
  color: #fff !important;
  font-size: 0.84em;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.ag-docs__side .ag-wordmark { color: #fff; }
.ag-docs__side .ag-wordmark .ah-logo-hub { background: var(--p-gold); color: #fff !important; }
.ag-mark-live { display: none; }

.ag-langdd { position: relative; }
.ag-langdd__btn {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--p-line); background: #fff;
  border-radius: 10px; padding: 7px 10px;
  cursor: pointer; color: var(--p-teal); font-weight: 700; font-size: 0.8rem;
}
.ag-langdd__menu {
  display: none; position: absolute; right: 0; top: calc(100% + 6px);
  min-width: 180px; background: #fff; border: 1px solid var(--p-line);
  border-radius: 12px; padding: 6px; z-index: 40;
  box-shadow: 0 16px 40px rgba(20,58,66,.12);
}
.ag-langdd.is-open .ag-langdd__menu { display: grid; }
.ag-langdd__menu button {
  border: 0; background: none; text-align: left; padding: 8px 10px;
  border-radius: 8px; cursor: pointer; color: var(--p-teal);
}
.ag-langdd__menu button:hover, .ag-langdd__menu button.is-on { background: #f6edd3; }

.ag-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 10px; border: 1px solid transparent;
  padding: 10px 16px; font-weight: 700; font-size: 0.9rem; cursor: pointer;
}
.ag-btn--gold {
  background: linear-gradient(180deg, var(--p-gold-2), var(--p-gold));
  color: #fff;
  box-shadow: 0 8px 18px rgba(201,162,39,.28);
}
.ag-btn--ghost { background: #fff; border-color: var(--p-line); color: var(--p-teal); }
.ag-btn--block { width: 100%; }

/* LOGIN 00 */
.ag-auth {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.ag-auth__form {
  position: relative;
  padding: 28px 56px 40px;
  display: flex; flex-direction: column; justify-content: center;
  max-width: 560px; width: 100%; margin: 0 auto;
}
.ag-auth__corner { position: absolute; top: 24px; right: 28px; }
.ag-auth__form h1 {
  font-family: var(--p-serif);
  font-size: 2.4rem; font-weight: 700; margin: 36px 0 8px;
  letter-spacing: -0.03em;
}
.ag-auth__form .ag-lead { color: var(--p-muted); margin: 0 0 28px; }
.ag-google {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; border: 1px solid var(--p-line); background: #fff;
  border-radius: 10px; padding: 12px; font-weight: 650; color: var(--p-teal);
}
.ag-or {
  text-align: center; color: var(--p-muted); font-size: 0.8rem; margin: 18px 0;
  position: relative;
}
.ag-or::before, .ag-or::after {
  content: ""; position: absolute; top: 50%; width: 42%; height: 1px; background: var(--p-line);
}
.ag-or::before { left: 0; } .ag-or::after { right: 0; }
.ag-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.ag-field span { font-size: 0.8rem; font-weight: 600; color: var(--p-muted); }
.ag-field input {
  border: 0; border-radius: 10px; padding: 12px 14px; background: var(--p-wash);
}
.ag-check { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--p-muted); margin: 6px 0 16px; }
.ag-auth__links { text-align: center; margin-top: 18px; color: var(--p-teal); font-weight: 600; }
.ag-auth__visual {
  position: relative; overflow: hidden; min-height: 100%;
  background: #e8eef0;
}
.ag-auth__photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  filter: saturate(0.85) contrast(0.95);
}
.ag-auth__fade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.55), transparent 28%, transparent 70%, rgba(255,255,255,.15));
}
.ag-auth__copy {
  position: relative; z-index: 1; padding: 48px 44px;
  max-width: 54%;
}
.ag-auth__copy small {
  color: var(--p-gold); font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; font-size: 0.75rem;
}
.ag-auth__copy h2 {
  font-family: var(--p-serif);
  font-size: clamp(1.8rem, 3.4vw, 3.2rem);
  line-height: 1.12; margin: 12px 0 0; max-width: none;
  color: var(--p-teal);
}

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

/* HOME 01 */
.ag-site {
  background: #f3eee4;
  min-height: 100vh;
}
.ag-site__nav {
  background: rgba(243,238,228,.88);
  border-bottom: 1px solid rgba(20,58,66,.12);
}
.ag-site__links a.is-on { color: var(--p-teal); font-weight: 800; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* Editorial 2026 (phương án B) */
.ag-ed-hero {
  max-width: 1120px; margin: 0 auto; padding: 56px 40px 12px;
}
.ag-ed-hero h1 {
  font-family: var(--p-serif); font-weight: 500;
  font-size: clamp(2.6rem, 6.4vw, 5.2rem);
  letter-spacing: -.045em; line-height: 1.04;
  max-width: 14ch; margin: 8px 0 16px;
}
.ag-ed-hero .ag-lead {
  font-size: 1.18rem; max-width: 38ch; color: #4a5d63; margin: 0 0 22px;
}
.ag-ed-issue {
  display: grid; grid-template-columns: 1.65fr 1fr; gap: 22px;
  max-width: 1120px; margin: 28px auto 8px; padding: 0 40px 40px;
  align-items: stretch;
}
.ag-ed-cover {
  min-height: 340px; padding: 28px;
  background: var(--p-teal);
  color: #f3eee4;
  display: flex; flex-direction: column; justify-content: flex-end;
  background-image:
    linear-gradient(180deg, transparent 12%, rgba(7,9,10,.5)),
    radial-gradient(520px 280px at 82% 12%, rgba(201,162,39,.38), transparent);
}
.ag-ed-cover small {
  color: var(--p-gold-2); letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; font-size: .7rem;
}
.ag-ed-cover h2 {
  font-family: var(--p-serif); font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 10px 0 8px; letter-spacing: -.03em;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,.45);
}
.ag-ed-cover p { margin: 0; color: rgba(255,255,255,.88); max-width: 46ch; }
.ag-ed-rail { display: flex; flex-direction: column; }
.ag-ed-rail a, .ag-ed-item {
  display: block; border-top: 1px solid rgba(20,58,66,.14); padding: 14px 0 10px; color: var(--p-teal);
}
.ag-ed-rail time, .ag-ed-item time {
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--p-muted);
}
.ag-ed-rail h3, .ag-ed-item h3 { margin: 6px 0 0; font-size: 1.05rem; font-weight: 700; }
.ag-ed-item p { margin: 6px 0 0; color: #4a5d63; font-size: .9rem; }
.ag-ed-rail--wide { margin-top: 8px; }
.ag-ed-ops { max-width: 1120px; margin: 0 auto; padding: 8px 40px 48px; }
.ag-ed-ops__grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; margin-top: 12px;
}
.ag-ed-ops__grid a {
  display: block; padding: 18px 16px 16px;
  border: 1px solid rgba(20,58,66,.12); background: rgba(255,255,255,.35);
}
.ag-ed-ops__grid h3 { margin: 0 0 6px; font-size: 1.02rem; }
.ag-ed-ops__grid p { margin: 0; color: #4a5d63; font-size: .9rem; }
.ag-ed-note { color: #4a5d63; max-width: 46ch; margin: 22px 0 0; }
.ag-ed-cash {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; margin: 0 0 22px;
}
.ag-ed-cash article {
  border: 1px solid rgba(20,58,66,.12); background: rgba(255,255,255,.4); padding: 18px;
}
.ag-ed-cash strong { display: block; font-size: 1.4rem; letter-spacing: -.03em; margin-bottom: 6px; }
.ag-ed-cash span { color: var(--p-muted); font-size: .88rem; }
.ag-leadx__form { background: rgba(255,255,255,.55); }
.ag-sitefoot { background: transparent; border-top-color: rgba(20,58,66,.12); }

.ag-ed-page { max-width: none; margin: 0 auto; padding: 40px max(28px, calc(50vw - 680px)) 72px; }
.ag-ed-page .ag-ed-issue {
  padding-left: 0; padding-right: 0; max-width: none; margin-left: 0; margin-right: 0;
}
.ag-ed-mast {
  display: grid; gap: 20px; padding-bottom: 28px; margin-bottom: 12px;
  border-bottom: 1px solid rgba(20,58,66,.16);
}
@media (min-width: 900px) {
  .ag-ed-mast { grid-template-columns: 1fr 340px; align-items: end; }
}
.ag-ed-mast h1 {
  font-family: var(--p-serif); font-weight: 500;
  font-size: clamp(2.2rem, 4vw, 3.4rem); letter-spacing: -.03em; margin: 6px 0 10px;
  color: var(--p-teal);
}
.ag-ed-mast .ag-lead { color: #2a4248; font-size: 1.05rem; max-width: 52ch; }
.ag-ed-search { display: flex; gap: 8px; position: relative; }
.ag-ed-search__input {
  flex: 1; border: 1px solid rgba(20,58,66,.16); background: #fff;
  border-radius: 12px; padding: 12px 14px;
}
.ag-ed-suggest {
  position: absolute; left: 0; right: 88px; top: calc(100% + 4px);
  background: #fff; border: 1px solid rgba(20,58,66,.14); z-index: 30;
}
.ag-ed-suggest a { display: block; padding: 10px 12px; font-weight: 600; }
.ag-ed-suggest a:hover, .ag-ed-suggest__more { background: #f3eee4; }
.ag-ed-sort { display: flex; gap: 16px; margin: 0 0 18px; font-weight: 700; color: var(--p-muted); }
.ag-ed-sort a.is-on { color: var(--p-teal); box-shadow: inset 0 -2px 0 var(--p-gold); }
.ag-ed-query { font-family: var(--p-serif); font-size: 1.4rem; margin: 8px 0 16px; }
.ag-ed-empty { color: var(--p-muted); }
.ag-ed-pager { display: flex; gap: 14px; align-items: center; margin: 22px 0; font-weight: 700; }
.ag-ed-back { font-weight: 700; }
.ag-ed-block { margin-top: 44px; }
.ag-ed-block__h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.ag-ed-block__h h2 {
  font-family: var(--p-serif); font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 600; letter-spacing: -.02em; margin: 0;
}
.ag-ed-block__h a { font-weight: 700; color: var(--p-gold); font-size: .88rem; }

.ag-ed-story { max-width: 680px; margin: 0 auto; padding: 48px 20px 80px; }
.ag-ed-story h1 {
  font-family: var(--p-serif); font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.03em; margin: 8px 0 10px;
}
.ag-ed-meta { color: var(--p-muted); font-size: .88rem; margin: 0 0 22px; }
.ag-ed-story__cover { margin: 0 0 28px; }
.ag-ed-story__cover img { width: 100%; height: auto; display: block; }
.ag-ed-story__body { color: #3d5158; line-height: 1.7; font-size: 1.05rem; }
.ag-ed-story__body p { margin: 0 0 1em; }
.ag-ed-story__body h2 {
  font-family: var(--p-serif); font-weight: 500;
  font-size: 1.45rem; margin: 1.4em 0 .5em; color: var(--p-teal);
}
.ag-ed-story__body ul, .ag-ed-story__body ol { margin: 0 0 1.1em; padding-left: 1.2em; }
.ag-ed-story__body li { margin: 0 0 .35em; }
.ag-ed-story__body a { color: var(--p-teal); font-weight: 650; }
.ag-ed-pic { margin: 0 0 1.2em; }
.ag-ed-pic img, .ag-ed-story__body img {
  width: 100%; height: auto; display: block;
}
.ag-ed-item--thumb {
  display: grid; grid-template-columns: 132px 1fr; gap: 14px; align-items: center;
}
.ag-ed-item__media {
  display: block; aspect-ratio: 16/10;
  background: var(--p-teal) center/cover no-repeat;
}
.ag-ed-rail a:has(.ag-ed-rail__thumb) { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; }
.ag-ed-rail__thumb {
  display: block; width: 72px; height: 46px;
  background: var(--p-teal) center/cover no-repeat;
}
.ag-st-visual { margin: 0 0 28px; }
.ag-st-visual img { width: 100%; height: auto; display: block; }
@media (max-width: 640px) {
  .ag-ed-item--thumb { grid-template-columns: 88px 1fr; gap: 10px; }
}
.ag-ed-more { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(20,58,66,.14); }
.ag-ed-cover--photo {
  background-size: cover;
  background-position: center;
}

.ag-ed-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}
.ag-ed-tags a {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(20,58,66,.16);
  font-weight: 750;
  font-size: .82rem;
  color: var(--p-teal);
  background: #fff;
  text-decoration: none;
}
.ag-ed-tags a:hover,
.ag-ed-tags a.is-on {
  background: var(--p-teal);
  border-color: var(--p-teal);
  color: #f3eee4;
}
.ag-ed-feature {
  display: grid;
  grid-template-columns: 1.45fr .9fr;
  gap: 20px;
  margin: 0 0 8px;
  align-items: stretch;
}
.ag-ed-feature:not(:has(.ag-ed-feature__side)) {
  grid-template-columns: 1fr;
}
.ag-ed-feature__side {
  display: grid;
  grid-template-rows: repeat(auto-fit, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
  min-height: 0;
}
.ag-ed-feature__side .ag-blog-card {
  flex: none;
  flex-direction: row;
  min-height: 0;
  height: 100%;
}
.ag-ed-feature__side .ag-blog-card__media {
  aspect-ratio: auto;
  width: 40%;
  height: auto;
  min-height: 0;
  align-self: stretch;
  flex-shrink: 0;
}
.ag-ed-feature__side .ag-blog-card__body {
  padding: 14px 16px 16px;
  min-width: 0;
  min-height: 0;
}
.ag-ed-feature__side .ag-blog-card h3 {
  font-size: 1.05rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ag-ed-feature__side .ag-blog-card p {
  display: none;
}
.ag-blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
@media (min-width: 1100px) {
  .ag-blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.ag-blog-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #fff;
  border: 1px solid rgba(20,58,66,.12);
  border-radius: 16px;
  overflow: hidden;
  color: var(--p-teal);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(12,36,41,.04);
}
.ag-blog-card:hover {
  border-color: rgba(201,162,39,.55);
  box-shadow: 0 12px 28px rgba(12,36,41,.08);
}
.ag-blog-card__media {
  display: block;
  aspect-ratio: 16/9;
  background: var(--p-teal) center/cover no-repeat;
}
.ag-blog-card__media--empty {
  background-image:
    radial-gradient(420px 180px at 80% 0%, rgba(201,162,39,.35), transparent),
    linear-gradient(160deg, #0c2429, #1a4a52);
}
.ag-blog-card--feature {
  min-height: 100%;
}
.ag-blog-card--feature .ag-blog-card__media {
  aspect-ratio: 16/8;
  min-height: 240px;
}
.ag-blog-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px 18px;
  flex: 1;
}
.ag-blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}
.ag-blog-card__tag {
  color: var(--p-gold);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .03em;
}
.ag-blog-card time {
  font-size: .75rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--p-muted);
}
.ag-blog-card h3 {
  margin: 0;
  font-family: var(--p-serif);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.25;
}
.ag-blog-card--feature h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}
.ag-blog-card p {
  margin: 0;
  color: #4a5d63;
  font-size: .95rem;
  line-height: 1.5;
}
.ag-blog-card__more {
  margin-top: auto;
  padding-top: 8px;
  font-weight: 800;
  font-size: .88rem;
  color: var(--p-teal);
}
@media (max-width: 900px) {
  .ag-ed-feature,
  .ag-blog-grid {
    grid-template-columns: 1fr;
  }
  .ag-ed-feature__side {
    grid-template-rows: none;
  }
  .ag-ed-feature__side .ag-blog-card {
    flex: none;
    flex-direction: column;
    height: auto;
    min-height: 0;
  }
  .ag-ed-feature__side .ag-blog-card__media {
    width: 100%;
    aspect-ratio: 16/9;
    height: auto;
    align-self: auto;
  }
  .ag-ed-feature__side .ag-blog-card p {
    display: block;
  }
}

.ag-field input { background: #fff; border: 1px solid rgba(20,58,66,.1); }
.ag-site__nav {
  display: flex; align-items: center; gap: 14px;
  padding: 12px max(24px, calc(50vw - 600px));
  background: #f4efe6;
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(20,58,66,.12);
}
.ag-site__links {
  display: flex; align-items: center; gap: 18px; margin: 0 auto;
  color: var(--p-muted); font-weight: 650; font-size: 0.82rem;
  min-width: 0;
}
.ag-site__links a { white-space: nowrap; }
.ag-site__links a:hover { color: var(--p-teal); }
.ag-site__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.ag-site__nav .ag-wordmark { flex-shrink: 0; font-size: 1.18rem; white-space: nowrap; }
.ag-site__nav .ag-btn { padding: 8px 14px; font-size: 0.84rem; }
.ag-hero {
  display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 36px;
  align-items: center; padding: 48px 40px 24px;
  max-width: 1200px; margin: 0 auto;
}
.ag-kicker {
  color: var(--p-gold); font-size: 0.78rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; margin: 0 0 10px;
}
.ag-hero h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.2rem);
  letter-spacing: -0.055em; margin: 0 0 14px; line-height: .98;
  font-weight: 800; color: var(--p-teal);
}
.ag-hero .ag-lead {
  font-size: 1.08rem; color: #3d5158; margin: 0 0 26px;
  max-width: 36ch; line-height: 1.45;
}
.ag-hero__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.ag-hero__btns .ag-btn { padding: 12px 20px; border-radius: 12px; }
.ag-hero__stack { position: relative; height: 400px; }
.ag-mini {
  position: absolute; background: #fff; border-radius: 16px;
  box-shadow: 0 22px 56px rgba(20,58,66,.14);
  border: 1px solid var(--p-line); overflow: hidden;
}
.ag-mini--dash { left: 0; top: 28px; width: 280px; height: 220px; transform: rotate(-5deg); }
.ag-mini--table { left: 148px; top: 86px; width: 300px; height: 196px; transform: rotate(3deg); z-index: 2; }
.ag-mini--phone {
  right: 4px; top: 8px; width: 168px; height: 312px; border-radius: 26px; z-index: 3;
  transform: rotate(7deg);
}
.ag-mini__bar {
  height: 28px; background: #f3f6f7; display: flex; align-items: center; gap: 6px;
  padding: 0 10px; font-size: 0.65rem; font-weight: 800; color: var(--p-teal);
}
.ag-mini__bar--center { justify-content: center; }
.ag-mini__dash { display: flex; height: calc(100% - 28px); }
.ag-mini__side { width: 56px; background: #f7f9fa; border-right: 1px solid var(--p-line); }
.ag-mini__body { padding: 12px 14px; font-size: 0.7rem; flex: 1; }
.ag-mini__muted { color: var(--p-muted); font-size: 0.68rem; font-weight: 700; }
.ag-mini__body strong { display: block; font-size: 1.35rem; letter-spacing: -.03em; margin: 2px 0 8px; }
.ag-mini__rows { padding: 12px 14px; }
.ag-mini__rows p {
  margin: 0 0 10px; display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 650;
}
.ag-mini__rows i {
  width: 8px; height: 8px; border-radius: 50%; background: #177245; flex-shrink: 0;
}
.ag-mini__phone { text-align: center; padding: 36px 12px 0; }
.ag-mini__phone div { font-size: 1.2rem; font-weight: 800; letter-spacing: -.03em; }
.ag-mini__phone span { color: var(--p-muted); font-size: 0.75rem; }
.ag-spark { height: 54px; margin-top: 8px; }
.ag-stats {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 0; max-width: 1200px; margin: 8px auto 48px; padding: 0 40px;
  background: #fff; border: 1px solid var(--p-line); border-radius: 18px;
  box-shadow: 0 12px 32px rgba(20,58,66,.05);
}
.ag-stats article {
  padding: 22px 24px; display: flex; align-items: center; gap: 14px;
  border-right: 1px solid var(--p-line);
}
.ag-stats article:last-child { border-right: 0; }
.ag-stats i {
  width: 42px; height: 42px; border-radius: 12px; background: #fbf8ee;
  display: grid; place-items: center; flex-shrink: 0;
}
.ag-stats strong { display: block; font-size: 1.4rem; letter-spacing: -.03em; }
.ag-stats span { color: var(--p-muted); font-size: 0.85rem; }

.ag-band {
  max-width: 1200px; margin: 0 auto; padding: 40px 40px;
}
.ag-band--wash { background: #f4f6f7; max-width: none; padding-left: max(40px, calc(50% - 600px)); padding-right: max(40px, calc(50% - 600px)); }
.ag-band h2 {
  font-size: 1.55rem; letter-spacing: -0.03em; margin: 0 0 22px;
}
.ag-band__lead { color: var(--p-muted); max-width: 46ch; margin: 0 0 18px; }
.ag-feat {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px 40px;
}
.ag-feat h3 { margin: 0 0 8px; font-size: 1.05rem; }
.ag-feat p { margin: 0; color: var(--p-muted); }
.ag-sols {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px;
}
.ag-sols a {
  display: block; padding: 18px 18px 16px;
  background: #fff; border: 1px solid var(--p-line); border-radius: 16px;
  transition: box-shadow .16s ease, transform .16s ease;
}
.ag-sols a:hover { box-shadow: 0 14px 32px rgba(20,58,66,.08); transform: translateY(-2px); }
.ag-sols h3 { margin: 0 0 6px; font-size: 1.02rem; }
.ag-sols p { margin: 0 0 10px; color: var(--p-muted); font-size: 0.9rem; }
.ag-sols span { font-weight: 700; font-size: 0.82rem; color: var(--p-gold); }
.ag-price {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px;
  margin: 0 0 22px;
}
.ag-price article {
  background: #fff; border: 1px solid var(--p-line); border-radius: 16px;
  padding: 20px 18px;
}
.ag-price strong { display: block; font-size: 1.45rem; letter-spacing: -.03em; margin-bottom: 6px; }
.ag-price span { color: var(--p-muted); font-size: 0.88rem; }
.ag-band--notice { padding-top: 14px; padding-bottom: 0; }
.ag-howto {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step;
}
.ag-howto li {
  counter-increment: step;
  padding-top: 8px;
}
.ag-howto li::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--p-wash); color: var(--p-teal); font-weight: 800;
  margin-bottom: 10px;
}
.ag-howto strong { display: block; margin-bottom: 4px; }
.ag-howto span { color: var(--p-muted); font-size: 0.9rem; }
.ag-leadx {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px;
  max-width: 1200px; margin: 0 auto; padding: 40px 40px 56px; align-items: start;
}
.ag-leadx__form {
  background: #fff; border: 1px solid var(--p-line); border-radius: 16px; padding: 28px;
}
.ag-leadx__form h2 { margin: 0 0 18px; font-size: 1.45rem; }
.ag-leadx__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ag-leadx__note { color: var(--p-muted); font-size: 0.82rem; margin: 12px 0 0; }
.ag-leadx__intro h3 { font-size: 2rem; margin: 8px 0 12px; letter-spacing: -0.04em; }
.ag-leadx__intro p { color: var(--p-muted); max-width: 36ch; }
.ag-faq { max-width: 720px; }
.ag-faq details { border-bottom: 1px solid var(--p-line); padding: 12px 0; }
.ag-faq summary { font-weight: 700; cursor: pointer; }
.ag-faq p { color: var(--p-muted); margin: 8px 0 4px; }
.ag-sitefoot {
  display: flex; align-items: center; gap: 24px;
  padding: 28px max(40px, calc(50vw - 600px)); border-top: 1px solid var(--p-line);
  background: #fff;
}
.ag-sitefoot h2 { font-size: 1rem; margin: 0 0 4px; }
.ag-sitefoot p { margin: 0; color: var(--p-muted); font-size: 0.88rem; }
.ag-sitefoot .ag-btn { margin-left: auto; }

/* DOCS 02 */
.ag-docs { display: grid; grid-template-columns: 260px 1fr; min-height: calc(100vh - 32px); }
.ag-docs__side {
  background: var(--p-teal-deep); color: #e8eef0;
  padding: 22px 16px; display: flex; flex-direction: column;
}
.ag-docs__side .ag-wordmark { color: #fff; }
.ag-docs__host { font-size: 0.72rem; opacity: .65; margin: 6px 0 14px; }
.ag-docs__badge {
  display: inline-block; background: #cbb27a; color: var(--p-teal-deep);
  font-size: 0.62rem; font-weight: 800; letter-spacing: .08em;
  border-radius: 6px; padding: 3px 7px;
}
.ag-docs__search {
  width: 100%; border: 0; border-radius: 10px; padding: 9px 12px;
  background: rgba(255,255,255,.08); color: #fff; margin: 14px 0;
}
.ag-docs__nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 10px; color: rgba(255,255,255,.82); font-weight: 600;
}
.ag-docs__nav a.is-on { background: rgba(255,255,255,.12); color: #fff; }
.ag-docs__help { margin-top: auto; font-size: 0.8rem; color: rgba(255,255,255,.7); padding-top: 16px; }
.ag-docs__main { background: #fff; padding: 22px 48px 48px; }
.ag-docs__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--p-muted); font-size: 0.85rem; }
.ag-docs__main h1 { font-size: 2rem; margin: 18px 0 8px; letter-spacing: -0.03em; }
.ag-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 28px 0; }
.ag-step { text-align: center; }
.ag-step__n {
  width: 48px; height: 48px; border-radius: 50%; margin: 0 auto 10px;
  background: var(--p-wash); display: grid; place-items: center; font-weight: 800; color: var(--p-teal);
}
.ag-callout {
  background: #eef6fb; border-radius: 12px; padding: 16px 18px;
  color: #1d5f86;
}

/* DOCS EDIT 03 — cùng teal/gold với 00–02 */
.ag-cms { min-height: calc(100vh - 32px); display: grid; grid-template-rows: 56px 1fr; }
.ag-cms__bar {
  background: var(--p-teal-deep); color: #fff;
  display: flex; align-items: center; gap: 18px; padding: 0 18px;
}
.ag-cms__bar a { color: rgba(255,255,255,.8); font-weight: 600; font-size: 0.88rem; }
.ag-cms__bar a.is-on { color: #fff; }
.ag-cms__bar .ag-langdd { margin-left: auto; }
.ag-cms__bar .ag-langdd__btn { background: rgba(255,255,255,.08); border-color: transparent; color: #fff; }
.ag-cms__body { display: grid; grid-template-columns: 240px 1fr; }
.ag-cms__side { background: #f4f7f7; border-right: 1px solid var(--p-line); padding: 16px; }
.ag-cms__side h3 { font-size: 0.68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--p-muted); }
.ag-cms__side a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--p-teal); font-weight: 600; }
.ag-cms__side a.is-on { background: #e5f0ef; box-shadow: inset 3px 0 0 var(--p-teal); }
.ag-cms__editor { padding: 22px 28px; background: #fff; }
.ag-cms__title {
  width: 100%; border: 0; font-size: 1.8rem; font-weight: 800; letter-spacing: -0.03em;
  color: var(--p-teal); padding: 8px 0;
}
.ag-cms__toolbar {
  display: flex; gap: 4px; flex-wrap: wrap; padding: 8px 0; border-top: 1px solid var(--p-line); border-bottom: 1px solid var(--p-line); margin-bottom: 12px;
}
.ag-cms__toolbar button {
  border: 0; background: var(--p-wash); border-radius: 6px; padding: 6px 8px; cursor: pointer; font-size: 0.75rem; font-weight: 700;
}
.ag-cms__langs { display: flex; gap: 8px; margin: 8px 0 12px; flex-wrap: wrap; }
.ag-cms__langs button { border: 1px solid var(--p-line); background: #fff; border-radius: 8px; padding: 6px 10px; cursor: pointer; }
.ag-cms__langs button.is-on { box-shadow: inset 0 -2px 0 #177245; font-weight: 700; }

.ag-nav-toggle {
  display: none;
  width: 40px; height: 40px; padding: 0;
  border: 1px solid var(--p-line); background: #fff;
  border-radius: 10px; color: var(--p-teal); cursor: pointer;
  place-items: center;
}
.ag-nav-toggle span,
.ag-nav-toggle span::before,
.ag-nav-toggle span::after {
  display: block; width: 16px; height: 2px; background: currentColor; border-radius: 1px;
}
.ag-nav-toggle span { position: relative; }
.ag-nav-toggle span::before,
.ag-nav-toggle span::after { content: ""; position: absolute; left: 0; }
.ag-nav-toggle span::before { top: -5px; }
.ag-nav-toggle span::after { top: 5px; }
.ag-feat article {
  background: #fff; border: 1px solid var(--p-line); border-radius: 16px;
  padding: 22px 20px; box-shadow: 0 8px 24px rgba(20,58,66,.04);
}
.ag-howto li::before {
  background: linear-gradient(180deg, #d4b03a, #c9a227); color: #fff;
}
.ag-leadx__form {
  box-shadow: 0 16px 40px rgba(20,58,66,.08);
}
.ag-faq details[open] summary { color: var(--p-teal); }
.ag-faq summary { padding: 4px 0; }

@media (max-width: 1100px) {
  .ag-nav-toggle { display: grid; margin-left: 0; justify-self: end; }
  .ag-d-hide-xs { display: none !important; }
  .ag-site__nav {
    display: grid !important;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 0 12px;
    padding: 10px 16px;
  }
  .ag-site__nav .ag-wordmark { grid-column: 1; grid-row: 1; justify-self: start; }
  .ag-site__actions { display: none !important; }
  .ag-site__links {
    display: none; flex-direction: column; gap: 0;
    grid-column: 1 / -1; grid-row: 2;
    width: 100%; margin: 0;
    border-top: 1px solid var(--p-line); padding-top: 8px;
  }
  .ag-site__nav.is-open .ag-site__links { display: flex; }
  .ag-site__links a { padding: 10px 2px; font-weight: 650; }
}
@media (max-width: 900px) {
  .ag-auth { grid-template-columns: 1fr; background: #fff; }
  .ag-auth__visual {
    min-height: 0; order: -1;
    display: flex; flex-direction: column;
  }
  .ag-auth__photo {
    position: relative; inset: auto;
    height: 132px; width: 100%;
    filter: saturate(0.7) contrast(0.92) brightness(1.08);
  }
  .ag-auth__fade { display: none; }
  .ag-auth__copy {
    position: relative; padding: 14px 20px 4px;
    background: #fff;
    max-width: none;
  }
  .ag-auth__copy h2 { font-size: 1.35rem; max-width: none; }
  .ag-auth__form { padding: 16px 20px 40px; }
  .ag-auth__form h1 { font-size: 1.85rem; margin: 16px 0 8px; }
  .ag-hero { grid-template-columns: 1fr; padding: 24px 20px 8px; gap: 20px; }
  .ag-hero h1 { font-size: 2.05rem; line-height: 1.08; }
  .ag-hero .ag-lead { max-width: none; font-size: 1rem; }
  .ag-hero__stack {
    height: auto; display: grid; gap: 12px;
  }
  .ag-mini {
    position: relative; left: auto; right: auto; top: auto;
    width: 100%; height: auto; min-height: 148px;
    transform: none;
  }
  .ag-mini--table, .ag-mini--phone { display: none; }
  .ag-stats { grid-template-columns: 1fr; margin: 4px 16px 28px; padding: 0; }
  .ag-stats article { border-right: 0; border-bottom: 1px solid var(--p-line); padding: 16px 18px; }
  .ag-band, .ag-leadx, .ag-sitefoot { padding-left: 20px; padding-right: 20px; }
  .ag-band--wash { padding-left: 20px; padding-right: 20px; }
  .ag-feat, .ag-sols, .ag-howto, .ag-leadx, .ag-leadx__row, .ag-stories, .ag-price,
  .ag-ed-issue, .ag-ed-ops__grid, .ag-ed-cash { grid-template-columns: 1fr; }
  .ag-ed-hero, .ag-ed-issue, .ag-ed-ops, .ag-ed-page { padding-left: 20px; padding-right: 20px; }
  .ag-ed-cover { min-height: 240px; }
  .ag-stories { padding: 8px 20px 32px; }
  .ag-story { grid-template-columns: 88px 1fr; }
  .ag-story img { width: 88px; height: 72px; }
  .ag-sitefoot { flex-wrap: wrap; }
  .ag-sitefoot .ag-btn { margin-left: 0; width: 100%; }
  .ag-docs { grid-template-columns: 1fr; }
  .ag-docs__side { min-height: auto; }
  .ag-docs__main { padding: 18px; }
  .ag-steps { grid-template-columns: 1fr 1fr; }
  .ag-cms__body { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .ag-mark-live__tri { animation: none; }
}

/* —— Studio D (Pentagram nhịp) —— */
body.ag-public.ag-site {
  background: var(--st-paper, #f4efe6);
  overflow-x: clip;
}
body.ag-site h1, body.ag-site h2, body.ag-site h3,
.ag-ed-hero h1, .ag-ed-cover h2, .ag-ed-rail h3,
.ag-auth__form h1, .ag-auth__copy h2, .ag-ed-story h1, .ag-ed-mast h1 {
  font-family: var(--p-font);
  font-weight: 600;
  font-synthesis: none;
}
.ag-site__nav {
  display: grid;
  align-items: center;
  gap: 28px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 14px max(28px, calc(50vw - 680px)) 14px;
  border-bottom: 1px solid var(--st-line, rgba(20,58,66,.14));
  background: var(--st-paper, #f4efe6);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 10px 28px rgba(12, 36, 41, 0.06);
}
@media (min-width: 1101px) {
  .ag-site__nav { grid-template-columns: auto 1fr auto; }
}
@media (max-width: 1100px) {
  .ag-site__nav { grid-template-columns: minmax(0, 1fr) auto; }
}
.ag-site__nav .ag-wordmark {
  font-size: 1.12rem; font-weight: 800; letter-spacing: -0.03em; text-transform: none;
}
.ag-site__links { justify-content: center; font-size: 13px; font-weight: 500; }
.ag-site__actions .ag-btn { border-radius: 0; box-shadow: none; }
.ag-btn--gold {
  background: var(--p-teal); color: var(--st-paper, #f4efe6);
  box-shadow: none; border-radius: 0;
}
.ag-btn--gold:hover { filter: none; background: var(--st-deep, #0c2429); }
.ag-btn--ghost {
  background: transparent; border: 0; border-bottom: 1px solid var(--p-teal);
  border-radius: 0; padding: 4px 0;
}
.ag-st-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.9fr);
  gap: 28px 32px;
  align-items: end;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 64px max(28px, calc(50vw - 680px)) 0;
  border-bottom: 0;
  background-color: var(--p-teal);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.ag-st-hero--photo { position: relative; isolation: isolate; }
.ag-st-hero--photo::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(90deg, rgba(13, 44, 50, .82) 0%, rgba(13, 44, 50, .48) 34%, rgba(13, 44, 50, .32) 52%, rgba(13, 44, 50, .62) 78%, rgba(13, 44, 50, .88) 100%),
    linear-gradient(180deg, rgba(13, 44, 50, .18) 0%, transparent 36%, rgba(13, 44, 50, .28) 100%);
  pointer-events: none;
}
.ag-st-hero--photo > * { position: relative; z-index: 1; }
.ag-st-hero__copy {
  padding: 8px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.ag-st-hero__copy .ag-kicker,
.ag-st-hero__meta .ag-kicker { color: var(--p-gold); }
.ag-st-hero__pair {
  display: flex;
  align-items: stretch;
  gap: 22px;
  min-width: 0;
}
.ag-st-hero__photos {
  flex: 1 1 auto;
  position: relative;
  min-width: 220px;
  min-height: 0;
}
.ag-st-hero__shot {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background: var(--st-deep, #0c2429);
  aspect-ratio: 1;
  width: min(50%, 176px);
  height: auto;
  opacity: .94;
  filter: saturate(1.06) contrast(1.08) brightness(1.04);
  box-shadow:
    0 0 0 3px rgba(244, 239, 230, .92),
    0 0 0 6px rgba(201, 162, 39, .88),
    0 16px 32px rgba(12, 36, 41, .42);
  transition: opacity .25s ease, filter .25s ease, transform .25s ease;
}
.ag-st-hero__shot::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 26%, rgba(244, 239, 230, .1), transparent 38%),
    linear-gradient(180deg, transparent 55%, rgba(13, 44, 50, .22) 100%);
  pointer-events: none;
}
.ag-st-hero__shot img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center 38%;
  display: block;
}
.ag-st-hero__shot--a {
  left: 6%;
  top: 50%;
  transform: translateY(-54%);
  z-index: 2;
  opacity: 1;
}
.ag-st-hero__shot--b {
  left: 40%;
  top: 4%;
  z-index: 1;
  opacity: .9;
}
.ag-st-hero__shot--c {
  left: 46%;
  bottom: 2%;
  top: auto;
  z-index: 3;
  opacity: .94;
}
.ag-st-hero__shot:hover {
  opacity: 1;
  filter: saturate(1.12) contrast(1.1) brightness(1.05);
  z-index: 5;
}
.ag-st-hero h1 {
  font-size: clamp(2.4rem, 6.2vw, 4.6rem);
  letter-spacing: -.03em; line-height: 1.02;
  margin: 0; max-width: 16ch; font-weight: 600;
  color: var(--st-paper, #f4efe6);
  text-shadow: none;
}
.ag-st-hero h1 em { font-style: italic; font-weight: 500; }
.ag-st-hero__meta {
  flex: 0 1 340px;
  width: min(340px, 40%);
  margin: 0;
  padding: 22px 24px 22px;
  background: var(--st-paper, #f4efe6);
  color: var(--p-teal);
  max-width: none;
  font-size: 15px;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: auto;
  box-shadow: 0 18px 44px rgba(12, 36, 41, 0.18);
}
.ag-st-hero__meta p { margin: 0 0 12px; color: #243c42; font-weight: 550; }
.ag-st-hero .ag-st-links a { color: var(--p-teal); border-bottom-color: var(--p-gold); font-weight: 750; }
.ag-st-hero .ag-st-links a.dim { color: #1a3338; border-color: rgba(20,58,66,.4); }
.ag-st-links { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13px; font-weight: 600; }
.ag-st-links a { border-bottom: 1px solid var(--p-teal); padding-bottom: 2px; }
.ag-st-links a.dim { border-color: var(--st-line, rgba(20,58,66,.14)); color: var(--p-muted); }
.ag-st-offer {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 8px;
}
.ag-st-offer li {
  padding: 0 0 8px;
  border-bottom: 1px solid rgba(20,58,66,.16);
  font-size: 15px; color: var(--p-teal);
}
.ag-st-offer li strong { display: block; font-weight: 750; color: var(--p-teal); }
.ag-st-offer li span { color: #3d545b; font-weight: 500; font-size: 13px; }
.ag-st-band {
  background: var(--p-teal); color: var(--st-paper, #f4efe6);
  padding: 56px max(28px, calc(50vw - 680px));
}
.ag-st-band__in {
  max-width: none; margin: 0;
  display: grid; grid-template-columns: 140px 1fr; gap: 32px;
}
.ag-st-band .idx {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--p-gold); font-weight: 600;
}
.ag-st-band p {
  font-size: clamp(1.35rem, 2.6vw, 2.1rem);
  font-weight: 500; letter-spacing: -.03em; line-height: 1.25;
  margin: 0; max-width: 32ch;
}
.ag-ed-issue {
  display: grid; grid-template-columns: 1.65fr 1fr; gap: 0;
  max-width: none; margin: 0; padding: 0;
  border-bottom: 1px solid var(--st-line, rgba(20,58,66,.14));
}
.ag-ed-cover {
  min-height: 480px; padding: 36px 40px;
  background: var(--st-deep, #0c2429);
  border-radius: 0;
}
.ag-ed-rail a, .ag-ed-item {
  padding: 22px 28px 20px; border-top: 0;
  border-bottom: 1px solid var(--st-line, rgba(20,58,66,.14));
}
.ag-ed-rail a:hover { background: var(--st-paper-2, #ebe4d6); }
.ag-ed-ops { max-width: none; margin: 0; padding: 0; }
.ag-ed-ops__grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0;
  border-bottom: 1px solid var(--st-line, rgba(20,58,66,.14));
}
.ag-ed-ops__grid a {
  padding: 48px 32px 52px;
  border: 0; border-right: 1px solid var(--st-line, rgba(20,58,66,.14));
  background: transparent;
}
.ag-ed-ops__grid a:last-child { border-right: 0; }
.ag-ed-ops__grid a:hover { background: var(--st-paper-2, #ebe4d6); transform: none; }
.ag-ed-ops .n {
  font-size: 11px; letter-spacing: .18em; color: var(--p-gold); font-weight: 600;
}
.ag-st-cash {
  display: grid; grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--st-line, rgba(20,58,66,.14));
  min-height: 320px;
}
.ag-st-cash__fig {
  background: var(--p-teal); color: var(--st-paper, #f4efe6);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 48px 40px; display: flex; flex-direction: column; justify-content: flex-end;
}
.ag-st-cash--photo .ag-st-cash__fig {
  position: relative;
  isolation: isolate;
}
.ag-st-cash--photo .ag-st-cash__fig::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(13, 44, 50, .28) 0%, rgba(13, 44, 50, .78) 100%);
  pointer-events: none;
}
.ag-st-cash--photo .ag-st-cash__fig > * { position: relative; z-index: 1; }
.ag-st-cash__fig b {
  font-size: clamp(4rem, 10vw, 8rem); font-weight: 600;
  letter-spacing: -.07em; line-height: .85;
}
.ag-st-cash__fig span {
  margin-top: 12px; font-size: 13px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--p-gold-2); font-weight: 600;
}
.ag-st-cash__copy { padding: 48px 40px; display: flex; flex-direction: column; justify-content: center; }
.ag-st-cash__copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 600;
  letter-spacing: -.035em; margin: 0 0 14px; max-width: 14ch;
}
.ag-st-net {
  display: grid; grid-template-columns: 1fr 1fr 1fr 1fr;
  border-bottom: 1px solid var(--st-line, rgba(20,58,66,.14));
}
.ag-st-net a, .ag-st-net article {
  min-height: 240px; padding: 24px;
  border-right: 1px solid var(--st-line, rgba(20,58,66,.14));
  display: flex; flex-direction: column; justify-content: flex-end;
}
.ag-st-net > :nth-child(4n) { border-right: 0; }
.ag-st-net > :nth-child(1) { background: var(--p-teal); color: var(--st-paper, #f4efe6); }
.ag-st-net > :nth-child(2) { background: var(--st-paper-2, #ebe4d6); }
.ag-st-net > :nth-child(3) { background: #d7c7a2; }
.ag-st-net > :nth-child(4) { background: var(--st-deep, #0c2429); color: var(--st-paper, #f4efe6); }
.ag-st-net small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .75; font-weight: 600; }
.ag-st-net h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.03em; margin: 10px 0 0; }
.ag-st-join {
  display: grid; grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--st-line, rgba(20,58,66,.14));
}
.ag-st-join__copy { padding: 56px 40px 64px; }
.ag-st-join__copy h2 {
  font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 600;
  letter-spacing: -.04em; line-height: 1.02; margin: 0 0 16px; max-width: 12ch;
}
.ag-leadx {
  display: contents;
}
.ag-leadx__form {
  padding: 56px 40px 64px; border-radius: 0; background: var(--st-paper-2, #ebe4d6);
  border: 0; border-left: 1px solid var(--st-line, rgba(20,58,66,.14));
  box-shadow: none;
}
.ag-leadx__form h2 { font-size: 1.2rem; }
.ag-field input, .ag-ed-search__input {
  border-radius: 0; background: transparent;
  border: 0; border-bottom: 1px solid var(--p-teal); padding: 8px 0 10px;
}
.ag-google { border-radius: 0; background: transparent; }
.ag-sitefoot {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(0, 1.6fr);
  gap: 24px 40px;
  align-items: center;
  padding: 36px max(28px, calc(50vw - 680px)) 44px;
  background: var(--st-paper, #f4efe6);
  border-top: 1px solid var(--st-line, rgba(20,58,66,.14));
}
.ag-sitefoot__brand p {
  margin: 10px 0 0;
  max-width: 42ch;
  color: #3d545b;
  font-size: 13px;
  line-height: 1.5;
}
.ag-sitefoot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  justify-content: flex-end;
}
.ag-sitefoot h4 { display: none; }
.ag-sitefoot a { display: inline-block; padding: 6px 0; font-size: 14px; font-weight: 650; color: var(--p-teal); }
.ag-sitefoot a:hover { color: #0c2429; }
.ag-sitefoot .ag-btn { display: none; }
.ag-langtags { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-left: 8px; vertical-align: middle; }
.ag-langtag {
  display: inline-block;
  padding: 1px 6px;
  border: 1px solid rgba(20,58,66,.2);
  font-size: 10px; letter-spacing: .08em; font-weight: 700;
  color: var(--p-teal); line-height: 1.4;
}
.ag-langtag.is-on { background: var(--p-teal); color: #f4efe6; border-color: var(--p-teal); }
.ag-ed-cover .ag-langtag { border-color: rgba(243,238,228,.45); color: #f3eee4; }
.ag-ed-cover .ag-langtag.is-on { background: var(--p-gold); border-color: var(--p-gold); color: #0c2429; }
.ag-nav-cta { display: none; }
.ag-nav-langs { display: none; }
.ag-st-page { max-width: 1360px; margin: 0 auto; padding: 56px 28px 80px; }
.ag-about {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  min-height: min(78vh, 760px);
  border-bottom: 1px solid var(--st-line, rgba(20,58,66,.14));
}
.ag-about__copy {
  padding: 56px max(28px, calc(50vw - 680px)) 72px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ag-about__copy h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  letter-spacing: -.04em;
  line-height: 1.02;
  font-weight: 600;
  margin: 10px 0 20px;
  max-width: 16ch;
}
.ag-about__body {
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 46ch;
  color: var(--p-teal);
}
.ag-about__body p { margin: 0 0 14px; }
.ag-about__body p:last-child { margin-bottom: 0; }
.ag-about__pills {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
  max-width: 46ch;
}
.ag-about__pills li {
  margin: 0;
  padding: 0 0 0 14px;
  border-left: 2px solid var(--p-gold);
}
.ag-about__pills strong {
  display: block;
  font-size: .95rem;
  letter-spacing: -.02em;
  color: var(--p-teal);
}
.ag-about__pills span {
  display: block;
  margin-top: 3px;
  font-size: .88rem;
  line-height: 1.45;
  color: #4a5d63;
}
.ag-about__stats {
  list-style: none; margin: 28px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 20px;
}
.ag-about__stats li {
  margin: 0;
  padding-top: 10px;
  border-top: 2px solid var(--p-gold);
}
.ag-about__stats strong {
  display: block;
  font-size: 1.35rem;
  letter-spacing: -.03em;
  color: var(--p-teal);
}
.ag-about__stats span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.4;
  color: #4a5d63;
}
.ag-about__jump {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  margin-top: 28px; font-weight: 750; font-size: 14px;
}
.ag-about__jump a { border-bottom: 1px solid var(--p-gold); padding-bottom: 2px; }
.ag-about__ask {
  background: var(--p-teal);
  color: var(--st-paper, #f4efe6);
  padding: 56px 40px 64px max(28px, calc((100vw - 1360px) / 2 + 8px));
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ag-about__ask .ag-kicker { color: var(--p-gold); }
.ag-about__ask h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -.035em;
  line-height: 1.05;
  font-weight: 600;
  margin: 8px 0 12px;
  max-width: 12ch;
  color: var(--st-paper, #f4efe6);
}
.ag-about__ask > p { max-width: 36ch; opacity: .88; margin: 0 0 22px; }
.ag-about__ask .ag-field span { color: rgba(244,239,230,.72); }
.ag-about__ask .ag-field input,
.ag-about__ask .ag-field textarea {
  width: 100%;
  color: var(--st-paper, #f4efe6);
  background: transparent;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(244,239,230,.42);
  padding: 8px 0 10px;
  resize: vertical;
}
.ag-about__ask .ag-field textarea { min-height: 120px; }
.ag-about__ask .ag-btn { margin-top: 8px; }
.ag-about__ask .ag-btn--gold {
  background: var(--p-gold);
  color: #0c2429;
}
.ag-about__ask .ag-btn--gold:hover { background: #d4b03a; color: #0c2429; }
.ag-about__ok { font-size: 1.05rem; line-height: 1.5; max-width: 32ch; }
.ag-about__err { color: #f3c9a4; font-weight: 600; margin: 0 0 16px; }
.ag-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ag-st-page h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem); letter-spacing: -.045em;
  line-height: .98; margin: 12px 0 16px; max-width: 16ch; font-weight: 600;
}
.ag-st-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 36px; }
.ag-st-steps article {
  padding: 28px 28px 32px;
  border-top: 1px solid var(--st-line, rgba(20,58,66,.14));
  border-right: 1px solid var(--st-line, rgba(20,58,66,.14));
}
.ag-st-steps article:nth-child(2n) { border-right: 0; }
.ag-band#faq { max-width: 1360px; padding: 48px 28px 64px; }
.ag-faq { max-width: none; }
.ag-faq details { border-color: var(--st-line, rgba(20,58,66,.14)); }
.ag-auth {
  background: var(--st-paper, #f4efe6);
  min-height: calc(100vh - 36px);
}
.ag-auth__form h1 { font-weight: 600; }
.ag-auth__visual { background: var(--p-teal); }
.ag-auth-steps {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 10px;
  counter-reset: ag-step;
}
.ag-auth-steps li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  counter-increment: ag-step;
  font-size: .92rem;
  line-height: 1.45;
  color: var(--p-teal);
}
.ag-auth-steps li::before {
  content: counter(ag-step);
  flex: 0 0 22px;
  height: 22px;
  border-radius: 999px;
  background: #f6f1df;
  color: #9a7a14;
  font-size: .72rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-top: 1px;
}
.ag-ed-note { max-width: 1360px; margin: 0 auto; padding: 24px 28px 40px; }

@media (max-width: 1100px) {
  .ag-site__nav {
    display: grid !important;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 0 12px;
    padding: 12px 16px;
    max-width: none;
    width: 100%;
  }
  .ag-site__nav .ag-wordmark {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }
  .ag-nav-toggle {
    display: grid;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    margin-left: 0;
    flex-shrink: 0;
  }
  .ag-site__links {
    display: none;
    flex-direction: column;
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    gap: 0;
    margin: 0;
    padding-top: 8px;
    border-top: 1px solid var(--st-line, rgba(20,58,66,.14));
  }
  .ag-site__nav.is-open .ag-site__links { display: flex; }
  .ag-site__links a { padding: 10px 2px; white-space: nowrap; }
  .ag-nav-cta {
    display: block;
    font-weight: 700;
    padding: 12px 2px;
    border-top: 1px solid var(--st-line, rgba(20,58,66,.14));
    margin-top: 4px;
  }
  .ag-nav-desk { display: none !important; }
  .ag-site__actions { display: none !important; }
  .ag-nav-langs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 0 4px;
    margin-top: 4px;
    border-top: 1px solid var(--st-line, rgba(20,58,66,.14));
  }
  .ag-nav-langs .ag-lang-form { margin: 0; }
  .ag-nav-langs button {
    border: 1px solid var(--st-line, rgba(20,58,66,.22));
    background: transparent;
    color: var(--p-teal);
    padding: 8px 12px;
    font-size: 0.82rem;
    font-weight: 650;
    cursor: pointer;
  }
  .ag-nav-langs button.is-on {
    background: var(--p-teal);
    border-color: var(--p-teal);
    color: var(--st-paper, #f4efe6);
  }
}
@media (max-width: 960px) {
  .ag-st-hero, .ag-st-band__in, .ag-st-cash, .ag-st-join, .ag-st-net, .ag-st-steps,
  .ag-ed-issue, .ag-ed-ops__grid, .ag-about { grid-template-columns: 1fr; }
  .ag-ed-ops__grid a, .ag-st-net a, .ag-st-net article { border-right: 0; border-bottom: 1px solid var(--st-line, rgba(20,58,66,.14)); }
  .ag-leadx__form { border-left: 0; border-top: 1px solid var(--st-line, rgba(20,58,66,.14)); }
  .ag-st-hero {
    padding: 32px 0 0;
    gap: 0;
  }
  .ag-st-hero__copy {
    padding: 12px 20px 28px;
  }
  .ag-st-hero__pair {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .ag-st-hero__photos {
    height: 168px;
    max-height: 168px;
    min-height: 168px;
    margin: 4px 16px 12px;
  }
  .ag-st-hero__shot {
    width: min(34vw, 124px);
  }
  .ag-st-hero__shot--a,
  .ag-st-hero__shot--b,
  .ag-st-hero__shot--c {
    transform: none;
  }
  .ag-st-hero__shot--a { left: 8%; top: 18%; }
  .ag-st-hero__shot--b { left: 36%; top: 2%; }
  .ag-st-hero__shot--c { left: 58%; top: auto; bottom: 2%; }
  .ag-st-hero h1 {
    font-size: clamp(1.85rem, 8.5vw, 2.55rem);
    max-width: none;
    letter-spacing: -.02em;
    line-height: 1.08;
  }
  .ag-st-hero__meta {
    flex: none;
    width: auto;
    margin: 12px 16px 20px;
    padding: 22px 20px 24px;
    max-width: none;
  }
  .ag-st-links {
    gap: 14px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .ag-st-links a { white-space: nowrap; flex-shrink: 0; }
  .ag-leadx__row { grid-template-columns: 1fr; }
  .ag-btn { white-space: nowrap; }
  .ag-sitefoot {
    grid-template-columns: 1fr;
    padding: 28px 20px 36px;
    gap: 16px;
  }
  .ag-sitefoot__links { justify-content: flex-start; }
  .ag-about__stats { grid-template-columns: 1fr; }
  .ag-sitefoot .ag-btn { display: none; }
  .ag-st-band { padding: 32px 20px; }
  .ag-st-band p { max-width: none; font-size: 1.2rem; }
  .ag-ed-cover { min-height: 260px; padding: 24px 20px; }
  .ag-ed-cover h2 { font-size: clamp(1.35rem, 6vw, 1.85rem); }
  .ag-ed-rail a, .ag-ed-item { padding: 16px 20px; }
  .ag-ed-ops__grid a { padding: 28px 20px 32px; }
  .ag-st-cash { min-height: 0; }
  .ag-st-cash__fig, .ag-st-cash__copy, .ag-st-join__copy, .ag-leadx__form { padding: 28px 20px; }
  .ag-st-cash__fig b { font-size: clamp(3.2rem, 18vw, 5rem); }
  .ag-st-page { padding: 36px 20px 64px; }
  .ag-about__copy { padding: 36px 20px 40px; }
  .ag-about__copy h1 { max-width: none; font-size: clamp(1.9rem, 8.5vw, 2.8rem); }
  .ag-about__body { max-width: none; }
  .ag-about__pills { max-width: none; }
  .ag-about__ask { padding: 36px 20px 48px; }
  .ag-st-page h1 {
    font-size: clamp(1.9rem, 8.5vw, 2.8rem);
    max-width: none;
    line-height: 1.08;
  }
  .ag-st-steps article { padding: 20px 0 24px; border-right: 0; }
  .ag-st-steps article:nth-child(2n) { border-right: 0; }
  .ag-band#faq { padding: 36px 20px 56px; }
  .ag-ed-note { padding: 16px 20px 32px; }
}

/* Guest /my-accounts/ — TikTok connect banner */
body.ag-accounts-guest-body {
  background: var(--st-paper, #f4efe6);
  min-height: 100vh;
  min-height: 100dvh;
}
.ag-accounts-guest__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--st-line, rgba(20, 58, 66, 0.14));
  background: var(--st-paper, #f4efe6);
}
.ag-accounts-guest__bar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.ag-accounts-guest {
  max-width: 920px;
  margin: 0 auto;
  padding: 36px 24px 80px;
}
.ag-accounts-guest h1 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--p-teal);
}
.ag-accounts-guest .ag-lead {
  margin: 0 0 14px;
  color: var(--p-muted);
  font-size: 0.95rem;
}
.ag-accounts-guest__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 16px;
}
.ag-accounts-guest .ag-stat {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px;
  grid-template-areas: "label ico" "value value" "hint hint";
  gap: 6px 8px;
  padding: 14px;
  min-height: 112px;
  background: #fff;
  border: 1px solid rgba(20, 58, 66, 0.12);
  border-radius: 14px;
  box-sizing: border-box;
}
.ag-accounts-guest .ag-stat__label {
  grid-area: label;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8a97a5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ag-accounts-guest .ag-stat__value {
  grid-area: value;
  font-size: 1.25rem;
  font-weight: 800;
  color: #143a42;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.ag-accounts-guest .ag-stat__value span { font-size: 0.72rem; font-weight: 600; color: #8a97a5; }
.ag-accounts-guest .ag-stat.is-zero .ag-stat__value,
.ag-accounts-guest .ag-stat.is-zero .ag-stat__value span { color: #9aa8b0; }
.ag-accounts-guest .ag-stat__hint {
  grid-area: hint;
  font-size: 0.75rem;
  color: #8a97a5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ag-accounts-guest .ag-stat__ico {
  grid-area: ico;
  width: 32px; height: 32px; border-radius: 10px;
  display: grid; place-items: center;
  font-size: 0.85rem; font-weight: 800;
  justify-self: end;
}
.ag-accounts-guest .ag-stat__ico--blue { background: #e8f1fb; color: #2f6fed; }
.ag-accounts-guest .ag-stat__ico--green { background: #e8f7ee; color: #177245; }
.ag-accounts-guest .ag-stat__ico--orange { background: #fff1e6; color: #c05612; }
.ag-accounts-guest .ag-stat__ico--purple { background: #f3e8fb; color: #7c3aed; }
.ag-ttcta {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0 0 16px;
  padding: 20px 24px;
  background: #fff8ee;
  border: 1px solid #f0e0b8;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(201, 162, 39, 0.08);
}
.ag-ttcta__art {
  position: relative;
  width: 124px;
  height: 92px;
  flex-shrink: 0;
}
.ag-ttcta__logo {
  position: absolute;
  left: 32px;
  top: 10px;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #111;
  display: grid;
  place-items: center;
  transform: rotate(-9deg);
  box-shadow: 8px 14px 22px rgba(20, 58, 66, 0.2);
  z-index: 2;
}
.ag-ttcta__logo svg { width: 30px; height: 30px; display: block; }
.ag-ttcta__bubble {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(120, 176, 230, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.7);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 16px rgba(20, 58, 66, 0.08);
  z-index: 1;
}
.ag-ttcta__bubble svg { width: 18px; height: 18px; }
.ag-ttcta__bubble--a { left: 6px; bottom: 14px; }
.ag-ttcta__bubble--b { right: 6px; top: 2px; }
.ag-ttcta__chain {
  position: absolute;
  right: 8px;
  bottom: 2px;
  width: 36px;
  height: 28px;
  z-index: 3;
  filter: drop-shadow(0 4px 6px rgba(20, 58, 66, 0.12));
}
.ag-ttcta__chain svg { width: 36px; height: 28px; display: block; }
.ag-ttcta__copy,
.ag-ttcta__copy { flex: 1; min-width: 0; }
.ag-ttcta__copy strong,
.ag-ttcta__copy strong {
  display: block;
  font-size: 1.08rem;
  font-weight: 800;
  color: #143a42;
  letter-spacing: -0.02em;
}
.ag-ttcta__copy p,
.ag-ttcta__copy p {
  margin: 6px 0 0;
  max-width: 54ch;
  color: #5d6f80;
  font-size: 0.86rem;
  line-height: 1.5;
  font-weight: 500;
}
a.ag-btn.ag-ttcta__btn,
.ag-ttcta__btn,
.ag-ttcta__btn {
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  min-height: 42px;
  padding: 11px 24px;
  font-weight: 800;
  border-radius: 10px;
  white-space: nowrap;
  background: linear-gradient(180deg, var(--p-gold-2, var(--ag-gold-2, #e0b83a)), var(--p-gold, var(--ag-gold, #c9a227)));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(201, 162, 39, 0.28);
}
a.ag-btn.ag-ttcta__btn:hover,
.ag-ttcta__btn:hover {
  filter: none;
  background: linear-gradient(180deg, #d4b03a, #b89220);
  color: #fff;
}
@media (max-width: 760px) {
  .ag-accounts-guest__bar { padding: 12px 16px; }
  .ag-accounts-guest { padding: 24px 16px 64px; }
  .ag-accounts-guest__stats { grid-template-columns: 1fr 1fr; }
  .ag-ttcta {
    flex-wrap: wrap;
    padding: 16px 16px 14px;
    gap: 12px 16px;
  }
  .ag-ttcta__art { width: 96px; height: 76px; }
  .ag-ttcta__logo { width: 46px; height: 46px; left: 24px; top: 8px; border-radius: 14px; }
  .ag-ttcta__logo svg { width: 24px; height: 24px; }
  .ag-ttcta__copy,
  .ag-ttcta__copy { flex: 1 1 180px; }
  .ag-ttcta__btn,
  .ag-ttcta__btn { width: 100%; white-space: normal; }
}

/* 2026-08-25 public contrast / about / footer */

/* Last: mobile nav. Must beat Studio D 3-col grid (auto 1fr auto). */
@media (max-width: 1100px) {
  .ag-site__nav#ag-site-nav {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto !important;
    gap: 0 12px !important;
  }
  .ag-site__nav#ag-site-nav .ag-wordmark {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
  }
  .ag-site__nav#ag-site-nav .ag-nav-toggle {
    display: grid !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    margin-left: 0 !important;
  }
  .ag-site__nav#ag-site-nav .ag-site__actions { display: none !important; }
}
