/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --navy-950: #060a14;
  --navy-900: #0a1020;
  --navy-850: #0e1527;
  --navy-800: #131c31;
  --navy-700: #1a2440;

  --line: rgba(255, 255, 255, 0.10);
  --line-soft: rgba(255, 255, 255, 0.06);

  --text: #eaeefb;
  --muted: #a7b1c8;
  --muted-2: #7b87a3;

  --violet: #7c5cff;
  --violet-strong: #6947ff;
  --violet-soft: #b5a6ff;
  --violet-tint: rgba(124, 92, 255, 0.16);

  --radius: 14px;
  --radius-lg: 20px;
  --container: 1200px;
  --pad: clamp(16px, 4vw, 32px);

  --space-1: 8px;
  --space-2: 12px;
  --space-3: 18px;
  --space-4: 26px;
  --space-5: 40px;
  --space-6: 64px;

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

/* 2. Reset & base ---------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--navy-900);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

main { flex: 1 1 auto; }

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  margin: 0;
  color: #fff;
  font-family: var(--font-head);
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.024em; }
h2 { font-size: clamp(1.55rem, 3.1vw, 2.25rem); font-weight: 600; letter-spacing: -0.018em; }
h3 { font-size: 1.1rem; font-weight: 600; line-height: 1.35; letter-spacing: -0.008em; }
h4 { font-size: 0.95rem; font-weight: 600; line-height: 1.4; }

p { margin: 0; text-wrap: pretty; }

a { color: var(--violet-soft); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--violet-soft);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--violet); color: #fff; }

/* 3. Layout ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-block: clamp(64px, 9vw, 120px); }
.section--alt { background: var(--navy-950); border-block: 1px solid var(--line-soft); }
.section--tight { padding-block: clamp(44px, 6vw, 72px); }
.section--flush-top { padding-top: 0; }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 + .lead { margin-top: 14px; }

.lead { max-width: 64ch; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.1rem); line-height: 1.72; }
.muted { color: var(--muted); }
.small { font-size: 0.86rem; }

.page-head {
  padding-block: clamp(52px, 7vw, 96px) clamp(44px, 6vw, 76px);
  background: var(--navy-950);
  border-bottom: 1px solid var(--line-soft);
}
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.page-head .lead { margin-top: 18px; max-width: 700px; }
.page-head--center { text-align: center; }
.page-head--center .lead { margin-inline: auto; }

.stack-24 > * + * { margin-top: var(--space-4); }
.stack-16 > * + * { margin-top: var(--space-3); }

/* 4. Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--violet); color: #fff; }
.btn-primary:hover { background: var(--violet-strong); }
.btn-ghost { background: transparent; border-color: var(--line); color: #fff; }
.btn-ghost:hover { background: var(--navy-800); border-color: rgba(255, 255, 255, 0.22); }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { background: #e9ecf6; }
.btn-full { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--violet-soft);
  font-size: 0.92rem;
  font-weight: 600;
}
.text-link svg { transition: transform 0.18s ease; }
.text-link:hover svg { transform: translateX(3px); }

/* 5. Announcement bar & header -------------------------------------------- */
.kreebi-announce {
  background: var(--violet-tint);
  border-bottom: 1px solid rgba(124, 92, 255, 0.28);
}
.kreebi-announce p {
  max-width: var(--container);
  margin-inline: auto;
  padding: 9px var(--pad);
  color: var(--violet-soft);
  font-size: 0.82rem;
  text-align: center;
}
.kreebi-announce a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 16, 32, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding-block: 8px;
}
.brand:hover { color: #fff; text-decoration: none; }
.brand svg { flex: none; }

.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--violet); }
.brand-logo { flex: none; width: 36px; height: 36px; object-fit: contain; }

.site-nav { margin-left: auto; }
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.site-nav a:hover { background: var(--navy-800); color: #fff; text-decoration: none; }

body[data-page="products"] .site-nav a[data-nav="products"],
body[data-page="portal"] .site-nav a[data-nav="products"],
body[data-page="forms"] .site-nav a[data-nav="products"],
body[data-page="proposals"] .site-nav a[data-nav="products"],
body[data-page="scheduler"] .site-nav a[data-nav="scheduler"],
body[data-page="pricing"] .site-nav a[data-nav="pricing"],
body[data-page="about"] .site-nav a[data-nav="about"],
body[data-page="faq"] .site-nav a[data-nav="faq"],
body[data-page="contact"] .site-nav a[data-nav="contact"] {
  background: var(--navy-800);
  color: #fff;
}

.header-cta { margin-left: var(--space-2); flex: none; }
.header-cta.btn { min-height: 44px; padding: 10px 18px; font-size: 0.92rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 12px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; }

@media (max-width: 1000px) {
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    margin-left: 0;
    padding: 12px var(--pad) 20px;
    background: var(--navy-900);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav a { padding: 13px 10px; }
}

/* 6. Footer ---------------------------------------------------------------- */
.site-footer {
  padding-block: clamp(48px, 7vw, 80px) 28px;
  background: var(--navy-950);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.5fr;
  gap: clamp(28px, 4vw, 48px);
}
.footer-about p { max-width: 34ch; margin-top: 16px; color: var(--muted); font-size: 0.92rem; }
.footer-about .footer-company { margin-top: 10px; color: var(--muted); font-size: 0.92rem; }
.footer-about .footer-company strong { color: #fff; font-weight: 600; }
.footer-about .footer-mail,
.footer-about .footer-phone {
  display: block;
  margin-top: 14px;
  color: var(--violet-soft);
  font-size: 0.92rem;
  font-weight: 600;
}
.footer-about .footer-phone { margin-top: 6px; }

.footer-col h4 {
  margin-bottom: 14px;
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-col ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.footer-col a { display: inline-block; padding-block: 4px; color: var(--muted); font-size: 0.92rem; }
.footer-col a:hover { color: #fff; text-decoration: none; }

.footer-newsletter p { margin-bottom: 16px; color: var(--muted); font-size: 0.9rem; }
.footer-legal-note { margin-top: 12px; color: var(--muted-2); font-size: 0.78rem; line-height: 1.6; }
.footer-legal-note a { color: var(--muted-2); text-decoration: underline; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}
.footer-bottom p { color: var(--muted-2); font-size: 0.82rem; }
.footer-bottom a { color: var(--muted-2); }
.footer-bottom a:hover { color: #fff; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about,
  .footer-newsletter { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* 7. Hero & sections ------------------------------------------------------- */
.hero {
  padding-block: clamp(56px, 8vw, 104px) clamp(56px, 8vw, 100px);
  background: var(--navy-950);
  border-bottom: 1px solid var(--line-soft);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero h1 { font-size: clamp(2.15rem, 4.6vw, 3.4rem); }
.hero .lead { max-width: 34em; margin-top: 20px; }
.hero .btn-row { margin-top: 30px; }
.hero-note { margin-top: 22px; color: var(--muted-2); font-size: 0.85rem; }
.hero-mock { min-width: 0; }
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; }
}

.product-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: clamp(32px, 4vw, 44px);
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}
.product-strip span { color: var(--muted-2); font-size: 0.82rem; letter-spacing: 0.04em; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border: 1px solid rgba(124, 92, 255, 0.35);
  border-radius: 999px;
  background: var(--violet-tint);
  color: var(--violet-soft);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag--live { border-color: rgba(46, 200, 150, 0.35); background: rgba(46, 200, 150, 0.12); color: #5be0b0; }

/* 8. Cards & grids --------------------------------------------------------- */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid--tight { gap: 14px; }
.grid--spaced { margin-top: var(--space-4); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--auto-sm { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

@media (max-width: 1000px) {
  .grid--3,
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: 1fr; }
}

.card {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.6vw, 28px);
  background: var(--navy-850);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
.card:hover { border-color: rgba(124, 92, 255, 0.4); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.94rem; line-height: 1.68; }
.card > :last-child { margin-bottom: 0; }
.card p + p { margin-top: 10px; }
.card .card-link { margin-top: auto; padding-top: 16px; }

.card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 11px;
  background: var(--violet-tint);
  color: var(--violet-soft);
}
.card-icon svg { width: 20px; height: 20px; }

.card--flat { background: transparent; }

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.feature-row + .feature-row { margin-top: clamp(48px, 7vw, 88px); }
.feature-row--flip .feature-media { order: -1; }
.feature-text h2 { margin-bottom: 16px; }
.feature-text .lead { margin-bottom: 22px; }
.feature-text .tag + h1,
.feature-text .tag + h2 { margin-top: 16px; }
.page-head .feature-text h1 { font-size: clamp(1.95rem, 4.2vw, 2.9rem); }
.feature-text .tagline { margin-top: 14px; }
.feature-text .btn-row { margin-top: 26px; }
.media-note { margin-top: 14px; }

@media (max-width: 900px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-row--flip .feature-media { order: 0; }
}

.ticks { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 30px; color: var(--muted); font-size: 0.95rem; }
.ticks li strong { color: var(--text); font-weight: 600; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--violet);
  border-bottom: 2px solid var(--violet);
  transform: rotate(-45deg);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(18px, 2.5vw, 28px);
  counter-reset: step;
}
.step { position: relative; padding-top: 46px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(124, 92, 255, 0.35);
  border-radius: 9px;
  background: var(--violet-tint);
  color: var(--violet-soft);
  font-family: var(--font-head);
  font-size: 0.86rem;
  font-weight: 600;
}
.step h3 { margin-bottom: 8px; font-size: 1.02rem; }
.step p { color: var(--muted); font-size: 0.93rem; }

.cta-band {
  padding: clamp(30px, 4.5vw, 56px);
  background: var(--navy-850);
  border: 1px solid rgba(124, 92, 255, 0.35);
  border-radius: var(--radius-lg);
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band .lead { max-width: 620px; }
.cta-band .btn-row { margin-top: 26px; }
.cta-band--spaced { margin-top: clamp(28px, 3vw, 36px); }
.support-lines { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.support-lines p { margin: 0 0 6px; font-size: 0.95rem; }
.support-lines p:last-child { margin-bottom: 0; }
.support-lines a { color: var(--violet-soft); font-weight: 600; }

.notice {
  padding: 20px 24px;
  background: rgba(124, 92, 255, 0.07);
  border: 1px solid rgba(124, 92, 255, 0.28);
  border-left-width: 4px;
  border-radius: 10px;
}
.notice strong { color: #fff; }
.notice p { color: var(--muted); font-size: 0.93rem; }
.notice p + p { margin-top: 10px; }
.notice--top { margin-bottom: clamp(30px, 4vw, 40px); }
.notice--spaced { margin-top: var(--space-4); }

.section-footnote {
  max-width: 760px;
  margin: clamp(24px, 3vw, 30px) auto 0;
  color: var(--muted-2);
  font-size: 0.86rem;
  line-height: 1.65;
  text-align: center;
}

.media-frame {
  overflow: hidden;
  background: var(--navy-850);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

/* 9. Mockups --------------------------------------------------------------- */
.mock {
  overflow: hidden;
  background: var(--navy-850);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--navy-800);
  border-bottom: 1px solid var(--line-soft);
}
.mock-dots { display: flex; gap: 5px; }
.mock-dots i { width: 8px; height: 8px; border-radius: 50%; background: #2b3656; }
.mock-bar b {
  margin-left: 6px;
  color: var(--muted-2);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.mock-body { display: grid; grid-template-columns: 160px 1fr; min-height: 300px; }
.mock-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 14px;
  background: var(--navy-900);
  border-right: 1px solid var(--line-soft);
}
.mock-side i { display: block; height: 9px; border-radius: 4px; background: #1c2743; }
.mock-side i.is-active { background: var(--violet); opacity: 0.8; }
.mock-side i.short { width: 60%; }
.mock-main { display: flex; flex-direction: column; gap: 14px; padding: 18px; }
.mock-row--dashed { border-style: dashed; }
.contact-list--spaced { margin-top: 24px; }
.support-lead { margin-top: 16px; }

.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-stat { padding: 12px; background: var(--navy-800); border: 1px solid var(--line-soft); border-radius: 10px; }
.mock-stat i { display: block; width: 55%; height: 6px; margin-bottom: 10px; border-radius: 3px; background: #26314e; }
.mock-stat b { display: block; color: #fff; font-family: var(--font-head); font-size: 1rem; font-weight: 600; }
.mock-stat b span { font-size: 0.7rem; color: var(--muted-2); }

.mock-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
  padding: 14px;
  background: var(--navy-800);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
}
.mock-chart i { display: block; flex: 1; border-radius: 4px 4px 0 0; background: #2a3557; }
.mock-chart i.hi { background: var(--violet); }

.mock-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--navy-800);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
}
.mock-dot { width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--violet); opacity: 0.6; }
.mock-dot.alt { background: #2b6cb0; opacity: 0.75; }
.mock-dot.alt2 { background: #1f8a70; opacity: 0.75; }
.mock-lines { display: grid; gap: 6px; flex: 1; }
.mock-lines i { display: block; height: 7px; border-radius: 4px; background: #26314e; }
.mock-lines i.short { width: 45%; }
.mock-chip { padding: 3px 8px; border-radius: 5px; background: var(--violet-tint); color: var(--violet-soft); font-size: 0.64rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

.mock-cal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.mock-cell {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 62px;
  padding: 7px;
  background: var(--navy-800);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  font-size: 0.6rem;
  color: var(--muted-2);
}
.mock-cell em { display: block; height: 12px; border-radius: 3px; background: var(--violet); opacity: 0.75; }
.mock-cell em.soft { background: #2f3d63; opacity: 1; }

.mock-input { height: 34px; border: 1px solid var(--line); border-radius: 8px; background: var(--navy-900); }
.mock-input.tall { height: 58px; }
.mock-label { height: 7px; width: 38%; margin-bottom: -4px; border-radius: 4px; background: #26314e; }
.mock-btn { height: 36px; width: 46%; border-radius: 8px; background: var(--violet); }

.mock-doc { display: flex; flex-direction: column; gap: 9px; padding: 22px; background: #f6f7fb; border-radius: 12px; }
.mock-doc .l { height: 8px; border-radius: 4px; background: #d5dae8; }
.mock-doc .l.title { height: 16px; width: 55%; background: #a9b2c9; }
.mock-doc .l.short { width: 62%; }
.mock-doc .l.tiny { width: 34%; }
.mock-doc .mock-doc-total { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; padding-top: 10px; border-top: 1px solid #d5dae8; }
.mock-doc .mock-doc-total span { font-size: 0.68rem; font-weight: 600; color: #5b6580; }
.mock-doc .mock-doc-total b { font-size: 0.8rem; color: #1b2340; }

@media (max-width: 560px) {
  .mock-body { grid-template-columns: 1fr; min-height: 0; }
  .mock-side { display: none; }
  .mock-stats { grid-template-columns: 1fr 1fr; }
}

/* 10. Pricing -------------------------------------------------------------- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: clamp(16px, 2vw, 22px); align-items: stretch; }

.price-card {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 3vw, 30px);
  background: var(--navy-850);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.price-card--featured { background: var(--navy-800); border-color: rgba(124, 92, 255, 0.55); }
.price-card .price-name { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price-card h3 { font-size: 1.06rem; }
.price-card .price-desc { margin-top: 8px; color: var(--muted); font-size: 0.9rem; min-height: 44px; }
.amount { margin-top: var(--space-3); color: #fff; font-family: var(--font-head); font-size: 2.1rem; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.amount span { margin-left: 4px; color: var(--muted-2); font-family: var(--font-body); font-size: 0.85rem; font-weight: 500; }
.price-meta { margin-top: 6px; color: var(--muted-2); font-size: 0.8rem; }
.price-card .btn { margin-top: var(--space-3); }

.price-list { display: grid; gap: 10px; margin: var(--space-3) 0 0; padding: 0; list-style: none; }
.price-list li { position: relative; padding-left: 22px; color: var(--muted); font-size: 0.9rem; }
.price-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--violet);
}
.price-list li strong { color: var(--text); font-weight: 600; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.92rem; }
table.compare caption { padding: 16px 20px; color: var(--muted-2); font-size: 0.82rem; text-align: left; }
table.compare th,
table.compare td { padding: 14px 20px; text-align: left; border-top: 1px solid var(--line-soft); }
table.compare thead th { background: var(--navy-800); color: #fff; font-family: var(--font-head); font-size: 0.85rem; font-weight: 600; }
table.compare tbody th { color: var(--text); font-weight: 500; }
table.compare td { color: var(--muted); }
table.compare tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.015); }

/* 11. FAQ ------------------------------------------------------------------ */
.faq-list { display: grid; gap: 12px; max-width: 880px; }
.faq-item { background: var(--navy-850); border: 1px solid var(--line); border-radius: 12px; }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  color: #fff;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--violet-soft); }
.faq-item[open] { border-color: rgba(124, 92, 255, 0.35); }
.faq-item .faq-body { padding: 0 22px 22px; color: var(--muted); font-size: 0.95rem; line-height: 1.72; }
.faq-item summary::after { content: "+"; flex: none; color: var(--violet-soft); font-size: 1.4rem; line-height: 1; }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item .faq-body { padding: 0 22px 22px; color: var(--muted); font-size: 0.95rem; line-height: 1.72; }
.faq-body p + p { margin-top: 12px; }
.faq-body a { text-decoration: underline; }

.faq-group + .faq-group { margin-top: clamp(36px, 5vw, 56px); }
.faq-group > h2 { margin-bottom: var(--space-3); font-size: clamp(1.25rem, 2.4vw, 1.55rem); }

/* 12. Page-level form card & contact -------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form-card {
  padding: clamp(22px, 4vw, 36px);
  background: var(--navy-850);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.contact-grid h2 { margin-bottom: 18px; }
.form-card h2 { margin-bottom: 8px; font-size: 1.25rem; }
.form-intro { margin-bottom: 24px; }

.contact-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.contact-list li {
  padding: 20px 22px;
  background: var(--navy-850);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.contact-list h3 { margin-bottom: 6px; font-size: 0.98rem; }
.contact-list p { color: var(--muted); font-size: 0.93rem; }
.contact-list a { color: var(--violet-soft); }

/* 13. Legal prose --------------------------------------------------------- */
.prose { max-width: 760px; }
.prose h2 { margin: clamp(32px, 4vw, 44px) 0 12px; font-size: clamp(1.25rem, 2.4vw, 1.55rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 24px 0 8px; font-size: 1.02rem; }
.prose p,
.prose li { color: var(--muted); font-size: 0.97rem; line-height: 1.78; }
.prose p + p { margin-top: 14px; }
.prose ul,
.prose ol { display: grid; gap: 8px; margin: 14px 0; padding-left: 22px; }
.prose a { text-decoration: underline; }
.prose strong { color: var(--text); }
.prose .prose-meta { color: var(--muted-2); font-size: 0.86rem; }
.prose-meta { color: var(--muted-2); font-size: 0.86rem; }
.lead + .lead { margin-top: 16px; }
.prose hr { margin: 36px 0; border: 0; border-top: 1px solid var(--line); }

/* 14. Utilities ----------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 12px 18px;
  background: #fff;
  color: var(--navy-900);
  border-radius: 8px;
  font-weight: 600;
}
.skip-link:focus { top: 12px; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* 15. Product page components --------------------------------------------- */
.tagline {
  margin-bottom: 18px;
  color: var(--violet-soft);
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 600;
  line-height: 1.4;
}

.cal-views { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: clamp(14px, 2vw, 20px); }
.view-card {
  padding: 18px;
  background: var(--navy-850);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.view-card h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.95rem;
}
.view-note { margin-top: 12px; color: var(--muted-2); font-size: 0.78rem; }

.mock-tl { display: grid; gap: 6px; }
.mock-tl-row { display: grid; grid-template-columns: 34px 1fr; gap: 8px; align-items: center; }
.mock-tl-row span { color: #54608a; font-size: 0.56rem; }
.mock-tl-row em { display: block; height: 15px; border-radius: 4px; background: #2f3d63; }
.mock-tl-row em.v { background: var(--violet); opacity: 0.8; }
.mock-tl-row em.b { background: #2b6cb0; opacity: 0.8; }
.mock-tl-row em.g { background: #1f8a70; opacity: 0.85; }

.mock-dow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 4px; }
.mock-dow span { color: #54608a; font-size: 0.54rem; letter-spacing: 0.06em; text-align: center; text-transform: uppercase; }
.mock-month { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.mock-day-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-height: 34px;
  padding: 4px;
  background: var(--navy-800);
  border: 1px solid var(--line-soft);
  border-radius: 5px;
}
.mock-day-cell u { display: block; height: 3px; border-radius: 2px; background: var(--violet); opacity: 0.75; text-decoration: none; }
.mock-day-cell.is-muted { opacity: 0.4; }

.mock-avatar { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--violet); opacity: 0.65; }
.mock-avatar.alt { background: #2b6cb0; opacity: 0.8; }
.mock-avatar.alt2 { background: #1f8a70; opacity: 0.85; }
.mock-tag {
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--violet-tint);
  color: var(--violet-soft);
  font-size: 0.6rem;
  font-weight: 600;
  white-space: nowrap;
}

.mock-hours { display: grid; gap: 8px; padding: 16px; background: var(--navy-800); border: 1px solid var(--line-soft); border-radius: 10px; }
.mock-hour-row { display: grid; grid-template-columns: 62px 1fr; gap: 10px; align-items: center; color: var(--muted-2); font-size: 0.62rem; }
.mock-track { position: relative; height: 9px; border-radius: 5px; background: #1c2743; }
.mock-track i { position: absolute; top: 0; bottom: 0; border-radius: 5px; background: var(--violet); opacity: 0.8; }
.mock-track i.off { background: #2f3d63; }

.mock-mail { display: grid; gap: 10px; padding: 20px; background: #f6f7fb; border-radius: 12px; }
.mock-mail .l { height: 8px; border-radius: 4px; background: #d5dae8; }
.mock-mail .l.title { height: 14px; width: 48%; background: #a9b2c9; }
.mock-mail .l.short { width: 62%; }
.mock-mail .mail-head { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid #e2e5ef; }
.mock-mail .mail-head b { color: #1b2340; font-size: 0.72rem; }
.mock-mail .mail-head span { color: #6b7590; font-size: 0.66rem; }
.mock-mail .mail-cta { display: block; width: 118px; height: 28px; border-radius: 6px; background: var(--violet); }

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 5px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--dev { background: rgba(124, 92, 255, 0.16); color: var(--violet-soft); }
.status--planned { background: rgba(255, 255, 255, 0.06); color: var(--muted-2); }

.support-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 860px) { .support-grid { grid-template-columns: 1fr; } }

.price-footnote { margin-top: 20px; color: var(--muted-2); font-size: 0.82rem; }
.annual-line { margin-top: 4px; color: var(--muted-2); font-size: 0.82rem; }
