/* Logictap — inner pages
   Matched to the homepage design system: Plus Jakarta Sans, ink/paper/sand
   surfaces, orange accent, 18px cards, 44px icon chips. */

:root {
  --ink: #1a1a1a;
  --muted: #6b6659;
  --paper: #fbfaf7;
  --sand: #f3efe7;
  --white: #fff;
  --orange: #c8501e;
  --orange-dark: #a83f16;
  --orange-soft: #e8875a;
  --chip: #f7e6dc;
  --green: #1f8a4c;
  --line: rgba(0, 0, 0, .07);
  --line-strong: rgba(0, 0, 0, .12);
  --shadow: 0 14px 40px rgba(34, 28, 22, .07);
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--orange); }
a:hover { color: var(--orange-dark); }

img { max-width: 100%; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 247, .92);
  backdrop-filter: blur(8px);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 14px;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 36px; width: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 22px);
  margin-left: auto;
}

.nav-links a {
  color: #4a463c;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--orange); }
.nav-links a[aria-current="page"] { color: var(--orange); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 12px;
  background: var(--orange);
  color: var(--white) !important;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(200, 80, 30, .28);
  transition: background .18s ease, transform .18s ease;
}

.nav-cta:hover { background: var(--orange-dark); transform: translateY(-1px); }

/* ── Buttons ─────────────────────────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 24px;
  border-radius: 12px;
  background: var(--orange);
  color: var(--white) !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(200, 80, 30, .28);
  border: none;
  font-family: inherit;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}

.button:hover { background: var(--orange-dark); transform: translateY(-1px); }

.button-secondary {
  background: transparent;
  color: var(--white) !important;
  border: 1px solid rgba(255, 255, 255, .3);
  box-shadow: none;
}

.button-secondary:hover { background: rgba(255, 255, 255, .08); }

.button-light {
  background: var(--white);
  color: var(--ink) !important;
  border: 1px solid var(--line-strong);
  box-shadow: none;
}

.button-light:hover { background: var(--white); border-color: rgba(0, 0, 0, .25); }

/* ── Breadcrumbs ─────────────────────────────────────────── */
.breadcrumbs {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
}

.breadcrumbs a { color: var(--orange); font-weight: 700; text-decoration: none; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(60px, 9vw, 104px) 0 clamp(52px, 8vw, 88px);
  background: var(--ink);
  color: var(--white);
}

.hero::after {
  position: absolute;
  right: -10%;
  bottom: -60%;
  width: min(58vw, 660px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 80, 30, .3), transparent 68%);
  content: "";
  pointer-events: none;
}

.hero .wrap { position: relative; z-index: 1; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero .eyebrow { color: var(--orange-soft); }

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(36px, 5.6vw, 58px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.03em;
  text-wrap: pretty;
}

.hero-lead {
  max-width: 620px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .74);
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 500;
  line-height: 1.6;
}

.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }

.pill-row span {
  padding: 5px 12px;
  border: 1.5px solid rgba(255, 255, 255, .5);
  border-radius: 999px;
  background: rgba(20, 18, 16, .25);
  font-size: 11px;
  font-weight: 700;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 30px;
  color: rgba(255, 255, 255, .62);
  font-size: 12.5px;
  font-weight: 600;
}

.proof-row span::before { margin-right: 7px; color: var(--orange-soft); content: "✓"; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 18px;
  margin-top: clamp(30px, 5vw, 42px);
  padding-top: clamp(26px, 4vw, 34px);
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.stat-row div { text-align: center; }
.stat-row b { display: block; color: var(--orange-soft); font-size: 30px; font-weight: 800; }
.stat-row span { display: block; margin-top: 4px; color: rgba(255, 255, 255, .5); font-size: 12.5px; font-weight: 500; line-height: 1.4; }

/* ── Sections ────────────────────────────────────────────── */
.section { padding: clamp(54px, 8vw, 88px) 0; }
.section-alt { background: var(--sand); }
.section-dark { background: var(--ink); color: var(--white); }

.section-heading { max-width: 660px; margin: 0 auto clamp(28px, 4vw, 40px); text-align: center; }

.section-heading h2 {
  margin: 0;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  text-wrap: pretty;
}

.section-heading p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
}

.section-dark .section-heading p { color: rgba(255, 255, 255, .6); }
.section-dark .section-heading p.eyebrow { color: var(--orange-soft); }

.grid-2, .grid-3 { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ── Cards ───────────────────────────────────────────────── */
.card {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }

.icon-chip {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--chip);
}

.icon-chip svg { width: 22px; height: 22px; }

.step-label {
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.card h3 { margin: 0 0 8px; color: var(--ink); font-size: 18px; font-weight: 700; line-height: 1.3; }
.card p { margin: 0; color: var(--muted); font-size: 14px; font-weight: 500; line-height: 1.65; }

/* Workflow cards put the icon beside the text, not above it. Scoped to .grid-2 because
   the .grid-3 step cards pair their icon with a "Step 1" label and must stay stacked. */
.grid-2 .card { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: start; }
.grid-2 .card .card-head { grid-row: 1 / span 2; margin-bottom: 0; }
.grid-2 .card h3, .grid-2 .card p { grid-column: 2; }

.card ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }

.card li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.card li::before { position: absolute; left: 0; top: 0; color: var(--orange); font-weight: 800; content: "✓"; }

/* ── Feature rows ────────────────────────────────────────── */
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }

.feature { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); }
.section-alt .feature { background: var(--white); }
.feature h3 { margin: 0 0 5px; font-size: 16px; font-weight: 700; }
.feature p { margin: 0; color: var(--muted); font-size: 13.5px; font-weight: 500; line-height: 1.6; }

/* ── Boundaries (always / never) ─────────────────────────── */
.boundary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.boundary-card { padding: 26px 26px 22px; border-radius: 20px; background: var(--paper); }

.boundary-head {
  display: flex;
  align-items: center;
  color: var(--ink);
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  font-weight: 800;
}

.boundary-mark {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
}

.boundary-mark.no { background: var(--orange); }

.boundary-list { display: grid; gap: 15px; margin: 0; padding: 0; list-style: none; }
.boundary-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; font-weight: 500; line-height: 1.55; color: var(--muted); }

.boundary-icon {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #e4efe8;
}
.boundary-icon.no { background: var(--chip); }
.boundary-list strong { display: block; color: var(--ink); font-size: 14.5px; font-weight: 700; margin-bottom: 2px; }

/* ── Pricing ─────────────────────────────────────────────── */
.price-card { display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--orange); box-shadow: 0 18px 44px rgba(200, 80, 30, .13); }

.badge {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--chip);
  color: var(--orange-dark);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.price-who { margin: 0 0 16px; color: var(--muted); font-size: 13.5px; font-weight: 500; }
.price { margin: 0 0 18px; font-size: 38px; font-weight: 800; letter-spacing: -.02em; }
.price small { color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing: 0; }
.price-card ul { flex: 1; }
.price-card .button { margin-top: 22px; justify-content: center; }

/* ── Demo band ───────────────────────────────────────────── */
.demo-band {
  display: grid;
  gap: 8px;
  padding: clamp(26px, 4vw, 36px);
  border-radius: 20px;
  background: var(--orange);
  color: var(--white);
  text-align: center;
}

.demo-band p { margin: 0; font-size: 14px; font-weight: 700; }
.demo-band a { color: var(--white); font-size: clamp(26px, 4vw, 38px); font-weight: 800; letter-spacing: -.02em; text-decoration: none; }
.demo-band small { color: rgba(255, 255, 255, .8); font-size: 12.5px; font-weight: 500; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq { display: grid; gap: 10px; max-width: 820px; margin: 0 auto; }

.faq details {
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 700;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { color: var(--orange); font-size: 17px; font-weight: 700; content: "+"; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 10px 0 0; color: var(--muted); font-size: 14px; font-weight: 500; line-height: 1.7; }

/* ── Closing CTA ─────────────────────────────────────────── */
.closing { text-align: center; }
.closing h2 { margin: 0 auto; max-width: 16ch; font-size: clamp(28px, 5vw, 44px); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
.closing p { margin: 14px auto 0; max-width: 520px; color: var(--muted); font-size: 15px; font-weight: 500; line-height: 1.65; }
.closing .hero-actions { justify-content: center; margin-top: 26px; }
.closing small { display: block; margin-top: 14px; color: var(--muted); font-size: 12px; font-weight: 500; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer { padding: clamp(32px, 5vw, 48px) 0 28px; background: var(--ink); color: rgba(255, 255, 255, .65); }

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-top img { height: 32px; width: auto; display: block; margin-bottom: 10px; }
.footer-tagline { margin: 0; color: rgba(255, 255, 255, .45); font-size: 13px; font-weight: 500; }

.footer-badges { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }

.footer-badges span {
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 20px;
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .45);
  font-size: 11px;
  font-weight: 600;
}

.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 18px; padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-nav a { color: rgba(255, 255, 255, .72); font-size: 12px; font-weight: 600; text-decoration: none; }
.footer-nav a:hover { color: var(--white); }

.footer-bottom { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; padding-top: 20px; color: rgba(255, 255, 255, .38); font-size: 12px; font-weight: 500; }
.footer-bottom a { color: rgba(255, 255, 255, .55); text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }
.footer-bottom div { display: flex; gap: 18px; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 980px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .grid-2, .boundary-grid { grid-template-columns: 1fr; }
  .brand img { height: 32px; }
  .nav-cta { padding: 10px 14px; font-size: 12.5px; }
  .hero { padding-top: 52px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .nav-cta { transition: none; }
}
