/* =========================================================================
   Nordora Technologies — design system
   Translucent "glass" surfaces, system typography, generous whitespace.
   ========================================================================= */

:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter Display", "Inter", "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  --bg: #f5f6f8;
  --bg-2: #eceef2;
  --surface: #ffffff;
  --text: #0b0d12;
  --text-2: #484e5c;
  --text-3: #5f6574;
  --line: rgba(15, 23, 42, .09);
  --line-2: rgba(15, 23, 42, .14);
  --glass: rgba(255, 255, 255, .62);
  --glass-strong: rgba(255, 255, 255, .82);
  --glass-edge: rgba(255, 255, 255, .85);
  --glass-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 0 0 .5px rgba(15, 23, 42, .08), 0 12px 32px -12px rgba(15, 23, 42, .18), 0 2px 6px rgba(15, 23, 42, .04);
  --card-shadow: 0 0 0 .5px rgba(15, 23, 42, .07), 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px -10px rgba(15, 23, 42, .12);
  --card-shadow-hover: 0 0 0 .5px rgba(15, 23, 42, .08), 0 2px 4px rgba(15, 23, 42, .05), 0 22px 48px -16px rgba(15, 23, 42, .22);

  --blue: #0a6cff;
  --blue-2: #3b82f6;
  --teal: #14b8a6;
  --violet: #7c5cff;
  --accent: var(--blue);
  --primary: #0062e6;
  --primary-hover: #0052c2;
  --btn-primary: #0062e6;
  --btn-primary-hover: #0052c2;
  --on-primary: #fff;
  --danger: #e5484d;
  --success: #12a150;
  --aurora: linear-gradient(115deg, #22d3c5 0%, #3b82f6 45%, #8b5cf6 85%);
  --aurora-soft: linear-gradient(115deg, rgba(34, 211, 197, .16), rgba(59, 130, 246, .14) 45%, rgba(139, 92, 246, .16));

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 64px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .64, 1);
  color-scheme: light;
}


@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #07090f; --bg-2: #0c0f17; --surface: #11141d;
    --text: #f4f6fb; --text-2: #b0b7c6; --text-3: #8189a0;
    --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .14);
    --glass: rgba(24, 28, 40, .55); --glass-strong: rgba(24, 28, 40, .82); --glass-edge: rgba(255, 255, 255, .12);
    --glass-shadow: 0 1px 0 rgba(255, 255, 255, .07) inset, 0 0 0 .5px rgba(255, 255, 255, .09), 0 16px 40px -14px rgba(0, 0, 0, .7);
    --card-shadow: 0 0 0 .5px rgba(255, 255, 255, .08), 0 1px 0 rgba(255, 255, 255, .04) inset, 0 10px 30px -14px rgba(0, 0, 0, .6);
    --card-shadow-hover: 0 0 0 .5px rgba(255, 255, 255, .14), 0 1px 0 rgba(255, 255, 255, .06) inset, 0 24px 56px -18px rgba(0, 0, 0, .8);
    --primary: #4c93ff; --primary-hover: #6aa6ff; --blue: #4a92ff; --btn-primary: #1a66e8; --btn-primary-hover: #2a74f0;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #07090f; --bg-2: #0c0f17; --surface: #11141d;
  --text: #f4f6fb; --text-2: #b0b7c6; --text-3: #8189a0;
  --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .14);
  --glass: rgba(24, 28, 40, .55); --glass-strong: rgba(24, 28, 40, .82); --glass-edge: rgba(255, 255, 255, .12);
  --glass-shadow: 0 1px 0 rgba(255, 255, 255, .07) inset, 0 0 0 .5px rgba(255, 255, 255, .09), 0 16px 40px -14px rgba(0, 0, 0, .7);
  --card-shadow: 0 0 0 .5px rgba(255, 255, 255, .08), 0 1px 0 rgba(255, 255, 255, .04) inset, 0 10px 30px -14px rgba(0, 0, 0, .6);
  --card-shadow-hover: 0 0 0 .5px rgba(255, 255, 255, .14), 0 1px 0 rgba(255, 255, 255, .06) inset, 0 24px 56px -18px rgba(0, 0, 0, .8);
  --primary: #4c93ff; --primary-hover: #6aa6ff; --blue: #4a92ff; --btn-primary: #1a66e8; --btn-primary-hover: #2a74f0;
  color-scheme: dark;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 32px); }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.55; letter-spacing: -.011em;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: hidden; min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; outline: none; position: relative; z-index: 1; }
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0 0 .5em; line-height: 1.1; letter-spacing: -.025em; font-weight: 650; color: var(--text); }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
::selection { background: color-mix(in srgb, var(--primary) 28%, transparent); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 55%, transparent); outline-offset: 2px; border-radius: 8px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.2em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.muted { color: var(--text-2); }
.small { font-size: .875rem; }
/* Single-word gradient accents were retired in 2.0: headlines carry one dimensional treatment as a whole. */
.grad, em.grad { font-style: normal; color: inherit; }

.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; padding: 10px 16px; border-radius: 12px; background: var(--primary); color: #fff; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: calc(780px + var(--gutter) * 2); }

/* ambient background */
.backdrop { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; will-change: transform; }
.orb-1 { width: 46vw; height: 46vw; left: -12vw; top: -18vw; background: radial-gradient(circle, rgba(45, 212, 191, .55), transparent 65%); animation: drift1 28s var(--ease) infinite alternate; }
.orb-2 { width: 40vw; height: 40vw; right: -10vw; top: -8vw; background: radial-gradient(circle, rgba(99, 102, 241, .5), transparent 65%); animation: drift2 32s var(--ease) infinite alternate; }
.orb-3 { width: 38vw; height: 38vw; left: 30vw; top: 22vw; background: radial-gradient(circle, rgba(59, 130, 246, .35), transparent 65%); animation: drift3 36s var(--ease) infinite alternate; }
:root[data-theme="dark"] .orb { opacity: .32; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .orb { opacity: .32; } }
@keyframes drift1 { to { transform: translate(8vw, 6vw) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-6vw, 8vw) scale(.92); } }
@keyframes drift3 { to { transform: translate(-10vw, -6vw) scale(1.15); } }

/* glass material */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  backdrop-filter: saturate(180%) blur(24px);
  box-shadow: var(--glass-shadow);
  border: 0;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .glass { background: var(--glass-strong); } }

/* ------------------------------------------------------------------ announcement + header */
.announcement { position: relative; z-index: 60; text-align: center; font-size: .875rem; padding: 8px var(--gutter); background: var(--aurora); color: #fff; font-weight: 500; }
.announcement a { color: #fff; display: inline-flex; gap: 6px; align-items: center; }

.site-header { position: sticky; top: 0; z-index: 50; padding: 12px var(--gutter) 0; }
.header-inner {
  max-width: var(--container); margin: 0 auto; height: var(--header-h); border-radius: 20px;
  display: flex; align-items: center; gap: 12px; padding: 0 10px 0 18px; transition: box-shadow .3s, background .3s;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; letter-spacing: -.03em; color: var(--text); }
.brand:hover { color: var(--text); }
.brand img { border-radius: 8px; }
.primary-nav { margin: 0 auto; }
.primary-nav > ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.primary-nav li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; padding: 8px 13px; border-radius: 12px; font-size: .9375rem; font-weight: 500;
  color: var(--text-2); background: none; border: 0; transition: background .2s, color .2s; white-space: nowrap;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { background: color-mix(in srgb, var(--text) 6%, transparent); color: var(--text); }
.nav-link.active { color: var(--text); }
.nav-link .chev { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.subnav {
  position: absolute; top: calc(100% + 12px); left: 50%; width: 400px; padding: 10px; border-radius: 22px;
  opacity: 0; visibility: hidden; transform: translate(-50%, -6px) scale(.98); transform-origin: top center;
  transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s .25s; background: var(--glass-strong);
}
.has-sub.open .subnav, .js .has-sub:focus-within .subnav:has(:focus-visible) { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition-delay: 0s; }
.subnav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.subnav a { display: block; padding: 10px 12px; border-radius: 14px; transition: background .15s; }
.subnav a:hover { background: color-mix(in srgb, var(--text) 6%, transparent); color: var(--text); }
.subnav strong { display: block; font-size: .9375rem; font-weight: 600; }
.subnav span { display: block; font-size: .8125rem; color: var(--text-3); margin-top: 1px; }
.subnav-overview { display: flex !important; align-items: center; justify-content: space-between; font-weight: 600; font-size: .875rem; color: var(--primary); margin-bottom: 4px; border-bottom: .5px solid var(--line); border-radius: 14px 14px 6px 6px !important; }

.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.primary-nav + .header-actions { margin-left: 0; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 12px; display: inline-grid; place-items: center; background: none; border: 0;
  color: var(--text-2); transition: background .2s, color .2s;
}
.icon-btn:hover { background: color-mix(in srgb, var(--text) 7%, transparent); color: var(--text); }
.theme-toggle .icon { display: none; }
:root[data-theme="auto"] .theme-toggle .t-auto, :root[data-theme="light"] .theme-toggle .t-light, :root[data-theme="dark"] .theme-toggle .t-dark { display: block; }
.menu-toggle { display: none; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }
.mobile-menu { max-width: var(--container); margin: 8px auto 0; border-radius: 22px; padding: 12px; max-height: calc(100vh - 100px); overflow: auto; background: var(--glass-strong); }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu > nav > ul > li > a { display: block; padding: 12px 14px; font-size: 1.15rem; font-weight: 600; border-radius: 14px; }
.mobile-menu a[aria-current] { color: var(--primary); }
.mobile-sub { padding-left: 14px !important; margin-bottom: 6px !important; }
.mobile-sub a { display: block; padding: 7px 14px; color: var(--text-2); }
.mobile-menu .btn { margin-top: 10px; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px;
  font-size: .9375rem; font-weight: 600; letter-spacing: -.01em; border: 0; white-space: nowrap; position: relative;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s;
}
.btn:active { transform: scale(.97); }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(2px); }
.btn-sm { height: 36px; padding: 0 15px; font-size: .875rem; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--btn-primary); color: var(--on-primary); box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 6px 18px -6px color-mix(in srgb, var(--primary) 70%, transparent); }
.btn-primary:hover { background: var(--btn-primary-hover); color: var(--on-primary); }
.btn-glass { background: var(--glass); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); box-shadow: var(--glass-shadow); color: var(--text); }
.btn-glass:hover { color: var(--text); background: var(--glass-strong); }
.btn-ghost { background: color-mix(in srgb, var(--text) 7%, transparent); color: var(--text); }
.btn-ghost:hover { background: color-mix(in srgb, var(--text) 11%, transparent); color: var(--text); }
.btn-light { background: #fff; color: #0b0d12; box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .35); }
.btn-light:hover { color: #0b0d12; background: #f2f4f8; }
.btn[disabled], .btn.is-loading { opacity: .65; pointer-events: none; }
.linklike { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }

/* ------------------------------------------------------------------ typography helpers */
.display-xl { font-size: clamp(2.5rem, 5.2vw, 4.6rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 700; margin-bottom: .35em; }
.display { font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -.04em; font-weight: 700; margin-bottom: .35em; }
.h-section { font-size: clamp(1.9rem, 3.6vw, 3rem); letter-spacing: -.035em; line-height: 1.08; font-weight: 700; }
.h-card { font-size: 1.25rem; letter-spacing: -.02em; font-weight: 650; margin-bottom: .8em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--text-2); max-width: 46ch; letter-spacing: -.016em; }
.eyebrow { font-size: .875rem; font-weight: 600; letter-spacing: 0; color: var(--primary); margin-bottom: .8em; }
.eyebrow-pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; border-radius: 999px; font-size: .875rem; font-weight: 500; color: var(--text-2); background: var(--glass); box-shadow: var(--glass-shadow); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); margin-bottom: 28px; }
.eyebrow-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--aurora); box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 18%, transparent); }

/* ------------------------------------------------------------------ sections & layout */
.section { padding: clamp(56px, 6.5vw, 96px) 0; position: relative; }
.section:not(.section-tint) + .section:not(.section-tint) { padding-top: clamp(16px, 2vw, 32px); }
.section-tight { padding: clamp(40px, 5vw, 64px) 0; }
.section-tint { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--bg-2) 70%, transparent) 12%, color-mix(in srgb, var(--bg-2) 70%, transparent) 88%, transparent); }
.section-head { max-width: 860px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .lead { margin-bottom: 0; }
.section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head-row > div { max-width: 720px; }
.count { font-size: .5em; vertical-align: .55em; color: var(--text-3); font-weight: 600; margin-left: .2em; }
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.narrow-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }

/* ------------------------------------------------------------------ hero */
.hero { padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 6vw, 72px); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero .lead { max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.win-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-bottom: .5px solid var(--line); }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .15); }
.win-bar i:nth-child(2) { background: #febc2e; }
.win-bar i:nth-child(3) { background: #28c840; }
.win-bar span { margin: 0 auto; font-size: .75rem; color: var(--text-3); font-weight: 500; padding-right: 50px; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes float { 50% { transform: translateY(-10px); } }

.trust { margin-top: clamp(48px, 7vw, 88px); text-align: center; }
.logo-row { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px clamp(28px, 5vw, 56px); }
.logo-row img { height: 28px; width: auto; filter: grayscale(1); opacity: .7; }
.wordmark { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.03em; color: var(--text-3); white-space: nowrap; }

/* ------------------------------------------------------------------ page hero */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(24px, 4vw, 48px); position: relative; }
.page-hero.compact { padding-bottom: 8px; }
.page-hero .lead { max-width: 40em; }
.detail-hero .app-icon-xl { margin-bottom: 24px; }
.breadcrumbs ol { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .8125rem; color: var(--text-3); }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; opacity: .7; }
.breadcrumbs a:hover { color: var(--text); }
.notice { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 12px; background: color-mix(in srgb, var(--primary) 9%, transparent); color: var(--text-2); }

/* ------------------------------------------------------------------ cards */
.card {
  position: relative; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--card-shadow); padding: 28px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease); isolation: isolate; overflow: hidden;
}
a.card { display: block; color: inherit; }
a.card:hover, .card:has(.stretched:hover) { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); color: inherit; }
.card h3 { font-size: 1.3rem; letter-spacing: -.025em; margin-bottom: .45em; }
.card p { color: var(--text-2); font-size: .975rem; }
.card p:last-child { margin-bottom: 0; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%);
}
.spot:hover::before { opacity: 1; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9375rem; color: var(--accent); margin-top: 18px; }
.card-link .icon { transition: transform .3s var(--ease); }
.card:hover .card-link .icon { transform: translateX(4px); }

.app-icon {
  --size: 44px; width: var(--size); height: var(--size); border-radius: calc(var(--size) * .27); display: inline-grid; place-items: center; flex: none;
  color: #fff; background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 80%, #fff), var(--accent) 55%, color-mix(in srgb, var(--accent) 70%, #000));
  box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 -1px 0 rgba(0, 0, 0, .12) inset, 0 6px 14px -6px color-mix(in srgb, var(--accent) 80%, transparent);
  margin-bottom: 18px;
}
.app-icon .icon { width: 50%; height: 50%; }
.app-icon-lg { --size: 56px; }
.app-icon-xl { --size: 76px; }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(16px, 2vw, 24px); }
.bento > .card { grid-column: span 2; min-height: 260px; display: flex; flex-direction: column; }
.bento { grid-auto-flow: dense; }
.bento > .card:nth-child(6n+1), .bento > .card:nth-child(6n+4) { grid-column: span 4; }
.bento > .card:nth-child(6n+5), .bento > .card:nth-child(6n+6) { grid-column: span 3; }
.bento > .card .card-link { margin-top: auto; padding-top: 18px; }

.product-card .product-head { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.product-card .product-head .app-icon { margin: 0; }
.product-card h3 { margin: 0; }
.tagline { color: var(--accent) !important; font-weight: 600; font-size: .95rem !important; margin: 2px 0 0 !important; }

.project-card, .post-card { padding: 0; display: flex; flex-direction: column; }
.card-cover { display: block; }
.card-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.chip { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 600; background: color-mix(in srgb, var(--text) 6%, transparent); color: var(--text-2); }
.chip-accent { background: color-mix(in srgb, var(--accent) 14%, transparent); color: color-mix(in srgb, var(--accent) 80%, var(--text)); }
a.chip:hover { color: var(--text); }
.mini-metrics { display: flex; gap: 28px; margin: 18px 0 0; padding-top: 16px; border-top: .5px solid var(--line); }
.mini-metrics dt { font-size: 1.35rem; font-weight: 700; letter-spacing: -.03em; background: var(--aurora); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mini-metrics dd { margin: 0; font-size: .8rem; color: var(--text-3); }

/* covers */
.cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: color-mix(in srgb, var(--accent) 16%, var(--bg-2)); }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .cover img { transform: scale(1.03); }
.cover-art { position: absolute; inset: 0; display: grid; place-items: center; padding: 9% 11% 0;
  background:
    radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--accent) 70%, #fff) 0%, transparent 55%),
    radial-gradient(90% 80% at 100% 100%, color-mix(in srgb, var(--accent) 60%, #000) 0%, transparent 60%),
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 85%, #fff), var(--accent)); }
.cover-v1 .cover-art { background: radial-gradient(100% 100% at 100% 0%, #c4b5fd 0%, transparent 50%), linear-gradient(160deg, var(--accent), color-mix(in srgb, var(--accent) 50%, #0b1020)); }
.cover-v2 .cover-art { background: radial-gradient(80% 90% at 20% 100%, #5eead4 0%, transparent 55%), linear-gradient(200deg, color-mix(in srgb, var(--accent) 80%, #fff), var(--accent)); }
.cover-v3 .cover-art { background: radial-gradient(70% 70% at 80% 20%, #fde68a55 0%, transparent 55%), linear-gradient(120deg, color-mix(in srgb, var(--accent) 60%, #0b1020), var(--accent)); }
.win { width: 100%; height: 100%; border-radius: 14px 14px 0 0; background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 0 0 .5px rgba(255, 255, 255, .6) inset, 0 30px 60px -20px rgba(0, 0, 0, .45); transition: transform .8s var(--ease); }
.card:hover .win, .showcase-row:hover .win { transform: translateY(-6px); }
:root[data-theme="dark"] .win { background: rgba(18, 22, 32, .78); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .win { background: rgba(18, 22, 32, .78); } }
.win .win-bar { height: 26px; padding: 0 10px; gap: 5px; border-color: rgba(0, 0, 0, .06); }
.win .win-bar i { width: 8px; height: 8px; }
.win-body { padding: 6% 7%; height: calc(100% - 26px); display: grid; }
.art-chart { display: flex; align-items: flex-end; gap: 6%; height: 100%; }
.art-chart b { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 35%, transparent)); }
.art-code { display: grid; gap: 9%; align-content: center; }
.art-code b { height: 9px; background: color-mix(in srgb, var(--accent) 28%, rgba(120, 120, 140, .25)); }
.art-code b:nth-child(odd) { background: color-mix(in srgb, var(--accent) 65%, transparent); }
.art-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8%; align-content: center; }
.art-grid b { aspect-ratio: 1.3; border-radius: 10px; background: color-mix(in srgb, var(--accent) 22%, transparent); box-shadow: 0 0 0 .5px color-mix(in srgb, var(--accent) 35%, transparent) inset; }
.art-grid b:nth-child(2), .art-grid b:nth-child(4) { background: color-mix(in srgb, var(--accent) 60%, transparent); }
.art-ring { display: grid; place-items: center; position: relative; }
.art-ring svg { width: 52%; transform: rotate(-90deg); }
.art-ring circle { fill: none; stroke: color-mix(in srgb, var(--accent) 18%, transparent); stroke-width: 11; }
.art-ring .arc { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 239; stroke-dashoffset: 60; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--r-xl); margin: 0; overflow: hidden; }
.stats > div { padding: clamp(24px, 3vw, 36px); position: relative; }
.stats > div + div::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: .5px; background: var(--line-2); }
.stats dt { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 700; letter-spacing: -.045em; line-height: 1; margin-bottom: 10px; background: var(--aurora); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats dd { margin: 0; color: var(--text-2); font-size: .95rem; max-width: 22ch; }
.stats-section { padding-top: 0; }

/* process */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.process-step { padding: 28px 24px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--card-shadow); position: relative; }
.step-num { display: inline-block; font-family: var(--mono); font-size: .8rem; font-weight: 600; color: var(--primary); padding: 4px 9px; border-radius: 8px; background: color-mix(in srgb, var(--primary) 10%, transparent); margin-bottom: 18px; }
.process-step h3 { font-size: 1.2rem; }
.process-step p { color: var(--text-2); font-size: .95rem; margin: 0; }

/* testimonials */
.testimonials { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(320px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 20px; margin: -4px; scrollbar-width: thin; }
.testimonial { scroll-snap-align: start; display: flex; flex-direction: column; margin: 0; }
.quote-mark { width: 30px; height: 30px; color: color-mix(in srgb, var(--primary) 45%, transparent); margin-bottom: 14px; }
.testimonial blockquote { margin: 0 0 24px; font-size: 1.08rem; line-height: 1.55; color: var(--text); flex: 1; letter-spacing: -.015em; }
.testimonial figcaption strong { display: block; }
.testimonial figcaption span { color: var(--text-3); font-size: .875rem; }

/* CTA */
.cta-panel { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(40px, 7vw, 88px); text-align: center; color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, #22d3c5 0%, transparent 45%), radial-gradient(120% 140% at 100% 100%, #8b5cf6 0%, transparent 50%), linear-gradient(120deg, #0b5bd3, #2563eb 50%, #4f46e5);
  box-shadow: 0 30px 80px -30px rgba(37, 99, 235, .6); }
.cta-glow { position: absolute; width: 60%; height: 140%; top: -20%; left: 20%; background: radial-gradient(closest-side, rgba(255, 255, 255, .25), transparent); filter: blur(20px); pointer-events: none; animation: glow 9s ease-in-out infinite alternate; }
@keyframes glow { to { transform: translateX(25%); } }
.cta-panel h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: -.04em; position: relative; }
.cta-panel p { max-width: 40em; margin: 0 auto 32px; color: rgba(255, 255, 255, .86); font-size: 1.15rem; position: relative; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; position: relative; }
.cta-panel .btn-glass { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: 0 0 0 .5px rgba(255, 255, 255, .35) inset; }
.cta-panel .btn-glass:hover { background: rgba(255, 255, 255, .26); color: #fff; }

/* service list */
.service-list { display: grid; gap: 16px; }
.service-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: 30px 32px; }
.service-row:has(.stretched:hover) { transform: translateY(-3px); box-shadow: var(--card-shadow-hover); }
.service-row-head { display: flex; gap: 20px; align-items: flex-start; }
.service-row-head .app-icon { margin: 0; }
.service-row h2 { font-size: 1.45rem; letter-spacing: -.03em; margin-bottom: .3em; }
.service-row h2 a:hover { color: inherit; }
.service-row p { margin: 0; }
.round-arrow { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--text) 6%, transparent); transition: background .3s, color .3s, transform .3s var(--ease); flex: none; }
.card:hover .round-arrow, .card:has(.stretched:hover) .round-arrow { background: var(--primary); color: #fff; transform: translateX(3px); }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--text-2); }
.check-list .icon { color: var(--success); margin-top: 3px; width: 18px; height: 18px; }
.check-list strong { display: block; color: var(--text); font-weight: 600; }
.check-list small { display: block; color: var(--text-3); font-size: .85rem; margin-top: 2px; }
.check-list.compact { gap: 8px; }
.check-list.compact li { font-size: .9rem; }

.aside-card { border-radius: var(--r-lg); padding: 28px; }
.aside-card.sticky { position: sticky; top: calc(var(--header-h) + 32px); }
.aside-card .btn { margin-top: 20px; }
.fact-list { margin: 0; display: grid; gap: 16px; }
.fact-list div { display: grid; gap: 2px; padding-bottom: 14px; border-bottom: .5px solid var(--line); }
.fact-list div:last-child { border: 0; padding: 0; }
.fact-list dt { font-size: .8rem; color: var(--text-3); font-weight: 500; }
.fact-list dd { margin: 0; font-weight: 600; }

.value-card .app-icon { --accent: var(--primary); }
.value-card:nth-child(2) .app-icon { --accent: #7c5cff; }
.value-card:nth-child(3) .app-icon { --accent: #14b8a6; }
.value-card:nth-child(4) .app-icon { --accent: #f59e0b; }
.value-card:nth-child(5) .app-icon { --accent: #ec4899; }
.value-card:nth-child(6) .app-icon { --accent: #0ea5e9; }

/* product showcase */
.product-showcase { display: grid; gap: clamp(56px, 8vw, 112px); }
.showcase-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.showcase-row.flip .showcase-copy { order: 2; }
.showcase-copy .tagline { font-size: 1.1rem !important; margin-bottom: 1em !important; }
.showcase-copy > p { color: var(--text-2); }
.showcase-copy .check-list { margin: 24px 0 32px; }
.showcase-visual .cover, .product-hero-visual .cover, .project-cover .cover, .post-cover .cover { border-radius: var(--r-xl); box-shadow: var(--card-shadow-hover); }
.product-hero-visual .cover { aspect-ratio: 21 / 9; }
.lead-p { font-size: 1.2rem; color: var(--text); }

/* projects */
.filter-bar { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 18px; margin-bottom: 32px; width: fit-content; max-width: 100%; }
.chip-btn { border: 0; background: none; padding: 8px 15px; border-radius: 12px; font-size: .875rem; font-weight: 550; color: var(--text-2); transition: background .2s, color .2s; display: inline-flex; align-items: center; }
.chip-btn:hover { color: var(--text); background: color-mix(in srgb, var(--text) 6%, transparent); }
.chip-btn.on { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 0 0 .5px var(--line); }
.project-card.is-hidden { display: none; }
.project-cover .cover { aspect-ratio: 21 / 9; }
.project-facts { display: grid; grid-template-columns: repeat(3, auto) 1fr; gap: 28px 48px; margin: 24px 0 0; padding: 24px 32px; border-radius: var(--r-lg); }
.project-facts dt { font-size: .8rem; color: var(--text-3); margin-bottom: 4px; }
.project-facts dd { margin: 0; font-weight: 600; }
.project-facts .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.stats-accent dt { background: linear-gradient(120deg, var(--accent), color-mix(in srgb, var(--accent) 50%, #8b5cf6)); -webkit-background-clip: text; background-clip: text; }
.story { display: grid; gap: clamp(40px, 5vw, 64px); max-width: 1000px; }
.story-block { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
.story-label { font-size: 1rem; font-weight: 650; color: var(--primary); letter-spacing: -.01em; padding-top: 6px; }
.pull-quote { margin: 0; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-xl); background: var(--aurora-soft); }
.pull-quote blockquote { margin: 0 0 16px; font-family: var(--font-display); font-size: clamp(1.35rem, 2.4vw, 1.8rem); line-height: 1.35; letter-spacing: -.025em; font-weight: 600; }
.pull-quote figcaption { color: var(--text-2); }

/* jobs */
.job-list { display: grid; gap: 12px; }
.job-card { display: flex !important; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 28px; }
.job-card h3 { margin-bottom: 4px; font-size: 1.2rem; }
.job-card .meta-row { margin: 0; gap: 6px; }

/* blog */
.post-feature { display: grid; grid-template-columns: 1.15fr 1fr; padding: 0; margin-bottom: 24px; }
.post-feature .cover { height: 100%; aspect-ratio: auto; min-height: 320px; }
.post-feature .card-body { padding: clamp(28px, 4vw, 48px); justify-content: center; }
.post-feature h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); letter-spacing: -.035em; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 48px; }
.rss-link { margin-left: auto; }
.post-hero .display { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.byline { display: flex; gap: 12px; align-items: center; margin-top: 24px; color: var(--text-2); font-size: .95rem; }
.post-cover { margin-bottom: clamp(32px, 5vw, 56px); }
.post-cover .cover { aspect-ratio: 2 / 1; }
.post-layout { display: grid; grid-template-columns: 220px minmax(0, 760px) 60px; gap: 48px; justify-content: center; align-items: start; padding-bottom: 48px; }
.toc { position: sticky; top: calc(var(--header-h) + 40px); font-size: .875rem; }
.toc-title { font-weight: 650; margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0 0 0 12px; border-left: 1px solid var(--line-2); display: grid; gap: 8px; }
.toc a { color: var(--text-3); display: block; line-height: 1.35; }
.toc a:hover, .toc a.active { color: var(--primary); }
.toc .lvl-3 { padding-left: 12px; }
.post-layout:not(:has(.toc)) { grid-template-columns: minmax(0, 760px) 60px; }
.share { position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 6px; justify-items: center; }
.avatar { width: 88px; height: 88px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--aurora); color: #fff; font-weight: 700; font-size: 1.6rem; margin-bottom: 16px; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-sm { width: 36px; height: 36px; font-size: .8rem; margin: 0; }
.team-card { text-align: center; }
.team-card .avatar { margin-inline: auto; }
.team-card .icon-btn { margin: 8px auto 0; }

/* prose */
.prose { font-size: 1.0625rem; line-height: 1.7; color: var(--text-2); }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: 1.75rem; margin: 2em 0 .6em; color: var(--text); letter-spacing: -.03em; }
.prose h3 { font-size: 1.3rem; margin: 1.8em 0 .5em; color: var(--text); }
.prose h4 { font-size: 1.08rem; margin: 1.6em 0 .4em; color: var(--text); }
.prose p, .prose ul, .prose ol { margin: 0 0 1.2em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--primary); }
.prose strong { color: var(--text); font-weight: 650; }
.prose a { color: var(--primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid; border-image: var(--aurora) 1; color: var(--text); font-size: 1.15rem; }
.prose code { font-family: var(--mono); font-size: .875em; padding: 2px 6px; border-radius: 6px; background: color-mix(in srgb, var(--text) 7%, transparent); color: var(--text); }
.prose pre { margin: 1.6em 0; padding: 20px 22px; border-radius: 16px; overflow-x: auto; background: #0d1117; color: #e6edf3; font-size: .875rem; line-height: 1.6; box-shadow: var(--card-shadow); }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose img { border-radius: 16px; margin: 1.6em 0; }
.prose hr { border: 0; height: 1px; background: var(--line-2); margin: 2.4em 0; }
.prose .table-wrap { overflow-x: auto; margin: 1.6em 0; border-radius: 14px; box-shadow: 0 0 0 .5px var(--line-2); }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.prose th, .prose td { padding: 12px 16px; text-align: left; border-bottom: .5px solid var(--line); }
.prose th { color: var(--text); font-weight: 650; background: color-mix(in srgb, var(--text) 3%, transparent); }
.prose-center { max-width: 760px; margin: 0 auto; }
.prose-article { font-size: 1.125rem; }
.prose-article > p:first-child { font-size: 1.25rem; color: var(--text); }
.legal-facts { padding: 24px 28px; border-radius: var(--r-lg); margin-bottom: 40px; }
.updated { margin-top: 48px; padding-top: 20px; border-top: .5px solid var(--line); }

/* ------------------------------------------------------------------ forms */
.form-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.form-layout-wide { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
.form-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.form-card { border-radius: var(--r-xl); padding: clamp(24px, 4vw, 44px); }
.form fieldset { border: 0; padding: 0; margin: 0 0 32px; min-width: 0; }
.form legend { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 18px; }
.step-dot { width: 26px; height: 26px; border-radius: 50%; background: var(--btn-primary); color: #fff; font-size: .8rem; display: inline-grid; place-items: center; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; margin-bottom: 18px; min-width: 0; }
.form-grid .field { margin-bottom: 0; }
.field.wide { grid-column: 1 / -1; }
.field > label, .field > .label { font-size: .875rem; font-weight: 600; color: var(--text); }
.req { color: var(--danger); }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="search"], input[type="password"], input[type="number"], select, textarea {
  width: 100%; min-height: 46px; padding: 11px 14px; border-radius: 12px; border: 0; outline: none;
  background: color-mix(in srgb, var(--surface) 85%, transparent); box-shadow: 0 0 0 1px var(--line-2) inset, 0 1px 2px rgba(0, 0, 0, .03);
  transition: box-shadow .2s, background .2s; font-size: 1rem;
}
textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%), linear-gradient(135deg, var(--text-3) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
input:focus, select:focus, textarea:focus { box-shadow: 0 0 0 1.5px var(--primary) inset, 0 0 0 4px color-mix(in srgb, var(--primary) 20%, transparent); background: var(--surface); }
::placeholder { color: var(--text-3); opacity: 1; }
.has-error input, .has-error textarea, .has-error select { box-shadow: 0 0 0 1.5px var(--danger) inset; }
.hint { margin: 0; font-size: .8125rem; color: var(--text-3); }
.error { margin: 0; font-size: .8125rem; color: var(--danger); font-weight: 500; }
.alert { padding: 14px 18px; border-radius: 14px; margin-bottom: 24px; }
.alert p { margin: 4px 0 0; }
.alert-error { background: color-mix(in srgb, var(--danger) 10%, transparent); color: color-mix(in srgb, var(--danger) 80%, var(--text)); box-shadow: 0 0 0 .5px color-mix(in srgb, var(--danger) 30%, transparent) inset; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .875rem; color: var(--text-2); font-weight: 400 !important; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--primary); }
.check a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.consent { margin: 8px 0 24px; }

.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input, .segmented input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: 14px; font-size: .9rem; font-weight: 550; background: color-mix(in srgb, var(--surface) 85%, transparent); box-shadow: 0 0 0 1px var(--line-2) inset; transition: box-shadow .2s, background .2s, color .2s; }
.choice span .icon { color: var(--text-3); }
.choice input:checked + span { box-shadow: 0 0 0 2px var(--primary) inset; background: color-mix(in srgb, var(--primary) 7%, var(--surface)); color: var(--text); }
.choice input:checked + span .icon { color: var(--primary); }
.choice input:focus-visible + span, .segmented input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--primary) 50%, transparent); outline-offset: 2px; }
.segmented { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 14px; background: color-mix(in srgb, var(--text) 6%, transparent); }
.segmented label { position: relative; flex: 1 1 auto; }
.segmented span { display: block; text-align: center; padding: 9px 12px; border-radius: 10px; font-size: .85rem; font-weight: 550; color: var(--text-2); transition: background .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.segmented input:checked + span { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .14), 0 0 0 .5px var(--line); }
.file-drop { display: block; position: relative; cursor: pointer; }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop-ui { display: flex; gap: 12px; align-items: center; justify-content: center; padding: 22px; border-radius: 14px; border: 1.5px dashed var(--line-2); color: var(--text-2); font-size: .9rem; transition: border-color .2s, background .2s; }
.file-drop:hover .file-drop-ui, .file-drop input:focus-visible + .file-drop-ui { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 5%, transparent); }
.next-steps { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 18px; }
.next-steps li { display: flex; gap: 14px; }
.next-steps span { width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 700; font-size: .85rem; color: var(--primary); background: color-mix(in srgb, var(--primary) 12%, transparent); }
.next-steps p { margin: 3px 0 0; color: var(--text-2); }

.success { text-align: center; padding: 24px 8px; outline: none; }
.success-icon { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #34d399, #10b981); box-shadow: 0 10px 30px -10px rgba(16, 185, 129, .7); animation: pop .6s var(--ease-spring); }
.success-icon .icon { width: 30px; height: 30px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.success p { color: var(--text-2); }

.contact-info { display: grid; gap: 20px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .app-icon { --size: 40px; margin: 0; --accent: var(--primary); }
.contact-list li:nth-child(2) .app-icon { --accent: #14b8a6; }
.contact-list li:nth-child(3) .app-icon { --accent: #7c5cff; }
.contact-list li:nth-child(4) .app-icon { --accent: #f59e0b; }
.contact-list small { display: block; color: var(--text-3); font-size: .8rem; }
.contact-list a, .contact-list span, .contact-list address { font-weight: 600; font-style: normal; display: block; }
.contact-list a.small { font-weight: 500; color: var(--primary); display: inline-flex; gap: 4px; align-items: center; margin-top: 4px; }
.map-card { border-radius: var(--r-lg); overflow: hidden; position: relative; }
.map-art { width: 100%; height: auto; display: block; }
.map-art .river { fill: none; stroke: color-mix(in srgb, var(--blue-2) 35%, transparent); stroke-width: 18; stroke-linecap: round; }
.map-art .street { fill: none; stroke: var(--line-2); stroke-width: 3; }
.map-art .pin { fill: var(--primary); stroke: #fff; stroke-width: 3; }
.map-art .pulse { fill: color-mix(in srgb, var(--primary) 18%, transparent); animation: pulse 2.4s ease-out infinite; transform-origin: 196px 98px; }
@keyframes pulse { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.map-label { position: absolute; left: 14px; bottom: 12px; font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 8px; background: var(--glass-strong); }

.search-form { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 18px; border-radius: 18px; margin-top: 8px; }
.search-form input { box-shadow: none !important; background: none !important; padding: 8px 0; }
.search-form > .icon { color: var(--text-3); }
.search-results { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.search-results .card { padding: 22px 26px; }
.search-results h2 { font-size: 1.2rem; margin: 10px 0 6px; }

.status-card { text-align: center; }
.status-card .success-icon { background: var(--aurora); box-shadow: 0 10px 30px -10px rgba(59, 130, 246, .7); }
.status-card .lead { margin-inline: auto; }
.status-card form { margin-bottom: 20px; }
.error-page { text-align: center; padding-block: clamp(80px, 12vw, 160px); }
.error-page .lead { margin-inline: auto; }
.error-page .hero-actions { justify-content: center; }
.error-code { font-family: var(--font-display); font-size: clamp(5rem, 16vw, 10rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; margin: 0 0 12px; }

/* ------------------------------------------------------------------ footer */
.site-footer { position: relative; z-index: 1; margin-top: clamp(24px, 3vw, 40px); padding: clamp(56px, 7vw, 88px) 0 32px; border-top: .5px solid var(--line); background: color-mix(in srgb, var(--bg-2) 60%, transparent); }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer-brand p { max-width: 34ch; margin: 16px 0 28px; }
.newsletter { max-width: 420px; }
.nl-title { font-weight: 650; display: block; margin-bottom: 4px; }
.newsletter p { margin: 0 0 12px !important; }
.nl-row { display: flex; gap: 8px; }
.nl-row input { min-height: 40px; padding: 8px 14px; border-radius: 999px; font-size: .9rem; }
.nl-msg { margin-top: 8px !important; min-height: 1.2em; color: var(--text-2); }
.nl-msg.ok { color: var(--success); }
.nl-msg.err { color: var(--danger); }
.footer-h { font-weight: 650; font-size: .875rem; margin-bottom: 14px; color: var(--text); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--text-2); font-size: .9375rem; }
.footer-col a:hover { color: var(--text); }
.footer-contact { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 48px; padding-top: 28px; border-top: .5px solid var(--line); font-size: .9rem; color: var(--text-2); }
.footer-contact a, .footer-contact span { display: inline-flex; align-items: center; gap: 8px; }
.footer-contact .icon { color: var(--text-3); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 24px; }
.legal-line { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.social { display: flex; gap: 4px; }

/* cookie banner */
.cookie-banner { position: fixed; z-index: 80; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(720px, calc(100% - 32px)); padding: 20px 22px; border-radius: 22px; display: flex; gap: 20px; align-items: center; background: var(--glass-strong); animation: rise .5s var(--ease); }
.cookie-banner p { margin: 4px 0 0; font-size: .875rem; color: var(--text-2); }
.cookie-banner a { color: var(--primary); text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; flex: none; }
@keyframes rise { from { transform: translate(-50%, 30px); opacity: 0; } }

/* ------------------------------------------------------------------ motion */
/* Per-section entrance animations were retired in 2.0: motion lives in the hero and the products stage only. */
.site-header.scrolled .header-inner { box-shadow: var(--glass-shadow), 0 10px 30px -12px rgba(0, 0, 0, .18); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
  .primary-nav .nav-link { padding: 8px 9px; font-size: .9rem; }
  .header-cta { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .post-layout { grid-template-columns: minmax(0, 760px) 60px; }
  .toc { display: none; }
}
@media (max-width: 960px) {
  .primary-nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .header-actions { margin-left: auto !important; }
  .hero-grid, .narrow-grid, .form-layout, .form-layout-wide, .showcase-row { grid-template-columns: 1fr; }
  .showcase-row.flip .showcase-copy { order: 0; }
  .bento > .card, .bento > .card:nth-child(n) { grid-column: span 3; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(3)::before { display: none; }
  .service-row { grid-template-columns: 1fr; gap: 20px; }
  .service-row .round-arrow { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .form-intro, .aside-card.sticky { position: static; }
  .post-feature { grid-template-columns: 1fr; }
  .post-feature .cover { min-height: 0; aspect-ratio: 16 / 9; }
  .story-block { grid-template-columns: 1fr; gap: 8px; }
  .project-facts { grid-template-columns: repeat(3, auto); }
  .project-facts .wide { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-header { padding-top: 8px; }
  .header-inner { padding-left: 14px; border-radius: 18px; }
  .bento, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .bento > .card, .bento > .card:nth-child(n) { grid-column: auto; min-height: 0; }
  .process { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div { padding: 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .testimonials { grid-auto-columns: 86%; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cookie-banner { flex-direction: column; align-items: stretch; bottom: 12px; }
  .cookie-actions .btn { flex: 1; }
  .job-card { padding: 20px; }
  .job-card .round-arrow { display: none; }
  .project-facts { grid-template-columns: 1fr 1fr; padding: 20px; gap: 18px; }
  .post-layout { grid-template-columns: 1fr; gap: 24px; }
  .share { position: static; display: flex; justify-content: flex-start; }
  .segmented span { white-space: normal; }
  .nl-row { flex-direction: column; }
  .header-actions .icon-btn[href$="/search"] { display: none; }
}

@media print {
  .site-header, .site-footer, .backdrop, .cookie-banner, .cta-panel, .share, .toc { display: none !important; }
  body { background: #fff; color: #000; }
}


/* =========================================================================
   2.0 — immersive brand stage
   Palette taken from the Nordora icon: night #05081a, snow #f5f6f8, Nordic blue #0062e6,
   azure #4aa3ff, violet #8b5cf6, rose #f0abfc.
   ========================================================================= */
:root { --night: #05081a; --night-2: #0a1030; --azure: #4aa3ff; --violet-2: #8b5cf6; --rose: #f0abfc; }

/* Dimensional headline: one treatment across the whole line — a cool sheen with a soft depth shadow. */
.dimensional {
  background: linear-gradient(180deg, var(--text) 0%, color-mix(in srgb, var(--text) 78%, var(--primary)) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 0 color-mix(in srgb, var(--text) 8%, transparent)) drop-shadow(0 10px 16px color-mix(in srgb, var(--primary) 9%, transparent));
}
@media (forced-colors: active) { .dimensional { background: none; color: CanvasText; filter: none; } }

/* The home hero is always a night stage, whatever the theme, so the glass and light read the same everywhere. */
.page-home .backdrop { display: none; }
.page-home .site-header.on-stage { position: absolute; left: 0; right: 0; }
.page-home .site-header.on-stage.scrolled { position: fixed; }
.stage-night {
  --text: #f4f6fb; --text-2: #b9c3dc; --text-3: #8f9bbb; --line: rgba(255, 255, 255, .1);
  --glass: rgba(255, 255, 255, .08); --glass-strong: rgba(20, 26, 56, .86);
  --glass-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset, 0 0 0 .5px rgba(255, 255, 255, .14), 0 20px 44px -16px rgba(0, 0, 0, .7);
  --primary: #6fb1ff; --btn-primary: #0062e6; --btn-primary-hover: #1a72f0;
  color: var(--text); color-scheme: dark;
  background:
    radial-gradient(60% 70% at 78% 42%, rgba(74, 163, 255, .28), transparent 62%),
    radial-gradient(40% 50% at 92% 78%, rgba(139, 92, 246, .26), transparent 70%),
    radial-gradient(35% 40% at 62% 18%, rgba(240, 171, 252, .12), transparent 70%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
}
.page-home .site-header.on-stage:not(.scrolled) .header-inner {
  --text: #f4f6fb; --text-2: #c6cee3; --glass: rgba(255, 255, 255, .06);
  --glass-shadow: 0 1px 0 rgba(255, 255, 255, .1) inset, 0 0 0 .5px rgba(255, 255, 255, .12);
  color: var(--text);
}
.page-home .site-header.on-stage:not(.scrolled) .brand, .page-home .site-header.on-stage:not(.scrolled) .nav-link,
.page-home .site-header.on-stage:not(.scrolled) .icon-btn { color: #e8ecf7; }
.page-home .site-header.on-stage:not(.scrolled) .nav-link:hover { background: rgba(255, 255, 255, .1); color: #fff; }

.hero.stage-night { padding: calc(var(--header-h) + clamp(56px, 8vw, 110px)) 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.hero.stage-night .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hero.stage-night .dimensional {
  background: linear-gradient(180deg, #ffffff 0%, #dbe7ff 55%, #b9c6f5 100%);
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 2px 0 rgba(10, 20, 60, .5)) drop-shadow(0 24px 40px rgba(74, 163, 255, .28));
}
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .9375rem; font-weight: 500; color: var(--text-2); margin-bottom: 26px; }
.hero.stage-night .btn-glass { color: #fff; }
.hero.stage-night .trust p { color: var(--text-3); }
.hero.stage-night .logo-row img { filter: grayscale(1) brightness(2.2); opacity: .55; }
.hero.stage-night .wordmark { color: #7f8bb0; }

.hero-stage { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 620px; justify-self: end; }
.hero-stage canvas { position: absolute; inset: -12%; width: 124%; height: 124%; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-stage.is-3d.is-ready canvas { opacity: 1; }
.hero-stage.is-3d.is-ready .hero-still { opacity: 0; }
/* Still composition: the loading state, and the fallback for no WebGL, reduced data or weak GPUs. */
.hero-still { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .8s var(--ease); perspective: 1200px; }
.still-orb {
  position: absolute; width: 32%; aspect-ratio: 1; border-radius: 50%;
  background: linear-gradient(180deg, #f0abfc 0%, #8b5cf6 30%, #4aa3ff 62%, #0062e6 100%);
  filter: blur(2px); box-shadow: 0 0 80px 10px rgba(74, 163, 255, .45), 0 0 140px 30px rgba(139, 92, 246, .25);
}
.still-glass {
  position: absolute; width: 52%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .38), rgba(255, 255, 255, .06) 38%, rgba(139, 92, 246, .1) 70%, rgba(255, 255, 255, .14));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), inset 0 -20px 40px rgba(74, 163, 255, .18), 0 40px 90px -30px rgba(74, 163, 255, .5);
  -webkit-backdrop-filter: blur(6px) saturate(150%); backdrop-filter: blur(6px) saturate(150%);
}

/* Products stage: the one scroll-driven moment below the hero. */
.platform { padding: clamp(72px, 9vw, 140px) 0; position: relative; }
.platform-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.platform-intro { position: sticky; top: calc(var(--header-h) + 48px); }
.platform-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(20px, 3vw, 32px); }
.platform-item {
  display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 22px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-xl);
  background: color-mix(in srgb, var(--surface) 86%, transparent); box-shadow: var(--card-shadow);
}
.platform-item h3 { font-size: 1.5rem; margin-bottom: .15em; }
.platform-tag { color: color-mix(in srgb, var(--accent) 62%, var(--text)); font-weight: 600; margin-bottom: .8em; }
.platform-glyph {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 70%, #fff), var(--accent) 55%, color-mix(in srgb, var(--accent) 60%, #000));
  box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 14px 28px -12px var(--accent);
}
.platform-glyph .icon { width: 28px; height: 28px; }
.platform-free { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
.platform-free li { display: flex; gap: 8px; align-items: center; color: var(--text-2); }
.platform-free .icon { color: var(--accent); width: 1em; height: 1em; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .platform-item { animation: platform-in linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
    .platform-glyph { animation: glyph-turn linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
  }
}
@keyframes platform-in { from { opacity: .25; transform: perspective(1200px) translateY(60px) rotateX(10deg) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes glyph-turn { from { transform: perspective(400px) rotateY(-50deg); } to { transform: none; } }

@media (max-width: 960px) {
  .hero.stage-night .hero-grid, .platform-grid { grid-template-columns: 1fr; }
  .hero-stage { justify-self: center; max-width: 440px; }
  .platform-intro { position: static; }
}
@media (max-width: 640px) {
  .platform-item { grid-template-columns: 1fr; }
}

/* =========================================================================
   2.0 — shared controls for accounts, pricing and the customer dashboard
   ========================================================================= */
.btn-danger { background: #c4282d; color: #fff; }
.btn-danger:hover { background: color-mix(in srgb, var(--danger) 85%, #000); color: #fff; }
.btn.is-armed { background: #c4282d; color: #fff; }
.alert { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; }
.alert > span { flex: 1 1 260px; }
.alert-success { background: color-mix(in srgb, var(--success) 11%, transparent); color: color-mix(in srgb, var(--success) 70%, var(--text)); box-shadow: 0 0 0 .5px color-mix(in srgb, var(--success) 30%, transparent) inset; }
.alert-info { background: color-mix(in srgb, var(--primary) 9%, transparent); color: var(--text); box-shadow: 0 0 0 .5px color-mix(in srgb, var(--primary) 25%, transparent) inset; }
.alert-warn { background: color-mix(in srgb, #f5a524 14%, transparent); color: var(--text); box-shadow: 0 0 0 .5px color-mix(in srgb, #f5a524 40%, transparent) inset; }
.alert form { margin: 0; }
.switch { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: .9375rem; margin: 0 0 14px; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track { width: 38px; height: 22px; border-radius: 11px; background: color-mix(in srgb, var(--text) 18%, transparent); position: relative; transition: background .2s; flex: none; }
.switch .track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s var(--ease); }
.switch input:checked + .track { background: var(--btn-primary); }
.switch input:checked + .track::after { transform: translateX(16px); }
.switch input:focus-visible + .track { outline: 3px solid color-mix(in srgb, var(--primary) 55%, transparent); outline-offset: 2px; }
.switch input:disabled + .track { opacity: .55; }
.pill { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 999px; font-size: .75rem; font-weight: 600; background: color-mix(in srgb, var(--text) 8%, transparent); color: var(--text-2); white-space: nowrap; margin: 0; }
.pill-published, .pill-up, .pill-answered { background: color-mix(in srgb, var(--success) 15%, transparent); color: color-mix(in srgb, var(--success) 50%, var(--text)); }
.pill-warn, .pill-pending, .pill-open { background: color-mix(in srgb, #f5a524 18%, transparent); color: color-mix(in srgb, #b26b00 80%, var(--text)); }
.pill-error { background: color-mix(in srgb, var(--danger) 14%, transparent); color: color-mix(in srgb, var(--danger) 80%, var(--text)); }
.pill-draft, .pill-closed { background: color-mix(in srgb, var(--text) 8%, transparent); color: var(--text-3); }
.crumbs { font-size: .875rem; color: var(--text-3); margin: 0 0 16px; }
.crumbs a { color: var(--text-2); }
.label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.label-row label { font-size: .875rem; font-weight: 600; }
.code-input { font-size: 1.4rem !important; letter-spacing: .3em; text-align: center; font-variant-numeric: tabular-nums; }
.copy-row { display: flex; gap: 8px; align-items: center; margin: 8px 0; }
.copy-row input { flex: 1; font-family: var(--mono); font-size: .875rem !important; }
.input-prefix { display: flex; align-items: stretch; border-radius: 12px; box-shadow: 0 0 0 1px var(--line-2) inset; background: color-mix(in srgb, var(--surface) 85%, transparent); }
.input-prefix span { display: grid; place-items: center; padding: 0 4px 0 14px; color: var(--text-3); font-size: .9375rem; }
.input-prefix input { box-shadow: none !important; background: transparent !important; padding-left: 2px; }
.code-block { margin: 0 0 16px; padding: 14px 16px; border-radius: 14px; background: color-mix(in srgb, var(--text) 5%, transparent); font-family: var(--mono); font-size: .8125rem; line-height: 1.6; overflow-x: auto; white-space: pre-wrap; word-break: break-word; }
.hide-sm { }
@media (max-width: 640px) { .hide-sm { display: none !important; } }

/* --------------------------------------------------- sign in, registration */
.auth-stage { min-height: calc(100vh - 200px); display: grid; place-items: center; padding: clamp(32px, 6vw, 80px) var(--gutter); }
.auth-panel { width: 100%; max-width: 440px; border-radius: var(--r-xl); padding: clamp(28px, 5vw, 44px); text-align: left; }
.auth-title { font-size: 1.65rem; text-align: center; margin-bottom: .3em; }
.auth-sub { text-align: center; color: var(--text-2); margin-bottom: 26px; }
.auth-form .btn-block { margin-top: 6px; }
.auth-foot { text-align: center; font-size: .9375rem; color: var(--text-2); margin: 22px 0 0; }
.auth-badge { width: 52px; height: 52px; border-radius: 16px; margin: 0 auto 18px; display: grid; place-items: center; color: #fff; background: linear-gradient(150deg, var(--azure), var(--btn-primary) 55%, var(--violet-2)); }
.auth-badge .icon { width: 24px; height: 24px; }

/* --------------------------------------------------- pricing & status */
.pricing-product { padding-top: clamp(24px, 3vw, 40px); }
.pricing-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 22px; max-width: 760px; }
.pricing-head p { margin: 0; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(14px, 2vw, 22px); }
.plan-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--r-lg); background: color-mix(in srgb, var(--surface) 88%, transparent); box-shadow: var(--card-shadow); }
.plan-card h3 { font-size: 1.15rem; margin: 0; }
.plan-card.is-highlight { box-shadow: 0 0 0 1.5px var(--accent, var(--primary)), var(--card-shadow-hover); }
.plan-card.is-current { box-shadow: 0 0 0 1.5px var(--success), var(--card-shadow); }
.plan-price { margin: 0; }
.plan-price strong { font-size: 2rem; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.plan-price span { color: var(--text-3); }
.plan-features { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 7px; flex: 1; }
.plan-features li { display: flex; gap: 8px; align-items: baseline; font-size: .9375rem; color: var(--text-2); }
.plan-features .icon { color: var(--accent, var(--primary)); width: 1em; height: 1em; flex: none; transform: translateY(2px); }
.plan-card .btn, .plan-card form { margin-top: auto; }
.plan-grid.compact .plan-card { padding: 20px; }
.plan-grid.compact .plan-price strong { font-size: 1.5rem; }
.faq details { padding: 16px 0; box-shadow: 0 -.5px 0 var(--line) inset; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq details p { margin: 10px 0 0; color: var(--text-2); }
.platform-glyph.small { width: 36px; height: 36px; border-radius: 11px; }
.platform-glyph.small .icon { width: 18px; height: 18px; }
.status-banner { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-radius: var(--r); font-size: 1.1rem; margin-top: 18px; }
.status-banner.is-up { background: color-mix(in srgb, var(--success) 12%, transparent); }
.status-banner.is-down { background: color-mix(in srgb, var(--danger) 12%, transparent); }
.status-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--text-3); flex: none; }
.is-up .status-dot, .status-dot.s-up { background: var(--success); box-shadow: 0 0 0 4px color-mix(in srgb, var(--success) 20%, transparent); }
.is-down .status-dot, .status-dot.s-down { background: var(--danger); box-shadow: 0 0 0 4px color-mix(in srgb, var(--danger) 20%, transparent); }
.status-dot.s-paused { background: #f5a524; }
.status-list, .status-incidents { list-style: none; margin: 0 0 40px; padding: 0; border-radius: var(--r); background: color-mix(in srgb, var(--surface) 88%, transparent); box-shadow: var(--card-shadow); }
.status-list li, .status-incidents li { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; padding: 16px 20px; box-shadow: 0 -.5px 0 var(--line) inset; }
.status-list li:last-child, .status-incidents li:last-child { box-shadow: none; }
.status-list .muted { margin-left: auto; }
.status-incidents p { width: 100%; margin: 0; }

/* --------------------------------------------------- customer dashboard */
.portal-body { background: var(--bg); }
.portal { display: grid; grid-template-columns: 256px minmax(0, 1fr); min-height: 100vh; }
.psidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 6px; padding: 18px 14px; border-radius: 0; overflow-y: auto; z-index: 40; }
.pbrand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; letter-spacing: -.03em; padding: 4px 8px 12px; color: var(--text); }
.pbrand:hover { color: var(--text); }
.ws-switch select { min-height: 38px; padding-top: 7px; padding-bottom: 7px; font-size: .875rem; font-weight: 600; }
.ws-name { margin: 0 0 4px; padding: 8px 10px; border-radius: 10px; background: color-mix(in srgb, var(--text) 5%, transparent); font-size: .875rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pnav-label { margin: 14px 10px 4px; font-size: .75rem; font-weight: 600; color: var(--text-3); }
.pnav-link { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: .9375rem; font-weight: 500; color: var(--text-2); }
.pnav-link:hover { background: color-mix(in srgb, var(--text) 6%, transparent); color: var(--text); }
.pnav-link.on { background: color-mix(in srgb, var(--primary) 12%, transparent); color: color-mix(in srgb, var(--primary) 72%, var(--text)); }
.pbadge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--btn-primary); color: #fff; font-size: .7rem; display: grid; place-items: center; }
.psidebar-foot { margin-top: auto; display: grid; gap: 10px; padding-top: 16px; }
.pwho { display: grid; padding: 0 8px; min-width: 0; }
.pwho strong, .pwho small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pwho small { color: var(--text-3); }
.pmain { min-width: 0; display: flex; flex-direction: column; }
.ptopbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 10px; padding: 14px clamp(16px, 3vw, 36px); background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); box-shadow: 0 .5px 0 var(--line); }
.ptitle { font-size: 1.35rem; margin: 0; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ptop-actions { display: flex; gap: 6px; align-items: center; }
.ptop-actions .icon-btn { position: relative; }
.pdot { position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--danger); }
.pmenu { display: none; }
.pcontent { padding: clamp(18px, 3vw, 36px); outline: none; max-width: 1240px; width: 100%; }
.pgrid { display: grid; gap: clamp(14px, 2vw, 22px); margin-bottom: clamp(14px, 2vw, 22px); align-items: start; }
.pgrid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pgrid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pgrid > div > .pcard + .pcard { margin-top: clamp(14px, 2vw, 22px); }
.pcard { display: block; padding: clamp(18px, 2.4vw, 26px); border-radius: var(--r-lg); background: color-mix(in srgb, var(--surface) 92%, transparent); box-shadow: var(--card-shadow); margin-bottom: clamp(14px, 2vw, 22px); min-width: 0; }
.pgrid > .pcard { margin-bottom: 0; }
.pcard h2 { font-size: 1.15rem; margin: 0; }
.pcard-head { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.pcard-head form { margin: 0; }
.pcard-sub { font-size: 1rem; margin: 26px 0 12px; }
.pnarrow { max-width: 760px; }
a.pcard { color: var(--text); transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
a.pcard:hover { color: var(--text); box-shadow: var(--card-shadow-hover); transform: translateY(-2px); }
.pproduct .platform-glyph { margin-bottom: 14px; }
.pproduct h2 { font-size: 1.2rem; }
.pproduct > p { margin: 2px 0 14px; }
.pstats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 12px; }
.pstats-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pstats dt { font-size: .75rem; color: var(--text-3); }
.pstats dd { margin: 2px 0 0; font-size: 1.35rem; font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pstats dd small { font-size: .8rem; color: var(--text-3); font-weight: 500; }
.pstats dd.small { font-size: .875rem; font-weight: 500; }
.meter { display: block; height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--text) 9%, transparent); overflow: hidden; margin-bottom: 12px; min-width: 80px; }
.meter > span { display: block; height: 100%; border-radius: 3px; background: var(--accent, var(--primary)); }
.meter.is-high > span { background: var(--danger); }
.pplan { margin: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.plist { list-style: none; margin: 0; padding: 0; }
.plist > li { padding: 12px 0; box-shadow: 0 -.5px 0 var(--line) inset; }
.plist > li:last-child { box-shadow: none; }
.plist form { margin: 0; }
.plist-btn { display: grid; gap: 2px; width: 100%; text-align: left; background: none; border: 0; padding: 0; color: inherit; }
.plist-btn:hover strong { color: var(--primary); }
.plist .is-unread strong::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--btn-primary); margin-right: 8px; vertical-align: 1px; }
.pmember { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pmember > span:first-child { display: grid; flex: 1 1 200px; min-width: 0; }
.pmember select { min-height: 36px; padding-top: 6px; padding-bottom: 6px; width: auto; }
.inline-form { display: flex; gap: 6px; align-items: center; }
.inline-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.inline-actions form { margin: 0; }
.pform-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.pform-row .field { flex: 1 1 180px; margin-bottom: 0; }
.pglance { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pglance li { display: flex; align-items: center; gap: 12px; }
.pglance li > span { flex: 1; }
.pglance .icon { color: var(--text-3); }
.text-danger { color: var(--danger); }
.pdefs { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px 20px; margin: 0; }
.pdefs dt { font-size: .75rem; color: var(--text-3); }
.pdefs dd { margin: 2px 0 0; word-break: break-word; }
.pwelcome { display: flex; gap: 20px; align-items: center; padding: 22px 26px; border-radius: var(--r-lg); margin-bottom: 22px; }
.pwelcome h2 { font-size: 1.25rem; margin-bottom: .2em; }
.pwelcome p { margin: 0; }
.steps-inline { margin: 0 0 16px; padding-left: 1.2em; color: var(--text-2); display: grid; gap: 8px; }
.totp-setup { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.totp-setup img { border-radius: 12px; background: #fff; padding: 6px; }
.secret { font-family: var(--mono); letter-spacing: .06em; }
.table-wrap { overflow-x: auto; margin: 0 -4px; }
.ptable { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.ptable th { text-align: left; font-size: .75rem; font-weight: 600; color: var(--text-3); padding: 8px 10px; white-space: nowrap; }
.ptable td { padding: 12px 10px; box-shadow: 0 .5px 0 var(--line) inset; vertical-align: top; }
.ptable.compact td { padding: 8px 10px; font-size: .875rem; }
.ptable .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.row-actions { white-space: nowrap; }
.row-actions a + a { margin-left: 10px; }
.url-cell { word-break: break-all; }
.pbilling .pcard-head { align-items: flex-start; }
.pbill-title { display: inline-flex; align-items: center; gap: 12px; }
.pplanbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; padding: 14px 18px; border-radius: var(--r); background: color-mix(in srgb, var(--accent) 7%, var(--surface)); box-shadow: var(--card-shadow); margin-bottom: 22px; }
.pplanbar .pbill-title { flex: 1 1 260px; }
.pplanbar-item { display: grid; gap: 6px; min-width: 150px; }
.pplanbar-item .meter { margin: 0; }
.checkbars { display: flex; align-items: flex-end; gap: 2px; height: 72px; margin-top: 18px; }
.checkbars span { flex: 1; height: var(--h); min-height: 3px; border-radius: 2px; background: color-mix(in srgb, var(--success) 70%, transparent); }
.checkbars span.is-fail { background: var(--danger); }
.pdanger { margin-top: 22px; padding-top: 16px; box-shadow: 0 .5px 0 var(--line) inset; }
.pclose { margin-top: 12px; }
.or-divider { display: flex; align-items: center; gap: 12px; color: var(--text-3); font-size: .875rem; margin: 6px 0 16px; }
.or-divider::before, .or-divider::after { content: ""; flex: 1; height: .5px; background: var(--line-2); }
.thread { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 14px; }
.msg { padding: 14px 16px; border-radius: var(--r); background: color-mix(in srgb, var(--text) 4%, transparent); }
.msg-staff { background: color-mix(in srgb, var(--primary) 8%, transparent); }
.msg header { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.msg-body p { margin: 0 0 .5em; }

/* --------------------------------------------------- printable invoice */
.print-body { background: #fff; color: #0b0d12; }
.invoice-sheet { max-width: 820px; margin: 40px auto; padding: 48px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 .5px rgba(15, 23, 42, .1), 0 20px 50px -20px rgba(15, 23, 42, .2); color: #0b0d12; }
.invoice-head { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.invoice-brand { display: flex; align-items: center; gap: 12px; font-size: 1.1rem; }
.invoice-meta { text-align: right; }
.invoice-meta h1 { font-size: 1.6rem; color: #0b0d12; }
.invoice-meta p { margin: 0 0 4px; color: #484e5c; }
.invoice-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 32px; }
.invoice-parties h2 { font-size: .8rem; color: #5f6574; margin-bottom: 6px; }
.invoice-lines { margin-bottom: 26px; }
.invoice-lines tfoot th { text-align: right; font-weight: 500; color: #484e5c; font-size: .9375rem; padding: 8px 10px; }
.invoice-lines tfoot td { padding: 8px 10px; }
@media print { .no-print { display: none; } .invoice-sheet { box-shadow: none; margin: 0; padding: 0; } }

@media (max-width: 1100px) { .pgrid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pstats-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .portal { grid-template-columns: 1fr; }
  .psidebar { position: fixed; inset: 0 auto 0 0; width: min(300px, 86vw); transform: translateX(-105%); transition: transform .3s var(--ease); background: var(--glass-strong); }
  .psidebar.open { transform: none; box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .35); }
  .pmenu { display: inline-grid; }
  .pgrid-2, .pgrid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .pstats-4 { grid-template-columns: 1fr 1fr; } .invoice-parties { grid-template-columns: 1fr; } .invoice-sheet { padding: 24px; margin: 0; border-radius: 0; } .invoice-meta { text-align: left; } }
.platform-item h3 a { color: inherit; }
.platform-item h3 a:hover { color: var(--accent); }
