/* ===================================================================
   TASKFORGE IT - HOMEPAGE (2026-10)
   Dark, product-first. The real app is the hero; ember (#ff6b35) is the
   brand accent, app blue for product UI. Inter for text, Inter Tight for
   headings. No emoji - icons come from /assets/icons.svg (Lucide, ISC).
   =================================================================== */

:root {
  --bg: #060a13;
  --bg-2: #0a1120;
  --panel: #0e1626;
  --panel-2: #121c30;
  --line: rgba(148, 163, 184, .13);
  --line-2: rgba(148, 163, 184, .22);
  --text: #eef2f8;
  --muted: #9aa8bf;
  --dim: #7a89a3;
  --ember: #ff6b35;
  --ember-2: #ff8f61;
  --ember-soft: rgba(255, 107, 53, .12);
  --blue: #3b82f6;
  --blue-soft: rgba(59, 130, 246, .14);
  --green: #22c55e;
  --red: #ef4444;
  --amber: #f59e0b;
  --radius: 16px;
  --wrap: 1200px;
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .06);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --display: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text);
  background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
  font-feature-settings: 'cv11', 'ss01';
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ico { width: 20px; height: 20px; flex: none; display: inline-block; vertical-align: middle; }
.ico.sm { width: 16px; height: 16px; }
.ico.lg { width: 24px; height: 24px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; position: relative; }
.section.tight { padding: 72px 0; }

h1, h2, h3 { font-family: var(--display); letter-spacing: -.028em; line-height: 1.1; font-weight: 800; }
h2 { font-size: clamp(32px, 4.4vw, 52px); }
h3 { font-size: 20px; letter-spacing: -.015em; line-height: 1.25; font-weight: 700; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); line-height: 1.65; }
.grad { background: linear-gradient(100deg, #ffb08a 0%, var(--ember) 45%, #ff4d4d 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  color: var(--ember-2); letter-spacing: .01em; margin-bottom: 18px;
}
.kicker .ico { width: 16px; height: 16px; }
.head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.head .lead { margin-top: 18px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 600; font-size: 15.5px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn .ico { width: 18px; height: 18px; }
.btn-primary { background: var(--ember); color: #fff; box-shadow: 0 10px 30px -8px rgba(255, 107, 53, .65), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-primary:hover { transform: translateY(-1px); background: #ff7a48; box-shadow: 0 16px 40px -10px rgba(255, 107, 53, .8), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-ghost { background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .3); }
.btn-sm { height: 38px; padding: 0 15px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------------------------------------------------------------- announcement */
.ann {
  position: relative; z-index: 60; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 9px 44px 9px 16px; font-size: 13.5px; color: #dbe4f3; text-align: center;
  background: linear-gradient(90deg, rgba(255, 107, 53, .16), rgba(59, 130, 246, .16)); border-bottom: 1px solid var(--line);
}
.ann .pill { flex: none; font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 2px 8px; border-radius: 999px; background: var(--ember); color: #fff; }
.ann button.ann-link { color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.ann button.ann-link:hover { text-decoration: underline; }
.ann .ann-m { display: none; }
.ann .ann-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ann .ann-close { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: var(--muted); }
.ann .ann-close:hover { background: rgba(255, 255, 255, .08); color: #fff; }

/* ---------------------------------------------------------------- release bar (next big version) */
.relbar {
  position: relative; z-index: 60; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 14px;
  padding: 11px 16px; font-size: 15px; line-height: 1.3; color: #fff; text-align: center; text-decoration: none;
  background: linear-gradient(90deg, #c2410c, #ff6b35 45%, #c2410c); border-bottom: 1px solid rgba(0, 0, 0, .25);
}
.relbar.launched { background: linear-gradient(90deg, #15803d, #22c55e 45%, #15803d); }
.relbar.launched .relbar-cta { color: #14532d; }
.relbar:hover { filter: brightness(1.06); }
.relbar:focus-visible { outline: 3px solid #fff; outline-offset: -3px; }
.relbar b { font-weight: 700; }
.relbar-pill { flex: none; font-size: 12px; font-weight: 800; letter-spacing: .03em; padding: 3px 10px; border-radius: 999px; background: #0b1220; color: #fff; }
.relbar-count { flex: none; font-size: 13px; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: rgba(0, 0, 0, .22); }
.relbar-count:empty { display: none; }
.relbar-cta { flex: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; padding: 6px 14px; border-radius: 999px; background: #fff; color: #9a3412; box-shadow: 0 1px 0 rgba(0, 0, 0, .15); }
.relbar-cta svg { width: 15px; height: 15px; }
@media (max-width: 640px) { .relbar { font-size: 14px; padding: 10px 12px; } .relbar-count { display: none; } }

/* ---------------------------------------------------------------- nav */
.nav { position: sticky; top: 0; z-index: 50; transition: background .25s, border-color .25s, backdrop-filter .25s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(6, 10, 19, .78); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; flex: 1; justify-content: center; }
.nav-links a { padding: 8px 12px; border-radius: 8px; font-size: 14.5px; font-weight: 500; color: var(--muted); transition: color .15s, background .15s; }
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-cta .login { font-size: 14.5px; font-weight: 500; color: var(--muted); padding: 8px 10px; }
.nav-cta .login:hover { color: var(--text); }
/* the menu stays on one line: the optional links step aside on narrower screens */
.nav-links a, .nav-cta .login { white-space: nowrap; }
/* The full menu (with the optional links) needs more room than the page column: let the bar grow, and only show them when they fit */
.nav-inner.wrap { max-width: max(var(--wrap), 1720px); }
@media (max-width: 1760px) { .nav-links a.opt2 { display: none; } }
@media (max-width: 1540px) { .nav-links a.opt { display: none; } }
@media (max-width: 1200px) { .nav-links a { padding: 8px 8px; font-size: 14px; } }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; place-items: center; color: var(--text); border: 1px solid var(--line-2); }
.mobile-menu { display: none; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: 84px 0 0; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto; height: 1100px; pointer-events: none;
  background:
    radial-gradient(600px 380px at 50% 18%, rgba(255, 107, 53, .20), transparent 70%),
    radial-gradient(700px 460px at 20% 60%, rgba(59, 130, 246, .14), transparent 70%),
    radial-gradient(700px 460px at 85% 55%, rgba(255, 107, 53, .08), transparent 70%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 55% at 50% 25%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 25%, #000 30%, transparent 75%);
}
.hero-copy { position: relative; z-index: 2; text-align: center; max-width: 920px; margin: 0 auto; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); font-size: 13.5px; color: var(--muted); margin-bottom: 28px;
}
.badge b { color: var(--text); font-weight: 600; }
.badge .dot { width: 26px; height: 26px; border-radius: 999px; background: var(--ember-soft); color: var(--ember); display: grid; place-items: center; }
.badge .dot .ico { width: 15px; height: 15px; }
.hero h1 { font-size: clamp(40px, 6.2vw, 76px); letter-spacing: -.035em; line-height: 1.05; font-weight: 800; }
.hero .lead { max-width: 680px; margin: 26px auto 0; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.hero-ctas .btn { height: 52px; padding: 0 26px; font-size: 16px; }
.hero-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 22px; font-size: 13.5px; color: var(--dim); }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .ico { width: 15px; height: 15px; color: var(--green); }

.stage { position: relative; z-index: 1; margin: 72px auto 0; max-width: 1180px; padding: 0 24px; perspective: 2000px; }
.browser {
  position: relative; border-radius: 14px; overflow: hidden; background: #0d1422; box-shadow: var(--shadow), 0 0 120px -30px rgba(255, 107, 53, .35);
  transform: rotateX(8deg) scale(.985); transform-origin: 50% 0; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1);
}
.stage.in .browser { transform: rotateX(0) scale(1); }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #121a2a; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a3448; }
.browser-bar i:nth-child(1) { background: #ff5f57; } .browser-bar i:nth-child(2) { background: #febc2e; } .browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar span { margin-left: 12px; font-size: 12px; color: var(--dim); }
.browser img { width: 100%; height: auto; }
.stage-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 32%; background: linear-gradient(transparent, var(--bg)); pointer-events: none; z-index: 3; }

.float {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 14px;
  background: rgba(17, 25, 41, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line-2);
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, .7); font-size: 13.5px; max-width: 320px;
  opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease;
}
.stage.in .float { opacity: 1; transform: none; }
.stage.in .float.f2 { transition-delay: .35s; } .stage.in .float.f3 { transition-delay: .7s; }
.float .fi { width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center; }
.float .fi .ico { width: 18px; height: 18px; }
.float b { display: block; font-size: 13.5px; font-weight: 600; color: var(--text); line-height: 1.3; }
.float small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.float.f1 { left: -8px; top: 22%; } .float.f1 .fi { background: var(--blue-soft); color: #7fb0ff; }
.float.f2 { right: -10px; top: 9%; } .float.f2 .fi { background: rgba(34, 197, 94, .14); color: #4ade80; }
.float.f3 { left: 6%; bottom: 14%; } .float.f3 .fi { background: var(--ember-soft); color: var(--ember-2); }

/* Phone mockup - an HTML rendering of the mobile job card with the timer */
.phone {
  position: absolute; z-index: 5; right: 3%; bottom: -4%; width: 236px; padding: 9px; border-radius: 38px;
  background: linear-gradient(160deg, #2a3344, #10151f); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .08);
  opacity: 0; transform: translateY(40px); transition: opacity .9s ease .5s, transform .9s cubic-bezier(.2, .7, .2, 1) .5s;
}
.stage.in .phone { opacity: 1; transform: none; }
.phone-screen { border-radius: 30px; overflow: hidden; background: #0f1523; padding: 14px 13px 16px; min-height: 440px; font-size: 12px; }
.phone-notch { width: 74px; height: 20px; border-radius: 999px; background: #000; margin: -4px auto 12px; }
.p-top { display: flex; align-items: center; justify-content: space-between; color: var(--dim); font-size: 11px; margin-bottom: 10px; }
.p-title { font-weight: 700; font-size: 14.5px; line-height: 1.25; color: var(--text); margin-bottom: 6px; }
.p-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 12px; }
.p-tag { font-size: 10.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.p-tag.red { background: rgba(239, 68, 68, .16); color: #f87171; } .p-tag.amb { background: rgba(245, 158, 11, .16); color: #fbbf24; } .p-tag.gr { background: rgba(148, 163, 184, .14); color: var(--muted); }
.p-card { background: #161f31; border: 1px solid rgba(255, 255, 255, .06); border-radius: 12px; padding: 11px; margin-bottom: 9px; }
.p-label { font-size: 9.5px; font-weight: 700; letter-spacing: .06em; color: var(--dim); }
.p-timer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.p-time { font-size: 24px; font-weight: 700; color: #34d399; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.p-btn { font-size: 11.5px; font-weight: 700; padding: 8px 11px; border-radius: 9px; color: #fff; background: #d97706; }
.p-btn.blue { display: flex; align-items: center; justify-content: center; gap: 6px; background: #2563eb; width: 100%; margin-top: 8px; padding: 9px; }
.p-btn.blue .ico { width: 14px; height: 14px; }
.p-row { display: flex; justify-content: space-between; padding: 4px 0; color: var(--muted); font-size: 11.5px; }
.p-row b { color: var(--text); font-weight: 600; }

/* ---------------------------------------------------------------- trust strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .015); }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-item { display: flex; align-items: center; gap: 14px; padding: 26px 22px; }
.strip-item + .strip-item { border-left: 1px solid var(--line); }
.strip-item .si { width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--ember-soft); color: var(--ember-2); }
.strip-item b { display: block; font-size: 15px; font-weight: 600; }
.strip-item small { display: block; font-size: 13px; color: var(--muted); line-height: 1.45; }

/* ---------------------------------------------------------------- replace the stack */
.stack-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 36px; align-items: center; max-width: 1040px; margin: 0 auto; }
.stack-old { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stack-old div { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-radius: 12px; background: rgba(255, 255, 255, .025); border: 1px dashed var(--line-2); color: var(--dim); font-size: 14.5px; }
.stack-old div .ico { color: #f87171; width: 16px; height: 16px; }
.stack-old div s { text-decoration-color: rgba(248, 113, 113, .6); }
.stack-arrow { width: 56px; height: 56px; border-radius: 999px; display: grid; place-items: center; background: var(--ember); color: #fff; box-shadow: 0 0 40px rgba(255, 107, 53, .55); }
.stack-new { padding: 34px; border-radius: 20px; position: relative; background: linear-gradient(160deg, rgba(255, 107, 53, .14), rgba(59, 130, 246, .08) 60%, rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 107, 53, .4); box-shadow: 0 30px 80px -30px rgba(255, 107, 53, .45); }
.stack-new img { height: 40px; width: auto; margin-bottom: 18px; }
.stack-new h3 { font-size: 24px; margin-bottom: 10px; }
.stack-new p { color: var(--muted); font-size: 15px; }
.stack-new ul { list-style: none; margin-top: 18px; display: grid; gap: 9px; }
.stack-new li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.stack-new li .ico { color: var(--green); width: 18px; height: 18px; margin-top: 2px; }

/* ---------------------------------------------------------------- job flow */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; position: relative; counter-reset: step; }
.flow::before { content: ''; position: absolute; top: 31px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, transparent, rgba(255, 107, 53, .55), rgba(59, 130, 246, .55), transparent); }
.step { position: relative; text-align: center; padding: 0 4px; }
.step .sn {
  position: relative; width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 18px; display: grid; place-items: center;
  background: var(--panel-2); border: 1px solid var(--line-2); color: var(--ember-2); box-shadow: 0 0 0 6px var(--bg);
}
.step .sn .ico { width: 24px; height: 24px; }
.step .sn::after { counter-increment: step; content: counter(step); position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 999px; background: var(--ember); color: #fff; font-size: 11.5px; font-weight: 700; display: grid; place-items: center; }
.step h3 { font-size: 16.5px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ---------------------------------------------------------------- feature rows */
.rows { display: grid; gap: 128px; }
.row { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.row.flip { grid-template-columns: 7fr 5fr; }
@media (min-width: 1400px) { .row .shot-wrap { margin-right: -64px; } .row.flip .shot-wrap { margin-right: 0; margin-left: -64px; } }
#product { overflow-x: clip; }
.row.flip .row-copy { order: 2; }
.row-copy h2 { font-size: clamp(30px, 3.4vw, 42px); }
.row-copy .lead { margin-top: 16px; font-size: 17px; }
.checks { list-style: none; margin-top: 26px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: #cdd6e4; }
.checks li .ck { width: 24px; height: 24px; flex: none; border-radius: 8px; display: grid; place-items: center; background: var(--ember-soft); color: var(--ember-2); margin-top: 1px; }
.checks li .ck .ico { width: 15px; height: 15px; }
.checks li b { color: var(--text); font-weight: 600; }
.row-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 26px; color: var(--ember-2); font-weight: 600; font-size: 15px; }
.row-link:hover { gap: 10px; }
.row-link .ico { width: 17px; height: 17px; transition: transform .2s; }
.shot { position: relative; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); background: var(--panel); }
.shot[data-zoom] { cursor: zoom-in; }
.shot[data-zoom]::after { content: ''; position: absolute; inset: 0; background: rgba(255, 255, 255, 0); transition: background .2s; }
.shot[data-zoom]:hover::after { background: rgba(255, 255, 255, .03); }
.modal.zoom { align-items: center; padding: 3vh 3vw; }
.modal.zoom img { max-width: 100%; max-height: 94vh; border-radius: 12px; box-shadow: var(--shadow); cursor: zoom-out; }
.modal.zoom .modal-x { position: fixed; top: 16px; right: 16px; background: rgba(0, 0, 0, .5); }
.shot img { width: 100%; height: auto; }
.shot-wrap { position: relative; }
.shot-wrap::before { content: ''; position: absolute; inset: -12% -8%; z-index: -1; background: radial-gradient(closest-side, rgba(59, 130, 246, .22), transparent); filter: blur(10px); }
.shot-wrap.warm::before { background: radial-gradient(closest-side, rgba(255, 107, 53, .2), transparent); }
.shot-tag { position: absolute; left: 16px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; font-size: 13px; font-weight: 600; background: rgba(10, 16, 28, .88); border: 1px solid var(--line-2); backdrop-filter: blur(8px); }
.shot-tag .ico { width: 16px; height: 16px; color: var(--ember-2); }

/* ---------------------------------------------------------------- everything grid */
.grid-all { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile { padding: 22px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); transition: border-color .2s, transform .2s, background .2s; }
.tile:hover { border-color: rgba(255, 107, 53, .4); transform: translateY(-2px); background: var(--panel-2); }
.tile .ti { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--ember-2); margin-bottom: 14px; }
.tile h3 { font-size: 15.5px; margin-bottom: 6px; }
.tile p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* ---------------------------------------------------------------- apps */
.apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.app-card { padding: 26px; border-radius: 18px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); }
.app-card .ai { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; color: #fff; }
.app-card .ai .ico { width: 24px; height: 24px; }
.app-card h3 { font-size: 18px; margin-bottom: 4px; }
.app-card .plat { font-size: 12.5px; color: var(--dim); font-weight: 600; margin-bottom: 12px; }
.app-card p { font-size: 14px; color: var(--muted); }

/* ---------------------------------------------------------------- local / SA */
.local { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.local-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.local-item { padding: 20px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.local-item .ico { color: var(--ember-2); margin-bottom: 10px; width: 22px; height: 22px; }
.local-item b { display: block; font-size: 15px; margin-bottom: 4px; }
.local-item p { font-size: 13.5px; color: var(--muted); }

/* ---------------------------------------------------------------- video */
.video-box { max-width: 980px; margin: 0 auto; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); background: #000; }
.video-box video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.video-tabs { display: flex; justify-content: center; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.video-tabs button { padding: 8px 14px; border-radius: 999px; font-size: 13.5px; color: var(--muted); border: 1px solid var(--line-2); }
.video-tabs button.on { color: #fff; border-color: var(--ember); background: var(--ember-soft); }

/* ---------------------------------------------------------------- testimonial */
.quote-card { max-width: 900px; margin: 0 auto; text-align: center; padding: 56px 48px; border-radius: 24px; background: radial-gradient(500px 220px at 50% 0%, rgba(255, 107, 53, .12), transparent), var(--panel); border: 1px solid var(--line); }
.quote-card .stars { display: flex; justify-content: center; gap: 4px; color: #fbbf24; margin-bottom: 22px; }
.quote-card .stars .ico { width: 20px; height: 20px; fill: currentColor; }
.quote-card blockquote { font-size: clamp(17px, 1.8vw, 20px); line-height: 1.65; font-weight: 500; color: #e6ecf5; max-width: 720px; margin: 0 auto; }
.quote-card cite { display: block; margin-top: 22px; font-style: normal; font-weight: 600; color: var(--muted); }
.quote-more { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.quote-more button { width: 9px; height: 9px; border-radius: 999px; background: var(--line-2); }
.quote-more button.on { background: var(--ember); width: 26px; }

/* ---------------------------------------------------------------- pricing */
.founder {
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; max-width: 760px; margin: -24px auto 40px; padding: 14px 20px; border-radius: 14px;
  background: linear-gradient(90deg, rgba(255, 107, 53, .2), rgba(255, 77, 77, .14)); border: 1px solid rgba(255, 107, 53, .45); text-align: center;
}
.founder .ico { color: var(--ember-2); }
.founder b { font-weight: 700; }
.founder span { color: #ffd2bf; font-size: 14.5px; }
.founder .bar { width: 120px; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.founder .bar i { display: block; height: 100%; background: var(--ember); }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px 24px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); }
.plan.pop { background: linear-gradient(180deg, rgba(255, 107, 53, .12), var(--panel) 45%); border-color: rgba(255, 107, 53, .6); box-shadow: 0 30px 80px -30px rgba(255, 107, 53, .5); }
.plan .tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 4px 12px; border-radius: 999px; background: var(--ember); color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; }
.plan .pname { font-family: var(--display); font-size: 20px; font-weight: 700; }
.plan .pfor { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.plan .pfrom { font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 16px; height: 18px; }
.plan .pprice { display: flex; align-items: baseline; gap: 2px 6px; margin-top: 2px; flex-wrap: wrap; }
.plan .pprice .amt small { font-size: .55em; letter-spacing: 0; }
.plan .pprice .amt { font-family: var(--display); font-size: clamp(30px, 2.8vw, 40px); white-space: nowrap; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.plan .pprice .per { font-size: 14px; color: var(--muted); }
.plan .pfrom s { color: var(--dim); font-weight: 500; margin-left: 6px; }
.plan .pnote { font-size: 12.5px; color: var(--ember-2); font-weight: 600; margin-top: 6px; min-height: 18px; }
.plan .psub { font-size: 12.5px; color: var(--dim); margin-top: 4px; line-height: 1.5; }
.plan .btn { margin: 22px 0 22px; }
.plan ul { list-style: none; display: grid; gap: 10px; font-size: 14px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; color: #cdd6e4; }
.plan li .ico { width: 17px; height: 17px; color: var(--green); margin-top: 2px; }
.plan li.no { color: var(--dim); }
.plan li.no .ico { color: var(--dim); }
.pay-row { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 32px; font-size: 14px; color: var(--muted); }
.pay-row .payfast { background: #fff; padding: 6px 12px; border-radius: 8px; }
.pay-row .payfast img { height: 24px; width: auto; }
.pay-row a { color: var(--ember-2); }

.compare-toggle { display: flex; justify-content: center; margin-top: 34px; }
details.compare { margin-top: 18px; }
details.compare > summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; padding: 11px 18px; border-radius: 12px; border: 1px solid var(--line-2); font-weight: 600; font-size: 15px; margin: 0 auto; }
details.compare > summary::-webkit-details-marker { display: none; }
details.compare > summary .ico { transition: transform .2s; }
details.compare[open] > summary .ico { transform: rotate(180deg); }
.compare-wrap { margin-top: 22px; overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
table.cmp { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 14px; }
table.cmp th, table.cmp td { padding: 13px 16px; text-align: center; border-bottom: 1px solid var(--line); }
table.cmp th { font-family: var(--display); font-size: 15px; background: var(--panel-2); position: sticky; top: 0; }
table.cmp th.hl { color: var(--ember-2); }
table.cmp td:first-child, table.cmp th:first-child { text-align: left; color: var(--muted); }
table.cmp tr:last-child td { border-bottom: 0; }
table.cmp td.y { color: #4ade80; font-weight: 600; }
table.cmp td.n { color: var(--dim); }
table.cmp tr.grp td { background: rgba(255, 255, 255, .025); color: var(--text); font-weight: 700; font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; text-align: left; }
.addons { max-width: 760px; margin: 22px auto 0; padding: 22px 24px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); font-size: 14px; }
.addons h3 { font-size: 16px; margin-bottom: 12px; }
.addons table { width: 100%; border-collapse: collapse; }
.addons td { padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.addons td:last-child { text-align: right; color: var(--text); font-weight: 600; }
.addons p { color: var(--dim); font-size: 13px; margin-top: 12px; }

/* ---------------------------------------------------------------- trial form: hosted or own server */
.host-choice { margin: 4px 0 18px; }
.hc-label { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.hc-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hc-opts button { text-align: left; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); color: var(--muted); line-height: 1.35; }
.hc-opts button b { display: flex; align-items: center; gap: 7px; color: var(--text); font-size: 14.5px; font-weight: 600; }
.hc-opts button b .ico { color: var(--ember-2); }
.hc-opts button small { display: block; font-size: 12.5px; margin-top: 3px; }
.hc-opts button.on { border-color: var(--ember); background: var(--ember-soft); }
.hc-name { margin-top: 12px; }
.hc-name label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.hc-input { display: flex; align-items: center; border-radius: 11px; background: var(--bg-2); border: 1px solid var(--line-2); overflow: hidden; }
.hc-input:focus-within { border-color: var(--ember); box-shadow: 0 0 0 3px var(--ember-soft); }
.hc-input input { flex: 1; min-width: 0; height: 46px; padding: 0 4px 0 14px; border: 0; background: transparent; font-size: 15px; outline: none; }
.hc-input span { padding: 0 14px 0 2px; color: var(--muted); font-size: 14.5px; white-space: nowrap; }
.hc-check { font-size: 12.5px; margin-top: 6px; min-height: 16px; }
.hc-check.ok { color: #4ade80; } .hc-check.bad { color: #f87171; }
.price-sum { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.price-sum b { color: var(--text); }
.price-sum .ps-note { font-size: 12px; color: var(--ember-2); }
@media (max-width: 640px) { .hc-opts { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- hosting */
.hosting { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: center; margin-top: 28px; padding: 34px; border-radius: 22px;
  background: radial-gradient(500px 240px at 0% 0%, rgba(59, 130, 246, .16), transparent 70%), var(--panel); border: 1px solid rgba(59, 130, 246, .35); }
.hosting h3 { font-size: 26px; letter-spacing: -.02em; margin-bottom: 10px; }
.hosting p { color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.hosting p b { color: var(--text); }
.hosting ul { list-style: none; display: grid; gap: 8px; margin-top: 16px; }
.hosting li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; color: #cdd6e4; }
.hosting li .ico { width: 17px; height: 17px; color: var(--green); }
.h-badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .03em; padding: 2px 8px; border-radius: 999px; color: #93c5fd; background: var(--blue-soft); vertical-align: middle; }
.h-side { padding: 22px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); }
.h-label { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.h-price { display: flex; justify-content: space-between; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: #cdd6e4; }
.h-price b { font-size: 18px; color: var(--text); }
.h-price small { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.h-side .btn { margin-top: 18px; }
.h-note { font-size: 12.5px; color: var(--dim); margin-top: 10px; text-align: center; line-height: 1.55; }
.h-note a { color: var(--ember-2); font-weight: 600; }
.host-strip { display: flex; align-items: center; gap: 16px; margin-top: 18px; padding: 18px 22px; border-radius: 16px; background: var(--panel); border: 1px dashed rgba(59, 130, 246, .45); }
.host-strip .hs-i { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: #93c5fd; }
.host-strip .hs-t { flex: 1; font-size: 15px; color: var(--muted); }
.host-strip .hs-t b { color: var(--text); }
@media (max-width: 900px) { .hosting { grid-template-columns: 1fr; padding: 26px 20px; } .host-strip { flex-wrap: wrap; } }

/* ---------------------------------------------------------------- FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: 14px; background: var(--panel); border: 1px solid var(--line); transition: border-color .2s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 600; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--muted); transition: transform .2s; }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq .ans { padding: 0 22px 20px; color: var(--muted); font-size: 15px; line-height: 1.7; }

/* ---------------------------------------------------------------- final CTA */
.cta-final {
  position: relative; overflow: hidden; text-align: center; padding: 84px 32px; border-radius: 28px;
  background: radial-gradient(600px 300px at 50% 0%, rgba(255, 107, 53, .32), transparent 70%), radial-gradient(500px 300px at 90% 100%, rgba(59, 130, 246, .2), transparent 70%), var(--panel);
  border: 1px solid rgba(255, 107, 53, .3);
}
.cta-final h2 { max-width: 760px; margin: 0 auto; }
.cta-final .lead { max-width: 600px; margin: 18px auto 0; }
.cta-final .hero-ctas { margin-top: 32px; }
.cta-final .phone-line { margin-top: 20px; font-size: 14.5px; color: var(--muted); }
.cta-final .phone-line a { color: var(--text); font-weight: 600; }

/* ---------------------------------------------------------------- newsletter + footer */
.news { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 30px 32px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); }
.news h3 { font-size: 20px; }
.news p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.news form { display: flex; gap: 10px; flex: 1; max-width: 460px; min-width: 260px; }
.news input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line-2); }
.news input:focus { outline: none; border-color: var(--ember); }
.news .msg { width: 100%; font-size: 13.5px; margin-top: 8px; }
.news small { display: block; font-size: 12px; color: var(--dim); margin-top: 8px; }
.news small a { color: var(--ember-2); }

footer { margin-top: 88px; border-top: 1px solid var(--line); padding: 64px 0 36px; }
.foot { display: grid; grid-template-columns: 1.3fr repeat(5, 1fr); gap: 28px; }
.foot h4 { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 14px; letter-spacing: .02em; }
.foot a, .foot .muted { display: block; font-size: 14px; color: var(--muted); padding: 4px 0; }
.foot a:hover { color: var(--text); }
.foot .brand img { height: 38px; margin-bottom: 14px; }
.foot .about { font-size: 14px; color: var(--muted); max-width: 300px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); padding: 0; }
.socials a:hover { border-color: var(--ember); }
.socials svg { width: 17px; height: 17px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }

/* ---------------------------------------------------------------- modals */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: flex-start; justify-content: center; padding: 5vh 16px; overflow-y: auto; background: rgba(3, 6, 12, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal.open { display: flex; animation: fade .2s ease; }
.modal-box { position: relative; width: 100%; max-width: 620px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line-2); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .8); padding: 36px; animation: rise .25s ease; }
.modal-box.wide { max-width: 680px; }
.modal-x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: var(--muted); }
.modal-x:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.modal h2 { font-size: 28px; }
.modal .sub { color: var(--muted); font-size: 15px; margin: 8px 0 24px; }
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 18px; }
.tiers button { padding: 11px 6px; border-radius: 11px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; color: var(--muted); line-height: 1.25; }
.tiers button small { display: block; font-size: 11.5px; font-weight: 500; color: var(--dim); margin-top: 2px; }
.tiers button.on { border-color: var(--ember); background: var(--ember-soft); color: #fff; }
.tiers button.on small { color: #ffc2a8; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea { height: 46px; padding: 0 14px; border-radius: 11px; background: var(--bg-2); border: 1px solid var(--line-2); font-size: 15px; width: 100%; }
.field textarea { height: 90px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ember); box-shadow: 0 0 0 3px var(--ember-soft); }
.form-note { font-size: 12.5px; color: var(--dim); margin: 14px 0 18px; }
.form-note a { color: var(--ember-2); }
.form-err { display: none; margin-bottom: 16px; padding: 12px 14px; border-radius: 11px; font-size: 14px; color: #fecaca; background: rgba(239, 68, 68, .12); border: 1px solid rgba(239, 68, 68, .35); }
.form-err.show { display: block; }
.form-ok { text-align: center; padding: 20px 0 6px; }
.form-ok .ok-i { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 999px; display: grid; place-items: center; background: rgba(34, 197, 94, .14); color: #4ade80; }
.form-ok .ok-i .ico { width: 30px; height: 30px; }
.form-ok p { color: var(--muted); margin-top: 8px; }
.wn-body h3 { font-size: 15px; margin: 18px 0 8px; }
.wn-body p { color: var(--muted); font-size: 15px; margin-bottom: 10px; }
.wn-body ul { list-style: none; display: grid; gap: 12px; margin: 14px 0; }
.wn-body li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: #cdd6e4; line-height: 1.55; }
.wn-body li .ico { color: var(--ember-2); width: 18px; height: 18px; margin-top: 3px; }
.wn-body li b, .wn-body p b { color: var(--text); }
.wn-date { font-size: 13px; color: var(--dim); }

/* ---------------------------------------------------------------- reveal */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.rv.in { opacity: 1; transform: none; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv, .float, .phone, .browser { opacity: 1 !important; transform: none !important; transition: none !important; }
  .modal.open, .modal-box { animation: none; }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .nav-links a.opt { display: none; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .grid-all { grid-template-columns: repeat(3, 1fr); }
  .apps { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .flow::before { display: none; }
  .float.f1 { left: 8px; } .float.f2 { right: 8px; }
}
@media (max-width: 900px) {
  .section { padding: 84px 0; }
  .nav-links, .nav-cta .login, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: grid; }
  .mobile-menu.open { display: block; position: fixed; inset: 72px 0 auto; z-index: 49; padding: 12px 20px 24px; background: rgba(8, 13, 24, .98); border-bottom: 1px solid var(--line); }
  .mobile-menu a { display: block; padding: 13px 4px; font-size: 17px; font-weight: 500; border-bottom: 1px solid var(--line); }
  .mobile-menu .btn { margin-top: 18px; }
  .strip-inner { grid-template-columns: 1fr 1fr; }
  .strip-item:nth-child(3) { border-left: 0; }
  .strip-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stack-grid { grid-template-columns: 1fr; justify-items: center; }
  .stack-arrow { transform: rotate(90deg); }
  .row, .row.flip { grid-template-columns: 1fr; gap: 36px; }
  .row.flip .row-copy { order: 0; }
  .rows { gap: 96px; }
  .local { grid-template-columns: 1fr; gap: 36px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > div:first-child { grid-column: 1 / -1; }
  .float { display: none; }
  .phone { width: 190px; right: 2%; bottom: -10%; }
  .phone-screen { min-height: 360px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .section { padding: 72px 0; }
  .hero { padding-top: 52px; }
  .hero-ctas .btn { width: 100%; }
  .stage { padding: 0 12px; margin-top: 48px; }
  .browser-bar { height: 24px; } .browser-bar i { width: 8px; height: 8px; } .browser-bar span { display: none; }
  .phone { display: none; }
  .strip-inner { grid-template-columns: 1fr; }
  .strip-item + .strip-item { border-left: 0; border-top: 1px solid var(--line); }
  .stack-old { grid-template-columns: 1fr; width: 100%; }
  .stack-new { padding: 26px; }
  .flow { grid-template-columns: 1fr 1fr; }
  .grid-all { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile { padding: 16px 14px; }
  .tile h3 { font-size: 14.5px; }
  .tile p { font-size: 12.5px; }
  .tile .ti { width: 34px; height: 34px; margin-bottom: 10px; }
  .apps { grid-template-columns: 1fr; }
  .local-list { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .quote-card { padding: 40px 22px; }
  .modal-box { padding: 28px 20px; }
  .fields { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr 1fr; }
  .news { padding: 24px 20px; }
  .news form { flex-direction: column; }
  .news form .btn { width: 100%; }
  .cta-final { padding: 56px 20px; border-radius: 22px; }
  .ann { font-size: 13px; }
  .ann .ann-text, .ann .ann-d { display: none; }
  .ann .ann-m { display: inline; }
  .hide-sm { display: none; }
  .news input { flex: none; }
}
@media (max-width: 420px) {
  .flow { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
}

/* our work (portfolio): homepage and web design page, src/portfolioRender.js */
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 350px)); justify-content: center; gap: 22px; }
.work-card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; color: inherit; transition: transform .25s, border-color .25s, box-shadow .25s; }
.work-card:hover { transform: translateY(-4px); border-color: var(--ember); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .8); }
.work-shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); display: grid; place-items: center; border-bottom: 1px solid var(--line); }
.work-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s; }
.work-card:hover .work-shot img { transform: scale(1.04); }
.work-shot > span:first-child { font-weight: 700; font-size: 20px; color: var(--muted); }
.work-visit { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(6, 10, 19, .82); color: #fff; font-size: 13px; font-weight: 600; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
.work-visit .ico { width: 14px; height: 14px; }
.work-card:hover .work-visit, .work-card:focus-visible .work-visit { opacity: 1; transform: none; }
.work-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.work-cat { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ember-2); }
.work-body h3 { font-size: 20px; margin: 0; }
.work-body p { color: var(--muted); font-size: 14.5px; margin: 0; flex: 1; }
.work-url { font-size: 13px; color: var(--dim); margin-top: 6px; }

.work-ctas { margin-top: 32px; }
.work-wip { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #f5a623; color: #1a1205; font-size: 12.5px; font-weight: 700; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .6); }
.work-wip .ico { width: 14px; height: 14px; }

@media (max-width: 620px) { .work-visit { opacity: 1; transform: none; } }

/* "More" menu: the links that do not fit on this screen (instead of hiding them) */
.nav-more { position: relative; display: none; }
.nav-more-btn { display: flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 8px; font: inherit; font-size: 14.5px; font-weight: 500; color: var(--muted); background: none; border: 0; cursor: pointer; white-space: nowrap; }
.nav-more-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav-more:hover .nav-more-btn, .nav-more:focus-within .nav-more-btn { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav-more-menu { display: none; position: absolute; top: 100%; right: 0; min-width: 250px; padding: 8px; margin-top: 6px; background: rgba(10, 16, 30, .98); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); z-index: 60; }
.nav-more-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.nav-more:hover .nav-more-menu, .nav-more:focus-within .nav-more-menu { display: block; }
.nav-links .nav-more-menu a { display: none; padding: 10px 12px; }
@media (max-width: 1760px) { .nav-more { display: block; } .nav-links .nav-more-menu a.m2 { display: block; } }
@media (max-width: 1540px) { .nav-links .nav-more-menu a.m1 { display: block; } }
@media (max-width: 1200px) { .nav-more-btn { padding: 8px 8px; font-size: 14px; } }

/* Top menu: product names on two lines (name + what it is) */
.nav-links a.nl2 { display: flex; flex-direction: column; justify-content: center; line-height: 1.15; padding-top: 5px; padding-bottom: 5px; }
.nav-links a.nl2 b { font-weight: 600; font-size: 14.5px; color: var(--text); }
.nav-links a.nl2 small { font-size: 11.5px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.nav-links a.nl2:hover small { color: var(--text); }
