:root {
  --ag-ink-deep: #081c2c;
  --ag-ink: #102a43;
  --ag-ink-soft: #44566a;
  --ag-teal: #20c7b5;
  --ag-teal-dark: #0b897e;
  --ag-teal-pale: #d9f5f1;
  --ag-blue: #2864dc;
  --ag-coral: #f26a4f;
  --ag-mist: #f3f7f8;
  --ag-line: #dce5e8;
  --ag-white: #ffffff;
  --ag-shell: min(1760px, calc(100% - 64px));
}

html {
  width: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  width: 100%;
  margin: 0;
  overflow-x: clip;
  background: var(--ag-white);
  color: var(--ag-ink);
  font-family: Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wp-site-blocks,
.ag-main,
.entry-content {
  width: 100%;
  margin: 0;
  padding: 0;
}

.wp-site-blocks > *,
.ag-main > *,
.entry-content > * {
  margin-block-start: 0;
  margin-block-end: 0;
}

.is-layout-constrained > .alignfull {
  width: 100%;
  max-width: none;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

a {
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgb(32 199 181 / 45%);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  letter-spacing: 0;
}

h1 {
  font-size: 5.8rem;
}

h2 {
  font-size: 4.25rem;
}

h3 {
  font-size: 1.3rem;
}

p {
  margin-top: 0;
}

.ag-shell {
  width: var(--ag-shell);
  max-width: none !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.ag-site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  width: 100%;
  border-bottom: 1px solid rgb(255 255 255 / 12%);
  background: var(--ag-ink-deep);
  color: white;
}

.admin-bar .ag-site-header {
  top: 32px;
}

.ag-header-inner {
  width: var(--ag-shell);
  max-width: none !important;
  min-height: 82px;
  margin: 0 auto !important;
  gap: 28px;
}

.ag-wordmark {
  margin: 0;
  font-family: Manrope, Inter, Arial, sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.ag-wordmark a {
  color: white;
  text-decoration: none;
}

.ag-wordmark a::first-letter {
  color: var(--ag-teal);
}

.ag-main-nav {
  margin-left: auto;
  font-size: 0.9rem;
  font-weight: 650;
}

.ag-main-nav .wp-block-navigation__container {
  gap: 22px;
}

.ag-main-nav .wp-block-navigation-item__content {
  color: white;
  text-decoration: none;
}

.ag-main-nav .wp-block-navigation-item__content:hover {
  color: var(--ag-teal);
}

.ag-header-cta {
  flex: 0 0 auto;
}

.wp-block-button__link {
  display: inline-flex;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 0;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
}

.wp-block-button__link:hover {
  transform: translateY(-2px);
}

.ag-button-outline .wp-block-button__link {
  border-color: currentcolor;
  background: transparent !important;
  color: inherit !important;
}

.ag-hero {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 780px;
  padding: 112px 0 84px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgb(5 18 29 / 96%) 0%, rgb(5 18 29 / 86%) 46%, rgb(5 18 29 / 34%) 76%, rgb(5 18 29 / 16%) 100%),
    linear-gradient(0deg, rgb(5 18 29 / 54%) 0%, transparent 48%),
    url("../images/agestora-dashboard-hero.jpg") 58% center / cover no-repeat;
  color: white;
  align-items: center;
}

.ag-hero-inner {
  width: var(--ag-shell);
  max-width: none !important;
  margin: 0 auto !important;
}

.ag-hero-copy {
  max-width: 820px !important;
  margin: 0 !important;
}

.ag-hero h1,
.ag-hero h2,
.ag-hero h3 {
  color: white;
}

.ag-hero h1 {
  max-width: 980px;
  margin-bottom: 24px;
  font-size: 6rem;
  line-height: 0.96;
}

.ag-hero-home h1 {
  font-size: 8rem;
}

.ag-hero h1 strong,
.ag-hero h1 mark {
  background: transparent;
  color: var(--ag-teal);
}

.ag-hero .ag-lead {
  max-width: 720px;
  margin-bottom: 0;
  color: rgb(255 255 255 / 84%);
  font-size: 1.28rem;
  line-height: 1.55;
}

.ag-eyebrow {
  margin-bottom: 22px;
  color: var(--ag-teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ag-hero .ag-eyebrow,
.ag-dark .ag-eyebrow,
.ag-ink .ag-eyebrow {
  color: #baf5ee;
}

.ag-actions {
  margin-top: 32px;
  gap: 12px;
}

.ag-proof {
  display: flex;
  margin-top: 34px;
  flex-wrap: wrap;
  gap: 10px 26px;
}

.ag-proof p {
  margin: 0;
  color: rgb(255 255 255 / 72%);
  font-size: 0.88rem;
}

.ag-proof p::before {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border: 2px solid var(--ag-teal);
  border-radius: 50%;
  content: "";
}

.ag-band {
  width: 100%;
  padding: 112px 0;
  background: white;
}

.ag-mist {
  background: var(--ag-mist);
}

.ag-teal-band {
  background: #e9f3f0;
}

.ag-dark {
  background: var(--ag-ink-deep);
  color: white;
}

.ag-ink {
  background: var(--ag-ink);
  color: white;
}

.ag-dark h2,
.ag-dark h3,
.ag-ink h2,
.ag-ink h3 {
  color: white;
}

.ag-section-intro {
  display: grid;
  width: 100%;
  margin-bottom: 62px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  align-items: end;
  gap: 80px;
}

.ag-section-intro h2 {
  max-width: 1050px;
  margin-bottom: 0;
}

.ag-section-intro > p:last-child,
.ag-section-copy {
  max-width: 640px;
  margin-bottom: 5px;
  color: var(--ag-ink-soft);
  font-size: 1.07rem;
}

.ag-dark .ag-section-intro > p:last-child,
.ag-ink .ag-section-intro > p:last-child,
.ag-dark .ag-section-copy,
.ag-ink .ag-section-copy {
  color: rgb(255 255 255 / 68%);
}

.ag-grid-2,
.ag-grid-3,
.ag-grid-4 {
  display: grid !important;
  width: 100%;
  gap: 24px;
}

.ag-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ag-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ag-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ag-feature {
  min-width: 0;
  min-height: 260px;
  padding: 28px 0 0;
  border-top: 3px solid var(--ag-ink);
}

.ag-dark .ag-feature,
.ag-ink .ag-feature {
  border-color: rgb(255 255 255 / 28%);
}

.ag-feature .ag-number {
  display: block;
  margin-bottom: 56px;
  color: var(--ag-teal-dark);
  font-size: 0.8rem;
  font-weight: 800;
}

.ag-dark .ag-feature .ag-number,
.ag-ink .ag-feature .ag-number {
  color: var(--ag-teal);
}

.ag-feature h3 {
  margin-bottom: 10px;
  font-size: 1.45rem;
}

.ag-feature p {
  margin-bottom: 0;
  color: var(--ag-ink-soft);
}

.ag-dark .ag-feature p,
.ag-ink .ag-feature p {
  color: rgb(255 255 255 / 64%);
}

.ag-card {
  min-width: 0;
  padding: 34px;
  border: 1px solid var(--ag-line);
  background: white;
}

.ag-card h3 {
  font-size: 1.5rem;
}

.ag-card p,
.ag-card li {
  color: var(--ag-ink-soft);
}

.ag-card > :last-child {
  margin-bottom: 0;
}

.ag-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.ag-list li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 22px;
}

.ag-list li::before {
  position: absolute;
  top: 0.64em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--ag-teal);
  content: "";
}

.ag-service-list {
  width: 100%;
  border-top: 1px solid var(--ag-line);
}

.ag-service-row {
  display: grid !important;
  width: 100%;
  min-height: 190px;
  padding: 34px 0;
  border-bottom: 1px solid var(--ag-line);
  grid-template-columns: 70px minmax(220px, 0.55fr) minmax(0, 1.25fr) auto;
  align-items: start;
  gap: 28px;
}

.ag-service-row .ag-number {
  color: var(--ag-teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.ag-service-row h3 {
  font-size: 1.55rem;
}

.ag-service-row p {
  max-width: 760px;
  color: var(--ag-ink-soft);
}

.ag-state {
  display: inline-flex;
  min-height: 30px;
  padding: 0 10px;
  background: var(--ag-teal-pale);
  color: var(--ag-teal-dark);
  align-items: center;
  font-size: 0.74rem;
  font-weight: 800;
  white-space: nowrap;
}

.ag-state-future {
  background: #e9edf8;
  color: var(--ag-blue);
}

.ag-split {
  display: grid !important;
  width: 100%;
  grid-template-columns: minmax(0, 0.85fr) minmax(480px, 1.15fr);
  align-items: center;
  gap: 90px;
}

.ag-split-copy {
  max-width: 680px;
}

.ag-split-copy > p:not(.ag-eyebrow) {
  color: var(--ag-ink-soft);
  font-size: 1.06rem;
}

.ag-dark .ag-split-copy > p:not(.ag-eyebrow),
.ag-ink .ag-split-copy > p:not(.ag-eyebrow) {
  color: rgb(255 255 255 / 68%);
}

.ag-product-panel {
  padding: 26px;
  border: 1px solid rgb(255 255 255 / 16%);
  background: #0d263b;
  box-shadow: 0 30px 70px rgb(0 0 0 / 24%);
}

.ag-panel-head {
  display: flex !important;
  padding-bottom: 18px;
  border-bottom: 1px solid rgb(255 255 255 / 13%);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ag-panel-head p,
.ag-panel-head strong {
  margin: 0;
}

.ag-panel-head p {
  color: rgb(255 255 255 / 52%);
  font-size: 0.8rem;
}

.ag-panel-row {
  display: grid !important;
  min-height: 76px;
  padding: 14px 0;
  border-bottom: 1px solid rgb(255 255 255 / 10%);
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
}

.ag-panel-row h3,
.ag-panel-row p {
  margin: 0;
}

.ag-panel-row p {
  color: rgb(255 255 255 / 54%);
  font-size: 0.82rem;
}

.ag-panel-row strong {
  color: var(--ag-teal);
  font-size: 0.76rem;
}

.ag-status-list {
  max-width: 1120px !important;
  margin: 0 auto !important;
  border-top: 1px solid var(--ag-line);
}

.ag-status-row {
  display: grid !important;
  min-height: 122px;
  padding: 26px 0;
  border-bottom: 1px solid var(--ag-line);
  grid-template-columns: 130px 28px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}

.ag-status-row > p:first-child {
  margin: 0;
  color: var(--ag-ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

.ag-dot {
  width: 14px;
  height: 14px;
  border: 4px solid #bdece6;
  border-radius: 50%;
  background: var(--ag-teal-dark);
}

.ag-status-row h3,
.ag-status-row p {
  margin-bottom: 2px;
}

.ag-status-row p {
  color: var(--ag-ink-soft);
}

.ag-pricing-grid {
  align-items: stretch;
}

.ag-price-card {
  display: flex;
  min-height: 610px;
  padding: 34px;
  border: 1px solid var(--ag-line);
  background: white;
  flex-direction: column;
}

.ag-price-card-featured {
  border-top: 5px solid var(--ag-teal);
  box-shadow: 0 18px 50px rgb(8 28 44 / 13%);
}

.ag-price-card-custom {
  border-color: var(--ag-ink);
  background: #eaf0f3;
}

.ag-plan-head {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.ag-plan-head h3,
.ag-plan-head p {
  margin: 0;
}

.ag-plan-badge {
  padding: 6px 10px;
  background: var(--ag-teal-pale);
  color: var(--ag-teal-dark) !important;
  font-size: 0.75rem;
  font-weight: 800;
}

.ag-plan-fit {
  min-height: 52px;
  margin: 14px 0 0;
  color: var(--ag-ink-soft);
  font-size: 0.9rem;
}

.ag-price {
  display: flex !important;
  margin: 26px 0 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ag-line);
  align-items: flex-end;
  gap: 10px;
}

.ag-price strong {
  font-family: Manrope, Inter, Arial, sans-serif;
  font-size: 3.7rem;
  line-height: 1;
}

.ag-price span {
  margin-bottom: 5px;
  color: var(--ag-ink-soft);
  font-size: 0.85rem;
}

.ag-price-card .ag-list {
  margin-bottom: 28px;
  flex: 1;
}

.ag-price-card .wp-block-buttons {
  margin-top: auto;
}

.ag-price-card .wp-block-button,
.ag-price-card .wp-block-button__link {
  width: 100%;
}

.ag-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--ag-line);
  background: white;
}

.ag-table-wrap table {
  width: 100%;
  min-width: 930px;
  margin: 0;
  border-collapse: collapse;
}

.ag-table-wrap th,
.ag-table-wrap td {
  padding: 18px 20px;
  border: 1px solid var(--ag-line);
  text-align: left;
  vertical-align: top;
}

.ag-table-wrap thead th {
  background: var(--ag-ink-deep);
  color: white;
}

.ag-table-wrap tbody th {
  min-width: 250px;
  color: var(--ag-ink);
}

.ag-table-wrap td {
  color: var(--ag-ink-soft);
  font-size: 0.9rem;
}

.ag-check {
  color: var(--ag-teal-dark);
  font-weight: 800;
}

.ag-notice {
  padding: 26px 28px;
  border-left: 4px solid var(--ag-blue);
  background: #edf2ff;
}

.ag-notice p {
  margin: 0;
  color: var(--ag-ink-soft);
}

.ag-faq {
  border-top: 1px solid var(--ag-line);
}

.ag-faq details {
  padding: 0;
  border-bottom: 1px solid var(--ag-line);
}

.ag-faq summary {
  min-height: 82px;
  padding: 24px 44px 24px 0;
  color: var(--ag-ink);
  font-family: Manrope, Inter, Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 750;
  cursor: pointer;
}

.ag-faq details > :not(summary) {
  max-width: 820px;
  padding: 0 40px 26px 0;
  color: var(--ag-ink-soft);
}

.ag-cta {
  width: 100%;
  padding: 88px 0;
  background: var(--ag-teal-dark);
  color: white;
}

.ag-cta-inner {
  display: flex !important;
  width: var(--ag-shell);
  max-width: none !important;
  margin: 0 auto !important;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.ag-cta h2 {
  max-width: 1050px;
  margin-bottom: 0;
  color: white;
}

.ag-cta p {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgb(255 255 255 / 72%);
}

.ag-contact-list {
  border-top: 1px solid var(--ag-line);
}

.ag-contact-row {
  display: grid !important;
  min-height: 126px;
  padding: 26px 0;
  border-bottom: 1px solid var(--ag-line);
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.ag-contact-row h3,
.ag-contact-row p {
  margin-bottom: 2px;
}

.ag-contact-row p {
  color: var(--ag-ink-soft);
}

.ag-legal {
  min-height: 70vh;
  padding: 150px 0 100px;
  background: var(--ag-mist);
}

.ag-legal-inner {
  width: min(1080px, calc(100% - 64px));
  margin: 0 auto !important;
}

.ag-legal h1 {
  font-size: 4.5rem;
}

.ag-legal h2 {
  margin-top: 42px;
  font-size: 1.55rem;
}

.ag-error-page,
.ag-index {
  min-height: 68vh;
  padding: 170px 32px 100px;
}

.ag-site-footer {
  width: 100%;
  padding: 76px 0 28px;
}

.ag-footer-grid,
.ag-footer-bottom {
  width: var(--ag-shell);
  max-width: none !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.ag-footer-grid {
  gap: 54px;
}

.ag-footer-brand p {
  max-width: 410px;
  color: rgb(255 255 255 / 58%);
}

.ag-site-footer h3 {
  color: rgb(255 255 255 / 48%);
}

.ag-site-footer p,
.ag-site-footer a {
  color: rgb(255 255 255 / 72%);
}

.ag-site-footer a:hover {
  color: var(--ag-teal);
}

.ag-footer-bottom {
  margin-top: 48px !important;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 14%);
}

.ag-footer-bottom p {
  margin: 0;
  color: rgb(255 255 255 / 46%);
}

@media (max-width: 1760px) {
  .ag-pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1120px) {
  :root {
    --ag-shell: calc(100% - 40px);
  }

  h1,
  .ag-hero h1 {
    font-size: 4.7rem;
  }

  .ag-hero-home h1 {
    font-size: 6.2rem;
  }

  h2 {
    font-size: 3.4rem;
  }

  .ag-main-nav {
    font-size: 0.82rem;
  }

  .ag-main-nav .wp-block-navigation__container {
    gap: 14px;
  }

  .ag-header-inner {
    gap: 18px;
  }

  .ag-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ag-split {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .ag-split-copy {
    max-width: 820px;
  }
}

@media (max-width: 900px) {
  .admin-bar .ag-site-header {
    top: 46px;
  }

  .ag-site-header .ag-header-cta {
    display: none;
  }

  .ag-main-nav {
    margin-left: auto;
  }

  .ag-section-intro {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .ag-section-intro > p:last-child {
    max-width: 760px;
  }

  .ag-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ag-service-row {
    grid-template-columns: 54px minmax(180px, 0.6fr) minmax(0, 1.4fr);
  }

  .ag-service-row .ag-state {
    justify-self: start;
    grid-column: 2 / -1;
  }
}

@media (max-width: 700px) {
  :root {
    --ag-shell: calc(100% - 32px);
  }

  html {
    scroll-padding-top: 72px;
  }

  h1,
  .ag-hero h1,
  .ag-hero-home h1 {
    font-size: 3.25rem;
    line-height: 1;
  }

  h2 {
    font-size: 2.35rem;
  }

  .ag-header-inner {
    min-height: 70px;
  }

  .ag-wordmark {
    font-size: 1.45rem;
  }

  .wp-block-navigation__responsive-container.is-menu-open {
    padding: 26px 20px;
    background: var(--ag-ink-deep) !important;
    color: white !important;
  }

  .ag-hero {
    min-height: 740px;
    padding: 92px 0 64px;
    background:
      linear-gradient(0deg, rgb(5 18 29 / 98%) 0%, rgb(5 18 29 / 86%) 62%, rgb(5 18 29 / 35%) 100%),
      url("../images/agestora-dashboard-hero.jpg") 64% center / cover no-repeat;
    align-items: flex-end;
  }

  .ag-hero .ag-lead {
    font-size: 1rem;
  }

  .ag-actions,
  .ag-actions .wp-block-button,
  .ag-actions .wp-block-button__link {
    width: 100%;
  }

  .ag-proof {
    display: grid;
    gap: 7px;
  }

  .ag-band {
    padding: 78px 0;
  }

  .ag-grid-2,
  .ag-grid-3,
  .ag-grid-4 {
    grid-template-columns: 1fr;
  }

  .ag-feature {
    min-height: 0;
  }

  .ag-feature .ag-number {
    margin-bottom: 32px;
  }

  .ag-service-row {
    min-height: 0;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
  }

  .ag-service-row > :nth-child(n + 3) {
    grid-column: 2;
  }

  .ag-product-panel,
  .ag-card,
  .ag-price-card {
    padding: 24px;
  }

  .ag-price-card {
    min-height: 0;
  }

  .ag-plan-fit {
    min-height: 0;
  }

  .ag-plan-head,
  .ag-price {
    align-items: flex-start;
    flex-direction: column;
  }

  .ag-price strong {
    font-size: 3rem;
  }

  .ag-status-row {
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 12px;
  }

  .ag-status-row > p:first-child {
    grid-column: 2;
    grid-row: 1;
  }

  .ag-status-row .ag-dot {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .ag-status-row > div:last-child {
    grid-column: 2;
  }

  .ag-cta {
    padding: 64px 0;
  }

  .ag-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .ag-cta-inner .wp-block-button,
  .ag-cta-inner .wp-block-button__link {
    width: 100%;
  }

  .ag-contact-row {
    grid-template-columns: 1fr;
  }

  .ag-legal {
    padding: 110px 0 72px;
  }

  .ag-legal-inner {
    width: calc(100% - 32px);
  }

  .ag-legal h1 {
    font-size: 3rem;
  }

  .ag-footer-grid {
    gap: 34px;
  }

  .ag-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
