/* AZINOR TECH — main stylesheet. Dark, minimal, crimson accents. No external fonts. */
:root {
	--bg: #0b0b0d; --bg-2: #101014; --panel: #141418; --panel-2: #1a1a20; --line: #26262c; --line-2: #34343c;
	--red: #e11d2e; --red-2: #ff3b4a; --red-glow: rgba(225, 29, 46, .35);
	--txt: #f4f4f5; --soft: #d4d4d8; --mute: #a1a1aa;
	--ok: #22c55e; --warn: #f59e0b;
	--max: 1120px; --narrow: 820px; --radius: 16px;
	--font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
	--ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0; background: var(--bg); color: var(--txt);
	font: 400 17px/1.7 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--red-2); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--red-2); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; font-weight: 800; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
strong, b { font-weight: 700; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--red); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.page-narrow { max-width: var(--narrow); }
.muted { color: var(--mute); }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--soft); max-width: 680px; line-height: 1.6; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 .78rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--red-2); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--red); border-radius: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 11, 13, .78); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--txt); text-decoration: none; font-weight: 800; letter-spacing: .1em; font-size: .98rem; }
.brand b { color: var(--red); }
.brand:hover { color: var(--txt); }
.primary-nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.primary-nav a { display: block; padding: 8px 14px; border-radius: 10px; color: var(--mute); text-decoration: none; font-weight: 600; font-size: .95rem; transition: color .2s, background .2s; }
.primary-nav a:hover, .primary-nav a[aria-current] { color: var(--txt); background: rgba(255, 255, 255, .05); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; padding: 0; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: var(--txt); margin: 0 auto; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; } .nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 760px) {
	.js .nav-toggle { display: block; }
	.js .primary-nav { position: absolute; left: 0; right: 0; top: 100%; background: rgba(11, 11, 13, .97); border-bottom: 1px solid var(--line); padding: 8px 20px 18px; display: none; }
	.js .primary-nav.is-open { display: block; animation: drop .25s var(--ease); }
	.js .primary-nav ul { flex-direction: column; gap: 2px; }
	.js .primary-nav a { padding: 12px 14px; font-size: 1.05rem; }
	.primary-nav ul { flex-wrap: wrap; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }

/* Buttons (theme + block editor buttons) */
.btn, .wp-block-button__link {
	display: inline-flex; align-items: center; gap: 8px; background: var(--red); color: #fff; text-decoration: none;
	font: 700 1rem/1 var(--font); padding: 15px 24px; border-radius: 12px; border: 1px solid transparent;
	box-shadow: 0 8px 28px -10px var(--red-glow), inset 0 1px 0 rgba(255, 255, 255, .15);
	transition: transform .2s var(--ease), background .2s, box-shadow .2s;
}
.btn:hover, .wp-block-button__link:hover { background: var(--red-2); color: #fff; transform: translateY(-1px); box-shadow: 0 12px 34px -10px var(--red-glow); }
.btn--ghost, .is-style-outline .wp-block-button__link { background: rgba(255, 255, 255, .03); border-color: var(--line-2); box-shadow: none; color: var(--txt); }
.btn--ghost:hover, .is-style-outline .wp-block-button__link:hover { background: rgba(255, 255, 255, .07); color: #fff; box-shadow: none; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }

/* Page structure */
.site-main { min-height: 60vh; overflow-x: clip; }
.page-hero { padding: 56px 0 18px; }
.page-hero--404 { padding: 110px 20px; }
.entry-content > * + * { margin-top: 0; }
.entry-content > h2 { margin-top: 2.2em; }
.entry-content > .wp-block-heading:first-child { margin-top: 0; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin: .4em 0; }
.entry-content li::marker { color: var(--red-2); font-weight: 700; }
.entry-content--home { padding-bottom: 40px; }
.entry-content--home > h2 { margin-top: 56px; }
.updated { font-size: .9rem; margin-top: 40px; border-top: 1px solid var(--line); padding-top: 18px; }
.section-note { margin-top: 48px; }

/* Breadcrumbs */
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 26px 0 0; margin: 0; font-size: .88rem; color: var(--mute); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.breadcrumbs a { color: var(--mute); text-decoration: none; }
.breadcrumbs a:hover { color: var(--txt); }

/* Hero (Home page group with class "hero") */
.hero { position: relative; padding: clamp(72px, 12vw, 140px) 0 clamp(48px, 7vw, 80px); isolation: isolate; }
.hero::before {
	content: ""; position: absolute; z-index: -1; inset: -68px -50vw 0; pointer-events: none;
	background:
		radial-gradient(600px 340px at 78% 30%, rgba(225, 29, 46, .22), transparent 70%),
		radial-gradient(500px 300px at 10% 0%, rgba(255, 59, 74, .08), transparent 70%),
		linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 48px 48px,
		linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 48px 48px;
	-webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
	mask-image: linear-gradient(to bottom, #000 55%, transparent);
}
.hero h1 { max-width: 20ch; font-size: clamp(2.5rem, 6.4vw, 4.4rem); letter-spacing: -.035em; }
.hero h1 strong { font-weight: 800; background: linear-gradient(100deg, var(--red-2), var(--red) 60%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.js .hero > * { animation: rise .8s var(--ease) both; }
.js .hero > *:nth-child(2) { animation-delay: .08s; } .js .hero > *:nth-child(3) { animation-delay: .16s; } .js .hero > *:nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* Cards and grids (block groups "grid" / "card" and product cards) */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin: 22px 0; }
.card {
	position: relative; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line);
	border-radius: var(--radius); padding: 26px; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.card::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; border-radius: var(--radius) var(--radius) 0 0; background: linear-gradient(90deg, transparent, rgba(255, 59, 74, .55), transparent); opacity: 0; transition: opacity .3s; }
.card:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: 0 22px 50px -28px rgba(0, 0, 0, .9); }
.card:hover::before { opacity: 1; }
.card > :last-child { margin-bottom: 0; }
.card h3 { margin-bottom: .45em; }
.card p { font-size: .97rem; }

.product-card { display: flex; flex-direction: column; }
.product-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.product-card__icon { width: 56px; height: 56px; border-radius: 14px; object-fit: contain; }
.product-card__icon--blank { display: block; background: radial-gradient(circle at 30% 30%, #2a2a31, #17171c); border: 1px solid var(--line); }
.product-card__title { font-size: 1.25rem; margin: 0 0 .4em; }
.product-card__title a { color: var(--txt); text-decoration: none; }
.product-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); } /* whole card clickable */
.product-card__meta { font-size: .85rem; color: var(--mute); margin-top: auto; padding-top: 6px; font-family: var(--mono); }
.product-card__more { color: var(--red-2); font-weight: 700; font-size: .95rem; transition: transform .25s var(--ease); display: inline-block; }
.product-card.is-linked:hover .product-card__more { transform: translateX(4px); }
.product-card.is-soon { opacity: .82; }
.product-card.is-soon:hover { transform: none; }

.badge { display: inline-flex; align-items: center; gap: 7px; font: 700 .74rem/1 var(--font); letter-spacing: .04em; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--soft); background: rgba(255, 255, 255, .03); white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--available { color: var(--ok); border-color: rgba(34, 197, 94, .35); }
.badge--beta { color: var(--red-2); border-color: rgba(255, 59, 74, .4); background: rgba(225, 29, 46, .08); }
.badge--beta::before { animation: pulse 2s infinite; }
.badge--development { color: var(--warn); border-color: rgba(245, 158, 11, .3); }
.badge--planned { color: var(--mute); }
@keyframes pulse { 50% { opacity: .35; } }

/* Notes (block group "note") */
.note { border: 1px solid rgba(225, 29, 46, .3); border-left: 3px solid var(--red); background: linear-gradient(90deg, rgba(225, 29, 46, .1), rgba(225, 29, 46, .03)); padding: 18px 22px; border-radius: 12px; color: #e4e4e7; margin: 24px 0; }
.note > :last-child { margin-bottom: 0; }

/* Product page */
.product-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: 44px 0 30px; position: relative; isolation: isolate; }
.product-hero::before { content: ""; position: absolute; z-index: -1; right: -10%; top: 0; width: 60%; height: 100%; background: radial-gradient(closest-side, rgba(225, 29, 46, .18), transparent); pointer-events: none; }
.product-hero__label { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.product-hero__icon { width: 56px; height: 56px; border-radius: 14px; }
.product-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0; }
.shot { border-radius: var(--radius); border: 1px solid var(--line-2); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .02); }
.facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; padding-top: 18px; border-top: 1px solid var(--line); }
.facts dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--mute); }
.facts dd { margin: 2px 0 0; font-weight: 600; }
@media (max-width: 860px) { .product-hero { grid-template-columns: 1fr; } }

.faq, .releases { max-width: var(--narrow); margin-top: 64px; }
.faq__item { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); margin-bottom: 10px; transition: border-color .2s; }
.faq__item[open] { border-color: var(--line-2); }
.faq__item summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 20px; font-weight: 700; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--red-2); font-size: 1.4rem; font-weight: 400; transition: transform .25s var(--ease); }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { padding: 0 20px 18px; margin: 0; color: var(--soft); }
.releases__list { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.releases__list li { position: relative; padding: 0 0 22px 24px; }
.releases__list li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--red); }
.releases__list h3 { font-family: var(--mono); font-size: 1rem; }

/* Core blocks */
.wp-block-image { margin: 24px 0; }
.wp-block-image img { border-radius: var(--radius); border: 1px solid var(--line-2); }
.wp-element-caption, figcaption { color: var(--mute); font-size: .9rem; margin-top: 10px; text-align: center; }
.wp-block-table { margin: 18px 0 26px; overflow-x: auto; }
.wp-block-table table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .93rem; }
.wp-block-table th, .wp-block-table td { border: 1px solid var(--line); padding: 11px 13px; text-align: left; vertical-align: top; }
.wp-block-table th { background: var(--panel-2); font-weight: 700; }
.wp-block-table tbody tr:nth-child(even) { background: rgba(255, 255, 255, .015); }
.wp-block-separator { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.wp-block-quote { border-left: 3px solid var(--red); margin: 24px 0; padding: 4px 0 4px 20px; color: var(--soft); }
code, pre { font-family: var(--mono); font-size: .9em; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; }
code { padding: 2px 6px; } pre { padding: 16px; overflow-x: auto; }
.post-list { display: grid; gap: 16px; }
.post-card h2 { font-size: 1.3rem; } .post-card h2 a { color: var(--txt); text-decoration: none; }

/* Footer */
.site-footer { margin-top: 96px; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), var(--bg)); color: var(--mute); font-size: .93rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1.4fr 1fr; gap: 32px; padding-top: 48px; padding-bottom: 32px; }
.site-footer__title { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); margin-bottom: 12px; }
.site-footer a { color: var(--soft); }
.site-footer a:hover { color: #fff; }
.site-footer .brand { margin-bottom: 12px; }
.footer-menu { list-style: none; padding: 0; margin: 0; display: flex; gap: 16px; flex-wrap: wrap; }
.site-footer__bottom { border-top: 1px solid var(--line); padding-top: 18px; padding-bottom: 28px; font-size: .85rem; }
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* Ad slots (inactive until Phase 3) */
.ad-slot { margin: 48px 0; min-height: 100px; border: 1px dashed var(--line); border-radius: 12px; }

/* Scroll reveal (only with JS; respects reduced motion) */
.reveal-on .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-on .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.reveal-on .reveal { opacity: 1; transform: none; }
}

/* Block editor: match the site look */
.editor-styles-wrapper { background: var(--bg); color: var(--txt); font-family: var(--font); }
