/* ===========================================================
   Plotline — dashboards that look the part
   Static landing site. No build step.
   Light, flat, editorial: warm paper, ink text, one green accent.
   No gradients, no glow.
   =========================================================== */

:root {
  --paper:   #F6F7F9;   /* page: barely-tinted white */
  --paper-2: #ECEEF1;   /* recessed: footer, inset chips */
  --card:    #FFFFFF;   /* crisp white card */
  --ink:     #14151A;   /* near-black text */
  --ink-soft:#454751;
  --faint:   #8A8D96;
  --line:    #E4E6EA;   /* hairline */
  --line-2:  #D0D3DA;

  /* one accent: cobalt. (--green / --ochre var names kept so existing rules and
     inline styles resolve to the accent without a site-wide rename.) */
  --green:   #2348E0;   /* cobalt accent */
  --green-deep: #1A38B8;
  --ochre:   #2348E0;
  --clay:    #C0362C;
  --slate:   #41607A;
  --plum:    #7A5A6E;

  --accent:  var(--green);
  --up:      #2348E0;
  --down:    #C0362C;

  --radius: 10px;
  --radius-sm: 8px;
  --maxw: 1140px;
  --ease: cubic-bezier(.22,.61,.36,1);

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.005em; line-height: 1.1; }
h3 { font-family: var(--sans); font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.accent-word { color: var(--green); font-style: italic; }

/* ----------------------- Buttons ----------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; font-weight: 600; font-size: .95rem; font-family: inherit;
  padding: .8rem 1.5rem; border-radius: var(--radius-sm); cursor: pointer;
  border: 1px solid transparent; transition: background .18s, border-color .18s, color .18s, transform .12s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: var(--paper); }
.btn-primary:hover { background: var(--green-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn-sm { padding: .56rem 1.1rem; font-size: .88rem; }
.btn-xs { padding: .42rem .85rem; font-size: .78rem; }
.full { width: 100%; }

/* ----------------------- Nav ----------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 1.5rem;
  padding: .9rem clamp(1rem, 4vw, 2.4rem);
  background: rgba(246,247,249,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; }
.brand-mark { display: block; }
.brand-name { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; letter-spacing: -0.01em; }
.nav-links { margin-left: auto; display: flex; gap: 1.7rem; }
.nav-links a { color: var(--ink-soft); font-size: .92rem; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--green); }
.nav-links a[aria-current="page"] { color: var(--green); }

/* ----------------------- Hero ----------------------- */
.hero { padding: clamp(3rem, 7vw, 6rem) clamp(1rem,4vw,2.4rem) clamp(2.5rem,5vw,4.5rem); }
.hero-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero h1 { font-size: clamp(2.7rem, 6vw, 4.6rem); margin-bottom: 1.4rem; }
.lede { color: var(--ink-soft); font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 36rem; margin-bottom: 2rem; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.hero-trust { display: flex; align-items: center; gap: .7rem; color: var(--faint); font-size: .88rem; font-weight: 500; }
.hero-trust i { color: var(--line-2); font-style: normal; }

/* Dashboard preview card */
.hero-card {
  background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.5rem 1.6rem;
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -30px rgba(28,27,23,.4);
}
.hcd-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); margin-bottom: 1.1rem; }
.hcd-title { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.hcd-period { font-size: .76rem; color: var(--faint); white-space: nowrap; }
.hcd-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin-bottom: 1.4rem; }
.kpi { display: flex; flex-direction: column; gap: .12rem; padding: .7rem .75rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); }
.kpi-label { font-size: .68rem; color: var(--faint); text-transform: uppercase; letter-spacing: .05em; }
.kpi-val { font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; }
.kpi-delta { font-size: .72rem; font-weight: 600; }
.kpi-delta.up { color: var(--up); }
.kpi-delta.down { color: var(--down); }
.hcd-chart-title { font-size: .82rem; color: var(--ink-soft); margin-bottom: .7rem; }

.hc-bars { display: flex; align-items: flex-end; gap: 14px; height: 96px; }
.hc-bars span { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: var(--green); opacity: .9;
  transform-origin: bottom; animation: grow .7s var(--ease) backwards; }
.hc-bars span:nth-child(1){opacity:.5;animation-delay:.1s} .hc-bars span:nth-child(2){opacity:.65;animation-delay:.22s}
.hc-bars span:nth-child(3){opacity:.8;animation-delay:.34s} .hc-bars span:nth-child(4){opacity:.95;animation-delay:.46s}
@keyframes grow { from { transform: scaleY(0); } }
.hcr-axis { display: flex; gap: 14px; margin-top: .5rem; }
.hcr-axis span { flex: 1; text-align: center; font-size: .68rem; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ----------------------- Sections ----------------------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(3rem,6vw,5.5rem) clamp(1rem,4vw,2.4rem); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 42rem; margin: 0 0 clamp(2rem,4vw,3rem); }
.kicker { display: inline-block; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: .9rem; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin-bottom: .9rem; }
.section-head .sub { color: var(--ink-soft); font-size: 1.08rem; }

/* Problem cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.7rem;
  transition: border-color .2s;
}
.card:hover { border-color: var(--line-2); }
.card-ico { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--green);
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 9px;
  background: var(--paper); border: 1px solid var(--line); margin-bottom: 1.1rem; }
.card h3 { font-size: 1.18rem; margin-bottom: .55rem; }
.card p { color: var(--ink-soft); font-size: .96rem; }

/* ----------------------- Demo (no-code configurator) ----------------------- */
.demo-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 1.2rem; align-items: stretch; }
.control-pane {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; display: flex; flex-direction: column; gap: 1.4rem;
}
.control-group { display: flex; flex-direction: column; gap: .6rem; }
.control-label { font-size: .72rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--faint); }
.seg { display: inline-flex; flex-wrap: wrap; gap: .4rem; }
.seg-btn {
  font-family: inherit; font-size: .86rem; font-weight: 500; color: var(--ink-soft);
  background: var(--paper); border: 1px solid var(--line); border-radius: 7px;
  padding: .48rem .9rem; cursor: pointer; transition: all .15s;
}
.seg-btn:hover { border-color: var(--line-2); color: var(--ink); }
.seg-btn.is-active { color: var(--paper); background: var(--green); border-color: var(--green); font-weight: 600; }
.swatches { display: flex; gap: .55rem; }
.swatch { width: 30px; height: 30px; border-radius: 50%; cursor: pointer; background: var(--sw);
  border: 0; box-shadow: 0 0 0 1px var(--line); transition: transform .15s, box-shadow .15s; }
.swatch:hover { transform: scale(1.08); }
.swatch.is-active { box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--sw); }
.control-note { margin-top: auto; color: var(--faint); font-size: .86rem; line-height: 1.55; padding-top: .3rem; }
#chartGroup.is-hidden { display: none; }

.output-pane {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
}
.pane-head { display: flex; align-items: center; gap: .45rem; padding: .7rem 1rem; border-bottom: 1px solid var(--line); }
.pane-file { font-size: .82rem; color: var(--faint); font-weight: 500; }
.pane-head .btn { margin-left: auto; }

.report { padding: 1.4rem 1.5rem 1.1rem; display: flex; flex-direction: column; height: 100%; background: #FFFFFF; transition: background .25s, color .25s; }
.report-title { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; margin-bottom: .2rem; }
.chart { flex: 1; min-height: 320px; width: 100%; }
.report-foot { display: flex; align-items: center; justify-content: space-between; margin-top: .6rem; padding-top: .85rem; border-top: 1px solid var(--line); font-size: .8rem; color: var(--faint); }
.badge { color: var(--green); font-weight: 600; background: var(--paper); border: 1px solid var(--line); padding: .15rem .65rem; border-radius: 999px; }
/* dark preview inside the demo */
.report.is-dark { background: #15171C; color: #ECEDEF; }
.report.is-dark .report-title { color: #ECEDEF; }
.report.is-dark .report-foot { color: #9A9CA4; border-top-color: #2C2E36; }
.report.is-dark .badge { color: #8FA6F2; background: rgba(255,255,255,.05); border-color: #2C2E36; }

/* ----------------------- How it works ----------------------- */
.steps { display: grid; gap: 1rem; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: start;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.step-n { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px;
  font-family: var(--serif); font-weight: 600; font-size: 1.25rem; color: var(--green);
  background: var(--paper); border: 1px solid var(--line); }
.step-body h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.step-body p { color: var(--ink-soft); max-width: 50rem; }

/* ----------------------- Features ----------------------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; transition: border-color .2s; }
.feature:hover { border-color: var(--line-2); }
.f-ico { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; font-size: 1.15rem; font-weight: 600;
  background: var(--paper); border: 1px solid var(--line); color: var(--green); margin-bottom: 1rem; }
.feature h3 { font-size: 1.12rem; margin-bottom: .45rem; }
.feature p { color: var(--ink-soft); font-size: .94rem; }

/* ----------------------- Pricing ----------------------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; align-items: start; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.8rem; position: relative; }
.plan.featured { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.plan-tag { position: absolute; top: -.75rem; left: 1.8rem; font-size: .7rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--paper); background: var(--green); padding: .25rem .8rem; border-radius: 6px; }
.plan h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.price { font-family: var(--serif); font-size: 2.4rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: .3rem; }
.price span { font-family: var(--sans); font-size: .9rem; font-weight: 500; color: var(--faint); letter-spacing: 0; }
.plan-sub { color: var(--ink-soft); font-size: .92rem; margin-bottom: 1.4rem; }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.7rem; display: grid; gap: .6rem; }
.plan li { color: var(--ink); font-size: .93rem; padding-left: 1.5rem; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* ----------------------- CTA / contact ----------------------- */
.cta-box { background: var(--ink); color: #fff; border-radius: var(--radius);
  padding: clamp(2rem,5vw,3.4rem);
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.6rem; align-items: center; }
.cta-copy h2 { color: #fff; font-size: clamp(1.7rem,3vw,2.4rem); margin-bottom: .9rem; }
.cta-copy p { color: rgba(255,255,255,.78); }
.cta-action { display: flex; flex-direction: column; gap: .9rem; align-items: flex-start; }
.cta-action .btn-primary { background: var(--accent); color: #fff; }
.cta-action .btn-primary:hover { background: var(--green-deep); }
.cta-reassure { color: rgba(255,255,255,.7); font-size: .88rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.02rem; }
.form-status { font-size: .85rem; color: var(--ink-soft); min-height: 1.2rem; margin: .1rem 0 0; }
.form-status.is-error { color: var(--down); }

/* ----------------------- Booking modal ----------------------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.is-open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(20,19,15,.5); backdrop-filter: blur(3px); animation: fade .2s var(--ease); }
.modal-dialog { position: relative; z-index: 1; width: min(560px, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); overflow-y: auto;
  margin: clamp(1rem, 6vh, 4rem) auto 1rem; background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: clamp(1.6rem, 4vw, 2.4rem); box-shadow: 0 30px 70px -30px rgba(20,19,15,.55); animation: pop .25s var(--ease); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px); } }
.modal-close { position: absolute; top: .9rem; right: 1rem; width: 34px; height: 34px; border-radius: 8px; cursor: pointer;
  background: transparent; border: 1px solid transparent; color: var(--faint); font-size: .95rem; transition: all .15s; }
.modal-close:hover { background: var(--paper); color: var(--ink); border-color: var(--line); }
.modal h2 { font-size: clamp(1.5rem, 3vw, 1.95rem); margin-bottom: .4rem; }
.modal-sub { color: var(--ink-soft); font-size: .96rem; margin-bottom: 1.5rem; }
#bookingForm { display: grid; gap: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-size: .78rem; font-weight: 600; color: var(--ink-soft); }
.field input, .field select, .field textarea { font-family: inherit; font-size: .95rem; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 8px; padding: .72rem .85rem; outline: none; transition: border-color .15s; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); }
.field textarea { resize: vertical; min-height: 56px; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.hp { position: absolute !important; left: -9999px; opacity: 0; height: 0; width: 0; }
#bookingForm .btn { margin-top: .3rem; }
.modal-alt { margin-top: 1.1rem; text-align: center; color: var(--faint); font-size: .9rem; }
.modal-alt a { color: var(--green); font-weight: 600; }
.modal-success { text-align: center; padding: 1.5rem 0 .5rem; }
.success-mark { width: 56px; height: 56px; margin: 0 auto 1.1rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--green); color: var(--paper); font-size: 1.5rem; }
.modal-success p { color: var(--ink-soft); margin: 0 auto 1.5rem; max-width: 24rem; }
.modal-success span { color: var(--ink); font-weight: 600; }

/* ----------------------- Footer ----------------------- */
.footer { border-top: 1px solid var(--line); background: var(--paper-2); }
.foot-top { max-width: var(--maxw); margin: 0 auto; padding: 3rem clamp(1rem,4vw,2.4rem) 2rem;
  display: grid; grid-template-columns: 1.4fr 2fr; gap: 2rem; }
.foot-brand { display: flex; flex-direction: column; gap: .8rem; align-items: flex-start; }
.foot-tag { color: var(--faint); font-size: .95rem; font-family: var(--serif); font-style: italic; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.foot-col { display: flex; flex-direction: column; gap: .6rem; }
.foot-col h4 { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin: 0 0 .2rem; }
.foot-col a { color: var(--ink-soft); font-size: .92rem; transition: color .15s; }
.foot-col a:hover { color: var(--green); }
.foot-base { max-width: var(--maxw); margin: 0 auto; padding: 1.4rem clamp(1rem,4vw,2.4rem) 2.4rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--faint); font-size: .85rem; border-top: 1px solid var(--line); }

/* ----------------------- Subpages: header, prose, faq, contact ----------------------- */
.page-hero { max-width: var(--maxw); margin: 0 auto; padding: clamp(2.5rem,6vw,4.5rem) clamp(1rem,4vw,2.4rem) clamp(1.5rem,3vw,2.5rem); }
.page-hero .kicker { margin-bottom: .8rem; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin-bottom: 1rem; max-width: 20ch; }
.page-hero .lede { color: var(--ink-soft); font-size: clamp(1.05rem,1.5vw,1.18rem); max-width: 40rem; }

.prose { max-width: 44rem; margin: 0 auto; padding: 0 clamp(1rem,4vw,2.4rem) clamp(3rem,6vw,5rem); }
.prose h2 { font-size: 1.5rem; margin: 2.4rem 0 .8rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-soft); margin-bottom: 1rem; }
.prose ul { color: var(--ink-soft); margin: 0 0 1.2rem; padding-left: 1.2rem; }
.prose li { margin-bottom: .5rem; }
.prose a { color: var(--green); font-weight: 600; }
.prose .muted { color: var(--faint); font-size: .92rem; }

.faq { max-width: 48rem; margin: 0 auto; padding: 0 clamp(1rem,4vw,2.4rem) clamp(2rem,4vw,3rem); }
.faq-group + .faq-group { margin-top: 2.4rem; }
.faq-group h2 { font-size: 1.1rem; font-family: var(--sans); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--green); margin: 0 0 1rem; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); margin-bottom: .7rem; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.05rem 1.2rem; font-weight: 600; font-size: 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--green); font-size: 1.3rem; font-weight: 400; transition: transform .2s; line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 1.2rem 1.15rem; color: var(--ink-soft); font-size: .96rem; }
.faq-item .faq-a p { margin: 0 0 .7rem; }
.faq-item .faq-a p:last-child { margin-bottom: 0; }

.contact-grid { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1rem,4vw,2.4rem) clamp(3rem,6vw,5rem);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem,4vw,3rem); align-items: start; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem,3vw,2.2rem); }
.contact-card h2 { font-size: 1.4rem; margin-bottom: .4rem; }
.contact-card .modal-sub { margin-bottom: 1.4rem; }
#contactForm { display: grid; gap: 1rem; }
.contact-side { display: flex; flex-direction: column; gap: 1.6rem; }
.contact-block h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.contact-block p { color: var(--ink-soft); font-size: .95rem; }
.contact-block a { color: var(--green); font-weight: 600; }
.contact-divider { height: 1px; background: var(--line); }
.page-cta { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1rem,4vw,2.4rem) clamp(3.5rem,7vw,5.5rem); }
.page-cta-inner { background: var(--ink); color: #fff; border-radius: var(--radius);
  padding: clamp(1.8rem,4vw,2.8rem); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.page-cta-inner h2 { color: #fff; font-size: clamp(1.4rem,2.6vw,2rem); }
.page-cta-inner p { color: rgba(255,255,255,.78); margin-top: .3rem; }
.page-cta-inner .btn-primary { background: var(--accent); color: #fff; }
.page-cta-inner .btn-primary:hover { background: var(--green-deep); }

/* ----------------------- Comparison table ----------------------- */
.compare { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 560px; }
.compare-table th, .compare-table td { text-align: left; padding: 1rem 1.3rem; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .96rem; }
.compare-table thead th { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; color: var(--ink); border-bottom: 2px solid var(--line-2); }
.compare-table tbody th { font-weight: 600; color: var(--ink); width: 26%; }
.compare-table td { color: var(--ink-soft); }
.compare-table .is-plotline { background: rgba(35,72,224,.05); }
.compare-table thead .is-plotline { color: var(--green); }
.compare-table tbody td.is-plotline { color: var(--ink); font-weight: 500; }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: 0; }

/* ----------------------- Accessibility & utilities ----------------------- */
.skip-link { position: fixed; top: -120px; left: 1rem; z-index: 200; background: var(--green); color: var(--paper);
  padding: .6rem 1rem; border-radius: 8px; font-size: .9rem; font-weight: 600; transition: top .15s; }
.skip-link:focus { top: 1rem; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--green); outline-offset: 2px; border-radius: 4px;
}
.menu-toggle { display: none; width: 40px; height: 38px; border: 1px solid var(--line-2); border-radius: 8px;
  background: transparent; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.nav.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

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

/* ----------------------- Responsive ----------------------- */
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav > .btn-primary { margin-left: auto; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: .3rem clamp(1rem,4vw,2.4rem) .8rem;
    box-shadow: 0 22px 30px -22px rgba(20,19,15,.35); }
  .nav.menu-open .nav-links { display: flex; }
  .nav-links a { padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav-links a:last-child { border-bottom: 0; }
  .hero-inner { grid-template-columns: 1fr; }
  .cards-3, .feature-grid, .pricing { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .cta-box { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hcd-kpis { grid-template-columns: 1fr; }
  .foot-base { flex-direction: column; }
  .field-row { grid-template-columns: 1fr; }
}
