/* ============================================================================
   CenterSuite marketing — hand-written, zero-build. Brand: blue/slate on warm
   neutrals (Oatmeal feel) with dark accent bands. Light-mode primary.
   ============================================================================ */

:root {
  --brand:        #2f5fe0;   /* confident blue (matches the app's primary) */
  --brand-dark:   #1e40af;
  --brand-tint:   #eaf0fd;
  --ink:          #1d2433;   /* near-slate-900 text */
  --ink-soft:     #4a5568;
  --ink-faint:    #6b7280;
  --cream:        #fbf8f3;   /* warm page background */
  --cream-2:      #f4eee3;   /* warmer panel */
  --surface:      #ffffff;
  --line:         #e8e2d6;   /* warm border */
  --dark:         #0f1729;   /* dark band */
  --dark-2:       #18223a;
  --dark-line:    #2a3650;
  --red:          #e0473f;   /* reading accent */
  --radius:       18px;
  --radius-sm:    11px;
  --shadow:       0 1px 2px rgba(16,23,41,.04), 0 12px 30px -12px rgba(16,23,41,.16);
  --shadow-soft:  0 1px 2px rgba(16,23,41,.04), 0 8px 24px -14px rgba(16,23,41,.12);
  --maxw:         1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .4em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.18rem; font-weight: 700; }
p  { margin: 0 0 1rem; }
a  { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 800px; }
.center { text-align: center; }

/* -------- buttons -------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: .98rem;
  padding: .72rem 1.25rem; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: .92rem 1.6rem; font-size: 1.05rem; }
.full { width: 100%; justify-content: center; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(47,95,224,.6); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* -------- header / nav -------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,248,243,.82);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 1.5rem; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.18rem; letter-spacing: -.02em; }
.brand-mark { height: 31px; width: auto; display: block; }
.nav-links { display: flex; gap: 1.4rem; margin-left: 1rem; }
.nav-links a { color: var(--ink-soft); font-weight: 500; font-size: .96rem; }
.nav-links a:hover { color: var(--brand); }
.nav-actions { display: flex; align-items: center; gap: .9rem; margin-left: auto; }

/* -------- status pill -------- */
.status-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 500; color: var(--ink-soft);
  padding: .35rem .7rem; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface);
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #9aa3b2; flex: none; }
.status-dot.ok   { background: #2ca06a; box-shadow: 0 0 0 3px rgba(44,160,106,.18); }
.status-dot.warn { background: #d9962a; box-shadow: 0 0 0 3px rgba(217,150,42,.18); }
.status-dot.down { background: var(--red); box-shadow: 0 0 0 3px rgba(224,71,63,.18); }

/* -------- hero -------- */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.eyebrow { color: var(--brand); font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .8rem; }
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 38ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1rem; }
.center-cta { justify-content: center; }
.trust-line { font-size: .9rem; color: var(--ink-faint); font-weight: 500; }

/* -------- hero window mockup -------- */
.hero-visual { perspective: 1400px; }
.window {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
  transform: rotateY(-7deg) rotateX(3deg); transform-origin: left center;
}
.window-bar { display: flex; align-items: center; gap: .4rem; padding: .7rem 1rem; background: var(--cream-2); border-bottom: 1px solid var(--line); }
.window-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #cfc8ba; }
.window-url { margin-left: .8rem; font-size: .76rem; color: var(--ink-faint); background: var(--surface); padding: .2rem .7rem; border-radius: 6px; border: 1px solid var(--line); }
.window-body { display: grid; grid-template-columns: 86px 1fr; min-height: 320px; }
.ui-sidebar { background: var(--cream); border-right: 1px solid var(--line); padding: 1rem .7rem; display: flex; flex-direction: column; gap: .7rem; }
.ui-main { padding: 1.2rem; display: flex; flex-direction: column; gap: 1.1rem; }
.ui-line { height: 9px; border-radius: 5px; background: #e7e9ee; }
.ui-line.accent { background: var(--brand-tint); }
.w70{width:70%}.w60{width:60%}.w55{width:55%}.w50{width:50%}.w45{width:45%}.w40{width:40%}.w35{width:35%}.w20{width:20%}
.ui-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: .7rem; }
.ui-stat { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .8rem; display: flex; flex-direction: column; gap: .25rem; }
.ui-stat-num { font-size: 1.5rem; font-weight: 800; color: var(--ink); }
.ui-stat-cap { font-size: .68rem; color: var(--ink-faint); }
.ui-rows { display: flex; flex-direction: column; gap: .6rem; }
.ui-row { display: flex; align-items: center; gap: .7rem; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.pill { font-size: .68rem; font-weight: 700; padding: .15rem .55rem; border-radius: 999px; flex: none; }
.pill-blue { background: var(--brand-tint); color: var(--brand-dark); }
.pill-red  { background: #fdeae9; color: #b3322b; }

/* -------- bands / sections -------- */
section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.band-soft { background: var(--cream-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-dark { background: var(--dark); color: #eef1f6; }
.section-head { max-width: 640px; margin: 0 0 2.6rem; }
.section-head.center, .center .section-head { margin-left: auto; margin-right: auto; }
.section-head h2 { color: inherit; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }
.band-dark .section-head p { color: #aeb7c7; }

/* -------- consolidation -------- */
.replace-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 2rem; align-items: center; }
.replace-label { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 1rem; }
.tool-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.tool-list li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .7rem 1rem; color: var(--ink-soft); font-size: .96rem; position: relative; }
.tool-list li::before { content: "✕"; color: #c2723f; font-weight: 700; margin-right: .6rem; }
.replace-arrow { font-size: 2rem; color: var(--brand); font-weight: 700; }
.one-card { background: var(--brand); color: #fff; border-radius: var(--radius); padding: 2.2rem; display: flex; flex-direction: column; align-items: center; gap: .5rem; text-align: center; box-shadow: 0 16px 40px -16px rgba(47,95,224,.7); }
.one-card .brand-mark { background: rgba(255,255,255,.18); }
.one-card-name { font-size: 1.5rem; font-weight: 800; }
.one-card-sub { color: rgba(255,255,255,.85); font-size: .95rem; }

/* -------- credibility (locked copy) -------- */
.credibility { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.quote-lead { font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 600; line-height: 1.5; letter-spacing: -.01em; color: #fff; }
.quote-sub { font-size: 1.05rem; color: #9fb0d8; font-weight: 500; margin: 1.2rem 0 0; }

/* -------- features -------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.feature-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow-soft); transition: transform .14s ease, box-shadow .14s ease; }
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-icon { font-size: 1.7rem; width: 52px; height: 52px; display: grid; place-items: center; background: var(--brand-tint); border-radius: 14px; margin-bottom: 1rem; }
.feature-card p { color: var(--ink-soft); font-size: .98rem; margin: 0; }

/* -------- video -------- */
.video-frame { position: relative; margin-top: 1.5rem; aspect-ratio: 16/9; border-radius: var(--radius); background: linear-gradient(135deg, var(--dark), var(--dark-2)); border: 1px solid var(--dark-line); display: grid; place-items: center; gap: .8rem; color: #cdd5e6; }
.video-frame .play { width: 64px; height: 64px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 1.3rem; box-shadow: 0 12px 30px -10px rgba(47,95,224,.8); }
.video-cap { font-size: .9rem; color: #aeb7c7; }

/* -------- migration -------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .9rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; font-size: 1.05rem; color: var(--ink-soft); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .9rem 1.1rem; }
.check-list li::before { content: "✓"; color: var(--brand); font-weight: 800; flex: none; }

/* -------- pricing -------- */
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.5rem; max-width: 820px; margin: 0 auto; }
.price-card { background: var(--surface); border: 1.5px solid var(--brand); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.price-card-muted { border-color: var(--line); box-shadow: var(--shadow-soft); }
.price { margin: .4rem 0 .2rem; }
.amount { font-size: 2.4rem; font-weight: 800; }
.per { color: var(--ink-faint); font-weight: 500; }
.price-note { color: var(--ink-soft); font-size: .96rem; }
.price-feats { list-style: none; margin: 1.2rem 0 1.6rem; padding: 0; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.price-feats li { padding-left: 1.6rem; position: relative; color: var(--ink-soft); font-size: .96rem; }
.price-feats li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }

/* -------- faq -------- */
.faq details { border-bottom: 1px solid var(--line); padding: .3rem 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 1.08rem; padding: 1.1rem 2.2rem 1.1rem 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--brand); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-soft); padding: 0 1.5rem 1.2rem 0; margin: 0; }

/* -------- final cta -------- */
.final-cta h2 { color: #fff; }
.final-cta .lead { color: #aeb7c7; margin-left: auto; margin-right: auto; }

/* -------- footer -------- */
.site-footer { background: var(--dark); color: #c7cedd; padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer .brand, .site-footer .brand-name { color: #fff; }
.footer-tag { color: #93a0ba; font-size: .95rem; margin: .9rem 0 1.2rem; max-width: 30ch; }
.site-footer .status-pill { background: var(--dark-2); border-color: var(--dark-line); color: #c7cedd; }
.footer-head { font-weight: 700; color: #fff; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 .9rem; }
.footer-col a { display: block; color: #aab3c6; font-size: .95rem; padding: .28rem 0; }
.footer-col a:hover { color: #fff; }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--dark-line); font-size: .85rem; color: #8893a8; }

/* ============================ responsive ============================ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-grid, .split, .replace-grid { grid-template-columns: 1fr; }
  .replace-arrow { transform: rotate(90deg); justify-self: center; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .window { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .feature-grid, .price-grid, .footer-grid { grid-template-columns: 1fr; }
  .nav-actions .status-pill { display: none; }
  .btn-lg { width: 100%; justify-content: center; }
  .hero-cta { flex-direction: column; }
}

/* ===================== added components ===================== */

/* sign-up link in the nav */
.nav-cta { font-weight: 600; font-size: .96rem; color: var(--ink); }
.nav-cta:hover { color: var(--brand); }
.inline-link { color: var(--brand); font-weight: 600; }
.inline-link:hover { text-decoration: underline; }
.section-foot { margin-top: 2rem; }
.under-link { display: block; text-align: center; margin-top: .8rem; font-size: .9rem; color: var(--ink-faint); font-weight: 500; }
.under-link:hover { color: var(--brand); }
.under-link-light { margin-top: 1.1rem; }
.under-link-light a { color: #aeb7c7; font-weight: 500; font-size: .95rem; }
.under-link-light a:hover { color: #fff; }
.one-card-mark { margin-bottom: .3rem; }

/* comparison matrix */
.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-soft); }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare th, .compare td { padding: .85rem 1rem; text-align: center; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: .82rem; font-weight: 700; color: var(--ink-soft); vertical-align: bottom; }
.compare tbody th { text-align: left; font-weight: 600; font-size: .94rem; color: var(--ink); white-space: nowrap; }
.compare .feat-col { text-align: left; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: none; }
.compare .us { background: var(--brand-tint); }
.compare thead .us { border-top-left-radius: 0; }
.compare thead .us { color: var(--brand-dark); }
.compare thead .us img { display: block; margin: 0 auto .3rem; }
.compare .yes { color: #2ca06a; font-style: normal; font-weight: 800; font-size: 1.1rem; }
.compare .no  { color: #c8cdd6; font-style: normal; font-weight: 700; }
.compare-note { margin-top: 1rem; font-size: .8rem; color: var(--ink-faint); }

@media (max-width: 560px) {
  .nav-cta { display: none; }
}

/* ===================== secondary pages ===================== */
.nav-links a.active { color: var(--brand); }

.page-hero { padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem); }
.page-hero.short { padding-bottom: 1rem; }
.center-lead { margin-left: auto; margin-right: auto; max-width: 60ch; }

/* feature rows (alternating text + media) */
.feat-row .split { align-items: center; }
.split.reverse > :first-child { order: 2; }
.split.reverse > :last-child  { order: 1; }
.feat-kicker { display: inline-block; color: var(--brand); font-weight: 700; font-size: .8rem; letter-spacing: .07em; text-transform: uppercase; margin-bottom: .6rem; }
.feat-media {
  aspect-ratio: 4 / 3; border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, var(--cream-2), var(--cream-2) 14px, var(--cream) 14px, var(--cream) 28px);
  border: 1.5px dashed var(--line); display: grid; place-items: center;
}
.feat-media span { font-size: .9rem; font-weight: 600; color: var(--ink-faint); background: var(--surface); padding: .4rem .9rem; border-radius: 999px; border: 1px solid var(--line); }
.feature-grid.two { grid-template-columns: 1fr 1fr; }

/* prose / legal */
.prose-section { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3.5rem, 7vw, 6rem); }
.prose h2 { margin-top: 2.2rem; font-size: 1.4rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 1.2rem; display: flex; flex-direction: column; gap: .5rem; margin: 0 0 1rem; }
.prose .check-list { padding-left: 0; }
.legal-meta { color: var(--ink-faint); font-size: .9rem; font-weight: 500; }
.legal-banner { background: #fff7ed; border: 1px solid #f3d9b8; color: #92591f; border-radius: var(--radius-sm); padding: .9rem 1.1rem; font-size: .92rem; font-weight: 500; }

@media (max-width: 900px) {
  .split.reverse > :first-child { order: 1; }
  .split.reverse > :last-child  { order: 2; }
  .feature-grid.two { grid-template-columns: 1fr; }
}
