/* ===========================================================
   Pinnex AI — stylesheet
   Dark purple + white. Simple, modern, compliance-portal feel.
   =========================================================== */

:root {
  --brand:        #4C1D95;
  --brand-dark:   #3B1478;
  --brand-darker: #24084C;
  --brand-soft:   #EFE8FB;
  --brand-softer: #F8F5FE;
  --accent:       #7C3AED;

  --ink:      #1B1230;
  --body:     #4A4361;
  --muted:    #736C87;
  --line:     #E6E2EE;
  --line-soft:#F0EDF6;

  --bg:       #FFFFFF;
  --bg-soft:  #FAF8FD;

  --ok:       #1F7A54;
  --ok-soft:  #E7F4EE;
  --warn:     #8A6100;
  --warn-soft:#FBF2DE;

  --radius:   10px;
  --radius-lg:14px;
  --shadow:   0 1px 2px rgba(36,8,76,.05), 0 8px 24px rgba(36,8,76,.08);
  --shadow-sm:0 1px 2px rgba(36,8,76,.06);

  --wrap:     1140px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.22;
  margin: 0 0 .5em;
  font-weight: 650;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2rem, 4.6vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); }
h3 { font-size: 1.16rem; }
h4 { font-size: 1rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--accent); text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

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

/* ---------- Skip link ---------- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 70px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  background: linear-gradient(140deg, var(--brand) 0%, var(--accent) 100%);
  color: #fff; font-weight: 700; font-size: 15px; letter-spacing: -.02em;
  display: flex; align-items: center; justify-content: center;
}
.brand-name { font-weight: 680; color: var(--ink); font-size: 1.12rem; letter-spacing: -.02em; }
.brand-name span { color: var(--brand); }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links > li { position: relative; }
.nav-links > li > a,
.nav-links > li > button {
  display: inline-flex; align-items: center; gap: 5px;
  font: inherit; font-size: .96rem; font-weight: 500;
  color: var(--body); background: none; border: 0; cursor: pointer;
  padding: 9px 12px; border-radius: 8px; text-decoration: none;
}
.nav-links > li > a:hover,
.nav-links > li > button:hover { background: var(--brand-softer); color: var(--brand); text-decoration: none; }
.nav-links > li > a.is-active { color: var(--brand); font-weight: 600; }
.caret { width: 9px; height: 9px; flex: none; transition: transform .18s ease; }
.has-menu.open .caret { transform: rotate(180deg); }

.submenu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 288px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 8px; margin: 0; list-style: none;
  display: none;
}
.has-menu.open .submenu { display: block; }
.submenu a {
  display: block; padding: 9px 12px; border-radius: 8px;
  color: var(--ink); font-size: .93rem; font-weight: 550; text-decoration: none;
}
.submenu a small { display: block; color: var(--muted); font-weight: 400; font-size: .8rem; line-height: 1.4; }
.submenu a:hover { background: var(--brand-softer); text-decoration: none; }
.submenu .sep { height: 1px; background: var(--line-soft); margin: 6px 4px; }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; width: 42px; height: 38px; border: 1px solid var(--line);
  background: #fff; border-radius: 8px; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 9px; font-size: .95rem; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
  font-family: inherit; line-height: 1.3;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-softer); }
.btn-light { background: #fff; color: var(--brand-dark); }
.btn-light:hover { background: var(--brand-soft); color: var(--brand-dark); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.btn-lg { padding: 13px 26px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-sm { padding: 52px 0; }
.section-soft { background: var(--bg-soft); }
.section-line { border-top: 1px solid var(--line); }

.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 650; letter-spacing: .09em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 14px;
}
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.03rem; margin-bottom: 0; }

.lead { font-size: 1.1rem; color: var(--body); }

/* ---------- Hero ---------- */
.hero { padding: 84px 0 72px; background:
  radial-gradient(1100px 420px at 12% -10%, #F0E9FC 0%, rgba(240,233,252,0) 65%),
  linear-gradient(180deg, #FCFAFE 0%, #FFFFFF 100%); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero p.lead { color: var(--body); max-width: 560px; margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero-note { font-size: .88rem; color: var(--muted); }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); color: var(--brand-dark);
  border-radius: 999px; padding: 6px 14px; font-size: .82rem; font-weight: 560;
  margin-bottom: 20px; box-shadow: var(--shadow-sm);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; }

/* ---------- Mock panel (hero visual) ---------- */
.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden;
}
.panel-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 16px; border-bottom: 1px solid var(--line-soft); background: #FDFCFE;
}
.panel-title { font-size: .84rem; font-weight: 650; color: var(--ink); }
.panel-top .tag { font-size: .72rem; color: var(--muted); }
.panel-body { padding: 6px 0; }
.row {
  display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center;
  padding: 11px 16px; border-bottom: 1px solid var(--line-soft); font-size: .86rem;
}
.row:last-child { border-bottom: 0; }
.row .r-name { color: var(--ink); font-weight: 560; }
.row .r-sub { display: block; color: var(--muted); font-weight: 400; font-size: .76rem; }
.row .r-date { color: var(--muted); font-size: .78rem; white-space: nowrap; }
.status {
  font-size: .72rem; font-weight: 650; padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}
.status.done { background: var(--ok-soft); color: var(--ok); }
.status.due  { background: var(--warn-soft); color: var(--warn); }
.status.open { background: var(--brand-soft); color: var(--brand); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.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-lg);
  padding: 26px; transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
  display: flex; flex-direction: column;
}
a.card { text-decoration: none; color: inherit; }
a.card:hover { border-color: #CDBCEA; box-shadow: var(--shadow); transform: translateY(-2px); text-decoration: none; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; margin-bottom: 0; }
.card .card-foot { margin-top: 16px; font-size: .88rem; font-weight: 600; color: var(--brand); }

.icon {
  width: 42px; height: 42px; border-radius: 11px; background: var(--brand-soft);
  color: var(--brand); display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; flex: none;
}
.icon svg { width: 20px; height: 20px; }

.badge {
  display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: 3px 8px; border-radius: 5px; margin-left: 8px;
  vertical-align: middle;
}
.badge-soon { background: var(--warn-soft); color: var(--warn); }
.badge-live { background: var(--ok-soft); color: var(--ok); }

.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }

/* ---------- Value strip ---------- */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.strip div { padding: 24px 22px; border-right: 1px solid var(--line-soft); }
.strip div:last-child { border-right: 0; }
.strip h4 { margin-bottom: 4px; font-size: .98rem; }
.strip p { font-size: .87rem; color: var(--muted); margin: 0; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.step { padding-top: 18px; border-top: 2px solid var(--brand-soft); }
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff;
  font-size: .78rem; font-weight: 700; margin-bottom: 12px;
}
.step h3 { font-size: 1.03rem; margin-bottom: 6px; }
.step p { font-size: .92rem; color: var(--muted); margin: 0; }

/* ---------- Lists ---------- */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 28px; font-size: .96rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: 16px; height: 16px; border-radius: 50%; background: var(--brand-soft);
  box-shadow: inset 0 0 0 1px #D5C6EE;
}
.ticks li::after {
  content: ""; position: absolute; left: 5px; top: .72em;
  width: 6px; height: 3px; border-left: 1.8px solid var(--brand); border-bottom: 1.8px solid var(--brand);
  transform: rotate(-45deg);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--brand-darker) 0%, var(--brand) 100%);
  color: #fff; border-radius: 16px; padding: 46px 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.82); margin: 0; max-width: 560px; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Page header ---------- */
.page-head { padding: 56px 0 40px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.page-head h1 { margin-bottom: 12px; }
.page-head p { color: var(--muted); max-width: 660px; font-size: 1.05rem; margin: 0; }
.crumbs { font-size: .84rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }

/* ---------- Two column content ---------- */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
.split.rev { grid-template-columns: .85fr 1.15fr; }

.sidebox {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px;
}
.sidebox h3 { font-size: 1.02rem; }
.sidebox dl { margin: 0; }
.sidebox dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 650; margin-top: 14px; }
.sidebox dt:first-child { margin-top: 0; }
.sidebox dd { margin: 2px 0 0; color: var(--ink); font-size: .95rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .87rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; color: var(--ink);
  padding: 11px 13px; border: 1px solid var(--line); border-radius: 9px; background: #fff;
  width: 100%; font-family: inherit;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(76,29,149,.13);
}
.field .hint { font-size: .8rem; color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-msg {
  display: none; padding: 12px 14px; border-radius: 9px; font-size: .92rem;
  background: var(--ok-soft); color: var(--ok); border: 1px solid #CBE7D9;
}
.form-msg.show { display: block; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative;
  font-weight: 600; color: var(--ink); font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 8px; top: 15px; font-size: 1.35rem;
  color: var(--brand); font-weight: 400; line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq .answer { padding: 0 0 20px; color: var(--muted); font-size: .96rem; }

/* ---------- Pricing ---------- */
.price-card { text-align: left; }
.price-card .amount { font-size: 1.6rem; font-weight: 700; color: var(--ink); margin: 6px 0 2px; letter-spacing: -.02em; }
.price-card .amount small { font-size: .82rem; font-weight: 500; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-darker); color: rgba(255,255,255,.7); padding: 56px 0 26px; margin-top: 0; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name span { color: #C4A9F5; }
.foot-about { font-size: .9rem; margin-top: 14px; max-width: 300px; }
.foot-grid h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .92rem; }
.foot-bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.13);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem;
}
.foot-bottom .links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.nowrap { white-space: nowrap; }


/* ---------- Post-review refinements ---------- */
.card .card-foot { margin-top: auto; padding-top: 16px; }
[id] { scroll-margin-top: 90px; }
.hero { padding-bottom: 60px; }
.badge { white-space: nowrap; }
.card h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.card h3 .badge { margin-left: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .split, .split.rev { grid-template-columns: 1fr; gap: 36px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .strip div:nth-child(2) { border-right: 0; }
  .strip div:nth-child(1), .strip div:nth-child(2) { border-bottom: 1px solid var(--line-soft); }
  .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px 16px 18px;
  }
  .site-header.open .nav-links { display: flex; }
  .nav-links > li > a, .nav-links > li > button { width: 100%; justify-content: space-between; padding: 12px 8px; }
  .submenu { position: static; border: 0; box-shadow: none; padding: 0 0 8px 8px; min-width: 0; }
  .submenu a { padding: 9px 10px; }
  .nav-cta .btn-ghost { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 52px 0; }
  .hero { padding: 56px 0 48px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .strip { grid-template-columns: 1fr; }
  .strip div { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .strip div:last-child { border-bottom: 0; }
  .cta-band { padding: 34px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .wrap { padding: 0 18px; }
  .card { padding: 22px; }
}

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

/* ---------- Mobile header fixes ---------- */
.brand-name { white-space: nowrap; }
.nav-mobile-cta { display: none; }
@media (max-width: 860px) {
  .nav-mobile-cta { display: block; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
  .nav-mobile-cta .btn { width: 100%; margin-bottom: 8px; }
}
@media (max-width: 640px) {
  .nav-cta > .btn { display: none; }
  .brand-name { font-size: 1.02rem; }
  .brand-mark { width: 30px; height: 30px; font-size: 14px; }
  .nav { min-height: 62px; }
}
@media (max-width: 360px) {
  .brand-name { font-size: .94rem; }
}

/* ---------- Mobile menu CTA buttons keep button styling ---------- */
.nav-links > li.nav-mobile-cta > a.btn {
  display: flex; width: 100%; justify-content: center;
  padding: 13px 20px; border-radius: 9px; font-weight: 600; font-size: 1rem;
}
.nav-links > li.nav-mobile-cta > a.btn-primary { background: var(--brand); color: #fff; }
.nav-links > li.nav-mobile-cta > a.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.nav-links > li.nav-mobile-cta > a.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }

/* ---------- Login link in header ---------- */
.nav-login {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .93rem; font-weight: 560; color: var(--body);
  padding: 9px 12px; border-radius: 8px; text-decoration: none; white-space: nowrap;
}
.nav-login svg { width: 15px; height: 15px; flex: none; opacity: .75; }
.nav-login:hover { background: var(--brand-softer); color: var(--brand); text-decoration: none; }
.nav-login:hover svg { opacity: 1; }
@media (max-width: 860px) { .nav-cta .nav-login { display: none; } }

/* ---------- Auth / login page ---------- */
.auth {
  padding: 56px 0 80px;
  background:
    radial-gradient(900px 400px at 15% -10%, #F0E9FC 0%, rgba(240,233,252,0) 62%),
    linear-gradient(180deg, #FCFAFE 0%, #FFFFFF 100%);
  min-height: calc(100vh - 70px);
  display: flex; align-items: center;
}
.auth-wrap {
  display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
  gap: 64px; align-items: center;
}
.auth-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 36px 34px; box-shadow: var(--shadow);
}
.auth-head { margin-bottom: 26px; }
.auth-head .brand-mark { width: 42px; height: 42px; border-radius: 11px; font-size: 18px; margin-bottom: 18px; }
.auth-head h1 { font-size: 1.5rem; margin-bottom: 6px; }
.auth-head p { font-size: .95rem; margin: 0; }

.notice {
  background: var(--warn-soft); border: 1px solid #F0E0BC; color: #6B4B00;
  border-radius: 10px; padding: 14px 16px; font-size: .9rem; line-height: 1.55;
  margin-bottom: 24px;
}
.notice strong { display: block; color: #5A3F00; margin-bottom: 3px; }

.auth-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap; font-size: .89rem; margin-top: -2px;
}
.checkline { display: inline-flex; align-items: center; gap: 8px; color: var(--body); font-weight: 400; }
.checkline input { width: 15px; height: 15px; accent-color: var(--brand); margin: 0; }

.auth-card input:disabled, .auth-card button:disabled {
  background: var(--bg-soft); color: var(--muted); cursor: not-allowed; opacity: 1;
}
.auth-card .btn:disabled { background: #B7A6D2; border-color: transparent; color: #fff; }

.auth-alt { margin-top: 24px; font-size: .9rem; color: var(--muted); text-align: center; }
.auth-side h2 { font-size: 1.35rem; }
.auth-side { max-width: 460px; }

@media (max-width: 980px) {
  .auth { display: block; min-height: 0; padding: 44px 0 64px; }
  .auth-wrap { grid-template-columns: 1fr; gap: 40px; }
  .auth-side { order: -1; max-width: none; }
}
@media (max-width: 640px) {
  .auth-card { padding: 28px 22px; }
}

/* ---------- Mobile menu must scroll when it exceeds the screen ---------- */
@media (max-width: 860px) {
  .site-header.open .nav-links {
    max-height: calc(100dvh - 62px);
    max-height: calc(100vh - 62px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
}

/* ---------- Extra status + panel pieces for product mockups ---------- */
:root { --bad: #A3232B; --bad-soft: #FBE9EA; --info: #4C1D95; --info-soft: #EFE8FB; }
.status.late { background: var(--bad-soft); color: var(--bad); }
.status.run  { background: var(--info-soft); color: var(--info); }

/* summary chips row inside a panel (Overdue / Today / This week / This month) */
.panel-summary {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line-soft); background: #FDFCFE;
}
.panel-summary div { padding: 12px 10px; text-align: center; border-right: 1px solid var(--line-soft); }
.panel-summary div:last-child { border-right: 0; }
.panel-summary .n { display: block; font-size: 1.18rem; font-weight: 700; color: var(--ink); line-height: 1.2; letter-spacing: -.02em; }
.panel-summary .l { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: 3px; }
.panel-summary .n.is-bad { color: var(--bad); }
.panel-summary .n.is-due { color: var(--warn); }

/* avatar chip for the practice-management mockup */
.who { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; color: var(--muted); }
.who i {
  width: 20px; height: 20px; border-radius: 50%; flex: none; font-style: normal;
  background: var(--brand-soft); color: var(--brand); font-size: .62rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; letter-spacing: .02em;
}
.row.row-2 { grid-template-columns: 1fr auto; }

/* agent run log */
.runlog { padding: 6px 0; }
.runline {
  display: grid; grid-template-columns: 18px 1fr auto; gap: 10px; align-items: start;
  padding: 9px 16px; font-size: .84rem; border-bottom: 1px solid var(--line-soft);
}
.runline:last-child { border-bottom: 0; }
.runline .tick {
  width: 17px; height: 17px; border-radius: 50%; margin-top: 1px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ok-soft); color: var(--ok); font-size: .62rem; font-weight: 700;
}
.runline .tick.wait { background: var(--info-soft); color: var(--info); }
.runline .txt { color: var(--ink); }
.runline .txt small { display: block; color: var(--muted); font-size: .75rem; }
.runline .t { color: var(--muted); font-size: .74rem; white-space: nowrap; }

/* thread bubbles for the client portal mockup */
.thread { padding: 12px 16px; display: grid; gap: 10px; }
.bub { border-radius: 10px; padding: 9px 12px; font-size: .84rem; line-height: 1.5; max-width: 88%; }
.bub.them { background: var(--bg-soft); border: 1px solid var(--line-soft); color: var(--ink); }
.bub.us { background: var(--brand-soft); color: var(--brand-dark); margin-left: auto; }
.bub b { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 3px; font-weight: 650; }
.bub.us b { color: var(--brand); }

/* tour grid: 2 mockups side by side */
.tour { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: start; }
.tour-item h3 { font-size: 1.05rem; margin-bottom: 4px; }
.tour-item > p { color: var(--muted); font-size: .92rem; margin-bottom: 16px; }
@media (max-width: 900px) { .tour { grid-template-columns: 1fr; } .panel-summary { grid-template-columns: repeat(2, 1fr); } }

/* platform chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; background: #fff;
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px;
  font-size: .85rem; font-weight: 600; color: var(--ink);
}
.chip span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* metric callouts */
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.metric { border-left: 3px solid var(--brand-soft); padding: 4px 0 4px 18px; }
.metric b { display: block; font-size: 1.5rem; color: var(--ink); letter-spacing: -.02em; line-height: 1.2; }
.metric span { display: block; color: var(--muted); font-size: .9rem; margin-top: 4px; }
@media (max-width: 760px) { .metrics { grid-template-columns: 1fr; } }
