/* Meikero — brand layer. Loaded last on every page.
 * Type: Inter Tight for display (headings, numbers, wordmark), Inter for text and UI,
 * IBM Plex Mono only for code and tool calls. Labels are sentence-case sans, never mono caps.
 * Colour: monochrome; colour only for state. Geometry: 4px controls, 8px surfaces, hairlines.
 */

body { font-family: var(--font-sans); font-feature-settings: "kern", "liga", "calt", "cv11", "ss01"; text-rendering: optimizeLegibility; letter-spacing: -0.006em; }
::selection { background: #0b0b0c; color: #fff; }

/* Display type */
h1, h2, h3, h4,
.hero-x__title, .page-title, .plan__price strong, .offer__price, .release__meta strong,
.pv-h, .brand { font-family: var(--font-display); }
h1 { font-weight: 700; letter-spacing: -0.045em; line-height: 1.0; }
h2 { font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.hero-x__title { font-weight: 700; letter-spacing: -0.05em; line-height: 0.96; }
.hero-x__title--page { letter-spacing: -0.045em; line-height: 1.0; }
.section__head { max-width: 760px; }
.prose h2, .woo-page h2, .faq summary { font-size: 1.6rem; letter-spacing: -0.03em; }
.faq summary { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; }
.section__head p, .lead, .hero-x__lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.55; letter-spacing: -0.01em; }
.button { font-family: var(--font-sans); font-weight: 600; letter-spacing: -0.01em; }
.nav__list a, .nav__account { font-weight: 500; letter-spacing: -0.01em; }

/* Labels: solid sans, sentence case (replaces mono uppercase) */
.eyebrow, .hero-x__eyebrow, .site-footer__h, .facts__list, .release__meta, .legend, .tools-bar__note,
.composer__meta, .win__bar, .bridge__label, .bridge__sub, .wpadmin__label, .plan-tag, .ref-nav a span,
.tool-group__count, .seg button span, .compare .compare__group th, .pv-cats i, .site-footer__version {
	font-family: var(--font-sans);
	text-transform: none;
	letter-spacing: -0.005em;
}
.eyebrow {
	display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
	font-size: .95rem; font-weight: 600; color: var(--ink-2);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: currentColor; }
.section--dark .eyebrow, .hero-x .eyebrow { color: rgba(255,255,255,.75); }
.hero-x__eyebrow { font-size: .9rem; font-weight: 500; letter-spacing: -0.005em; padding: 7px 12px; }
.site-footer__h { font-size: .9rem; font-weight: 600; color: rgba(255,255,255,.9); margin-bottom: 16px; }
.facts__list { font-size: .92rem; font-weight: 500; color: var(--ink-2); }
.release__meta { font-size: .9rem; }
.compare .compare__group th { font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.win__bar { font-size: .78rem; }
.bridge__label { font-weight: 700; font-size: .72rem; letter-spacing: .02em; }
.wpadmin__label { font-size: .74rem; font-weight: 500; }
.composer__meta { font-size: .74rem; }

/* Code stays mono */
code, kbd, pre, .chip, .tool, .ref-table code, .hb-state, .win__addr, .win__tab, .preview__log { font-family: var(--font-mono); }

/* Logo */
.brand { gap: 10px; font-weight: 700; letter-spacing: -0.045em; font-size: 1.25rem; line-height: 1; }
.brand__logo { width: 24px; height: 24px; display: block; flex: 0 0 auto; }
.brand__logo rect { fill: currentColor; }
.brand__logo path { stroke: var(--mark-cut, #0b0b0c); }
.brand__mark { display: none; }

/* "Coming soon" disabled CTA */
.button.is-soon { opacity: 1; cursor: default; background: transparent !important; color: rgba(255,255,255,.75) !important; border: 1px dashed rgba(255,255,255,.3) !important; }
.button.is-soon small { margin-left: 6px; padding: 2px 6px; border-radius: 3px; background: rgba(255,255,255,.1); font-size: .72rem; font-weight: 600; }
.section:not(.section--dark) .button.is-soon { color: var(--ink-2) !important; border-color: var(--line-strong) !important; }
.section:not(.section--dark) .button.is-soon small { background: var(--paper-2); }

/* Home hero: slogan as H1 with the product line beneath (one H1) */
.hero-x__title .h1-sub { display: block; margin-top: 18px; font-size: clamp(1.4rem, 2.6vw, 2.2rem); line-height: 1.15; letter-spacing: -0.03em; font-weight: 600; color: rgba(255,255,255,.62); }

/* Wordmark + slogan (no icon) */
.brand--word { gap: 12px; align-items: center; }
.brand--word .brand__name { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; letter-spacing: -0.055em; line-height: 1; }
.brand__tagline {
	padding-left: 12px; border-left: 1px solid rgba(255,255,255,.22);
	font-family: var(--font-sans); font-size: .74rem; font-weight: 500; letter-spacing: .01em; line-height: 1.1;
	color: rgba(255,255,255,.55); white-space: nowrap;
}
.brand--stack { flex-direction: column; align-items: flex-start; gap: 6px; }

/* Logo image (media library "meikero_logo": black wordmark on a light tile).
 * Dark surfaces: invert + contrast turns the tile black and the letters white; "lighten" lets the dark backdrop through.
 * Light surfaces (checkout header): contrast turns the tile white; "multiply" drops it. */
.brand__img { display: block; width: auto; height: 22px; max-width: none; filter: invert(1) contrast(1.35); mix-blend-mode: lighten; }
.brand--stack .brand__img { height: 28px; }
.site-header--min .brand__img { height: 20px; filter: contrast(1.35); mix-blend-mode: multiply; }
@media (max-width: 420px) { .site-header .brand__img { height: 19px; } }

/* Separate costs + optional services (Pricing, Support) */
.costs-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.costs-list li { margin: 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); font-size: .92rem; color: var(--ink-2); }
.costs-list strong { display: block; margin-bottom: 4px; color: var(--ink); font-family: var(--font-display); letter-spacing: -.01em; }
@media (max-width: 900px) { .costs-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .costs-list { grid-template-columns: 1fr; } }
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.service { padding: 24px 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); }
.service h3 { margin-top: 0; }
.service__price { margin: 0 0 8px; font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; letter-spacing: -.04em; color: var(--ink); }
.service__price small { margin-left: 6px; font-family: var(--font-sans); font-size: .9rem; font-weight: 500; letter-spacing: 0; color: var(--ink-3); }
@media (max-width: 700px) { .services { grid-template-columns: 1fr; } }
.brand--stack .brand__tagline { padding-left: 0; border-left: 0; }
@media (max-width: 420px) { .site-header .brand__tagline { display: none; } }

/* No gradient type, calm indicators */
.hero-x__title .w--muted > span { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #77777c; }
.hero-x__live::after { display: none; }
.hero-x__live { width: 6px; height: 6px; }
.hero-x__eyebrow { border-radius: var(--radius); background: rgba(255,255,255,.03); -webkit-backdrop-filter: none; backdrop-filter: none; }

/* Geometry */
.pill { border-radius: 3px; }
.button { border-radius: var(--radius); }
.seg, .seg button, .hx-tag, .chip { border-radius: var(--radius) !important; }
.plan, .compare, .glass, .card, .steps li, .tool-group, .admin-check { border-radius: var(--radius-lg) !important; }
.site-header .button--small { padding: 9px 14px; }

/* Steps: numbers in display type instead of mono */
.steps li::before { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; letter-spacing: -0.04em; color: var(--ink); margin-bottom: 18px; }
.guide > li::before { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); padding-top: 2px; }

/* Rhythm */
.section + .section:not(.section--muted):not(.section--dark) { border-top: 1px solid var(--line); }
.facts__list { justify-content: flex-start; gap: 10px 36px; }
.hero-x, .section--dark, .site-footer, .plan--pro { background-color: var(--night); }


/* Account identity and layout */
.site-header .nav__account { min-width: 0; }
.nav__account-text { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; line-height: 1.15; min-width: 0; }
.nav__account-email { display: block; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 400; letter-spacing: 0; color: rgba(255,255,255,.65); }
.woocommerce-account .page-head--acct { padding-top: 48px; padding-bottom: 0; }
.woocommerce-account .page-head--acct h1 { margin-bottom: 0; }
.woocommerce-account.logged-in .woo-content .woocommerce { max-width: none; }
.woocommerce-account .section--page { padding-top: 28px; padding-bottom: 64px; }
.woocommerce-account .acct-nav.woocommerce-MyAccount-navigation { margin: 0 0 32px !important; padding-bottom: 0; gap: 16px; }
.acct-nav__list { min-width: 0; flex: 1; }
.acct-nav__list a { padding: 14px 12px; }
.woocommerce-account .acct-hello { margin: 0 0 10px; font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.25; overflow-wrap: anywhere; }
.woocommerce-account .acct-sub { margin: 0 0 28px; font-size: .95rem; overflow-wrap: anywhere; }
.acct-cards { gap: 20px; margin-bottom: 28px; }
.acct-card { min-height: 180px; padding: 24px; gap: 14px; }
.acct-card__value { font-size: 2.5rem; }
.acct-card__hint { line-height: 1.55; }
.acct-next { padding: 28px; }
.acct-next ol { max-width: 80ch; line-height: 1.7; }
.acct-next li + li { margin-top: 12px; }
.acct-note { max-width: 100ch; line-height: 1.65; }
@media (max-width: 900px) and (min-width: 601px) { .acct-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } .acct-card { padding: 20px; } }
@media (max-width: 600px) {
 .woocommerce-account .page-head--acct { padding-top: 32px; }
 .woocommerce-account .acct-nav.woocommerce-MyAccount-navigation { align-items: flex-start; flex-direction: column; gap: 12px; padding-bottom: 16px; }
 .acct-nav__list { width: 100%; }
 .acct-cards { grid-template-columns: 1fr; gap: 12px; }
 .acct-card { min-height: 160px; }
 .acct-next { padding: 20px; }
 .nav__account-email { max-width: 220px; }
}
