/* Hexa Network: glassmorphism theme.
   Based on the original index.html style. Each product page sets a theme class on <body>
   (th-hexapay, th-hexalog, ...) that remaps the six accent colours, so the whole page re-themes. */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root, .th-default {
  --magenta: #ff4fd8; --purple: #7b52e5; --blue: #4f7dff;
  --cyan: #28d8ff; --orange: #ff8b38; --yellow: #ffd84d;
  --ink-accent: #6c38b8;
}
.th-hexapay  { --magenta: #00c2a8; --purple: #0a78c2; --blue: #3b9cf0; --cyan: #00e5ff; --orange: #18c9a6; --yellow: #7fdcff; --ink-accent: #0a5f99; }
.th-hexalog  { --magenta: #f01e8c; --purple: #a0005a; --blue: #d1146f; --cyan: #ff6bb5; --orange: #ff4f9a; --yellow: #ffa8d2; --ink-accent: #a0005a; }
.th-hexaweigh{ --magenta: #e85d04; --purple: #f18a00; --blue: #e89b0c; --cyan: #ffb347; --orange: #ff7a1a; --yellow: #ffc247; --ink-accent: #b84a00; }
.th-hexafarms{ --magenta: #8dc63f; --purple: #22b573; --blue: #4cba5e; --cyan: #7dd87a; --orange: #6fc04a; --yellow: #c3e36a; --ink-accent: #2a7a3a; }
.th-hexafleet{ --magenta: #f2611f; --purple: #f79a1f; --blue: #fbbf1f; --cyan: #ffd633; --orange: #f98a1f; --yellow: #ffcf33; --ink-accent: #b8570a; }

:root {
  --text: #1f2240; --muted: #6b7092;
  --line: rgba(96, 102, 160, 0.14); --line-strong: rgba(96, 102, 160, 0.24);
  --ok: #12a672; --warn: #d98a00; --danger: #d6384a;
  --shadow: 0 24px 80px rgba(83, 58, 140, 0.12); --shadow-hover: 0 28px 90px rgba(83, 58, 140, 0.18);
  --max-width: 1180px; --radius-xl: 30px; --radius-lg: 24px; --radius-md: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden;
  font-family: "Manrope", "Segoe UI", sans-serif; color: var(--text);
  background:
    radial-gradient(circle at 12% 14%, color-mix(in srgb, var(--magenta) 14%, transparent), transparent 22%),
    radial-gradient(circle at 22% 78%, color-mix(in srgb, var(--yellow) 12%, transparent), transparent 18%),
    radial-gradient(circle at 86% 10%, color-mix(in srgb, var(--blue) 14%, transparent), transparent 18%),
    radial-gradient(circle at 76% 72%, color-mix(in srgb, var(--orange) 12%, transparent), transparent 20%),
    radial-gradient(circle at 58% 34%, color-mix(in srgb, var(--cyan) 11%, transparent), transparent 18%),
    radial-gradient(circle at 66% 82%, color-mix(in srgb, var(--purple) 13%, transparent), transparent 22%),
    linear-gradient(180deg, #fffdf8 0%, #fbf8ff 34%, #f8fbff 68%, #fff9f1 100%);
}
body::before, body::after { content: ""; position: fixed; border-radius: 999px; pointer-events: none; z-index: 0; filter: blur(12px); }
body::before { top: 100px; right: -90px; width: 340px; height: 340px; background: radial-gradient(circle, color-mix(in srgb, var(--magenta) 26%, transparent), transparent); }
body::after { left: -100px; bottom: 80px; width: 320px; height: 320px; background: radial-gradient(circle, color-mix(in srgb, var(--yellow) 18%, transparent), transparent); }

.site-shell { position: relative; z-index: 1; width: min(calc(100% - 32px), var(--max-width)); margin: 0 auto; padding: 20px 0 80px; }
.backdrop-grid { position: absolute; inset: 120px -10% auto; z-index: 0; width: 120%; height: 760px; pointer-events: none; border-radius: 48px; opacity: .14;
  background: linear-gradient(color-mix(in srgb, var(--magenta) 14%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--cyan) 12%, transparent) 1px, transparent 1px);
  background-size: 58px 58px; mask-image: linear-gradient(180deg, rgba(0,0,0,.8), transparent 88%); }
.orb-layer { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(8px); opacity: .9; }
.orb.one { top: 220px; left: -80px; width: 260px; height: 260px; background: radial-gradient(circle, color-mix(in srgb, var(--magenta) 26%, transparent), transparent); }
.orb.two { top: 560px; right: -20px; width: 220px; height: 220px; background: radial-gradient(circle, color-mix(in srgb, var(--cyan) 26%, transparent), transparent); }
.orb.three { top: 1080px; left: 34%; width: 180px; height: 180px; background: radial-gradient(circle, color-mix(in srgb, var(--orange) 22%, transparent), transparent); }
.global-emblem-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: var(--bg-emblem, none) center center / min(34vw, 430px) auto no-repeat; opacity: .13; mix-blend-mode: multiply; filter: saturate(1.2) blur(1px); }

/* top bar */
.topbar { position: sticky; top: 14px; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 26px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.68); box-shadow: 0 18px 50px rgba(91,70,140,.1); backdrop-filter: blur(20px) saturate(150%); }
.brand { display: inline-flex; align-items: center; gap: 14px; min-width: 0; text-decoration: none; color: var(--text); }
.brand img { width: 52px; height: 52px; object-fit: contain; filter: drop-shadow(0 12px 24px rgba(92,121,255,.16)); }
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { font-size: 1rem; letter-spacing: -.03em; }
.brand-copy span { color: var(--muted); font-size: .84rem; }
.nav-links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.nav-links a { color: var(--muted); font-weight: 700; font-size: .94rem; text-decoration: none; transition: color .18s; }
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a.active { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-cta { display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; border-radius: 14px; background: linear-gradient(135deg, var(--magenta), var(--purple) 35%, var(--blue) 68%, var(--cyan)); color: #fff; font-size: .94rem; font-weight: 800; text-decoration: none; box-shadow: 0 16px 34px color-mix(in srgb, var(--magenta) 18%, transparent); transition: transform .18s, box-shadow .18s, filter .18s; border: 0; cursor: pointer; font-family: inherit; }
.nav-cta:hover { transform: translateY(-2px); filter: brightness(1.06); }
.nav-ghost { color: var(--text); font-weight: 700; font-size: .94rem; text-decoration: none; padding: 10px 12px; }
.menu-btn { display: none; background: rgba(255,255,255,.8); border: 1px solid var(--line); border-radius: 12px; width: 44px; height: 44px; font-size: 1.3rem; cursor: pointer; color: var(--text); }

/* hero + sections */
.hero { position: relative; overflow: hidden; padding: 42px; border: 1px solid var(--line); border-radius: 34px; background: linear-gradient(135deg, rgba(255,255,255,.82), rgba(249,244,255,.72)); box-shadow: var(--shadow); backdrop-filter: blur(24px) saturate(145%); }
.hero::after { content: ""; position: absolute; top: -80px; right: -20px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--magenta) 18%, transparent), transparent); pointer-events: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: linear-gradient(135deg, color-mix(in srgb, var(--magenta) 12%, transparent), color-mix(in srgb, var(--purple) 12%, transparent), color-mix(in srgb, var(--cyan) 12%, transparent)); color: var(--ink-accent); font-size: .85rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .85fr); gap: 28px; align-items: center; }
.hero-copy h1 { margin: 0; max-width: 11ch; font-size: clamp(3rem, 7vw, 5.4rem); line-height: .95; letter-spacing: -.06em; }
.hero-copy h1.long { max-width: 14ch; font-size: clamp(2.6rem, 6vw, 4.6rem); }
.hero-copy p { max-width: 58ch; margin: 18px 0 0; color: var(--muted); font-size: 1.06rem; line-height: 1.75; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.metric { padding: 14px 16px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.65); backdrop-filter: blur(18px); }
.metric strong { display: block; font-size: 1.05rem; letter-spacing: -.02em; }
.metric span { display: block; margin-top: 4px; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.hero-panel { padding: 22px; border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(180deg, rgba(255,255,255,.84), rgba(247,241,255,.7)); box-shadow: inset 0 1px 0 rgba(255,255,255,.7); backdrop-filter: blur(18px); }
.hero-panel-label { display: inline-flex; padding: 8px 12px; border-radius: 999px; background: linear-gradient(135deg, color-mix(in srgb, var(--yellow) 18%, transparent), color-mix(in srgb, var(--orange) 16%, transparent), color-mix(in srgb, var(--magenta) 14%, transparent)); color: var(--ink-accent); font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.panel-stack { display: grid; gap: 14px; margin-top: 18px; }
.panel-card { padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.5); }
.panel-card strong { display: block; font-size: .98rem; }
.panel-card span { display: block; margin-top: 6px; color: var(--muted); font-size: .92rem; line-height: 1.55; }
.hero-logo { display: block; width: min(260px, 70%); margin: 0 auto 10px; filter: drop-shadow(0 14px 30px color-mix(in srgb, var(--purple) 20%, transparent)); }

.section { position: relative; margin-top: 30px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(250,246,255,.72)); box-shadow: var(--shadow); backdrop-filter: blur(22px) saturate(145%); }
.section-heading { max-width: 720px; margin-bottom: 22px; }
.section-heading > span { display: inline-flex; margin-bottom: 12px; padding: 8px 12px; border-radius: 999px; background: linear-gradient(135deg, color-mix(in srgb, var(--purple) 12%, transparent), color-mix(in srgb, var(--cyan) 12%, transparent), color-mix(in srgb, var(--magenta) 12%, transparent)); color: var(--ink-accent); font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.section-heading h1, .section-heading h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.02; letter-spacing: -.05em; }
.section-heading p { margin: 14px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.section-heading.center { margin-inline: auto; text-align: center; }

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3, .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-grid { display: grid; gap: 18px; }

.glass-card, .card { position: relative; padding: 22px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(180deg, rgba(255,255,255,.84), rgba(247,242,255,.74)); box-shadow: 0 20px 54px rgba(83,58,140,.1); backdrop-filter: blur(20px) saturate(145%); transition: transform .22s, border-color .22s, box-shadow .22s; }
.glass-card:hover { transform: translateY(-8px); border-color: color-mix(in srgb, var(--blue) 28%, transparent); box-shadow: var(--shadow-hover); }
.card:hover { box-shadow: var(--shadow-hover); }
.glass-card h3, .glass-card h4, .card h3 { margin: 0; font-size: 1.14rem; letter-spacing: -.03em; }
.glass-card p, .card p { margin: 12px 0 0; color: var(--muted); line-height: 1.7; font-size: .96rem; }
.icon-chip { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 14px; background: linear-gradient(135deg, color-mix(in srgb, var(--magenta) 22%, transparent), color-mix(in srgb, var(--cyan) 22%, transparent)); color: var(--ink-accent); font-size: 1.15rem; font-weight: 800; }
.overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.overview-pane { padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(248,243,255,.74)); backdrop-filter: blur(18px); }
.overview-pane strong { display: block; margin-bottom: 8px; color: var(--ink-accent); font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; }
.overview-pane p { margin: 0; color: var(--muted); line-height: 1.8; }

/* product cards */
.product-card { text-align: center; display: flex; flex-direction: column; }
.product-card::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 4px; border-radius: 0 0 6px 6px; background: linear-gradient(90deg, var(--magenta), var(--purple), var(--cyan)); }
.product-logo { display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.product-logo img { display: block; width: 168px; height: 168px; object-fit: contain; filter: drop-shadow(0 10px 24px color-mix(in srgb, var(--purple) 14%, transparent)); }
.product-card .spacer { flex: 1; }
.product-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; justify-content: center; }
.price-line { margin-top: 16px; color: var(--muted); font-size: .92rem; }
.price-line strong { color: var(--text); font-size: 1.1rem; }
.save { color: var(--ok); font-weight: 800; }
.tag { display: inline-block; font-size: .72rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--purple) 14%, transparent); color: var(--ink-accent); text-transform: uppercase; letter-spacing: .04em; }
.tag.online { background: #e0f9f2; color: var(--ok); }
.tag-row { position: absolute; top: 16px; right: 16px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 14px 20px; cursor: pointer; border-radius: 16px; border: 1px solid transparent; font: inherit; font-weight: 800; text-decoration: none; transition: transform .18s, box-shadow .18s, background-color .18s, border-color .18s; }
.btn:hover, .btn:focus-visible { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--magenta), var(--purple) 34%, var(--orange) 68%, var(--yellow)); color: #fff; box-shadow: 0 18px 38px color-mix(in srgb, var(--magenta) 24%, transparent); }
.btn-primary:hover { filter: brightness(1.06); box-shadow: 0 22px 46px color-mix(in srgb, var(--orange) 28%, transparent); }
.btn-secondary, .btn-outline { border-color: rgba(96,102,160,.18); background: rgba(255,255,255,.74); color: var(--text); box-shadow: inset 0 1px 0 rgba(255,255,255,.8); }
.btn-secondary:hover, .btn-outline:hover { background: rgba(255,255,255,.95); border-color: color-mix(in srgb, var(--blue) 40%, transparent); }
.btn-danger { background: #fff; color: var(--danger); border-color: #f1c6cc; }
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: .86rem; border-radius: 12px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* lists */
.check-list, .feature-list { display: grid; gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; }
.check-list li, .feature-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; line-height: 1.6; }
.check-list li::before, .feature-list li::before { content: "\2713"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--magenta), var(--cyan)); color: #fff; font-size: .72rem; font-weight: 800; }
.feature-list.tight { margin-top: 14px; gap: 9px; font-size: .92rem; }
.feature-card h3 { margin-top: 0; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 50%; background: linear-gradient(135deg, var(--magenta), var(--purple)); color: #fff; font-weight: 800; }

/* download block (product pages) */
.download-card { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 22px; align-items: stretch; }
.download-panel { padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,251,245,.8)), radial-gradient(circle at top right, color-mix(in srgb, var(--magenta) 18%, transparent), transparent 40%), radial-gradient(circle at bottom left, color-mix(in srgb, var(--yellow) 14%, transparent), transparent 46%); box-shadow: 0 24px 80px rgba(83,58,140,.12); }
.download-panel h3 { margin: 0; font-size: 1.45rem; letter-spacing: -.04em; }
.download-panel p { margin: 12px 0 0; color: var(--muted); line-height: 1.75; }
.download-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.trust-note { margin-top: 14px; color: var(--ink-accent); font-size: .92rem; line-height: 1.6; }
.requirements strong { display: block; margin-bottom: 6px; color: var(--ink-accent); font-size: .95rem; }
.requirements ul { margin: 0 0 14px; padding-left: 18px; color: var(--muted); line-height: 1.7; }
.notice { background: #fff8e6; border: 1px solid #f3dfa6; color: #7a5a00; padding: 12px 14px; border-radius: 14px; font-size: .88rem; line-height: 1.55; }
.notice.info { background: #eef3ff; border-color: #cfdcff; color: #1b3a8a; }
.spec { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec td { padding: 11px 0; border-bottom: 1px solid var(--line); }
.spec td:first-child { color: var(--muted); width: 42%; }

/* billing toggle / prices */
.toggle { display: inline-flex; background: rgba(96,102,160,.1); border-radius: 999px; padding: 5px; gap: 4px; }
.toggle button { border: 0; background: transparent; padding: 10px 22px; border-radius: 999px; font: 800 .9rem "Manrope", sans-serif; color: var(--muted); cursor: pointer; }
.toggle button.on { background: #fff; color: var(--text); box-shadow: 0 2px 10px rgba(8,20,51,.12); }
.save-badge { font-size: .72rem; font-weight: 800; color: var(--ok); margin-left: 6px; }
.amount { font-size: 2.3rem; font-weight: 800; letter-spacing: -.04em; }
.amount small { font-size: .95rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.was { color: var(--muted); font-size: .88rem; min-height: 1.4em; }
.price-card { display: flex; flex-direction: column; gap: 12px; }
.price-card .head { display: flex; gap: 14px; align-items: center; }
.price-card .head img { width: 64px; height: 64px; object-fit: contain; }
.price-card .spacer { flex: 1; }
.price-card .feature-list { margin: 6px 0 0; font-size: .92rem; }

/* forms */
.form-card { max-width: 480px; margin: 0 auto; }
label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; color: var(--text); }
.field { margin-bottom: 18px; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=file], textarea, select { width: 100%; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.82); color: var(--text); padding: 14px 16px; font: inherit; outline: none; transition: border-color .18s, box-shadow .18s; }
textarea { min-height: 148px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #8290b3; }
input:focus, textarea:focus, select:focus { border-color: color-mix(in srgb, var(--magenta) 50%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--cyan) 14%, transparent); background: #fff; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; font-weight: 500; }
.check input { margin-top: 4px; }
.error { color: var(--danger); font-size: .88rem; margin: 0 0 12px; display: none; }
.error.show { display: block; }
.radio-cards { display: grid; gap: 12px; }
.radio-card { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 16px; padding: 14px; cursor: pointer; font-weight: 500; margin: 0; background: rgba(255,255,255,.7); }
.radio-card:has(input:checked) { border-color: var(--purple); background: color-mix(in srgb, var(--purple) 7%, white); }
.radio-card strong { display: block; font-size: .95rem; }
.radio-card span { font-size: .84rem; color: var(--muted); }
.radio-card input { margin-top: 4px; }
.checkout { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.summary-row.total { font-weight: 800; font-size: 1.15rem; border-bottom: 0; }

/* dashboard / admin */
.app-shell { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; }
.sidebar { padding: 14px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.6); position: sticky; top: 100px; }
.sidebar a { display: block; color: var(--muted); padding: 11px 14px; border-radius: 12px; font-weight: 700; font-size: .93rem; text-decoration: none; margin-bottom: 4px; }
.sidebar a:hover { background: rgba(96,102,160,.08); color: var(--text); }
.sidebar a.active { background: linear-gradient(135deg, var(--magenta), var(--purple)); color: #fff; }
.sidebar .label { color: var(--muted); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; margin: 6px 14px 10px; font-weight: 800; }
.app-main { min-width: 0; overflow-x: auto; }
.app-main h1 { font-size: 1.9rem; letter-spacing: -.04em; margin: 0 0 8px; }
.panel { display: none; }
.panel.on { display: block; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin: 18px 0 28px; }
.stat { background: rgba(255,255,255,.8); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.stat .n { font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; }
.stat .l { color: var(--muted); font-size: .85rem; }
table.data { width: 100%; border-collapse: collapse; background: rgba(255,255,255,.8); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; font-size: .92rem; margin-top: 16px; }
table.data th { text-align: left; background: rgba(96,102,160,.08); color: var(--muted); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; padding: 12px 16px; }
table.data td { padding: 14px 16px; border-top: 1px solid var(--line); vertical-align: middle; }
.status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 800; }
.status.active { background: #e0f9f2; color: var(--ok); }
.status.expired, .status.revoked { background: #fde7ea; color: var(--danger); }
.status.pending { background: #fff3d9; color: var(--warn); }
.keybox { font-family: ui-monospace, Menlo, Consolas, monospace; background: rgba(96,102,160,.1); padding: 6px 10px; border-radius: 8px; font-size: .82rem; letter-spacing: .04em; white-space: nowrap; }
.demo-banner { background: #fff8e6; border: 1px solid #f3dfa6; color: #7a5a00; border-radius: 14px; padding: 12px 16px; margin-bottom: 24px; font-size: .88rem; }
.toolbar { display: flex; gap: 12px; margin: 16px 0; flex-wrap: wrap; }
.toolbar input { max-width: 320px; }
.muted { color: var(--muted); }

/* founder / contact / footer */
.founder-grid { display: grid; grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr); gap: 22px; align-items: center; }
.founder-photo { overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: #1a1a1a; box-shadow: var(--shadow); }
.founder-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.founder-copy .eyebrow { margin-bottom: 14px; }
.founder-copy h3 { margin: 0; font-size: 2rem; letter-spacing: -.04em; }
.founder-copy .role { display: block; margin-top: 6px; color: var(--ink-accent); font-size: .98rem; font-weight: 700; }
.founder-message { margin-top: 18px; color: var(--muted); font-size: 1rem; line-height: 1.85; }
.contact-grid { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); gap: 22px; align-items: start; }
.contact-list { display: grid; gap: 14px; margin-top: 18px; }
.contact-item { padding: 16px 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.62); }
.contact-item strong { display: block; margin-bottom: 4px; color: var(--ink-accent); font-size: .95rem; }
.contact-item span, .contact-item a { color: var(--muted); line-height: 1.65; text-decoration: none; }
.contact-item a:hover { color: var(--text); }
.contact-form { display: grid; gap: 4px; }
.section-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
footer.section { padding-top: 24px; padding-bottom: 24px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(140px, .6fr)); gap: 18px; align-items: start; }
.footer-grid h4 { margin: 0 0 12px; font-size: .98rem; }
.footer-grid p, .footer-grid a { color: var(--muted); line-height: 1.7; text-decoration: none; }
.footer-grid a:hover { color: var(--text); }
.footer-links { display: grid; gap: 8px; }
.foot-bottom { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.legal h2 { font-size: 1.3rem; margin: 1.6em 0 .4em; letter-spacing: -.02em; }
.legal p { color: var(--muted); line-height: 1.8; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); background: #1f2240; color: #fff; padding: 14px 22px; border-radius: 14px; box-shadow: var(--shadow-hover); opacity: 0; pointer-events: none; transition: .25s; z-index: 100; max-width: 90vw; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.scroll-reveal { transition: opacity .42s ease, transform .42s ease; }
.js-enabled .scroll-reveal { opacity: 0; transform: translateY(16px); }
.js-enabled .scroll-reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
  .hero-grid, .download-card, .contact-grid, .founder-grid, .overview, .footer-grid, .grid-2, .grid-3, .grid-4, .product-grid, .steps, .checkout, .app-shell { grid-template-columns: 1fr; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; padding: 12px 18px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.96); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; width: 100%; }
  .topbar { padding: 14px; }
  .sidebar { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .sidebar .label { display: none; }
  .sidebar a { margin: 0; }
}
@media (max-width: 720px) {
  .site-shell { width: min(calc(100% - 20px), var(--max-width)); padding-bottom: 44px; }
  .hero, .section { padding: 22px; }
  .hero-copy h1, .hero-copy h1.long { max-width: none; font-size: clamp(2.5rem, 12vw, 4rem); }
  .hero-meta { grid-template-columns: 1fr; }
  .hero-actions, .download-actions, .section-cta { flex-direction: column; }
  .btn, .nav-cta { width: 100%; }
  .nav-right .nav-cta, .nav-right .nav-ghost { display: none; }
  .brand img { width: 46px; height: 46px; }
  * { backdrop-filter: none !important; }
  .global-emblem-bg { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-reveal, .glass-card, .btn, .nav-cta { transition: none !important; animation: none !important; transform: none !important; }
  .js-enabled .scroll-reveal { opacity: 1; }
}

/* Live API console and responsive data tables */
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; }
.table-wrap table.data { min-width: 640px; }
.status.suspended, .status.past_due { background: #fff3d9; color: var(--warn); }
.status.failed, .status.revoked, .status.expired, .status.canceled, .status.cancelled { background: #fde7ea; color: var(--danger); }
.status.success, .status.entitled { background: #e0f9f2; color: var(--ok); }
.status.not-entitled, .status.unknown { background: rgba(96,102,160,.1); color: var(--muted); }
.app-main input:not([type=checkbox]), .app-main select { max-width: 100%; min-width: 120px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--text); }
.app-main input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--ink-accent); }
button:disabled, .btn.disabled { opacity: .55; cursor: not-allowed; }
[hidden] { display: none !important; }

/* Payment return and product download experience */
.key-box { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.key-box code { flex: 1 1 220px; padding: 12px 14px; border: 1px dashed rgba(96,102,160,.35); border-radius: 12px; background: #fff; font-size: .95rem; letter-spacing: .03em; word-break: break-all; }
#dlMain .spec td:last-child { text-align: right; }
#dlSteps ol { margin: 16px 0 0; }
#dlSteps ol li { padding-left: 4px; }
#dlLicence .spec td:last-child, #dlMain .spec td:last-child { white-space: normal; }
@media (max-width: 860px) {
  .download-card, .grid.grid-2 { grid-template-columns: 1fr; }
  #dlMain .spec td:last-child { text-align: left; }
  .download-actions .btn { flex: 1 1 100%; }
}
