/* ==========================================================================
   Platypus Payroll — site.css
   Design system + all components. Pure CSS, no JavaScript anywhere.
   Palette drawn from the Platypus Payroll logo:
     wordmark blue #0068c0 · wordmark orange #e06810 · mascot sky #00a8f8
     bill gold #f8c018 · ink black
   ========================================================================== */

@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/space-grotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue:        #0068c0;
  --blue-deep:   #00518f;
  --sky:         #00a8f8;
  --orange:      #e06810;
  --orange-deep: #a84e00;
  --gold:        #f8c018;
  --ink:         #12222f;
  --body:        #3b4a57;
  --faint:       #64707c;
  --line:        #d9e4ec;
  --bg:          #ffffff;
  --tint:        #eef6fc;
  --navy:        #0b2740;
  --navy-2:      #0e3050;
  --radius:      14px;
  --shadow:      0 10px 30px -12px rgba(11, 39, 64, .18);
  --wrap:        72rem;
}

/* ---- Reset / base -------------------------------------------------------- */

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

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

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

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
}

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

h1, h2, h3 {
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 800;
  letter-spacing: -.015em;
}

h1 { font-size: clamp(2.1rem, 1.2rem + 3.2vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.6vw, 2.25rem); }
h3 { font-size: 1.17rem; }

p { margin: 0 0 1em; }

a { color: var(--blue); }
a:hover { color: var(--blue-deep); }

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
  border-radius: 2px;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}

/* ---- Skip link ----------------------------------------------------------- */

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: .6rem 1rem;
  z-index: 99;
}
.skip:focus { left: 0; color: #fff; }

/* ---- Buttons ------------------------------------------------------------- */

.btn {
  display: inline-block;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  padding: .8rem 1.6rem;
  transition: background-color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); color: #fff; }

.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #ffd34a; color: var(--ink); }

.btn-ghost {
  background: transparent;
  color: var(--blue);
  box-shadow: inset 0 0 0 2px var(--blue);
}
.btn-ghost:hover { background: var(--tint); color: var(--blue-deep); }

.btn-ghost-light {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 2px #fff;
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* ---- Header -------------------------------------------------------------- */

.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .4rem 1.6rem;
  padding-block: .65rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  flex-shrink: 0;
  text-decoration: none;
}
.brand img {
  width: 64px;
  height: auto;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; gap: .1rem; }
.brand-name {
  font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.14rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--blue);
  white-space: nowrap;
}
.brand-name .po { color: var(--orange); }
.brand-tag {
  font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--body);
}

.site-nav { margin-left: auto; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .1rem .35rem;
}

.site-nav a {
  display: inline-block;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: .96rem;
  padding: .45rem .7rem;
  border-radius: 8px;
}
.site-nav a:hover { background: var(--tint); color: var(--blue-deep); }
.site-nav a[aria-current="page"] { color: var(--blue); }

.site-nav .nav-cta { background: var(--orange); color: #fff; margin-left: .35rem; }
.site-nav .nav-cta:hover { background: var(--orange-deep); color: #fff; }

@media (max-width: 760px) {
  .site-header .wrap { justify-content: center; }
  .site-nav { margin-left: 0; }
  .site-nav ul { justify-content: center; }
}

/* ---- Hero ---------------------------------------------------------------- */

.hero {
  background:
    radial-gradient(46rem 30rem at 85% -20%, rgba(0, 168, 248, .16), transparent 60%),
    radial-gradient(30rem 22rem at -10% 110%, rgba(248, 192, 24, .14), transparent 60%),
    var(--tint);
  padding-block: clamp(3.2rem, 8vw, 6rem);
}

.hero .kicker {
  display: inline-block;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 1rem;
}

.accent { color: var(--blue); }

.hero .lede {
  font-size: 1.2rem;
  max-width: 44rem;
  margin-bottom: 1.8rem;
}

.hero .actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }

.hero .note { font-size: .9rem; color: var(--faint); margin-top: 1rem; }

/* ---- Sections ------------------------------------------------------------ */

.section { padding-block: clamp(3rem, 7vw, 5rem); }
.section-tint { background: var(--tint); }

.section-head { max-width: 46rem; margin-bottom: 2.2rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.tight { margin-bottom: 0; }
.section-head .over {
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .4rem;
}
.section-head p { font-size: 1.08rem; }

/* ---- Card grids ---------------------------------------------------------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  gap: 1.2rem;
}

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow);
}

.card .icon {
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: var(--tint);
  color: var(--blue);
}
.card .icon svg { width: 1.6rem; height: 1.6rem; }
.card.card-orange .icon { background: #fdeede; color: var(--orange-deep); }
.card.card-gold .icon { background: #fdf4d5; color: var(--orange-deep); }

.card p { margin-bottom: 0; }
.card ul { margin: 0; padding-left: 1.15rem; }
.card li { margin-bottom: .35rem; }
.card li:last-child { margin-bottom: 0; }

/* ---- PlatPro band -------------------------------------------------------- */

.platpro {
  background:
    radial-gradient(40rem 26rem at 110% 10%, rgba(0, 168, 248, .25), transparent 55%),
    linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #cfe2f2;
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(2rem, 5vw, 3.5rem);
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
}
.platpro h2 { color: #fff; }
.platpro .tag {
  display: inline-block;
  background: rgba(248, 192, 24, .16);
  color: var(--gold);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: .3rem .85rem;
  margin-bottom: 1rem;
}
.platpro ul {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  display: grid;
  gap: .55rem;
}
.platpro li { padding-left: 1.6rem; position: relative; }
.platpro li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42em;
  width: .8em;
  height: .8em;
  border-radius: 50%;
  background:
    linear-gradient(45deg, var(--sky), var(--gold));
}
.platpro .art {
  text-align: center;
  font-size: 0; /* removes whitespace gap under img */
}
.platpro .art img {
  display: inline-block;
  width: min(100%, 20rem);
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, .35));
}

@media (max-width: 820px) {
  .platpro { grid-template-columns: 1fr; }
  .platpro .art { order: -1; }
  .platpro .art img { width: min(60%, 14rem); }
}

/* ---- Split (why / photo) ------------------------------------------------- */

.split {
  display: grid;
  gap: clamp(1.6rem, 4vw, 3.2rem);
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
}
.split .photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}
.split ul.checks { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: .7rem; }
.split ul.checks li { padding-left: 2rem; position: relative; font-weight: 600; color: var(--ink); }
.split ul.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .18em;
  width: 1.25em;
  height: 1.25em;
  border-radius: 50%;
  background: var(--blue);
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="none" stroke="black" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.8 9.6 18 19.5 6.6"/></svg>') center / 100% no-repeat;
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="none" stroke="black" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.8 9.6 18 19.5 6.6"/></svg>') center / 100% no-repeat;
}

@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split .photo { max-width: 26rem; }
}

/* ---- Integrations -------------------------------------------------------- */

.integrations { text-align: center; }
.integrations .partner {
  display: inline-block;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 2rem;
  margin-top: 1.2rem;
  background: var(--bg);
  box-shadow: var(--shadow);
}
.integrations .partner .sub {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--faint);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: .2rem;
}

/* ---- CTA band ------------------------------------------------------------ */

.cta-band {
  background:
    radial-gradient(38rem 24rem at 15% 120%, rgba(0, 168, 248, .28), transparent 60%),
    linear-gradient(135deg, var(--navy-2), var(--navy));
  color: #cfe2f2;
  text-align: center;
  padding-block: clamp(3rem, 7vw, 5rem);
}
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 38rem; margin-inline: auto; }
.cta-band .actions { margin-top: 1.6rem; display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.cta-band .contact-line { margin-top: 1.4rem; font-size: .95rem; }
.cta-band .contact-line a { color: #fff; font-weight: 600; }

/* ---- Footer -------------------------------------------------------------- */

.site-footer {
  background: var(--navy);
  color: #b7cbdc;
  padding-block: 3rem 2rem;
  font-size: .95rem;
}
.site-footer .cols {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.4fr 1fr 1fr;
  margin-bottom: 2.2rem;
}
.site-footer h2 {
  color: #fff;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .8rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer a { color: #dcebf7; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .f-brand { margin: 0 0 .9rem; }
.site-footer .f-brand .brand-name { color: #67c9f8; }
.site-footer .f-brand .brand-name .po { color: #f8a54d; }
.site-footer .f-brand .brand-tag { color: #dcecf9; }
.site-footer .legal {
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.6rem;
  justify-content: space-between;
  font-size: .88rem;
}

@media (max-width: 760px) {
  .site-footer .cols { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Interior pages (Phase 2)
   ========================================================================== */

/* ---- Page hero (compact) -------------------------------------------------- */

.page-hero {
  background:
    radial-gradient(40rem 24rem at 90% -30%, rgba(0, 168, 248, .15), transparent 60%),
    var(--tint);
  padding-block: clamp(2.4rem, 6vw, 4rem);
}
.page-hero .lede { font-size: 1.15rem; max-width: 46rem; margin-bottom: 0; }
.page-hero .actions { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---- Numbered steps ------------------------------------------------------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem 1.1rem 4.2rem;
  position: relative;
  box-shadow: var(--shadow);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1.1rem;
  top: 1.05rem;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: var(--blue);
}
.steps li strong { color: var(--ink); }

/* ---- Team ----------------------------------------------------------------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.2rem;
}
.team-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.7rem 1.5rem;
  text-align: center;
}
.team-card .avatar {
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  overflow: hidden;
}
.team-card .avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card.alt .avatar { background: linear-gradient(135deg, var(--orange), var(--gold)); }
.team-card h3 { margin-bottom: .15rem; }
.team-card .role {
  color: var(--orange-deep);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: .8rem;
}
.team-card p { margin-bottom: 0; font-size: .98rem; }

/* ---- PlatPro portal wheel (pure CSS recreation of the product home) ------- */

.portal-shot {
  display: block;
  width: min(100%, 62rem);
  margin-inline: auto;
  border-radius: calc(var(--radius) + 6px);
  box-shadow: 0 28px 70px -24px rgba(11, 39, 64, .55);
}
.portal-note { text-align: center; font-size: .85rem; color: var(--faint); margin-top: .9rem; }

/* ---- Feature rows (platpro modules) --------------------------------------- */

.feature-rows { display: grid; gap: 1.2rem; }
.feature-rows .card h3 { display: flex; align-items: center; gap: .6rem; }
.feature-rows .dot { width: .7rem; height: .7rem; border-radius: 50%; flex: none; }
.dot-sky    { background: #38bdf8; }
.dot-green  { background: #34d399; }
.dot-purple { background: #a78bfa; }
.dot-orange { background: #fb923c; }

/* ---- Prose (legal pages) --------------------------------------------------- */

.prose { max-width: 46rem; }
.prose h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.prose h2:first-child { margin-top: 0; }

/* ---- Contact panel (schedule page) ---------------------------------------- */

.contact-panel {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1.2rem;
  align-items: stretch;
}
.contact-panel .card p:last-child { margin-bottom: 0; }
@media (max-width: 760px) { .contact-panel { grid-template-columns: 1fr; } }

/* ---- 404 ------------------------------------------------------------------ */

.notfound { text-align: center; padding-block: clamp(3rem, 10vw, 7rem); }
.notfound img { width: 9rem; margin-inline: auto; margin-bottom: 1.4rem; }

/* ---- Stats band (founding partners' track record) ------------------------- */

.stats-band {
  background:
    radial-gradient(36rem 22rem at 80% -30%, rgba(0, 168, 248, .25), transparent 60%),
    linear-gradient(135deg, var(--blue-deep), var(--blue));
  color: #dcecf9;
  padding-block: clamp(2.4rem, 5vw, 3.6rem);
}
.stats-band .intro {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 1.8rem;
}
.stats-band .intro .over {
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .3rem;
}
.stats-band .intro p { margin: 0; color: #fff; font-weight: 600; font-size: 1.08rem; }
.stats-band dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1.6rem;
  text-align: center;
}
.stats-band dt {
  order: 2;
  font-size: 1rem;
  color: #dcecf9;
}
.stats-band dd {
  order: 1;
  margin: 0;
  font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--gold);
  line-height: 1.1;
}
.stats-band .stat { display: flex; flex-direction: column; gap: .2rem; }

/* ---- Count-up stats (pure CSS via @property; no JavaScript) --------------- */

@property --n {
  syntax: "<integer>";
  initial-value: 0;
  inherits: false;
}

@keyframes countup {
  from { --n: 0; }
}

.stats-band .cnt::after {
  counter-reset: n var(--n);
  animation: countup 2.4s cubic-bezier(.16, 1, .3, 1) forwards;
}
.stats-band .c-emp::after  { --n: 218; content: "+" counter(n) ",000"; }
.stats-band .c-biz::after  { --n: 950; content: "+" counter(n); }
.stats-band .c-prem::after { --n: 60;  content: "+$" counter(n) "m"; }

@media (prefers-reduced-motion: reduce) {
  .stats-band .cnt::after { animation: none; }
}

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

/* ---- Booking embed (Schedule page) ---------------------------------------- */

.booking-embed {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}
.booking-embed iframe {
  display: block;
  border: 0;
  width: 100%;
  height: max(640px, 82vh);
}
.booking-fallback {
  text-align: center;
  font-size: .92rem;
  color: var(--faint);
  margin-top: .8rem;
}

/* ---- Module avatars on PlatPro module cards -------------------------------- */

.feature-rows .card h3 img.mod-sm {
  width: 7.65rem;
  height: 7.65rem;
  object-fit: cover;
  border-radius: 50%;
  flex: none;
  box-shadow: var(--shadow);
}

/* ==========================================================================
   Engagement pass (flyer IP) — ticker, chips, quotes, FAQ, card hover
   ========================================================================== */

/* ---- Scrolling ticker ------------------------------------------------------ */

.ticker {
  background: var(--navy);
  overflow: hidden;
  padding-block: .55rem;
  border-bottom: 2px solid var(--gold);
}
.ticker-track {
  display: flex;
  gap: 2.6rem;
  width: max-content;
  animation: ticker 30s linear infinite;
}
.ticker-track span {
  white-space: nowrap;
  font-weight: 600;
  font-size: .88rem;
  color: #dcecf9;
}
.ticker-track .tick-dot { color: var(--gold); }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ---- Hero chips ------------------------------------------------------------ */

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.chip {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .32rem .9rem;
  font-size: .85rem;
  font-weight: 700;
  color: var(--blue-deep);
  box-shadow: var(--shadow);
}

/* ---- Founder quotes (CSS scroll-snap) -------------------------------------- */

.quotes {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(88%, 32rem);
  gap: 1.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: .2rem .2rem 1rem;
  scrollbar-color: var(--blue) var(--tint);
}
.quote-card {
  scroll-snap-align: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  margin: 0;
}
.quote-card blockquote {
  margin: 0 0 1.2rem;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
  flex: 1;
}
.quote-card blockquote p { margin: 0; }
.quote-card blockquote p::before { content: "\201C"; color: var(--orange); font-size: 1.4em; line-height: 0; margin-right: .1em; }
.quote-card blockquote p::after { content: "\201D"; color: var(--orange); font-size: 1.4em; line-height: 0; margin-left: .1em; }
.quote-card figcaption { display: flex; align-items: center; gap: .8rem; }
.quote-card figcaption img {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  object-fit: cover;
}
.quote-card .q-name { font-weight: 800; color: var(--ink); }
.quote-card .q-role { font-size: .82rem; color: var(--faint); display: block; }

/* ---- FAQ (CSS-only accordion) ---------------------------------------------- */

.faq { display: grid; gap: .8rem; max-width: 50rem; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow);
  padding: .15rem 1.3rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  padding: .95rem 2.2rem .95rem 0;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: .1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue);
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 0 0 1.1rem; }

/* ---- Card hover lift -------------------------------------------------------- */

.card, .quote-card, .team-card {
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover, .quote-card:hover, .team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px -16px rgba(11, 39, 64, .3);
}
@media (prefers-reduced-motion: reduce) {
  .card:hover, .quote-card:hover, .team-card:hover { transform: none; }
}

.quote-solo { margin-top: 1.6rem; max-width: 44rem; }
.chips { list-style: none; padding: 0; margin-bottom: 0; }

/* ==========================================================================
   SaaS repositioning — two-ways cards & illustrative product UI (pure CSS)
   ========================================================================== */

/* ---- Two ways to work with us --------------------------------------------- */

.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.way {
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--bg);
  display: flex;
  flex-direction: column;
}
.way .way-tag {
  align-self: flex-start;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: .28rem .8rem;
  margin-bottom: 1rem;
}
.way-service .way-tag { background: var(--tint); color: var(--blue-deep); }
.way-saas .way-tag { background: #fdf4d5; color: var(--orange-deep); }
.way h3 { font-size: 1.35rem; }
.way ul { margin: 0 0 1.4rem; padding-left: 1.15rem; flex: 1; }
.way li { margin-bottom: .4rem; }
.way-saas { border-top: 4px solid var(--gold); }
.way-service { border-top: 4px solid var(--blue); }
@media (max-width: 820px) { .ways { grid-template-columns: 1fr; } }

/* ---- Illustrative product UI (mock browser + phone) ------------------------ */

.mock-stage {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.4rem;
  align-items: start;
}
@media (max-width: 820px) { .mock-stage { grid-template-columns: 1fr; } }

.mock-note { text-align: center; font-size: .85rem; color: var(--faint); margin-top: 1rem; }

.mock-browser {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(11, 39, 64, .45);
  border: 1px solid #1c2c40;
  background: #0d1523;
  font-size: .82rem;
}
.mock-chrome {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .6rem .9rem;
  background: #101b2c;
  border-bottom: 1px solid #1c2c40;
}
.mdot { width: .65rem; height: .65rem; border-radius: 50%; background: #2a3c55; }
.mdot:nth-child(1) { background: #e0684b; }
.mdot:nth-child(2) { background: #f8c018; }
.mdot:nth-child(3) { background: #34d399; }
.mock-url {
  flex: 1;
  max-width: 18rem;
  margin-left: .6rem;
  background: #0d1523;
  border: 1px solid #1c2c40;
  border-radius: 999px;
  color: #7d92aa;
  padding: .18rem .9rem;
  font-size: .74rem;
}
.mock-app { display: grid; grid-template-columns: 3.4rem 1fr; }
.mock-side {
  background: #0a111d;
  border-right: 1px solid #1c2c40;
  padding: .8rem .55rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .7rem;
}
.mock-side img { width: 2.1rem; height: auto; }
.mock-side .msq { width: 1.7rem; height: 1.7rem; border-radius: 8px; background: #14213a; }
.mock-side .msq.on { background: #1c3f66; box-shadow: inset 0 0 0 1.5px #38bdf8; }
.mock-main { padding: 1rem 1.1rem 1.2rem; color: #b9c6d4; }
.mock-title { font-weight: 700; color: #e8f1f9; margin-bottom: .8rem; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: .9rem; }
.mock-kpi {
  background: #101b2c;
  border: 1px solid #1c2c40;
  border-radius: 10px;
  padding: .6rem .7rem;
}
.mock-kpi .k { font-size: .68rem; color: #7d92aa; text-transform: uppercase; letter-spacing: .06em; }
.mock-kpi .v { font-weight: 800; color: #fff; font-size: 1rem; }
.mock-kpi .v.green { color: #4ade9b; }
.mock-rows { display: grid; gap: .45rem; }
.mock-row {
  display: flex;
  align-items: center;
  gap: .7rem;
  background: #101b2c;
  border: 1px solid #1c2c40;
  border-radius: 10px;
  padding: .55rem .8rem;
}
.mock-row .grow { flex: 1; }
.pill {
  font-size: .68rem;
  font-weight: 700;
  border-radius: 999px;
  padding: .14rem .6rem;
  white-space: nowrap;
}
.pill-green { background: rgba(52, 211, 153, .15); color: #4ade9b; }
.pill-sky { background: rgba(56, 189, 248, .15); color: #67d8f8; }
.pill-gold { background: rgba(248, 192, 24, .15); color: #f8c018; }

.mock-phone {
  border-radius: 22px;
  border: 1px solid #1c2c40;
  background: #0d1523;
  box-shadow: 0 24px 60px -20px rgba(11, 39, 64, .45);
  padding: 1rem .9rem 1.2rem;
  color: #b9c6d4;
  font-size: .8rem;
  max-width: 17rem;
  margin-inline: auto;
}
.mock-phone .notch { width: 6rem; height: .32rem; border-radius: 999px; background: #1c2c40; margin: 0 auto .9rem; }
.mock-phone .hello { display: flex; align-items: center; gap: .5rem; font-weight: 700; color: #e8f1f9; margin-bottom: .8rem; }
.mock-phone .hello img { width: 1.7rem; height: auto; }
.mock-phone .mock-row { margin-bottom: .45rem; }
.mock-phone .big {
  background: linear-gradient(135deg, #123156, #0e2440);
  border: 1px solid #1c3f66;
  border-radius: 12px;
  padding: .8rem .9rem;
  margin-bottom: .6rem;
}
.mock-phone .big .k { font-size: .68rem; color: #7d92aa; }
.mock-phone .big .v { font-size: 1.25rem; font-weight: 800; color: #fff; }

/* ---- Feature set grid (PlatPro) -------------------------------------------- */

.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.2rem;
}
.feat-grid .card h3 { margin-bottom: .9rem; }
.featlist { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.featlist li { padding-left: 1.7rem; position: relative; font-size: .97rem; }
.featlist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .22em;
  width: 1.05em;
  height: 1.05em;
  border-radius: 50%;
  background: var(--blue);
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="none" stroke="black" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.8 9.6 18 19.5 6.6"/></svg>') center / 100% no-repeat;
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="none" stroke="black" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.8 9.6 18 19.5 6.6"/></svg>') center / 100% no-repeat;
}
.card-orange .featlist li::before { background: var(--orange); }
.card-gold .featlist li::before { background: var(--gold); }
.feat-note { font-size: .85rem; color: var(--faint); margin-top: 1.1rem; }

/* ---- Gusto-style plan cards + feature comparison table ---------------------- */

.plan-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 2.4rem;
}
@media (max-width: 760px) { .plan-cards { grid-template-columns: 1fr; } }
.plan {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow);
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan.featured { border: 2px solid var(--gold); }
.plan .flag {
  position: absolute;
  top: -0.85rem;
  right: 1.2rem;
  background: var(--gold);
  color: var(--ink);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: .25rem .8rem;
}
.plan h3 { font-size: 1.4rem; margin-bottom: .2rem; }
.plan .plan-sub { color: var(--faint); font-size: .95rem; margin-bottom: 1rem; }
.plan .plan-price { font-weight: 800; color: var(--ink); margin-bottom: 1.1rem; }
.plan .plan-price small { display: block; font-weight: 600; color: var(--faint); }
.plan .featlist { margin-bottom: 1.5rem; flex: 1; }

.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.cmp {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg);
  font-size: .97rem;
}
@media (max-width: 900px) {
  .cmp { font-size: .88rem; }
  .cmp th, .cmp td { padding: .6rem .55rem; }
  .cmp thead th:first-child { width: auto; }
  .cmp .how { font-size: .76rem; }
}
.cmp th, .cmp td { padding: .8rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); }
.cmp thead th { background: var(--navy); color: #fff; font-size: .95rem; position: sticky; top: 0; }
.cmp thead th:first-child { width: 46%; }
.cmp thead th:not(:first-child), .cmp td:not(:first-child) { text-align: center; }
.cmp .cat th {
  background: var(--tint);
  color: var(--blue-deep);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.cmp tbody tr:not(.cat):hover td { background: #f7fbfe; }
.cmp .yes {
  display: inline-grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
}
.cmp td:nth-child(3) .yes { background: var(--orange); }
.cmp .no { color: var(--faint); }
.cmp .how { font-size: .85rem; font-weight: 700; color: var(--orange-deep); display: block; margin-top: .15rem; }
.cmp-note { font-size: .85rem; color: var(--faint); margin-top: 1rem; }

/* ---- Module cards: hover to expand with full detail (pure CSS) -------------- */

.feature-rows { position: relative; }
.feature-rows .card { position: relative; z-index: 1; }
.feature-rows .card .mod-more {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .38s ease;
}
.feature-rows .card .mod-more > div { overflow: hidden; }
.feature-rows .card .mod-more .featlist { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }

.feature-rows .card:hover,
.feature-rows .card:focus-within,
.feature-rows .card:focus {
  transform: scale(1.05);
  z-index: 5;
  box-shadow: 0 30px 70px -22px rgba(11, 39, 64, .45);
  outline: none;
}
.feature-rows .card:hover .mod-more,
.feature-rows .card:focus-within .mod-more,
.feature-rows .card:focus .mod-more {
  grid-template-rows: 1fr;
}

/* Touch devices have no hover — show the full detail permanently. */
@media (hover: none) {
  .feature-rows .card .mod-more { grid-template-rows: 1fr; }
  .feature-rows .card:hover, .feature-rows .card:focus { transform: none; }
}
