/* Abdo Pro – stand-alone product page.
   Loaded only on page-abdo-pro.php, where theme CSS is removed.
   Specimens are inline SVG outlines that inherit `color`. No webfonts loaded. */

/* ---------- document reset (page owns <html>) ---------- */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.abdo-pro-page { margin: 0; background: #fff; }
.abdo-pro {
	--ap-navy: #0c2340;
	--ap-navy-2: #081a31;
	--ap-amber: #f5a800;
	--ap-amber-ink: #a66f00;
	--ap-blue: #1f5fa8;
	--ap-ink: #0c2340;
	--ap-muted: #5d6b7e;
	--ap-line: #d9e0e8;
	--ap-panel: #eef2f6;
	--ap-tint: #f6f8fa;
	--ap-radius: 4px;
	--ap-wrap: 1200px;
	--ap-ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	color: var(--ap-ink);
	font: 400 16px/1.55 var(--ap-ui);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
.abdo-pro *, .abdo-pro *::before, .abdo-pro *::after { box-sizing: border-box; }
.abdo-pro :where(h1, h2, h3, p, ul, ol, dl, dd, figure, table) { margin: 0; }
.abdo-pro :where(ul, ol) { padding: 0; list-style: none; }
.abdo-pro img { max-width: 100%; height: auto; }
.abdo-pro a { color: inherit; }
.abdo-pro hr { border: 0; border-top: 1px solid var(--ap-line); margin: 0; }
.abdo-pro .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.ap-skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ap-amber); color: var(--ap-navy); padding: .6rem 1rem; font-weight: 700; }
.ap-skip:focus { top: 1rem; }

/* ---------- layout ---------- */
.ap-wrap { width: min(100% - 2.5rem, var(--ap-wrap)); margin-inline: auto; }
.ap-wrap--narrow { --ap-wrap: 820px; }
.ap-section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.ap-section--tint { background: var(--ap-tint); }
.ap-subsection { margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.ap-dark { background: var(--ap-navy); color: #fff; }
.ap-licensing { background: var(--ap-navy-2); }
.ap-panel { background: var(--ap-panel); border-radius: var(--ap-radius); }
.ap-section--tint .ap-panel { background: #fff; }

/* ---------- svg specimens ---------- */
.ap-svg { display: block; height: auto; max-width: 100%; overflow: visible; }
.ap-ar { margin-inline-start: auto; }

/* ---------- type ---------- */
.ap-head { margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 50rem; }
.ap-eyebrow, .ap-mono {
	font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: var(--ap-muted);
}
.ap-dark .ap-mono, .ap-eyebrow--light { color: #a9b6c7; }
.ap-eyebrow {
	display: inline-flex; gap: .35em; align-items: center;
	border-inline-start: 4px solid var(--ap-amber); padding-inline-start: .6rem; color: var(--ap-ink);
}
.ap-dark .ap-eyebrow { color: #fff; }
.ap-eyebrow span { color: var(--ap-amber); }
.ap-title { font-size: clamp(1.8rem, 3.6vw, 2.75rem); line-height: 1.12; font-weight: 700; letter-spacing: -.015em; margin: .8rem 0 .6rem; }
.ap-lead { color: var(--ap-muted); font-size: 1.08rem; }
.ap-dark .ap-lead { color: #c3cedb; }
.ap-note { color: var(--ap-muted); font-size: .88rem; margin-top: 1rem; }
.ap-dark .ap-note { color: #a9b6c7; }
.abdo-pro .ap-blue { color: var(--ap-blue); }
.abdo-pro .ap-amber-ink { color: var(--ap-amber-ink); }
.ap-end { text-align: end; }

/* ---------- buttons ---------- */
.abdo-pro .ap-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 3rem; padding: .75rem 1.5rem; border-radius: var(--ap-radius);
	font: 700 1rem/1.2 var(--ap-ui); text-decoration: none; cursor: pointer; text-align: center;
	border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s, transform .15s;
	background: var(--ap-amber); color: var(--ap-navy); box-shadow: none;
}
.abdo-pro .ap-btn:hover { transform: translateY(-1px); }
.abdo-pro .ap-btn:focus-visible, .abdo-pro a:focus-visible, .abdo-pro button:focus-visible { outline: 3px solid var(--ap-amber); outline-offset: 3px; }
.abdo-pro .ap-btn--sm { min-height: 2.5rem; padding: .45rem 1.1rem; font-size: .92rem; }
.abdo-pro .ap-btn--primary { background: var(--ap-amber); color: var(--ap-navy); }
.abdo-pro .ap-btn--primary:hover { background: #ffbb1f; }
.abdo-pro .ap-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.abdo-pro .ap-btn--ghost:hover { border-color: #fff; }
.abdo-pro .ap-btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.abdo-pro .ap-btn--outline:hover { background: #fff; color: var(--ap-navy); }

/* ---------- own header ---------- */
.ap-topbar {
	position: sticky; top: 0; z-index: 60; background: rgba(8,26,49,.97); color: #fff;
	backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,.08);
}
.admin-bar .ap-topbar { top: 32px; }
@media (max-width: 782px) { .admin-bar .ap-topbar { top: 46px; } }
.ap-topbar__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 64px; }
.ap-brand { display: flex; align-items: center; text-decoration: none; color: #fff; margin-inline-end: auto; }
.ap-brand__logo { max-height: 34px; width: auto; }
.ap-brand__name { font-weight: 800; font-size: 1.1rem; letter-spacing: -.01em; }
.ap-nav ul { display: flex; gap: 1.4rem; }
.ap-nav a { text-decoration: none; font-size: .9rem; font-weight: 500; color: #c3cedb; transition: color .15s; }
.ap-nav a:hover, .ap-nav a[aria-current="true"] { color: #fff; }
.ap-nav a[aria-current="true"] { box-shadow: inset 0 -2px var(--ap-amber); }
.ap-nav__toggle { display: none; }
.ap-topbar__actions { display: flex; align-items: center; gap: .9rem; }
.ap-cart { position: relative; display: inline-flex; color: #fff; padding: .35rem; }
.ap-cart__count {
	position: absolute; top: -.2rem; inset-inline-end: -.35rem; min-width: 1.15rem; height: 1.15rem; padding: 0 .25rem;
	border-radius: 999px; background: var(--ap-amber); color: var(--ap-navy); font-size: .7rem; font-weight: 800;
	display: grid; place-items: center; line-height: 1;
}

/* ---------- hero (cover) ---------- */
.ap-hero__grid { display: grid; grid-template-columns: 1fr minmax(260px, 30%); min-height: min(84vh, 740px); }
.ap-hero__main { padding-block: clamp(3rem, 7vw, 5.5rem); padding-inline-end: clamp(1rem, 4vw, 4rem); display: flex; flex-direction: column; justify-content: center; }
.ap-hero__title { margin: 1.4rem 0 .9rem; }
.ap-hero__wordmark { width: clamp(240px, 40vw, 500px); }
.ap-hero__kicker { font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 700; }
.ap-hero__sub { font-size: clamp(1rem, 1.4vw, 1.12rem); color: #c3cedb; max-width: 34rem; margin-top: .4rem; }
.ap-hero__arabic { margin-top: clamp(1.8rem, 3.5vw, 2.6rem); padding-top: clamp(1.4rem, 3vw, 2rem); border-top: 1px solid rgba(255,255,255,.18); }
.ap-hero__arabic .ap-svg { width: clamp(260px, 42vw, 540px); }
.ap-hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: clamp(1.8rem, 3.5vw, 2.6rem); }
.ap-hero__side {
	background: var(--ap-navy-2); border-top: 10px solid var(--ap-amber);
	display: flex; flex-direction: column; justify-content: space-between;
	padding: clamp(2rem, 4vw, 3rem); margin-inline-end: calc((100vw - min(100vw - 2.5rem, var(--ap-wrap))) / -2);
}
.ap-hero__mark { width: 78%; max-width: 280px; color: var(--ap-amber); margin: auto auto auto 0; }
.ap-hero__meta { display: grid; gap: .6rem; }
.ap-hero__meta p:last-child { color: #d4dce7; }

/* ---------- 01 profile ---------- */
.ap-profile { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.ap-profile__specimen { padding: clamp(2rem, 5vw, 3.5rem); display: grid; justify-items: center; gap: 1.5rem; }
.ap-profile__specimen hr { width: 100%; }
.ap-profile__ar { width: min(100%, 360px); }
.ap-profile__lat { width: min(100%, 300px); color: var(--ap-blue); }
.ap-features { display: grid; gap: 1.8rem; }
.ap-features li { border-inline-start: 4px solid var(--ap-amber); padding-inline-start: 1rem; }
.ap-features h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.ap-features p { color: var(--ap-muted); }

/* ---------- 02 weights ---------- */
.ap-weights { border-top: 1px solid var(--ap-line); }
.ap-weights__row { display: grid; grid-template-columns: 9rem 1fr 1fr; gap: 1.5rem; align-items: center; padding: .9rem .75rem; border-bottom: 1px solid var(--ap-line); }
.ap-weights__row:nth-child(even):not(.ap-weights__row--head) { background: #fff; }
.ap-weights__row--head { padding-block: .7rem; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ap-muted); }
.ap-weights__name strong { display: block; font-size: .95rem; }
.ap-weights__name small { color: var(--ap-muted); font-size: .78rem; }
.ap-weights .ap-svg { height: clamp(2.6rem, 4.4vw, 3.8rem); width: auto; }
.ap-weights .ap-ar-col { text-align: end; }
.ap-weights .ap-ar-col .ap-svg { margin-inline-start: auto; }

/* ---------- 03 variable ---------- */
.ap-axis { position: relative; height: 2.4rem; margin: 0 0 1rem; border-bottom: 1px solid rgba(255,255,255,.3); }
.ap-axis span { position: absolute; left: var(--p); bottom: -.45rem; transform: translateX(-50%); display: flex; flex-direction: column-reverse; align-items: center; gap: .5rem; font-size: .72rem; font-weight: 700; color: #a9b6c7; }
.ap-axis span:first-child { transform: none; align-items: flex-start; }
.ap-axis span:last-child { transform: translateX(-100%); align-items: flex-end; }
.ap-axis i { width: .8rem; height: .8rem; background: var(--ap-amber); border-radius: 1px; }
.ap-varrows__row { display: grid; grid-template-columns: 8rem 1fr 1fr; gap: 1.5rem; align-items: center; padding: 1.1rem 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.ap-varrows .ap-svg { height: clamp(2.4rem, 4.2vw, 3.6rem); width: auto; }
.ap-variable { margin-top: 3rem; padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--ap-navy-2); border-radius: var(--ap-radius); }
.ap-variable__hint { color: #c3cedb; margin-bottom: 1rem; }
.ap-variable__control { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: center; margin-bottom: 2rem; }
.ap-variable__control label { color: #fff; min-width: 8.5ch; }
.ap-variable__control output { color: var(--ap-amber); font-size: 1rem; }
.ap-variable input[type="range"] { width: 100%; accent-color: var(--ap-amber); height: 2rem; cursor: pointer; margin: 0; }
.ap-variable__stage { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.ap-variable__stage .ap-svg { height: clamp(3rem, 7vw, 5.6rem); width: auto; }

/* ---------- 04 arabic forms ---------- */
.ap-forms { display: grid; grid-template-columns: repeat(4, 1fr); }
.ap-forms figure { padding: 2rem 1.5rem 1.2rem; display: grid; gap: 1rem; }
.ap-forms figure + figure { border-inline-start: 1px solid var(--ap-line); }
.ap-forms .ap-svg { height: clamp(3.5rem, 7vw, 5.5rem); width: auto; margin-inline: auto; }
.ap-connected { margin-top: 2.5rem; display: grid; gap: 1.2rem; }
.ap-connected .ap-svg { width: min(100%, 680px); margin-inline: auto; }

/* ---------- 05 fine detail ---------- */
.ap-vocal { padding: 1.5rem 2rem 2.5rem; border-radius: var(--ap-radius); display: grid; gap: 1rem; }
.ap-vocal .ap-svg { width: min(100%, 440px); margin-inline: auto; }
.ap-punct { display: grid; grid-template-columns: 1fr 1fr; margin-top: 1.5rem; background: #fff; border-radius: var(--ap-radius); }
.ap-punct figure { display: grid; gap: 1.4rem; align-content: start; padding: 1.5rem 2rem 2rem; }
.ap-punct figure + figure { border-inline-start: 1px solid var(--ap-line); }
.ap-punct .ap-svg { height: clamp(2rem, 3.4vw, 2.8rem); width: auto; }

/* ---------- 06 bilingual ---------- */
.ap-bi { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(1.5rem, 4vw, 3rem); padding: clamp(1.5rem, 3vw, 2.5rem); }
.ap-bi > div { display: grid; gap: 1.2rem; align-content: start; }
.ap-bi > div + div { border-inline-start: 1px solid var(--ap-line); padding-inline-start: clamp(1.5rem, 4vw, 3rem); }
.ap-bi .ap-svg { width: 100%; }
.ap-bi__foot { grid-column: 1 / -1; margin-top: 1.8rem; padding-top: 1rem; border-top: 1px solid var(--ap-line); }
.ap-sizes { padding: clamp(1rem, 2.5vw, 2rem); }
.ap-sizes__row { display: grid; grid-template-columns: 11rem 1fr 1fr; gap: 1.5rem; align-items: center; padding: 1.4rem 0; }
.ap-sizes__row + .ap-sizes__row:not(:nth-child(2)) { border-top: 1px solid var(--ap-line); }
.ap-sizes__row--head { padding: 0 0 .5rem; }
.ap-sizes__row > span strong { display: block; font-size: .95rem; }
.ap-sizes__row > span small { color: var(--ap-muted); font-size: .8rem; }
.ap-sizes figure { display: grid; gap: .4rem; }
.ap-sizes figure + figure { border-inline-start: 1px solid var(--ap-line); padding-inline-start: 1.5rem; }
.ap-sizes .ap-svg { width: 100%; }
.ap-sizes figcaption { font-size: .78rem; font-weight: 600; color: var(--ap-muted); }

/* ---------- 07 grid ---------- */
.ap-grid-demo { padding: clamp(1.2rem, 3vw, 2rem); display: grid; gap: 1.6rem; }
.ap-grid-demo > div { display: grid; grid-template-columns: 8rem 1fr; align-items: center; gap: 1rem; }
.ap-grid-demo .ap-svg { width: 100%; max-width: 720px; }
.ap-legend { display: flex; flex-wrap: wrap; gap: .6rem 2rem; font-size: .82rem; font-weight: 600; color: var(--ap-muted); border-top: 1px solid var(--ap-line); padding-top: 1rem; }
.ap-legend li { display: flex; align-items: center; gap: .5rem; }
.ap-legend li:last-child { margin-inline-start: auto; font-weight: 400; }
.ap-legend i { width: .9rem; height: 1.1rem; border: 1px solid rgba(31,95,168,.45); }
.ap-legend__sep { background: rgba(245,168,0,.25); }

/* ---------- 08 numerals ---------- */
.ap-numweights { display: grid; gap: .5rem; }
.ap-numweights__row { display: grid; grid-template-columns: 9rem 1fr 1fr; gap: 1.5rem; align-items: center; padding: 1.1rem 1.25rem; background: var(--ap-panel); border-radius: var(--ap-radius); }
.ap-numweights__row--head { background: none; padding-block: 0; }
.ap-numweights__row--head span:last-child, .ap-numweights__row--head span:nth-child(2) { text-align: center; }
.ap-numweights .ap-svg { height: clamp(2rem, 4vw, 3.2rem); width: auto; margin-inline: auto; }
.ap-specline { margin-top: .5rem; padding: 1rem 1.25rem; background: #e3eaf2; border-radius: var(--ap-radius); font-size: .92rem; color: var(--ap-muted); }
.ap-specline strong { color: var(--ap-ink); }
.ap-ctx { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.ap-ctx__cells { padding: 1.5rem; display: grid; gap: 1rem; }
.ap-ctx__pair { display: flex; justify-content: space-around; gap: 1rem; }
.ap-ctx__pair figure { display: grid; justify-items: center; gap: .4rem; }
.ap-ctx__pair .ap-svg { height: 8rem; width: auto; }
.ap-ctx__pair figcaption { font-size: .78rem; font-weight: 600; color: var(--ap-muted); }
.ap-ctx__pair figcaption.ap-blue { color: var(--ap-blue); }
.ap-ctx__result { display: grid; gap: .9rem; }
.ap-ctx__label { font-weight: 600; font-size: .95rem; }
.ap-ctx__result .ap-svg { height: clamp(2.8rem, 5vw, 4rem); width: auto; }
.ap-ctx__math { display: grid; gap: .3rem; background: #e3eaf2; padding: 1rem 1.25rem; border-radius: var(--ap-radius); margin-top: .6rem; }
.ap-ctx__math span { font-size: .85rem; color: var(--ap-muted); }

/* ---------- 09 financial ---------- */
.ap-fin__bar { display: flex; justify-content: flex-end; margin-bottom: 1rem; }
.ap-tabs { display: inline-flex; background: #fff; border: 1px solid var(--ap-line); border-radius: 999px; padding: 3px; }
.ap-tabs button { border: 0; background: transparent; padding: .45rem 1rem; border-radius: 999px; cursor: pointer; font: 600 .85rem var(--ap-ui); color: var(--ap-muted); }
.ap-tabs button[aria-selected="true"] { background: var(--ap-navy); color: #fff; }
.ap-fin__scroll { overflow-x: auto; }
.ap-fin__table { width: 100%; border-collapse: collapse; background: #fff; min-width: 520px; }
.ap-fin__table th, .ap-fin__table td { padding: .95rem 1.2rem; text-align: start; border-bottom: 1px solid var(--ap-line); vertical-align: middle; }
.ap-fin__table thead th { background: var(--ap-navy); color: #fff; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.ap-fin__table thead th.is-latin, .ap-fin__table thead th.is-arabic { text-align: end; }
.ap-fin__table tbody th { font-weight: 500; font-size: 1.05rem; }
.ap-fin__table tbody tr:nth-child(even) { background: var(--ap-tint); }
.ap-fin__table .is-total { background: #e8eef5 !important; }
.ap-fin__table .is-total th { font-weight: 700; }
.ap-fin__table .ap-svg { height: 2rem; width: auto; margin-inline-start: auto; }
.ap-fin__table[data-show="latin"] .is-arabic,
.ap-fin__table[data-show="arabic"] .is-latin { display: none; }
.ap-principles { margin-top: 1.5rem; display: grid; gap: .5rem; max-width: 46rem; }

/* ---------- 10 report ---------- */
.ap-report { display: grid; grid-template-columns: 1fr 1.45fr; gap: 1.5rem; }
.ap-report__cover { border-top: 8px solid var(--ap-amber); border-radius: var(--ap-radius); padding: clamp(1.5rem, 3vw, 2.25rem); display: grid; gap: 1rem; align-content: start; }
.ap-report__cover hr { border-color: rgba(255,255,255,.2); margin: 1rem 0 .3rem; }
.ap-report__cover .ap-svg--use-report-1 { width: 62%; }
.ap-report__cover .ap-svg--use-report-2 { width: 82%; }
.ap-report__cover .ap-svg--use-report-sub { width: 70%; }
.ap-report__date { margin-top: auto; padding-top: 2rem; }
.ap-report__summary { border: 1px solid var(--ap-line); border-top: 8px solid var(--ap-amber); border-radius: var(--ap-radius); padding: clamp(1.5rem, 3vw, 2.25rem); display: grid; gap: 1.4rem; align-content: start; background: var(--ap-tint); }
.ap-report__summary .ap-svg { width: 100%; }

/* ---------- 11 slide ---------- */
.ap-slide { background: var(--ap-navy-2); border-top: 8px solid var(--ap-amber); padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--ap-radius); }
.ap-slide__title { width: min(100%, 680px); }
.ap-slide__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 3vw, 2.5rem); margin-top: clamp(2rem, 4vw, 3rem); }
.ap-slide__cols li { border-top: 1px solid rgba(255,255,255,.22); padding-top: 1.2rem; display: grid; gap: .9rem; }
.ap-slide__num { height: clamp(1.6rem, 2.6vw, 2.2rem); width: auto; color: var(--ap-amber); }
.ap-slide__en { height: clamp(1.2rem, 2vw, 1.6rem); width: auto; }
.ap-slide__ar { height: clamp(1.8rem, 3vw, 2.6rem); width: auto; margin-top: .6rem; }

/* ---------- 12 devices ---------- */
.ap-devices { display: grid; grid-template-columns: 1fr 300px; gap: 1.5rem; align-items: start; }
.ap-device { border: 1px solid var(--ap-line); border-radius: var(--ap-radius); overflow: hidden; background: #fff; box-shadow: 0 18px 40px -24px rgba(12,35,64,.35); }
.ap-device--mob { border-radius: 18px; border-width: 6px; border-color: var(--ap-navy); }
.ap-device__bar { background: var(--ap-navy); color: #fff !important; padding: .75rem 1.2rem; }
.ap-device__body { padding: 1.5rem; display: grid; gap: 1.4rem; }
.ap-device__hero { background: var(--ap-panel); padding: 1.2rem 1.4rem; }
.ap-device--desk .ap-device__hero .ap-svg { width: 60%; }
.ap-device--desk .ap-svg--web-desk-body { width: 92%; color: #2c3e55; }
.ap-device--mob .ap-device__hero .ap-svg { width: 62%; }
.ap-device--mob .ap-svg--web-mob-body { width: 66%; color: #2c3e55; }
.ap-device__btn { justify-self: end; background: var(--ap-amber); color: var(--ap-navy); padding: .65rem 1.4rem; border-radius: 3px; }
.ap-device__btn .ap-svg { height: 1.15rem; width: auto; }

/* ---------- 13 specs ---------- */
.ap-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ap-stats div { background: #fff; border-inline-start: 4px solid var(--ap-amber); padding: 1.4rem 1.5rem; display: grid; gap: .35rem; }
.ap-stats strong { font-size: 2.3rem; line-height: 1.1; }
.ap-stats small { color: var(--ap-muted); font-size: .85rem; }
.ap-spec-tables { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-top: 2.5rem; }
.ap-spec-tables table { width: 100%; border-collapse: collapse; }
.ap-spec-tables caption { text-align: start; color: var(--ap-blue); padding-bottom: .6rem; }
.ap-spec-tables th, .ap-spec-tables td { text-align: start; padding: .75rem 0; border-bottom: 1px solid var(--ap-line); font-size: .95rem; }
.ap-spec-tables th { width: 7rem; }
.ap-spec-tables td { color: var(--ap-muted); }
.ap-spec-tables table:last-child td { text-align: end; }
.ap-charset { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem; }
.ap-charset figure { padding: clamp(1.5rem, 3vw, 2.25rem); display: grid; gap: 1.2rem; }
.ap-charset .ap-svg { width: 100%; }

/* ---------- 14 application ---------- */
.ap-apply { display: grid; }
.ap-apply > div { display: grid; grid-template-columns: minmax(12rem, 1fr) 2.4fr; gap: 1.5rem 3rem; padding: 1.6rem 0 1.6rem 1.2rem; border-bottom: 1px solid rgba(255,255,255,.18); border-inline-start: 4px solid var(--ap-amber); margin-bottom: 1rem; }
.ap-apply dt { font-weight: 700; font-size: 1.15rem; }
.ap-apply dd { margin: 0; color: #c3cedb; }

/* ---------- 15 licenses ---------- */
.ap-licenses { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.ap-licenses--1 { max-width: 420px; }
.ap-license { position: relative; display: flex; flex-direction: column; gap: 1rem; border: 1px solid rgba(255,255,255,.18); border-radius: var(--ap-radius); padding: 2rem 1.5rem 1.5rem; background: rgba(255,255,255,.03); }
.ap-license.is-featured { border: 2px solid var(--ap-amber); background: rgba(245,168,0,.07); }
.ap-license__badge { position: absolute; top: -.8rem; inset-inline-start: 1.5rem; background: var(--ap-amber); color: var(--ap-navy); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 2px; }
.ap-license__name { font-size: 1.15rem; color: #fff; }
.ap-license__price { font-size: 2.4rem; font-weight: 700; line-height: 1; color: #fff; }
.ap-license__list { display: grid; gap: .5rem; align-content: start; flex: 1; color: #c3cedb; font-size: .93rem; }
.ap-license__list li { padding-inline-start: 1.4rem; position: relative; }
.ap-license__list li::before { content: ""; position: absolute; inset-inline-start: 0; top: .5em; width: .7rem; height: .35rem; border-left: 2px solid var(--ap-amber); border-bottom: 2px solid var(--ap-amber); transform: rotate(-45deg); }
/* EDD form inside each card (EDD CSS is removed on this page) */
.ap-license .edd_download_purchase_form { margin: 0; }
.ap-license .edd_purchase_submit_wrapper { display: grid; gap: .5rem; }
.ap-license .edd_purchase_submit_wrapper .ap-btn,
.ap-license .edd_purchase_submit_wrapper a.edd_go_to_checkout { width: 100%; }
.ap-license .edd_go_to_checkout { background: #fff !important; color: var(--ap-navy) !important; border-color: #fff !important; }
.ap-license .edd-loading-ajax, .ap-license .edd-loading { display: none; }
.ap-license .edd-cart-ajax-alert { color: #c3cedb; font-size: .85rem; }
.ap-license .edd-cart-added-alert { color: var(--ap-amber); }
.ap-license [style*="display:none"], .ap-license [style*="display: none"] { display: none !important; }
.ap-licenses__foot { margin-top: 2rem; color: #a9b6c7; }
.ap-licenses__foot a { color: #fff; }
.ap-admin-note { background: #fff3cd; color: #5c4400; padding: 1rem 1.25rem; border-radius: var(--ap-radius); }

/* ---------- 16 faq ---------- */
.ap-faq details { border-bottom: 1px solid var(--ap-line); }
.ap-faq summary { cursor: pointer; list-style: none; padding: 1.2rem 2.5rem 1.2rem 0; position: relative; font-weight: 600; font-size: 1.05rem; }
.ap-faq summary::-webkit-details-marker { display: none; }
.ap-faq summary::after { content: "+"; position: absolute; inset-inline-end: .25rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--ap-amber); transition: transform .2s; }
.ap-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.ap-faq details p { margin: 0 0 1.2rem; color: var(--ap-muted); }
.ap-content { margin-top: 3rem; }
.ap-content > * + * { margin-top: 1em; }

/* ---------- own footer ---------- */
.ap-footer { background: var(--ap-navy-2); padding-block: 2.5rem; border-top: 4px solid var(--ap-amber); }
.ap-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.ap-footer__brand { font-weight: 800; font-size: 1.25rem; margin-bottom: .2rem; }
.ap-footer__links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.ap-footer__links a { color: #c3cedb; text-decoration: none; font-size: .92rem; }
.ap-footer__links a:hover { color: #fff; }
.ap-footer__copy { width: 100%; color: #7f8ea3; font-size: .82rem; border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.2rem; }

/* ---------- sticky buy bar ---------- */
.ap-buybar { position: fixed; inset-inline: 0; bottom: 0; z-index: 50; background: rgba(8,26,49,.97); color: #fff; transform: translateY(100%); transition: transform .25s ease; border-top: 1px solid rgba(255,255,255,.1); }
.ap-buybar.is-visible { transform: none; }
.ap-buybar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: .7rem; }

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
	.ap-nav__toggle { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; background: none; border: 0; cursor: pointer; color: #fff; }
	.ap-nav__toggle i, .ap-nav__toggle i::before, .ap-nav__toggle i::after { display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: transform .2s; }
	.ap-nav__toggle i::before, .ap-nav__toggle i::after { content: ""; position: absolute; left: 0; }
	.ap-nav__toggle i::before { top: -6px; } .ap-nav__toggle i::after { top: 6px; }
	.ap-nav__toggle[aria-expanded="true"] i { background: transparent; }
	.ap-nav__toggle[aria-expanded="true"] i::before { transform: translateY(6px) rotate(45deg); }
	.ap-nav__toggle[aria-expanded="true"] i::after { transform: translateY(-6px) rotate(-45deg); }
	.ap-nav ul { display: none; position: absolute; inset-inline: 0; top: 100%; background: var(--ap-navy-2); flex-direction: column; gap: 0; padding: .5rem 1.25rem 1rem; border-bottom: 1px solid rgba(255,255,255,.1); }
	.ap-nav.is-open ul { display: flex; }
	.ap-nav li a { display: block; padding: .75rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
	.ap-topbar__inner { gap: .6rem; }
	.ap-nav { order: 3; }
}
@media (max-width: 960px) {
	.ap-hero__grid { grid-template-columns: 1fr; min-height: 0; }
	.ap-hero__main { padding-inline-end: 0; }
	.ap-hero__side { margin-inline: -1.25rem; flex-direction: row; align-items: center; gap: 2rem; }
	.ap-hero__mark { width: 120px; margin: 0; }
	.ap-profile, .ap-charset, .ap-spec-tables, .ap-report, .ap-ctx { grid-template-columns: 1fr; }
	.ap-variable__stage { grid-template-columns: 1fr; }
	.ap-devices { grid-template-columns: 1fr; }
	.ap-device--mob { max-width: 320px; margin-inline: auto; width: 100%; }
}
@media (max-width: 720px) {
	.ap-weights__row, .ap-varrows__row { grid-template-columns: 1fr; gap: .4rem; }
	.ap-weights__name, .ap-varrows__row > .ap-mono { grid-column: 1 / -1; display: flex; gap: .5rem; align-items: baseline; }
	.ap-weights__name strong { display: inline; }
	.ap-weights__row--head { display: none; }
	.ap-weights .ap-svg, .ap-varrows .ap-svg { height: 2.4rem; }
	.ap-weights .ap-ar-col .ap-svg, .ap-varrows .ap-ar { margin-inline-start: auto; }
	.ap-forms { grid-template-columns: repeat(2, 1fr); }
	.ap-forms figure:nth-child(3) { border-inline-start: 0; }
	.ap-forms figure:nth-child(n+3) { border-top: 1px solid var(--ap-line); }
	.ap-punct, .ap-bi { grid-template-columns: 1fr; }
	.ap-punct figure + figure { border-inline-start: 0; border-top: 1px solid var(--ap-line); }
	.ap-bi > div + div { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--ap-line); padding-top: 1.5rem; margin-top: 1.5rem; }
	.ap-sizes__row { grid-template-columns: 1fr; gap: .8rem; }
	.ap-sizes__row--head { display: none; }
	.ap-sizes figure + figure { border-inline-start: 0; padding-inline-start: 0; }
	.ap-grid-demo > div, .ap-numweights__row { grid-template-columns: 1fr; gap: .5rem; }
	.ap-numweights__row--head { display: none; }
	.ap-numweights .ap-svg { margin-inline: 0; }
	.ap-legend li:last-child { margin-inline-start: 0; }
	.ap-stats { grid-template-columns: 1fr; }
	.ap-slide__cols { grid-template-columns: 1fr; }
	.ap-apply > div { grid-template-columns: 1fr; gap: .5rem; }
	.ap-hero__side { flex-direction: column; align-items: flex-start; }
	.ap-topbar .ap-btn--sm { padding-inline: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
	.abdo-pro *, .ap-buybar { transition: none !important; }
}
