/* Hallmark · shape: Stage hero, then proof, values, statement, questions, careers · genre: atmospheric · theme: brand · redesign: full · job: contact (advertisers and publishers), the action in the hero and the nav
 * paper: oklch(13% 0.008 262) · accent: oklch(93% 0.179 129) · display: Clash Display · body: Switzer · hero: Stage · nav: floating pill · footer: mast · signature: a live globe of the 30+ countries Neoage operates in, turned by hand
 * axes: dark/display-condensed/chromatic-lime · posture: Restrained · contrast: pass · fold: pass · imagery: product (the globe, a map of real data), partner logos from the live site · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S4 R4 V5 · weakest: E, the globe lights only the headquarters until the country list arrives; built so the list is one array and arcs follow it */
/* Hallmark · reworded "Connecting millions of people to smarter everyday decisions through our ecosystem of websites, apps, and digital brands." to "Our websites, apps and digital brands reach 20M+ people every month." · 58 caps the hero sentence at twelve words */
/* Hallmark · reworded "Neoage is more than a group of companies — it's a connected ecosystem." to a comma · 19 names the dash */
/* Hallmark · reworded "experiences that empower people to make" to "experiences that help people make" · 19 names empower */
/* Hallmark · reworded "7M monthly active users" and "+5 operated countries" to 20M+ and 30+ · the owner gave the new figures on 2026-11-01 */
/* Hallmark · dismissed F7 · the nav is the genre's floating pill and the others are links and buttons, all controls */
@import url("./tokens.css");
@import url("./base.css");

/* ---------- Controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 52px; padding: 0 var(--space-lg); border: 1px solid var(--color-accent); border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); font: 600 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn svg { flex-shrink: 0; }
.btn:hover { background: var(--color-accent-2); border-color: var(--color-accent-2); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { cursor: progress; }
.btn--quiet { background: transparent; color: var(--color-ink); border-color: var(--color-rule); }
.btn--quiet:hover { background: var(--color-paper-3); border-color: var(--color-muted); }
.btn--sm { min-height: 44px; padding: 0 var(--space-md); font-size: var(--text-sm); }

.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); border-radius: var(--radius-pill); }
.skip:focus-visible { top: var(--space-md); }

/* ---------- Nav: floating pill ---------- */
.nav-wrap { position: fixed; inset-inline: 0; top: var(--space-md); z-index: var(--z-sticky-nav); padding-inline: var(--space-md); pointer-events: none; }
.nav { pointer-events: auto; display: flex; align-items: center; gap: var(--space-lg); max-width: 1040px; min-height: 64px; margin-inline: auto; padding: var(--space-xs) var(--space-xs) var(--space-xs) var(--space-lg); border: 1px solid var(--color-rule); border-radius: var(--radius-pill); background: color-mix(in oklab, var(--color-paper) 72%, transparent); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); }
.nav__logo { display: block; flex-shrink: 0; border-radius: var(--space-xs); }
.nav__logo img { height: 22px; width: auto; }
.nav__links { display: flex; gap: var(--space-2xs); margin: 0 auto; padding: 0; list-style: none; }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border-radius: var(--radius-pill); color: var(--color-ink-2); font-size: var(--text-sm); text-decoration: none; transition: color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.nav__links a:hover { color: var(--color-ink); background: var(--color-paper-3); }
.nav__links a[aria-current="true"] { color: var(--color-accent); }
.nav__links a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.nav__menu { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--color-rule); border-radius: var(--radius-pill); background: transparent; color: var(--color-ink); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.nav__menu:hover { background: var(--color-paper-3); }
.nav__menu:active { background: var(--color-paper-2); }
.nav__menu:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* ---------- Hero: Stage, the globe on seven columns ---------- */
body { background: radial-gradient(28% 32% at 74% 30%, color-mix(in oklab, var(--color-accent) 7%, transparent), transparent 72%) fixed, var(--color-paper); }
.hero { position: relative; min-height: 100dvh; display: grid; align-items: center; padding-block: var(--space-3xl) var(--space-2xl); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-2xl); align-items: center; }
.hero h1 { font-size: clamp(3rem, 5vw, 4.75rem); line-height: 1; max-width: 13ch; }
.hero .lead { margin-top: var(--space-lg); color: var(--color-ink-2); max-width: 30ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }
.hero__text > * { animation: settle 700ms var(--ease-out) both; }
.hero__text > :nth-child(2) { animation-delay: 80ms; }
.hero__text > :nth-child(3) { animation-delay: 160ms; }
@keyframes settle { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.globe { position: relative; margin: 0; }
.globe__stage { position: relative; width: min(100%, 680px); aspect-ratio: 1; margin-inline: auto; }
.globe__canvas { display: block; width: 100%; height: 100%; border-radius: 50%; cursor: grab; touch-action: pan-y; animation: globe-in 1100ms var(--ease-out) both; }
.globe__canvas:active { cursor: grabbing; }
.globe__canvas:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 6px; }
@keyframes globe-in { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: none; } }
.globe__nojs { position: absolute; inset: 0; display: grid; place-items: center; padding: var(--space-2xl); text-align: center; color: var(--color-ink-2); border: 1px solid var(--color-rule); border-radius: 50%; }
.globe__caption { display: flex; align-items: center; gap: var(--space-lg); width: min(100%, 680px); margin: var(--space-md) auto 0; padding-top: var(--space-md); border-top: 1px solid var(--color-rule); font-size: var(--text-sm); color: var(--color-muted); }
.globe__count { color: var(--color-ink); white-space: nowrap; }
.globe__count b { font: 600 var(--text-lg)/1 var(--font-display); color: var(--color-accent); margin-right: var(--space-2xs); }
.globe__live { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.globe__live strong { color: var(--color-ink); font-weight: 600; }
.globe__toggle { min-height: 44px; padding: 0 var(--space-md); border: 1px solid var(--color-rule); border-radius: var(--radius-pill); background: transparent; color: var(--color-ink-2); font-size: var(--text-sm); cursor: pointer; transition: color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.globe__toggle:hover { color: var(--color-ink); border-color: var(--color-muted); }
.globe__toggle:active { transform: translateY(1px); }
.globe__toggle:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
html:not(.js) .globe__toggle { display: none; }
@media (prefers-reduced-motion: reduce) { .globe__toggle { display: none; } }

/* ---------- Partners: a logo band ---------- */
.partners { padding-block: var(--space-2xl); border-block: 1px solid var(--color-rule); }
.partners__fig { margin: 0 auto; }
.partners__row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center; gap: var(--gap-columns); margin: 0; padding: 0; list-style: none; }
.partners__row li { display: flex; justify-content: center; }
.partners__row img { height: 34px; width: auto; max-width: 100%; object-fit: contain; opacity: 0.72; }
.partners__row img.is-tall { height: 44px; }
.partners__row img.is-wide { height: 26px; }
.partners__fig figcaption { margin-top: var(--space-lg); text-align: center; font-size: var(--text-sm); color: var(--color-muted); }

/* ---------- Reach: figures ---------- */
.reach { padding-block: var(--section-gap) var(--section-gap-s); }
.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.figures__item { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: var(--space-sm); padding-inline: var(--space-xl); border-left: 1px solid var(--color-rule); }
.figures__item:first-child { padding-left: 0; border-left: 0; }
.figures__item:last-child { padding-right: 0; }
.figures dd { margin: 0; font: 600 clamp(4.5rem, 9vw, 9rem)/0.9 var(--font-display); letter-spacing: -0.02em; color: var(--color-ink); }
.figures__item:first-child dd { color: var(--color-accent); }
.figures dt { font-size: var(--text-md); color: var(--color-ink-2); white-space: nowrap; }

/* ---------- Values: head held, rows pass ---------- */
.values { padding-block: var(--section-gap-s) var(--section-gap); }
.values__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: start; }
.values__head { position: sticky; top: calc(var(--space-3xl) + var(--space-lg)); }
.values__head .lead { margin-top: var(--space-lg); color: var(--color-ink-2); max-width: 34ch; }
.values__list { margin: 0; padding: 0; list-style: none; counter-reset: v; }
.values__item { counter-increment: v; display: grid; grid-template-columns: var(--space-3xl) minmax(0, 1fr); gap: var(--space-2xs) var(--space-lg); padding-block: var(--space-xl); border-top: 1px solid var(--color-rule); transition: opacity var(--dur-long) var(--ease-out); }
.values__item:last-child { border-bottom: 1px solid var(--color-rule); }
.values__item::before { content: counter(v, decimal-leading-zero); grid-row: span 2; font: 600 var(--text-2xl)/1 var(--font-display); color: var(--color-muted); font-variant-numeric: tabular-nums; transition: color var(--dur-long) var(--ease-out); }
.values__item h3 { font-size: clamp(1.75rem, 2.4vw, 2.5rem); line-height: 1.05; }
.values__item p { margin-top: var(--space-sm); color: var(--color-ink-2); max-width: 46ch; }
.js .values__list.is-scrolling .values__item { opacity: 0.38; }
.js .values__list.is-scrolling .values__item.is-active { opacity: 1; }
.values__item.is-active::before { color: var(--color-accent); }

/* ---------- Vision: a statement that fills as it is read ---------- */
.vision { padding-block: var(--section-gap-l); background: var(--color-paper-2); }
.vision__inner { display: grid; justify-items: start; gap: var(--space-2xl); }
.vision__statement { max-width: 22ch; font: 600 clamp(2.5rem, 5.2vw, 5.25rem)/1.04 var(--font-display); letter-spacing: -0.015em; color: var(--color-ink); text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
.vision__statement .w { opacity: var(--o, 1); transition: opacity var(--dur-short) linear; }

/* ---------- FAQ: rows beside the head ---------- */
.faq { padding-block: var(--section-gap); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap-columns); align-items: start; }
.faq__head .lead { margin-top: var(--space-lg); color: var(--color-ink-2); max-width: 28ch; }
.faq__list { border-top: 1px solid var(--color-rule); }
.faq__item { border-bottom: 1px solid var(--color-rule); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 96px; padding-block: var(--space-lg); font: 600 var(--text-title)/1.2 var(--font-display); cursor: pointer; list-style: none; border-radius: var(--space-xs); transition: color var(--dur-short) var(--ease-out); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--color-accent); }
.faq__item summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.faq__item summary svg { flex-shrink: 0; color: var(--color-accent); transition: transform var(--dur-short) var(--ease-in-out); }
.faq__item[open] summary svg { transform: rotate(45deg); }
.faq__item p { padding-bottom: var(--space-xl); color: var(--color-ink-2); max-width: 62ch; }

/* ---------- Careers: a band ---------- */
.careers { position: relative; overflow: hidden; padding-block: var(--section-gap-s); background: var(--color-paper-3); }
.careers__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--gap-columns); align-items: center; }
.careers__text { display: grid; justify-items: start; gap: var(--space-lg); }
.careers__text p { color: var(--color-ink-2); max-width: 46ch; }
.careers__tag { justify-self: end; font: 600 clamp(2.5rem, 6vw, 5.75rem)/0.9 var(--font-display); letter-spacing: -0.02em; color: var(--color-accent); white-space: nowrap; min-width: 0; }

/* ---------- Footer: a mast ---------- */
.footer { padding-block: var(--space-3xl) var(--space-2xl); border-top: 1px solid var(--color-rule); }
.footer__mark { width: 100%; height: auto; opacity: 0.94; }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--space-lg); margin-top: var(--space-2xl); }
.footer__links { display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-lg); margin: 0; padding: 0; list-style: none; }
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-ink-2); text-decoration: none; white-space: nowrap; transition: color var(--dur-short) var(--ease-out); }
.footer__links a:hover { color: var(--color-accent); text-decoration: underline; }
.footer__links a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.footer__legal { font-size: var(--text-sm); color: var(--color-muted); text-align: right; }

/* ---------- Contact dialog ---------- */
.contact { width: min(100% - 2 * var(--space-md), 520px); max-height: calc(100dvh - 2 * var(--space-md)); padding: 0; border: 1px solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-2); color: var(--color-ink); }
.contact::backdrop { background: color-mix(in oklab, var(--color-paper) 70%, transparent); backdrop-filter: blur(6px); }
.contact[open] { animation: dialog-in var(--dur-long) var(--ease-out); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.contact__form { display: grid; gap: var(--space-md); padding: var(--space-xl); }
.contact__top { display: flex; align-items: start; justify-content: space-between; gap: var(--space-md); }
.contact__top h2 { font-size: var(--text-2xl); }
.contact__intro { color: var(--color-ink-2); }
.contact__close { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; border: 1px solid var(--color-rule); border-radius: var(--radius-pill); background: transparent; color: var(--color-ink); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.contact__close:hover { background: var(--color-paper-3); }
.contact__close:active { transform: translateY(1px); }
.contact__close:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.field { display: grid; gap: var(--space-2xs); }
.field label { font-size: var(--text-sm); font-weight: 600; }
.field input, .field textarea { width: 100%; min-height: 48px; padding: var(--space-sm) var(--space-md); border: 1px solid var(--color-muted); border-radius: var(--space-sm); background: var(--color-paper); color: var(--color-ink); outline: 2px solid transparent; outline-offset: -3px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--color-muted); }
.field input:hover, .field textarea:hover { border-color: var(--color-ink-2); }
.field input:focus-visible, .field textarea:focus-visible { outline-color: var(--color-focus); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--color-error); }
.field input:disabled, .field textarea:disabled { opacity: 0.55; cursor: not-allowed; }
.contact__submit { width: 100%; }
.contact__status { min-height: 1lh; font-size: var(--text-sm); color: var(--color-ink-2); }
.contact__consent { font-size: var(--text-xs); line-height: 1.5; color: var(--color-muted); }

/* ---------- Narrow screens ---------- */
@media (max-width: 60rem) {
  .nav { gap: var(--space-sm); }
  .nav__links { display: none; position: absolute; top: calc(100% + var(--space-xs)); inset-inline: 0; flex-direction: column; padding: var(--space-xs); border: 1px solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-2); }
  .nav__links.is-open { display: flex; }
  .nav__links a { min-height: 48px; font-size: var(--text-md); }
  .nav__menu { display: inline-flex; }
  .nav > .btn { margin-left: auto; }
  .hero { min-height: 0; padding-block: calc(var(--space-3xl) + var(--space-xl)) var(--space-2xl); }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .partners__row { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--space-xl); }
  .figures { grid-template-columns: minmax(0, 1fr); }
  .figures__item { padding: var(--space-lg) 0; border-left: 0; border-top: 1px solid var(--color-rule); }
  .figures__item:first-child { border-top: 0; padding-top: 0; }
  .values__grid, .faq__grid, .careers__grid { grid-template-columns: minmax(0, 1fr); }
  .values__head { position: static; margin-bottom: var(--space-xl); }
  .faq__head { margin-bottom: var(--space-xl); }
  .careers__tag { justify-self: start; }
  .footer__legal { text-align: left; }
}
@media (max-width: 40rem) {
  .nav > .btn { display: none; }
  .nav__menu { margin-left: auto; }
  .partners__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values__item { grid-template-columns: minmax(0, 1fr); }
  .values__item::before { grid-row: auto; }
  .globe__caption { flex-wrap: wrap; gap: var(--space-xs) var(--space-md); }
  .contact__form { padding: var(--space-lg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__text > *, .globe__canvas, .contact[open] { animation: none; }
  .btn, .btn:active, .globe__toggle:active, .contact__close:active { transform: none; transition: background-color var(--dur-short) linear; }
  .faq__item summary svg, .values__item, .values__item::before, .vision__statement .w { transition: none; }
  .js .values__list.is-scrolling .values__item { opacity: 1; }
  .vision__statement .w { opacity: 1; }
}

/* ---------- Privacy policy: a long document ---------- */
.doc-bar { border-bottom: 1px solid var(--color-rule); }
.doc-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 72px; }
.doc { padding-block: var(--space-3xl) var(--section-gap-s); max-width: calc(72ch + 2 * var(--gutter)); }
.doc__head { padding-bottom: var(--space-2xl); margin-bottom: var(--space-2xl); border-bottom: 1px solid var(--color-rule); }
.doc__head p { color: var(--color-muted); font-size: var(--text-sm); }
.doc__head h1 { font-size: var(--text-display-s); margin-block: var(--space-sm); }
.doc section + section { margin-top: var(--space-xl); }
.doc h2 { font-size: var(--text-title); line-height: 1.2; margin-bottom: var(--space-sm); }
.doc p, .doc li { line-height: 1.7; color: var(--color-ink-2); }
.doc p + p, .doc p + ul, .doc ul + p { margin-top: var(--space-sm); }
.doc ul { padding-left: var(--space-lg); margin: var(--space-sm) 0 0; }
.doc strong { color: var(--color-ink); }
.doc a { color: var(--color-accent); }
.doc a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.footer--doc { padding-block: var(--space-xl); }
.footer--doc .footer__row { margin-top: 0; }
