/* Apidp design layer: saffron + graphite, label-panel inspired. Loaded after theme.css. */
:root {
  --ax-sun: #FFC21A;
  --ax-sun-deep: #F2A900;
  --ax-sun-soft: #FFF1C4;
  --ax-ink: #16161A;
  --ax-ink-2: #2A2A31;
  --ax-mute: #5F5D57;
  --ax-paper: #FAF8F2;
  --ax-card: #FFFFFF;
  --ax-line: #E4E0D4;
  --ax-line-strong: #16161A;
  --md-primary: #16161A;
  --md-primary-dark: #000;
  --md-primary-container: #FFF1C4;
  --md-secondary: #FFC21A;
  --md-on-secondary: #16161A;
  --md-surface: #FAF8F2;
  --md-surface-container: #fff;
  --md-outline: #E4E0D4;
  --md-outline-strong: #16161A;
  --md-on-surface: #16161A;
  --md-on-surface-variant: #5F5D57;
  --md-radius: 6px;
  --md-radius-lg: 10px;
  --md-radius-xl: 14px;
  --md-font: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ax-display: "Big Shoulders Display", "Inter Tight", system-ui, sans-serif;
  --ax-mono: "DM Mono", ui-monospace, Menlo, monospace;
  --md-max: 1240px;
  --tone: #16161A; --tone-soft: #F1EEE4; --tone-ink: #16161A;
}
.mh-tone[data-tone="ember"]  { --tone: #E2552B; --tone-soft: #FCE6DC; --tone-ink: #9B3313; }
.mh-tone[data-tone="teal"]   { --tone: #1D8A7A; --tone-soft: #DDF1EC; --tone-ink: #10594F; }
.mh-tone[data-tone="indigo"] { --tone: #4A4FBF; --tone-soft: #E7E7F8; --tone-ink: #2F3384; }
.mh-tone[data-tone="bronze"] { --tone: #A66F1C; --tone-soft: #F5EAD6; --tone-ink: #6E4810; }
.mh-tone[data-tone="mint"]   { --tone: #2E9C6E; --tone-soft: #DFF3E9; --tone-ink: #1C6748; }
.mh-tone[data-tone="sage"]   { --tone: #6A7F3A; --tone-soft: #ECF0DE; --tone-ink: #485927; }
.mh-tone[data-tone="rose"]   { --tone: #C2546E; --tone-soft: #F8E3E8; --tone-ink: #86354A; }
.mh-tone[data-tone="sky"]    { --tone: #2C72C9; --tone-soft: #E1ECF9; --tone-ink: #1C4E8C; }
.mh-tone[data-tone="clay"]   { --tone: #B5603A; --tone-soft: #F6E6DC; --tone-ink: #7C3F22; }
.mh-tone[data-tone="lagoon"] { --tone: #13809A; --tone-soft: #DDEFF3; --tone-ink: #0C566A; }
.mh-tone[data-tone="sun"]    { --tone: #D98A00; --tone-soft: #FFF0CC; --tone-ink: #7F5000; }
.mh-tone[data-tone="cobalt"] { --tone: #16161A; --tone-soft: #F1EEE4; --tone-ink: #16161A; }

.md-body { background: var(--ax-paper); font-family: var(--md-font); color: var(--ax-ink); font-size: 17px; -webkit-font-smoothing: antialiased; }
.md-body h1, .md-body h2, .md-body h3 { font-family: var(--ax-display); font-weight: 800; letter-spacing: -0.005em; text-transform: uppercase; text-wrap: balance; }
.md-body ::selection { background: var(--ax-sun); color: var(--ax-ink); }
.md-body :focus-visible { outline: 3px solid var(--ax-sun-deep); outline-offset: 3px; }
.md-container { width: min(var(--md-max), calc(100% - 40px)); max-width: none; margin-inline: auto; padding-inline: 0; }
.md-skip:focus { background: var(--ax-sun); color: var(--ax-ink); }

/* buttons + inputs */
.md-btn, .ax-btn { border-radius: 6px; min-height: 48px; padding: 0 22px; font-weight: 700; font-family: var(--md-font); display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 2px solid var(--ax-ink); cursor: pointer; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.ax-btn, .md-btn--gold { background: var(--ax-sun); color: var(--ax-ink); box-shadow: 3px 3px 0 var(--ax-ink); }
.ax-btn:hover, .md-btn--gold:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ax-ink); background: var(--ax-sun); }
.ax-btn--line, .md-btn--ghost { background: transparent; color: var(--ax-ink); box-shadow: none; }
.ax-btn--line:hover, .md-btn--ghost:hover { background: var(--ax-ink); color: var(--ax-sun); box-shadow: none; }
.md-btn--teal { background: var(--ax-ink); color: var(--ax-sun); }
.md-btn--teal:hover { background: #000; }
.md-input { border-radius: 6px; border: 2px solid var(--ax-ink); background: #fff; min-height: 48px; padding: 0 16px; font: inherit; }
.md-input:focus { outline: none; box-shadow: 0 0 0 4px var(--ax-sun-soft); }

/* header */
.md-sticky { position: sticky; top: 0; z-index: 50; }
.md-header { background: var(--ax-ink); border-bottom: 4px solid var(--ax-sun); box-shadow: none; color: #fff; }
.md-header__bar { min-height: 66px; }
.md-logo { font-family: var(--ax-display); font-weight: 800; font-size: 30px; letter-spacing: .02em; text-transform: uppercase; color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.md-logo::before { content: "A"; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 7px; background: var(--ax-sun); color: var(--ax-ink); font-size: 24px; line-height: 1; }
.md-logo:hover { color: var(--ax-sun); }
.md-header .md-nav-link, .md-nav-link { color: #D9D7D0; font-weight: 600; border-radius: 6px; padding: 8px 14px; text-decoration: none; font-family: var(--ax-mono); font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
.md-header .md-nav-link:hover { color: var(--ax-ink); background: var(--ax-sun); }
.md-header .md-icon-btn { color: #fff; background: transparent; border: 0; border-radius: 6px; }
.md-header .md-icon-btn:hover { background: rgba(255, 255, 255, .1); }
.md-panel { background: var(--ax-ink); border-bottom: 4px solid var(--ax-sun); }
.md-panel .md-nav-link { color: #fff; }
.md-header-search .md-input { border-color: var(--ax-sun); }
.md-suggest { border: 2px solid var(--ax-ink); border-radius: 6px; }

/* product cards */
.md-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 0; }
.md-product-card { position: relative; background: var(--ax-card); border: 2px solid var(--ax-ink); border-radius: 10px; overflow: hidden; height: 100%; display: flex; flex-direction: column; box-shadow: 0 0 0 var(--ax-ink); transition: transform .18s ease, box-shadow .18s ease; }
.md-product-card:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--tone); }
.md-product-card__media { display: grid; place-items: center; aspect-ratio: 4 / 3; background: repeating-linear-gradient(0deg, transparent 0 23px, rgba(22, 22, 26, .05) 23px 24px), var(--tone-soft); border-bottom: 2px solid var(--ax-ink); padding: 18px; }
.md-product-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s ease; }
.md-product-card:hover .md-product-card__media img { transform: scale(1.05) rotate(-1deg); }
.md-product-card__badge { display: none; }
.md-product-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.md-product-card__body h2 { font-size: 25px; margin: 0; line-height: 1; }
.md-product-card__body h2 a { text-decoration: none; color: inherit; }
.md-product-card__body h2 a::after { content: ""; position: absolute; inset: 0; }
.md-product-card .md-chip { align-self: flex-start; margin: 0; background: transparent; color: var(--tone-ink); border: 0; border-radius: 0; padding: 0; font-family: var(--ax-mono); font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.md-product-card .md-chip::before { content: "■ "; color: var(--tone); }
.md-product-card__go { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--ax-line); font-size: 14px; font-weight: 700; color: var(--ax-ink); }

/* inner pages */
.md-main { padding-top: 44px; padding-bottom: 80px; }
.md-page-title { font-size: clamp(40px, 5.4vw, 72px); line-height: .95; }
.md-bc { font-family: var(--ax-mono); font-size: 13px; color: var(--ax-mute); text-transform: uppercase; letter-spacing: .03em; }
.md-bc a { color: var(--ax-ink); }
.md-pager a, .md-pager span { border-radius: 6px; border: 2px solid var(--ax-ink); }
.md-pager .is-current { background: var(--ax-sun); color: var(--ax-ink); }

/* footer */
.md-footer { background: var(--ax-ink); color: #BDBAB1; border: 0; border-top: 6px solid var(--ax-sun); }
.md-footer a { color: #F3F1EA; }
.md-footer a:hover { color: var(--ax-sun); }
.md-footer__brand { font-family: var(--ax-display); font-size: 44px; font-weight: 800; color: var(--ax-sun); text-transform: uppercase; letter-spacing: .01em; line-height: 1; }
.md-footer .md-kicker { color: var(--ax-sun); font-family: var(--ax-mono); text-transform: uppercase; letter-spacing: .08em; }
.md-copy { font-family: var(--ax-mono); font-size: 13px; }

/* ---------------- home ---------------- */
.ax-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ax-hero { position: relative; overflow: hidden; padding: 64px 0 76px; background:
  linear-gradient(90deg, rgba(22, 22, 26, .045) 1px, transparent 1px) 0 0 / 40px 40px,
  linear-gradient(rgba(22, 22, 26, .045) 1px, transparent 1px) 0 0 / 40px 40px, var(--ax-paper); }
.ax-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 460px; height: 460px; border-radius: 50%; background: var(--ax-sun); opacity: .9; z-index: 0; }
.ax-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: center; }
.ax-tag { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-family: var(--ax-mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ax-ink); background: #fff; border: 2px solid var(--ax-ink); border-radius: 6px; padding: 4px 12px 4px 4px; }
.ax-tag span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 4px; background: var(--ax-ink); color: var(--ax-sun); font-family: var(--ax-display); font-size: 17px; font-weight: 800; }
.ax-hero h1 { font-size: clamp(58px, 8.6vw, 128px); line-height: .86; margin: 0 0 22px; }
.ax-lead { font-size: 20px; line-height: 1.5; color: var(--ax-ink-2); max-width: 36rem; margin: 0 0 28px; }
.ax-search { display: flex; align-items: center; gap: 8px; background: #fff; border: 2px solid var(--ax-ink); border-radius: 8px; padding: 6px 6px 6px 16px; max-width: 580px; box-shadow: 6px 6px 0 var(--ax-ink); }
.ax-search:focus-within { box-shadow: 6px 6px 0 var(--ax-sun-deep); }
.ax-search__icon { color: var(--ax-ink); display: grid; }
.ax-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 17px; background: transparent; min-height: 44px; }
.ax-search .ax-btn { box-shadow: none; min-height: 44px; }
.ax-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.ax-quick a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; padding: 7px 12px; border-radius: 6px; background: #fff; border: 1.5px solid var(--ax-line); color: var(--ax-ink); font-size: 14px; font-weight: 600; transition: border-color .15s ease, background .15s ease; }
.ax-quick a i { width: 9px; height: 9px; border-radius: 2px; background: var(--tone); }
.ax-quick a:hover { border-color: var(--ax-ink); background: var(--tone-soft); }

.ax-facts { background: #fff; border: 3px solid var(--ax-ink); padding: 14px 18px 16px; box-shadow: 10px 10px 0 var(--ax-ink); font-family: var(--md-font); }
.ax-facts__title { font-family: var(--ax-display); font-weight: 900; font-size: 44px; line-height: 1; margin: 0; text-transform: uppercase; }
.ax-facts__serv { margin: 6px 0 0; font-size: 14px; border-bottom: 1px solid var(--ax-ink); padding-bottom: 6px; }
.ax-facts__bar { height: 12px; background: var(--ax-ink); margin: 4px 0 0; }
.ax-facts dl { margin: 0; }
.ax-facts dl div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--ax-ink); font-size: 15px; }
.ax-facts dt { font-weight: 700; }
.ax-facts dd { margin: 0; font-family: var(--ax-mono); }
.ax-facts .is-head { border-bottom-width: 5px; font-size: 12px; }
.ax-facts .is-big { font-size: 22px; border-bottom-width: 5px; }
.ax-facts .is-big dd { font-family: var(--ax-display); font-weight: 900; font-size: 34px; line-height: 1; background: var(--ax-sun); padding: 0 8px; }
.ax-facts__note { margin: 8px 0 0; font-size: 12px; color: var(--ax-mute); }
.ax-facts__strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--ax-line); }
.ax-facts__strip a { display: block; aspect-ratio: 1; border-radius: 6px; background: var(--ax-paper); padding: 6px; transition: background .15s ease; }
.ax-facts__strip a:hover { background: var(--ax-sun-soft); }
.ax-facts__strip img { width: 100%; height: 100%; object-fit: contain; }

.ax-ticker { overflow: hidden; background: var(--ax-sun); border-block: 2px solid var(--ax-ink); }
.ax-ticker div { display: flex; width: max-content; animation: ax-roll 60s linear infinite; }
.ax-ticker span { font-family: var(--ax-display); font-weight: 800; font-size: 22px; text-transform: uppercase; padding: 10px 22px; white-space: nowrap; }
.ax-ticker span::after { content: "✱"; margin-left: 44px; font-size: 16px; vertical-align: middle; }
@keyframes ax-roll { to { transform: translateX(-50%); } }

.ax-main { padding: 0; }
.ax-section { padding: 96px 0 0; }
.ax-head { max-width: 48rem; margin: 0 0 34px; }
.ax-kicker { margin: 0 0 10px; font-family: var(--ax-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ax-mute); }
.ax-head h2 { font-size: clamp(42px, 5.6vw, 76px); line-height: .92; margin: 0; }
.ax-head p:not(.ax-kicker) { font-size: 18px; color: var(--ax-mute); margin: 14px 0 0; }
.ax-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

.ax-index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; border-top: 3px solid var(--ax-ink); }
.ax-row { display: grid; grid-template-columns: 40px 44px 1fr auto 36px; align-items: center; gap: 14px; padding: 14px 6px; border-bottom: 1px solid var(--ax-line); text-decoration: none; color: var(--ax-ink); transition: background .15s ease, padding .15s ease; }
.ax-row:hover { background: var(--tone-soft); padding-left: 14px; }
.ax-row__n { font-family: var(--ax-mono); font-size: 13px; color: var(--ax-mute); }
.ax-row .ci { background: var(--tone-soft) !important; color: var(--tone-ink) !important; border-radius: 6px !important; }
.ax-row h3 { font-size: 26px; margin: 0; line-height: 1; }
.ax-row__c { font-family: var(--ax-mono); font-size: 13px; color: var(--tone-ink); white-space: nowrap; }
.ax-row__go { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 6px; border: 2px solid var(--ax-ink); transition: background .15s ease, color .15s ease; }
.ax-row:hover .ax-row__go { background: var(--ax-ink); color: var(--ax-sun); }

.ax-how { margin-top: 104px; padding: 88px 0; background: var(--ax-ink); color: #E9E7E0; }
.ax-how__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.ax-how .ax-kicker { color: var(--ax-sun); }
.ax-how h2 { color: #fff; }
.ax-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 0; border-top: 2px solid var(--ax-sun); }
.ax-steps li { counter-increment: s; display: grid; grid-template-columns: 90px 1fr; gap: 4px 20px; padding: 22px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.ax-steps li::before { content: counter(s, decimal-leading-zero); grid-row: span 2; font-family: var(--ax-display); font-size: 64px; font-weight: 900; line-height: .85; color: var(--ax-sun); }
.ax-steps b { font-family: var(--ax-display); font-size: 30px; text-transform: uppercase; color: #fff; line-height: 1; }
.ax-steps p { margin: 0; color: #B9B6AD; }

.ax-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; padding: 40px; border: 3px solid var(--ax-ink); border-radius: 12px; background: var(--ax-sun); box-shadow: 10px 10px 0 var(--ax-ink); }
.ax-cta h2 { font-size: clamp(36px, 4.4vw, 60px); margin: 0; line-height: .92; }
.ax-search--dark { max-width: none; box-shadow: none; }
.ax-search--dark .ax-btn { background: var(--ax-ink); color: var(--ax-sun); }
.ax-note { margin: 44px 0 96px; padding: 16px 20px; border-left: 6px solid var(--ax-sun); background: #fff; color: var(--ax-mute); font-size: 14px; }
.ax-note strong { color: var(--ax-ink); }

@media (max-width: 1000px) {
  .ax-hero__grid, .ax-how__grid, .ax-cta { grid-template-columns: minmax(0, 1fr); }
  .ax-hero__grid > *, .ax-cta > * { min-width: 0; }
  .ax-facts { max-width: 460px; }
  .ax-index { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ax-hero { padding: 36px 0 56px; }
  .ax-hero h1 { font-size: clamp(44px, 13vw, 64px); }
  .ax-facts__title { font-size: 34px; }
  .ax-search { box-shadow: 4px 4px 0 var(--ax-ink); }
  .ax-hero::after { width: 260px; height: 260px; right: -110px; top: -90px; }
  .ax-search .ax-btn { padding: 0 14px; }
  .ax-row { grid-template-columns: 30px 1fr auto; }
  .ax-row .ci, .ax-row__go { display: none; }
  .ax-row h3 { font-size: 22px; }
  .ax-section { padding-top: 64px; }
  .ax-how { margin-top: 64px; padding: 60px 0; }
  .ax-steps li { grid-template-columns: 64px 1fr; }
  .ax-steps li::before { font-size: 48px; }
  .ax-cta { padding: 24px; box-shadow: 6px 6px 0 var(--ax-ink); }
  .ax-facts { box-shadow: 6px 6px 0 var(--ax-ink); }
  .md-product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .md-product-card__body h2 { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .ax-ticker div { animation: none; }
  .ax-row, .md-product-card, .md-product-card__media img, .md-btn, .ax-btn { transition: none !important; }
}
