/* Anta Health: Copper & Graphite. The plan is the picture: a 12-column grid with a rail for titles and
   the matter on the axis, boards with fixed columns, and one copper plate that always marks the next
   step. The graphite symbol stands beside the wordmark. Inter throughout; square corners. */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/inter-var.woff2') format('woff2'); }

:root {
  --paper: #FBF5F0; --surface: #FFFDFB; --ink: #342727; --muted: #624E49; --night: #372C2C;
  --sunk: #EDE7E2; --line: #CFC8C4; --control: #4C403F;
  --primary: #A34424; --primary-hover: #A64A2B; --on-primary: #FFFFFF;
  --on-night: #FFF7F0; --night-muted: #D3CAC5; --night-line: #6B615F;
  --focus: #342727; --focus-night: #FFF7F0;
  --font-text: 'Inter', system-ui, sans-serif; --font-ui: var(--font-text); --font-display: var(--font-text);
  --radius-control: 0.25rem; --wordmark-h: 1.375rem; --symbol-h: 2.5rem; --wrap-max: 86rem;
}
.site-anta { font-feature-settings: 'kern', 'calt'; }
.site-anta .h2, .site-anta .faq-q, .site-anta .info-title, .site-anta .info-h, .site-anta .info-next-title { font-weight: 600; letter-spacing: -0.03em; }
.site-anta .brand { gap: 0.875rem; }

/* the copper plate: the next step, cut to a point (the point is drawn behind, so focus rings stay whole) */
.plate {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; min-height: 3rem;
  padding: 0.75rem 2.75rem 0.75rem 1.25rem; color: var(--on-primary); background: none;
  font-family: var(--font-ui); font-size: 1.0625rem; font-weight: 600; line-height: 1.25; text-decoration: none;
}
.plate::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--primary);
  clip-path: polygon(0 0, calc(100% - 1.375rem) 0, 100% 50%, calc(100% - 1.375rem) 100%, 0 100%);
}
@media (hover: hover) { .plate:hover::before { background: var(--night); } }
.at-close .plate:hover::before { background: var(--primary-hover); }

/* ---------------------------------------------------------------- the grid */
.at-grid { display: grid; gap: 1.25rem; }
.at-rail { display: grid; gap: 0.75rem; align-content: start; }
@media (min-width: 60rem) {
  .at-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; }
  .at-grid > * { grid-column: 4 / -1; }
  .at-grid > .at-rail { grid-column: 1 / span 3; }
}

/* ---------------------------------------------------------------- first screen */
.at-hero { padding-block: clamp(2rem, 6vw, 4.5rem) clamp(2.5rem, 6vw, 4.5rem); }
.at-hero-symbol { height: clamp(4rem, 9vw, 6.5rem); width: auto; }
.at-title { font-size: clamp(2.5rem, 8vw, 5.25rem); font-weight: 650; line-height: 1; letter-spacing: -0.045em; text-wrap: balance; }
.at-hero-text { display: grid; gap: 1.125rem; }
.at-sub { font-size: clamp(1.25rem, 2.2vw, 1.625rem); font-weight: 550; line-height: 1.3; letter-spacing: -0.015em; max-width: 30em; }

/* the board */
.at-board { margin-top: clamp(2rem, 5vw, 3.5rem); }
.at-board-cap { font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.75rem; }
.at-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); font-variant-numeric: tabular-nums; }
.at-table thead th { padding: 0.75rem 1rem 0.75rem 0; font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.04em; text-align: left; color: var(--muted); border-bottom: 1px solid var(--line); }
.at-table tbody th, .at-table td { padding: 1rem 1rem 1.0625rem 0; text-align: left; vertical-align: baseline; border-bottom: 1px solid var(--line); }
.at-table tbody th { font-weight: 550; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); }
.at-n { display: inline-block; min-width: 1.5rem; font-weight: 300; color: var(--muted); }
.at-table .is-next th a { font-weight: 650; }
.at-tag { display: inline-flex; align-items: center; margin-left: 0.375rem; padding: 0.125rem 0.5rem; background: var(--primary); color: var(--on-primary); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; vertical-align: 0.15em; }
@media (max-width: 40rem) {
  .at-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .at-table, .at-table tbody, .at-table tr, .at-table th, .at-table td { display: block; width: 100%; }
  .at-table tbody tr { padding-block: 0.875rem 1rem; border-bottom: 1px solid var(--line); }
  .at-table tbody th, .at-table td { padding: 0; border: 0; }
  .at-table td { color: var(--muted); font-size: 0.9375rem; padding-left: 1.5rem; }
}

.at-status { background: var(--night); color: var(--on-night); font-size: 0.9875rem; }
.at-status .wrap { display: block; padding-block: 0.9375rem 1rem; }

/* ---------------------------------------------------------------- sections on the rail and axis */
.at-sec { padding-block: clamp(3rem, 7vw, 5.5rem); }
.at-sec + .at-sec { padding-top: 0; }
.at-dl { display: grid; border-top: 2px solid var(--ink); }
.at-row { display: grid; gap: 0.25rem; padding-block: 1.125rem 1.25rem; border-bottom: 1px solid var(--line); }
.at-row dt { font-size: clamp(1.375rem, 2.4vw, 1.75rem); font-weight: 300; letter-spacing: -0.02em; }
.at-row dd { margin: 0; max-width: 36em; }
@media (min-width: 48rem) { .at-row { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: 1.5rem; align-items: baseline; } }

.at-owners { background: var(--surface); border-block: 1px solid var(--line); }
.at-owners + .at-sec { padding-top: clamp(3rem, 7vw, 5.5rem); }
.at-index { list-style: none; display: grid; border-top: 2px solid var(--ink); }
.at-index li { padding-block: 1rem 1.125rem; border-bottom: 1px solid var(--line); }
.at-index-title { font-size: clamp(1.1875rem, 1.9vw, 1.375rem); font-weight: 600; letter-spacing: -0.01em; }
.at-index p { margin-top: 0.25rem; }
.at-fig { position: relative; overflow: hidden; background: var(--sunk); min-height: 14rem; }
.at-fig .fill { position: absolute; inset: 0; filter: grayscale(1) contrast(1.04); object-position: 50% 55%; }
@media (min-width: 60rem) {
  .at-topics .at-index { grid-column: 4 / span 6; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; border-top: 0; }
  .at-topics .at-index li { border-top: 2px solid var(--ink); border-bottom: 0; padding-bottom: 1.75rem; }
  .at-topics .at-fig { grid-column: 10 / -1; grid-row: 1; }
}

.at-checks { list-style: none; counter-reset: step; display: grid; border-top: 2px solid var(--ink); }
.at-checks li { counter-increment: step; display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); padding-block: 0.875rem 1rem; border-bottom: 1px solid var(--line); text-wrap: pretty; }
.at-checks li::before { content: counter(step); font-weight: 300; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- questions */
.site-anta .faq { background: var(--surface); border-top: 1px solid var(--line); }
.site-anta .faq-item { border-top: 1px solid var(--line); }
.site-anta .faq-item:first-child { border-top: 2px solid var(--ink); }
.site-anta .faq-q { font-size: clamp(1.1875rem, 1.9vw, 1.4375rem); font-weight: 600; letter-spacing: -0.015em; }
@media (min-width: 60rem) { .site-anta .faq-in { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); column-gap: 1.5rem; } }

/* ---------------------------------------------------------------- closing: the night block with the symbol */
.at-close { background: var(--night); color: var(--on-night); padding-block: clamp(3.5rem, 9vw, 6.5rem); }
.at-close :focus-visible { outline-color: var(--focus-night); }
.at-close-symbol { height: 4.5rem; width: auto; }
.at-close-title { font-size: clamp(2rem, 5.6vw, 3.75rem); font-weight: 600; line-height: 1.06; letter-spacing: -0.035em; text-wrap: balance; max-width: 18em; }
.at-close-actions { margin-top: 0.5rem; }

/* ---------------------------------------------------------------- about and partners */
.info-symbol { height: 4.5rem; width: auto; margin-bottom: 0.5rem; }
.site-anta .info-sec { border-top: 2px solid var(--ink); }
.site-anta .info-sec + .info-sec { border-top: 1px solid var(--line); }
.site-anta .info-photo .fill { filter: grayscale(1) contrast(1.04); }
@media (min-width: 60rem) { .site-anta .info-sec { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); column-gap: 1.5rem; } }
