/* ==========================================================================
   TEAMS FC — shared brand stylesheet (premium dark, unified with the app)
   Linked by every marketing page. Page-specific tweaks stay inline/minimal.
   ========================================================================== */

:root {
  /* Surfaces — unified with the mobile app theme */
  --page: #0f1417;
  --surface: #131c1d;
  --surface-raised: #1b2728;
  --surface-sunken: #0b1011;

  /* Brand accent — used sparingly */
  --accent: #e5d993;
  --accent-hover: #d4c882;
  --accent-soft: rgba(229, 217, 147, 0.12);
  --accent-border: rgba(229, 217, 147, 0.32);
  --on-accent: #10171a;

  /* Text */
  --text: #f5f7f7;
  --text-2: #a9bbbc;
  --text-3: #7e9899;

  /* Lines */
  --border: #223031;
  --border-soft: #1a2526;

  /* Status */
  --success: #4ade80;
  --danger: #ef4444;

  /* Fonts */
  --font-display: 'Arsenal SC', sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-pill: 999px;

  /* Elevation — soft, downward */
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 14px 40px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.45);

  /* Layout */
  --maxw: 1200px;
  --nav-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font-body);
  background: var(--page);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

::selection { background: var(--accent); color: var(--on-accent); }

/* Display font for all headings + brand voice (lowercase) */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: -0.01em;
  line-height: 1.08;
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--accent-hover); }

/* --------------------------------------------------------- layout helpers */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: clamp(64px, 10vw, 128px) 0; position: relative; }
.section--tint { background: var(--surface); }
.section--sunken { background: var(--surface-sunken); }

.section-head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.4rem 0.9rem;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: clamp(2rem, 4.2vw, 3rem);
  color: var(--text);
  margin-bottom: 1rem;
}
.section-title .gold { color: var(--accent); }

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 640px;
  margin: 0 auto;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.6;
}
.section-head--left .section-subtitle { margin: 0; }

/* ----------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: lowercase;
  font-size: 1.02rem;
  padding: 14px 30px;
  border-radius: var(--r-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.2s ease, color 0.2s ease,
    border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 10px 30px rgba(229, 217, 147, 0.18);
}
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); transform: translateY(-2px); box-shadow: 0 16px 40px rgba(229, 217, 147, 0.26); }
.btn-secondary { background: transparent; color: var(--accent); border-color: var(--accent-border); }
.btn-secondary:hover { background: var(--accent-soft); color: var(--accent); transform: translateY(-2px); border-color: var(--accent); }
.btn-ghost { background: var(--surface-raised); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: #243233; transform: translateY(-2px); color: var(--text); }
.btn-sm { padding: 10px 20px; font-size: 0.95rem; }
.btn-lg { padding: 16px 36px; font-size: 1.08rem; }

/* app store badges */
.store-badge { display: inline-flex; align-items: center; height: 52px; transition: opacity 0.2s ease, transform 0.2s ease; }
.store-badge img { height: 100%; width: auto; }
.store-badge:hover { opacity: 0.88; transform: translateY(-2px); }

/* -------------------------------------------------------------------- pills */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: lowercase;
  font-size: 0.82rem;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  padding: 5px 12px;
  border-radius: var(--r-pill);
}

/* -------------------------------------------------------------------- header */
header.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(15, 20, 23, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}
header.site-header.scrolled {
  background: rgba(11, 16, 17, 0.9);
  border-bottom-color: var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; width: 100%; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: lowercase;
  font-size: 1rem;
  color: var(--text-2);
}
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 1.25rem; }
.nav-login { font-family: var(--font-display); font-weight: 700; text-transform: lowercase; font-size: 1rem; color: var(--text-2); }
.nav-login:hover { color: var(--text); }
/* items that only appear inside the opened mobile menu */
.nav-links .menu-only { display: none; }
.mobile-menu { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; background: none; border: none; }
.mobile-menu span { width: 24px; height: 2px; background: var(--accent); border-radius: 2px; transition: 0.3s; }

/* ---------------------------------------------------------------------- hero */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(48px, 9vw, 110px)) 0 clamp(56px, 9vw, 110px);
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -10%; left: 50%;
  transform: translateX(-50%);
  width: min(1100px, 120%);
  height: 720px;
  background: radial-gradient(ellipse at center, rgba(229, 217, 147, 0.14), rgba(229, 217, 147, 0) 62%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  color: var(--text);
  margin: 1.25rem 0 1.1rem;
  letter-spacing: -0.025em;
}
.hero-title .gold { color: var(--accent); }
.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  color: var(--text-2);
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.6;
}
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.hero-media { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-media img { width: 100%; max-width: 560px; filter: drop-shadow(0 40px 70px rgba(0, 0, 0, 0.55)); }
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.4rem; margin-top: 2rem; color: var(--text-3); font-size: 0.92rem; }
.hero-trust .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--text-3); }

/* --------------------------------------------------------------------- roles */
.roles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.role-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.6rem;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.role-card:hover { transform: translateY(-6px); border-color: var(--accent-border); box-shadow: var(--shadow-md); }
.role-card .role-ic { width: 44px; height: 40px; object-fit: contain; margin-bottom: 1.1rem; }
.role-card h3 { font-size: 1.4rem; color: var(--accent); margin-bottom: 0.6rem; }
.role-card p { font-family: var(--font-body); color: var(--text-2); font-size: 0.98rem; line-height: 1.6; flex-grow: 1; margin-bottom: 1.25rem; }
.role-arrow { font-family: var(--font-display); font-weight: 700; text-transform: lowercase; color: var(--accent); display: inline-flex; align-items: center; gap: 0.4rem; }
.role-arrow::after { content: '→'; transition: transform 0.25s ease; }
.role-card:hover .role-arrow::after { transform: translateX(5px); }

/* ------------------------------------------------------------------ features */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.feature-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover { transform: translateY(-6px); border-color: var(--accent-border); box-shadow: var(--shadow-md); }
.feature-media {
  display: flex; align-items: center; justify-content: center;
  padding: 2.25rem;
  background: radial-gradient(circle at 50% 30%, rgba(229, 217, 147, 0.08), rgba(229, 217, 147, 0) 70%), var(--surface-raised);
  border-bottom: 1px solid var(--border-soft);
}
.feature-icon { width: 84px; height: 84px; object-fit: contain; filter: drop-shadow(0 6px 16px rgba(229, 217, 147, 0.18)); }
.feature-body { padding: 1.75rem 1.9rem 2rem; display: flex; flex-direction: column; flex-grow: 1; }
.feature-eyebrow { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.74rem; color: var(--accent); margin-bottom: 0.7rem; }
.feature-card h3 { font-size: 1.5rem; color: var(--text); margin-bottom: 0.7rem; }
.feature-card p { font-family: var(--font-body); color: var(--text-2); font-size: 0.98rem; line-height: 1.65; }
.feature-list { list-style: none; margin-top: 1.1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.feature-list li { font-family: var(--font-body); position: relative; padding-left: 1.5rem; color: var(--text-2); font-size: 0.95rem; }
.feature-list li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* --------------------------------------------------------------------- steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75rem; counter-reset: step; }
.step { text-align: center; }
.step-num {
  width: 64px; height: 64px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  margin-bottom: 1.25rem;
}
.step h3 { font-size: 1.3rem; color: var(--text); margin-bottom: 0.5rem; }
.step p { font-family: var(--font-body); color: var(--text-2); font-size: 0.98rem; line-height: 1.6; max-width: 260px; margin: 0 auto; }

/* ----------------------------------------------------------------------- faq */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  font-family: var(--font-display); font-weight: 700; text-transform: lowercase;
  font-size: 1.15rem; color: var(--text); text-align: left;
  padding: 1.5rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  transition: color 0.2s ease;
}
.faq-q:hover { color: var(--accent); }
.faq-q::after { content: '+'; color: var(--accent); font-size: 1.6rem; font-weight: 400; transition: transform 0.3s ease; flex-shrink: 0; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; }
.faq-a p { font-family: var(--font-body); color: var(--text-2); line-height: 1.7; }
.faq-item.open .faq-a { max-height: 460px; padding-bottom: 1.5rem; }

/* ----------------------------------------------------------------------- cta */
.cta-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(229, 217, 147, 0.14), rgba(229, 217, 147, 0) 60%),
    var(--surface);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-xl);
  padding: clamp(48px, 7vw, 80px) clamp(24px, 5vw, 64px);
  box-shadow: var(--shadow-md);
}
.cta-card h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); color: var(--text); margin-bottom: 1rem; }
.cta-card h2 .gold { color: var(--accent); }
.cta-card p { font-family: var(--font-body); color: var(--text-2); font-size: 1.1rem; max-width: 560px; margin: 0 auto 2rem; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: center; }

/* -------------------------------------------------------------------- footer */
footer.site-footer { background: var(--surface-sunken); border-top: 1px solid var(--border); padding: 64px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; margin-bottom: 2.5rem; }
.footer-brand img { height: 30px; margin-bottom: 1rem; }
.footer-brand p { font-family: var(--font-body); color: var(--text-3); max-width: 280px; font-size: 0.95rem; }
.footer-col h4 { font-size: 1rem; color: var(--accent); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { font-family: var(--font-body); color: var(--text-2); font-size: 0.95rem; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border-soft); padding-top: 1.75rem; text-align: center; color: var(--text-3); font-family: var(--font-body); font-size: 0.9rem; }

/* ----------------------------------------------- sub-page content blocks */
/* centered hero for interior pages */
.subhero { position: relative; overflow: hidden; padding: calc(var(--nav-h) + clamp(48px, 8vw, 96px)) 0 clamp(48px, 7vw, 88px); text-align: center; }
.subhero .container { position: relative; z-index: 1; }
.subhero h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); color: var(--text); margin: 1.1rem auto 1.1rem; max-width: 14ch; letter-spacing: -0.02em; }
.subhero h1 .gold { color: var(--accent); }
.lead { font-family: var(--font-body); font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: var(--text-2); max-width: 720px; margin: 0 auto 2rem; line-height: 1.6; }
.subhero .hero-ctas { justify-content: center; }

/* generic responsive card grid + info card */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.85rem 1.7rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.info-card:hover { transform: translateY(-5px); border-color: var(--accent-border); box-shadow: var(--shadow-md); }
.info-card h3 { font-size: 1.32rem; color: var(--text); margin-bottom: 0.55rem; }
.info-card p { font-family: var(--font-body); color: var(--text-2); font-size: 0.98rem; line-height: 1.62; }
.icon-tile {
  width: 56px; height: 56px; border-radius: var(--r-md);
  background: var(--accent-soft); border: 1px solid var(--accent-border);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.15rem;
}
.icon-tile img { width: 30px; height: 30px; object-fit: contain; }

/* split text/media row */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split + .split { margin-top: clamp(48px, 7vw, 96px); }
.split.reverse .split-media { order: -1; }
.split-media { display: flex; align-items: center; justify-content: center; }
.split-media img { width: 100%; max-width: 420px; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5)); }
.split h3 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); color: var(--text); margin-bottom: 1rem; }
.split p { font-family: var(--font-body); color: var(--text-2); font-size: 1.05rem; line-height: 1.65; margin-bottom: 1.25rem; }
.split-eyebrow { display: inline-block; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.76rem; color: var(--accent); margin-bottom: 0.9rem; }

/* framed icon visual for split rows */
.media-frame {
  display: flex; align-items: center; justify-content: center;
  min-height: 300px; padding: 2.5rem;
  background: radial-gradient(circle at 50% 40%, rgba(229, 217, 147, 0.1), rgba(229, 217, 147, 0) 70%), var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.media-frame img { width: clamp(96px, 16vw, 132px); height: auto; filter: drop-shadow(0 8px 22px rgba(229, 217, 147, 0.2)); }

/* generic surface panel */
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); max-width: 900px; margin: 0 auto; box-shadow: var(--shadow-sm); }
.panel h3 { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--accent); margin-bottom: 1rem; }
.panel > p { font-family: var(--font-body); color: var(--text-2); font-size: 1.05rem; line-height: 1.7; margin-bottom: 1.5rem; }
.bullet-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem 2rem; list-style: none; }
.bullet-grid li { font-family: var(--font-body); position: relative; padding-left: 1.6rem; color: var(--text-2); }
.bullet-grid li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* architecture rows (how layers connect) */
.arch { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); max-width: 980px; margin: 0 auto; box-shadow: var(--shadow-sm); }
.arch-row { display: grid; grid-template-columns: 170px 1fr; gap: 1.5rem; align-items: start; padding: 1.3rem 0; border-bottom: 1px solid var(--border-soft); }
.arch-row:last-child { border-bottom: none; }
.arch-row p { font-family: var(--font-body); color: var(--text-2); font-size: 1rem; line-height: 1.62; }
.role-tag {
  display: inline-flex; align-items: center; align-self: start;
  font-family: var(--font-display); font-weight: 700; text-transform: lowercase; font-size: 0.9rem;
  color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-border);
  padding: 6px 14px; border-radius: var(--r-pill); white-space: nowrap;
}

/* use-case callouts */
.use-cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.25rem; max-width: 1000px; margin: 0 auto; }
.use-case { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--r-md); padding: 1.6rem 1.75rem; }
.use-case h3 { color: var(--accent); font-size: 1.25rem; margin-bottom: 0.5rem; }
.use-case p { font-family: var(--font-body); color: var(--text-2); font-size: 1rem; line-height: 1.6; }

/* feature pills (compact icon + label rows) */
.feature-pills { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.5rem; max-width: 920px; margin: 0 auto; }
.feature-pill { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 1.15rem 1.4rem; display: flex; align-items: center; gap: 1rem; box-shadow: var(--shadow-sm); transition: transform 0.2s ease, border-color 0.2s ease; }
.feature-pill:hover { transform: translateY(-3px); border-color: var(--accent-border); }
.feature-pill .pill-ic { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; filter: drop-shadow(0 2px 6px rgba(229, 217, 147, 0.2)); }
.feature-pill h4 { font-family: var(--font-display); text-transform: lowercase; color: var(--text); font-size: 1.1rem; margin-bottom: 0.15rem; }
  .feature-pill p { font-family: var(--font-body); color: var(--text-2); font-size: 0.92rem; margin: 0; line-height: 1.45; }
@media (max-width: 768px) { .feature-pills { grid-template-columns: 1fr; } }

/* simple highlight stat row */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.25rem; max-width: 920px; margin: 0 auto; }
.stat-cell { text-align: center; }
.stat-cell .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3rem); color: var(--accent); line-height: 1; }
.stat-cell .cap { font-family: var(--font-body); color: var(--text-2); font-size: 0.95rem; margin-top: 0.5rem; }

/* comparison table */
.compare { max-width: 880px; margin: 0 auto; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm); }
.compare-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; border-bottom: 1px solid var(--border-soft); }
.compare-row:last-child { border-bottom: none; }
.compare-row > div { padding: 1.05rem 1.25rem; font-family: var(--font-body); font-size: 1rem; color: var(--text-2); display: flex; align-items: center; }
.compare-row.head > div { background: var(--surface-sunken); color: var(--accent); font-family: var(--font-display); font-weight: 700; text-transform: lowercase; letter-spacing: 0.02em; }
.compare .cell-check, .compare .check { color: var(--success); font-weight: 700; }
.compare .cell-cross, .compare .cross { color: var(--text-3); font-weight: 700; }

/* pricing cards */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; max-width: 1000px; margin: 0 auto; }
.pricing-grid.cols-3 { grid-template-columns: repeat(3, 1fr); max-width: 1150px; }
.price-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: clamp(28px, 3vw, 40px) clamp(24px, 2.5vw, 34px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.price-card:hover { transform: translateY(-6px); border-color: var(--accent-border); box-shadow: var(--shadow-md); }
.price-card.featured { border-color: var(--accent-border); box-shadow: 0 0 0 1px var(--accent-border), var(--shadow-md); }
.price-card .badge {
  position: absolute; top: -13px; right: 1.75rem;
  background: var(--accent); color: var(--on-accent);
  padding: 6px 14px; border-radius: var(--r-pill);
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem;
}
.price-card h3 { font-size: 1.55rem; color: var(--accent); margin-bottom: 0.4rem; }
.price-tagline { font-family: var(--font-body); color: var(--text-2); font-size: 0.98rem; margin-bottom: 1.6rem; }
.price-amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.4rem; }
.price-amount .num { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.4rem); font-weight: 700; color: var(--text); line-height: 1; }
.price-amount .unit { font-family: var(--font-body); color: var(--text-3); font-size: 1rem; }
.price-divider { border-top: 1px solid var(--border-soft); margin: 0.4rem 0 1.4rem; }
.price-card ul { list-style: none; margin-bottom: 1.8rem; flex-grow: 1; display: flex; flex-direction: column; gap: 0.55rem; }
.price-card ul li { font-family: var(--font-body); position: relative; padding-left: 1.6rem; color: var(--text-2); font-size: 0.98rem; line-height: 1.5; }
.price-card ul li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.price-card ul li strong { color: var(--text); }
.price-card ul li.disabled { color: var(--text-3); }
.price-card ul li.disabled::before { content: '–'; color: var(--text-3); }
.price-cta { width: 100%; }
.price-fineprint { font-family: var(--font-body); color: var(--text-3); font-size: 0.82rem; margin-top: 1rem; text-align: center; line-height: 1.5; }

.audience-divider { display: flex; align-items: center; gap: 1.25rem; max-width: 1100px; margin: 0 auto clamp(28px, 4vw, 44px); }
.audience-divider::before, .audience-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.audience-divider .label { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.82rem; color: var(--accent); }

/* ----------------------------------------------------- auth & form pages */
body.flex-page { min-height: 100vh; display: flex; flex-direction: column; }
.auth-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 48px 20px; }
.auth-card {
  width: 100%; max-width: 430px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: clamp(28px, 4vw, 42px);
  box-shadow: var(--shadow-md);
}
.auth-card.wide { max-width: 560px; }
.auth-logo { height: 38px; width: auto; display: block; margin: 0 auto 1.5rem; }
.auth-card h1 { font-family: var(--font-display); text-transform: lowercase; color: var(--text); text-align: center; font-size: clamp(1.6rem, 4vw, 2rem); margin-bottom: 0.5rem; }
.auth-sub { font-family: var(--font-body); color: var(--text-2); text-align: center; font-size: 0.98rem; margin-bottom: 1.75rem; }

.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-family: var(--font-body); margin-bottom: 0.5rem; color: var(--text-2); font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea, .field {
  width: 100%; padding: 12px 14px;
  background: var(--surface-sunken); border: 1px solid var(--border);
  border-radius: var(--r-md); color: var(--text);
  font-family: var(--font-body); font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus, .field:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.btn-block { width: 100%; }
.form-error, .error {
  color: var(--danger); background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.25);
  padding: 12px 14px; border-radius: var(--r-md); margin-bottom: 1rem;
  font-family: var(--font-body); font-size: 0.9rem; display: none;
}
.form-error.show, .error.show { display: block; }
.form-success {
  color: var(--success); background: rgba(74, 222, 128, 0.1); border: 1px solid rgba(74, 222, 128, 0.25);
  padding: 12px 14px; border-radius: var(--r-md); margin-bottom: 1rem;
  font-family: var(--font-body); font-size: 0.9rem;
}
.success {
  color: var(--success); background: rgba(74, 222, 128, 0.1); border: 1px solid rgba(74, 222, 128, 0.25);
  padding: 12px 14px; border-radius: var(--r-md); margin-bottom: 1rem;
  font-family: var(--font-body); font-size: 0.9rem; display: none;
}
.success.show { display: block; }
.auth-alt { text-align: center; margin-top: 1.5rem; font-family: var(--font-body); color: var(--text-2); font-size: 0.92rem; }
.password-toggle { position: relative; }
.toggle-password { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--accent); cursor: pointer; font-size: 0.85rem; font-family: var(--font-body); padding: 0; }
.loading-message { text-align: center; color: var(--text-2); font-family: var(--font-body); margin: 20px 0; }
.success-message { display: none; color: var(--success); background: rgba(74, 222, 128, 0.1); border: 1px solid rgba(74, 222, 128, 0.3); padding: 1rem 1.25rem; border-radius: var(--r-md); margin-bottom: 1.5rem; font-family: var(--font-body); }
.success-message.visible { display: block; }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.75rem; max-width: 1080px; margin: 0 auto; align-items: start; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.form-link-right { text-align: right; margin-top: 0.4rem; }
.form-link-right a, .auth-alt a { font-family: var(--font-body); }
.spinner {
  width: 18px; height: 18px; border: 2px solid rgba(16, 23, 26, 0.35); border-top-color: var(--on-accent);
  border-radius: 50%; display: inline-block; margin-right: 8px; vertical-align: middle;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* static (non-fixed) header variant for utility pages */
.util-header { background: rgba(11, 16, 17, 0.92); border-bottom: 1px solid var(--border); padding: 0.85rem 0; }
.util-header .nav { min-height: auto; }
.util-footer { background: var(--surface-sunken); border-top: 1px solid var(--border); padding: 1.5rem 0; text-align: center; font-family: var(--font-body); color: var(--text-3); font-size: 0.88rem; }
.util-footer a { color: var(--text-3); margin: 0 0.5rem; }
.util-footer a:hover { color: var(--accent); }

/* centered status / result page */
.status-wrap { flex: 1; display: flex; align-items: center; justify-content: center; padding: 64px 20px; text-align: center; }
.status-card { max-width: 540px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: clamp(32px, 5vw, 56px); box-shadow: var(--shadow-md); }
.status-icon { font-size: 3rem; line-height: 1; margin-bottom: 1.25rem; }
.status-card h1 { font-family: var(--font-display); text-transform: lowercase; color: var(--text); font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 1rem; }
.status-card p { font-family: var(--font-body); color: var(--text-2); font-size: 1.05rem; line-height: 1.6; margin-bottom: 1.5rem; }

/* legal / long-form prose */
.prose { max-width: 820px; margin: 0 auto; font-family: var(--font-body); color: var(--text-2); }
.prose h1 { font-family: var(--font-display); text-transform: lowercase; color: var(--text); font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 0.75rem; }
.prose h2 { font-family: var(--font-display); text-transform: lowercase; color: var(--accent); font-size: 1.5rem; margin: 2rem 0 0.75rem; }
.prose h3 { font-family: var(--font-display); text-transform: lowercase; color: var(--text); font-size: 1.2rem; margin: 1.5rem 0 0.5rem; }
.prose p, .prose li { line-height: 1.75; margin-bottom: 0.9rem; }
.prose ul, .prose ol { padding-left: 1.4rem; margin-bottom: 1rem; }
.prose a { color: var(--accent); }
.prose .updated { color: var(--text-3); font-size: 0.92rem; margin-bottom: 2rem; }
.important-notice { background: var(--accent-soft); border: 1px solid var(--accent-border); border-radius: var(--r-md); padding: 1rem 1.25rem; margin: 1rem 0 2rem; }
.important-notice p { margin-bottom: 0; }

/* ----------------------------------------------------------------- utilities */
.muted { color: var(--text-2); }
.accent { color: var(--accent); }
.text-center { text-align: center; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* custom scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: var(--r-pill); }
::-webkit-scrollbar-thumb:hover { background: #2c3c3d; }
::-webkit-scrollbar-track { background: transparent; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas, .hero-trust { justify-content: center; }
  .hero-media { order: -1; }
  .hero-media img { max-width: 440px; }
  .roles-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
  .card-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(11, 16, 17, 0.98);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0;
    backdrop-filter: blur(14px);
  }
  .nav-links.active { display: flex; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 0.85rem 0; }
  .nav-links .menu-only { display: block; border-top: 1px solid var(--border-soft); }
  .nav-links .menu-only.cta a { color: var(--accent); }
  .mobile-menu { display: flex; }
  .nav-right .nav-login, .nav-right > .btn { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .roles-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .card-grid.cols-3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; text-align: center; }
  .split-media, .split.reverse .split-media { order: -1; }
  .split-media img { max-width: 320px; }
  .media-frame { min-height: 200px; padding: 2rem; }
  .bullet-grid { grid-template-columns: 1fr; }
  .arch-row { grid-template-columns: 1fr; gap: 0.6rem; }
  .compare-row > div { padding: 0.8rem 0.85rem; font-size: 0.88rem; }
  .pricing-grid, .pricing-grid.cols-3 { grid-template-columns: 1fr; gap: 1.75rem; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .store-badge { justify-content: center; }
  .cta-buttons .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
