/* =========================================================
   SELLTRIX — styles.css
   Build | Scale | Succeed
   Dark agency landing page. No build step, no dependencies.
   ---------------------------------------------------------
   1. Tokens          6. Services + fulfilment
   2. Base + layout   7. Work / Process
   3. Buttons         8. Testimonials / FAQ
   4. Nav             9. Contact / Footer
   5. Hero           10. Motion + responsive
   ========================================================= */

/* ============ 1. TOKENS ============ */
:root {
  /* brand: orange + white on black, straight from the Selltrix logo */
  --accent:      #ff7a1a;
  --accent-soft: #ff9a4d;
  --accent-lite: #ffb47a;
  --accent-deep: #e8590c;

  --bg:          #050506;
  --bg-2:        #0a0a0c;
  --surface:     rgba(255, 255, 255, 0.035);
  --surface-2:   rgba(255, 255, 255, 0.06);
  --border:      rgba(255, 255, 255, 0.09);
  --border-soft: rgba(255, 255, 255, 0.06);

  --text:        #f2f3f5;
  --text-dim:    #b8bac0;
  --muted:       #8a8d96;

  --grad:     linear-gradient(115deg, #ffb47a 0%, #ff7a1a 45%, #e8590c 100%);
  --grad-btn: linear-gradient(135deg, #ff8c33 0%, #ff7a1a 55%, #e8590c 100%);

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --r-xl: 28px;

  --shadow:    0 18px 50px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 30px 90px rgba(0, 0, 0, 0.7);
  --glow:      0 0 0 1px rgba(255, 122, 26, 0.4), 0 14px 44px rgba(255, 122, 26, 0.22);

  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ============ 2. BASE + LAYOUT ============ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: rgba(255, 122, 26, 0.45); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 200;
  background: var(--accent); color: #fff; padding: 10px 18px; border-radius: 8px;
}
.skip-link:focus { left: 16px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }

.section { padding: 110px 0; position: relative; }

.section-head { max-width: 680px; margin: 0 0 56px; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); margin: 14px 0 16px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---- animated background ---- */
.bg-field { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--bg); }

/* kept deliberately dim — the brand is orange on black, not orange on brown */
.orb { position: absolute; border-radius: 50%; filter: blur(130px); }
.orb-1 { width: 560px; height: 560px; top: -240px; left: -170px; background: #9a3412; opacity: 0.2;  animation: drift 22s var(--ease) infinite alternate; }
.orb-2 { width: 480px; height: 480px; top: 22%; right: -210px;   background: #7c2d12; opacity: 0.18; animation: drift 26s var(--ease) infinite alternate-reverse; }
.orb-3 { width: 420px; height: 420px; bottom: 4%; left: 32%;     background: #ff7a1a; opacity: 0.06; animation: drift 30s var(--ease) infinite alternate; }

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(70px, 60px, 0) scale(1.14); }
}

.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 78%);
}

/* ---- glass ---- */
.glass-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

/* ============ 3. BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head);
  font-weight: 600; font-size: 0.94rem;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--grad-btn); color: #fff; box-shadow: 0 10px 30px rgba(255, 122, 26, 0.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 42px rgba(255, 122, 26, 0.42); }
.btn-primary svg { transition: transform 0.25s var(--ease); }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-ghost { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(255, 255, 255, 0.22); transform: translateY(-2px); }

/* ============ 4. NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0;
  transition: padding 0.3s var(--ease), background 0.3s var(--ease),
              border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 9px 0;
  background: rgba(5, 5, 6, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border-soft);
}

.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

/* keep the logo and toggle painted above the mobile drop-down panel */
.brand { display: inline-flex; align-items: center; gap: 11px; position: relative; z-index: 3; }
.brand-mark { display: grid; place-items: center; flex: none; }
/* the mark is taller than it is wide — size by height and let width follow */
.brand-mark img { height: 38px; width: auto; }

.brand-name {
  font-family: var(--font-head); font-weight: 700; font-size: 1.24rem;
  letter-spacing: 0.02em;
}
.brand-name .x { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links > a:not(.btn) {
  font-size: 0.94rem; color: var(--text-dim); position: relative; padding: 4px 0;
  transition: color 0.2s var(--ease);
}
.nav-links > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--grad); border-radius: 2px;
  transition: width 0.28s var(--ease);
}
.nav-links > a:not(.btn):hover,
.nav-links > a.active { color: var(--text); }
.nav-links > a:not(.btn):hover::after,
.nav-links > a.active::after { width: 100%; }
.nav-cta { margin-left: 6px; }

.nav-toggle {
  display: none;
  position: relative; z-index: 3;
  width: 44px; height: 44px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; cursor: pointer;
  padding: 0; gap: 5px;
  /* place-content keeps the rows from stretching, so the X transforms land exactly */
  place-items: center; place-content: center;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- tagline lockup: Build | Scale | Succeed ---- */
.lockup {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-family: var(--font-head); font-weight: 500;
  font-size: 0.82rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--text-dim);
}
.lockup i { font-style: normal; color: var(--accent); font-weight: 700; }

/* ============ 5. HERO ============ */
.hero { padding: 190px 0 110px; position: relative; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  gap: 54px;
  align-items: center;
}

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px 7px 12px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.84rem; color: var(--text-dim);
  margin-bottom: 26px;
}
.pill .dot, .chip .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.17);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.15); }
  50%      { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0.04); }
}

.hero h1 { font-size: clamp(2.35rem, 4.5vw, 3.55rem); margin-bottom: 20px; }

.hero .lockup { margin-bottom: 22px; }

.lede { color: var(--text-dim); font-size: clamp(1.02rem, 1.5vw, 1.16rem); max-width: 560px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 36px 0 0; }

.hero-trust {
  display: flex; gap: 44px; flex-wrap: wrap;
  margin-top: 52px; padding-top: 30px;
  border-top: 1px solid var(--border-soft);
}
.hero-trust li { display: flex; flex-direction: column; }
.hero-trust strong { font-family: var(--font-head); font-size: 1.6rem; }
.hero-trust span { color: var(--muted); font-size: 0.86rem; }

/* ---- hero visual ---- */
.hero-visual { position: relative; min-height: 420px; }

.card-main { padding: 24px; }
.card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.72rem; font-weight: 600;
  padding: 4px 11px; border-radius: 999px;
  background: rgba(52, 211, 153, 0.12); color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.25);
}
.card-title { font-size: 0.9rem; color: var(--text-dim); }

/* the hero card is a design mock, not a real account — label it as such */
.chip-example {
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  border-color: var(--border);
}

/* daily sales bars — one element per day, staggered by inline --i */
.bars { display: flex; align-items: flex-end; gap: 4px; height: 152px; }
.bar {
  flex: 1; min-width: 0; height: var(--h);
  background: linear-gradient(180deg, rgba(255, 122, 26, 0.95), rgba(255, 122, 26, 0.22));
  border-radius: 3px 3px 1px 1px;
  transform-origin: bottom;
  animation: grow 0.9s var(--ease) backwards;
  animation-delay: calc(var(--i, 0) * 0.022s);
}
.bar.today { background: linear-gradient(180deg, #ffffff, rgba(255, 255, 255, 0.28)); }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.card-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 22px; padding-top: 18px;
  border-top: 1px solid var(--border-soft);
  font-size: 0.88rem; color: var(--muted);
}
.card-foot .up { color: #34d399; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }

/* profit-first dashboard row under the hero chart */
.card-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin-top: 22px; padding-top: 18px;
  border-top: 1px solid var(--border-soft);
}
.card-metrics div { display: flex; flex-direction: column; }
.card-metrics span { color: var(--muted); font-size: 0.72rem; letter-spacing: 0.04em; }
.card-metrics strong { font-family: var(--font-head); font-size: 1.05rem; }
.card-metrics .up { color: #34d399; }


/* ============ 6. SERVICES ============ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.card {
  position: relative;
  padding: 30px 28px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 122, 26, 0.14), transparent 62%);
  opacity: 0; transition: opacity 0.35s var(--ease); pointer-events: none;
}
.card:hover { transform: translateY(-6px); border-color: rgba(255, 122, 26, 0.45); background: var(--surface-2); }
.card:hover::before { opacity: 1; }

.card-icon {
  width: 50px; height: 50px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 20px;
  border: 1px solid var(--border);
}
.card-icon svg { width: 24px; height: 24px; }
.i-orange { background: rgba(255, 122, 26, 0.14); color: var(--accent-soft); }
.i-amber  { background: rgba(255, 180, 122, 0.11); color: var(--accent-lite); }
.i-ember  { background: rgba(232, 89, 12, 0.16); color: #fb7d2b; }

.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card > p { color: var(--muted); font-size: 0.95rem; }

.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.tags li {
  font-size: 0.74rem; padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-soft);
  color: var(--text-dim);
}

/* ---- operations ---- */
.ops-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: start; }

.ops-copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin: 14px 0 16px; }
.ops-copy > p { color: var(--muted); margin-bottom: 14px; }

.ops-list { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.ops-list li {
  position: relative; padding-left: 27px;
  color: var(--muted); font-size: 0.94rem;
}
.ops-list li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 15px; height: 9px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
  border-radius: 1px;
}
.ops-list strong {
  display: block; font-family: var(--font-head); font-size: 0.99rem;
  color: var(--text); margin-bottom: 3px;
}

.ops-card { padding: 30px 28px; }
.ops-checklist { display: flex; flex-direction: column; gap: 15px; margin-top: 24px; }
.ops-checklist li {
  position: relative; padding-left: 29px;
  color: var(--text-dim); font-size: 0.94rem;
}
.ops-checklist li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 16px; height: 9px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
  border-radius: 1px;
}
.ops-note {
  margin-top: 24px; padding-top: 18px;
  border-top: 1px solid var(--border-soft);
  color: var(--muted); font-size: 0.84rem;
}

/* ============ 7. WORK / PROCESS ============ */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

.work-card {
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--surface);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.work-card:hover { transform: translateY(-7px); border-color: rgba(255, 122, 26, 0.45); }

.work-thumb { position: relative; overflow: hidden; }

/* Real dashboard screenshots. These span the full grid width — at half width the
   figures in them are too small to read, which defeats the purpose of showing them. */
.work-card.is-wide { grid-column: 1 / -1; }

/* screenshots sit inside a window frame so a bright dashboard reads as a deliberate
   element rather than a white rectangle pasted onto a dark page */
.work-shot { background: #0f1015; }
.shot-chrome {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 16px;
  background: #16171d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.shot-chrome i {
  width: 10px; height: 10px; border-radius: 50%; flex: none;
  background: rgba(255, 255, 255, 0.17);
}
.shot-label {
  margin-left: 10px;
  font-family: var(--font-head);
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
}
.shot-scroll { background: #fff; }
.shot-scroll img { width: 100%; height: auto; display: block; }

.work-caption {
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid var(--border-soft);
  color: var(--muted); font-size: 0.78rem; line-height: 1.55;
}

.work-body { padding: 26px 28px 30px; }
.work-tags { display: flex; gap: 8px; margin-bottom: 14px; }
.work-tags span {
  font-size: 0.72rem; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--accent-soft); font-weight: 600;
}
.work-tags span + span::before { content: "· "; color: var(--muted); }
.work-body h3 { font-size: 1.4rem; margin-bottom: 10px; }
.work-body > p { color: var(--muted); font-size: 0.95rem; }

/* ---- process ---- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.step {
  position: relative;
  padding: 30px 24px 26px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.step::after {
  content: ""; position: absolute; top: 50px; right: -20px;
  width: 20px; height: 1px; background: var(--border);
}
.step:last-child::after { display: none; }
.step:hover { border-color: rgba(255, 122, 26, 0.4); transform: translateY(-5px); }

.step-num {
  display: inline-block;
  font-family: var(--font-head); font-weight: 700; font-size: 1.9rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 12px;
}
.step h3 { font-size: 1.18rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.92rem; }
.step-meta {
  display: inline-block; margin-top: 18px;
  font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
  padding: 4px 11px; border-radius: 999px; border: 1px solid var(--border-soft);
}

/* ============ 8. FAQ ============ */
.faq { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.faq-item.open { border-color: rgba(255, 122, 26, 0.45); background: var(--surface-2); }

.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 24px;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: 1.03rem;
  color: var(--text); text-align: left;
}
.faq-icon { position: relative; width: 15px; height: 15px; flex: none; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; background: var(--accent); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.faq-icon::before { top: 6.5px; left: 0; width: 15px; height: 2px; }
.faq-icon::after  { left: 6.5px; top: 0; width: 2px; height: 15px; }
.faq-item.open .faq-icon::after { transform: rotate(90deg); opacity: 0; }

.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-a p { padding: 0 24px 22px; color: var(--muted); font-size: 0.96rem; }

/* ============ 9. CONTACT / FOOTER ============ */
.contact-section { padding-bottom: 120px; }

.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 60px; align-items: start; }

.contact-copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin: 14px 0 16px; }
.contact-copy > p { color: var(--muted); }

.contact-list { display: flex; flex-direction: column; gap: 16px; margin-top: 36px; }
.contact-list li { display: flex; align-items: center; gap: 13px; color: var(--text-dim); font-size: 0.96rem; }
.contact-list svg { width: 19px; height: 19px; flex: none; color: var(--accent); }
.contact-list a:hover { color: var(--accent-soft); }

.next-title {
  font-size: 0.79rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text); margin: 40px 0 18px;
  padding-top: 28px; border-top: 1px solid var(--border-soft);
}
.next-steps { display: flex; flex-direction: column; gap: 14px; }
.next-steps li {
  display: flex; align-items: flex-start; gap: 13px;
  color: var(--muted); font-size: 0.93rem;
}
.next-steps span {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 122, 26, 0.14);
  border: 1px solid rgba(255, 122, 26, 0.35);
  color: var(--accent-soft);
  font-family: var(--font-head); font-weight: 700; font-size: 0.76rem;
  margin-top: 2px;
}

.contact-form { padding: 34px; display: flex; flex-direction: column; gap: 18px; }

.field { display: flex; flex-direction: column; gap: 7px; flex: 1; }
.field-row { display: flex; gap: 16px; }
.field label { font-size: 0.86rem; color: var(--text-dim); font-weight: 500; }
.field label .opt { color: var(--muted); font-weight: 400; }

.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
  font-family: var(--font-body); font-size: 0.95rem;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field textarea { resize: vertical; min-height: 108px; }
.field input::placeholder, .field textarea::placeholder { color: #6c6f78; }

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(255, 122, 26, 0.16);
}
.field select { appearance: none; cursor: pointer; }
.field select option { background: #121215; color: var(--text); }

.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #f87171; }
.err { color: #f87171; font-size: 0.8rem; min-height: 0; }

.form-note { color: var(--muted); font-size: 0.82rem; text-align: center; }

.form-success {
  display: flex; align-items: center; gap: 11px;
  padding: 14px 17px; border-radius: var(--r-sm);
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: #34d399; font-size: 0.91rem;
}
.form-success[hidden] { display: none; }

.form-error {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 14px 17px; border-radius: var(--r-sm);
  background: rgba(255, 122, 26, 0.1);
  border: 1px solid rgba(255, 122, 26, 0.35);
  color: var(--text-dim); font-size: 0.88rem; line-height: 1.55;
}
.form-error[hidden] { display: none; }
.form-error svg { flex: none; color: var(--accent); margin-top: 1px; }
.form-error a { color: var(--accent-lite); }

/* honeypot — off-screen rather than display:none, which some bots skip */
.hp {
  position: absolute !important;
  left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}

/* ---- footer ---- */
.footer {
  border-top: 1px solid var(--border-soft);
  padding: 66px 0 30px;
  background: rgba(255, 255, 255, 0.014);
}
.footer-inner {
  display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 46px;
}
.footer-logo { display: inline-block; }
.footer-logo img { width: 230px; max-width: 100%; height: auto; }
.footer-brand p { color: var(--muted); font-size: 0.92rem; margin-top: 20px; max-width: 320px; }

.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center;
  border: 1px solid var(--border); color: var(--muted);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.socials a:hover { color: var(--text); border-color: var(--accent); transform: translateY(-3px); }

.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col h4 {
  font-size: 0.79rem; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--text); margin-bottom: 6px;
}
.footer-col a { color: var(--muted); font-size: 0.92rem; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--accent-soft); }

/* standing compliance disclaimer — keep it legible, not hidden */
.disclaimer {
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.7;
  padding: 24px 0 6px;
  border-top: 1px solid var(--border-soft);
  max-width: 940px;
}
.disclaimer strong { color: var(--text-dim); font-weight: 600; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
  padding-top: 26px;
  border-top: 1px solid var(--border-soft);
  color: var(--muted); font-size: 0.86rem;
}
.footer-legal { display: flex; gap: 22px; margin-right: 62px; }
.footer-legal a:hover { color: var(--text); }

/* ---- legal pages (privacy, terms) ---- */
.legal { padding: 160px 0 90px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.7rem); margin-bottom: 12px; }
.legal .updated {
  color: var(--muted); font-size: 0.86rem;
  margin-bottom: 36px; padding-bottom: 26px;
  border-bottom: 1px solid var(--border-soft);
}
.legal h2 {
  font-size: 1.12rem; margin: 36px 0 12px;
  padding-top: 4px;
}
.legal p { color: var(--text-dim); font-size: 0.97rem; margin-bottom: 14px; }
.legal ul { display: flex; flex-direction: column; gap: 10px; margin: 0 0 18px; }
.legal li { position: relative; padding-left: 20px; color: var(--text-dim); font-size: 0.97rem; }
.legal li::before {
  content: ""; position: absolute; left: 2px; top: 9px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.legal a { color: var(--accent-soft); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--accent); }
.legal .note {
  margin-top: 40px; padding: 18px 22px;
  border: 1px dashed rgba(255, 255, 255, 0.22); border-radius: var(--r);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted); font-size: 0.88rem;
}
.legal .back { display: inline-flex; align-items: center; gap: 8px; margin-top: 44px; }

/* ---- back to top ---- */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad-btn); color: #fff;
  border: none; cursor: pointer;
  box-shadow: 0 10px 30px rgba(255, 122, 26, 0.4);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-3px); }

/* ============ 10. MOTION + RESPONSIVE ============ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.09s; }
.reveal[data-delay="2"] { transition-delay: 0.18s; }
.reveal[data-delay="3"] { transition-delay: 0.27s; }
.reveal[data-delay="4"] { transition-delay: 0.36s; }

@media (max-width: 1000px) {
  .hero { padding: 150px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 460px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .ops-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: grid; }
  .nav-links {
    position: fixed; inset: 0 0 auto; top: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 96px 24px 32px;
    background: rgba(7, 7, 9, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    transition: transform 0.4s var(--ease);
    max-height: 100vh; overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links > a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--border-soft); font-size: 1.05rem; }
  .nav-links > a:not(.btn)::after { display: none; }
  .nav-cta { margin: 18px 0 0; }
}

@media (max-width: 720px) {
  .section { padding: 78px 0; }
  .section-head { margin-bottom: 40px; }
  .cards, .work-grid, .process { grid-template-columns: 1fr; }

  /* a full-width dashboard shrunk to phone width is unreadable, so render it at a
     legible height and let the reader swipe across it instead */
  /* the window frame stays put; only the screenshot inside it pans */
  .shot-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .shot-scroll img { height: 240px; width: auto; max-width: none; }
  .hero-trust { gap: 28px; }
  .hero-trust li { min-width: 92px; }
  .field-row { flex-direction: column; gap: 18px; }
  .contact-form { padding: 26px 22px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
  .footer-legal { margin-right: 0; }
  .to-top { right: 16px; bottom: 16px; }
}

@media (max-width: 420px) {
  .container { padding: 0 18px; }
  .hero-actions .btn { width: 100%; }
  .lockup { gap: 9px; letter-spacing: 0.18em; font-size: 0.74rem; }
}

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

/* ============ 13. HERO PROOF CARD ============ */
/* Real dashboard screenshot in the hero, with the earnings-claim disclosure that
   16 CFR 437.4(b) requires to sit in immediate conjunction with the figure.
   The disclosure is part of the card on purpose — it must not be collapsed,
   hidden behind a toggle, or moved out of the reading flow. */
.card-proof {
  margin: 0;
  padding: 0;
  overflow: hidden;
  animation: none;            /* no float — this card holds text people must read */
}

.card-proof .shot-scroll { background: #fff; }
.card-proof .shot-scroll img { width: 100%; height: auto; display: block; }

.claim-disclosure {
  padding: 18px 20px 9px;
  border-top: 1px solid var(--border-soft);
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}
.claim-disclosure p { margin: 0 0 10px; }
.claim-disclosure strong { color: var(--text-dim); font-weight: 600; }



/* the dashboard text is small; let it pan rather than shrink on narrow screens */
@media (max-width: 720px) {
  .card-proof .shot-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .card-proof .shot-scroll img { height: 190px; width: auto; max-width: none; }
}

/* ---- form field help ---- */
.field-help {
  margin: 8px 0 0;
  font-size: 0.79rem;
  line-height: 1.55;
  color: var(--muted);
}
.field-help strong { color: var(--text-dim); font-weight: 600; }

/* ---- footer entity line ---- */
.footer-entity {
  margin: 0 0 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--muted);
}
.footer-entity strong { color: var(--text-dim); font-weight: 600; }
.footer-entity a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--border); }
.footer-entity a:hover { color: var(--accent-lite); border-bottom-color: var(--accent); }
