/* ─────────────────────────────────────────────────────────────────
   Form C Plus — productivity-app redesign
   Aesthetic: Linear / Zoho / Google Workspace
   ───────────────────────────────────────────────────────────────── */

:root {
  /* color tokens — drivable by tweaks */
  --accent: #F39240;          /* orange (original) */
  --accent-strong: #E07A24;
  --accent-deep: #C2410C;     /* AA-safe small orange text on soft/white bg */
  --accent-soft: #FFF3E6;
  --accent-wash: #FFF8F1;     /* faint warm wash for section backdrops */

  --ink: #0F172A;             /* near-black slate */
  --ink-2: #334155;
  --muted: #64748B;
  --faint: #94A3B8;

  --bg: #FAFAF8;             /* soft off-white page - not stark white */
  --bg-2: #F2F4F7;            /* panel */
  --bg-3: #EAEEF3;            /* sunken */
  --line: #E2E8F0;
  --line-strong: #CBD5E1;

  --good: #16A34A;
  --good-soft: #DCFCE7;
  --warn: #D97706;
  --bad: #DC2626;
  --bad-soft: #FEE2E2;

  /* shape */
  --r-sm: 6px;
  --r: 8px;
  --r-lg: 10px;

  /* density */
  --pad-y: 73px;
  --gap: 16px;

  /* type */
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 0 rgba(15, 23, 42, 0.02);
  --shadow-lg: 0 8px 24px -8px rgba(15, 23, 42, 0.12), 0 2px 4px rgba(15, 23, 42, 0.04);
}

/* ── Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 13px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Visible keyboard focus, everywhere */
:where(a, button, summary, input, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 2px;
}

/* Scroll reveal — .js scoping keeps content visible without JS.
   Pairs with the IntersectionObserver in home.php. */
.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.js .reveal.revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Uppercase-tracked eyebrow (design-system voice) */
.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 10px;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; }

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.mono {
  font-family: var(--font);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-size: 0.94em;
  color: var(--ink-2);
}

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 13px;
  border-radius: var(--r);
  font-weight: 500;
  font-size: 13px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent-strong);
  color: #fff;
  border-color: var(--accent-strong);
  font-weight: 600;
}
.btn-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }

.btn-ghost {
  background: #FFFFFF;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--bg-2); border-color: var(--line-strong); }

.btn-quiet {
  background: transparent;
  color: var(--ink-2);
  border-color: transparent;
}
.btn-quiet:hover { background: var(--bg-2); color: var(--ink); }

.btn-lg { height: 38px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }

/* ── Header ───────────────────────────────────────────── */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
header.site::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-strong) 55%, var(--accent) 100%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: var(--r-sm);
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.02em;
}
.brand-mark .dot { width: 7px; height: 7px; border-radius: 99px; background: #fff; }
.brand .brand-logo { height: 29px; width: auto; flex-shrink: 0; }
.brand small { color: var(--muted); font-weight: 400; font-size: 12px; margin-left: 2px; }

nav.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a.link {
  font-size: 13px;
  color: var(--ink-2);
  padding: 6px 12px;
  border-radius: var(--r-sm);
}
.nav a.link:hover { background: var(--bg-2); color: var(--ink); }
.nav .sep { width: 1px; height: 20px; background: var(--line); margin: 0 8px; }

/* ── Section scaffolding ──────────────────────────────── */
.section {
  padding: var(--pad-y) 0;
  border-bottom: 1px solid var(--line);
}
.section.alt { background: var(--bg-2); }

.section-head {
  max-width: 620px;
  margin: 0 auto 37px;
  text-align: center;
}
.section-head h2 {
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section-head h2 .k { color: var(--accent-strong); }
.section-head p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
}

/* ── Hero ─────────────────────────────────────────────── */
.hero { padding: 37px 0 61px;
  background: linear-gradient(180deg, var(--accent-wash) 0%, var(--bg) 72%); }
.hero-stage { max-width: 940px; text-align: center; }
.hero h1 { margin-top: 27px; font-size: clamp(28px, 3.8vw, 42px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; color: var(--ink); }
.hero h1 .k { color: var(--accent-strong); }
.hero .lede { margin: 16px auto 0; font-size: 15px; line-height: 1.65; color: var(--ink-2); max-width: 58ch; }
.hero-ctas { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; justify-content: center; }
.hero-note { margin-top: 14px; font-size: 12px; color: var(--muted); }

.hero-visual { position: relative; margin: 18px 0 0; border-radius: var(--r-lg);
  border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg); overflow: hidden; background: #fff; }
.hero-visual img, .hero-visual video { display: block; width: 100%; height: auto; }

/* Browser-chrome bar: frames the raw portal capture as "a real browser,
   the real portal" instead of a floating screenshot */
.hero-visual .chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.hero-visual .chrome .dot { width: 9px; height: 9px; border-radius: 99px; background: var(--line-strong); }
.hero-visual .chrome .url {
  flex: 1;
  text-align: center;
  margin-right: 39px; /* balances the dots so the URL sits optically centred */
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* Trust strip: the passport-data reassurance, visible at the fold */
.trust-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin: 22px 0 0;
  font-size: 12.5px;
  color: var(--ink-2);
}
.trust-strip li { display: inline-flex; align-items: center; gap: 7px; }
.trust-strip svg { color: var(--accent-strong); flex-shrink: 0; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 900px) {
  .hero { padding: 28px 0 56px; }
  .hero h1 { margin-top: 28px; }
}
/* ── How it works ─────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.step { display: flex; flex-direction: column; gap: 12px; }
.step-shot {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 16 / 10;
}
.step-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.step-head { display: flex; align-items: center; gap: 10px; margin-top: 2px; }
.step-num { width: 28px; height: 28px; border-radius: 99px; display: grid; place-items: center; flex-shrink: 0;
  background: var(--accent-soft); color: var(--accent-deep); font-weight: 800; font-size: 13px; }
.step h3 { font-size: 15px; letter-spacing: -0.01em; color: var(--ink); }
.step p { font-size: 13px; line-height: 1.65; color: var(--ink-2); }
.step-meta { display: inline-flex; align-self: flex-start; font-size: 11px; font-weight: 600;
  letter-spacing: 0.02em; color: #15803D; background: var(--good-soft);
  border-radius: 99px; padding: 4px 12px; margin-top: 2px; }

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 32px; }
}

/* ── Compare band: by hand vs Form C Plus ─────────────── */
.compare { max-width: 860px; margin: 44px auto 0; }
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 36px 1fr;
  align-items: stretch;
}
.compare-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px 20px;
}
.compare-panel.after { border-color: var(--ink); box-shadow: var(--shadow-lg); }
.compare-panel .eyebrow { margin-bottom: 6px; }
.compare-panel.before .eyebrow { color: var(--muted); }
.compare-arrow { display: grid; place-items: center; color: var(--accent-strong); font-size: 18px; font-weight: 700; }
.compare-big {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  margin: 0 0 10px;
  color: var(--ink);
}
.compare-panel.before .compare-big { color: var(--muted); }
.compare-big small { font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 2px; }
.compare-panel ul { display: flex; flex-direction: column; gap: 6px; }
.compare-panel li { font-size: 12.5px; color: var(--ink-2); line-height: 1.5; padding-left: 16px; position: relative; }
.compare-panel li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 99px;
  background: var(--line-strong);
}
.compare-panel.after li::before { background: var(--accent-strong); }

@media (max-width: 760px) {
  .compare-grid { grid-template-columns: 1fr; }
  .compare-arrow { transform: rotate(90deg); height: 34px; }
}
/* ── Pricing ──────────────────────────────────────────── */
.pricing-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
}
.toggle {
  display: inline-flex;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 3px;
}
.toggle button {
  background: transparent;
  border: 0;
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
}
.toggle button.on {
  background: #FFFFFF;
  color: var(--ink);
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}
.toggle .save {
  margin-left: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-strong);
}

.prices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.price {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 17px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.price.feature {
  border-color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.price.ltd {
  background: var(--ink);
  color: #E2E8F0;
  border-color: var(--ink);
}
.price.ltd h4,
.price.ltd .amt { color: #fff; }
/* Quieter than the Pro card's "Most popular" — one hero per row */
.price.ltd .tag { background: #1E293B; color: #FDBA74; border: 1px solid rgba(243, 146, 64, 0.4); }
.price.ltd .feat-bullets li { color: #CBD5E1; }
.price.ltd .feat-bullets li svg { color: var(--accent); }

.price .tag {
  position: absolute;
  top: -10px;
  right: 16px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 99px;
}
.price h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.price.ltd h4 { color: #fff; }
.price .sub { font-size: 12px; color: var(--muted); }
.price.ltd .sub { color: #94A3B8; }
.price .amt {
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.price .amt small { font-size: 11px; color: var(--muted); font-weight: 400; margin-left: 4px; }
.price.ltd .amt small { color: #94A3B8; }

.feat-bullets { display: flex; flex-direction: column; gap: 7px; margin: 4px 0; }
.feat-bullets li { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: var(--ink-2); }
.feat-bullets li svg { color: var(--good); flex-shrink: 0; margin-top: 3px; }

.price .cta { margin-top: auto; padding-top: 8px; }

.ltd-progress {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  overflow: hidden;
}
.ltd-progress .bar {
  height: 100%;
  background: var(--accent);
  border-radius: 99px;
  transition: width 0.4s;
}
.ltd-caption {
  font-size: 12px;
  color: #94A3B8;
  font-variant-numeric: tabular-nums;
}

/* ── Mini-FAQ ─────────────────────────────────────────── */
/* FAQ band: warm wash so the page isn't wall-to-wall white/slate */
#faq.section.alt { background: var(--accent-wash); }
#faq .faq-item summary:hover { background: var(--accent-soft); }

.mini-faq {
  max-width: 620px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #FFFFFF;
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 500;
  font-size: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .chev {
  width: 24px;
  height: 24px;
  border-radius: 99px;
  background: var(--bg-2);
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: transform 0.18s, background 0.18s;
}
.faq-item[open] .chev { transform: rotate(45deg); background: var(--accent-soft); color: var(--accent-strong); }
.faq-item .body {
  padding: 0 17px 15px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.6;
}

/* ── Final CTA ────────────────────────────────────────── */
.final {
  background: var(--ink);
  color: #E2E8F0;
  padding: var(--pad-y) 0;
  border-bottom: 0;
}
.final h2 { color: #fff; font-size: 30px; line-height: 1.1; letter-spacing: -0.02em; }
.final h2 .k { color: var(--accent); }
.final p { color: #94A3B8; font-size: 14px; margin-top: 16px; max-width: 460px; }
.final .hl { color: #fff; font-weight: 600; }
.final-ctas { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.btn-on-dark { background: transparent; border-color: rgba(255, 255, 255, 0.22); color: #fff; }
.btn-on-dark:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.4); }
.final-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 41px;
  align-items: start;
}

.contact-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-form h4 { color: #fff; font-size: 14px; }
.contact-form .sub { font-size: 13px; color: #94A3B8; margin-top: -6px; margin-bottom: 4px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  min-width: 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  color: #fff;
  font: inherit;
  font-size: 14px;
  outline: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #64748B; }
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--accent); }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact-form textarea { min-height: 90px; resize: vertical; font-family: inherit; }
.contact-form button { align-self: flex-start; }
.contact-form .msg {
  display: none;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  font-size: 13px;
}
.contact-form .msg.show { display: block; }
.contact-form .msg.ok { background: rgba(34, 197, 94, 0.12); border: 1px solid rgba(34, 197, 94, 0.3); color: #4ADE80; }
.contact-form .msg.err { background: rgba(239, 68, 68, 0.12); border: 1px solid rgba(239, 68, 68, 0.3); color: #FCA5A5; }

/* ── Footer ───────────────────────────────────────────── */
footer.site {
  background: var(--bg-2);
  padding: 43px 0 22px;
  font-size: 13px;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
footer.site h4 {
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 14px;
  font-weight: 600;
}
footer.site ul li { padding: 5px 0; }
footer.site ul li a { color: var(--ink-2); }
footer.site ul li a:hover { color: var(--accent-strong); }
footer.site .desc { color: var(--ink-2); margin: 12px 0 0; max-width: 280px; line-height: 1.55; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding-top: 24px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* ── LTD Modal ────────────────────────────────────────── */
dialog.modal {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 0;
  width: 440px;
  max-width: calc(100vw - 32px);
  box-shadow: var(--shadow-lg);
}
dialog.modal::backdrop {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(2px);
}
.modal-inner { padding: 24px; }
.modal-inner h3 { font-size: 15px; margin-bottom: 6px; }
.modal-inner p { font-size: 14px; color: var(--ink-2); margin-bottom: 16px; }
.modal-inner label {
  display: block;
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 14px;
  font-weight: 500;
}
.modal-inner label input,
.modal-inner label textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  font-weight: 400;
}
.modal-inner label input:focus,
.modal-inner label textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: 0;
  width: 28px;
  height: 28px;
  border-radius: 99px;
  cursor: pointer;
  color: var(--muted);
  font-size: 18px;
}
.modal-close:hover { background: var(--bg-2); }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 960px) {
  .hero h1 { font-size: 31px; }
  .final-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .prices { grid-template-columns: 1fr 1fr; }
  .nav .link { display: none; }
  .nav .sep { display: none; }
}
@media (max-width: 600px) {
  .prices { grid-template-columns: 1fr; }
  .section-head h2,
  .final h2 { font-size: 22px; }
  .hero h1 { font-size: 27px; }
  .brand small { display: none; }
  .contact-form .row { grid-template-columns: 1fr; }
  .trust-strip { gap: 8px 18px; font-size: 12px; }
}

.price .amt .unit { font-size: 11px; color: var(--muted); font-weight: 400; margin-left: 4px; }
