/* ==========================================================================
   InterimReport — www.css
   Public marketing site stylesheet
========================================================================== */

/* ── Reset & base ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --green:       #5AAD3A;
  --green-dark:  #479030;
  --green-light: #b8e4a0;
  --green-faint: rgba(90,173,58,.08);
  --bg:      #0B1320;
  --bg2:     #101C30;
  --card:    #142038;
  --card2:   #1A2A48;
  --border:  rgba(90,173,58,0.15);
  --text:    #E4EEF8;
  --muted:   #7A95B8;
  --faint:   rgba(90,173,58,0.08);
  --gold:    #F5C842;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--muted); text-decoration: none; }
a:hover { text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ── Utility buttons ────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--green);
  color: #fff !important;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  padding: .85rem 2rem;
  border-radius: 10px;
  text-decoration: none !important;
  transition: background .2s, transform .2s;
  font-size: .95rem;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--text) !important;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  padding: .85rem 2rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  text-decoration: none !important;
  transition: border-color .2s, color .2s, transform .2s;
  font-size: .95rem;
}
.btn-ghost:hover { border-color: rgba(90,173,58,.35); color: var(--green-light) !important; transform: translateY(-1px); }

/* ── Section helpers ────────────────────────────────────────────── */
.section-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(90,173,58,0.2);
}
.lp-section  { max-width: 1100px; margin: 0 auto; padding: 5rem 2rem; }
.lp-center   { text-align: center; }
.lp-tight    { padding: 3.5rem 2rem; }
.lp-h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.7rem,3.2vw,2.4rem); font-weight: 800;
  color: #fff; letter-spacing: -.25px; margin: .4rem 0 1rem; line-height: 1.2;
}
.lp-h2 em { font-style: normal; color: var(--green-light); }
.lp-lead { color: var(--muted); font-size: .97rem; max-width: 580px; margin: 0 auto; line-height: 1.75; }
.lp-divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── Navigation ─────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11,19,32,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .65rem 4rem;
}
.logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img { height: 49px; width: auto; margin-right: 16px; }
.logo span { color: var(--green-light); }
nav ul { display: flex; gap: 2rem; list-style: none; }
nav ul a {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s;
}
nav ul a:hover { color: #fff; }
nav ul a.nav-active { color: #fff; position: relative; }
nav ul a.nav-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}
.nav-right { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.nav-login {
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  padding: .5rem .9rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  transition: .2s;
}
.nav-login:hover { color: #fff; border-color: rgba(255,255,255,.2); }
.nav-cta {
  background: var(--green);
  color: #fff; border: none; padding: .55rem 1.4rem;
  border-radius: 6px; font-family: 'DM Sans', sans-serif;
  font-weight: 500; font-size: .9rem; cursor: pointer;
  transition: .2s; text-decoration: none;
}
.nav-cta:hover { background: var(--green-dark); }
.nav-hamburger {
  display:none;
  flex-direction:column; justify-content:center; align-items:center;
  gap:5px; width:38px; height:38px; border-radius:8px;
  background:transparent; border:1px solid var(--border);
  cursor:pointer; padding:0; flex-shrink:0;
  transition:border-color .2s;
}
.nav-hamburger:hover { border-color:rgba(90,173,58,.4); }
.nav-hamburger span {
  display:block; width:18px; height:2px;
  background:var(--muted); border-radius:2px;
  transition:transform .28s ease, opacity .2s ease, background .2s;
  transform-origin:center;
}
.nav-hamburger.open span:nth-child(1) { transform:translateY(7px) rotate(45deg); background:#fff; }
.nav-hamburger.open span:nth-child(2) { opacity:0; }
.nav-hamburger.open span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); background:#fff; }

/* Mobile nav */
.nav-mobile {
  display:none;
  position:fixed; top:65px; left:0; right:0; z-index:99;
  background:rgba(11,19,32,.97);
  backdrop-filter:blur(18px);
  border-bottom:1px solid var(--border);
  max-height:0; overflow:hidden;
  transition:max-height .32s cubic-bezier(.4,0,.2,1), opacity .25s ease;
  opacity:0;
}
.nav-mobile.open { max-height:520px; opacity:1; }

/* ── Mobile logo (standard template - keep identical across all apps) ──
   The logo gives way to the menu button: it may shrink, it scales down on
   phones, and a wordmark wrapped as <span class="logo-word">First<span>Second</span></span>
   stacks onto two lines on small screens. */
nav { gap:.75rem; }
nav .logo { flex:0 1 auto; min-width:0; }
nav .nav-right { flex-shrink:0; }
@media (max-width:480px){
  nav .logo { font-size:1.15rem; }
  nav .logo img { height:36px; margin-right:10px; }
  nav .logo-word { font-size:1.15rem; display:flex; flex-direction:column; align-items:flex-start; line-height:1.05; }
  nav .logo-word > span { display:block; }
}

@media (max-width: 900px) {
  nav { padding: .65rem 1.5rem; }
  nav ul { display: none; }
  .nav-cta { display: none; }
  .nav-login { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile { display: block; }
}
/* Mobile menu items - matches ETB / MTB / SafetyCert */
.nav-mobile-list {
  list-style: none; padding: 1.2rem 1.5rem 1.5rem; margin: 0;
  display: flex; flex-direction: column; gap: .2rem;
}
.nav-mobile-list li a {
  display: block; padding: .75rem 1rem; border-radius: 8px;
  color: var(--muted); text-decoration: none; font-size: .95rem;
  font-weight: 500; transition: color .15s, background .15s;
}
.nav-mobile-list li a:hover { color: #fff; background: rgba(90,173,58,.08); }
.nav-mobile-list li a.nav-active { color: #fff; background: rgba(90,173,58,.1); }
.nav-mobile-divider { height: 1px; background: var(--border); margin: .6rem 0; }
.nav-mobile-cta {
  display: block; text-align: center;
  background: var(--green); color: #fff !important;
  border-radius: 8px; padding: .8rem 1rem !important;
  font-weight: 600 !important; font-size: .95rem;
  margin-top: .4rem; text-decoration: none;
  transition: background .2s !important;
}
.nav-mobile-cta:hover { background: var(--green-dark) !important; }
.nav-mobile-login {
  text-align: center; border: 1px solid var(--border);
  border-radius: 8px; margin-top: .4rem;
}
.nav-mobile-login:hover { border-color: rgba(90,173,58,.4) !important; }

/* ── Hero ───────────────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(90,173,58,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-block;
  background: rgba(90,173,58,0.12);
  border: 1px solid rgba(90,173,58,0.3);
  color: var(--green-light);
  font-size: .78rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase;
  padding: .4rem 1rem; border-radius: 50px;
  line-height: 1;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  max-width: 720px; margin: 0 auto 1.5rem;
  color: #fff;
}
.hero h1 em { font-style: normal; color: var(--green-light); }
.hero p {
  font-size: 1.1rem; color: var(--muted); max-width: 560px; margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1rem; }
.hero-stats {
  display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.stat { text-align: center; }
.stat-val {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 2rem;
  color: #fff;
}
.stat-val span { color: var(--green-light); }
.stat-label { font-size: .8rem; color: var(--muted); margin-top: .3rem; letter-spacing: .04em; }

/* Trust bar */
.lp-trust-bar { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 1.4rem 2rem; }
.lp-trust-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .6rem 1.2rem; }
.lp-trust-label { font-size: .75rem; font-weight: 600; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.lp-trust-sep { width: 1px; height: 16px; background: var(--border); flex-shrink: 0; }
.lp-trust-name {
  font-size: .84rem; font-weight: 600; color: var(--text);
  background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; padding: .3rem .9rem; white-space: nowrap;
}

/* Problem grid */
.lp-problem-grid {
  display: grid; grid-template-columns: 1fr 60px 1fr;
  gap: 0; align-items: stretch; margin-top: 2.5rem;
}
.lp-before, .lp-after { border-radius: 16px; padding: 2rem; text-align: left; }
.lp-before { background: rgba(255,80,80,.05);   border: 1px solid rgba(255,80,80,.15); }
.lp-after  { background: rgba(45,216,138,.05);  border: 1px solid rgba(45,216,138,.18); }
.lp-ba-head {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.lp-before .lp-ba-head { color: rgba(255,130,130,.9); }
.lp-after  .lp-ba-head { color: var(--green-light); }
.lp-ba-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .7rem; text-align: left; }
.lp-ba-list li {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .87rem; color: var(--muted); line-height: 1.55;
  text-align: left;
}
.lp-before .lp-ba-list li::before { content: '✗'; color: rgba(255,130,130,.8); font-weight: 700; flex-shrink: 0; }
.lp-after  .lp-ba-list li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.lp-ba-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lp-ba-arrow {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--green); display: flex; align-items: center;
  justify-content: center; color: #fff; font-size: 1.1rem; flex-shrink: 0;
}
@media (max-width: 720px) {
  .lp-problem-grid { grid-template-columns: 1fr; }
  .lp-ba-divider { transform: rotate(90deg); margin: 1rem 0; }
}

/* ── How it works — 4-card layout ──────────────────────────────── */
/*
  Matches the proven concom pattern exactly:
  - .lp-how-grid: position:relative (stacking context for the line)
  - .lp-how-grid::before: z-index:1 (line above card backgrounds)
  - .lp-how-card: NO position set (critical — a positioned card creates a
    stacking context that traps the circle inside it, preventing z-index:2
    from competing with the line's z-index:1 on the grid level)
  - .lp-how-num: position:relative; z-index:2 (circle above the line)
*/
.lp-how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 2.5rem;
  position: relative;
}
.lp-how-grid::before {
  content: '';
  position: absolute;
  top: 60px;
  left: calc(12.5% + 28px);
  right: calc(12.5% + 28px);
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--green-light), var(--green-light), var(--green));
  opacity: .3;
  z-index: 1;
}
.lp-how-grid::after { display: none; }

/* No position on the card — do not add it, it breaks circle z-index */
.lp-how-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 2rem 1.4rem; text-align: center;
}
/* position:relative + z-index:2 lets the circle paint above the z-index:1 line */
.lp-how-num {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 1.2rem;
  background: rgba(90,173,58,.10); border: 2px solid rgba(90,173,58,.35);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans',sans-serif; font-size: 1.3rem;
  font-weight: 800; color: var(--green-light);
  position: relative; z-index: 2;
}
.lp-how-card h3 {
  font-family: 'Plus Jakarta Sans',sans-serif; font-size: .97rem;
  font-weight: 700; color: #fff; margin-bottom: .6rem;
}
.lp-how-card p { font-size: .84rem; color: var(--muted); line-height: 1.65; }

/* Features */
.lp-feat-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1.2rem; margin-top: 2.5rem;
}
.lp-feat-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 1.6rem 1.5rem;
  display: grid; grid-template-columns: 42px 1fr;
  grid-template-rows: auto auto;
  align-content: start;
  column-gap: .75rem; row-gap: .6rem;
  transition: border-color .2s;
}
.lp-feat-card:hover { border-color: rgba(90,173,58,.32); }
.lp-feat-icon {
  grid-column: 1; grid-row: 1; align-self: center;
  width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
  background: var(--faint); border: 1px solid rgba(90,173,58,.18);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--green-light);
}
.lp-feat-card h3 {
  grid-column: 2; grid-row: 1; align-self: center;
  font-family: 'Plus Jakarta Sans',sans-serif; font-size: .97rem;
  font-weight: 700; color: #fff; margin: 0; text-align: left;
}
.lp-feat-card p { grid-column: 1 / -1; grid-row: 2; font-size: .83rem; color: var(--muted); line-height: 1.65; margin: 0; }

/* Responsive breakpoints — how-grid and feat-grid handled separately */
@media (max-width: 960px) {
  .lp-how-grid { grid-template-columns: 1fr 1fr; }
  .lp-how-grid::before, .lp-how-grid::after { display: none; }
}
@media (max-width: 540px) {
  .lp-how-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .lp-feat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .lp-feat-grid { grid-template-columns: 1fr; }
}

/* Who it's for */
.lp-vp-grid {
  display:grid; grid-template-columns:1fr 1fr;
  gap:1.5rem; margin-top:2.5rem;
}
.lp-vp-card {
  background:var(--card); border:1px solid var(--border);
  border-radius:16px; overflow:hidden; display:flex; flex-direction:column;
}
.lp-vp-top { padding:2rem 2rem 1.6rem; border-bottom:1px solid var(--border); }
.lp-vp-body { padding:1.6rem 2rem 2rem; flex:1; }
.vp-badge {
  display:inline-block; font-size:.72rem; font-weight:700;
  letter-spacing:.06em; text-transform:uppercase;
  background:rgba(90,173,58,.12); border:1px solid rgba(90,173,58,.25);
  color:var(--green-light); border-radius:20px; padding:.25rem .8rem; margin-bottom:.9rem;
}
.lp-vp-card h3 {
  font-family:'Plus Jakarta Sans',sans-serif; font-size:1.15rem;
  font-weight:800; color:#fff; margin-bottom:.6rem;
}
.lp-vp-card > .lp-vp-top > p { font-size:.88rem; color:var(--muted); line-height:1.65; }
.lp-vp-list { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:.6rem; }
.lp-vp-list li {
  display:flex; align-items:flex-start; gap:.6rem;
  font-size:.87rem; color:var(--text); line-height:1.55;
  text-align:left;
}
.lp-vp-list li::before { content:'✓'; color:var(--green-light); font-weight:700; flex-shrink:0; }
@media (max-width: 640px) { .lp-vp-grid { grid-template-columns: 1fr; } }

/* Testimonials */
.lp-testi-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5rem; margin-top: 2.5rem;
}
.lp-testi-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 2rem;
}
.lp-testi-stars { color: var(--gold); font-size: .85rem; margin-bottom: .75rem; letter-spacing: .05em; }
.lp-testi-card blockquote {
  font-size: .92rem; color: var(--text); line-height: 1.75;
  font-style: italic; margin: 0 0 1.4rem; padding: 0;
  text-align: left;
}
.lp-testi-card blockquote::before {
  content: '\201C'; font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15em; color: var(--green-light); margin-right: .1em;
}
.lp-testi-card blockquote::after {
  content: '\201D'; font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15em; color: var(--green-light); margin-left: .1em;
}
.lp-testi-attr { display: flex; flex-direction: column; gap: .45rem; text-align: left; }
.lp-testi-attr strong { font-size: .88rem; color: #fff; }
.lp-testi-attr span { font-size: .78rem; color: var(--muted); }
@media (max-width: 640px) { .lp-testi-grid { grid-template-columns: 1fr; } }

/* Ecosystem */
.lp-eco-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.lp-eco-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.4rem 1.2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  transition: border-color .2s, transform .18s;
}
.lp-eco-card:hover { border-color: rgba(90,173,58,.3); transform: translateY(-2px); }
.lp-eco-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: var(--faint);
  border: 1px solid var(--border);
  color: var(--green-light);
}
.lp-eco-card h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.lp-eco-card p  { font-size: .77rem; color: var(--muted); line-height: 1.5; margin: 0; }
@media (max-width: 720px) { .lp-eco-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) {
  .lp-eco-grid { grid-template-columns: 1fr; }
  .lp-eco-card {
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
    column-gap: .75rem;
    row-gap: .4rem;
    text-align: left;
    align-items: start;
  }
  .lp-eco-icon { grid-column: 1; grid-row: 1; }
  .lp-eco-card h4 { grid-column: 2; grid-row: 1; align-self: center; }
  .lp-eco-card p  { grid-column: 1 / -1; grid-row: 2; }
}

/* Pricing preview (Features page section 10) */
.lp-price-bg { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.lp-price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2.5rem;
}
.lp-price-card {
  background:var(--bg); border:1px solid var(--border);
  border-radius:14px; padding:1.6rem; text-align:left;
  display: flex; flex-direction: column;
}
.lp-price-card.lp-featured {
  border-color:rgba(90,173,58,.5);
  box-shadow:0 0 0 1px rgba(90,173,58,.25);
}
.lp-pc-badge {
  display:inline-block; font-size:.72rem; font-weight:700; letter-spacing:.06em;
  text-transform:uppercase; color:var(--green-light);
  background:rgba(90,173,58,.10); border:1px solid rgba(90,173,58,.25);
  border-radius:10px; padding:.2rem .65rem; margin-bottom:.6rem;
}
.lp-pc-popular {
  display: inline-block; font-size: .65rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  background: var(--green); color: #fff;
  border-radius: 6px; padding: .2rem .6rem; margin-bottom: .6rem; margin-left: .4rem;
  vertical-align: middle;
}
.lp-price-card h3 {
  font-family:'Plus Jakarta Sans',sans-serif; font-size:1rem;
  font-weight:700; color:#fff; margin:0 0 .4rem;
}
.lp-price-val { font-size:2rem; font-weight:800; color:#fff; margin-bottom:.15rem; letter-spacing:-.03em; line-height:1.1; }
.lp-price-note { font-size:.75rem; color:var(--muted); margin-bottom:.9rem; }
.lp-tier-incl-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: .35rem; background: var(--card2); border-radius: 8px;
  padding: .6rem .75rem; margin-bottom: .9rem;
}
.lp-tier-incl-item {
  font-size: .73rem; color: var(--muted);
  display: flex; align-items: center; gap: .3rem;
}
.lp-tier-incl-item i { color: var(--green-light); font-size: .8rem; }
.lp-price-incl { list-style:none; padding:0; margin:0 0 1.2rem; display:flex; flex-direction:column; gap:.4rem; flex:1; }
.lp-price-incl li {
  font-size:.8rem; color:var(--muted); line-height:1.45;
  padding-left:1.1rem; position:relative;
}
.lp-price-incl li::before { content:'✓'; position:absolute; left:0; color:var(--green); font-weight:700; }
@media (max-width: 800px) { .lp-price-grid { grid-template-columns: 1fr; } }

/* FAQ */
.lp-faq { max-width: 680px; margin: 2.5rem auto 0; }
.lp-faq-item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 0; margin-bottom: -1px; overflow: hidden;
}
.lp-faq-item:first-child { border-radius: 14px 14px 0 0; }
.lp-faq-item:last-child  { border-radius: 0 0 14px 14px; margin-bottom: 0; }
.lp-faq-q {
  padding: 1.1rem 1.5rem; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; user-select: none;
}
.lp-faq-q span { font-size: .92rem; font-weight: 600; color: var(--text); }
.lp-faq-q .lp-faq-arr { color: var(--muted); font-size: .8rem; transition: .2s; flex-shrink: 0; }
.lp-faq-item.open .lp-faq-arr { transform: rotate(180deg); color: var(--green-light); }
.lp-faq-item.open .lp-faq-q span { color: #fff; }
.lp-faq-a {
  display: none; padding: 0 1.5rem 1.2rem;
  font-size: .87rem; color: var(--muted); line-height: 1.7;
}
.lp-faq-item.open .lp-faq-a { display: block; }

/* Final CTA */
.lp-final-cta {
  text-align: center;
  background: linear-gradient(135deg,rgba(90,173,58,.15) 0%,rgba(90,173,58,.04) 60%,transparent 100%);
  border-top: 1px solid rgba(90,173,58,.22);
  padding: 5rem 2rem 5.5rem; position: relative; overflow: hidden;
}
.lp-final-cta::before {
  content: ''; position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(circle, rgba(90,173,58,.18) 0%, transparent 70%);
  pointer-events: none;
}
.lp-final-cta h2 {
  font-family: 'Plus Jakarta Sans',sans-serif;
  font-size: clamp(2rem,4vw,3rem); font-weight: 800;
  color: #fff; letter-spacing: -.3px; margin: .5rem auto 1rem;
  line-height: 1.18; max-width: 680px; position: relative;
}
.lp-final-cta h2 em { font-style: normal; color: var(--green-light); }
.lp-final-cta p { color: var(--muted); font-size: 1rem; max-width: 500px; margin: 0 auto 2.5rem; line-height: 1.7; position: relative; }
.lp-final-cta .lp-cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }
.lp-final-cta .lp-cta-note { font-size: .78rem; color: var(--muted); margin-top: 1rem; position: relative; }

/* Footer */
.site-footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 3rem 4rem; display: block; }
.site-footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 2.5rem; align-items: start;
  padding-bottom: 2.5rem;
}
.sf-brand .site-footer-logo {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800;
  font-size: 1.25rem; color: #fff;
}
.sf-brand .site-footer-logo span { color: var(--green-light); }
.sf-tagline { font-size: .82rem; color: var(--muted); margin-top: .4rem; line-height: 1.55; max-width: 230px; }
.sf-contact { margin-top: 1.2rem; display: flex; flex-direction: column; gap: .35rem; }
.sf-contact a { font-size: .8rem; color: var(--muted); text-decoration: none; display: flex; align-items: center; gap: .45rem; transition: .15s; }
.sf-contact a:hover { color: var(--green-light); }
.sf-col h4 {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: .75rem;
  font-weight: 700; color: var(--muted); letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: .85rem;
}
.sf-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.sf-col ul a { font-size: .82rem; color: var(--muted); text-decoration: none; }
.sf-col ul a:hover { color: var(--green-light); }
.sf-bottom {
  max-width: 1100px; margin: 2rem auto 0;
  border-top: 1px solid var(--border); padding-top: 1.2rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .8rem;
}
.sf-bottom p { font-size: .75rem; color: var(--muted); }
.sf-cookie-notice { font-size: .75rem; color: var(--muted); margin-top: .35rem; opacity: .7; }
.sf-cookie-notice a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.sf-cookie-notice a:hover { color: var(--green-light); }
@media (max-width: 720px) {
  .site-footer-inner { grid-template-columns: 1fr 1fr; }
  .sf-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .site-footer-inner { grid-template-columns: 1fr; } }

/* ── Pricing page — features strip ─────────────────────────────── */
.features-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px; background: var(--border);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  margin-bottom: 4rem;
}
.feat {
  background: var(--bg2);
  padding: 2rem 1.8rem;
  display: flex; align-items: flex-start; gap: 1rem;
}
.feat-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--faint); border: 1px solid rgba(90,173,58,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.1rem; color: var(--green-light);
}
.feat h3 { font-size: .95rem; font-weight: 600; color: #fff; margin-bottom: .3rem; }
.feat p  { font-size: .82rem; color: var(--muted); line-height: 1.6; }

/* ── Pricing page — layout wrappers ────────────────────────────── */
.prices-hero-wrap { max-width: 1100px; margin: 0 auto; }
.prices-page { max-width: 1100px; margin: 0 auto; padding: 3rem 2rem 6rem; }

/* Legacy two-card layout (kept for safety) */
.price-cards { display:grid; grid-template-columns:1fr 1fr; gap:1.5rem; margin-bottom:3rem; }
.price-card {
  background:var(--card); border:1px solid var(--border);
  border-radius:16px; padding:2.2rem; display:flex; flex-direction:column; gap:1rem;
}
.price-card.featured {
  border-color:rgba(90,173,58,.5);
  background:linear-gradient(135deg,rgba(90,173,58,.09) 0%,var(--card) 70%);
}
.price-card .badge {
  display:inline-block; font-size:.72rem; font-weight:700; letter-spacing:.06em;
  text-transform:uppercase; color:var(--green-light);
  background:rgba(90,173,58,.12); border:1px solid rgba(90,173,58,.25);
  border-radius:20px; padding:.25rem .8rem; width:fit-content;
}
.price-card h3 { font-family:'Plus Jakarta Sans',sans-serif; font-size:1.15rem; font-weight:800; color:#fff; }
.price-amount { font-family:'Plus Jakarta Sans',sans-serif; font-size:2.2rem; font-weight:800; color:var(--green-light); line-height:1.1; }
.price-desc { font-size:.86rem; color:var(--muted); line-height:1.65; }
.price-incl { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:.55rem; flex:1; }
.price-incl li { display:flex; align-items:flex-start; gap:.6rem; font-size:.86rem; color:var(--text); line-height:1.5; }
.price-incl li::before { content:'✓'; color:var(--green); font-weight:700; flex-shrink:0; }
@media (max-width: 700px) { .price-cards { grid-template-columns: 1fr; } }

/* ── Tier cards (new 3-column pricing layout) ───────────────────── */
.calc-section { padding: 0 0 3rem; }
.calc-section > .section-label { margin-bottom: .6rem; }

.tier-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}
.tier-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}
.tier-card.featured {
  border-color: var(--green);
  box-shadow: 0 0 0 1px rgba(90,173,58,.25), 0 8px 32px rgba(90,173,58,.12);
}
.tier-card-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .25rem .85rem;
  border-radius: 0 0 8px 8px;
  white-space: nowrap;
}
.tier-card-head {
  padding: 2rem 1.75rem 1.4rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.tier-card.featured .tier-card-head { padding-top: 2.6rem; }
.tier-name {
  font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--green-light); margin-bottom: .4rem;
}
.tier-price {
  font-size: 2.8rem; font-weight: 800; color: #fff;
  line-height: 1; margin-bottom: .35rem;
}
.tier-price sup { font-size: 1.3rem; vertical-align: super; font-weight: 700; color: var(--green-light); }
.tier-price span { font-size: 1rem; font-weight: 400; color: var(--muted); }
.tier-annual { font-size: .78rem; color: var(--muted); }
.tier-card-body {
  padding: 1.5rem 1.75rem 2rem;
  flex: 1; display: flex; flex-direction: column;
}
.tier-incl-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: .4rem;
  margin-bottom: 1.2rem;
  background: var(--card2);
  border-radius: 8px;
  padding: .75rem;
}
.tier-incl-item {
  font-size: .75rem; color: var(--muted);
  display: flex; align-items: center; gap: .35rem;
}
.tier-incl-item i { color: var(--green-light); font-size: .85rem; }
.tier-feat-list {
  list-style: none;
  flex: 1;
  margin: 0 0 1.5rem;
  display: flex; flex-direction: column; gap: .45rem;
}
.tier-feat-list li {
  font-size: .82rem; color: var(--muted);
  padding-left: 1.2rem; position: relative; line-height: 1.5;
}
.tier-feat-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.summary-note { font-size: .72rem; color: var(--muted); text-align: center; margin-top: .5rem; }

/* Tier card CTAs */
.cta-btn {
  display: block; text-align: center;
  background: var(--green); color: #fff;
  font-weight: 700; font-size: .9rem;
  padding: .85rem 1rem; border-radius: 8px;
  text-decoration: none; margin-bottom: .5rem;
  transition: background .15s;
  font-family: 'DM Sans', sans-serif;
  border: none; cursor: pointer;
}
.cta-btn:hover { background: var(--green-dark); }
.tier-card.featured .cta-btn { box-shadow: 0 4px 14px rgba(90,173,58,.3); }
.cta-btn-ghost {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--muted);
}
.cta-btn-ghost:hover { border-color: var(--green-light); color: var(--green-light); background: transparent; }

@media (max-width: 1000px) { .tier-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .tier-cards { grid-template-columns: 1fr; }
  .tier-card.featured { order: -1; }
}

/* ── Add-ons & modules section ───────────────────────────────────── */
.modules-section { padding: 0 0 4rem; }

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.module-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.6rem;
  transition: border-color .2s, transform .2s;
  position: relative;
  overflow: hidden;
}
/* Coloured top accent line per card */
.module-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.module-card:nth-child(1)::before { background: linear-gradient(90deg, var(--green), var(--green-light)); }
.module-card:nth-child(2)::before { background: linear-gradient(90deg, var(--green-light), var(--green)); }
.module-card:nth-child(3)::before { background: linear-gradient(90deg, var(--green-dark), var(--green)); }
.module-card:hover { border-color: rgba(90,173,58,.4); transform: translateY(-3px); }

.module-icon { font-size: 1.8rem; color: var(--green-light); margin-bottom: 1rem; }
.module-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700; font-size: 1rem;
  color: #fff; margin-bottom: .4rem;
}
.module-desc { font-size: .82rem; color: var(--muted); line-height: 1.6; margin-bottom: 1rem; }
.module-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.3rem; font-weight: 700; color: var(--green-light);
}
.module-price span { font-size: .75rem; font-weight: 400; color: var(--muted); }

@media (max-width: 600px) {
  .modules-grid { grid-template-columns: 1fr; }
  .module-card {
    display: grid;
    grid-template-columns: 2.2rem 1fr;
    grid-template-rows: auto auto auto;
    column-gap: .75rem; row-gap: .35rem;
    align-items: start;
  }
  .module-icon { grid-column: 1; grid-row: 1; font-size: 1.4rem; margin-bottom: 0; }
  .module-title { grid-column: 2; grid-row: 1; align-self: center; margin-bottom: 0; }
  .module-desc  { grid-column: 1 / -1; grid-row: 2; margin-bottom: 0; }
  .module-price { grid-column: 1 / -1; grid-row: 3; }
}

/* ── Tier comparison table ────────────────────────────────────────── */
.tier-compare {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.tier-head {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  background: var(--card2);
  padding: .8rem 1.4rem;
  font-size: .72rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.tier-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  padding: .85rem 1.4rem;
  border-bottom: 1px solid rgba(90,173,58,.07);
  font-size: .84rem;
  align-items: center;
}
.tier-row:last-child { border-bottom: none; }
.tier-row .t-name { color: var(--muted); font-weight: 500; }
.tier-row .t-val  { color: #fff; font-weight: 500; }
.tier-row .t-val.disc { color: var(--green-light); }
.tier-row .t-val.same { color: var(--muted); }

@media (max-width: 600px) {
  .tier-head, .tier-row { grid-template-columns: 1.5fr 1fr 1fr; }
  .tier-head > div:nth-child(n+4),
  .tier-row > span:nth-child(n+4) { display: none; }
}

/* ── "Every feature" grid (updated for pricing page) ─────────────── */
.all-incl { background:var(--card); border:1px solid var(--border); border-radius:16px; padding:2rem; margin-top:2rem; }
.all-incl h3 {
  font-family:'Plus Jakarta Sans',sans-serif; font-size:1rem;
  font-weight:700; color:#fff; margin-bottom:1.4rem; text-align:center;
}
.all-incl-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:.6rem; }
.all-incl-item {
  display:flex; align-items:center; gap:.5rem;
  font-size:.82rem; color:var(--muted);
  padding:.45rem .6rem; border-radius:8px;
  background:var(--card2); border:1px solid var(--border);
}
.all-incl-item::before { content:'✓'; color:var(--green); font-weight:700; flex-shrink:0; font-size:.8rem; }
@media (max-width: 700px) { .all-incl-grid { grid-template-columns:1fr 1fr; } }
@media (max-width: 480px) { .all-incl-grid { grid-template-columns: 1fr; } }

/* About page — Construct Software logo card */
.about-cs-logo {
  background: linear-gradient(135deg,rgba(90,173,58,.15),rgba(90,173,58,.04));
  border: 1px solid rgba(90,173,58,.2); border-radius: 16px;
  padding: 1rem 2rem 1.6rem;
  display: flex; flex-direction: column; gap: .9rem;
}
.about-cs-logo .cs-wordmark {
  font-family: 'Plus Jakarta Sans',sans-serif; font-size: 1.6rem;
  font-weight: 800; color: #fff; letter-spacing: -.3px;
}
.about-cs-logo .cs-wordmark span { color: var(--green-light); }
.about-cs-logo .cs-tag {
  font-size: .75rem; color: var(--muted); letter-spacing: .06em;
  text-transform: uppercase; font-weight: 600;
}
.about-cs-logo .cs-desc {
  font-size: .85rem; color: var(--muted); line-height: 1.65;
  border-top: 1px solid var(--border); padding-top: .9rem;
}
.cs-pill-row { display: flex; flex-wrap: wrap; gap: .4rem; }
.cs-pill {
  background: var(--faint); border: 1px solid var(--border);
  border-radius: 20px; padding: .25rem .75rem;
  font-size: .73rem; color: var(--muted);
}

/* About page — section head */
.about-section-head { text-align: center; margin-bottom: 2.5rem; }
.about-section-head h2 {
  font-family: 'Plus Jakarta Sans',sans-serif;
  font-size: clamp(1.5rem,3vw,2.1rem); font-weight: 800;
  color: #fff; letter-spacing: -.2px; margin: .4rem 0 .8rem;
}
.about-section-head p { color: var(--muted); font-size: .93rem; max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* Product card features and standard badge */
.product-card-features { list-style: none; padding: 0; margin: 0; }
.product-card-features li {
  display: flex; align-items: flex-start; gap: .5rem;
  font-size: .79rem; color: var(--muted); margin-bottom: .35rem; line-height: 1.45;
}
.product-card-features li::before { content: '•'; color: var(--green-light); flex-shrink: 0; }
.product-card-std {
  display: inline-block; font-size: .7rem; font-weight: 600;
  border-radius: 20px; padding: .2rem .7rem;
  background: var(--faint); border: 1px solid var(--border);
  color: var(--muted); margin-top: auto; width: fit-content;
}
/* Logo-based product icons — remove icon background/border */
.pi-sc, .pi-ep, .pi-csp, .pi-cc, .pi-fm, .pi-tc { background: none; border: none; }

/* About page */
.about-page { max-width: 1100px; margin: 0 auto; padding: 4rem 2rem 6rem; }
.about-hero { text-align: center; padding: 1rem 0 3.5rem; }
.about-hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem,4vw,3.2rem); font-weight: 800;
  color: #fff; letter-spacing: -.3px; margin: .5rem 0 1.2rem; line-height: 1.2;
}
.about-hero h1 em { font-style: normal; color: var(--green-light); }
.about-hero p { color: var(--muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto; line-height: 1.75; }

.mission-strip {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; margin-bottom: 4rem;
}
@media (max-width: 860px) { .mission-strip { grid-template-columns: 1fr; } }
.mission-cell { background: var(--card); padding: 1.8rem 1.6rem; text-align: center; }
.mission-cell .mc-icon { font-size: 1.8rem; margin-bottom: .7rem; }
.mission-cell h3 {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: .95rem;
  font-weight: 700; color: #fff; margin-bottom: .4rem;
}
.mission-cell p { font-size: .82rem; color: var(--muted); line-height: 1.6; }

.about-two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center; margin-bottom: 4rem;
}
.about-two-col.flip { direction: rtl; }
.about-two-col.flip > * { direction: ltr; }
.about-prose h2 {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(1.5rem,2.5vw,2rem);
  font-weight: 800; color: #fff; letter-spacing: -.2px; margin-bottom: 1rem; line-height: 1.25;
}
.about-prose p { font-size: .92rem; color: var(--muted); line-height: 1.75; margin-bottom: 1rem; }
.about-list { list-style: none; margin: .8rem 0 0; padding: 0; }
.about-list li {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .88rem; color: var(--text); margin-bottom: .5rem; line-height: 1.55;
}
.about-list li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: .1rem; }
.about-stat-panel {
  background: var(--card); border: 1px solid rgba(90,173,58,.18);
  border-radius: 16px; padding: 2rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.about-stat-row {
  background: var(--card2); border: 1px solid var(--border);
  border-radius: 10px; padding: 1.1rem 1.4rem;
  display: flex; justify-content: space-between; align-items: center;
}
.asr-label { font-size: .82rem; color: var(--muted); }
.asr-val {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.3rem;
  font-weight: 800; color: var(--green-light);
}
.about-cta {
  text-align: center;
  background: linear-gradient(135deg,rgba(90,173,58,.12),rgba(90,173,58,.03));
  border: 1px solid rgba(90,173,58,.22); border-radius: 20px;
  padding: 3.5rem 2rem;
}
.about-cta h2 {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(1.6rem,3vw,2.2rem);
  font-weight: 800; color: #fff; margin-bottom: .8rem; letter-spacing: -.2px;
}
.about-cta p { color: var(--muted); font-size: .95rem; max-width: 500px; margin: 0 auto 2rem; line-height: 1.7; }
.about-cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
@media (max-width: 640px) { .about-two-col, .about-two-col.flip { grid-template-columns: 1fr; direction: ltr; } }

/* Product suite grid */
.product-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1.2rem; margin-bottom: 4rem;
}
.product-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column;
  text-decoration: none;
  transition: border-color .2s, transform .2s;
}
.product-card:hover { border-color: rgba(90,173,58,.35); transform: translateY(-2px); text-decoration: none; }
.product-card-top {
  padding: 1.5rem 1.6rem 1.2rem;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; gap: .9rem;
}
.product-icon {
  width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.product-card-top-text h3 {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: .98rem;
  font-weight: 800; color: #fff; margin-bottom: .25rem;
}
.p-tag { font-size: .72rem; color: var(--muted); font-weight: 500; }
.product-card-body { padding: 1.2rem 1.6rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.product-card-body p { font-size: .84rem; color: var(--muted); line-height: 1.65; flex: 1; }
@media (max-width: 640px) { .product-grid { grid-template-columns: 1fr; } }

/* Terms / Policy */
.terms-page { max-width: 800px; margin: 0 auto; padding: 0 1.5rem 4rem; }
.terms-hero { text-align: center; padding: 3.5rem 0 2rem; }
.terms-hero h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: #fff; margin: .4rem 0 .7rem; letter-spacing: -.02em; }
.terms-hero p  { font-size: .88rem; color: var(--muted); max-width: 480px; margin: 0 auto; line-height: 1.6; }
.terms-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 2.5rem; }
.terms-meta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.terms-company { font-size: .78rem; font-weight: 700; color: var(--text); }
.terms-effective { font-size: .75rem; color: var(--muted); }
.terms-rule { border: none; border-top: 1px solid var(--border); margin: 1.5rem 0; }
.terms-section { margin-bottom: 1.75rem; }
.terms-section h2 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: .6rem; }
.terms-section p  { font-size: .85rem; color: var(--muted); line-height: 1.7; margin-bottom: .5rem; }
.terms-ul, .terms-ol { padding-left: 1.3rem; margin: .5rem 0 .5rem; }
.terms-ul li, .terms-ol li { font-size: .84rem; color: var(--muted); margin-bottom: .35rem; line-height: 1.6; }
.terms-ul { list-style: disc; }
.terms-ol { list-style: decimal; }
.terms-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-top: .5rem; }
.terms-footer-logo img { height: 28px; width: auto; opacity: .6; }
.terms-footer-contact a { font-size: .82rem; color: var(--muted); display: flex; align-items: center; gap: .4rem; text-decoration: none; }
.terms-footer-contact a:hover { color: #fff; }

/* Demo page */
.demo-wrap { max-width: 1100px; margin: 0 auto; padding: 4rem 2rem 6rem; }
.demo-grid {
  display: grid; grid-template-columns: 1fr 380px;
  gap: 3rem; align-items: start; margin-top: 3rem;
}
/* Form card */
.demo-form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.demo-form-card-header { padding: 1.4rem 1.8rem; border-bottom: 1px solid var(--border); }
.demo-form-card-header h2 {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.05rem;
  font-weight: 700; color: #fff; margin: 0 0 .25rem;
}
.demo-form-card-header p { font-size: .8rem; color: var(--muted); margin: 0; }
.demo-form-body { padding: 1.8rem; }

/* Form elements */
.form-sep {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green-light);
  padding: .5rem 0;
  margin: 1.4rem 0 .6rem;
  border-top: 1px solid var(--border);
}
.form-sep:first-child { margin-top: 0; border-top: none; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
.f-row + .f-row, .f-row + .f-group, .f-group + .f-row, .f-group + .f-group { margin-top: .9rem; }
.f-row .f-group + .f-group { margin-top: 0; }
.f-group { display: flex; flex-direction: column; gap: .3rem; }
.f-label { font-size: .76rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.f-label .req { color: var(--green-light); }
.f-input, .f-select, .f-textarea {
  background: var(--card2); border: 1px solid var(--border); border-radius: 8px;
  color: var(--text); font-family: 'DM Sans', sans-serif; font-size: .88rem;
  padding: .65rem .9rem; outline: none; width: 100%; box-sizing: border-box;
  transition: border-color .15s, box-shadow .15s;
}
.f-input:focus, .f-select:focus, .f-textarea:focus {
  border-color: var(--green); box-shadow: 0 0 0 3px rgba(90,173,58,.15);
}
.f-input.is-invalid, .f-select.is-invalid, .f-num-wrap.is-invalid { border-color: #ff6b6b; }
.f-select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A95B8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.4rem;
}
.f-select option { background: #142038; color: #E4EEF8; }
.f-textarea { resize: vertical; min-height: 110px; }
.f-error { font-size: .74rem; color: #ff8a8a; }

/* Number stepper */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; appearance: textfield; }
.f-num-wrap {
  display: flex; align-items: stretch;
  background: var(--card2); border: 1px solid var(--border); border-radius: 8px;
  overflow: hidden; transition: border-color .15s, box-shadow .15s;
}
.f-num-wrap:focus-within {
  border-color: var(--green); box-shadow: 0 0 0 3px rgba(90,173,58,.15);
}
.f-num-wrap .f-input {
  background: transparent !important; border: none !important;
  box-shadow: none !important; border-radius: 0 !important;
  flex: 1; text-align: center; padding: .65rem .25rem; min-width: 0;
}
.f-num-btn {
  flex-shrink: 0; width: 36px; padding: 0;
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: .95rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: color .15s, background .15s;
  user-select: none;
}
.f-num-btn:hover  { color: #fff; background: rgba(90,173,58,.1); }
.f-num-btn:active { background: rgba(90,173,58,.22); }
.f-num-dec { border-right: 1px solid var(--border); }
.f-num-inc { border-left:  1px solid var(--border); }

/* Submit button */
.demo-submit {
  display: block; width: 100%; background: var(--green); color: #fff;
  border: none; border-radius: 10px; font-family: 'DM Sans', sans-serif;
  font-weight: 600; font-size: .95rem; padding: 1rem;
  cursor: pointer; transition: .2s; margin-top: .5rem;
}
.demo-submit:hover { background: var(--green-dark); }
.demo-submit:disabled { opacity: .6; cursor: not-allowed; }

/* Alert boxes */
.d-alert {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  margin-bottom: 1.25rem;
  font-size: .88rem;
  line-height: 1.5;
}
.d-alert-ok  { background: rgba(90,173,58,.1);  border: 1px solid rgba(90,173,58,.3);  color: var(--green-light); }
.d-alert-err { background: rgba(248,113,113,.08); border: 1px solid rgba(248,113,113,.25); color: #fca5a5; }
.d-alert-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: .05rem; }

/* Sidebar */
.demo-sidebar { display: flex; flex-direction: column; gap: 1.2rem; position: sticky; top: 90px; }
.sb-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 1.4rem 1.6rem; }
.sb-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: .95rem;
  font-weight: 700; color: #fff; margin: 0 0 .9rem;
  display: flex; align-items: center; gap: .55rem;
}
.sb-contact-item {
  display: flex; align-items: center; gap: .75rem;
  padding: .5rem 0; border-bottom: 1px solid rgba(90,173,58,.07);
  font-size: .83rem;
}
.sb-contact-item:last-child { border-bottom: none; }
.sb-contact-icon {
  width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0;
  background: var(--faint); border: 1px solid rgba(90,173,58,.2);
  display: flex; align-items: center; justify-content: center; font-size: .9rem;
}
.sb-contact-item a { color: var(--green-light); text-decoration: none; }
.sb-contact-item a:hover { color: #fff; }
.sb-promise-list { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.sb-promise-list li { font-size: .82rem; color: var(--muted); padding-left: 1.1rem; position: relative; line-height: 1.5; }
.sb-promise-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); }

/* Demo page — responsive (must come after all base form rules) */
@media (max-width: 900px) {
  .demo-grid { grid-template-columns: 1fr; }
  .demo-sidebar { position: static; }
  .f-row { grid-template-columns: 1fr; }
}

/* Screen/mockup panels */
.lp-screens-bg { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.lp-screens-tabs {
  display: flex; gap: .4rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; margin-bottom: 2.5rem;
}
.lp-stab {
  padding: .5rem 1.2rem; border-radius: 8px; border: 1px solid var(--border);
  background: transparent; color: var(--muted); font-size: .84rem; font-weight: 500;
  cursor: pointer; transition: .2s; font-family: 'DM Sans',sans-serif;
}
.lp-stab.active { background: var(--green); border-color: var(--green); color: #fff; font-weight: 600; }
.lp-screen-panel { display: none; }
.lp-screen-panel.active { display: block; animation: fadeUp .3s ease; }
@keyframes fadeUp { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
.lp-screen-frame {
  border-radius: 16px; border: 1px solid var(--border);
  background: var(--card); overflow: hidden;
  max-width: 760px; margin: 0 auto;
  aspect-ratio: 16/9; position: relative;
  display: flex; flex-direction: column;
}
.lp-screen-bar {
  background: var(--card2); border-bottom: 1px solid var(--border);
  padding: .6rem 1rem; display: flex; align-items: center; gap: .4rem;
  flex-shrink: 0;
}
.lp-screen-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.lp-screen-body {
  flex: 1; display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: .8rem; padding: 2rem; text-align: center;
}
.lp-screen-placeholder {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--faint); border: 1px dashed rgba(90,173,58,.35);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
}
.lp-screen-body p { font-size: .82rem; color: var(--muted); text-align: center; max-width: 260px; }
.lp-screen-caption { text-align: center; margin-top: 1.5rem; font-size: .84rem; color: var(--muted); }
.lp-screen-caption strong { color: var(--text); }

/* ── Mobile app highlight section ─────────────────────────────────────── */
.lp-mobile-highlight {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  text-align: left;
}
.lp-mobile-feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex; flex-direction: column; gap: .75rem;
}
.lp-mobile-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--green-faint); border: 1px solid rgba(90,173,58,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--green-light); flex-shrink: 0;
}
.lp-mobile-feature h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin: 0; }
.lp-mobile-feature p  { font-size: .875rem; color: var(--muted); line-height: 1.65; margin: 0; }
@media (max-width: 640px) { .lp-mobile-highlight { grid-template-columns: 1fr; } }

/* ── Feature card new badge & highlight ──────────────────────────────── */
.lp-feat-highlight {
  border-color: rgba(90,173,58,.4);
  background: var(--green-faint);
  grid-column: 1 / -1;
}
@media (max-width: 900px) { .lp-feat-highlight { grid-column: auto; } }
.lp-feat-new-badge {
  display: inline-block;
  font-size: .65rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--green); color: #fff;
  border-radius: 6px; padding: .15rem .45rem;
  margin-left: .5rem; vertical-align: middle; line-height: 1.6;
}
