/* ==========================================================================
   FLINOVA — Shared stylesheet
   Design tokens live at the top. Every page on the site links this file,
   so changes here apply everywhere. Page-specific rules (if any) belong
   in a <style> block at the bottom of that page's HTML, never here.
   ========================================================================== */

:root {
  /* Brand — sampled from the Flinova logo */
  --blue: #0B3FD1;
  --blue-dark: #082C99;
  --blue-tint: #EAF0FF;
  --orange: #FA4506;
  --orange-dark: #D63A02;
  --orange-tint: #FFE9DF;

  /* Ink — deep navy-black used for contrast sections & footer.
     Not pure black on purpose: keeps a hint of blue, matches the brand. */
  --ink: #0A1023;
  --ink-soft: #131B36;
  --ink-line: #232C4D;

  /* Neutrals */
  --bg: #F6F7FC;
  --white: #FFFFFF;
  --text: #171E38;
  --text-soft: #5B6483;
  --text-faint: #8B93AD;
  --line: #E3E6F2;

  /* Type */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --max: 1180px;
  --radius: 20px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--text);
}

p { margin: 0; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
}

/* Focus visibility — accessibility floor */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Signature element — the growth arrow.
   Pulled from the logo's flag/arrow mark. Reused as an eyebrow marker,
   hero accent, and hover nudge — a small consistent motif tying every
   page back to "Future. Innovated."
   ========================================================================== */

.arrow-mark {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.eyebrow.on-dark { color: var(--orange); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translate(2px, -2px); }

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(250, 69, 6, 0.28);
}
.btn-primary:hover { background: var(--orange-dark); }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }

.btn-on-dark {
  background: transparent;
  color: var(--white);
  border-color: var(--ink-line);
}
.btn-on-dark:hover { border-color: var(--orange); color: var(--orange); }

.btn-sm { padding: 11px 20px; font-size: 14px; }

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 247, 252, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.nav-logo { display: flex; align-items: center; height: 32px; }
.nav-logo img { height: 32px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-soft);
  transition: color 0.15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); }

.nav-cta { display: flex; align-items: center; gap: 18px; }

.nav-login {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
  padding: 8px 4px;
  transition: color 0.15s ease;
}
.nav-login svg { width: 16px; height: 16px; }
.nav-login:hover { color: var(--blue); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: 0.2s;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-cta .btn-secondary { display: none; }
  .nav-login { display: none; }
}

/* Mobile menu panel */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 8px 20px 20px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 8px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}

/* ==========================================================================
   Section spacing helpers
   ========================================================================== */

.section { padding: 100px 0; }
.section-tight { padding: 72px 0; }
@media (max-width: 900px) {
  .section { padding: 64px 0; }
  .section-tight { padding: 48px 0; }
}

.section-dark { background: var(--ink); color: var(--white); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark .text-soft { color: #A7AFCB; }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
/* Reusable section heading size — was previously repeated as an inline
   style="font-size: clamp(24px,3vw,32px)" on 8 separate <h2> tags across
   the site (index, about, pricing, whitelabel). Same result, one place
   to change it from now on. Swap style="..." for class="section-h2". */
.section-h2 { font-size: clamp(24px, 3vw, 32px); }

.text-soft { color: var(--text-soft); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero { padding: 64px 0 100px; overflow: hidden; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  margin-bottom: 22px;
}
.hero h1 .hl { color: var(--blue); }

.hero-sub {
  font-size: 18px;
  color: var(--text-soft);
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-point {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-soft);
  font-weight: 500;
}
.hero-point .dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--blue-tint);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-point .dot svg { width: 11px; height: 11px; }

.hero-media { position: relative; }
.hero-media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -20px rgba(11, 22, 60, 0.25);
}
.hero-media-frame img { width: 100%; height: auto; }

.floating-chip {
  position: absolute;
  background: var(--white);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 16px 34px -10px rgba(11, 22, 60, 0.28);
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
}
.floating-chip .chip-icon {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--blue-tint);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.floating-chip .chip-icon svg { width: 17px; height: 17px; }
.floating-chip .chip-label { font-size: 11px; color: var(--text-faint); font-weight: 500; }
.floating-chip .chip-value { font-family: var(--font-display); font-size: 16px; font-weight: 700; }

.chip-revenue { top: -22px; right: -14px; }
.chip-visitors { bottom: 26px; left: -22px; }

@media (max-width: 900px) {
  .floating-chip { position: static; margin-top: -30px; margin-bottom: 14px; display: inline-flex; }
  .chip-visitors { margin-left: 12px; }
}
@media (max-width: 560px) {
  .floating-chip { display: flex; margin: 12px 0 0; }
}

/* ==========================================================================
   System / dashboard showcase section
   ========================================================================== */

.system-showcase {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--ink-line);
  margin-top: 20px;
}
.system-showcase img { width: 100%; height: auto; }

.callout-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}
@media (max-width: 900px) {
  .callout-row { grid-template-columns: repeat(2, 1fr); }
}
.callout {
  padding: 18px;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-sm);
  background: var(--ink-soft);
}
.callout .num {
  font-family: var(--font-display);
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.callout h4 { font-size: 15px; margin-bottom: 6px; color: var(--white); }
.callout p { font-size: 13.5px; color: #A7AFCB; }

/* ==========================================================================
   Feature cards (pain -> relief)
   ========================================================================== */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: 0 1px 2px rgba(11, 22, 60, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -16px rgba(11, 22, 60, 0.18);
}
.feature-icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--blue-tint);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-pain {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.feature-card h3 { font-size: 19px; margin-bottom: 10px; }
.feature-card p { font-size: 14.5px; color: var(--text-soft); }

/* ==========================================================================
   Three-column "Website / Dashboard / Partnership" band
   ========================================================================== */

.trio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink-line);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 900px) { .trio-grid { grid-template-columns: 1fr; } }
.trio-item { background: var(--ink); padding: 40px 34px; }
.trio-item .arrow-mark { margin-bottom: 22px; }
.trio-item h3 { font-size: 21px; margin-bottom: 12px; color: var(--white); }
.trio-item p { font-size: 14.5px; color: #A7AFCB; }
.trio-item .roadmap-note {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--text-faint);
  font-style: italic;
  padding-top: 14px;
  border-top: 1px dashed var(--ink-line);
}

/* ==========================================================================
   How it works — steps
   ========================================================================== */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-left: 0; }
.step .step-num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  color: var(--blue-tint);
  -webkit-text-stroke: 1.5px var(--blue);
  color: transparent;
  margin-bottom: 14px;
  display: block;
}
.step h3 { font-size: 18px; margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--text-soft); }

/* ==========================================================================
   Portfolio cards
   ========================================================================== */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 980px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .portfolio-grid { grid-template-columns: 1fr; } }

.portfolio-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(11, 22, 60, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.portfolio-card:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -18px rgba(11,22,60,0.2); }
.portfolio-image { aspect-ratio: 4/3; overflow: hidden; border-bottom: 1px solid var(--line); }
.portfolio-image img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-body { padding: 24px 26px 28px; }
.portfolio-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-tint);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.portfolio-card h3 { font-size: 19px; margin-bottom: 8px; }
.portfolio-card p { font-size: 14px; color: var(--text-soft); margin-bottom: 16px; }

/* Compact capability row — used only on the "Coming soon" portfolio
   card, one line of small muted text with dot separators. Text-only on
   purpose: no icons, so there's nothing that can render oversized. */
.portfolio-capabilities {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding-top: 14px;
  margin: 2px 0 18px;
  border-top: 1px solid var(--line);
}
.portfolio-capabilities span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-soft);
}
.portfolio-capabilities .sep { color: var(--line); font-weight: 400; }

.portfolio-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--orange);
}
.portfolio-link svg { width: 14px; height: 14px; transition: transform 0.15s ease; }
.portfolio-link:hover svg { transform: translate(2px, -2px); }

.portfolio-more {
  text-align: center;
  margin-top: 36px;
  font-size: 14px;
  color: var(--text-faint);
}

/* ==========================================================================
   Pricing
   ========================================================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 780px) { .pricing-grid { grid-template-columns: 1fr; } }

.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: 0 1px 2px rgba(11, 22, 60, 0.04);
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-color: var(--orange);
  box-shadow: 0 24px 50px -20px rgba(250, 69, 6, 0.25);
  position: relative;
}
.price-badge {
  position: absolute;
  top: -14px; left: 32px;
  background: var(--orange);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
}
.price-card h3 { font-size: 20px; margin-bottom: 6px; }
.price-card .price-desc { font-size: 14px; color: var(--text-soft); margin-bottom: 22px; }
.price-amount { font-family: var(--font-display); font-size: 42px; font-weight: 700; margin-bottom: 4px; }
.price-amount span { font-size: 15px; font-weight: 500; color: var(--text-faint); }
.price-card ul { list-style: none; padding: 0; margin: 26px 0 30px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.price-card li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--text-soft); }
.price-card li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--orange); }

.pricing-note {
  margin-top: 26px;
  padding: 18px 22px;
  background: var(--blue-tint);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--blue-dark);
}

/* ==========================================================================
   Whitelabel strip
   ========================================================================== */

.whitelabel-strip {
  border-radius: var(--radius);
  padding: 48px 44px;
  background: var(--ink-soft);
  border: 1px solid var(--ink-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.whitelabel-strip h3 { color: var(--white); font-size: 22px; margin-bottom: 8px; }
.whitelabel-strip p { color: #A7AFCB; font-size: 14.5px; max-width: 440px; }

/* ==========================================================================
   Final CTA
   ========================================================================== */

.final-cta {
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue) 0%, #1650E8 55%, var(--orange) 150%);
  padding: 64px 48px;
  text-align: center;
  color: var(--white);
}
.final-cta h2 { color: var(--white); font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 16px; }
.final-cta p { color: rgba(255,255,255,0.88); max-width: 520px; margin: 0 auto 32px; font-size: 15.5px; }
.final-cta .hero-ctas { justify-content: center; margin-bottom: 0; }
.final-cta .btn-primary { background: var(--white); color: var(--ink); box-shadow: none; }
.final-cta .btn-primary:hover { background: rgba(255,255,255,0.9); }
.final-cta .btn-on-dark { border-color: rgba(255,255,255,0.5); color: var(--white); }
.final-cta .btn-on-dark:hover { border-color: var(--white); }

@media (max-width: 640px) { .final-cta { padding: 44px 26px; } }

/* ==========================================================================
   Footer — Dotra-style: dark, columns + contact form, giant faded wordmark
   ========================================================================== */

.site-footer {
  background: var(--ink);
  color: #A7AFCB;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.4fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--ink-line);
}
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
}

.footer-brand img { height: 30px; margin-bottom: 18px; }
.footer-brand p { font-size: 14px; color: #838CAC; max-width: 260px; margin-bottom: 22px; }

.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--ink-line);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.footer-socials a:hover { border-color: var(--orange); color: var(--orange); }
.footer-socials svg { width: 15px; height: 15px; }

.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; color: #A7AFCB; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--orange); }

.footer-contact-info { display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }
.footer-contact-info a, .footer-contact-info span {
  font-size: 14px; color: #A7AFCB; display: flex; gap: 10px; align-items: flex-start;
}
.footer-contact-info svg { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; color: var(--orange); }
.footer-contact-info a:hover { color: var(--white); }

.footer-form { display: flex; flex-direction: column; gap: 12px; }
.footer-form input, .footer-form textarea {
  background: var(--ink-soft);
  border: 1px solid var(--ink-line);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  resize: none;
}
.footer-form input::placeholder, .footer-form textarea::placeholder { color: #6B7396; }
.footer-form button {
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.footer-form button:hover { background: var(--orange-dark); }

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 26px 0;
  font-size: 13px;
  color: #6B7396;
  position: relative;
  z-index: 2;
}
.footer-legal-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-legal-links a { color: #6B7396; }
.footer-legal-links a:hover { color: var(--orange); }

.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(110px, 23vw, 440px);
  line-height: 0.72;
  color: var(--ink-soft);
  text-align: center;
  user-select: none;
  pointer-events: none;
  margin: 18px 0 -0.16em;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  width: 100%;
}

/* ==========================================================================
   Small utility badges used across pages
   ========================================================================== */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--blue-tint);
  color: var(--blue);
}

/* ==========================================================================
   Inner-page hero (About, Portfolio, Pricing, Whitelabel, Contact, 404)
   ========================================================================== */

.page-hero {
  padding: 64px 0 56px;
  text-align: center;
  /* One background-image list, all layers on the real element itself
     (deliberately NOT a ::before pseudo-element — verified that some
     rendering engines fail to load external image url()s specifically
     on generated content, while the exact same url() on a real element
     works everywhere; this pattern is the maximally-compatible choice).

     Layer order back-to-front: page-specific illustration (from
     --page-hero-bg, "none" when unset) → blue glow → orange glow → dot
     grid. Pages with no modifier class (legal pages, 404) simply never
     set --page-hero-bg, so that layer is "none" and they render exactly
     as before — only the three ambient layers, unchanged. */
  background-color: var(--bg);
  background-image:
    var(--page-hero-bg, none),
    radial-gradient(circle at 12% 18%, rgba(11, 63, 209, 0.09), transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(250, 69, 6, 0.08), transparent 38%),
    radial-gradient(rgba(23, 30, 56, 0.09) 1px, transparent 1px);
  background-size: cover, auto, auto, 24px 24px;
  background-position: center, 0 0, 0 0, 0 0;
  background-repeat: no-repeat, no-repeat, no-repeat, repeat;
}
.page-hero .section-head { margin: 0 auto; }
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); }
.page-hero .hero-sub { margin: 18px auto 0; }

/* ==========================================================================
   Page header background VISUALS (illustration layer)
   One reusable mechanism (the --page-hero-bg layer above), six one-line
   page modifiers below — each just points that one layer at its own
   file. Each SVG (assets/page-headers/*.svg) is hand-built line-art:
   transparent canvas, low-opacity (12–35%) blue/orange strokes only,
   content kept out of the horizontal centre where text sits. No raster
   photos, so this never depends on a photo shoot and never balloons
   page weight (each file is 1–2KB). Add a page here by adding one more
   rule below and one SVG file — nothing else in this file changes.
   Decorative only: it's a CSS background, never exposed to assistive
   tech, so no aria-hidden markup is needed anywhere for this. */
.page-hero--about      { --page-hero-bg: url('assets/page-headers/about-header.svg'); }
.page-hero--templates  { --page-hero-bg: url('assets/page-headers/templates-header.svg'); }
.page-hero--portfolio  { --page-hero-bg: url('assets/page-headers/portfolio-header.svg'); }
.page-hero--pricing    { --page-hero-bg: url('assets/page-headers/pricing-header.svg'); }
.page-hero--whitelabel { --page-hero-bg: url('assets/page-headers/whitelabel-header.svg'); }
.page-hero--contact    { --page-hero-bg: url('assets/page-headers/contact-header.svg'); }

@media (max-width: 900px) {
  .page-hero { background-size: 160%, auto, auto, 24px 24px; }
}
@media (max-width: 640px) {
  /* Mobile: simplify rather than remove — smaller/centred crop keeps the
     texture without competing for space on a short, narrow viewport.
     (Sizing/positioning only, all on the real element as above — no
     opacity fade here, since that would dim the heading text too.) */
  .page-hero { background-size: 220%, auto, auto, 24px 24px; background-position: center 25%, 0 0, 0 0, 0 0; }
}

/* ==========================================================================
   Long-form legal / prose content
   ========================================================================== */

.prose-wrap { padding: 56px 0 100px; }
.prose {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px;
}
@media (max-width: 640px) { .prose { padding: 30px 24px; } }

.prose .updated { font-size: 13px; color: var(--text-faint); margin-bottom: 30px; }
.prose h2 { font-size: 21px; margin-top: 34px; margin-bottom: 12px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 16.5px; margin-top: 22px; margin-bottom: 8px; }
.prose p { font-size: 15px; color: var(--text-soft); margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 14px; padding-left: 22px; }
.prose li { font-size: 15px; color: var(--text-soft); margin-bottom: 8px; }
.prose a { color: var(--blue); font-weight: 600; }
.prose strong { color: var(--text); }

.legal-toc {
  max-width: 760px;
  margin: 0 auto 24px;
  background: var(--blue-tint);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
}
.legal-toc p { font-size: 13px; font-weight: 600; color: var(--blue-dark); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.03em; }
.legal-toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.legal-toc a { font-size: 13.5px; color: var(--blue-dark); font-weight: 500; }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */

.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 4px 24px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 600;
  font-size: 15.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--orange);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { font-size: 14.5px; color: var(--text-soft); padding-bottom: 20px; margin: 0; }

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-card {
  background: var(--ink);
  border-radius: var(--radius);
  padding: 38px 34px;
  color: var(--white);
  box-shadow: 0 30px 60px -30px rgba(10, 16, 35, 0.5);
}
.contact-info-card h3 { color: var(--white); font-size: 19px; margin-bottom: 20px; }
.contact-info-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 28px; }
.contact-info-list a, .contact-info-list span {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 14.5px; color: #C7CCE3;
}
.contact-info-list a:hover { color: var(--white); }
.contact-info-list svg { width: 19px; height: 19px; margin-top: 2px; flex-shrink: 0; color: var(--orange); }
.contact-info-list strong { display: block; color: var(--white); font-size: 13px; margin-bottom: 2px; }

.map-frame {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--ink-line);
  aspect-ratio: 16/11;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 36px;
  box-shadow: 0 1px 2px rgba(11, 22, 60, 0.04);
}
@media (max-width: 640px) { .contact-form-card, .contact-info-card { padding: 28px 24px; } }
.contact-form-card h3 { font-size: 19px; margin-bottom: 6px; }
.contact-form-card .text-soft { font-size: 14px; margin-bottom: 26px; display: block; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 600; color: var(--text); }
.field input, .field select, .field textarea {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--text);
  background: var(--bg);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 110px; }

/* ==========================================================================
   About page — values grid & story
   ========================================================================== */

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 780px) { .value-grid { grid-template-columns: 1fr; } }
.value-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  background: var(--white);
  box-shadow: 0 1px 2px rgba(11, 22, 60, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.value-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -14px rgba(11, 22, 60, 0.16);
}
.value-card h3 { font-size: 17.5px; margin-bottom: 10px; }
.value-card p { font-size: 14.5px; color: var(--text-soft); }

.story-block { max-width: 700px; margin: 0 auto; }
.story-block p { font-size: 16px; line-height: 1.75; color: var(--text-soft); margin-bottom: 26px; }
.story-block p strong { color: var(--text); }
.story-block p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Whitelabel page — how it works numbered list & benefit grid
   ========================================================================== */

.wl-benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 700px) { .wl-benefits { grid-template-columns: 1fr; } }

/* ==========================================================================
   404 page
   ========================================================================== */

.not-found {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 28px;
}
.not-found .code {
  font-family: var(--font-display);
  font-size: clamp(70px, 12vw, 140px);
  font-weight: 700;
  color: var(--blue-tint);
  -webkit-text-stroke: 2px var(--blue);
  color: transparent;
  line-height: 1;
  margin-bottom: 10px;
}
.not-found h1 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 12px; }
.not-found p { color: var(--text-soft); max-width: 420px; margin-bottom: 30px; }
.not-found .hero-ctas { justify-content: center; }

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */

.breadcrumbs {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-faint);
  padding: 22px 0 0;
}
.breadcrumbs a { color: var(--text-faint); }
.breadcrumbs a:hover { color: var(--blue); }
.breadcrumbs .sep { opacity: 0.6; }
.breadcrumbs .current { color: var(--text-soft); font-weight: 500; }
/* ==========================================================================
   Blog
   ========================================================================== */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 40px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.blog-card .portfolio-tag { margin-bottom: 0; }
.blog-card h3 { font-size: 20px; line-height: 1.35; }
.blog-card p { font-size: 14.5px; color: var(--text-soft); line-height: 1.65; }
.blog-meta { font-size: 12.5px; color: var(--text-faint); letter-spacing: 0.02em; }

.post-body { max-width: 720px; margin: 0 auto; }
.post-body h2 { font-size: clamp(21px, 2.6vw, 26px); margin: 44px 0 16px; }
.post-body h3 { font-size: 18px; margin: 30px 0 12px; }
.post-body p { font-size: 16px; line-height: 1.8; color: var(--text-soft); margin-bottom: 22px; }
.post-body p strong { color: var(--text); }
.post-body ul { margin: 0 0 26px; padding-left: 22px; }
.post-body li { font-size: 16px; line-height: 1.8; color: var(--text-soft); margin-bottom: 10px; }
.post-body a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.post-meta { text-align: center; font-size: 13px; color: var(--text-faint); margin: 14px 0 0; }
.post-cta {
  max-width: 720px; margin: 48px auto 0;
  background: var(--blue-tint);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
}
.post-cta h3 { margin-bottom: 8px; }
.post-cta p { color: var(--text-soft); margin-bottom: 18px; }

/* ==========================================================================
   Side Hustle Kits
   ========================================================================== */

.hustle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.hustle-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hustle-card h3 { font-size: 19px; line-height: 1.35; }
.hustle-card p { font-size: 14.5px; color: var(--text-soft); line-height: 1.6; }
.hustle-price-row {
  display: flex; gap: 10px; flex-wrap: wrap;
  font-size: 13px; color: var(--text-faint); margin-top: 4px;
}
.hustle-price-row span { background: var(--blue-tint); color: var(--blue-dark); padding: 4px 10px; border-radius: 999px; font-weight: 600; }

.buy-box {
  max-width: 720px; margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  background: var(--white);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 20px;
}
.buy-box .buy-col h3 { font-size: 18px; margin-bottom: 8px; }
.buy-box .buy-col p { font-size: 14px; color: var(--text-soft); line-height: 1.6; margin-bottom: 14px; }
.buy-box .price-tag { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.buy-box .price-note { font-size: 12.5px; color: var(--text-faint); margin-bottom: 14px; }
.buy-status { font-size: 13.5px; color: var(--text-soft); margin-top: 10px; min-height: 18px; }
.buy-divider { width: 1px; background: var(--line); }
@media (max-width: 640px) { .buy-divider { display: none; } }

/* ==========================================================================
   Side Hustle Kit — shop grid + product page (v2)
   ========================================================================== */

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
@media (max-width: 900px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .shop-grid { grid-template-columns: 1fr; } }

.shop-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.shop-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(10,16,35,0.08); }
.shop-card-image { aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg); display: block; }
.shop-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.shop-card-tag {
  align-self: flex-start;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
  color: var(--blue); background: var(--blue-tint); padding: 4px 10px; border-radius: 999px;
}
.shop-card h3 { font-size: 18px; line-height: 1.35; }
.shop-card h3 a { color: var(--text); }
.shop-card h3 a:hover { color: var(--blue); }
.shop-card p { font-size: 14px; color: var(--text-soft); line-height: 1.6; flex: 1; }
.shop-card-price-row { display: flex; align-items: baseline; gap: 8px; font-size: 13px; color: var(--text-faint); }
.shop-card-price-row strong { font-family: var(--font-display); font-size: 17px; color: var(--ink); font-weight: 700; }
.shop-card-cta {
  margin-top: 4px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ink); color: var(--white); font-weight: 700; font-size: 14px;
  padding: 12px 16px; border-radius: var(--radius-sm); text-align: center;
}
.shop-card-cta:hover { background: var(--blue); }

/* Product detail page */
.product-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 44px;
  align-items: start;
  margin-top: 8px;
}
@media (max-width: 860px) { .product-hero { grid-template-columns: 1fr; } }
.product-hero-image { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg); }
.product-hero-image img { width: 100%; display: block; }
.product-hero-info h1 { font-size: clamp(24px, 3.4vw, 32px); margin-bottom: 10px; }
.product-hero-info .hero-sub { margin: 0 0 20px; text-align: left; }
.product-price-box {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  padding: 22px; margin-bottom: 16px;
}
.product-price-box .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; }
.product-price-box .row + .row { border-top: 1px dashed var(--line); }
.product-price-box .label { font-size: 14.5px; font-weight: 600; color: var(--text); }
.product-price-box .label small { display: block; font-weight: 400; font-size: 12.5px; color: var(--text-faint); margin-top: 2px; }
.product-price-box .amount { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.product-price-box .btn { margin-top: 6px; width: 100%; text-align: center; }
.product-highlights { list-style: none; padding: 0; margin: 0 0 6px; display: flex; flex-direction: column; gap: 10px; }
.product-highlights li { display: flex; gap: 10px; font-size: 14.5px; color: var(--text-soft); line-height: 1.5; }
.product-highlights li .ico { flex-shrink: 0; width: 22px; height: 22px; border-radius: 999px; background: var(--orange-tint); display: flex; align-items: center; justify-content: center; }
.product-highlights li .ico svg { width: 12px; height: 12px; }

.product-nav {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 16px 0; margin: 40px 0;
}
.product-nav a { font-size: 14px; font-weight: 600; color: var(--text-soft); display: flex; align-items: center; gap: 8px; }
.product-nav a:hover { color: var(--blue); }
.product-nav .to-all { color: var(--blue); }

/* ==========================================================================\n+   Side Hustle Kit reliability pass\n+   These rules intentionally come last. Older copies of this stylesheet were\n+   cached by some browsers without the shop/product rules above, which made\n+   the listing pages fall back to one wide column and left the product page\n+   without its compact editorial layout.\n+   ========================================================================== */

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.shop-card { min-width: 0; }
.shop-card-image { aspect-ratio: 3 / 2; }

/* The product introduction is deliberately constrained so the visual, copy,
   highlights and purchase options read as one balanced unit. */
.product-hero {
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: clamp(28px, 4vw, 48px);
  margin-top: 0;
}

.product-hero-info { min-width: 0; }
.product-hero-info h1 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.12;
  margin-bottom: 14px;
}
.product-hero-info .hero-sub {
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 22px;
}
.product-highlights { gap: 11px; margin-bottom: 18px; }
.product-highlights li { font-size: 14.5px; line-height: 1.55; }
.product-price-box { padding: 20px; margin-bottom: 0; }
.product-price-box .row { padding: 12px 0; }
.product-price-box .amount { font-size: 22px; }

/* Keep the long-form content comfortably readable without becoming poster-like. */
.post-body { max-width: 760px; }
.post-body h2 {
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
  margin: 40px 0 14px;
}
.post-body h3 { font-size: 18px; line-height: 1.35; margin: 28px 0 10px; }
.post-body p, .post-body li { font-size: 15px; line-height: 1.7; }
.post-body p { margin-bottom: 18px; }
.post-body li { margin-bottom: 8px; }

@media (max-width: 900px) {
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .product-hero { grid-template-columns: 1fr; }
  .product-hero-image { max-width: 720px; }
}

@media (max-width: 620px) {
  .shop-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 28px; }
  .shop-card-body { padding: 20px; }
  .product-hero-info h1 { font-size: clamp(27px, 8vw, 34px); }
  .product-hero-info .hero-sub { font-size: 15px; }
  .product-price-box { padding: 18px; }
  .product-price-box .row { align-items: flex-start; }
  .product-nav { align-items: flex-start; flex-direction: column; gap: 14px; margin: 32px 0; }
  .post-body h2 { margin-top: 34px; }
}

/* ==========================================================================
   Side Hustle Kit — buyer details modal + success confirmation
   ========================================================================== */

.lc-backdrop {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(10, 16, 35, 0.55);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.lc-modal {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 400px; width: 100%;
  padding: 32px 28px;
  position: relative;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.4);
}
.lc-modal h3 { font-size: 19px; margin-bottom: 6px; }
.lc-modal .lc-sub { font-size: 13.5px; color: var(--text-soft); margin-bottom: 20px; }
.lc-modal .field { margin-bottom: 14px; }
.lc-modal .field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.lc-modal .field input {
  width: 100%; box-sizing: border-box;
  border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; font-size: 14.5px; font-family: var(--font-body);
  color: var(--text); background: var(--bg);
}
.lc-modal .field input:focus { outline: 2px solid var(--blue); outline-offset: 1px; background: var(--white); }
.lc-modal .lc-close {
  position: absolute; top: 14px; right: 14px;
  background: none; border: none; font-size: 22px; line-height: 1;
  cursor: pointer; color: var(--text-faint);
}
.lc-modal .lc-close:hover { color: var(--text); }
.lc-modal .lc-error { font-size: 13px; color: var(--orange-dark); margin: -4px 0 12px; min-height: 16px; }
.lc-modal .lc-price-note { font-size: 12.5px; color: var(--text-faint); margin-top: -6px; margin-bottom: 18px; }
/* Honeypot field — invisible to real users, tempting to simple bots that
   auto-fill every input on a page; if it's ever non-empty we silently
   drop the submission in JS. */
.lc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.lc-success {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--blue-tint);
  padding: 22px 24px;
  margin-top: 14px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.lc-success .ico {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 999px;
  background: var(--white); display: flex; align-items: center; justify-content: center;
}
.lc-success .ico svg { width: 18px; height: 18px; }
.lc-success h4 { font-size: 15.5px; margin-bottom: 4px; color: var(--blue-dark); }
.lc-success p { font-size: 13.5px; color: var(--text-soft); }
.lc-success a { color: var(--blue); font-weight: 600; }
