/* ============================================================
   SCHOLARO — SCHOOL-FIRST DESIGN SYSTEM (shared across pages)
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:        #17241C;
  --ink-2:      #46524A;
  --ink-3:      #808C81;
  --paper:      #FBF8F0;
  --paper-2:    #FFFFFF;
  --line:       #E4DFCC;
  --line-soft:  #EFEBDC;

  --green:      #1F5C3F;
  --green-deep: #123726;
  --green-tint: #E1EEE6;

  --blue:       #2C6E9E;
  --blue-deep:  #1F4F73;
  --blue-tint:  #E4EEF5;

  --yellow:     #F5A623;
  --yellow-deep:#B87710;
  --yellow-tint:#FCEFD6;

  --coral:      #D9542F;
  --coral-deep: #A83E20;
  --coral-tint: #FBE7DF;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow: 0 1px 2px rgba(23,36,28,.05), 0 8px 24px rgba(23,36,28,.07);
  --shadow-lg: 0 20px 50px rgba(23,36,28,.16);
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--paper); color: var(--ink); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg { display: block; }
ul { list-style: none; }
.font-display { font-family: 'Poppins', sans-serif; }
.font-mono { font-family: 'IBM Plex Mono', monospace; }
::selection { background: var(--yellow-tint); color: var(--yellow-deep); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 5%; }
.hide-mobile { }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* TICKER */
.ticker { background: var(--green-deep); color: rgba(255,255,255,.72); overflow: hidden; white-space: nowrap; border-bottom: 1px solid rgba(255,255,255,.08); }
.ticker-track { display: inline-flex; align-items: center; gap: 34px; padding: 9px 0; animation: ticker-scroll 34s linear infinite; }
.ticker-item { display: inline-flex; align-items: center; gap: 8px; font-family: 'IBM Plex Mono', monospace; font-size: 12px; }
.ticker-item b { color: #fff; font-weight: 500; }
.ticker-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); flex-shrink: 0; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* NAV */
nav.site-nav { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 0 5%; height: 68px; background: rgba(251,248,240,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-soft); transition: box-shadow .2s; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-icon { width: 34px; height: 34px; border-radius: 10px; background: var(--green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nav-logo-icon svg { width: 18px; height: 18px; }
.nav-brand { font-family: 'Poppins', sans-serif; font-size: 19px; font-weight: 600; letter-spacing: -0.2px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; position: relative; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.current { color: var(--ink); }
.nav-links a.current::after { content:''; position:absolute; left:0; right:0; bottom:-22px; height:2px; background:var(--yellow); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none; border: none; cursor: pointer; font-family: 'Inter', sans-serif; transition: transform .15s, box-shadow .15s, background .15s, border-color .15s; white-space: nowrap; }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(245,166,35,.35); }
.btn-green { background: var(--green); color: white; }
.btn-green:hover { background: var(--green-deep); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); border-radius: 999px; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-white { background: white; color: var(--green-deep); }
.btn-white:hover { transform: translateY(-1px); }
.btn-outline-light { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,.4); }
.btn-outline-light:hover { border-color: white; }
.btn-block { width: 100%; }

/* HERO */
.page-hero { padding: 60px 5% 48px; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--green); background: var(--green-tint); padding: 6px 14px; border-radius: 999px; margin-bottom: 20px; }
.page-hero h1 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: clamp(30px, 4.6vw, 50px); letter-spacing: -1px; line-height: 1.14; max-width: 760px; margin: 0 auto; }
.page-hero h1 .accent { color: var(--green); }
.page-hero p { font-size: 16.5px; color: var(--ink-2); max-width: 560px; margin: 16px auto 0; line-height: 1.65; }

section { padding: 84px 5%; }
.section-head { max-width: 620px; }
.section-head.center { max-width: 640px; margin: 0 auto; text-align: center; }
.section-title { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -0.5px; line-height: 1.18; }
.section-sub { font-size: 16.5px; color: var(--ink-2); margin-top: 12px; line-height: 1.65; }
.section-tag { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-deep); margin-bottom: 12px; display: block; }

/* STAT STRIP */
.stat-strip { display: flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper-2); overflow: hidden; }
.stat-cell { flex: 1; min-width: 160px; padding: 24px 22px; border-right: 1px solid var(--line); display: flex; gap: 12px; align-items: flex-start; }
.stat-cell:last-child { border-right: none; }
.stat-icon { width: 30px; height: 30px; flex-shrink: 0; color: var(--green); }
.stat-num { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 21px; letter-spacing: -0.3px; }
.stat-label { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; line-height: 1.4; }

/* DASHBOARD MOCKUP */
.mockup { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.mockup-bar { background: var(--green-deep); padding: 12px 16px; display: flex; align-items: center; gap: 8px; }
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.25); }
.mockup-url { flex: 1; margin: 0 12px; background: rgba(255,255,255,.1); border-radius: 6px; padding: 5px 12px; font-size: 12px; color: rgba(255,255,255,.7); font-family: 'IBM Plex Mono', monospace; }
.mockup-bell { width: 16px; height: 16px; color: var(--yellow); }
.mockup-body { padding: 22px; display: grid; grid-template-columns: 190px 1fr; gap: 20px; background: #F7F5EA; }
.mockup-side { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.mockup-side-brand { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 13px; margin-bottom: 16px; }
.mockup-side-item { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-2); padding: 8px 10px; border-radius: 8px; margin-bottom: 3px; }
.mockup-side-item svg { width: 14px; height: 14px; flex-shrink: 0; }
.mockup-side-item.active { color: var(--green-deep); background: var(--green-tint); font-weight: 600; }
.mockup-top { display: flex; justify-content: space-between; align-items: center; }
.mockup-greet { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 16px; }
.mockup-live { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; background: var(--green-tint); color: var(--green-deep); padding: 5px 12px; border-radius: 999px; font-weight: 600; }
.mockup-live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.mockup-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 14px; }
.mockup-stat { background: white; border: 1px solid var(--line); border-top: 3px solid var(--stat-color, var(--green)); border-radius: 10px; padding: 13px 14px; }
.mockup-stat-num { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 19px; }
.mockup-stat-label { font-size: 11px; color: var(--ink-3); margin-top: 2px; }
.mockup-table { background: white; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-top: 14px; }
.mockup-row { display: grid; grid-template-columns: 1fr 80px 90px; padding: 9px 14px; font-size: 12px; }
.mockup-row.head { text-transform: uppercase; font-size: 10px; letter-spacing: .04em; color: var(--ink-3); background: #F9F8F0; font-weight: 600; }
.mockup-row:not(.head) { border-top: 1px solid var(--line); }
.pill { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; font-size: 11.5px; }
.pill::before { content:''; width:6px; height:6px; border-radius:50%; }
.pill.present { color: var(--green); } .pill.present::before { background: var(--green); }
.pill.absent { color: var(--coral); } .pill.absent::before { background: var(--coral); }
.pill.late { color: var(--yellow-deep); } .pill.late::before { background: var(--yellow); }

/* BOARD CHIPS */
.board-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip { padding: 8px 18px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.chip.c-green { background: var(--green-tint); color: var(--green-deep); }
.chip.c-blue  { background: var(--blue-tint); color: var(--blue-deep); }
.chip.c-yellow{ background: var(--yellow-tint); color: var(--yellow-deep); }

/* CARDS / GRIDS */
.card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 28px; transition: transform .18s, box-shadow .18s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.icon-tile { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.icon-tile svg { width: 22px; height: 22px; }
.icon-tile.c-green { background: var(--green-tint); color: var(--green-deep); }
.icon-tile.c-blue  { background: var(--blue-tint); color: var(--blue-deep); }
.icon-tile.c-yellow{ background: var(--yellow-tint); color: var(--yellow-deep); }
.icon-tile.c-coral { background: var(--coral-tint); color: var(--coral-deep); }
.card-title { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.card-body { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.step-num { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--yellow-deep); background: var(--yellow-tint); display: inline-block; padding: 3px 9px; border-radius: 6px; margin-bottom: 14px; }

/* PROBLEM / SOLUTION */
.ps-band { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-top: 44px; }
.ps-col { padding: 34px 32px; }
.ps-col.problem { background: var(--coral-tint); }
.ps-col.solution { background: var(--green-tint); }
.ps-label { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; display: block; }
.ps-col.problem .ps-label { color: var(--coral-deep); }
.ps-col.solution .ps-label { color: var(--green-deep); }
.ps-row { display: flex; gap: 12px; align-items: flex-start; padding: 13px 0; border-top: 1px solid rgba(23,36,28,.08); font-size: 14px; }
.ps-row:first-of-type { border-top: none; }
.ps-icon { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
.ps-col.problem .ps-icon { color: var(--coral-deep); }
.ps-col.solution .ps-icon { color: var(--green-deep); }

/* PRICING */
.billing-toggle { display: inline-flex; align-items: center; gap: 10px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin: 10px auto 0; }
.billing-toggle span { font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 999px; color: var(--ink-3); }
.billing-toggle span.active { background: var(--green); color: white; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: stretch; }
.price-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; display: flex; flex-direction: column; }
.price-card.skeleton-card { gap: 12px; }
.skeleton-bar { background: linear-gradient(90deg, var(--line-soft) 25%, var(--line) 50%, var(--line-soft) 75%); background-size: 200% 100%; animation: skeleton-shimmer 1.4s infinite; border-radius: 6px; }
@keyframes skeleton-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.pricing-status { font-size: 12px; color: var(--ink-3); text-align: center; margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 7px; }
.pricing-status .status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.pricing-status.is-error .status-dot { background: var(--coral); }
.pricing-status.is-error { color: var(--coral-deep); }

/* ── DEMO LOGIN PAGE ── */
.demo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.demo-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; }
.demo-card.featured { border: 2px solid var(--green); box-shadow: var(--shadow-lg); }
.demo-role-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--green-tint); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; }
.demo-role-title { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 18px; }
.demo-role-desc { font-size: 13px; color: var(--ink-2); margin-top: 6px; min-height: 34px; line-height: 1.55; }
.cred-box { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.cred-row { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cred-row-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); margin-bottom: 2px; }
.cred-row-value { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--ink); word-break: break-all; }
.cred-copy-btn { flex-shrink: 0; width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line); background: white; color: var(--ink-2); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color .15s, color .15s; }
.cred-copy-btn:hover { border-color: var(--green); color: var(--green); }
.cred-copy-btn svg { width: 15px; height: 15px; }
.cred-copy-btn.copied { border-color: var(--green); color: var(--green); background: var(--green-tint); }
.demo-card .btn-block { margin-top: 20px; }
.demo-notice { display: flex; gap: 14px; align-items: flex-start; background: var(--yellow-tint); border: 1px solid #EBD5A0; border-radius: var(--radius-md); padding: 20px 22px; margin-bottom: 32px; }
.demo-notice svg { width: 20px; height: 20px; color: var(--yellow-deep); flex-shrink: 0; margin-top: 1px; }
.demo-notice p { font-size: 13.5px; color: var(--ink-2); line-height: 1.6; margin: 0; }
.demo-notice strong { color: var(--ink); }
.demo-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin-top: 28px; }
.demo-step { display: flex; gap: 12px; align-items: flex-start; }
.demo-step-num { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 15px; color: white; background: var(--green); width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.demo-step p { font-size: 13.5px; color: var(--ink-2); margin-top: 3px; line-height: 1.55; }
.demo-step h5 { font-size: 14px; font-weight: 600; color: var(--ink); }
.price-card.featured { border: 2px solid var(--green); box-shadow: var(--shadow-lg); position: relative; }
.price-badge { position: absolute; top: -13px; left: 28px; background: var(--green); color: white; font-size: 11px; font-weight: 700; padding: 5px 14px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.price-plan { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 17px; }
.price-desc { font-size: 13px; color: var(--ink-2); margin-top: 6px; min-height: 36px; }
.price-amount { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 36px; margin-top: 18px; letter-spacing: -1px; }
.price-amount span { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 500; color: var(--ink-3); }
.price-list { margin: 24px 0 26px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.price-list li { display: flex; gap: 9px; font-size: 13.5px; color: var(--ink-2); align-items: flex-start; }
.price-list svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; margin-top: 2px; }

.compare-table { width: 100%; border-collapse: collapse; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.compare-table th, .compare-table td { padding: 14px 18px; text-align: left; font-size: 13.5px; border-bottom: 1px solid var(--line); }
.compare-table th { font-family: 'Poppins', sans-serif; font-weight: 600; background: #F7F5EA; font-size: 13px; }
.compare-table td.center, .compare-table th.center { text-align: center; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table svg.yes { width: 17px; height: 17px; color: var(--green); }
.compare-table svg.no { width: 17px; height: 17px; color: var(--line); }
.compare-cat td { background: var(--paper); font-weight: 600; font-family: 'IBM Plex Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }

.custom-band { background: var(--ink); border-radius: var(--radius-lg); padding: 44px 40px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-top: 40px; }
.custom-band h3 { font-family: 'Poppins', sans-serif; color: white; font-size: 22px; font-weight: 600; }
.custom-band p { color: rgba(255,255,255,.62); font-size: 14px; margin-top: 8px; max-width: 480px; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-item summary { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 15px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 20px; color: var(--ink-3); flex-shrink: 0; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { font-size: 14px; color: var(--ink-2); margin-top: 12px; line-height: 1.6; max-width: 640px; }

/* TESTIMONIAL */
.testimonial-band { background: var(--green-deep); padding: 76px 5%; }
.testimonial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.testimonial-mark { width: 30px; height: 24px; color: var(--yellow); margin-bottom: 16px; }
.testimonial-quote { font-family: 'Inter', sans-serif; font-weight: 500; font-size: clamp(16px,1.7vw,18.5px); color: #fff; line-height: 1.6; }
.testimonial-author { margin-top: 18px; font-size: 13.5px; color: rgba(255,255,255,.55); }
.testimonial-author strong { color: rgba(255,255,255,.92); font-weight: 600; }

/* CTA BANNER */
.cta-band { padding: 84px 5%; text-align: center; }
.cta-box { background: var(--green); border-radius: var(--radius-lg); padding: 56px 40px; max-width: 760px; margin: 0 auto; position: relative; overflow: hidden; }
.cta-box::before { content:''; position:absolute; inset:0; background-image: radial-gradient(rgba(255,255,255,.10) 1.5px, transparent 1.5px); background-size: 22px 22px; mask-image: radial-gradient(ellipse 70% 70% at 50% 20%, black, transparent); }
.cta-box h2 { font-family:'Poppins',sans-serif; font-weight:700; font-size:clamp(24px,3.2vw,36px); color:#fff; letter-spacing:-0.5px; position:relative; }
.cta-box p { color: rgba(255,255,255,.82); font-size: 15.5px; margin: 14px 0 28px; position: relative; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }

/* CONTACT FORM */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; font-family: 'Inter', sans-serif; font-size: 14px; background: var(--paper-2); color: var(--ink); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--line); }
.contact-info-item:first-child { border-top: none; }

/* FOOTER */
footer.site-footer { background: var(--ink); padding: 52px 5% 28px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand .footer-logo { font-family:'Poppins',sans-serif; font-weight:600; font-size: 19px; color: white; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.45); margin-top: 12px; max-width: 240px; line-height: 1.65; }
.footer-col h4 { font-family:'IBM Plex Mono',monospace; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.4); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13.5px; color: rgba(255,255,255,.65); text-decoration: none; margin-bottom: 9px; }
.footer-col a:hover { color: white; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; flex-wrap: wrap; gap: 10px; }
.footer-copy, .footer-region { font-size: 12px; color: rgba(255,255,255,.35); }

/* PRICING TABS */
.pricing-tabs { display: inline-flex; gap: 4px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin: 28px 0 8px; }
.tab-btn { padding: 10px 22px; border-radius: 999px; border: none; background: transparent; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; color: var(--ink-3); cursor: pointer; transition: all .18s; }
.tab-btn.active { background: var(--green); color: white; }
.tab-btn:not(.active):hover { color: var(--ink); }

/* SKELETON LOADERS */
.loading-card { padding: 32px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); display: flex; flex-direction: column; gap: 12px; }
.skeleton { background: linear-gradient(90deg, var(--line-soft) 25%, var(--line) 50%, var(--line-soft) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 6px; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* CUSTOM PLAN BUILDER */
.custom-pricing-panel { margin-top: 8px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.custom-panel-header { padding: 26px 30px; border-bottom: 1px solid var(--line); display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.custom-panel-header h3 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 22px; color: var(--ink); }
.custom-panel-header p { font-size: 13.5px; color: var(--ink-3); margin-top: 4px; }
.load-features-btn { padding: 11px 22px; border-radius: 999px; background: var(--green); color: white; border: none; font-size: 14px; font-weight: 600; font-family: 'Inter', sans-serif; cursor: pointer; transition: opacity .15s; white-space: nowrap; }
.load-features-btn:hover { opacity: .88; }
.load-features-btn:disabled { opacity: .55; cursor: not-allowed; }
.load-features-btn.loaded { background: var(--blue); }
.custom-panel-body { padding: 30px; display: none; }
.custom-panel-body.open { display: block; }

.base-pkg-select { margin-bottom: 22px; }
.base-pkg-select label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.base-pkg-select select { padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper-2); font-family: 'Inter', sans-serif; font-size: 14px; color: var(--ink); cursor: pointer; outline: none; width: 100%; max-width: 340px; }
.base-pkg-select select:focus { border-color: var(--blue); }
.custom-divider { height: 1px; background: var(--line); margin: 24px 0; }

.billing-toggle-pills { display: flex; gap: 8px; margin-bottom: 24px; }
.billing-pill { padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper-2); font-size: 13px; font-weight: 600; font-family: 'Inter', sans-serif; cursor: pointer; color: var(--ink-3); transition: all .15s; }
.billing-pill.active { background: var(--ink); color: white; border-color: var(--ink); }

.category-block { margin-bottom: 26px; }
.category-label { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 12px; }
.features-grid-custom { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.feature-toggle { padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; transition: all .18s; display: flex; align-items: center; gap: 10px; }
.feature-toggle:hover { border-color: var(--blue); background: var(--blue-tint); }
.feature-toggle.selected { border-color: var(--green); background: var(--green-tint); }
.feature-toggle-check { width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--line); flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: all .15s; font-size: 11px; color: white; }
.feature-toggle.selected .feature-toggle-check { background: var(--green); border-color: var(--green); }
.feature-toggle-name { font-size: 13px; font-weight: 600; color: var(--ink); }
.feature-toggle-price { font-size: 11.5px; color: var(--ink-3); margin-top: 1px; }

.price-summary-bar { margin-top: 22px; padding: 20px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.summary-label { font-size: 12.5px; color: var(--ink-3); }
.summary-amount { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 30px; letter-spacing: -.5px; color: var(--ink); }
.summary-amount span { font-size: 13px; font-family: 'Inter', sans-serif; font-weight: 500; color: var(--ink-3); }
.summary-breakdown { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.summary-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.calc-btn { padding: 12px 24px; border-radius: 999px; background: var(--blue); color: white; border: none; font-size: 14px; font-weight: 600; font-family: 'Inter', sans-serif; cursor: pointer; transition: opacity .15s; }
.calc-btn:hover { opacity: .88; }
.calc-btn:disabled { opacity: .5; cursor: not-allowed; }
.subscribe-btn { padding: 12px 26px; border-radius: 999px; background: var(--yellow); color: var(--ink); border: none; font-size: 14px; font-weight: 700; font-family: 'Inter', sans-serif; cursor: pointer; transition: transform .15s, box-shadow .15s; display: none; }
.subscribe-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(245,166,35,.35); }

.api-note { font-size: 12px; color: var(--ink-3); margin-top: 10px; display: flex; align-items: center; gap: 6px; font-family: 'IBM Plex Mono', monospace; }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex-shrink: 0; animation: blink 2s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
.api-code { font-size: 11px; background: var(--line-soft); padding: 2px 6px; border-radius: 4px; font-family: 'IBM Plex Mono', monospace; }
.error-msg { font-size: 13px; color: var(--coral-deep); padding: 12px 16px; background: var(--coral-tint); border-radius: 10px; border: 1px solid rgba(217,84,47,.2); }
.plans-api-note { display: none; margin-top: 14px; justify-content: center; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .testimonial-grid, .contact-grid, .ps-grid, .pricing-grid { grid-template-columns: 1fr; }
  .mockup-body { grid-template-columns: 1fr; }
  .mockup-side { display: none; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  section { padding: 60px 5%; }
  .stat-strip { flex-direction: column; }
  .stat-cell { border-right: none; border-bottom: 1px solid var(--line); }
  .footer-top { grid-template-columns: 1fr; }
  .mockup-stats { grid-template-columns: 1fr; }
  .compare-table { display: block; overflow-x: auto; white-space: nowrap; }
}

/* REVEAL */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
