/* ==========================================================================
   TechForze, public site design system (light corporate)
   ========================================================================== */

:root {
  --brand: #ff4d1c;
  --brand-600: #e8400f;
  --brand-50: #fff3ee;
  --brand-100: #ffe3d8;
  --ink: #0b1220;
  --ink-2: #1e293b;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --bg: #ffffff;
  --surface: #f8fafc;
  --surface-2: #f1f5f9;
  --navy: #0b1220;
  --good: #15803d;
  --good-bg: #ecfdf3;
  --bad: #b91c1c;
  --bad-bg: #fef2f2;
  --warn: #a16207;
  --warn-bg: #fefce8;

  --ff-display: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ff-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow: 0 1px 3px rgba(15, 23, 42, .06), 0 8px 24px -12px rgba(15, 23, 42, .12);
  --shadow-lg: 0 24px 60px -24px rgba(15, 23, 42, .25);
  --container: 1200px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--ff-display); color: var(--ink); line-height: 1.2; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid rgba(255, 77, 28, .45); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .container { padding: 0 16px; } }

/* ---------- Icons ---------- */
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 24px; height: 24px; }

/* ---------- Typography helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-600); }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.h-display { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.06; }
.h-1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.h-2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 750; line-height: 1.15; }
.h-3 { font-size: 1.25rem; font-weight: 700; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); line-height: 1.7; }
.text-brand { color: var(--brand); }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; line-height: 1; cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s, box-shadow .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px -6px rgba(255, 77, 28, .6); }
.btn--primary:hover { background: var(--brand-600); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); }
.btn--outline { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn--outline:hover { border-color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--surface-2); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--brand-50); }
.btn--sm { height: 38px; padding: 0 14px; font-size: .88rem; border-radius: 8px; }
.btn--lg { height: 54px; padding: 0 26px; font-size: 1rem; border-radius: 12px; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .65; pointer-events: none; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--brand-600); }
.link .icon { transition: transform .15s; }
.link:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--ff-display); font-weight: 800; font-size: 1.25rem; color: var(--ink); letter-spacing: -.02em; }
.brand img { width: 36px; height: 36px; }
.brand em { font-style: normal; color: var(--brand); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 14px; border-radius: 8px; font-weight: 500; font-size: .95rem; color: var(--text); transition: color .15s, background .15s; }
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 10px; align-items: center; justify-content: center; cursor: pointer; margin-left: auto; }
.nav-toggle .icon { width: 22px; height: 22px; }
.mobile-nav { display: none; }
@media (max-width: 960px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-nav { display: block; position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: #fff; padding: 20px 16px 32px; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; border-top: 1px solid var(--line); }
  .mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .mobile-nav a:not(.btn) { display: block; padding: 14px 8px; font-size: 1.1rem; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
  .mobile-nav .btn { margin-top: 20px; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--sm { padding: 64px 0; }
.section--surface { background: var(--surface); }
.section--dark { background: var(--navy); color: #cbd5e1; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark .lead, .section--dark .muted { color: #94a3b8; }
.section--dark .eyebrow { color: #ff8a65; }
@media (max-width: 768px) { .section { padding: 64px 0; } .section--sm { padding: 48px 0; } }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head .h-2, .section-head .h-1 { margin-top: 12px; }
.section-head .lead { margin-top: 16px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; gap: 16px; } }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 88px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(600px 300px at 85% 10%, rgba(255, 77, 28, .10), transparent 70%),
  radial-gradient(500px 280px at 5% 90%, rgba(59, 130, 246, .07), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 65%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 65%); opacity: .55; pointer-events: none; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border: 1px solid var(--line); background: #fff; border-radius: 999px; font-size: .85rem; font-weight: 500; color: var(--text); box-shadow: var(--shadow-sm); }
.hero__badge b { background: var(--brand-50); color: var(--brand-600); padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.hero h1 { margin-top: 22px; }
.hero .lead { margin-top: 20px; max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 20px 28px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero__trust div { display: flex; flex-direction: column; }
.hero__trust b { font-family: var(--ff-display); font-size: 1.7rem; color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
.hero__trust > div > span { font-size: .85rem; color: var(--muted); }
.hero__visual { position: relative; }
.hero__panel { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 24px; }
.hero__panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.hero__panel-head strong { font-family: var(--ff-display); color: var(--ink); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 600; background: var(--surface-2); color: var(--text); }
.pill--good { background: var(--good-bg); color: var(--good); }
.pill--brand { background: var(--brand-50); color: var(--brand-600); }
.pill--warn { background: var(--warn-bg); color: var(--warn); }
.pill--bad { background: var(--bad-bg); color: var(--bad); }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pipeline { display: grid; gap: 10px; }
.pipeline__row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.pipeline__ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--brand-600); flex: none; }
.pipeline__row div { flex: 1; min-width: 0; }
.pipeline__row b { display: block; color: var(--ink); font-size: .92rem; }
.pipeline__row small { color: var(--muted); font-size: .8rem; }
.bar { height: 6px; background: var(--surface-2); border-radius: 99px; overflow: hidden; margin-top: 6px; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), #ff8a65); border-radius: 99px; }
.hero__float { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow); font-size: .85rem; }
.hero__float b { display: block; color: var(--ink); font-size: .9rem; }
.hero__float span { color: var(--muted); font-size: .78rem; }
.hero__float .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--good-bg); color: var(--good); }
.hero__float--a { left: -36px; bottom: -26px; }
.hero__float--b { right: -20px; top: -24px; }
@media (max-width: 1024px) { .hero__grid { grid-template-columns: 1fr; } .hero__visual { max-width: 560px; } .hero__float--a { left: 12px; } .hero__float--b { right: 12px; } }
@media (max-width: 640px) { .hero { padding: 48px 0 64px; } .hero__float { display: none; } }

/* ---------- Logo strip ---------- */
.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); padding: 22px 0; }
.trust-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.trust-strip p { font-size: .85rem; color: var(--muted); font-weight: 500; }
.trust-strip ul { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; }
.trust-strip li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink-2); font-size: .92rem; }
.trust-strip li .icon { color: var(--brand); }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.card--hover:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.card__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600); margin-bottom: 20px; }
.card__icon .icon { width: 24px; height: 24px; }
.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .96rem; }
.card .link { margin-top: 18px; }
.card .tags { margin-top: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.tags li { font-size: .78rem; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--text); }
.section--dark .card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.section--dark .card p { color: #94a3b8; }
.section--dark .card__icon { background: rgba(255, 77, 28, .14); color: #ff8a65; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; list-style: none; }
.steps li { position: relative; padding: 24px 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.steps li::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--ff-mono); font-size: .8rem; font-weight: 600; color: #ff8a65; margin-bottom: 14px; }
.steps h3 { font-size: 1.05rem; margin-bottom: 6px; }
.steps p { font-size: .9rem; color: #94a3b8; }
@media (max-width: 1024px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.checklist { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.checklist .tick { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--good-bg); color: var(--good); flex: none; margin-top: 1px; }
.checklist .tick .icon { width: 14px; height: 14px; stroke-width: 3; }
.checklist b { color: var(--ink); }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat-card { padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
.stat-card b { display: block; font-family: var(--ff-display); font-size: 2.4rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.stat-card > span { display: block; margin-top: 8px; color: var(--muted); font-size: .92rem; }
.stat-card--brand { background: var(--brand); border-color: var(--brand); }
.stat-card--brand b, .stat-card--brand > span { color: #fff; }
.stat-card--dark { background: var(--ink); border-color: var(--ink); }
.stat-card--dark b { color: #fff; }
.stat-card--dark > span { color: #94a3b8; }

/* ---------- Testimonials ---------- */
.quote-card { display: flex; flex-direction: column; gap: 20px; }
.quote-card blockquote { margin: 0; color: var(--ink-2); font-size: 1rem; line-height: 1.7; flex: 1; }
.quote-card .stars { display: flex; gap: 2px; color: #f59e0b; }
.quote-card .stars .icon { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.person { display: flex; align-items: center; gap: 12px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--surface-2); color: var(--ink); flex: none; }
.avatar--brand { background: var(--brand-50); color: var(--brand-600); }
.person b { display: block; color: var(--ink); font-size: .95rem; }
.person span { font-size: .85rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 24px; background: var(--ink); color: #cbd5e1; padding: 56px; display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; }
.cta-band::after { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -180px; background: radial-gradient(circle, rgba(255, 77, 28, .45), transparent 65%); pointer-events: none; }
.cta-band h2 { color: #fff; }
.cta-band p { margin-top: 12px; color: #94a3b8; max-width: 560px; }
.cta-band__actions { position: relative; z-index: 1; display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; padding: 36px 24px; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: 64px 0 56px; background: var(--surface); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -160px; top: -160px; width: 480px; height: 480px; background: radial-gradient(circle, rgba(255, 77, 28, .10), transparent 65%); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin-top: 14px; max-width: 820px; }
.page-hero .lead { margin-top: 16px; max-width: 680px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs .icon { width: 14px; height: 14px; }

/* ---------- Services detail ---------- */
.svc-nav { position: sticky; top: var(--header-h); z-index: 10; background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.svc-nav ul { display: flex; gap: 4px; list-style: none; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.svc-nav ul::-webkit-scrollbar { display: none; }
.svc-nav a { display: block; padding: 8px 14px; border-radius: 8px; font-size: .9rem; font-weight: 500; white-space: nowrap; color: var(--text); }
.svc-nav a:hover, .svc-nav a.is-active { background: var(--surface-2); color: var(--ink); }
.svc-block { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; padding: 72px 0; border-bottom: 1px solid var(--line); }
.svc-block:last-child { border-bottom: 0; }
.svc-block h2 { margin: 16px 0 14px; }
.svc-block .num { font-family: var(--ff-mono); font-size: .8rem; color: var(--muted); }
.svc-block__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.svc-item { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.svc-item b { display: flex; align-items: center; gap: 8px; color: var(--ink); margin-bottom: 6px; font-size: .98rem; }
.svc-item b .icon { color: var(--brand); width: 18px; height: 18px; }
.svc-item p { font-size: .9rem; color: var(--muted); }
@media (max-width: 960px) { .svc-block { grid-template-columns: 1fr; gap: 28px; padding: 56px 0; } }
@media (max-width: 560px) { .svc-block__list { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s; color: var(--muted); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--muted); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.field label .req { color: var(--brand); }
.field label .opt { color: var(--muted); font-weight: 400; }
.input, .field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff;
  font-size: .96rem; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input::placeholder, .field textarea::placeholder { color: #94a3b8; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(255, 77, 28, .12); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--bad); }
.field__error { font-size: .82rem; color: var(--bad); display: none; }
.field.has-error .field__error { display: block; }
.field__hint { font-size: .8rem; color: var(--muted); }
.file-drop { position: relative; border: 1.5px dashed var(--line-2); border-radius: 12px; padding: 22px; text-align: center; background: var(--surface); transition: border-color .15s, background .15s; cursor: pointer; }
.file-drop:hover, .file-drop.is-drag { border-color: var(--brand); background: var(--brand-50); }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file-drop .icon { margin: 0 auto 8px; color: var(--brand); width: 26px; height: 26px; }
.file-drop b { color: var(--ink); font-size: .92rem; }
.file-drop span { display: block; font-size: .8rem; color: var(--muted); margin-top: 2px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .82rem; color: var(--muted); text-align: center; }
.form-status { display: none; padding: 14px 16px; border-radius: 10px; font-size: .92rem; font-weight: 500; }
.form-status.is-ok { display: block; background: var(--good-bg); color: var(--good); }
.form-status.is-err { display: block; background: var(--bad-bg); color: var(--bad); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.form-card h2, .form-card h3 { font-size: 1.35rem; }
.form-card > p { margin: 6px 0 22px; color: var(--muted); font-size: .95rem; }
@media (max-width: 560px) { .form-card { padding: 22px; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
.contact-list a, .contact-list div { display: flex; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .15s; }
.contact-list a:hover { border-color: var(--line-2); }
.contact-list .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600); flex: none; }
.contact-list small { display: block; font-size: .8rem; color: var(--muted); }
.contact-list b { color: var(--ink); font-weight: 600; }

/* ---------- Jobs ---------- */
.job-list { display: grid; gap: 14px; }
.job-card { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 24px 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; transition: border-color .2s, box-shadow .2s; }
.job-card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.job-card h3 { font-size: 1.15rem; }
.job-card p { color: var(--muted); font-size: .94rem; margin-top: 6px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
@media (max-width: 640px) { .job-card { grid-template-columns: 1fr; padding: 20px; } }
.empty { text-align: center; padding: 56px 24px; border: 1px dashed var(--line-2); border-radius: var(--radius-lg); background: var(--surface); }
.empty .icon { width: 36px; height: 36px; margin: 0 auto 14px; color: var(--muted); }
.empty h3 { font-size: 1.15rem; margin-bottom: 6px; }
.empty p { color: var(--muted); }
.job-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: start; }
.job-layout aside { position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 960px) { .job-layout { grid-template-columns: 1fr; } .job-layout aside { position: static; } }
.prose { color: var(--text); font-size: 1.02rem; }
.prose h2 { font-size: 1.3rem; margin: 36px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 14px; }
.prose ul { padding-left: 0; list-style: none; display: grid; gap: 10px; margin-bottom: 16px; }
.prose li { position: relative; padding-left: 26px; }
.prose li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }

/* ---------- Verify / certificate ---------- */
.verify-card { max-width: 680px; margin: 0 auto; }
.search-row { display: flex; gap: 10px; }
.search-row .input { flex: 1; }
@media (max-width: 520px) { .search-row { flex-direction: column; } }
.result { margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.result__head { display: flex; align-items: center; gap: 14px; padding: 20px 24px; }
.result__head .ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.result__head b { display: block; color: var(--ink); font-size: 1.05rem; }
.result__head span { font-size: .88rem; color: var(--muted); }
.result--good .result__head { background: var(--good-bg); } .result--good .ico { background: #dcfce7; color: var(--good); }
.result--bad .result__head { background: var(--bad-bg); } .result--bad .ico { background: #fee2e2; color: var(--bad); }
.result--warn .result__head { background: var(--warn-bg); } .result--warn .ico { background: #fef9c3; color: var(--warn); }
.result--none .result__head { background: var(--surface); } .result--none .ico { background: var(--surface-2); color: var(--muted); }
.kv { display: grid; grid-template-columns: 180px 1fr; margin: 0; }
.kv dt, .kv dd { margin: 0; padding: 14px 24px; border-top: 1px solid var(--line); font-size: .94rem; }
.kv dt { color: var(--muted); }
.kv dd { color: var(--ink); font-weight: 600; }
@media (max-width: 520px) { .kv { grid-template-columns: 1fr; } .kv dt { padding-bottom: 0; border-top: 1px solid var(--line); } .kv dd { border-top: 0; padding-top: 4px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 72px 0 32px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-grid h4 { font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin-bottom: 16px; font-weight: 700; }
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-grid a { color: var(--text); }
.footer-grid a:hover { color: var(--brand-600); }
.footer-blurb { margin-top: 16px; color: var(--muted); max-width: 320px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { margin-top: 3px; color: var(--muted); width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom a:hover { color: var(--ink); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 12px; font-size: .94rem; font-weight: 500; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; z-index: 200; max-width: calc(100% - 32px); }
.toast.is-show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-5 { margin-top: 48px; }
.center { text-align: center; }
.flex { display: flex; } .gap-1 { gap: 8px; } .gap-2 { gap: 16px; } .wrap { flex-wrap: wrap; } .items-center { align-items: center; }

/* ---------------------------------------------------- bug bounty page */
.bb-reward { display: flex; gap: 18px; align-items: flex-start; padding: 26px 28px; border-radius: var(--radius-lg); border: 1px solid var(--brand-50); background: linear-gradient(135deg, var(--brand-50), #fff 70%); }
.bb-reward__icon { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--brand); color: #fff; }
.bb-reward__icon .icon { width: 26px; height: 26px; }
.bb-reward h2 { margin: 0 0 6px; }
.bb-reward p { margin: 0; color: var(--text); }
.bb-list { margin: 14px 0 0; padding-left: 20px; display: grid; gap: 8px; color: var(--muted); }
.bb-list li::marker { color: var(--bad); }
.bb-split { align-items: start; }
.bb-harbour { border-color: var(--good-bg); background: linear-gradient(180deg, #f2fbf6, #fff); }
.bb-sla { margin-top: 36px; }
.bb-sla .stat-card b { font-size: 1.9rem; }

.hof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 280px)); justify-content: center; gap: 18px; }
.hof-card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 28px 20px 22px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.hof-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(15, 23, 42, .35); }
.hof-card__rank { position: absolute; top: 14px; right: 16px; font: 700 .78rem/1 var(--ff-mono, monospace); color: var(--muted); }
.hof-card__avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 6px; font: 800 1.35rem/1 var(--ff-display); color: #fff; background: linear-gradient(135deg, var(--brand), #f59e0b); box-shadow: 0 0 0 4px var(--brand-50); }
.hof-card__name { margin: 0; font-size: 1.12rem; }
.hof-card__country { margin: 0; display: inline-flex; gap: 4px; align-items: center; color: var(--muted); font-size: .9rem; }
.hof-card__finding { margin: 4px 0 0; font-size: .9rem; color: var(--text); }
.hof-card__meta { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.hof-card__link { margin-top: 10px; display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: .92rem; color: var(--brand-600); text-decoration: none; }
.hof-card__link:hover { text-decoration: underline; }
@media (max-width: 860px) { .bb-split { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 560px) { .bb-reward { flex-direction: column; } }
