/* XOLBY v2 — light enterprise-SaaS design system.
   White base, near-black ink, violet accent (XOLBY brand), soft shadows,
   generous whitespace, card-driven layout. */

:root {
  --bg: #FFFFFF;
  --bg-soft: #F7F7FB;
  --bg-tint: #F3F0FF;
  --ink: #14121F;
  --ink-2: #3A3650;
  --muted: #6B6880;
  --line: #E7E5F0;
  --violet: #6D28D9;
  --violet-2: #7C3AED;
  --violet-3: #A78BFA;
  --green: #16A34A;
  --shadow-sm: 0 1px 2px rgba(20, 18, 31, 0.06), 0 1px 3px rgba(20, 18, 31, 0.08);
  --shadow-md: 0 4px 6px rgba(20, 18, 31, 0.04), 0 10px 24px rgba(20, 18, 31, 0.08);
  --shadow-lg: 0 12px 20px rgba(20, 18, 31, 0.06), 0 24px 60px rgba(109, 40, 217, 0.10);
  --radius: 14px;
  --maxw: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, 'Segoe UI', system-ui, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---- top utility bar ---- */
.topbar { background: var(--ink); color: #CFC9DE; font-size: 12.5px; padding: 7px 0; }
.topbar-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.topbar b { color: #fff; }
.topbar a { color: var(--violet-3); text-decoration: none; font-weight: 600; }
.topbar .tb-contact { display: flex; gap: 18px; white-space: nowrap; }
.topbar .tb-contact a { color: #CFC9DE; font-weight: 500; }
.topbar .tb-contact a:hover { color: #fff; }
@media (max-width: 940px) { .topbar .tb-contact { display: none; } .topbar-inner { justify-content: center; text-align: center; } }

/* ---- enterprise finish ---- */
::selection { background: rgba(124, 58, 237, 0.22); }
:focus-visible { outline: 2.5px solid var(--violet-2); outline-offset: 2px; border-radius: 4px; }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: #C9C3DC; border-radius: 6px; border: 3px solid var(--bg-soft); }
::-webkit-scrollbar-thumb:hover { background: var(--violet-3); }

/* ---- nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo {
  font-weight: 800; font-size: 21px; letter-spacing: 2px;
  color: var(--ink); text-decoration: none;
}
.logo span { color: var(--violet); }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a {
  color: var(--ink-2); text-decoration: none; font-size: 14.5px; font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--violet); }
.nav-ghost {
  border: 1.5px solid var(--line); padding: 8px 16px; border-radius: 999px;
  font-weight: 600 !important;
}
.nav-ghost:hover { border-color: var(--violet); }
.nav-cta {
  background: var(--violet); color: #fff !important; padding: 9px 20px;
  border-radius: 999px; font-weight: 600 !important;
  box-shadow: var(--shadow-sm);
}
.nav-cta:hover { background: var(--violet-2); }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); font-size: 24px; cursor: pointer; }

/* ---- mega menu ---- */
.nav-item > a .caret { font-size: 10px; opacity: 0.6; margin-left: 3px; }
.has-mega { position: static; }
/* Full-height hover targets: the link's hit area reaches the header's bottom
   edge, so the cursor never crosses dead pixels on the way to the panel. */
.has-mega > a, .has-drop > a {
  display: inline-flex; align-items: center; height: 68px;
}
.mega {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 48px rgba(20, 18, 31, 0.10);
  padding: 30px 0 34px;
}
/* Opening is driven by JS (grace-timer hover intent) + keyboard focus.
   No bare :hover rule: it snapped shut the instant the cursor left. */
.has-mega:focus-within .mega, .has-mega.open .mega { display: block; }
.mega-grid {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.mega h5 {
  font-size: 11.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--violet); margin-bottom: 12px;
}
.mega a {
  display: block; padding: 7px 0; color: var(--ink-2) !important;
  font-size: 14px !important; font-weight: 600 !important; text-decoration: none;
  line-height: 1.35;
}
.mega a small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 1px; }
.mega a:hover { color: var(--violet) !important; }
.mega .mega-cta {
  margin-top: 10px; padding: 12px 14px; background: var(--bg-tint); border-radius: 10px;
  color: var(--violet) !important;
}
.has-drop { position: relative; }
.drop {
  display: none; position: absolute; top: 100%; left: -14px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-md); min-width: 280px; padding: 10px 14px; z-index: 60;
}
.has-drop:focus-within .drop, .has-drop.open .drop { display: block; }
.drop a {
  display: block; padding: 9px 8px; border-radius: 8px;
  color: var(--ink-2) !important; font-size: 14px !important; font-weight: 600 !important;
}
.drop a small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
.drop a:hover { background: var(--bg-soft); }

/* ---- buttons ---- */
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 999px;
  font-weight: 600; font-size: 15.5px; text-decoration: none;
  transition: transform 0.12s, background 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--violet); color: #fff;
  box-shadow: 0 6px 16px rgba(109, 40, 217, 0.28);
}
.btn-primary:hover { background: var(--violet-2); box-shadow: 0 8px 22px rgba(109, 40, 217, 0.34); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--violet); color: var(--violet); }

/* ---- hero ---- */
.hero {
  position: relative; overflow: hidden;
  padding: 84px 0 72px;
  background:
    radial-gradient(700px 360px at 90% 0%, rgba(124, 58, 237, 0.07), transparent 60%),
    linear-gradient(180deg, #FDFCFF 0%, #FFFFFF 100%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-tint); color: var(--violet);
  font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(36px, 4.6vw, 54px); line-height: 1.1; font-weight: 800;
  letter-spacing: -1.6px; margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--violet); }
.hero .sub { color: var(--muted); font-size: 18.5px; max-width: 520px; margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-proof {
  margin-top: 24px; color: var(--muted); font-size: 14px;
  display: flex; align-items: center; gap: 8px;
}
.hero-proof .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }

/* hero product mockup (pure CSS) */
.mock {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.mock-bar {
  display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.mock-bar i:nth-child(1) { background: #FF5F57; }
.mock-bar i:nth-child(2) { background: #FEBC2E; }
.mock-bar i:nth-child(3) { background: #28C840; }
.mock-body { padding: 22px; display: grid; grid-template-columns: 88px 1fr; gap: 18px; }
.mock-side { display: flex; flex-direction: column; gap: 10px; }
.mock-side b {
  height: 10px; border-radius: 5px; background: var(--line); display: block;
}
.mock-side b:first-child { background: var(--violet-3); }
.mock-main { display: flex; flex-direction: column; gap: 12px; }
.mock-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-stat {
  border: 1px solid var(--line); border-radius: 10px; padding: 12px;
}
.mock-stat b { display: block; font-size: 17px; font-weight: 800; color: var(--violet); letter-spacing: -0.5px; }
.mock-stat span { font-size: 10.5px; color: var(--muted); }
.mock-chart {
  border: 1px solid var(--line); border-radius: 10px; height: 120px;
  background:
    linear-gradient(0deg, rgba(124, 58, 237, 0.10), transparent 70%),
    repeating-linear-gradient(90deg, transparent 0 34px, var(--line) 34px 35px);
  position: relative; overflow: hidden;
}
.mock-chart::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 74%;
  clip-path: polygon(0 78%, 12% 66%, 26% 72%, 40% 52%, 55% 58%, 70% 34%, 84% 40%, 100% 16%, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.55), rgba(124, 58, 237, 0.06));
}
.mock-rows { display: flex; flex-direction: column; gap: 8px; }
.mock-rows i {
  height: 12px; border-radius: 6px; background: var(--bg-soft); display: block;
  border: 1px solid var(--line);
}
.mock-badge {
  position: absolute; right: 26px; bottom: 26px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-md); padding: 12px 16px; font-size: 12.5px;
}
.mock-badge b { color: var(--green); }
.hero-visual { position: relative; }

/* ---- logos strip ---- */
.logostrip { padding: 34px 0 10px; }
.logostrip p {
  text-align: center; color: var(--muted); font-size: 12.5px; font-weight: 600;
  letter-spacing: 1.8px; text-transform: uppercase; margin-bottom: 18px;
}
.logos {
  display: flex; flex-wrap: wrap; gap: 16px 36px; justify-content: center; align-items: center;
}
.logos span {
  color: #9A96AC; font-weight: 700; font-size: 16px; letter-spacing: 0.3px;
  display: inline-flex; align-items: center; gap: 9px;
  filter: grayscale(1); opacity: 0.75; transition: filter 0.2s, opacity 0.2s;
}
.logos span:hover { filter: none; opacity: 1; }
.logos img { height: 22px; width: auto; display: block; }

/* ---- sections ---- */
section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.kicker {
  color: var(--violet); font-size: 12.5px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 14px;
}
h2.title {
  font-size: clamp(28px, 3.8vw, 40px); font-weight: 800; letter-spacing: -1px;
  line-height: 1.15; max-width: 680px; margin-bottom: 16px;
}
.lead { color: var(--muted); font-size: 17px; max-width: 640px; }
.center { text-align: center; }
.center h2.title, .center .lead { margin-left: auto; margin-right: auto; }

/* ---- cards ---- */
.grid { display: grid; gap: 20px; margin-top: 48px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; text-align: left;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.18s, transform 0.18s, border-color 0.18s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: #D9D2F2; }
.card .icon {
  width: 44px; height: 44px; border-radius: 11px; display: flex;
  align-items: center; justify-content: center; font-size: 21px;
  background: var(--bg-tint); margin-bottom: 16px;
}
.card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.2px; }
.card p { color: var(--muted); font-size: 14.5px; }
.card .more {
  display: inline-block; margin-top: 12px;
  color: var(--violet); font-size: 14px; text-decoration: none; font-weight: 600;
}
.card .more:hover { text-decoration: underline; }

/* ---- journey columns ---- */
.journey .col {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
}
.journey .col h3 {
  font-size: 20px; font-weight: 800; margin-bottom: 6px;
  display: flex; align-items: center; gap: 10px; letter-spacing: -0.3px;
}
.journey .col .num {
  width: 30px; height: 30px; border-radius: 50%; background: var(--violet); color: #fff;
  font-size: 14px; display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.journey .col > p { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }
.journey ul { list-style: none; }
.journey li {
  padding: 10px 0 10px 28px; position: relative;
  border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 14.5px;
}
.journey li:last-child { border-bottom: 0; }
.journey li::before {
  content: '✓'; position: absolute; left: 2px; color: var(--green); font-weight: 700;
}

/* ---- spotlight / case study ---- */
.spotlight {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  margin-top: 24px;
}
.spotlight .shot {
  border-radius: 16px; border: 1px solid var(--line); overflow: hidden;
  background: linear-gradient(140deg, var(--bg-tint), #fff 65%);
  aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 14px; box-shadow: var(--shadow-lg);
}
.spotlight .shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stat-row { display: flex; gap: 40px; margin: 28px 0; flex-wrap: wrap; }
.stat b { display: block; font-size: 34px; font-weight: 800; color: var(--violet); letter-spacing: -1.2px; }
.stat span { color: var(--muted); font-size: 13px; }

/* ---- testimonial ---- */
.quote {
  max-width: 780px; margin: 0 auto; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 52px 56px; box-shadow: var(--shadow-md);
}
.quote .mark { font-size: 54px; color: var(--violet-3); line-height: 0.6; font-family: Georgia, serif; }
.quote blockquote { font-size: clamp(19px, 2.5vw, 23px); font-weight: 600; line-height: 1.5; margin: 18px 0 24px; letter-spacing: -0.3px; }
.quote .who-row { display: flex; align-items: center; justify-content: center; gap: 12px; }
.quote .avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--violet-2), var(--violet-3));
  color: #fff; font-weight: 700; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}
.quote .who { text-align: left; font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.quote .who b { display: block; color: var(--ink); font-size: 14.5px; }

/* ---- CTA band ---- */
.cta-band {
  background: linear-gradient(120deg, var(--violet) 0%, #4C1D95 100%);
  border-radius: 22px; padding: 64px 48px; text-align: center; color: #fff;
  box-shadow: 0 24px 60px rgba(109, 40, 217, 0.25);
}
.cta-band h2 { font-size: clamp(26px, 3.5vw, 38px); font-weight: 800; letter-spacing: -0.8px; margin-bottom: 10px; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin-bottom: 30px; font-size: 16.5px; }
.cta-band .hero-ctas { justify-content: center; }
.cta-band .btn-primary { background: #fff; color: var(--violet); box-shadow: none; }
.cta-band .btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; background: transparent; }
.cta-band .btn-ghost:hover { border-color: #fff; }

/* ---- FAQ ---- */
.faq { max-width: 780px; margin: 44px auto 0; text-align: left; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  margin-bottom: 12px; box-shadow: var(--shadow-sm);
}
.faq-item button {
  width: 100%; background: none; border: 0; color: var(--ink);
  font-size: 16px; font-weight: 600; text-align: left; padding: 20px 52px 20px 22px;
  cursor: pointer; position: relative; font-family: inherit;
}
.faq-item button::after {
  content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  color: var(--violet); font-size: 22px; transition: transform 0.2s;
}
.faq-item.open button::after { transform: translateY(-50%) rotate(45deg); }
.faq-item .a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-item.open .a { max-height: 300px; }
.faq-item .a p { color: var(--muted); font-size: 15px; padding: 0 22px 20px; }

/* ---- footer ---- */
footer { background: var(--ink); color: #B9B3CC; padding: 64px 0 40px; }
footer .logo { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr 0.9fr; gap: 28px; }
.foot-note {
  margin-top: 18px; background: #1E1930; border: 1px solid #2A2540; border-radius: 12px;
  padding: 14px 16px; font-size: 13px; color: #B9B3CC;
}
.foot-note b { color: #fff; display: block; margin-bottom: 3px; }
.foot-note a { color: var(--violet-3); text-decoration: none; font-weight: 600; }
.foot-grid h4 { font-size: 12.5px; letter-spacing: 1.8px; text-transform: uppercase; color: #8D87A3; margin-bottom: 14px; }
.foot-grid a { display: block; color: #CFC9DE; text-decoration: none; font-size: 14.5px; padding: 5px 0; }
.foot-grid a:hover { color: var(--violet-3); }
.foot-brand p { color: #8D87A3; font-size: 14px; margin-top: 12px; max-width: 260px; }
.foot-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid #2A2540;
  display: flex; justify-content: space-between; color: #8D87A3; font-size: 13px; flex-wrap: wrap; gap: 10px;
}

/* ---- interior page hero ---- */
.page-hero {
  padding: 68px 0 56px; text-align: center;
  background:
    radial-gradient(600px 300px at 50% -20%, rgba(124, 58, 237, 0.08), transparent 60%),
    linear-gradient(180deg, #FDFCFF 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(32px, 4.2vw, 48px); font-weight: 800; letter-spacing: -1.2px;
  line-height: 1.12; max-width: 760px; margin: 0 auto 16px;
}
.page-hero h1 em { font-style: normal; color: var(--violet); }
.page-hero .sub { color: var(--muted); font-size: 18px; max-width: 620px; margin: 0 auto; }
.page-hero .hero-ctas { justify-content: center; margin-top: 28px; }
.crumb {
  font-size: 13px; color: var(--muted); margin-bottom: 18px; font-weight: 500;
}
.crumb a { color: var(--violet); text-decoration: none; }

/* ---- alternating feature rows ---- */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  padding: 44px 0;
}
.feature-row + .feature-row { border-top: 1px solid var(--line); }
.feature-row.flip .fr-visual { order: -1; }
.feature-row h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.6px; margin-bottom: 10px; }
.feature-row > div > p { color: var(--muted); font-size: 15.5px; margin-bottom: 16px; }
.fr-visual {
  border-radius: 14px; border: 1px solid var(--line);
  background: linear-gradient(140deg, var(--bg-tint), #fff 70%);
  aspect-ratio: 16/10; box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 42px;
}
.check-list { list-style: none; }
.check-list li {
  padding: 8px 0 8px 28px; position: relative; color: var(--ink-2); font-size: 14.5px;
}
.check-list li::before {
  content: '✓'; position: absolute; left: 2px; color: var(--green); font-weight: 700;
}

/* ---- pricing ---- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 34px 28px; text-align: left; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.price-card.featured {
  border: 2px solid var(--violet); box-shadow: var(--shadow-lg); position: relative;
}
.price-card .flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--violet); color: #fff; font-size: 11.5px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; padding: 4px 14px; border-radius: 999px;
}
.price-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.price-card .for { color: var(--muted); font-size: 13.5px; margin-bottom: 18px; }
.price-card .model { font-size: 24px; font-weight: 800; color: var(--violet); letter-spacing: -0.6px; margin-bottom: 18px; }
.price-card .model span { display: block; font-size: 12.5px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.price-card .check-list { flex: 1; margin-bottom: 22px; }
.price-card .btn { text-align: center; }

/* ---- case-study timeline ---- */
.timeline { max-width: 760px; margin: 44px auto 0; text-align: left; position: relative; padding-left: 34px; }
.timeline::before {
  content: ''; position: absolute; left: 10px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(180deg, var(--violet-3), var(--line));
}
.tl-item { position: relative; padding: 0 0 34px; }
.tl-item::before {
  content: ''; position: absolute; left: -30px; top: 6px; width: 14px; height: 14px;
  border-radius: 50%; background: #fff; border: 3px solid var(--violet);
}
.tl-item h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 4px; }
.tl-item p { color: var(--muted); font-size: 14.5px; }
.tl-item .tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--violet); background: var(--bg-tint);
  border-radius: 999px; padding: 3px 10px; margin-bottom: 8px;
}

/* ---- big stat band ---- */
.band {
  background: var(--ink); border-radius: 20px; color: #fff;
  padding: 44px 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  text-align: center; margin-top: 48px;
}
.band b { display: block; font-size: 34px; font-weight: 800; color: var(--violet-3); letter-spacing: -1px; }
.band span { color: #B9B3CC; font-size: 13px; }

/* ---- contact form ---- */
.form-card {
  max-width: 640px; margin: 44px auto 0; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 36px; box-shadow: var(--shadow-md); text-align: left;
}
.form-card label { display: block; font-size: 13.5px; font-weight: 600; margin: 16px 0 6px; }
.form-card input, .form-card select, .form-card textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 14.5px; color: var(--ink); background: #fff;
}
.form-card input:focus, .form-card select:focus, .form-card textarea:focus {
  outline: none; border-color: var(--violet);
}
.form-card .btn { width: 100%; margin-top: 24px; border: 0; cursor: pointer; font-family: inherit; }

/* ---- blog cards ---- */
.post-meta { font-size: 12.5px; color: var(--muted); margin-bottom: 8px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; }
.soon {
  display: inline-block; background: var(--bg-tint); color: var(--violet);
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  border-radius: 999px; padding: 3px 10px;
}

/* ---- blog articles ---- */
.article { max-width: 720px; margin: 0 auto; padding: 24px 0 20px; }
.article .post-meta-row {
  display: flex; gap: 14px; align-items: center; color: var(--muted);
  font-size: 13.5px; margin-bottom: 26px; flex-wrap: wrap;
}
.article .post-meta-row .cat {
  background: var(--bg-tint); color: var(--violet); font-weight: 700;
  font-size: 11.5px; letter-spacing: 1.2px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px;
}
.prose p { color: var(--ink-2); font-size: 16.5px; line-height: 1.75; margin-bottom: 20px; }
.prose h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; margin: 38px 0 12px; }
.prose h3 { font-size: 18.5px; font-weight: 700; margin: 28px 0 10px; }
.prose ul, .prose ol { margin: 0 0 20px 22px; color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.prose li { margin-bottom: 8px; }
.prose blockquote {
  border-left: 3px solid var(--violet); padding: 6px 0 6px 20px; margin: 26px 0;
  color: var(--ink); font-weight: 600; font-size: 18px;
}
.prose .callout {
  background: var(--bg-tint); border: 1px solid #DED4F7; border-radius: 12px;
  padding: 18px 22px; margin: 26px 0; font-size: 15px; color: var(--ink-2);
}
.prose .callout b { color: var(--violet); }
.article .post-cover {
  border-radius: 14px; border: 1px solid var(--line); background: linear-gradient(140deg, var(--bg-tint), #fff 70%);
  aspect-ratio: 21/9; display: flex; align-items: center; justify-content: center;
  font-size: 44px; margin-bottom: 34px; box-shadow: var(--shadow-md);
}
.blog-featured { border: 2px solid var(--violet); box-shadow: var(--shadow-lg); }

/* ---- reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---- responsive ---- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .spotlight { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 20px 24px; gap: 16px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    max-height: calc(100vh - 68px); overflow-y: auto; align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  /* Mega/dropdown collapse inline on mobile instead of floating. */
  .has-mega > a, .has-drop > a { height: auto; }
  .mega, .drop {
    position: static; box-shadow: none; border: 0; border-radius: 0;
    padding: 6px 0 4px; min-width: 0;
  }
  .mega-grid { grid-template-columns: 1fr; gap: 18px; padding: 0; }
}
@media (max-width: 940px) {
  .feature-row { grid-template-columns: 1fr; gap: 28px; }
  .feature-row.flip .fr-visual { order: 0; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .band { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .cta-band { padding: 44px 24px; }
  .quote { padding: 36px 24px; }
  .band { grid-template-columns: 1fr; padding: 34px 24px; }
  .form-card { padding: 26px 20px; }
}
