/* ============================================================
   NOTESERV — Production Stylesheet (Light, Tightened)
   Compact Institutional Precision
   ============================================================ */

@import url('variables.css');
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,500&display=swap');


/* ---- RESET ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
body { font-family: var(--font-primary); font-size: var(--text-md); font-weight: var(--weight-regular); line-height: var(--leading-normal); color: var(--color-text); background: var(--color-bg); overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { font-weight: var(--weight-bold); line-height: var(--leading-tight); letter-spacing: var(--tracking-tight); color: var(--color-primary); }
::selection { background: rgba(12, 142, 202, 0.15); color: var(--color-primary); }


/* ---- TYPOGRAPHY ---- */
h1 { font-size: clamp(2rem, 4.5vw, var(--text-6xl)); font-weight: var(--weight-extrabold); letter-spacing: -0.035em; line-height: 1.08; }
h2 { font-size: clamp(1.5rem, 3vw, var(--text-5xl)); letter-spacing: -0.025em; line-height: 1.15; }
h3 { font-size: clamp(1.0625rem, 1.8vw, var(--text-xl)); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-snug); line-height: var(--leading-snug); }
h4 { font-size: var(--text-lg); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-snug); }
p { color: var(--color-text-secondary); max-width: 60ch; }
p + p { margin-top: var(--space-4); }
.text-lg { font-size: var(--text-lg); line-height: var(--leading-relaxed); }
.text-sm { font-size: var(--text-sm); }
.text-xs { font-size: var(--text-xs); }
.text-muted { color: var(--color-text-muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-3);
  font-size: 11px; font-weight: var(--weight-semibold); letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--color-teal); margin-bottom: var(--space-4);
}
.eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--color-teal); flex-shrink: 0; }

.link-sage { color: var(--color-teal); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(12,142,202,0.3); transition: text-decoration-color var(--duration-fast); }
.link-sage:hover { text-decoration-color: var(--color-teal); }


/* ---- LAYOUT ---- */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }

section { padding: var(--space-12) 0; }
@media (min-width: 768px) { section { padding: var(--space-14) 0; } }
@media (min-width: 1024px) { section { padding: var(--space-16) 0; } }

.section--surface { background: var(--color-surface); }
.section--dark { background: var(--color-primary); color: var(--color-text-inverse); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--color-text-inverse); }
.section--dark p { color: rgba(250,250,247,0.6); }
.section--dark .eyebrow { color: rgba(12, 142, 202, 0.7); }
.section--dark .eyebrow::before { background: rgba(12, 142, 202, 0.5); }

.section-header { max-width: 580px; margin-bottom: var(--space-8); }
@media (min-width: 768px) { .section-header { margin-bottom: var(--space-10); } }
.section-header.centered { text-align: center; margin-left: auto; margin-right: auto; }
.section-header h2 { margin-bottom: var(--space-3); }

.grid { display: grid; gap: var(--space-5); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid-2 { grid-template-columns: repeat(2,1fr); } .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4,1fr); } }


/* ---- NAVIGATION ---- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav);
  height: var(--nav-height);
  background: rgba(250,250,247,0.88);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: background var(--duration-base) var(--ease-out), border-color var(--duration-base), box-shadow var(--duration-base);
}
.site-nav.scrolled { background: rgba(255,255,255,0.95); border-bottom-color: var(--color-divider); box-shadow: var(--shadow-xs); }

.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--gutter); }

.nav-logo { display: flex; align-items: center; gap: 9px; text-decoration: none; flex-shrink: 0; margin-right: var(--space-6); }
.nav-logo__mark { width: 30px; height: 30px; background: var(--color-primary); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--color-text-inverse); font-size: 12px; font-weight: var(--weight-extrabold); letter-spacing: -0.02em; line-height: 1; }
.nav-logo__text { font-size: var(--text-md); font-weight: var(--weight-bold); color: var(--color-primary); letter-spacing: -0.02em; }

.nav-links { display: none; align-items: center; gap: var(--space-6); }
@media (min-width: 1080px) { .nav-links { display: flex; } }
.nav-links a { font-size: var(--text-sm); font-weight: var(--weight-regular); color: var(--color-text-secondary); letter-spacing: 0.005em; transition: color var(--duration-fast); position: relative; padding: 2px 0; }
.nav-links a:hover { color: var(--color-primary); }
.nav-links a.active { color: var(--color-primary); font-weight: var(--weight-medium); }
.nav-links a.active::after { content: ''; position: absolute; bottom: -3px; left: 0; right: 0; height: 1.5px; background: var(--color-teal); border-radius: 1px; }

.nav-cta { display: none !important; margin-left: var(--space-5); }
@media (min-width: 1080px) { .nav-cta { display: inline-flex !important; } }

/* Nav login links */
.nav-cta.btn--secondary { font-size: 11px; padding: 7px 14px; color: var(--color-text-secondary); border-color: var(--color-divider); background: transparent; }
.nav-cta.btn--secondary:hover { color: var(--color-primary); border-color: var(--color-text-muted); background: var(--color-teal-faded); }

.nav-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 28px; height: 28px; padding: 3px 1px; position: relative; z-index: calc(var(--z-overlay)+1); }
@media (min-width: 1080px) { .nav-toggle { display: none; } }
.nav-toggle span { display: block; height: 1.5px; width: 100%; background: var(--color-primary); border-radius: 2px; transition: all var(--duration-base) var(--ease-out); transform-origin: center; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }




/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-family: var(--font-primary); font-size: var(--text-sm); font-weight: var(--weight-semibold); line-height: 1;
  padding: 12px 24px; border-radius: var(--radius-md); border: 1.5px solid transparent;
  cursor: pointer; transition: all var(--duration-base) var(--ease-out); text-decoration: none; white-space: nowrap;
}
.btn--primary { background: var(--color-cta); color: #fff; border-color: var(--color-cta); }
.btn--primary:hover { background: var(--color-cta-hover); border-color: var(--color-cta-hover); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(196,120,91,0.25); }
.btn--secondary { background: transparent; color: var(--color-primary); border-color: var(--color-divider); }
.btn--secondary:hover { border-color: var(--color-text-muted); background: var(--color-primary-faded); }
.btn--dark { background: var(--color-primary); color: var(--color-text-inverse); border-color: var(--color-primary); }
.btn--dark:hover { background: var(--color-primary-light); border-color: var(--color-primary-light); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(38,42,58,0.18); }
.btn--ghost { background: transparent; color: var(--color-text-secondary); border-color: transparent; padding-left: var(--space-3); padding-right: var(--space-3); }
.btn--ghost:hover { color: var(--color-primary); }
.btn--sm { font-size: var(--text-xs); padding: 9px 20px; }
.btn--lg { font-size: var(--text-sm); padding: 14px 28px; }
.btn-group { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
@media (max-width: 480px) { .btn--lg { width: 100%; } .btn-group { flex-direction: column; align-items: stretch; } }
.btn:focus-visible { outline: 2px solid var(--color-teal); outline-offset: 2px; }


/* ---- CARDS ---- */
.card {
  background: var(--color-surface); border: 1px solid var(--color-divider); border-top: 2px solid var(--color-teal);
  border-radius: var(--radius-lg); padding: var(--space-6);
  transition: border-color var(--duration-base), box-shadow var(--duration-base);
}
.card:hover { border-color: rgba(12,142,202,0.2); border-top-color: var(--color-teal); box-shadow: var(--shadow-md); }
.card--flat { border: 1px solid var(--color-divider); border-top: none; background: var(--color-surface); border-radius: var(--radius-lg); padding: var(--space-6); }
.card__icon { display: none; }
.card__title { font-size: var(--text-md); font-weight: var(--weight-semibold); color: var(--color-primary); margin-bottom: var(--space-2); letter-spacing: var(--tracking-snug); }
.card__text { font-size: var(--text-base); color: var(--color-text-secondary); line-height: var(--leading-normal); }


/* ---- PRICING CARDS ---- */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-5); max-width: 980px; margin: 0 auto; }
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(3,1fr); } }
.pricing-card { background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: var(--radius-lg); padding: var(--space-6) var(--space-6) var(--space-8); display: flex; flex-direction: column; position: relative; transition: box-shadow var(--duration-base); }
.pricing-card:hover { box-shadow: var(--shadow-md); }
.pricing-card--featured { border: 2px solid var(--color-teal); box-shadow: var(--shadow-lg); }
.pricing-card--featured:hover { box-shadow: var(--shadow-xl); }
.pricing-card__badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); }
.pricing-card__tier { font-size: 10px; font-weight: var(--weight-semibold); color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.1em; }
.pricing-card__name { font-size: var(--text-lg); font-weight: var(--weight-bold); color: var(--color-primary); margin-top: var(--space-1); margin-bottom: var(--space-4); letter-spacing: var(--tracking-snug); }
.pricing-card__price { display: flex; align-items: baseline; gap: 4px; margin-bottom: var(--space-2); }
.pricing-card__amount { font-size: var(--text-4xl); font-weight: var(--weight-extrabold); color: var(--color-primary); letter-spacing: -0.035em; line-height: 1; }
.pricing-card__period { font-size: var(--text-sm); color: var(--color-text-muted); font-weight: var(--weight-medium); }
.pricing-card__desc { font-size: var(--text-sm); color: var(--color-text-secondary); line-height: var(--leading-normal); margin-bottom: var(--space-5); padding-bottom: var(--space-5); border-bottom: 1px solid var(--color-divider); }
.pricing-card__features { flex: 1; margin-bottom: var(--space-6); }
.pricing-card__features li { display: flex; align-items: flex-start; gap: var(--space-2); font-size: var(--text-sm); color: var(--color-text-secondary); padding: 5px 0; line-height: 1.45; }
.pricing-card__check { flex-shrink: 0; width: 16px; height: 16px; margin-top: 2px; color: var(--color-green); }
.pricing-card .btn { width: 100%; margin-top: auto; }


/* ---- BADGES ---- */
.badge { display: inline-flex; align-items: center; font-size: 10px; font-weight: var(--weight-bold); padding: 4px 12px; border-radius: var(--radius-full); letter-spacing: 0.08em; text-transform: uppercase; line-height: 1; }
.badge--sage { background: var(--color-teal); color: #fff; }


/* ---- NOTICE ---- */
.notice { padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); font-size: var(--text-sm); line-height: var(--leading-relaxed); color: var(--color-text-secondary); }
.notice--info { background: var(--color-teal-faded); border-left: 2px solid var(--color-teal); }
.notice strong { color: var(--color-primary); font-weight: var(--weight-semibold); }


/* ---- STEPS ---- */
.steps { counter-reset: step; }
.step { display: flex; gap: var(--space-4); padding: var(--space-4) 0; counter-increment: step; }
@media (min-width: 768px) { .step { gap: var(--space-5); padding: var(--space-5) 0; } }
.step + .step { border-top: 1px solid var(--color-divider); }
.step__number { flex-shrink: 0; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--color-divider); color: var(--color-text-muted); border-radius: var(--radius-full); font-size: var(--text-base); font-weight: var(--weight-medium); line-height: 1; }
.step__number::before { content: counter(step); }
.step__body h4 { margin-bottom: var(--space-1); }
.step__body p { font-size: var(--text-base); }


/* ---- FAQ ---- */
.faq-item { border-bottom: 1px solid var(--color-divider); }
.faq-item:first-child { border-top: 1px solid var(--color-divider); }
.faq-question { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); width: 100%; padding: var(--space-4) 0; font-size: var(--text-md); font-weight: var(--weight-medium); color: var(--color-primary); text-align: left; cursor: pointer; background: none; border: none; transition: color var(--duration-fast); }
.faq-question:hover { color: var(--color-teal); }
.faq-question:focus-visible { outline: 2px solid var(--color-teal); outline-offset: 2px; border-radius: 4px; }
.faq-icon { flex-shrink: 0; width: 16px; height: 16px; color: var(--color-text-muted); transition: transform var(--duration-base) var(--ease-out), color var(--duration-fast); }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--color-teal); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--duration-slow) var(--ease-out); }
.faq-answer__inner { padding-bottom: var(--space-5); font-size: var(--text-base); color: var(--color-text-secondary); line-height: var(--leading-relaxed); max-width: 58ch; }


/* ---- FORMS ---- */
.form-group { margin-bottom: var(--space-4); }
.form-label { display: block; font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--color-primary); margin-bottom: 6px; }
.form-label .req { color: var(--color-cta); margin-left: 2px; }
.form-input, .form-select, .form-textarea { width: 100%; padding: 10px 14px; font-size: var(--text-base); color: var(--color-text); background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: var(--radius-md); transition: border-color var(--duration-fast), box-shadow var(--duration-fast); outline: none; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--color-teal); box-shadow: 0 0 0 3px var(--color-teal-faded); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--color-text-muted); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23919499' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.form-row { display: grid; gap: var(--space-4); }
@media (min-width: 600px) { .form-row--2 { grid-template-columns: repeat(2,1fr); } }
.form-hint { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: 3px; }
.form-check-group { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.form-check-group label { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); color: var(--color-text-secondary); cursor: pointer; padding: 7px 12px; border: 1px solid var(--color-divider); border-radius: var(--radius-md); transition: all var(--duration-fast); user-select: none; }
.form-check-group label:hover { border-color: var(--color-teal); background: var(--color-teal-faded); }
.form-check-group input:checked + span, .form-check-group label:has(input:checked) { border-color: var(--color-teal); background: var(--color-teal-faded); color: var(--color-primary); }
.form-check-group input[type="checkbox"] { width: 14px; height: 14px; accent-color: var(--color-teal); flex-shrink: 0; }
.form-input.error, .form-select.error, .form-textarea.error { border-color: var(--color-cta); box-shadow: 0 0 0 3px var(--color-cta-faded); }
.form-error { display: block; font-size: var(--text-xs); color: var(--color-cta); margin-top: 3px; }


/* ---- ELIGIBILITY LISTS ---- */
.list-check li, .list-cross li { display: flex; align-items: flex-start; gap: var(--space-3); padding: 5px 0; font-size: var(--text-base); color: var(--color-text-secondary); line-height: 1.45; }
.list-icon { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; }
.list-check .list-icon { color: var(--color-green); }
.list-cross .list-icon { color: var(--color-red); }


/* ---- TABLES ---- */
.table-wrap { overflow-x: auto; border: 1px solid var(--color-divider); border-radius: var(--radius-lg); }
table { width: 100%; border-collapse: collapse; }
thead th { text-align: left; font-size: 11px; font-weight: var(--weight-semibold); text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-muted); padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--color-divider); background: var(--color-bg); }
tbody td { padding: var(--space-3) var(--space-4); font-size: var(--text-sm); color: var(--color-text-secondary); border-bottom: 1px solid var(--color-divider); }
tbody tr:last-child td { border-bottom: none; }


/* ---- HERO ---- */
.hero { padding-top: calc(var(--nav-height) + var(--space-10)); padding-bottom: var(--space-10); min-height: min(78vh, 640px); display: flex; align-items: center; }
@media (min-width: 768px) { .hero { padding-top: calc(var(--nav-height) + var(--space-14)); padding-bottom: var(--space-12); } }
.hero__content { max-width: 640px; }
.hero__subtitle { font-size: clamp(var(--text-md), 1.8vw, var(--text-lg)); color: var(--color-text-secondary); line-height: var(--leading-relaxed); margin-top: var(--space-4); margin-bottom: var(--space-6); max-width: 48ch; }
.hero__stats { display: flex; flex-wrap: wrap; gap: var(--space-8); margin-top: var(--space-8); padding-top: var(--space-6); border-top: 1px solid var(--color-divider); }
@media (min-width: 600px) { .hero__stats { gap: var(--space-10); } }
.hero__stat-label { font-size: 10px; font-weight: var(--weight-medium); color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 2px; }
.hero__stat-value { font-size: var(--text-md); font-weight: var(--weight-semibold); color: var(--color-primary); letter-spacing: var(--tracking-snug); }


/* ---- PAGE HEADER ---- */
.page-header { padding-top: calc(var(--nav-height) + var(--space-8)); padding-bottom: var(--space-8); background: var(--color-surface); border-bottom: 1px solid var(--color-divider); }
@media (min-width: 768px) { .page-header { padding-top: calc(var(--nav-height) + var(--space-12)); padding-bottom: var(--space-10); } }
.page-header h1 { margin-bottom: var(--space-3); }
.page-header p { font-size: var(--text-lg); max-width: 52ch; }


/* ---- CTA BAND ---- */
.cta-band { background: var(--color-primary); padding: var(--space-14) 0; }
@media (min-width: 768px) { .cta-band { padding: var(--space-16) 0; } }
.cta-band__inner { text-align: center; max-width: 520px; margin: 0 auto; }
.cta-band h2 { color: var(--color-text-inverse); margin-bottom: var(--space-3); }
.cta-band p { color: rgba(250,250,247,0.55); margin: 0 auto var(--space-6); }
.cta-band .btn-group { justify-content: center; }
.cta-band .btn--ghost { color: rgba(250,250,247,0.4); }
.cta-band .btn--ghost:hover { color: rgba(250,250,247,0.8); }


/* ---- FOOTER ---- */
.site-footer { background: var(--color-primary); color: rgba(250,250,247,0.5); padding: var(--space-12) 0 var(--space-8); border-top: 1px solid rgba(12,142,202,0.15); }
.footer-grid { display: grid; gap: var(--space-8); margin-bottom: var(--space-8); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-6); } }
.footer-brand { max-width: 280px; }
.footer-logo { display: flex; align-items: center; gap: 9px; margin-bottom: var(--space-3); }
.footer-logo .nav-logo__mark { background: rgba(250,250,247,0.08); color: rgba(250,250,247,0.7); }
.footer-logo__text { font-size: var(--text-md); font-weight: var(--weight-bold); color: var(--color-text-inverse); letter-spacing: -0.02em; }
.footer-tagline { font-size: var(--text-sm); line-height: var(--leading-relaxed); color: rgba(250,250,247,0.3); }
.footer-col-title { font-size: 10px; font-weight: var(--weight-semibold); letter-spacing: 0.12em; text-transform: uppercase; color: rgba(250,250,247,0.22); margin-bottom: var(--space-3); }
.footer-col a { display: block; font-size: var(--text-sm); color: rgba(250,250,247,0.45); padding: 3px 0; transition: color var(--duration-fast); }
.footer-col a:hover { color: var(--color-text-inverse); }
.footer-bottom { border-top: 1px solid rgba(250,250,247,0.06); padding-top: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer-copy { font-size: var(--text-xs); color: rgba(250,250,247,0.2); }
.footer-disclaimer { margin-top: var(--space-4); font-size: var(--text-xs); line-height: var(--leading-relaxed); color: rgba(250,250,247,0.15); max-width: 68ch; }


/* ---- SCROLL ANIMATIONS ---- */
/* Fade-up: elements visible by default. JS adds .js-ready to body, then animations work */
.fade-up { opacity: 1; transform: none; }
body.js-ready .fade-up { opacity: 0; transform: translateY(16px); transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); }
body.js-ready .fade-up.visible { opacity: 1; transform: translateY(0); }
body.js-ready .fade-up.d1 { transition-delay: 0.06s; }
body.js-ready .fade-up.d2 { transition-delay: 0.12s; }
body.js-ready .fade-up.d3 { transition-delay: 0.18s; }
@media (prefers-reduced-motion: reduce) { .fade-up, body.js-ready .fade-up { opacity: 1; transform: none; transition: none; } }


/* ---- UTILITIES ---- */
.mt-4 { margin-top: var(--space-4); } .mt-6 { margin-top: var(--space-6); } .mt-8 { margin-top: var(--space-8); }
.mt-10 { margin-top: var(--space-10); } .mt-12 { margin-top: var(--space-12); }
.mb-4 { margin-bottom: var(--space-4); } .mb-6 { margin-bottom: var(--space-6); } .mb-8 { margin-bottom: var(--space-8); } .mb-12 { margin-bottom: var(--space-12); }
.text-center { text-align: center; } .mx-auto { margin-left: auto; margin-right: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }


/* ---- NAV PHONE ---- */
.nav-phone {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding: 0 var(--space-4);
  border-left: 1px solid var(--color-divider);
  margin-left: var(--space-3);
  transition: color var(--duration-fast);
}
.nav-phone:hover { color: var(--color-cta); }
.nav-phone { display: none !important; }
@media (min-width: 1080px) { .nav-phone { display: flex !important; align-items: center; } }


/* ============================================================
   MOBILE OPTIMIZATION
   ============================================================ */


















/* ============================================================
   PREMIUM MOBILE SYSTEM
   Designed to feel like a native fintech app on touch devices
   ============================================================ */

/* --- Global mobile reset --- */
@media (max-width: 767px) {
  body { font-size: var(--text-base); }

  section { padding: var(--space-10) 0; }

  h1 { font-size: 2rem; letter-spacing: -0.03em; }
  h2 { font-size: 1.5rem; letter-spacing: -0.02em; }
  h3 { font-size: 1.0625rem; }
  h4 { font-size: 1rem; }

  p { font-size: var(--text-base); line-height: 1.6; }

  .eyebrow { font-size: 10px; margin-bottom: var(--space-3); letter-spacing: 0.12em; }
  .eyebrow::before { width: 16px; }

  .container { padding: 0 20px; }
}

/* --- Mobile nav: clean, minimal, app-like --- */
@media (max-width: 1079px) {
  .site-nav { height: 56px; }
  .nav-inner { height: 56px; }
  .nav-logo__mark { width: 28px; height: 28px; font-size: 11px; }
  .nav-logo__text { font-size: var(--text-base); }
  .nav-logo { gap: 8px; }
  .nav-toggle { width: 24px; height: 24px; gap: 4.5px; }
  .nav-toggle span { height: 1.5px; }

  /* Recalculate all nav-height dependent values */
  .hero { padding-top: calc(56px + var(--space-8)); }
  .page-header { padding-top: calc(56px + var(--space-6)); }
}

/* --- Hero: confident, fills the screen --- */
@media (max-width: 767px) {
  .hero {
    padding-top: calc(56px + var(--space-8));
    padding-bottom: var(--space-8);
    min-height: auto;
  }

  .hero__content { max-width: 100%; }

  .hero__subtitle {
    font-size: var(--text-base);
    max-width: 100%;
    margin-top: var(--space-3);
    margin-bottom: var(--space-6);
    line-height: 1.6;
  }

  .hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: var(--space-6);
    padding-top: var(--space-5);
  }

  .hero__stat-label { font-size: 9px; letter-spacing: 0.1em; }
  .hero__stat-value { font-size: var(--text-sm); }
}

/* --- Section headers: tighter, punchier --- */
@media (max-width: 767px) {
  .section-header { margin-bottom: var(--space-6); }
  .section-header h2 { margin-bottom: var(--space-2); }
  .section-header p { font-size: var(--text-sm); }
  .section-header.centered { text-align: left; }
}

/* --- Cards: premium touch-friendly tiles --- */
@media (max-width: 767px) {
  .grid { gap: var(--space-3); }

  .card {
    padding: var(--space-5);
    border-radius: var(--radius-md);
    border-top-width: 2px;
  }

  .card--flat {
    padding: var(--space-5);
    border-radius: var(--radius-md);
  }

  .card__title { font-size: var(--text-base); margin-bottom: 4px; }
  .card__text { font-size: var(--text-sm); line-height: 1.5; }
}

/* --- Pricing cards: clean, stacked, easy to compare --- */
@media (max-width: 767px) {
  .pricing-grid { gap: var(--space-4); }

  .pricing-card {
    padding: var(--space-5);
    border-radius: var(--radius-md);
  }

  .pricing-card__name { font-size: var(--text-md); margin-bottom: var(--space-3); }
  .pricing-card__amount { font-size: var(--text-3xl); }
  .pricing-card__desc {
    font-size: var(--text-sm);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-4);
  }
  .pricing-card__features { margin-bottom: var(--space-4); }
  .pricing-card__features li { font-size: var(--text-sm); padding: 4px 0; }
  .pricing-card__check { width: 14px; height: 14px; }
}

/* --- Steps: compact, clean progression --- */
@media (max-width: 767px) {
  .step { gap: var(--space-3); padding: var(--space-4) 0; }
  .step__number { width: 32px; height: 32px; font-size: var(--text-sm); border-width: 1px; }
  .step__body h4 { font-size: var(--text-base); }
  .step__body p { font-size: var(--text-sm); line-height: 1.5; }
}

/* --- CTA band: bold, clean close --- */
@media (max-width: 767px) {
  .cta-band { padding: var(--space-10) 0; }
  .cta-band h2 { font-size: 1.25rem; }
  .cta-band p { font-size: var(--text-sm); margin-bottom: var(--space-5); }
}

/* --- Buttons: full-width, touch-optimized --- */
@media (max-width: 600px) {
  .btn-group {
    flex-direction: column;
    gap: var(--space-2);
    width: 100%;
  }
  .btn-group .btn {
    width: 100%;
    justify-content: center;
    padding-top: 14px;
    padding-bottom: 14px;
  }
}

/* --- Page header: tight, authoritative --- */
@media (max-width: 767px) {
  .page-header {
    padding-top: calc(56px + var(--space-6));
    padding-bottom: var(--space-6);
  }
  .page-header h1 { font-size: 1.625rem; }
  .page-header p { font-size: var(--text-base); }
}

/* --- Footer: compact, app-like --- */
@media (max-width: 767px) {
  .site-footer { padding: var(--space-8) 0 var(--space-6); }
  .footer-grid { gap: var(--space-5); margin-bottom: var(--space-6); }
  .footer-brand { max-width: 100%; }
  .footer-tagline { font-size: var(--text-xs); }
  .footer-col-title { margin-bottom: var(--space-2); }
  .footer-col a { padding: 2px 0; font-size: var(--text-sm); }
  .footer-bottom { padding-top: var(--space-4); }
  .footer-disclaimer { font-size: 11px; margin-top: var(--space-3); }
}

/* --- Notice boxes --- */
@media (max-width: 767px) {
  .notice { padding: var(--space-3) var(--space-4); font-size: var(--text-sm); }
}

/* --- Tables: scroll-friendly --- */
@media (max-width: 767px) {
  .table-wrap { font-size: var(--text-sm); border-radius: var(--radius-md); }
  thead th { padding: 8px 12px; font-size: 10px; }
  tbody td { padding: 8px 12px; font-size: var(--text-sm); }
}

/* --- FAQ: clean accordion --- */
@media (max-width: 767px) {
  .faq-question { padding: var(--space-4) 0; font-size: var(--text-base); }
  .faq-answer__inner { padding-bottom: var(--space-4); font-size: var(--text-sm); }
  .faq-icon { width: 14px; height: 14px; }
}

/* --- Forms: touch-friendly inputs --- */
@media (max-width: 767px) {
  .form-group { margin-bottom: var(--space-3); }
  .form-label { font-size: var(--text-sm); margin-bottom: 4px; }
  .form-input, .form-select, .form-textarea {
    padding: 11px 14px;
    font-size: 16px; /* prevents iOS zoom */
    border-radius: var(--radius-md);
  }
  .form-check-group label { padding: 8px 12px; font-size: var(--text-sm); }
}

/* --- Eligibility lists --- */
@media (max-width: 767px) {
  .list-check li, .list-cross li { font-size: var(--text-sm); padding: 4px 0; gap: var(--space-2); }
  .list-icon { width: 16px; height: 16px; }
}

/* --- Mobile menu: premium full-screen overlay --- */
.mobile-menu {
  position: fixed;
  top: 56px;
  left: 0; right: 0; bottom: 0;
  z-index: var(--z-overlay);
  background: var(--color-surface);
  padding: var(--space-4) 20px var(--space-6);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s var(--ease-out);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu__phone {
  display: block;
  padding: var(--space-3) 0;
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-cta);
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--color-divider);
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mobile-menu__links a {
  display: block;
  padding: 13px 0;
  font-size: var(--text-md);
  font-weight: var(--weight-medium);
  color: var(--color-text);
  border-bottom: 1px solid var(--color-divider);
  transition: color 0.15s;
}

.mobile-menu__links a:hover { color: var(--color-cta); }

.mobile-menu__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-divider);
}

.mobile-menu__actions .btn {
  width: 100%;
  text-align: center;
  justify-content: center;
  padding: 13px 20px;
}

/* --- Utility spacing on mobile --- */
@media (max-width: 767px) {
  .mt-8 { margin-top: var(--space-5); }
  .mt-10 { margin-top: var(--space-6); }
  .mt-12 { margin-top: var(--space-8); }
}

/* --- Small phone (iPhone SE, etc) --- */
@media (max-width: 374px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.375rem; }
  .hero__stats { grid-template-columns: 1fr 1fr; gap: var(--space-3); }
  .pricing-card__amount { font-size: var(--text-2xl); }
}



/* ============================================================
   TECHY COLOR SYSTEM
   Gradient accents, vibrant indicators, modern fintech energy
   ============================================================ */

/* --- Gradient text utility --- */
.gradient-text {
  background: linear-gradient(120deg, #1CA64F, #0C8ECA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Gradient line on eyebrows --- */
.eyebrow::before {
  background: linear-gradient(90deg, #1CA64F, #0C8ECA) !important;
  height: 2px !important;
  width: 28px !important;
  border-radius: 2px;
}

/* --- Card top border: gradient instead of solid --- */
.card {
  border-top: 2px solid transparent !important;
  border-image: linear-gradient(90deg, #1CA64F, #0C8ECA) 1;
  border-image-slice: 1;
}
.card:hover {
  border-image: linear-gradient(90deg, #0C8ECA, #1CA64F) 1;
  box-shadow: 0 4px 20px rgba(12, 142, 202, 0.08);
}

/* --- Pricing featured card: gradient border --- */
.pricing-card--featured {
  border: 2px solid transparent !important;
  background-image: linear-gradient(var(--color-surface), var(--color-surface)),
                    linear-gradient(135deg, #1CA64F, #0C8ECA);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

/* --- Badge: gradient bg --- */
.badge--sage {
  background: linear-gradient(120deg, #0C8ECA, #1CA64F) !important;
  color: #fff !important;
}

/* --- Notice info: gradient left border --- */
.notice--info {
  border-left: 3px solid transparent !important;
  border-image: linear-gradient(180deg, #1CA64F, #0C8ECA) 1 !important;
  border-image-slice: 1;
  background: linear-gradient(135deg, rgba(28, 166, 79, 0.04), rgba(12, 142, 202, 0.04)) !important;
}

/* --- Hero stats: colored values --- */
.hero__stat-value {
  color: var(--color-teal) !important;
  font-weight: var(--weight-bold) !important;
}

/* --- Nav active link: gradient underline --- */
.nav-links a.active::after {
  background: linear-gradient(90deg, #1CA64F, #0C8ECA) !important;
  height: 2px !important;
}

/* --- CTA band: subtle gradient overlay --- */
.cta-band {
  background: linear-gradient(135deg, #1A1F2E 0%, #262A3A 40%, #1E2A35 100%) !important;
}

/* --- Footer top border: gradient --- */
.site-footer {
  border-top: 1px solid transparent !important;
  border-image: linear-gradient(90deg, rgba(28,166,79,0.3), rgba(12,142,202,0.3), rgba(196,120,91,0.3)) 1;
}

/* --- Links: teal with gradient hover --- */
.link-sage:hover {
  background: linear-gradient(120deg, #1CA64F, #0C8ECA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration-color: transparent !important;
}

/* --- Step numbers: gradient border on active/visible --- */
body.js-ready .step.fade-up.visible .step__number {
  border-color: var(--color-teal);
  color: var(--color-teal);
}

/* --- Focus ring: teal glow --- */
.btn:focus-visible {
  outline: 2px solid var(--color-teal) !important;
  box-shadow: 0 0 0 4px rgba(12, 142, 202, 0.15);
}

/* --- Form focus: gradient glow --- */
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-teal) !important;
  box-shadow: 0 0 0 3px rgba(12, 142, 202, 0.1), 0 0 0 1px rgba(28, 166, 79, 0.05) !important;
}

/* --- FAQ icon rotation: teal --- */
.faq-item.open .faq-icon { color: var(--color-teal) !important; }
.faq-question:hover { color: var(--color-teal) !important; }

/* --- Selection highlight: gradient feel --- */
::selection {
  background: rgba(12, 142, 202, 0.2) !important;
}

/* --- Login buttons: colored borders matching original --- */
.nav-cta.btn--secondary:first-of-type {
  color: #CF3030 !important;
  border-color: rgba(207, 48, 48, 0.3) !important;
}
.nav-cta.btn--secondary:first-of-type:hover {
  border-color: #CF3030 !important;
  background: rgba(207, 48, 48, 0.05) !important;
  color: #CF3030 !important;
}
.nav-cta.btn--secondary:last-of-type {
  color: #0C8ECA !important;
  border-color: rgba(12, 142, 202, 0.3) !important;
}
.nav-cta.btn--secondary:last-of-type:hover {
  border-color: #0C8ECA !important;
  background: rgba(12, 142, 202, 0.05) !important;
  color: #0C8ECA !important;
}

/* --- Table checkmarks: brighter green --- */
td[style*="color: var(--color-green)"] {
  font-weight: 600;
}

/* --- Mobile menu phone: gradient text --- */
.mobile-menu__phone {
  background: linear-gradient(120deg, #C4785B, #CF3030);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Scrollbar: subtle teal accent (webkit) --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(12, 142, 202, 0.2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(12, 142, 202, 0.4); }


/* ============================================================
   PREMIUM TECHY UPGRADE
   Rounded surfaces, soft glows, glassmorphism hints, modern depth
   ============================================================ */

/* --- Global: rounder everything --- */
.card, .card--flat, .pricing-card, .notice, .table-wrap, .badge {
  border-radius: 16px !important;
}

.btn { border-radius: 10px !important; }
.btn--sm { border-radius: 8px !important; }
.nav-logo__mark { border-radius: 8px !important; }
.form-input, .form-select, .form-textarea { border-radius: 10px !important; }
.form-check-group label { border-radius: 10px !important; }

/* --- Cards: soft glow on hover, glass feel --- */
.card {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(12, 142, 202, 0.08) !important;
  border-top: none !important;
  border-image: none !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02), 0 0 0 1px rgba(12, 142, 202, 0.04);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1CA64F, #0C8ECA, #C4785B);
  border-radius: 16px 16px 0 0;
}

.card:hover {
  border-color: rgba(12, 142, 202, 0.15) !important;
  border-image: none !important;
  box-shadow: 0 8px 32px rgba(12, 142, 202, 0.1), 0 0 0 1px rgba(12, 142, 202, 0.08) !important;
  transform: translateY(-2px);
}

/* --- Flat cards: same rounded treatment --- */
.card--flat {
  background: rgba(255, 255, 255, 0.8) !important;
  border: 1px solid rgba(12, 142, 202, 0.06) !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
  transition: all 0.25s var(--ease-out);
}

.card--flat:hover {
  box-shadow: 0 6px 24px rgba(12, 142, 202, 0.08);
  transform: translateY(-1px);
}

/* --- Pricing cards: premium depth --- */
.pricing-card {
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(12, 142, 202, 0.06) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03) !important;
  transition: all 0.3s var(--ease-out) !important;
}

.pricing-card:hover {
  box-shadow: 0 12px 40px rgba(12, 142, 202, 0.1), 0 0 0 1px rgba(12, 142, 202, 0.1) !important;
  transform: translateY(-3px) !important;
}

.pricing-card--featured {
  background: #fff !important;
  border: none !important;
  background-image: none !important;
  box-shadow: 0 0 0 2px rgba(12, 142, 202, 0.25), 0 8px 32px rgba(12, 142, 202, 0.12) !important;
}

.pricing-card--featured:hover {
  box-shadow: 0 0 0 2px rgba(12, 142, 202, 0.4), 0 16px 48px rgba(12, 142, 202, 0.15) !important;
}

/* --- Buttons: modern depth with glow --- */
.btn--primary {
  box-shadow: 0 2px 8px rgba(196, 120, 91, 0.25);
}

.btn--primary:hover {
  box-shadow: 0 8px 24px rgba(196, 120, 91, 0.35) !important;
}

.btn--secondary {
  backdrop-filter: blur(4px);
}

/* --- Hero stats: pill-shaped containers --- */
.hero__stats {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(12, 142, 202, 0.08);
  border-radius: 16px;
  padding: var(--space-5) var(--space-6) !important;
  margin-top: var(--space-8) !important;
  border-top: none !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

@media (max-width: 767px) {
  .hero__stats { padding: var(--space-4) var(--space-5) !important; border-radius: 12px; }
}

/* --- Eyebrow: pill badge style --- */
.eyebrow {
  background: linear-gradient(135deg, rgba(28, 166, 79, 0.06), rgba(12, 142, 202, 0.06));
  padding: 6px 14px 6px 0 !important;
  border-radius: 20px;
  border: 1px solid rgba(12, 142, 202, 0.1);
}

.eyebrow::before {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: var(--color-green) !important;
  margin-left: 12px;
}

/* --- Notice: softer, rounder, glassy --- */
.notice--info {
  border: 1px solid rgba(12, 142, 202, 0.1) !important;
  border-left: 3px solid var(--color-teal) !important;
  border-image: none !important;
  background: linear-gradient(135deg, rgba(28, 166, 79, 0.03), rgba(12, 142, 202, 0.05)) !important;
  backdrop-filter: blur(4px);
}

/* --- Step numbers: gradient ring --- */
.step__number {
  border: 2px solid transparent !important;
  background-image: linear-gradient(var(--color-bg), var(--color-bg)), linear-gradient(135deg, #1CA64F, #0C8ECA) !important;
  background-origin: border-box !important;
  background-clip: padding-box, border-box !important;
  color: var(--color-teal) !important;
  font-weight: var(--weight-bold) !important;
}

/* --- CTA band: richer gradient with glow --- */
.cta-band {
  background: linear-gradient(135deg, #171C2A 0%, #1E2538 30%, #1A2A35 60%, #1C2230 100%) !important;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(12, 142, 202, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-band::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -20%;
  width: 50%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(28, 166, 79, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* --- Nav: subtle glass effect --- */
.site-nav {
  background: rgba(250, 250, 247, 0.75) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
}

.site-nav.scrolled {
  background: rgba(255, 255, 255, 0.85) !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(12, 142, 202, 0.04) !important;
}

/* --- Section backgrounds: subtle gradient meshes --- */
.section--surface {
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFAF7 100%) !important;
  position: relative;
}

/* --- Footer: richer dark with gradient --- */
.site-footer {
  background: linear-gradient(180deg, #1A1F2E, #141824) !important;
  border-top: 1px solid transparent !important;
  border-image: linear-gradient(90deg, rgba(28,166,79,0.2), rgba(12,142,202,0.3), rgba(196,120,91,0.2)) 1 !important;
}

/* --- Badge: glossy pill --- */
.badge--sage {
  background: linear-gradient(135deg, #0C8ECA, #1CA64F) !important;
  box-shadow: 0 2px 8px rgba(12, 142, 202, 0.3);
}

/* --- FAQ: rounded answer container --- */
.faq-answer__inner {
  background: rgba(12, 142, 202, 0.02);
  border-radius: 12px;
  padding: var(--space-4) var(--space-5) !important;
  margin-bottom: var(--space-3);
}

/* --- Tables: rounded with teal header accent --- */
thead th {
  background: linear-gradient(180deg, rgba(12, 142, 202, 0.04), rgba(12, 142, 202, 0.02)) !important;
}

/* --- Mobile menu: premium overlay --- */
@media (max-width: 1079px) {
  .mobile-menu {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(20px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(150%) !important;
  }
}

/* --- Gradient divider between sections --- */
section + section::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(12, 142, 202, 0.1), rgba(28, 166, 79, 0.1), transparent);
  margin: 0 auto;
  max-width: 600px;
}

/* --- Selection: vibrant --- */
::selection {
  background: rgba(12, 142, 202, 0.18) !important;
  color: #0C8ECA !important;
}

/* --- Link hover: glow --- */
.link-sage:hover {
  text-shadow: 0 0 12px rgba(12, 142, 202, 0.2);
}

/* --- Mobile: keep cards round --- */
@media (max-width: 767px) {
  .card, .card--flat, .pricing-card { border-radius: 14px !important; }
  .notice { border-radius: 12px !important; }
  .eyebrow { border-radius: 16px; font-size: 10px; }
  .hero__stats { border-radius: 12px; }
  .faq-answer__inner { border-radius: 10px; }
}


/* ============================================================
   ULTRA LUX FINAL POLISH
   Animated gradients, living UI, top-tier SaaS energy
   ============================================================ */

/* --- Animated gradient keyframes --- */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes subtlePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

@keyframes floatUp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* --- Hero gradient text: ANIMATED rainbow shimmer --- */
.gradient-text {
  background: linear-gradient(120deg, #1CA64F, #0C8ECA, #8B5CF6, #C4785B, #1CA64F) !important;
  background-size: 300% 300% !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  animation: gradientShift 6s ease-in-out infinite;
}

/* --- Card rainbow top bar: wider spectrum --- */
.card::before {
  background: linear-gradient(90deg, #1CA64F, #0C8ECA, #8B5CF6, #EC4899, #C4785B) !important;
  height: 3px !important;
}

/* --- Card hover: rainbow glow ring --- */
.card:hover {
  box-shadow: 
    0 0 0 1px rgba(12, 142, 202, 0.1),
    0 8px 32px rgba(12, 142, 202, 0.08),
    0 0 60px -10px rgba(139, 92, 246, 0.06) !important;
}

/* --- Featured pricing: animated gradient border --- */
.pricing-card--featured {
  position: relative !important;
  border: none !important;
  background: #fff !important;
  background-image: none !important;
  z-index: 1 !important;
}

.pricing-card--featured::before {
  content: '' !important;
  position: absolute !important;
  inset: -2px !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, #1CA64F, #0C8ECA, #8B5CF6, #C4785B) !important;
  background-size: 300% 300% !important;
  animation: gradientShift 4s ease-in-out infinite !important;
  z-index: -1 !important;
}

.pricing-card--featured::after {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: 16px !important;
  background: #fff !important;
  z-index: -1 !important;
}

/* --- Badge: animated gradient pill --- */
.badge--sage {
  background: linear-gradient(135deg, #0C8ECA, #8B5CF6, #1CA64F) !important;
  background-size: 200% 200% !important;
  animation: gradientShift 3s ease-in-out infinite !important;
  box-shadow: 0 2px 12px rgba(139, 92, 246, 0.3) !important;
}

/* --- Primary CTA: gradient with shimmer --- */
.btn--primary {
  background: linear-gradient(135deg, #C4785B, #D4896C, #C4785B) !important;
  background-size: 200% 200% !important;
  border-color: transparent !important;
  box-shadow: 0 2px 12px rgba(196, 120, 91, 0.3) !important;
}

.btn--primary:hover {
  background: linear-gradient(135deg, #C4785B, #EC4899, #8B5CF6) !important;
  background-size: 200% 200% !important;
  animation: gradientShift 2s ease-in-out infinite !important;
  box-shadow: 0 8px 32px rgba(196, 120, 91, 0.35), 0 0 40px -8px rgba(139, 92, 246, 0.2) !important;
  transform: translateY(-2px) !important;
}

/* --- Secondary button: border gradient on hover --- */
.btn--secondary:hover {
  border-color: transparent !important;
  background-image: linear-gradient(var(--color-surface), var(--color-surface)), 
                    linear-gradient(135deg, #0C8ECA, #8B5CF6) !important;
  background-origin: border-box !important;
  background-clip: padding-box, border-box !important;
  color: #8B5CF6 !important;
}

/* --- Eyebrow dot: pulsing green --- */
.eyebrow::before {
  animation: subtlePulse 2s ease-in-out infinite !important;
}

/* --- Hero stats: individual accent colors --- */
.hero__stats > div:nth-child(1) .hero__stat-value { color: #1CA64F !important; }
.hero__stats > div:nth-child(2) .hero__stat-value { color: #0C8ECA !important; }
.hero__stats > div:nth-child(3) .hero__stat-value { color: #8B5CF6 !important; }

/* --- Step numbers: each a different accent --- */
.step:nth-child(1) .step__number { color: #1CA64F !important; border-color: rgba(28, 166, 79, 0.3) !important; }
.step:nth-child(2) .step__number { color: #0C8ECA !important; border-color: rgba(12, 142, 202, 0.3) !important; }
.step:nth-child(3) .step__number { color: #8B5CF6 !important; border-color: rgba(139, 92, 246, 0.3) !important; }
.step:nth-child(4) .step__number { color: #C4785B !important; border-color: rgba(196, 120, 91, 0.3) !important; }

/* override gradient ring */
.step:nth-child(1) .step__number,
.step:nth-child(2) .step__number,
.step:nth-child(3) .step__number,
.step:nth-child(4) .step__number {
  background-image: none !important;
  background: var(--color-bg) !important;
}

/* --- Client cards: each with different accent top line --- */
.grid-4 > .card--flat:nth-child(1) { border-top: 2px solid #1CA64F !important; }
.grid-4 > .card--flat:nth-child(2) { border-top: 2px solid #0C8ECA !important; }
.grid-4 > .card--flat:nth-child(3) { border-top: 2px solid #8B5CF6 !important; }
.grid-4 > .card--flat:nth-child(4) { border-top: 2px solid #C4785B !important; }

/* --- CTA band: rich animated gradient bg --- */
.cta-band {
  background: linear-gradient(135deg, #0F1320 0%, #141B2D 25%, #1A1F35 50%, #161D30 75%, #0F1320 100%) !important;
}

.cta-band::before {
  background: radial-gradient(ellipse at 30% 50%, rgba(12, 142, 202, 0.12) 0%, transparent 60%) !important;
}

.cta-band::after {
  background: radial-gradient(ellipse at 70% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 60%) !important;
}

/* --- CTA band button: white with gradient text --- */
.cta-band .btn--primary {
  background: #fff !important;
  color: #262A3A !important;
  border-color: transparent !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 20px rgba(255,255,255,0.15) !important;
}

.cta-band .btn--primary:hover {
  background: linear-gradient(135deg, #fff, #f0f0ff) !important;
  box-shadow: 0 8px 40px rgba(255,255,255,0.2), 0 0 60px -10px rgba(139, 92, 246, 0.3) !important;
  animation: none !important;
  color: #262A3A !important;
}

/* --- Footer: subtle gradient glow spots --- */
.site-footer {
  position: relative !important;
  overflow: hidden !important;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(12, 142, 202, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.site-footer::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: 15%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* --- Footer border: full rainbow --- */
.site-footer {
  border-image: linear-gradient(90deg, #1CA64F, #0C8ECA, #8B5CF6, #EC4899, #C4785B) 1 !important;
}

/* --- Section dividers: rainbow shimmer --- */
section + section::before {
  background: linear-gradient(90deg, transparent 5%, #1CA64F 20%, #0C8ECA 40%, #8B5CF6 60%, #C4785B 80%, transparent 95%) !important;
  opacity: 0.15;
  max-width: 80% !important;
}

/* --- Nav scrolled: rainbow bottom line --- */
.site-nav.scrolled {
  border-bottom: 1px solid transparent !important;
  border-image: linear-gradient(90deg, transparent, rgba(28,166,79,0.15), rgba(12,142,202,0.2), rgba(139,92,246,0.15), transparent) 1 !important;
}

/* --- Nav logo mark: gradient bg on hover --- */
.nav-logo:hover .nav-logo__img {
  transform: scale(1.05);
  transition: transform 0.2s;
}

/* --- Mobile menu actions: gradient buttons --- */
.mobile-menu__actions .btn--primary {
  background: linear-gradient(135deg, #C4785B, #D4896C) !important;
  border: none !important;
}

.mobile-menu__actions .btn--secondary:first-of-type {
  color: #CF3030 !important;
  border-color: rgba(207, 48, 48, 0.2) !important;
}

.mobile-menu__actions .btn--secondary:last-of-type {
  color: #0C8ECA !important;
  border-color: rgba(12, 142, 202, 0.2) !important;
}

/* --- Pricing card hover: lift with color shadow --- */
.pricing-card:nth-child(1):hover { box-shadow: 0 12px 40px rgba(28, 166, 79, 0.1), 0 0 0 1px rgba(28,166,79,0.08) !important; }
.pricing-card:nth-child(3):hover { box-shadow: 0 12px 40px rgba(139, 92, 246, 0.1), 0 0 0 1px rgba(139,92,246,0.08) !important; }

/* --- FAQ: colored icon per item --- */
.faq-item:nth-child(odd) .faq-icon { color: var(--color-teal) !important; }
.faq-item:nth-child(even) .faq-icon { color: #8B5CF6 !important; }
.faq-item:nth-child(odd) .faq-question:hover { color: var(--color-teal) !important; }
.faq-item:nth-child(even) .faq-question:hover { color: #8B5CF6 !important; }

/* --- Notice: rainbow left border --- */
.notice--info {
  border-left: 3px solid transparent !important;
  border-image: linear-gradient(180deg, #1CA64F, #0C8ECA, #8B5CF6) 1 !important;
}

/* --- Scrollbar: rainbow --- */
::-webkit-scrollbar-thumb { 
  background: linear-gradient(180deg, #1CA64F, #0C8ECA, #8B5CF6) !important; 
  border-radius: 3px !important;
}
::-webkit-scrollbar-thumb:hover { 
  background: linear-gradient(180deg, #0C8ECA, #8B5CF6, #EC4899) !important; 
}

/* --- Selection: purple tint --- */
::selection {
  background: rgba(139, 92, 246, 0.15) !important;
  color: #8B5CF6 !important;
}

/* --- Reduce motion: disable all animations --- */
@media (prefers-reduced-motion: reduce) {
  .gradient-text,
  .badge--sage,
  .btn--primary,
  .btn--primary:hover,
  .pricing-card--featured::before,
  .eyebrow::before {
    animation: none !important;
  }
}


/* ---- Logo image ---- */
.nav-logo__img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Footer logo: slightly transparent */
.footer-logo .nav-logo__img {
  width: 28px;
  height: 28px;
  opacity: 0.7;
  filter: brightness(10);
}

/* Mobile: slightly smaller */
@media (max-width: 1079px) {
  .nav-logo__img { width: 28px; height: 28px; }
}
