/* aicms design tokens — TenderTools
 * Single source of truth for site-wide styling.
 * Linked from every page in /content/{locale}/*.html.
 * Edited via prompt on /admin/design.
 *
 * Design: "Warm & Confident" — coral on warm cream with deep navy,
 * Plus Jakarta Sans throughout. Ported 1:1 from the approved
 * TenderTools homepage design (variant B, 2026-04-09).
 */

@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap");

:root {
  /* Color palette */
  --color-bg:           #faf6f0;  /* warm cream — page background */
  --color-surface:      #ffffff;
  --color-text:         #1a2332;  /* deep navy */
  --color-text-muted:   #6b7280;
  --color-text-soft:    #9ca3af;
  --color-border:       #e0d8ce;
  --color-border-soft:  #f0ebe4;
  --color-accent:       #e07858;  /* coral */
  --color-accent-soft:  #fef0e8;
  --color-accent-deep:  #d06848;  /* coral — hover / pressed */
  --color-sand:         #d4a574;  /* warm sand — secondary accent */
  --color-navy:         #1a2332;  /* dark surfaces (footer) */
  --color-warn:         #c47a1c;

  /* Typography */
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;

  --fs-display: clamp(2.5rem, 5.5vw, 4rem);
  --fs-h1: clamp(1.875rem, 4.5vw, 2.75rem);
  --fs-h2: clamp(1.75rem, 3.5vw, 2.5rem);
  --fs-h3: 1.25rem;
  --fs-body: 1rem;
  --fs-small: 0.9375rem;
  --fs-label: 0.8125rem;

  --lh-tight: 1.1;
  --lh-snug: 1.35;
  --lh-body: 1.6;

  /* Spacing scale (8px base) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* Radii */
  --r-1: 10px;
  --r-2: 12px;
  --r-3: 16px;
  --r-4: 20px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-1: 0 2px 12px rgba(26, 35, 50, 0.05);
  --shadow-2: 0 12px 36px rgba(26, 35, 50, 0.10);
  --shadow-3: 0 20px 60px rgba(26, 35, 50, 0.12);
  --shadow-accent: 0 4px 16px rgba(224, 120, 88, 0.35);

  /* Misc */
  --maxw-prose: 68ch;
  --maxw-page: 1180px;
  --transition: 0.3s ease;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--s-4);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--color-text);
}
h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); letter-spacing: -0.03em; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.025em; }
h3 { font-size: var(--fs-h3); font-weight: 700; }
h4, h5, h6 { font-weight: 700; }

p { margin: 0 0 var(--s-4); }
a { color: inherit; text-decoration: none; }

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

/* Layout primitives */
.container { max-width: var(--maxw-page); margin: 0 auto; padding: 0 var(--s-5); }

[data-aicms="navbar"] {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 165, 116, 0.15);
  padding: 0 var(--s-5);
}

[data-aicms="page"] { flex: 1; width: 100%; }

[data-aicms="hero"] {
  padding: 80px 0 100px;
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}
[data-aicms="hero"] h1 {
  font-size: var(--fs-h1);
  line-height: 1.1;
  margin-bottom: var(--s-5);
}

[data-aicms="footer"] {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 40px;
}

/* Components — buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  font-family: inherit;
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: var(--r-2);
  text-decoration: none;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--color-accent);
  color: #fff;
  padding: 14px 32px;
  font-size: 1rem;
}
.btn-primary:hover {
  background: var(--color-accent-deep);
  color: #fff;
}
.btn-secondary {
  background: var(--color-surface);
  color: var(--color-text);
  padding: 14px 32px;
  font-size: 1rem;
  border: 1px solid var(--color-border);
}
.btn-secondary:hover {
  background: var(--color-bg);
}
.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-sand);
  padding: 10px 24px;
  font-size: var(--fs-small);
}
.btn-ghost:hover {
  background: var(--color-accent-soft);
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.btn-lg {
  padding: 18px 44px;
  font-size: 1.125rem;
}

/* Components — cards */
.card {
  background: var(--color-surface);
  border: 1px solid rgba(212, 165, 116, 0.1);
  border-radius: var(--r-3);
  padding: 32px 28px;
  box-shadow: var(--shadow-1);
}

.card-feature { transition: all 0.35s ease; }
.card-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: rgba(224, 120, 88, 0.2);
}
.card-feature .icon-circle {
  width: 56px;
  height: 56px;
  background: var(--color-accent-soft);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.card-feature h3, .card-feature h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.card-feature p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0;
}

.card-testimonial {
  padding: 36px 32px;
  position: relative;
  transition: all 0.35s ease;
}
.card-testimonial:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(26, 35, 50, 0.08);
}
.card-testimonial::before {
  content: "\201C";
  font-size: 3.5rem;
  line-height: 1;
  color: var(--color-accent);
  font-weight: 800;
  opacity: 0.25;
  position: absolute;
  top: 20px;
  left: 28px;
  font-family: var(--font-serif);
}
.card-testimonial blockquote {
  margin: 0 0 28px;
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.75;
  font-style: italic;
  position: relative;
  z-index: 1;
}
.card-testimonial .author {
  display: flex;
  align-items: center;
  gap: 14px;
  font-style: normal;
}
.card-testimonial .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent-soft), var(--color-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: var(--fs-small);
  flex-shrink: 0;
}
.card-testimonial .name { font-size: var(--fs-small); font-weight: 700; color: var(--color-text); }
.card-testimonial .title { font-size: var(--fs-label); color: var(--color-text-muted); }

.card-pricing {
  padding: 40px 32px;
  position: relative;
  transition: all 0.3s ease;
}
.card-pricing:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(26, 35, 50, 0.1);
}
.card-pricing.popular { border: 2px solid var(--color-accent); }
.card-pricing .badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #fff;
  padding: 5px 20px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.card-pricing h4 { font-size: 1.25rem; font-weight: 700; margin-bottom: var(--s-2); }
.card-pricing .price { font-size: 42px; font-weight: 700; line-height: 1.2; margin-bottom: 4px; }
.card-pricing .price sup { font-size: 20px; font-weight: 600; }
.card-pricing .price-period { font-size: 0.875rem; color: var(--color-text-muted); margin-bottom: var(--s-5); }
.card-pricing .desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--color-border-soft);
}
.card-pricing ul {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s-6);
}
.card-pricing li {
  font-size: 0.875rem;
  padding: 6px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.card-pricing li::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  min-width: 18px;
  background: var(--color-accent);
  border-radius: 50%;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}
.card-pricing .btn { width: 100%; justify-content: center; }

.card-blog {
  padding: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}
.card-blog:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(26, 35, 50, 0.1);
}
.card-blog .blog-img {
  height: 200px;
  background-color: var(--color-accent-soft);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-sand);
  font-weight: 600;
}
.card-blog .blog-body { padding: var(--s-5); }
.card-blog .blog-tag {
  display: inline-block;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  margin-bottom: var(--s-3);
}
.card-blog h3, .card-blog h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}
.card-blog p { font-size: 0.875rem; color: var(--color-text-muted); margin-bottom: var(--s-4); }
.card-blog .read-more { font-size: 0.875rem; font-weight: 600; color: var(--color-accent); }
.card-blog .read-more:hover { text-decoration: underline; }

/* Components — forms */
.label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text);
}
.input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--r-2);
  font: inherit;
  font-size: var(--fs-small);
  background: var(--color-surface);
  color: var(--color-text);
  transition: border-color 0.2s ease;
  outline: none;
}
.input::placeholder { color: var(--color-text-soft); }
.input:focus { border-color: var(--color-accent); }
textarea.input { resize: vertical; min-height: 120px; }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }

/* Components — pills, tags */
.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: var(--r-pill);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  background: transparent;
  border: 2px solid var(--color-border);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}
.pill:hover, .pill-active {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.tag {
  display: inline-block;
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--color-accent);
}

/* ============================================================
 * EXTENSIONS — open zone
 * ------------------------------------------------------------
 * The TenderTools visual vocabulary, ported from the approved
 * variant-B design. Pages reference these by name. Everything
 * here is showcased in moodboard.html.
 * ============================================================ */

/* --- Navbar internals (used by _shared/navbar.html) --- */
.nav-inner {
  max-width: var(--maxw-page);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--color-accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.25s ease;
}
.nav-links a:hover { color: var(--color-text); }
.nav-actions { display: flex; align-items: center; gap: var(--s-4); }
.nav-login {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.25s ease;
}
.nav-login:hover { color: var(--color-text); }
.nav-cta {
  background: var(--color-accent);
  color: #fff;
  padding: 10px 22px;
  border-radius: var(--r-1);
  font-size: var(--fs-small);
  font-weight: 600;
  transition: all 0.3s ease;
}
.nav-cta:hover {
  background: var(--color-accent-deep);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--color-surface);
  padding: var(--s-5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  z-index: 999;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: var(--s-3) 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border-soft);
}
.mobile-menu a:hover { color: var(--color-accent); }
.mobile-menu .nav-cta {
  display: inline-block;
  margin-top: var(--s-4);
  color: #fff;
  border-bottom: none;
  text-align: center;
}

/* --- Section scaffolding --- */
.section { padding: 100px 0; }
.section-sm { padding: 80px 0; }
.section-white { background: var(--color-surface); }
.section-cream { background: var(--color-bg); }
.section-head { text-align: center; }
.section-label {
  display: inline-block;
  font-size: var(--fs-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: var(--s-4);
}
.section-heading {
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: var(--s-4);
}
.section-subheading {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 560px;
}
.section-head .section-subheading { margin-left: auto; margin-right: auto; }

.page-hero { padding: 80px 0 60px; text-align: center; }
.page-hero h1 { font-size: var(--fs-h1); margin-bottom: var(--s-4); }
.page-hero p {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* --- Hero pieces --- */
.hero-content {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hero-label {
  display: inline-block;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: var(--r-pill);
  margin-bottom: var(--s-5);
  letter-spacing: 0.02em;
}
.hero-sub {
  font-size: 1.1875rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0 auto 40px;
  max-width: 600px;
}
.hero-cta-wrapper { margin-bottom: var(--s-3); }
.hero-note { font-size: var(--fs-label); color: var(--color-text-muted); margin-top: var(--s-3); }
.hero-shot-wrap {
  position: relative;
  margin: 64px auto 0;
  max-width: 920px;
}
.hero-shot {
  position: relative;
  z-index: 1;
  border-radius: var(--r-4);
  box-shadow: var(--shadow-3), 0 4px 16px rgba(26, 35, 50, 0.06);
  animation: float 6s ease-in-out infinite;
  transform: rotate(-1.5deg);
  height: 440px;
}

/* --- Decoration: blobs --- */
.deco-blob-1 {
  position: absolute;
  top: -40px;
  left: -60px;
  width: 320px;
  height: 280px;
  background: var(--color-accent-soft);
  border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
  z-index: 0;
  animation: blobPulse 8s ease-in-out infinite;
}
.deco-blob-2 {
  position: absolute;
  bottom: -30px;
  right: -50px;
  width: 260px;
  height: 220px;
  background: var(--color-accent-soft);
  border-radius: 40% 60% 50% 50% / 60% 40% 50% 50%;
  z-index: 0;
  animation: blobPulse 8s ease-in-out infinite 2s;
}

/* --- Placeholders (until real screenshots/photos are uploaded) --- */
.placeholder {
  background: var(--color-accent-soft);
  border: 2px dashed rgba(224, 120, 88, 0.35);
  border-radius: var(--r-3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-sand);
  font-weight: 500;
  font-size: var(--fs-small);
  letter-spacing: 0.03em;
  text-align: center;
}
.placeholder-sm { height: 160px; }
.placeholder-md { height: 320px; }
.placeholder-lg { height: 420px; }
.placeholder-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto var(--s-4);
  font-size: 0.875rem;
}
.card-screenshot { margin-bottom: var(--s-5); height: 140px; border-radius: var(--r-2); }

/* --- Real product screenshots --- */
.shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-3);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-2);
}
.split .shot { aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }
.hero-shot-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-4);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-3);
}
.showcase-shot-img {
  display: block;
  width: 100%;
  max-width: 960px;
  margin: var(--s-6) auto 40px;
  height: auto;
  border-radius: var(--r-4);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-2);
}

/* --- Motion --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50%      { transform: translateY(-12px) rotate(-1.5deg); }
}
@keyframes blobPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}
.anim-rise { animation: fadeInUp 0.8s ease-out both; }
.anim-delay-1 { animation-delay: 0.15s; }
.anim-delay-2 { animation-delay: 0.3s; }
.anim-delay-3 { animation-delay: 0.45s; }
.anim-delay-4 { animation-delay: 0.6s; }
.anim-float { animation: float 6s ease-in-out infinite; }

/* --- Social proof band --- */
.proof-band {
  background: var(--color-surface);
  padding: 48px 0;
  border-top: 1px solid rgba(212, 165, 116, 0.1);
  border-bottom: 1px solid rgba(212, 165, 116, 0.1);
  text-align: center;
}
.proof-text {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  font-weight: 500;
  margin-bottom: var(--s-2);
}
.stars {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: var(--s-6);
}
.star { color: var(--color-sand); font-size: 1.125rem; }
.stars .rating {
  color: var(--color-text);
  font-weight: 700;
  font-size: var(--fs-small);
  margin-left: var(--s-2);
}
.logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.logo-slot {
  width: 120px;
  height: 36px;
  background: #f3f0eb;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--color-text-soft);
  font-weight: 500;
}

/* --- Why cards (icon circles on transparent) --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 64px;
}
.why-card { text-align: center; padding: var(--s-2); }
.why-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-sand));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--s-5);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(224, 120, 88, 0.25);
}
.why-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: var(--s-3); }
.why-card p {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 320px;
  margin: 0 auto;
}

/* --- Content grids --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

/* --- Workflow tabs (Upload → Analyze → Write → Score) --- */
.flow-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  margin: var(--s-6) 0 48px;
  flex-wrap: wrap;
}
.flow-tab {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 10px 22px;
  border-radius: var(--r-pill);
  font-size: var(--fs-small);
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  background: var(--color-bg);
  color: var(--color-text-muted);
}
.flow-tab.active {
  background: var(--color-accent);
  color: #fff;
}
.flow-arrow { color: var(--color-sand); font-size: 1.125rem; }
.showcase-shot {
  max-width: 900px;
  margin: 0 auto 40px;
  border-radius: var(--r-4);
  box-shadow: 0 20px 60px rgba(26, 35, 50, 0.1);
  height: 480px;
}
.showcase-caption {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Steps (numbered process) --- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 64px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 40px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(to right, var(--color-accent), var(--color-sand), var(--color-accent), var(--color-sand));
  z-index: 0;
}
.step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 var(--s-3);
}
.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 3px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--s-5);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-accent);
  box-shadow: 0 4px 16px rgba(224, 120, 88, 0.15);
  transition: all 0.35s ease;
}
.step:hover .step-number {
  background: var(--color-accent);
  color: #fff;
  transform: scale(1.08);
}
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: var(--s-2); }
.step p { font-size: 0.875rem; color: var(--color-text-muted); line-height: 1.6; margin: 0; }

/* --- Split rows (content + screenshot, alternating) --- */
.split {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }
.icon-tile {
  width: 56px;
  height: 56px;
  background: var(--color-accent-soft);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

/* Line-icon SVGs (replace decorative emoji) */
.icon-tile svg, .value-icon svg, .about-why-grid .icon svg,
.contact-item .icon svg, .trust-item .icon svg { color: var(--color-accent); }
.icon-tile svg { width: 26px; height: 26px; }
.value-icon svg { width: 28px; height: 28px; }
.about-why-grid .icon svg { width: 28px; height: 28px; }
.contact-item .icon svg { width: 18px; height: 18px; }
.trust-item .icon svg { width: 15px; height: 15px; }
.why-icon svg { width: 32px; height: 32px; color: #fff; }
.split h2 { font-size: 1.875rem; font-weight: 700; margin-bottom: var(--s-3); }
.split > div > p { color: var(--color-text-muted); margin-bottom: var(--s-5); }

/* --- Check list (coral circle checkmarks) --- */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  padding: 8px 0;
  font-size: var(--fs-small);
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
}
.check-list li::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: var(--color-accent);
  border-radius: 50%;
  margin-top: 3px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* --- Comparison table --- */
.compare-table { width: 100%; border-collapse: collapse; text-align: left; }
.compare-table thead th {
  padding: 16px 20px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--color-border);
}
.compare-table thead th:not(:first-child) { text-align: center; }
.compare-table tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-border-soft);
  font-size: var(--fs-small);
}
.compare-table tbody td:first-child { font-weight: 500; }
.compare-table tbody td:not(:first-child) { text-align: center; }
.compare-table .check { color: var(--color-accent); font-weight: 700; font-size: 1.125rem; }
.compare-table .cross { color: #d1d5db; font-size: 1.125rem; }

/* --- FAQ (details/summary accordion) --- */
.faq-item { border-bottom: 1px solid var(--color-border-soft); }
.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  font-size: 20px;
  color: var(--color-accent);
  transition: transform 0.3s ease;
  min-width: 24px;
  text-align: center;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item p {
  padding: 0 0 20px;
  margin: 0;
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* --- Toggle (monthly / yearly) --- */
.toggle {
  display: inline-flex;
  background: var(--color-surface);
  border-radius: var(--r-pill);
  padding: 4px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}
.toggle-option {
  padding: 10px 28px;
  border-radius: var(--r-pill);
  border: none;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: var(--color-text-muted);
  transition: all 0.2s ease;
}
.toggle-option.active { background: var(--color-accent); color: #fff; }

/* --- CTA bands --- */
.cta-band {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-sand) 50%, var(--color-accent-soft) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}
.cta-band::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}
.cta-band-content { position: relative; z-index: 1; }
.cta-band h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--s-4);
  letter-spacing: -0.02em;
}
.cta-band p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 auto 40px;
  max-width: 480px;
  line-height: 1.7;
}
.cta-soft { background: linear-gradient(135deg, var(--color-accent-soft) 0%, var(--color-bg) 100%); }
.cta-soft::before, .cta-soft::after { display: none; }
.cta-soft h2 { color: var(--color-text); }
.cta-soft p { color: var(--color-text-muted); }

/* --- Auth cards (login / signup) --- */
.auth-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px var(--s-5);
}
.auth-card {
  background: var(--color-surface);
  border-radius: var(--r-4);
  padding: 48px 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  max-width: 440px;
  width: 100%;
}
.auth-card-wide { max-width: 480px; }
.auth-logo { text-align: center; margin-bottom: 28px; }
.auth-logo a { font-size: 1.625rem; font-weight: 800; }
.auth-logo a span { color: var(--color-accent); }
.auth-card h1 { font-size: 1.625rem; font-weight: 700; text-align: center; margin-bottom: var(--s-2); }
.auth-sub {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: var(--s-6);
}
.auth-card .btn { width: 100%; }
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--s-5);
}
.remember {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 0.875rem;
  color: var(--color-text-muted);
}
.remember input { width: 16px; height: 16px; accent-color: var(--color-accent); }
.text-link { color: var(--color-accent); font-weight: 500; }
.text-link:hover { text-decoration: underline; }
.divider { text-align: center; margin: var(--s-5) 0; position: relative; }
.divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-border);
}
.divider span {
  background: var(--color-surface);
  padding: 0 var(--s-4);
  font-size: 13px;
  color: var(--color-text-muted);
  position: relative;
}
.social-row { display: flex; gap: var(--s-3); margin-bottom: var(--s-5); }
.social-btn {
  flex: 1;
  padding: var(--s-3);
  border-radius: var(--r-2);
  border: 2px solid var(--color-border);
  background: var(--color-surface);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  color: var(--color-text);
}
.social-btn:hover { border-color: var(--color-accent); }
.trust-row {
  display: flex;
  justify-content: center;
  gap: var(--s-5);
  margin-bottom: var(--s-5);
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--color-text-muted);
}
.trust-item .icon { color: var(--color-sand); font-size: 1rem; }
.auth-alt { text-align: center; font-size: 0.875rem; color: var(--color-text-muted); }
.auth-alt a { color: var(--color-accent); font-weight: 600; }
.auth-alt a:hover { text-decoration: underline; }
.fineprint {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: var(--s-5);
  line-height: 1.6;
}
.fineprint a { color: var(--color-accent); font-weight: 500; }
.fineprint a:hover { text-decoration: underline; }

/* --- Footer internals (used by _shared/footer.html) --- */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--s-3);
}
.footer-logo span { color: var(--color-accent); }
.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
}
[data-aicms="footer"] h4 {
  font-size: var(--fs-label);
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: var(--s-3); }
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.25s ease;
}
.footer-links a:hover { color: var(--color-accent); }
.footer-news-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--s-4);
  line-height: 1.6;
}
.footer-news-form { display: flex; gap: var(--s-2); }
.footer-news-form input {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--r-1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: inherit;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.3s ease;
}
.footer-news-form input::placeholder { color: rgba(255, 255, 255, 0.3); }
.footer-news-form input:focus { border-color: var(--color-accent); }
.footer-news-form button {
  background: var(--color-accent);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--r-1);
  border: none;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  white-space: nowrap;
}
.footer-news-form button:hover { background: var(--color-accent-deep); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--s-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-4);
}
.footer-copyright { font-size: var(--fs-label); color: rgba(255, 255, 255, 0.35); margin: 0; }
.footer-legal { display: flex; gap: 20px; font-size: var(--fs-label); }
.footer-legal a { color: rgba(255, 255, 255, 0.4); transition: color 0.25s ease; }
.footer-legal a:hover { color: var(--color-accent); }
.footer-social { display: flex; gap: var(--s-4); }
.footer-social-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-1);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
  font-weight: 600;
}
.footer-social-icon:hover { background: var(--color-accent); color: #fff; }

/* --- Contact form section --- */
[data-aicms="contact-form-section"] h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: var(--s-2); }
[data-aicms="contact-form-section"] > p {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

/* ============================================================
 * RESPONSIVE
 * ============================================================ */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 48px 0; }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-actions .nav-login { display: none; }

  [data-aicms="hero"] { padding: 56px 0 80px; }
  [data-aicms="hero"] h1 { font-size: 2.25rem; }
  .hero-sub { font-size: 1.0625rem; }
  .hero-shot { height: 260px; }
  .deco-blob-1, .deco-blob-2 { display: none; }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  .flow-tabs { gap: 6px; }
  .flow-tab { padding: 8px 16px; font-size: var(--fs-label); }
  .showcase-shot { height: 240px; }
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .split, .split-reverse { grid-template-columns: 1fr; direction: ltr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .compare-table thead th, .compare-table tbody td { padding: 10px 8px; font-size: 13px; }
  .auth-card { padding: 36px 28px; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .logo-row { gap: var(--s-5); }
  .logo-slot { width: 96px; height: 30px; }
}

@media (max-width: 480px) {
  [data-aicms="hero"] h1 { font-size: 1.875rem; }
  .btn-lg { padding: 16px 32px; font-size: 1rem; }
  .section-heading { font-size: 1.5rem; }
  .cta-band h2 { font-size: 1.5rem; }
  .footer-news-form { flex-direction: column; }
  .social-row { flex-direction: column; }
}