/**
 * Atotsugi Support Center — Site Design System
 * atotsugi-site.css v1.2.25
 *
 * Consolidated from the current XServer stylesheet; density hierarchy audit + Owners case hierarchy + full-site component audit integrated 2026-08-24.
 * v1.2.24 (2026-08-26): Removed text-wrap: balance from blog post H1/H2/H3 only; retained it for .atg-page headings.
 * v1.2.25 (2026-08-26): Added text-wrap: pretty to blog post H2/H3 only; blog H1 remains normal wrap and .atg-page headings retain balance.
 *
 * Quality baseline:
 * - H1: 36–56px / SP 32–40px
 * - H2: 30–38px / SP 26–32px
 * - H3: 20–24px / SP 19–22px
 * - Lead: 18–20px / SP 17–18px
 * - Body: 17px / SP 16px
 * - Note: 14–15px / SP 14px
 * - Body line-height: 1.8 / SP 1.75–1.8
 * - spacing scale: 8 / 16 / 24 / 32 / 48 / 64 / 80 / 96
 *
 * Principles:
 * - semantic HTML first
 * - WCAG 2.2 AA target
 * - responsive without essential JavaScript dependency
 * - ATG namespace to reduce Lightning / VK Blocks collisions
 * - no version-by-version override stacking
 * - Lightning owns fixed-header behavior; site CSS owns header appearance
 * - cards only where the information structure benefits from cards
 * - spacing expresses hierarchy: major themes > subtopics > short information units
 */

/* ==========================================================
 * 01. DESIGN TOKENS
 * ========================================================== */

:root {
  --atg-brand: #3c73c8;
  --atg-brand-hover: #2f5fa8;
  --atg-text: #111111;
  --atg-text-muted: #596273;
  --atg-bg: #ffffff;
  --atg-bg-subtle: #f7f8fa;
  --atg-border: #e3e7ed;
  --atg-focus: #111111;

  --atg-content: 1200px;
  --atg-reading: 720px;
  --atg-reading-wide: 760px;
  --atg-inline: clamp(20px, 4vw, 40px);
  --atg-header-height: 76px;

  --atg-space-1: 8px;
  --atg-space-2: 16px;
  --atg-space-3: 24px;
  --atg-space-4: 32px;
  --atg-space-5: 48px;
  --atg-space-6: 64px;
  --atg-space-7: 80px;
  --atg-space-8: 96px;

  /* Semantic rhythm: H2 -> first explanatory text */
  --atg-heading-intro-gap: var(--atg-space-3);

  --atg-radius-sm: 4px;
  --atg-radius-md: 8px;

  --atg-font-sans:
    "Zen Kaku Gothic New",
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    Meiryo,
    sans-serif;
}


/* ==========================================================
 * 02. BASE / SCOPE / ACCESSIBILITY
 * ========================================================== */

[class^="atg-"],
[class*=" atg-"],
[class^="atg-"] *,
[class*=" atg-"] * {
  box-sizing: border-box;
}

.atg-page {
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
  overflow: clip;
  background: var(--atg-bg);
  color: var(--atg-text);
  font-family: var(--atg-font-sans);
  font-size: 17px;
  line-height: 1.8;
  letter-spacing: 0.01em;
}

@supports (width: 100dvw) {
  .atg-page {
    width: 100dvw;
    max-width: 100dvw;
    margin-inline: calc(50% - 50dvw);
  }
}

.atg-page img {
  max-width: 100%;
  height: auto;
}

.atg-page :is(section, h1, h2, h3)[id] {
  scroll-margin-top: 110px;
}

.atg-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.atg-page :focus-visible,
.atg-table-scroll:focus-visible,
.atg-global-header :is(a, button):focus-visible,
.atg-site-footer :is(a, button):focus-visible {
  outline: 3px solid var(--atg-focus);
  outline-offset: 4px;
}

/* ==========================================================
 * 03. LAYOUT
 * ========================================================== */

.atg-container,
.atg-hero__inner,
.atg-subhero__inner,
.atg-callout__inner,
.atg-global-header__inner {
  width: min(var(--atg-content), calc(100% - (var(--atg-inline) * 2)));
  margin-inline: auto;
}

.atg-reading {
  width: min(100%, var(--atg-reading));
}

.atg-reading--wide {
  width: min(100%, var(--atg-reading-wide));
}

.atg-section {
  padding-block: clamp(56px, 4.8vw, 64px);
  background: var(--atg-bg);
  color: var(--atg-text);
}

.atg-section--compact {
  padding-block: clamp(40px, 3.8vw, 48px);
}

/*
 * 404 uses Lightning's own page header and breadcrumb above the ATG content.
 * Avoid stacking the compact section's top padding on top of Lightning's
 * template spacing; keep the normal compact bottom padding.
 */
.atg-page--404 .atg-section--compact {
  padding-top: 0;
}

.atg-section--subtle {
  background: var(--atg-bg-subtle);
}

.atg-section__header {
  max-width: var(--atg-reading-wide);
  margin-bottom: var(--atg-space-4);
}

.atg-section__header .atg-lead {
  color: var(--atg-text-muted);
}

/* Components below a section header already have their own internal rhythm.
 * Avoid adding the component's top margin on top of the header gap. */
.atg-section__header + :is(
  .atg-choice-grid,
  .atg-network-map,
  .atg-process-wrap,
  .atg-media-showcase,
  .atg-representative,
  .atg-dual-scope,
  .atg-ecosystem
) {
  margin-top: 0;
}

.atg-stack > * {
  margin-block: 0;
}


.atg-grid {
  display: grid;
  gap: var(--atg-space-4);
}

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

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

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

.atg-intro-grid,
.atg-split {
  display: grid;
  grid-template-columns: minmax(260px, .78fr) minmax(0, 1.22fr);
  gap: clamp(48px, 7vw, 88px);
  align-items: start;
}


/* ==========================================================
 * 04. TYPOGRAPHY
 * ========================================================== */

.atg-eyebrow,
.atg-label {
  margin: 0 0 var(--atg-space-2);
  
  font-family: var(--atg-font-sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .04em;
}

.atg-display {
  margin: 0;
  color: var(--atg-text);
  font-family: var(--atg-font-sans);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -.02em;
}

.atg-heading {
  margin: 0;
  color: var(--atg-text);
  font-family: var(--atg-font-sans);
  font-size: clamp(30px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -.01em;
}

.atg-subheading {
  margin: 0;
  color: var(--atg-text);
  font-family: var(--atg-font-sans);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.5;
}

.atg-lead {
  width: min(100%, var(--atg-reading-wide));
  margin: 0;
  color: var(--atg-text);
  font-family: var(--atg-font-sans);
  font-size: clamp(18px, 1.5vw, 20px);
  line-height: 1.8;
}

.atg-copy {
  width: min(100%, var(--atg-reading));
  margin: 0;
  color: var(--atg-text);
  font-family: var(--atg-font-sans);
  font-size: 17px;
  line-height: 1.8;
}

.atg-copy + .atg-copy {
  margin-top: var(--atg-space-3);
}

/*
 * Shared vertical rhythm.
 * Keep this AFTER typography margin resets so component-level margin:0
 * cannot erase spacing inside .atg-stack.
 */
.atg-stack > * + * {
  margin-top: var(--atg-space-4);
}

/* Paragraph-to-paragraph rhythm */
.atg-stack > .atg-copy + .atg-copy {
  margin-top: var(--atg-space-3);
}

/* Heading / emphasis / lead -> explanatory text */
.atg-section__header > .atg-heading + :is(.atg-lead, .atg-copy),
.atg-stack > :is(.atg-heading, .atg-subheading, .atg-lead) + :is(.atg-lead, .atg-copy) {
  margin-top: var(--atg-heading-intro-gap);
}

.atg-muted {
  color: var(--atg-text-muted);
}

.atg-heading-line {
  display: block;
}

.atg-legal-note,
.atg-note-small {
  margin: 0;
  color: var(--atg-text-muted);
  font-family: var(--atg-font-sans);
  font-size: 14px;
  line-height: 1.75;
}



/* Japanese line breaking
 * - Site-wide: standard Japanese kinsoku line-breaking.
 * - Headings / short UI copy: phrase-aware wrapping where supported.
 * - Long-form body copy remains normal line wrapping to avoid ragged lines.
 */
.atg-page,
.atg-global-header,
.atg-site-footer,
.single-post .entry-title,
.single-post .entry-body {
  line-break: strict;
  word-break: normal;
}

.atg-page :is(h1, h2, h3, h4) {
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
}

.single-post .entry-title {
  overflow-wrap: normal;
  word-break: normal;
}

.single-post :is(.entry-body h2, .entry-body h3) {
  text-wrap: pretty;
  overflow-wrap: normal;
  word-break: normal;
}

@supports (word-break: auto-phrase) {
  .atg-page :is(
    h1,
    h2,
    h3,
    h4,
    .atg-subheading,
    .atg-card__text,
    .atg-stakeholder-card__text,
    .atg-role__text,
    .atg-process__text,
    .atg-number-list__text,
    .atg-list__item,
    .atg-stage-list__item,
    .atg-choice-item__text,
    .atg-network-map__text,
    .atg-ecosystem__text,
    .atg-scope-block__text,
    .atg-fee-box__text,
    .atg-screenshot__text,
    .atg-callout__text,
    .atg-notice__text
  ),
  .atg-site-footer__text,
  .single-post :is(.entry-title, .entry-body h2, .entry-body h3) {
    word-break: auto-phrase;
  }
}

/* ==========================================================
 * 05. LINKS / BUTTONS
 * ========================================================== */

.atg-link {
  color: var(--atg-text);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.atg-link:hover {
  
}

.atg-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--atg-radius-sm);
  font-family: var(--atg-font-sans);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.atg-button--primary {
  background: var(--atg-brand);
  color: #ffffff;
}

.atg-button--primary:hover {
  background: var(--atg-brand-hover);
  color: #ffffff;
}

.atg-button--secondary {
  border-color: var(--atg-text);
  background: transparent;
  color: var(--atg-text);
}

.atg-button--secondary:hover {
  background: var(--atg-text);
  color: #ffffff;
}

.atg-inline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--atg-space-2) var(--atg-space-3);
  margin-top: var(--atg-space-4);
}


/* ==========================================================
 * 06. HERO / SUBHERO
 * ========================================================== */

.atg-hero {
  background: var(--atg-bg);
  color: var(--atg-text);
}

.atg-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
  padding-block: clamp(80px, 8vw, 104px);
}

.atg-hero__title span {
  display: block;
}

.atg-hero__lead {
  max-width: 700px;
  margin-top: var(--atg-space-4);
}

.atg-hero__meta,
.atg-subhero__meta,
.atg-final__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--atg-space-1) var(--atg-space-3);
  margin: var(--atg-space-3) 0 0;
  padding: 0;
  list-style: none;
  color: var(--atg-text-muted);
  font-family: var(--atg-font-sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

.atg-hero__meta li {
  position: relative;
}

.atg-hero__meta li + li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -13px;
  width: 1px;
  height: 1em;
  background: var(--atg-border);
  transform: translateY(-50%);
}

.atg-hero__actions,
.atg-subhero__actions,
.atg-final__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--atg-space-3);
  margin-top: var(--atg-space-5);
}

.atg-hero__visual {
  position: relative;
  display: flex;
  min-height: 320px;
  align-items: center;
  justify-content: center;
}

.atg-hero__visual::before {
  content: "";
  display: block;
  width: min(100%, 360px);
  aspect-ratio: 1;
  background: url("../img/atotsugi-f8-symbol.svg") center / contain no-repeat;
}

.atg-hero__visual img,
.atg-hero__visual svg {
  display: block;
  width: min(100%, 360px);
  height: auto;
}

.atg-subhero {
  border-bottom: 1px solid var(--atg-border);
  background: linear-gradient(180deg, var(--atg-bg-subtle) 0%, var(--atg-bg) 100%);
}

.atg-subhero__inner {
  padding-block: clamp(72px, 7vw, 96px);
}

.atg-subhero__copy {
  max-width: 880px;
}

.atg-subhero__lead {
  max-width: var(--atg-reading-wide);
  margin-top: var(--atg-space-3);
  color: var(--atg-text-muted);
}


/* ==========================================================
 * 07. CARDS / STAKEHOLDER PATHS
 * ========================================================== */

.atg-card {
  min-width: 0;
  padding: var(--atg-space-3);
  border: 1px solid var(--atg-border);
  border-radius: var(--atg-radius-md);
  background: var(--atg-bg);
}

.atg-card__title {
  margin: 0;
  color: var(--atg-text);
  font-size: clamp(20px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.5;
}

.atg-card__text {
  margin: 12px 0 0;
  color: var(--atg-text-muted);
  font-size: 16px;
  line-height: 1.8;
}

.atg-card__link {
  display: inline-block;
  margin-top: var(--atg-space-3);
}

.atg-stakeholder-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: var(--atg-space-4);
  border-top: 3px solid var(--atg-brand);
  background: var(--atg-bg);
  color: var(--atg-text);
  text-decoration: none;
}

.atg-stakeholder-card:hover {
  border-top-color: var(--atg-brand-hover);
  color: var(--atg-text);
}

.atg-stakeholder-card__title {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.5;
}

.atg-stakeholder-card__text {
  margin: var(--atg-space-2) 0 0;
  color: var(--atg-text-muted);
  font-size: 15px;
  line-height: 1.8;
}

.atg-stakeholder-card__more {
  margin-top: auto;
  padding-top: var(--atg-space-3);
  
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}


/* ==========================================================
 * 08. EDITORIAL LISTS / STAGES / BARRIERS
 * ========================================================== */

.atg-stage-panel {
  border-top: 1px solid var(--atg-border);
}

.atg-stage-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.atg-stage-list__item {
  position: relative;
  min-height: 80px;
  padding: var(--atg-space-3) var(--atg-space-4) var(--atg-space-3) var(--atg-space-5);
  border-bottom: 1px solid var(--atg-border);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
}

.atg-stage-list__item:nth-child(odd) {
  border-right: 1px solid var(--atg-border);
}

.atg-stage-list__item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  border-right: 0;
}

.atg-stage-list__item::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 24px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--atg-brand);
  border-bottom: 2px solid var(--atg-brand);
  transform: rotate(-45deg);
}

.atg-stage-conclusion {
  margin: var(--atg-space-4) 0 0;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.7;
}

.atg-barriers {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--atg-border);
}

.atg-barrier {
  display: grid;
  grid-template-columns: 64px minmax(150px, .42fr) minmax(0, 1fr);
  gap: var(--atg-space-3);
  align-items: start;
  padding: var(--atg-space-4) 0;
  border-bottom: 1px solid var(--atg-border);
}

.atg-barrier__number {
  
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.6;
}

.atg-barrier__title {
  margin: 0;
  font-size: clamp(21px, 2.2vw, 24px);
  font-weight: 700;
  line-height: 1.5;
}

.atg-barrier__text {
  margin: 0;
  color: var(--atg-text-muted);
  font-size: 17px;
  line-height: 1.8;
}

.atg-barriers__conclusion {
  max-width: var(--atg-reading-wide);
  margin: var(--atg-space-4) 0 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.8;
}

.atg-list,
.atg-number-list,
.atg-trust-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--atg-border);
}

.atg-list__item {
  position: relative;
  padding: var(--atg-space-3) 4px var(--atg-space-3) 28px;
  border-bottom: 1px solid var(--atg-border);
  font-size: 17px;
  line-height: 1.8;
}

.atg-list__item::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--atg-brand);
}

.atg-number-list {
  counter-reset: atg-number;
}

.atg-number-list__item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: var(--atg-space-2);
  padding: var(--atg-space-3) 0;
  border-bottom: 1px solid var(--atg-border);
  counter-increment: atg-number;
}

.atg-number-list__item::before {
  content: "0" counter(atg-number);
  padding-top: 4px;
  
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
}

.atg-number-list__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.55;
}

.atg-number-list__text {
  margin: var(--atg-space-1) 0 0;
  color: var(--atg-text-muted);
  font-size: 17px;
  line-height: 1.8;
}


/* ==========================================================
 * 09. PROCESS
 * ========================================================== */

.atg-process-wrap {
  margin-top: var(--atg-space-5);
}

.atg-process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--atg-space-2);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: atg-step;
}

.atg-process__item {
  position: relative;
  min-width: 0;
  padding: var(--atg-space-2) var(--atg-space-2) 0;
  border-top: 3px solid var(--atg-brand);
  counter-increment: atg-step;
}

.atg-process__item::before {
  content: "0" counter(atg-step);
  display: block;
  margin-bottom: var(--atg-space-1);
  
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
}

.atg-process__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.atg-process__text {
  margin: var(--atg-space-1) 0 0;
  color: var(--atg-text-muted);
  font-size: 15px;
  line-height: 1.75;
}

.atg-choice-note {
  margin-top: var(--atg-space-5);
  padding: var(--atg-space-3) var(--atg-space-4);
  border-left: 4px solid var(--atg-brand);
  background: var(--atg-bg-subtle);
  font-size: clamp(18px, 2vw, 21px);
  font-weight: 700;
  line-height: 1.7;
}


/* ==========================================================
 * 10. TRUST / NOTICE / PROFILE / DEFINITIONS
 * ========================================================== */

.atg-notice {
  padding: var(--atg-space-3);
  border-left: 4px solid var(--atg-brand);
  background: var(--atg-bg-subtle);
}

.atg-notice__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.atg-notice__text {
  margin: var(--atg-space-1) 0 0;
  color: var(--atg-text);
  font-size: 15px;
  line-height: 1.8;
}

.atg-trust-layout {
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr);
  gap: clamp(48px, 8vw, 96px);
  align-items: start;
}

.atg-trust-list__item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: var(--atg-space-2);
  padding: var(--atg-space-3) 0;
  border-bottom: 1px solid var(--atg-border);
}

.atg-trust-list__mark {
  
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}

.atg-trust-list__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
}

.atg-trust-list__text {
  margin: var(--atg-space-1) 0 0;
  color: var(--atg-text-muted);
  font-size: 15px;
  line-height: 1.8;
}

.atg-profile-note {
  padding-left: var(--atg-space-3);
  border-left: 3px solid var(--atg-brand);
}

.atg-profile-note p {
  margin: 0;
  font-size: 17px;
  line-height: 1.8;
}

.atg-profile-note p + p {
  margin-top: var(--atg-space-2);
}

.atg-definition {
  margin: 0;
}

.atg-definition__row {
  display: grid;
  grid-template-columns: minmax(140px, .35fr) minmax(0, 1fr);
  gap: var(--atg-space-3);
  padding: var(--atg-space-3) 0;
  border-bottom: 1px solid var(--atg-border);
}

.atg-definition__row:first-child {
  border-top: 1px solid var(--atg-border);
}

.atg-definition dt {
  margin: 0;
  color: var(--atg-text-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

.atg-definition dd {
  margin: 0;
  font-size: 17px;
  line-height: 1.8;
}


/* ==========================================================
 * 11. FACTS / ROLES
 * ========================================================== */

.atg-fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--atg-border);
  border-left: 1px solid var(--atg-border);
}

.atg-fact {
  min-width: 0;
  padding: 20px 24px;
  border-right: 1px solid var(--atg-border);
  border-bottom: 1px solid var(--atg-border);
  background: var(--atg-bg);
}

.atg-fact__label {
  margin: 0 0 var(--atg-space-1);
  color: var(--atg-text-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.atg-fact__value {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}

.atg-role-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--atg-border);
  border-left: 1px solid var(--atg-border);
}

.atg-role {
  min-width: 0;
  padding: 20px 24px;
  border-right: 1px solid var(--atg-border);
  border-bottom: 1px solid var(--atg-border);
  background: var(--atg-bg);
}

.atg-role__number {
  display: block;
  margin-bottom: var(--atg-space-2);
  
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
}

.atg-role__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.atg-role__text {
  margin: var(--atg-space-1) 0 0;
  color: var(--atg-text-muted);
  font-size: 15px;
  line-height: 1.8;
}


/* ==========================================================
 * 12. PRICING / TABLES / CONTRACT BOUNDARY
 * ========================================================== */

.atg-price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--atg-space-3);
}

.atg-price {
  padding: var(--atg-space-3);
  border: 1px solid var(--atg-border);
  border-radius: var(--atg-radius-md);
  background: var(--atg-bg);
}

.atg-price--featured {
  border: 2px solid var(--atg-brand);
}

.atg-price__name,
.atg-price__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.atg-price__amount,
.atg-price__value {
  margin: var(--atg-space-2) 0 0;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.3;
}

.atg-price__caption,
.atg-price__unit {
  margin: var(--atg-space-1) 0 0;
  color: var(--atg-text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.atg-fee-box {
  padding: var(--atg-space-3);
  border: 1px solid var(--atg-border);
  background: var(--atg-bg);
}

.atg-fee-box--brand {
  border-top: 4px solid var(--atg-brand);
}

.atg-fee-box__name {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.atg-fee-box__amount {
  margin: var(--atg-space-2) 0 0;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.2;
}

.atg-fee-box__amount small {
  font-size: 14px;
  font-weight: 700;
}

.atg-fee-box__text {
  margin: 12px 0 0;
  color: var(--atg-text-muted);
  font-size: 15px;
  line-height: 1.8;
}

.atg-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.atg-price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--atg-bg);
  font-size: 15px;
}

.atg-price-table th,
.atg-price-table td {
  padding: var(--atg-space-2) var(--atg-space-3);
  border: 1px solid var(--atg-border);
  text-align: left;
  vertical-align: top;
  line-height: 1.65;
}

.atg-price-table th {
  background: var(--atg-bg-subtle);
  font-weight: 700;
}

.atg-price-table td strong {
  font-size: 17px;
}

.atg-contract-boundary {
  padding: var(--atg-space-3);
  border: 2px solid var(--atg-brand);
  background: var(--atg-bg);
}

.atg-contract-boundary__title {
  margin: 0;
  color: var(--atg-brand-hover);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  line-height: 1.5;
}

.atg-contract-boundary__text {
  margin: 12px 0 0;
  font-size: 17px;
  line-height: 1.8;
}


/* ==========================================================
 * 13. FAQ
 * ========================================================== */

.atg-faq {
  width: min(100%, var(--atg-reading-wide));
  border-top: 1px solid var(--atg-border);
}

.atg-faq details {
  border-bottom: 1px solid var(--atg-border);
}

.atg-faq summary {
  position: relative;
  padding: var(--atg-space-3) 44px var(--atg-space-3) 4px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
  list-style: none;
}

.atg-faq summary::-webkit-details-marker {
  display: none;
}

.atg-faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  
  font-size: 24px;
  font-weight: 400;
}

.atg-faq details[open] summary::after {
  content: "−";
}

.atg-faq__answer,
.atg-faq details > p {
  margin: 0;
  padding: 0 4px var(--atg-space-3);
  font-size: 16px;
  line-height: 1.8;
}


/* ==========================================================
 * 14. FORMS / CONTACT FORM 7
 * ========================================================== */

.atg-form,
.wpcf7 {
  width: min(100%, var(--atg-reading-wide));
}

.wpcf7 {
  margin: 0 auto var(--atg-space-7);
  font-family: var(--atg-font-sans);
}

.atg-form label,
.wpcf7 label {
  display: block;
  margin-bottom: var(--atg-space-1);
  color: var(--atg-text);
  font-weight: 700;
  line-height: 1.6;
}

/* Required / optional indicators */
.atg-form-note {
  margin: 0 0 var(--atg-space-3);
  color: var(--atg-text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.atg-form-required {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  margin-left: .5em;
  padding: 2px 7px;
  border: 1px solid #d6a09a;
  border-radius: 3px;
  background: #fff1ef;
  color: #8f2f24;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
  vertical-align: .08em;
}

.atg-form-optional {
  margin-left: .25em;
  color: var(--atg-text-muted);
  font-size: 13px;
  font-weight: 500;
}

/* Acceptance checkbox */
.wpcf7 .wpcf7-acceptance label {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-weight: 600;
  line-height: 1.7;
  cursor: pointer;
}

.wpcf7 .wpcf7-acceptance input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin: .15em 0 0;
  accent-
  cursor: pointer;
}

.wpcf7 .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

.atg-form :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea),
.wpcf7 :is(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), select, textarea) {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid #87919f;
  border-radius: var(--atg-radius-sm);
  background: #ffffff;
  color: var(--atg-text);
  font: inherit;
}

.atg-form textarea,
.wpcf7 textarea {
  min-height: 180px;
  resize: vertical;
}

.atg-form .wpcf7-not-valid-tip,
.wpcf7 .wpcf7-not-valid-tip {
  margin-top: var(--atg-space-1);
  color: #b42318;
  font-size: 14px;
  font-weight: 700;
}

.atg-form .wpcf7-response-output,
.wpcf7 .wpcf7-response-output {
  margin: var(--atg-space-3) 0 0 !important;
  padding: var(--atg-space-2) !important;
  border-width: 1px !important;
  border-radius: var(--atg-radius-sm);
  line-height: 1.7;
}

.wpcf7 input[type="submit"] {
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid var(--atg-brand);
  border-radius: var(--atg-radius-sm);
  background: var(--atg-brand);
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.wpcf7 input[type="submit"]:hover {
  background: var(--atg-brand-hover);
}


/* ==========================================================
 * 15. NETWORK MAP
 * ========================================================== */

.atg-network-map {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .9fr) minmax(0, 1fr);
  grid-template-areas:
    ". top ."
    "left center right"
    ". bottom .";
  gap: var(--atg-space-4);
  align-items: stretch;
  margin-top: var(--atg-space-5);
  padding: var(--atg-space-5);
  border: 1px solid var(--atg-border);
  border-radius: var(--atg-radius-md);
  background: var(--atg-bg-subtle);
}

.atg-network-map::before,
.atg-network-map::after {
  content: "";
  position: absolute;
  z-index: 0;
  background: #b8c9e5;
}

.atg-network-map::before {
  top: 50%;
  left: 18%;
  right: 18%;
  height: 1px;
}

.atg-network-map::after {
  top: 18%;
  bottom: 18%;
  left: 50%;
  width: 1px;
}

.atg-network-map__node {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 132px;
  flex-direction: column;
  justify-content: center;
  padding: var(--atg-space-3);
  border: 1px solid var(--atg-border);
  border-radius: var(--atg-radius-md);
  background: #ffffff;
}

.atg-network-map__node--top {
  grid-area: top;
}

.atg-network-map__node--left {
  grid-area: left;
}

.atg-network-map__node--right {
  grid-area: right;
}

.atg-network-map__node--bottom {
  grid-area: bottom;
}

.atg-network-map__node--center {
  grid-area: center;
  border-
  background: var(--atg-brand);
  color: #ffffff;
}

.atg-network-map__title {
  margin: 0;
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 700;
  line-height: 1.5;
}

.atg-network-map__text {
  margin: var(--atg-space-1) 0 0;
  color: var(--atg-text-muted);
  font-size: 14px;
  line-height: 1.75;
}

.atg-network-map__node--center .atg-network-map__title,
.atg-network-map__node--center .atg-network-map__text {
  color: #ffffff;
}

.atg-network-map__caption {
  margin: var(--atg-space-3) 0 0;
  text-align: center;
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 700;
  line-height: 1.7;
}


/* ==========================================================
 * 16. REPRESENTATIVE
 * ========================================================== */

.atg-representative {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 72px);
  align-items: start;
  margin-top: var(--atg-space-5);
}

.atg-representative__visual {
  position: relative;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--atg-border);
  border-radius: var(--atg-radius-md);
  background: #ffffff;
}

.atg-representative__visual img {
  display: block;
  width: 100%;
  height: auto;
}

.atg-representative__content {
  max-width: var(--atg-reading);
}

.atg-representative__name {
  margin: 0 0 var(--atg-space-3);
  font-size: clamp(20px, 2.3vw, 26px);
  font-weight: 700;
  line-height: 1.5;
}

.atg-representative__role {
  display: block;
  margin-bottom: var(--atg-space-1);
  color: var(--atg-text-muted);
  font-size: 14px;
  font-weight: 500;
}

.atg-representative__message {
  display: grid;
  gap: var(--atg-space-2);
}

.atg-representative__message p {
  margin: 0;
  font-size: 17px;
  line-height: 1.8;
}


/* ==========================================================
 * 17. ATOTSUGI NAVI / MEDIA
 * ========================================================== */

.atg-media-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr);
  gap: var(--atg-space-4);
  align-items: start;
  margin-top: var(--atg-space-5);
}

.atg-media-showcase__secondary {
  display: grid;
  gap: var(--atg-space-3);
}

.atg-screenshot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--atg-border);
  border-radius: var(--atg-radius-md);
  background: #ffffff;
}

.atg-screenshot__image {
  display: block;
  width: 100%;
  height: auto;
  background: #ffffff;
}

.atg-screenshot__body {
  padding: var(--atg-space-3);
  border-top: 1px solid var(--atg-border);
}

.atg-screenshot__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
}

.atg-screenshot__text {
  margin: var(--atg-space-1) 0 0;
  color: var(--atg-text-muted);
  font-size: 14px;
  line-height: 1.8;
}

.atg-screenshot__source {
  margin: var(--atg-space-1) 0 0;
  color: var(--atg-text-muted);
  font-size: 12px;
  line-height: 1.6;
}

/* Navi screenshots are evidence/supporting visuals, not product-card headlines. */
.atg-page--navi .atg-screenshot__body {
  padding: var(--atg-space-2) var(--atg-space-3);
}

.atg-page--navi .atg-screenshot__title {
  font-size: 16px;
  line-height: 1.6;
}


/* ==========================================================
 * 17B. SINGLE POST / READING WIDTH
 * Keep long-form post text readable without changing Lightning's
 * global container width or requiring per-post wrapper blocks.
 * ========================================================== */

.single-post .entry-body {
  width: min(100%, var(--atg-reading-wide));
}


/* ==========================================================
 * 18. TOP / EDITORIAL PATTERNS
 * ========================================================== */

.atg-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: var(--atg-space-5) 0 0;
  padding: 0;
  border-top: 1px solid var(--atg-border);
  list-style: none;
}

.atg-choice-item {
  min-width: 0;
  padding: var(--atg-space-3) var(--atg-space-5) var(--atg-space-3) 0;
  border-bottom: 1px solid var(--atg-border);
}

.atg-choice-item:nth-child(odd) {
  padding-right: var(--atg-space-6);
  border-right: 1px solid var(--atg-border);
}

.atg-choice-item:nth-child(even) {
  padding-left: var(--atg-space-6);
}

.atg-choice-item__title {
  margin: 0;
  font-size: clamp(20px, 2vw, 23px);
  font-weight: 700;
  line-height: 1.5;
}

.atg-choice-item__text {
  margin: 12px 0 0;
  color: var(--atg-text-muted);
  font-size: 16px;
  line-height: 1.8;
}

.atg-dual-scope {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: var(--atg-space-5);
  border-top: 1px solid var(--atg-border);
  border-bottom: 1px solid var(--atg-border);
}

.atg-scope-block {
  min-width: 0;
  padding: var(--atg-space-3) 0;
}

.atg-scope-block + .atg-scope-block {
  margin-left: var(--atg-space-6);
  padding-left: var(--atg-space-6);
  border-left: 1px solid var(--atg-border);
}

.atg-scope-block__title {
  margin: 0;
  color: var(--atg-brand-hover);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.atg-scope-block__text {
  margin: 12px 0 0;
  color: var(--atg-text);
  font-size: 17px;
  line-height: 1.8;
}

.atg-ecosystem {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: var(--atg-space-5);
  border-top: 1px solid var(--atg-border);
  border-left: 1px solid var(--atg-border);
}

.atg-ecosystem__item {
  display: block;
  min-width: 0;
  padding: 20px 24px;
  border-right: 1px solid var(--atg-border);
  border-bottom: 1px solid var(--atg-border);
  background: var(--atg-bg);
  color: var(--atg-text);
  text-decoration: none;
}

.atg-ecosystem__item:hover {
  background: var(--atg-bg-subtle);
  color: var(--atg-text);
}

.atg-ecosystem__title {
  display: block;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
}

.atg-ecosystem__text {
  display: block;
  margin-top: var(--atg-space-2);
  color: var(--atg-text-muted);
  font-size: 15px;
  line-height: 1.8;
}


/* ==========================================================
 * 18B. OWNERS / CASE BLOCK RHYTHM
 * Subtopic boundary inside the same major theme.
 * ========================================================== */
.atg-case-block {
  margin-top: var(--atg-space-4);
  padding-top: var(--atg-space-4);
  border-top: 1px solid var(--atg-border);
}

.atg-case-block__title {
  margin: 0;
  color: var(--atg-text);
  font-size: clamp(24px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.45;
}

.atg-case-block__title + .atg-lead {
  margin-top: 12px;
}


/* ==========================================================
 * 19. FINAL CTA / CALLOUT
 * ========================================================== */

.atg-final {
  padding-block: clamp(72px, 7vw, 96px);
  background: #111111;
  color: #ffffff;
}

.atg-final .atg-eyebrow {
  color: #8fb6f0;
}

.atg-final__notice {
  max-width: var(--atg-reading-wide);
  margin: 0 0 var(--atg-space-5);
  padding-bottom: var(--atg-space-4);
  border-bottom: 1px solid rgb(255 255 255 / 24%);
  color: #e7e7e7;
  font-size: 14px;
  line-height: 1.75;
}

.atg-final__title {
  max-width: 820px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(32px, 4.6vw, 48px);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -.02em;
}

.atg-final__lead {
  max-width: var(--atg-reading-wide);
  margin: var(--atg-space-3) 0 0;
  color: #e7e7e7;
  font-size: 18px;
  line-height: 1.8;
}

.atg-final__meta {
  color: #ffffff;
}

.atg-final .atg-button--primary,
.atg-callout .atg-button--primary {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--atg-text);
}

.atg-final .atg-button--primary:hover,
.atg-callout .atg-button--primary:hover {
  background: #eef2f7;
  color: var(--atg-text);
}

.atg-callout {
  padding-block: clamp(56px, 6vw, 76px);
  background: var(--atg-text);
  color: #ffffff;
}

.atg-callout__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--atg-space-4);
  align-items: center;
}

.atg-callout__title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.45;
}

.atg-callout__text {
  max-width: var(--atg-reading-wide);
  margin: var(--atg-space-2) 0 0;
  color: #d5d9df;
  font-size: 16px;
  line-height: 1.8;
}


/* ==========================================================
 * 20. HEADER
 * Fixed / non-fixed behavior is controlled only by Lightning.
 * The Block Template Part contains HTML + interaction JS only.
 * ========================================================== */

.atg-global-header {
  position: relative;
  z-index: 2;
  width: 100%;
  height: var(--atg-header-height);
  margin: 0;
  border-bottom: 1px solid var(--atg-border);
  background: #ffffff;
  color: var(--atg-text);
  font-family: var(--atg-font-sans);
}

.atg-global-header__inner {
  height: 100%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--atg-space-3);
}

.atg-global-header__logo-link {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  margin: 0;
  padding: 0;
  text-decoration: none;
}

.atg-global-header__logo {
  display: block;
  width: 230px;
  height: 38px;
  max-width: none;
  object-fit: contain;
}

.atg-global-header__menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 1.6vw, 24px);
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.atg-global-header__link,
.atg-global-header__dropdown-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: var(--atg-header-height);
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--atg-text);
  font-family: var(--atg-font-sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.atg-global-header__link:hover,
.atg-global-header__link:focus-visible,
.atg-global-header__dropdown-button:hover,
.atg-global-header__dropdown-button:focus-visible {
  color: var(--atg-brand);
}

.atg-global-header__dropdown {
  position: relative;
  display: flex;
  height: var(--atg-header-height);
  align-items: center;
}

.atg-global-header__dropdown-button span {
  margin-left: 6px;
  font-size: 15px;
  line-height: 1;
}

.atg-global-header__dropdown-menu {
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  display: flex;
  min-width: 190px;
  padding: 10px;
  flex-direction: column;
  border: 1px solid var(--atg-border);
  background: #ffffff;
  box-shadow: 0 10px 30px rgb(17 17 17 / 10%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.atg-global-header__dropdown:hover .atg-global-header__dropdown-menu,
.atg-global-header__dropdown.is-open .atg-global-header__dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.atg-global-header__dropdown-menu a {
  display: block;
  margin: 0;
  padding: 12px 14px;
  color: var(--atg-text);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
}

.atg-global-header__dropdown-menu a:hover,
.atg-global-header__dropdown-menu a:focus-visible {
  background: var(--atg-bg-subtle);
  color: var(--atg-brand);
}

.atg-global-header__cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: var(--atg-radius-sm);
  background: var(--atg-brand);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.atg-global-header__cta:hover,
.atg-global-header__cta:focus-visible {
  background: var(--atg-brand-hover);
  color: #ffffff;
}

.atg-global-header__toggle {
  display: none;
}


/* ==========================================================
 * 21. FOOTER
 * Template Part contains markup only.
 * Visual / responsive rules live here.
 * ========================================================== */

.atg-site-footer {
  width: 100%;
  margin: 0;
  padding-block: 64px 24px;
  background: #111111;
  color: #ffffff;
  font-family: var(--atg-font-sans);
}

.atg-site-footer__columns {
  display: grid;
  grid-template-columns:
    minmax(260px, 1.45fr)
    repeat(3, minmax(150px, 1fr));
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
  width: 100%;
  margin: 0;
  padding: 0;
}

.atg-site-footer__block {
  min-width: 0;
  margin: 0;
  padding: 0;
}

.atg-site-footer__brand {
  max-width: 360px;
}

.atg-site-footer__title {
  margin: 0 0 var(--atg-space-3);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.atg-site-footer__text {
  margin: 0 0 var(--atg-space-3);
  color: #d6d9de;
  font-size: 14px;
  line-height: 1.8;
}

.atg-site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--atg-space-1) var(--atg-space-2);
  margin: 0;
  padding: 0;
  list-style: none;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.atg-site-footer__heading {
  margin: 0 0 var(--atg-space-2);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.atg-site-footer__nav {
  margin: 0;
  padding: 0;
  list-style: none;
}

.atg-site-footer__nav li {
  margin: 0;
  padding: 0;
}

.atg-site-footer__nav li + li {
  margin-top: var(--atg-space-1);
}

.atg-site-footer__nav a,
.atg-site-footer .cmplz-show-banner,
.atg-site-footer .atg-cookie-settings {
  display: inline-block;
  padding-block: 2px;
  color: #d6d9de;
  font-size: 14px;
  line-height: 1.7;
  text-decoration: none;
}

.atg-site-footer__nav a:hover,
.atg-site-footer__nav a:focus-visible,
.atg-site-footer .cmplz-show-banner:hover,
.atg-site-footer .cmplz-show-banner:focus-visible,
.atg-site-footer .atg-cookie-settings:hover,
.atg-site-footer .atg-cookie-settings:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.atg-site-footer__bottom {
  margin-top: var(--atg-space-5);
  padding-top: var(--atg-space-3);
  border-top: 1px solid rgb(255 255 255 / 20%);
}

.atg-site-footer__bottom p {
  margin: 0;
  color: #aeb4bd;
  font-size: 12px;
  line-height: 1.7;
}

.atg-site-footer :is(a, button):focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}


/* ==========================================================
 * 22. UTILITIES KEPT FOR EXISTING HTML
 * ========================================================== */

.atg-space-top-3 {
  margin-top: var(--atg-space-3);
}

.atg-space-top-4 {
  margin-top: var(--atg-space-4);
}

.atg-space-top-5 {
  margin-top: var(--atg-space-5);
}


/* ==========================================================
 * 23. RESPONSIVE — TABLET
 * ========================================================== */

@media (max-width: 1100px) {
  .atg-global-header__inner {
    gap: var(--atg-space-2);
  }

  .atg-global-header__logo {
    width: 200px;
    height: auto;
  }

  .atg-global-header__menu {
    gap: 12px;
  }

  .atg-global-header__link,
  .atg-global-header__dropdown-button {
    font-size: 13px;
  }
}

@media (max-width: 1024px) {
  html.atg-menu-open {
    overflow: hidden;
  }

  .atg-global-header__toggle {
    display: flex;
    width: 44px;
    height: 44px;
    margin: 0 0 0 auto;
    padding: 9px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .atg-global-header__toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--atg-text);
  }

  .atg-global-header__menu {
    position: fixed;
    top: var(--atg-header-height);
    left: 0;
    right: 0;
    display: flex;
    width: 100%;
    height: calc(100dvh - var(--atg-header-height));
    padding: 18px 24px 32px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    overflow-y: auto;
    border-top: 1px solid var(--atg-border);
    background: #ffffff;
    white-space: normal;
  }

  .atg-js .atg-global-header__menu {
    display: none;
  }

  .atg-js .atg-global-header__menu.is-open {
    display: flex;
  }

  .atg-global-header__link,
  .atg-global-header__dropdown-button {
    width: 100%;
    height: auto;
    min-height: 52px;
    justify-content: space-between;
    border-bottom: 1px solid var(--atg-border);
    font-size: 15px;
  }

  .atg-global-header__dropdown {
    display: block;
    height: auto;
  }

  .atg-global-header__dropdown-menu {
    position: static;
    display: flex;
    min-width: 0;
    padding: 0 0 8px 14px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: none;
  }

  .atg-js .atg-global-header__dropdown-menu {
    display: none;
  }

  .atg-js .atg-global-header__dropdown.is-open .atg-global-header__dropdown-menu {
    display: flex;
    transform: none;
  }

  .atg-global-header__dropdown-menu a {
    padding: 11px 12px;
    font-size: 14px;
  }

  .atg-global-header__cta {
    width: 100%;
    min-height: 48px;
    margin-top: 18px;
  }
}

@media (max-width: 960px) {
  .atg-grid--3,
  .atg-grid--4,
  .atg-role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .atg-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(180px, .38fr);
    gap: var(--atg-space-5);
    padding-block: var(--atg-space-7);
  }

  .atg-hero__visual img,
  .atg-hero__visual svg {
    max-width: 240px;
  }

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

  .atg-trust-layout,
  .atg-media-showcase,
  .atg-callout__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .atg-trust-layout {
    gap: var(--atg-space-5);
  }

  .atg-site-footer__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--atg-space-5) var(--atg-space-4);
  }

  .atg-site-footer__brand {
    max-width: none;
  }

}




/* ==========================================================
 * 23B. RESPONSIVE — CONTENT TABLET
 * Prevent narrow two-column intro layouts before the mobile breakpoint.
 * Header breakpoint remains unchanged.
 * ========================================================== */
@media (max-width: 820px) {
  .atg-intro-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--atg-space-3);
  }
}

/* ==========================================================
 * 24. RESPONSIVE — MOBILE
 * ========================================================== */

@media (max-width: 680px) {
  :root {
    --atg-inline: 20px;
    --atg-heading-intro-gap: var(--atg-space-2);
  }

  .atg-page {
    font-size: 16px;
  }

  .atg-page :is(section, h1, h2, h3)[id] {
    scroll-margin-top: 90px;
  }

  .atg-section {
    padding-block: 40px;
  }

  .atg-section--compact {
    padding-block: 32px;
  }

  .atg-section__header {
    margin-bottom: var(--atg-space-3);
  }

  /* Compact mobile card rhythm for dense member/role pages */
  .atg-page--professionals .atg-grid,
  .atg-page--regional-hub .atg-grid,
  .atg-page--partners .atg-grid,
  .atg-page--navi .atg-grid,
  .atg-page--about .atg-grid {
    gap: var(--atg-space-2);
  }

  .atg-display {
    font-size: clamp(32px, 9vw, 40px);
    line-height: 1.3;
  }

  .atg-heading {
    font-size: clamp(26px, 7.5vw, 32px);
    line-height: 1.42;
  }

  .atg-subheading {
    font-size: clamp(19px, 5.5vw, 22px);
  }

  .atg-lead {
    font-size: clamp(17px, 4.6vw, 18px);
    line-height: 1.8;
  }

  .atg-copy {
    font-size: 16px;
    line-height: 1.8;
  }

  .atg-grid--2,
  .atg-grid--3,
  .atg-grid--4,
  .atg-price-grid,
  .atg-role-grid,
  .atg-fact-grid,
  .atg-intro-grid,
  .atg-split,
  .atg-choice-grid,
  .atg-dual-scope,
  .atg-ecosystem {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Intro grids are heading-to-copy relationships; keep them compact on SP.
   * Split layouts retain the larger visual separation for media / paired content. */
  .atg-intro-grid {
    gap: var(--atg-heading-intro-gap);
  }

  .atg-split {
    gap: var(--atg-space-5);
  }

  .atg-hero__inner {
    display: block;
    padding-block: 56px 48px;
  }

  .atg-hero__lead {
    margin-top: var(--atg-space-3);
  }

  .atg-hero__meta,
  .atg-final__meta {
    gap: 6px 14px;
    margin-top: var(--atg-space-3);
    font-size: 13px;
  }

  .atg-hero__meta li + li::before {
    left: -8px;
  }

  .atg-hero__actions,
  .atg-subhero__actions,
  .atg-final__actions {
    display: block;
    margin-top: var(--atg-space-4);
  }

  .atg-hero__actions .atg-button,
  .atg-subhero__actions .atg-button,
  .atg-final__actions .atg-button,
  .atg-callout__inner .atg-button {
    width: 100%;
    min-height: 52px;
  }

  .atg-hero__actions .atg-link,
  .atg-subhero__actions .atg-link {
    display: inline-block;
    margin-top: var(--atg-space-2);
  }

  .atg-hero__visual {
    display: none;
  }

  .atg-subhero__inner {
    padding-block: 56px 60px;
  }

  .atg-subhero__meta {
    display: grid;
    gap: 5px;
  }

  .atg-card,
  .atg-price,
  .atg-role,
  .atg-fact,
  .atg-fee-box,
  .atg-contract-boundary {
    padding: 20px;
  }

  .atg-stage-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .atg-stage-list__item,
  .atg-stage-list__item:nth-child(odd),
  .atg-stage-list__item:last-child:nth-child(odd) {
    grid-column: auto;
    min-height: 0;
    padding: 20px 16px 20px 38px;
    border-right: 0;
  }

  .atg-stage-list__item::before {
    top: 27px;
    left: 10px;
  }

  .atg-stage-conclusion {
    margin-top: var(--atg-space-3);
    font-size: 18px;
  }

  .atg-barrier {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px 14px;
    padding: var(--atg-space-3) 0;
  }

  .atg-barrier__text {
    grid-column: 1 / -1;
    font-size: 16px;
    line-height: 1.8;
  }

  .atg-barriers__conclusion {
    margin-top: var(--atg-space-3);
    font-size: 17px;
  }

  .atg-process-wrap {
    margin-top: var(--atg-space-4);
  }

  .atg-process {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--atg-space-3);
  }

  .atg-process__item {
    padding: var(--atg-space-2) 0 0;
  }

  .atg-choice-note {
    margin-top: var(--atg-space-4);
    padding: var(--atg-space-3);
    font-size: 18px;
  }

  .atg-trust-layout {
    gap: var(--atg-space-4);
  }

  .atg-trust-list__item {
    padding: var(--atg-space-3) 0;
  }

  .atg-number-list__item {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: var(--atg-space-2);
  }

  .atg-definition__row {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--atg-space-1);
  }

  .atg-price-table {
    font-size: 14px;
  }

  .atg-price-table th,
  .atg-price-table td {
    padding: 13px 12px;
  }

  .atg-network-map {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "top"
      "center"
      "left"
      "right"
      "bottom";
    padding: var(--atg-space-3);
  }

  .atg-network-map::before,
  .atg-network-map::after {
    display: none;
  }

  .atg-network-map__node {
    min-height: 0;
  }

  .atg-network-map__caption {
    text-align: left;
  }

  .atg-representative {
    grid-template-columns: minmax(0, 1fr);
  }

  .atg-representative__visual {
    max-width: 300px;
  }

  .atg-screenshot__body {
    padding: var(--atg-space-2);
  }

  .atg-card__text,
  .atg-choice-item__text,
  .atg-scope-block__text,
  .atg-fee-box__text,
  .atg-contract-boundary__text {
    margin-top: 10px;
  }

  .atg-case-block {
    margin-top: var(--atg-space-3);
    padding-top: var(--atg-space-3);
  }

  .atg-case-block__title {
    font-size: 22px;
    line-height: 1.5;
  }

  .atg-choice-item,
  .atg-choice-item:nth-child(odd),
  .atg-choice-item:nth-child(even) {
    padding: 20px 0;
    border-right: 0;
  }

  .atg-scope-block {
    padding: 20px 0;
  }

  .atg-scope-block + .atg-scope-block {
    margin-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--atg-border);
    border-left: 0;
  }

  .atg-ecosystem__item {
    padding: 20px;
  }

  .atg-final {
    padding-block: 64px;
  }

  .atg-final__title {
    font-size: clamp(30px, 8vw, 35px);
  }

  .atg-final__lead {
    margin-top: var(--atg-space-3);
    font-size: 17px;
  }


  .atg-site-footer {
    padding-block: 48px 24px;
  }

  .atg-site-footer__columns {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--atg-space-4);
  }

  .atg-site-footer__brand {
    max-width: none;
  }

  .atg-site-footer__bottom {
    margin-top: var(--atg-space-4);
  }

}



@media (max-width: 480px) {
  .atg-global-header__inner {
    width: calc(100% - 24px);
  }

  .atg-global-header__logo {
    width: 180px;
    height: auto;
  }
}

/* ==========================================================
 * 25. USER PREFERENCES / FORCED COLORS
 * ========================================================== */

@media (prefers-reduced-motion: reduce) {
  [class^="atg-"],
  [class*=" atg-"],
  [class^="atg-"] *,
  [class*=" atg-"] * {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (forced-colors: active) {
  .atg-button,
  .atg-card,
  .atg-price,
  .atg-notice,
  .atg-contract-boundary {
    border: 1px solid CanvasText;
  }
}
