@import url("fonts/modern-sans.css");

/* ===== RESET: remove browser defaults ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-body, "Plus Jakarta Sans", system-ui, -apple-system, sans-serif);
}

/* ===== COLOR & TYPOGRAPHY TOKENS — unified modern system ===== */
:root {
  --cream: #f4ede1; /* page background */
  --card: #ebd19dde; /* navbar + card */
  --brown: #2b1a0e; /* dark espresso brown: buttons, headings */
  --gold: #c9a227; /* gold accents */
  --text: #1a1612; /* body text */
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --serif: var(--font-display); /* unified modern geometric sans */
}

/* ===== BACKGROUND: bg.jpg photo + soft cream veil (site-wide) ===== */
body {
  min-height: 100vh;
  background: url("bg.jpg") center / cover no-repeat fixed;
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Headings: Ultrathin + bold mode, Main headings: Geometric Bold */
h1, .hero h1, .page-hero h1, .wf-hero-title, .wf-cases-title, .wf-contact-title, .hero-slide h1, .news-main-title {
  font-family: var(--font-display);
  font-weight: 800; /* Geometric Bold */
  letter-spacing: -0.025em;
  color: var(--brown);
}

h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 300; /* Ultrathin for subheadings */
  letter-spacing: -0.015em;
  color: var(--brown);
}

/* Bold accents in headings */
h1 strong, h1 b, h1 .bold,
h2 strong, h2 b, h2 .bold,
h3 strong, h3 b, h3 .bold,
h4 strong, h4 b, h4 .bold,
.bold-mode {
  font-weight: 800;
  color: var(--brown);
}

h1 .thin, h2 .thin, h3 .thin, .thin-mode {
  font-weight: 200;
  letter-spacing: -0.01em;
}

/* Body / Descriptions / Blog / News text: Modern Sans Serif */
p, .article-body p, .news-card-body, .news-lead-text, .post-lead, .modal-text, .desc, .sub, .hero p, .page-hero p {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  color: rgba(35, 22, 13, 0.88);
}

/* The "veil": a translucent cream sheet ON TOP of the photo,
   but BEHIND all text — it softens the image so text stays readable.
   Lower the number (e.g. 0.3) = more photo shows through. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(244, 237, 225, 0.55);
  z-index: -1; /* push it behind the page content */
}


/* ===== TOP BAR: floating glass pill like the login card ===== */
.navbar {
  position: relative; /* anchor for the mobile dropdown menu (.nav-links.open) */
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px auto;
  max-width: 1200px;
  padding: 14px 30px;
  z-index: 50; /* keep the bar (and its open menu) above page content */
  /* GLASS — same frosted recipe as the login card / main card */
  background: rgba(250, 246, 238, 0.4);
  backdrop-filter: blur(14px); /* frosted glass */
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255, 255, 255, 0.5); /* soft glass edge */
  border-radius: 50px;
  box-shadow: 0 12px 34px rgba(59, 35, 20, 0.12);
}


.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--brown);
  font-family: var(--serif); /* wordmark uses the fancy serif, like the brand */
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none; /* the wordmark is an <a> now — no underline */
}

.logo img {
  height: 44px;
  width: 44px;
  object-fit: contain;
}

.logo .tagline {
  display: block;
  font-size: 10px;
  font-weight: normal;
  letter-spacing: 3px;
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 10px;
  list-style: none;
}

/* Menu items look like small cream buttons (like the brand site) */
.nav-links li {
  color: var(--brown);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  border: 1px solid rgba(59, 35, 20, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 2px 6px rgba(59, 35, 20, 0.08);
  transition: all 0.15s ease;
}

.nav-links li:hover {
  background: #fff;
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* links inside the pills look like plain text */
.nav-links a {
  color: var(--brown);
  text-decoration: none;
}

/* Right side of the navbar: CTA button + hamburger (hamburger = small screens) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hamburger {
  display: none; /* hidden on desktop, shown by the media query below */
  color: var(--brown);
  font-size: 24px;
  cursor: pointer;
}

/* ===== MAIN AREA: left text + right card ===== */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px; /* same width as the navbar — keeps the card from drifting right */
  margin: 0 auto;
  padding: 40px 30px;
  gap: 50px;
}

/* GLASS PANEL — same recipe as the login card */
.hero-text {
  max-width: 600px;
  color: var(--brown);
  background: rgba(250, 246, 238, 0.35); /* see-through */
  backdrop-filter: blur(14px); /* frosted glass */
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 20px 50px rgba(59, 35, 20, 0.1);
  align-self: flex-start;
}

.hero-text h1 {
  font-family: var(--serif); /* elegant serif like the example */
  font-size: 72px;
  font-weight: 700;
  line-height: 1.05; /* tight leading, like the brand headline */
  color: var(--brown);
  margin-bottom: 5px;
}

.hero-text h1 .dot {
  color: #dba01f;
}

.hero-text h2 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 20px;
}

.hero-text p {
  line-height: 1.7;
  margin-bottom: 30px;
  color: var(--text);
}

/* ===== BUTTONS (Metallic Gold Rim + 3D Capsule Pill — Image 3 Style) ===== */
.nav-cta,
.btn-primary,
.btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0.4px;
  border: 1.5px solid transparent;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;

  /* Rich brand espresso interior with gleaming polished gold perimeter rim */
  background:
    linear-gradient(180deg, #442a17 0%, #2e1a0e 48%, #1a0e06 100%) padding-box,
    linear-gradient(180deg, #ffe28a 0%, #d4a72c 42%, #855c0e 100%) border-box;

  /* Specular top highlight + smooth diffused ambient drop shadow */
  box-shadow:
    0 5px 14px rgba(35, 20, 10, 0.32),
    0 1px 3px rgba(35, 20, 10, 0.2),
    inset 0 1px 1px rgba(255, 235, 175, 0.42),
    inset 0 -1px 2px rgba(0, 0, 0, 0.45);
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-cta:hover,
.btn-primary:hover,
.btn-login:hover {
  filter: brightness(1.12);
  transform: translateY(-2px);
  box-shadow:
    0 8px 22px rgba(212, 167, 44, 0.35),
    0 3px 8px rgba(35, 20, 10, 0.25),
    inset 0 1px 1.5px rgba(255, 245, 205, 0.65),
    inset 0 -1px 2px rgba(0, 0, 0, 0.45);
}

.nav-cta:active,
.btn-primary:active,
.btn-login:active {
  transform: translateY(0);
  box-shadow:
    0 2px 6px rgba(35, 20, 10, 0.3),
    inset 0 2px 4px rgba(0, 0, 0, 0.6);
}

/* Small brown button in the navbar ("Get TagSmith PDF" style) */
.nav-cta {
  padding: 10px 24px;
  font-size: 14px;
  white-space: nowrap;
}

.nav-cta.active {
  box-shadow:
    0 0 0 2px rgba(212, 167, 44, 0.6),
    0 6px 16px rgba(35, 20, 10, 0.35),
    inset 0 1px 1px rgba(255, 240, 190, 0.45);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-primary {
  padding: 14px 28px;
  font-size: 15px;
}

/* Secondary Light / Pearl Pill Button (Image 3 Top Style) */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--brown);
  border-radius: 9999px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
  border: 1.5px solid transparent;

  /* Pearl ivory interior with gleaming polished gold perimeter rim */
  background:
    linear-gradient(180deg, #ffffff 0%, #fbf7ee 50%, #eee4d2 100%) padding-box,
    linear-gradient(180deg, #ffe28a 0%, #d4a72c 42%, #855c0e 100%) border-box;

  /* Specular top highlight + smooth diffused ambient drop shadow */
  box-shadow:
    0 4px 14px rgba(59, 35, 20, 0.14),
    0 1px 3px rgba(59, 35, 20, 0.08),
    inset 0 1px 1px #ffffff,
    inset 0 -1px 2px rgba(59, 35, 20, 0.08);
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-secondary:hover {
  filter: brightness(1.04);
  transform: translateY(-2px);
  box-shadow:
    0 8px 20px rgba(212, 167, 44, 0.28),
    0 2px 6px rgba(59, 35, 20, 0.12),
    inset 0 1px 1px #ffffff;
}

.btn-secondary:active {
  transform: translateY(0);
  box-shadow:
    0 2px 6px rgba(59, 35, 20, 0.18),
    inset 0 2px 3px rgba(59, 35, 20, 0.15);
}


/* Small pill chips under the buttons ("Zero telemetry" style) */
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  padding: 0;
  list-style: none;
}

.hero-chips li {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(59, 35, 20, 0.25);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brown);
  box-shadow: 0 2px 6px rgba(59, 35, 20, 0.08);
}

/* ===== PAGE HERO — one centered glass panel, shared by every page ===== */
.page-hero {
  background: rgba(
    250,
    246,
    238,
    0.35
  ); /* see-through — the sunset shows through */
  backdrop-filter: blur(14px); /* frosted glass — keeps the text readable */
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255, 255, 255, 0.5); /* soft glass edge */
  border-radius: 20px;
  padding: 32px;
  width: 400px;
  box-shadow: 0 20px 50px rgba(59, 35, 20, 0.15);
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 40px;
  background: rgba(250, 246, 238, 0.35); /* same glass as the login card */
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(59, 35, 20, 0.1);
}

.page-hero h1 {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 700;
  line-height: 1.05;
  color: var(--brown);
  margin-bottom: 14px;
}

.page-hero p {
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
  color: var(--text);
}

/* Row of section buttons under the page hero (Home shows all sections) */
.hero-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
}

.page-hero .hero-chips {
  justify-content: center;
  margin-top: 26px;
}

/* Placeholder box — file tester (wired up in a later lesson) */
.upload-box {
  margin-top: 30px;
  padding: 55px 25px;
  border: 2px dashed rgba(59, 35, 20, 0.35);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.35);
  color: rgba(59, 35, 20, 0.6);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ===== HERO MULTI-SLIDE CAROUSEL & PREVIEW CROPS (STATIC LAYOUT) ===== */
.hero-slider {
  position: relative;
  width: 100%;
}

.hero-slides-track {
  position: relative;
  width: 100%;
  min-height: 520px;
  height: 520px; /* Lock height on desktop so it never jumps */
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hero-slide h1 {
  font-size: 34px;
  line-height: 1.15;
  margin: 0 0 6px;
}

.hero-slide h2 {
  font-size: 16px;
  font-weight: 500;
  color: var(--brown);
  opacity: 0.88;
  margin: 0 0 12px;
  line-height: 1.35;
}

.slide-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 9999px;
  background: rgba(212, 167, 44, 0.16);
  border: 1px solid rgba(212, 167, 44, 0.45);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #8c5b0d;
  text-transform: uppercase;
}

.eyebrow-note {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: rgba(59, 35, 20, 0.65);
  text-transform: uppercase;
}

/* Slide 1: Asset Showcase Frame - Exactly 155px height */
.hero-slide-asset-wrap {
  position: relative;
  height: 155px;
  min-height: 155px;
  max-height: 155px;
  border-radius: 12px;
  overflow: hidden;
  margin: 0 0 14px;
  border: 1.5px solid rgba(212, 167, 44, 0.4);
  box-shadow:
    0 6px 18px rgba(35, 20, 10, 0.18),
    inset 0 1px 1px rgba(255, 255, 255, 0.4);
  background: rgba(26, 16, 8, 0.9);
  box-sizing: border-box;
}

.hero-slide-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.hero-slide-asset-wrap:hover .hero-slide-img {
  transform: scale(1.02);
}

.asset-floating-badge {
  position: absolute;
  bottom: 8px;
  right: 10px;
  background: rgba(26, 16, 8, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(212, 167, 44, 0.55);
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.badge-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
}

/* Slide 2: News Crop Card - Exactly 155px height */
.hero-slide-news-crop {
  height: 155px;
  min-height: 155px;
  max-height: 155px;
  margin: 0 0 14px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(212, 167, 44, 0.4);
  box-shadow:
    0 6px 18px rgba(35, 20, 10, 0.1),
    inset 0 1px 1px #ffffff;
  cursor: pointer;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide-news-crop:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 167, 44, 0.75);
  box-shadow:
    0 10px 22px rgba(212, 167, 44, 0.2),
    inset 0 1px 1px #ffffff;
}

.news-crop-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.news-crop-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #8c5b0d;
  text-transform: uppercase;
}

.news-crop-time {
  font-size: 10px;
  font-weight: 600;
  color: rgba(59, 35, 20, 0.6);
}

.news-crop-title {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--brown);
  margin: 0;
}

.news-crop-snippet {
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(59, 35, 20, 0.82);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-crop-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  color: rgba(59, 35, 20, 0.7);
  border-top: 1px solid rgba(59, 35, 20, 0.1);
  padding-top: 6px;
}

.news-crop-link {
  color: #8c5b0d;
  font-weight: 700;
}

/* Slide 3: Tool Matrix Card - Exactly 155px height */
.hero-slide-tool-crop {
  height: 155px;
  min-height: 155px;
  max-height: 155px;
  margin: 0 0 14px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(212, 167, 44, 0.4);
  box-shadow:
    0 6px 18px rgba(35, 20, 10, 0.1),
    inset 0 1px 1px #ffffff;
  cursor: pointer;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide-tool-crop:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 167, 44, 0.75);
  box-shadow:
    0 10px 22px rgba(212, 167, 44, 0.2),
    inset 0 1px 1px #ffffff;
}

.tool-crop-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tool-crop-title {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #8c5b0d;
  text-transform: uppercase;
}

.tool-crop-badge {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #ffffff;
  background: linear-gradient(180deg, #643d21, #341c0c);
  padding: 2px 8px;
  border-radius: 9999px;
  border: 1px solid rgba(212, 167, 44, 0.5);
}

.tool-crop-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.tool-metric-card {
  flex: 1;
  padding: 6px 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(59, 35, 20, 0.15);
  text-align: center;
}

.tool-metric-card.highlight {
  background: rgba(212, 167, 44, 0.16);
  border-color: rgba(212, 167, 44, 0.6);
}

.metric-num {
  display: block;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--brown);
  line-height: 1.2;
}

.metric-label {
  display: block;
  font-size: 9.5px;
  font-weight: 600;
  color: rgba(59, 35, 20, 0.7);
  margin-top: 2px;
  letter-spacing: 0.2px;
}

.tool-metric-arrow {
  font-size: 13px;
  font-weight: 700;
  color: #8c5b0d;
}

.tool-crop-caption {
  font-size: 11.5px;
  line-height: 1.35;
  color: rgba(59, 35, 20, 0.75);
  margin: 0;
}

/* Slide 4: Customer Review Crop - Exactly 155px height */
.hero-slide-review-crop {
  height: 155px;
  min-height: 155px;
  max-height: 155px;
  margin: 0 0 14px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(212, 167, 44, 0.4);
  box-shadow:
    0 6px 18px rgba(35, 20, 10, 0.1),
    inset 0 1px 1px #ffffff;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.review-stars-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.review-stars-row .stars {
  color: #d4a72c;
  font-size: 14px;
  letter-spacing: 2px;
}

.review-rating {
  font-size: 11px;
  font-weight: 700;
  color: var(--brown);
}

.verified-tag {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  color: #15803d;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  padding: 2px 7px;
  border-radius: 9999px;
}

.review-quote-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  line-height: 1.5;
  color: var(--brown);
  margin: 0;
  padding: 0;
  border: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-author-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid rgba(59, 35, 20, 0.1);
  padding-top: 6px;
}

.author-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(180deg, #643d21, #341c0c);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid rgba(212, 167, 44, 0.6);
  flex-shrink: 0;
}

.author-info {
  display: flex;
  flex-direction: column;
  font-size: 11px;
  line-height: 1.3;
}

.author-info strong {
  color: var(--brown);
  font-size: 12px;
}

.author-info span {
  color: rgba(59, 35, 20, 0.7);
}

/* Consistent slide description paragraph */
.hero-slide p {
  margin: 0 0 14px;
  line-height: 1.55;
  font-size: 14px;
  min-height: 44px;
  color: var(--text);
}

.hero-slide .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.hero-slide .hero-chips {
  margin-top: 0;
}

/* ===== SLIDER NAVIGATION DOTS (INTERACTIVE PILLS) ===== */
.slider-dots {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.slider-dots .dot-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(59, 35, 20, 0.25);
  cursor: pointer;
  padding: 0;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: visible;
}

.slider-dots .dot-btn:hover {
  background: rgba(212, 167, 44, 0.6);
  transform: scale(1.15);
}

.slider-dots .dot-btn.active {
  width: 32px;
  height: 12px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #d4a72c 0%, #875508 100%);
  box-shadow: 0 0 8px rgba(212, 167, 44, 0.45);
}

/* Backward compatibility for span dots */
.slider-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(59, 35, 20, 0.25);
}

.slider-dots span.active {
  background: var(--brown);
}

/* ===== CARD: glass like the example — translucent + blurred ===== */
.login-card {
  background: rgba(
    250,
    246,
    238,
    0.35
  ); /* see-through — the sunset shows through */
  backdrop-filter: blur(14px); /* frosted glass — keeps the text readable */
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255, 255, 255, 0.5); /* soft glass edge */
  border-radius: 20px;
  padding: 32px;
  width: 400px;
  max-width: 100%;
  box-shadow: 0 20px 50px rgba(59, 35, 20, 0.15);
  align-self: flex-start;
  flex-shrink: 0;
}

.card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.card-logo {
  height: 70px;
  width: 70px;
  object-fit: contain;
  margin-bottom: 10px;
}

.card-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-name {
  font-family: var(--serif); /* serif wordmark like the brand */
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--brown);
}

.gold {
  color: var(--gold);
}

.tagline {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--gold);
  margin-top: 2px;
}

/* Tabs = pill segmented control with a brown gradient active pill */
.tabs {
  display: flex;
  gap: 6px;
  padding: 6px;
  margin-bottom: 20px;
  background: rgba(59, 35, 20, 0.08);
  border-radius: 999px;
}

.tab {
  flex: 1;
  padding: 10px;
  border: none;
  background: transparent;
  color: #8a6d4f;
  font-weight: bold;
  cursor: pointer;
  border-radius: 999px;
  transition: all 0.15s ease;
}

.tab:hover:not(.active) {
  color: var(--brown);
}

.tab.active {
  background:
    linear-gradient(180deg, #442a17 0%, #2e1a0e 48%, #1a0e06 100%) padding-box,
    linear-gradient(180deg, #ffe28a 0%, #d4a72c 42%, #855c0e 100%) border-box;
  border: 1.5px solid transparent;
  color: #ffffff;
  box-shadow:
    inset 0 1px 1px rgba(255, 235, 175, 0.42),
    0 4px 10px rgba(43, 26, 14, 0.3);
}

.company {
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--brown);
}

.company span {
  color: var(--gold);
}

/* ===== FORMS & INPUTS ===== */
.form {
  display: none;
}

.form.show {
  display: block;
}

/* FIELDS = full-width pills (rounded like the example, not square) */
.input-row {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(59, 35, 20, 0.15);
  border-radius: 999px; /* the pill shape */
  margin-bottom: 16px;
  padding: 0 20px;
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    box-shadow 0.15s ease;
}

.input-row:focus-within {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.8); /* brighter while typing */
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.2);
}

.input-row input {
  border: none;
  outline: none;
  background: transparent;
  color: var(--brown);
  font-family: var(--serif); /* nicer type, like the example */
  font-size: 15px;
  letter-spacing: 1px;
  text-align: center; /* centers both the placeholder and what you type */
  width: 100%;
  padding: 13px 0; /* makes the pill tall like the example */
}

.input-row input::placeholder {
  color: rgba(59, 35, 20, 0.55);
  font-weight: 500;
  letter-spacing: 1.5px;
}

/* Width only — the brown gradient look comes from the shared BUTTONS block above */
.btn-login {
  width: 100%;
  padding: 14px;
  font-size: 17px;
}

/* ===== DIVIDER & GOOGLE ===== */
.divider {
  display: flex;
  align-items: center;
  margin: 20px 0;
  color: #aaa;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #ddd;
}

.divider span {
  padding: 0 15px;
}

.btn-google {
  width: 100%;
  padding: 13px 20px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fcf9f4 50%, #f4eee2 100%) padding-box,
    linear-gradient(180deg, #ffe28a 0%, #d4a72c 42%, #855c0e 100%) border-box;
  border: 1.5px solid transparent;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--brown);
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  box-shadow:
    0 4px 14px rgba(43, 26, 14, 0.12),
    0 1px 3px rgba(43, 26, 14, 0.06),
    inset 0 1px 1px #ffffff;
}

.btn-google:hover {
  filter: brightness(1.03);
  transform: translateY(-2px);
  box-shadow:
    0 8px 20px rgba(212, 167, 44, 0.28),
    0 2px 6px rgba(43, 26, 14, 0.1),
    inset 0 1px 1px #ffffff;
}

.btn-google:active {
  transform: translateY(0);
  box-shadow:
    0 2px 6px rgba(43, 26, 14, 0.15),
    inset 0 2px 3px rgba(43, 26, 14, 0.1);
}

.g-logo {
  flex-shrink: 0; /* the logo never gets squashed */
}

/* "Google" spelled in the original brand colors:
   blue, red, yellow, blue, green, red */
.google-word {
  font-weight: 700;
}

.google-word .c-blue {
  color: #4285f4;
}

.google-word .c-red {
  color: #ea4335;
}

.google-word .c-yellow {
  color: #fbbc05;
}

.google-word .c-green {
  color: #34a853;
}

.btn-linkedin {
  width: 100%;
  padding: 13px 20px;
  margin-top: 12px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fcf9f4 50%, #f4eee2 100%) padding-box,
    linear-gradient(180deg, #ffe28a 0%, #d4a72c 42%, #855c0e 100%) border-box;
  border: 1.5px solid transparent;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--brown);
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  box-shadow:
    0 4px 14px rgba(43, 26, 14, 0.12),
    0 1px 3px rgba(43, 26, 14, 0.06),
    inset 0 1px 1px #ffffff;
}

.btn-linkedin:hover {
  filter: brightness(1.03);
  transform: translateY(-2px);
  box-shadow:
    0 8px 20px rgba(212, 167, 44, 0.28),
    0 2px 6px rgba(43, 26, 14, 0.1),
    inset 0 1px 1px #ffffff;
}

.btn-linkedin:active {
  transform: translateY(0);
  box-shadow:
    0 2px 6px rgba(43, 26, 14, 0.15),
    inset 0 2px 3px rgba(43, 26, 14, 0.1);
}

.li-logo {
  flex-shrink: 0;
  color: #0A66C2;
}

.linkedin-word {
  font-weight: 700;
  color: #0A66C2;
}

/* ===== FEEDBACK: toast bubble + post-login welcome panel (script.js) ===== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(16px);
  background: var(--brown);
  color: #f7f1e6;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(43, 26, 14, 0.4);
  opacity: 0;
  pointer-events: none; /* clicks pass through while hidden */
  transition: all 0.25s ease;
  z-index: 100;
  max-width: 90vw;
  text-align: center;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* While logged in: hide tabs/forms/divider/oauth buttons, show the welcome panel */
.login-card.session .tabs,
.login-card.session .form,
.login-card.session .divider,
.login-card.session .btn-google,
.login-card.session .btn-linkedin {
  display: none;
}

.logged-in {
  display: none;
  text-align: center;
  padding-top: 6px;
}

.login-card.session .logged-in {
  display: block;
}

.logged-in .user-name {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  color: var(--brown);
  margin: 8px 0 20px;
}

/* Inside the Google popup: show only the login card, nothing else */
.popup-mode .navbar,
.popup-mode .hero-text {
  display: none;
}

/* ===== ON-BRAND GLASS MODAL: for Google sign-in guidance & preview ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(31, 20, 14, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  position: relative;
  background: rgba(250, 246, 238, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  padding: 34px 28px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 25px 60px rgba(43, 26, 14, 0.35);
  transform: translateY(18px) scale(0.97);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  color: var(--brown);
  box-sizing: border-box;
}

.modal-overlay.show .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: var(--brown);
  opacity: 0.6;
  cursor: pointer;
  padding: 6px;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.modal-close:hover {
  opacity: 1;
  transform: scale(1.1);
}

.modal-heading {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--brown);
  margin: 8px 0 10px;
}

.modal-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 18px;
}

.modal-steps {
  text-align: left;
  background: rgba(59, 35, 20, 0.06);
  border: 1px solid rgba(59, 35, 20, 0.12);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--brown);
}

.modal-steps ol {
  margin: 0;
  padding-left: 20px;
}

.modal-steps li {
  margin-bottom: 6px;
}

.modal-steps li:last-child {
  margin-bottom: 0;
}

.modal-steps code {
  background: rgba(255, 255, 255, 0.85);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 12.5px;
  color: #8a3b14;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-actions .btn-primary,
.modal-actions .btn-secondary {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 13px;
  cursor: pointer;
}

/* ===== GOOGLE POPUP WINDOW STYLING ===== */
.popup-body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-radial, radial-gradient(circle at 50% 30%, #543319 0%, #2b1a0e 60%, #150c06 100%));
  padding: 24px;
  box-sizing: border-box;
}

.popup-glass-card {
  background: rgba(250, 246, 238, 0.45);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 24px;
  padding: 36px 30px;
  width: 100%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(25, 14, 8, 0.45);
  color: #f7f1e6;
  box-sizing: border-box;
}

.popup-glass-card .popup-heading {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  margin: 12px 0 10px;
  color: #f7f1e6;
}

.popup-glass-card .popup-msg {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(247, 241, 230, 0.88);
  margin: 0;
}

.popup-glass-card .btn-primary {
  width: 100%;
  margin-top: 22px;
  box-sizing: border-box;
  text-align: center;
  cursor: pointer;
}

.popup-icon {
  font-size: 38px;
  line-height: 1;
  margin-bottom: 12px;
  display: inline-block;
  color: var(--gold, #c9a227);
}

.popup-sublink {
  display: inline-block;
  margin-top: 14px;
  font-size: 13.5px;
  color: rgba(247, 241, 230, 0.7);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.popup-sublink:hover {
  color: #f7f1e6;
}

/* ===== GOOGLE SIGN-IN SCREEN: authentic account picker & 4-color spinner ===== */
.google-modal-card {
  max-width: 440px;
  padding: 34px 28px 24px;
  background: rgba(250, 246, 238, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(43, 26, 14, 0.35);
  box-sizing: border-box;
}

.google-modal-header {
  text-align: center;
  margin-bottom: 20px;
}

.google-modal-logo {
  display: inline-block;
  margin-bottom: 8px;
}

.google-modal-heading {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 700;
  color: var(--brown);
  margin: 0 0 6px;
  letter-spacing: -0.2px;
}

.google-modal-sub {
  font-size: 14.5px;
  line-height: 1.45;
  color: rgba(59, 35, 20, 0.75);
  margin: 0;
}

.google-modal-app {
  font-size: 13px;
  color: var(--brown);
}

.google-modal-app strong {
  color: var(--brown);
  font-weight: 700;
}

/* Account List */
.google-account-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.google-account-item {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(59, 35, 20, 0.14);
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
  box-sizing: border-box;
}

.google-account-item:hover {
  background: rgba(255, 255, 255, 0.98);
  border-color: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(43, 26, 14, 0.12);
}

.google-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.google-avatar-add {
  background: rgba(59, 35, 20, 0.08);
  color: var(--brown);
  border: 1.5px dashed rgba(59, 35, 20, 0.35);
}

.google-account-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.google-account-name {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--brown);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.google-account-email {
  font-size: 12.5px;
  color: rgba(59, 35, 20, 0.65);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.google-account-badge {
  font-size: 11px;
  font-weight: 600;
  color: #2e7d32;
  background: rgba(46, 125, 50, 0.1);
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Custom Account Form */
.google-custom-form {
  margin-bottom: 18px;
  text-align: left;
}

.google-input-row {
  margin-bottom: 10px;
}

.google-form-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.google-form-actions .btn-secondary,
.google-form-actions .btn-primary {
  flex: 1;
  padding: 12px;
  font-size: 14px;
  box-sizing: border-box;
}

/* Signing state */
.google-signing-state {
  text-align: center;
  padding: 28px 16px;
}

.google-spinner {
  width: 42px;
  height: 42px;
  margin: 0 auto 16px;
  border: 4px solid rgba(201, 162, 39, 0.2);
  border-top-color: #4285f4;
  border-right-color: #ea4335;
  border-bottom-color: #fbbc05;
  border-left-color: #34a853;
  border-radius: 50%;
  animation: google-spin 0.85s linear infinite;
}

@keyframes google-spin {
  to { transform: rotate(360deg); }
}

.google-signing-text {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--brown);
  margin: 0;
}

/* Google footer disclaimer */
.google-modal-footer {
  border-top: 1px solid rgba(59, 35, 20, 0.12);
  padding-top: 14px;
  text-align: center;
}

.google-footer-text {
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(59, 35, 20, 0.6);
  margin: 0 0 6px;
}

.google-footer-links {
  font-size: 11.5px;
  color: rgba(59, 35, 20, 0.7);
}

.google-footer-links a {
  color: var(--brown);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.popup-mode .hero {
  justify-content: center;
}

/* ===== SMALL SCREENS: stack the hero, swap nav links for the hamburger ===== */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    align-items: stretch;
    padding: 30px 20px;
  }

  .page-hero {
    padding: 32px 22px;
  }

  .page-hero h1 {
    font-size: 40px;
  }

  .hero-text {
    max-width: none;
  }

  .nav-links,
  .wf-nav,
  .nav-cta {
    display: none;
  }

  /* When the hamburger is tapped, nav.js adds .open to #nav-links (.nav-links / .wf-nav).
     Before this existed the menu could never be opened on a phone. */
  .nav-links.open,
  .wf-nav.open {
    display: flex !important;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    flex-direction: column;
    gap: 4px;
    padding: 16px 20px;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 22px;
    background: rgba(250, 246, 238, 0.98);
    box-shadow: 0 18px 40px rgba(59, 35, 20, 0.22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 100;
  }

  .nav-links.open a,
  .wf-nav.open .wf-nav-item {
    display: block;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(59, 35, 20, 0.1);
    font-size: 15px;
    border-radius: 8px;
    text-align: left;
  }

  .nav-links.open li:last-child a,
  .wf-nav.open .wf-nav-item:last-child {
    border-bottom: none;
  }

  .hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: none;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
  }
}

/* ============================================================
   SITE FOOTER — dark textured band (bg.jpg), shared by every
   page except the login page.
   ============================================================ */
.site-footer {
  margin-top: 64px;
  padding: 0 24px;
  color: var(--cream);
  /* Golden-bubbles bg.jpg, dimmed just enough that cream/gold text stays readable */
  background:
    linear-gradient(
      180deg,
      rgba(28, 16, 7, 0.7) 0%,
      rgba(20, 11, 5, 0.78) 55%,
      rgba(14, 8, 3, 0.85) 100%
    ),
    url("bg.jpg") center / cover no-repeat;
  border-top: 1px solid rgba(201, 162, 39, 0.35);
  box-shadow: 0 -12px 40px rgba(43, 26, 14, 0.22);
}

/* --- Top call-to-action band --- */
.footer-cta {
  max-width: 1200px; /* aligns with the navbar + hero */
  margin: 0 auto;
  padding: 46px 0 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-cta-text h2 {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.08;
  color: #f7f1e6;
  margin-bottom: 10px;
}

.footer-cta-text p {
  max-width: 560px;
  line-height: 1.6;
  font-size: 15px;
  color: rgba(247, 241, 230, 0.78);
}

.footer-cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Re-skin the shared buttons for the dark footer: gold primary + ghost secondary */
.footer-cta-actions .btn-primary {
  padding: 14px 28px;
  font-size: 15px;
  background: linear-gradient(180deg, #f0cd58 0%, #d9ae2e 55%, #b8912a 100%);
  border: 1px solid #8f6f1f;
  color: #2b1a0e;
}
.footer-cta-actions .btn-primary:hover {
  filter: brightness(1.07);
  transform: translateY(-2px);
}
.footer-cta-actions .btn-secondary {
  padding: 14px 28px;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.04);
  color: #f7f1e6;
  border: 1.5px solid rgba(247, 241, 230, 0.35);
}
.footer-cta-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold);
}

/* --- Gold hairline divider under the CTA --- */
.footer-divider {
  max-width: 1200px;
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(201, 162, 39, 0.6),
    transparent
  );
}

/* --- Main grid: brand column + 4 link columns --- */
.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0 30px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 30px;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.footer-brand-logo img {
  height: 44px;
  width: 44px;
  object-fit: contain;
}
.footer-brand-name {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  color: #f7f1e6;
}
.footer-brand-desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(247, 241, 230, 0.7);
  max-width: 280px;
  margin-bottom: 18px;
}

/* Social icon buttons */
.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: #f7f1e6;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(247, 241, 230, 0.18);
  transition: all 0.15s ease;
}
.footer-social a:hover {
  background: var(--gold);
  color: #2b1a0e;
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* Link columns */
.footer-col h3 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  color: rgba(247, 241, 230, 0.78);
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-col a:hover {
  color: #fff;
}


/* --- Bottom bar: copyright · trust line · back-to-top --- */
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(247, 241, 230, 0.12);
  margin-top: 8px;
}

.footer-copy,
.footer-trust {
  font-size: 13px;
  letter-spacing: 0.3px;
  color: rgba(247, 241, 230, 0.6);
}

.footer-trust {
  color: rgba(247, 241, 230, 0.5);
}

/* Circular back-to-top button */
.footer-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #f7f1e6;
  border: 1px solid rgba(247, 241, 230, 0.3);
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.15s ease;
}
.footer-top:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #2b1a0e;
  transform: translateY(-2px);
}

/* --- Responsive: stack the footer columns --- */
@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-cta {
    padding: 38px 0 30px;
  }
  .footer-cta-text h2 {
    font-size: 32px;
  }
}

@media (max-width: 560px) {
  .footer-main {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}


/* ============================================================
   CONTENT SECTIONS — used by blogs.html + contact.html
   (built to match the glass/cream/brown design tokens above)
   ============================================================ */

/* Eyebrow label ("Founder story", "Contact", …) */
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

/* ---- Article cards (blog / news) ---- */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 8px;
  text-align: left;
}

.article-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.5);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  padding: 22px 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 22px rgba(59, 35, 20, 0.08);
  transition: all 0.16s ease;
}

.article-card:hover {
  background: rgba(255, 255, 255, 0.72);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(59, 35, 20, 0.14);
}

.article-card .article-src {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.article-card h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--brown);
  margin: 0 0 8px;
}

.article-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(43, 35, 20, 0.8);
  margin: 0;
}

.article-card .article-cta {
  display: inline-block;
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brown);
}

.article-card .article-cta span {
  color: var(--gold);
}

/* ---- Feature post (founder story) — bigger, accented ---- */
.article-card.feature {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.66),
    rgba(255, 255, 255, 0.46)
  );
  border-color: rgba(201, 162, 39, 0.45);
}

.article-card.feature h3 {
  font-size: 26px;
}

/* ---- Video list items ---- */
.video-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
  text-align: left;
}

.video-item {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 14px;
  padding: 14px 18px;
  transition: all 0.16s ease;
}

/* ---- Section blocks inside a page-hero card ---- */
.hero-block {
  margin-top: 40px;
  text-align: center;
}

.hero-block h2 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 6px;
}

.hero-block .sub {
  font-size: 14.5px;
  color: rgba(43, 35, 20, 0.72);
  max-width: 620px;
  margin: 0 auto 18px;
  line-height: 1.6;
}

/* ---- CONTACT info tiles ---- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
  text-align: left;
}

.contact-tile {
  background: rgba(255, 255, 255, 0.5);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  padding: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.contact-tile .eyebrow {
  margin-bottom: 6px;
}

.contact-tile .val {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--brown);
  word-break: break-word;
}

.contact-tile .val a {
  color: var(--brown);
  text-decoration: none;
  border-bottom: 1.5px solid var(--gold);
}

.contact-tile .val a:hover {
  color: var(--gold);
}

/* ---- CONTACT form ---- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
  text-align: left;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 13px 20px;
  font-size: 15px;
  font-family: var(--serif);
  color: var(--brown);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(59, 35, 20, 0.2);
  border-radius: 14px;
  outline: none;
  transition: all 0.15s ease;
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.6;
}

.contact-form ::placeholder {
  color: rgba(59, 35, 20, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.2);
}

.contact-form .btn-primary {
  align-self: flex-start;
  padding: 13px 34px;
  font-size: 15px;
  border-radius: 999px;
}

.contact-note {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brown);
  min-height: 18px;
}

.contact-note.ok {
  color: #2f7d32;
}

/* Responsive: contact tiles + article grids collapse on small screens */
@media (max-width: 700px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-block h2 {
    font-size: 25px;
  }
}

.video-item:hover {
  background: rgba(255, 255, 255, 0.68);
  transform: translateY(-2px);
}

.video-item .play {
  flex: 0 0 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(180deg, #6d4a2b 0%, #35200f 100%);
  color: #f7f1e6;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(43, 26, 14, 0.3);
}

.video-item .play svg {
  width: 16px;
  height: 16px;
  margin-left: 2px;
  fill: currentColor;
}

.video-item .video-meta strong {
  display: block;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--brown);
  line-height: 1.3;
}

.video-item .video-meta small {
  color: rgba(43, 35, 20, 0.65);
  font-size: 12.5px;
  font-weight: 600;
}


/* ============================================================
   BLOG — single-post editorial layout (founder story)
   ============================================================ */
.post-head {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.post-head .eyebrow {
  margin-bottom: 16px;
}

.post-head h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 700;
  line-height: 1.14;
  color: var(--brown);
  letter-spacing: -0.3px;
}

.post-head .post-lead {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  line-height: 1.6;
  color: rgba(43, 35, 20, 0.78);
}

.post-meta {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}

.post-meta .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.6;
}

.post-rule {
  width: 92px;
  height: 2px;
  margin: 26px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Article body — generous, readable serif */
.article-body {
  max-width: 68ch;
  margin: 34px auto 0;
  text-align: left;
}

.article-body > p {
  font-family: var(--serif);
  font-size: 17.5px;
  line-height: 1.85;
  color: rgba(28, 20, 11, 0.9);
  margin-bottom: 22px;
}

.article-body h2 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--brown);
  margin: 38px 0 14px;
}

.article-body h2::before {
  content: "";
  display: block;
  width: 38px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 14px;
}

.article-body a {
  color: var(--brown);
  font-weight: 600;
  border-bottom: 1.5px solid var(--gold);
  text-decoration: none;
  transition: all 0.15s ease;
}

.article-body a:hover {
  color: var(--gold);
}

.post-cta {
  margin-top: 34px;
  text-align: center;
}



/* ============================================================
   CONTACT — premium two-column layout
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 38px;
  align-items: start;
  margin-top: 10px;
  text-align: left;
}

.contact-aside .eyebrow {
  margin-bottom: 14px;
}

.contact-aside h1,
.contact-aside h2 {
  font-family: var(--serif);
  font-size: 33px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--brown);
}

.contact-aside .lead {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(28, 20, 11, 0.82);
}

.contact-rows {
  margin-top: 28px;
  border-top: 1px solid rgba(59, 35, 20, 0.14);
}

.contact-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 2px;
  border-bottom: 1px solid rgba(59, 35, 20, 0.14);
}

.contact-row .k {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

.contact-row .v {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--brown);
  text-align: right;
}

.contact-row .v a {
  color: var(--brown);
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  transition: all 0.15s ease;
}

.contact-row .v a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.contact-aside .foot-note {
  margin-top: 20px;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(28, 20, 11, 0.58);
  font-style: italic;
}

/* Elevated glass form panel */
.contact-panel {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.7),
    rgba(255, 255, 255, 0.46)
  );
  border: 1.5px solid rgba(201, 162, 39, 0.4);
  border-radius: 22px;
  padding: 30px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 22px 48px rgba(59, 35, 20, 0.16);
}

.contact-panel h3,
.contact-panel h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 4px;
}

.contact-panel .panel-sub {
  font-size: 13.5px;
  color: rgba(28, 20, 11, 0.62);
  margin-bottom: 20px;
}

.contact-form .field {
  margin-bottom: 14px;
}

.contact-form label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(43, 35, 20, 0.6);
  margin-bottom: 6px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 18px;
  font-size: 15px;
  font-family: var(--serif);
  color: var(--brown);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(59, 35, 20, 0.18);
  border-radius: 14px;
  outline: none;
  transition: all 0.15s ease;
}

.contact-form textarea {
  min-height: 128px;
  resize: vertical;
  line-height: 1.6;
}

/* Unlock-code box on activate.html: monospace so characters are unmistakable. */
.contact-form #activateCode {
  min-height: 96px;
  font-family: ui-monospace, "Cascadia Mono", "Consolas", monospace;
  font-size: 13px;
  word-break: break-all;
}

.contact-form ::placeholder {
  color: rgba(59, 35, 20, 0.45);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.2);
}

.contact-form .btn-primary {
  width: 100%;
  margin-top: 6px;
  padding: 14px 30px;
  font-size: 15px;
  border-radius: 999px;
}

.contact-note {
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brown);
  min-height: 18px;
  text-align: center;
}

.contact-note.ok {
  color: #2f7d32;
}

/* Responsive: collapse to one column */
@media (max-width: 760px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .contact-aside h1,
  .contact-aside h2 {
    font-size: 27px;
  }
}


/* ============================================================
   OPERATOR CO — HOMEPAGE, APPS & TOOLS EXPANSION
   ============================================================ */

/* --- Hero Terminal Showcase --- */
.hero-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}
@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-split .hero-actions,
  .hero-split .hero-chips {
    justify-content: center;
  }
}

.hero-demo {
  background: rgba(20, 14, 9, 0.88);
  border: 1.5px solid rgba(212, 167, 44, 0.35);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13.5px;
  backdrop-filter: blur(12px);
}
.hero-demo-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(212, 167, 44, 0.18);
  color: rgba(247, 241, 230, 0.6);
  font-size: 12px;
}
.hero-demo-btns {
  display: flex;
  gap: 8px;
  letter-spacing: 2px;
}
.hero-demo-body {
  padding: 18px 20px;
  color: #f7f1e6;
  line-height: 1.65;
}
.hero-demo-prompt {
  color: var(--gold);
  font-weight: 700;
  margin-right: 8px;
}
.hero-demo-out {
  display: block;
  margin: 6px 0 14px;
  padding-left: 12px;
  border-left: 2px solid rgba(212, 167, 44, 0.3);
  color: rgba(247, 241, 230, 0.8);
}
.hero-demo .tk { color: #d4a72c; }
.hero-demo .tv { color: #8fd48f; }
.hero-demo .tc { color: rgba(247, 241, 230, 0.5); font-style: italic; }
.hero-demo-cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--gold);
  margin-left: 4px;
  animation: blink 1s infinite;
  vertical-align: middle;
}
@keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }

/* --- 3-Rule Grid --- */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 28px 0;
  text-align: left;
}
@media (max-width: 800px) {
  .rules-grid { grid-template-columns: 1fr; }
}
.rule-card {
  background: rgba(255, 255, 255, 0.52);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 18px;
  padding: 26px 24px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 25px rgba(59, 35, 20, 0.08);
  transition: all 0.18s ease;
}
.rule-card:hover {
  background: rgba(255, 255, 255, 0.75);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(59, 35, 20, 0.14);
}
.rule-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.rule-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--brown);
  margin: 0 0 10px;
}
.rule-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(43, 35, 20, 0.82);
  margin: 0;
}

/* --- Apps Grid & Product Showcase --- */
.app-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.68) 0%, rgba(255, 255, 255, 0.48) 100%);
  border: 1.5px solid rgba(201, 162, 39, 0.45);
  border-radius: 20px;
  padding: 30px;
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px rgba(59, 35, 20, 0.12);
  text-align: left;
  margin: 24px 0;
  transition: all 0.2s ease;
}
.app-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px rgba(59, 35, 20, 0.16);
}
.app-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(212, 167, 44, 0.15);
  border: 1px solid rgba(212, 167, 44, 0.4);
  color: var(--brown);
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
}
.app-card h3,
.app-card h2 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--brown);
  margin: 0 0 12px;
}
.app-card p {
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(43, 35, 20, 0.82);
  margin: 0 0 18px;
}
.app-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 18px;
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
}
@media (max-width: 600px) {
  .app-features { grid-template-columns: 1fr; }
}
.app-features li {
  font-size: 14px;
  color: rgba(43, 35, 20, 0.88);
  display: flex;
  align-items: center;
  gap: 8px;
}
.app-features li::before {
  content: "✓";
  color: var(--gold);
  font-weight: 700;
}

/* --- App Showcase Media (Showcase Graphic / UI Screenshot) --- */
.app-showcase-media {
  display: block;
  margin: 20px 0 24px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(59, 35, 20, 0.18);
  box-shadow: 0 10px 30px rgba(43, 26, 14, 0.1);
  background: #fbf7ee;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}

.app-showcase-media:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(43, 26, 14, 0.16);
  border-color: rgba(59, 35, 20, 0.35);
}

.app-showcase-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* --- News Teaser Card on Index --- */
.nt-card {
  display: grid;
  grid-template-columns: 1fr;
  background: rgba(255, 255, 255, 0.55);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  padding: 26px 28px;
  backdrop-filter: blur(10px);
  text-align: left;
  box-shadow: 0 12px 30px rgba(59, 35, 20, 0.08);
  margin: 24px 0;
}
.nt-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.nt-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--brown);
  margin: 0 0 16px;
  line-height: 1.25;
}
.nt-title a {
  color: inherit;
  text-decoration: none;
}
.nt-title a:hover {
  color: var(--gold);
}
.nt-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.nt-list li {
  padding: 8px 0;
  border-top: 1px solid rgba(59, 35, 20, 0.1);
}
.nt-list li a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  color: var(--brown);
  text-decoration: none;
  font-size: 14.5px;
}
.nt-list li a:hover {
  color: var(--gold);
}
.nt-list span {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 12px;
  color: rgba(43, 35, 20, 0.6);
  white-space: nowrap;
}
.nt-foot {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(59, 35, 20, 0.12);
  padding-top: 10px;
  font-size: 12.5px;
  color: rgba(43, 35, 20, 0.6);
  font-family: ui-monospace, SFMono-Regular, monospace;
}

/* --- Founder Story Banner --- */
.story-banner {
  display: block;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.5) 100%);
  border: 1.5px solid rgba(201, 162, 39, 0.5);
  border-radius: 20px;
  padding: 28px 32px;
  text-align: left;
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px rgba(59, 35, 20, 0.1);
  margin: 24px 0;
  transition: all 0.18s ease;
}
.story-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(59, 35, 20, 0.15);
  background: rgba(255, 255, 255, 0.8);
}
.story-banner h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--brown);
  margin: 4px 0 12px;
}
.story-banner ul {
  padding-left: 20px;
  margin: 0 0 14px;
  color: rgba(43, 35, 20, 0.82);
  font-size: 14.5px;
  line-height: 1.6;
}
.story-banner .cta-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
}

/* --- Newsletter Box --- */
.newsletter-box {
  background: rgba(255, 255, 255, 0.52);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  padding: 30px;
  text-align: center;
  backdrop-filter: blur(10px);
  max-width: 640px;
  margin: 28px auto;
  box-shadow: 0 12px 30px rgba(59, 35, 20, 0.08);
}
.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 240px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(59, 35, 20, 0.2);
  background: rgba(255, 255, 255, 0.85);
  font-family: var(--serif);
  font-size: 15px;
  color: var(--brown);
}
.newsletter-form .btn-primary {
  padding: 12px 28px;
  border-radius: 999px;
}

/* --- FAQ Accordion --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
  text-align: left;
}
.faq-item {
  background: rgba(255, 255, 255, 0.52);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 14px;
  padding: 16px 20px;
  backdrop-filter: blur(8px);
  transition: all 0.15s ease;
}
.faq-item:hover {
  background: rgba(255, 255, 255, 0.7);
}
.faq-q {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--brown);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-q .plus {
  font-size: 20px;
  color: var(--gold);
  transition: transform 0.2s ease;
}
.faq-item.open .faq-q .plus {
  transform: rotate(45deg);
}
.faq-a {
  display: none;
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(43, 35, 20, 0.84);
  border-top: 1px solid rgba(59, 35, 20, 0.1);
  padding-top: 10px;
}
.faq-item.open .faq-a {
  display: block;
}

/* --- Tools Grid & Cards --- */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin: 28px 0;
  text-align: left;
}
.tool-card {
  background: rgba(255, 255, 255, 0.55);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  padding: 26px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 25px rgba(59, 35, 20, 0.08);
  display: flex;
  flex-direction: column;
  transition: all 0.18s ease;
  text-decoration: none;
  color: inherit;
}
.tool-card:hover {
  background: rgba(255, 255, 255, 0.75);
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(59, 35, 20, 0.14);
}
.tool-badge {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: rgba(212, 167, 44, 0.18);
  color: var(--brown);
  border: 1px solid rgba(212, 167, 44, 0.35);
  margin-bottom: 12px;
}
.tool-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--brown);
  margin: 0 0 10px;
}
.tool-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(43, 35, 20, 0.8);
  margin: 0 0 18px;
  flex: 1;
}
.tool-card .tool-cta {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gold);
}

/* --- GPU Calculator Styles --- */
.calc-wrap {
  display: grid;
  grid-template-columns: minmax(350px, 390px) 1fr;
  gap: 28px;
  margin: 28px 0;
  text-align: left;
}
@media (max-width: 900px) {
  .calc-wrap { grid-template-columns: 1fr; }
}
.calc-panel {
  background: rgba(255, 255, 255, 0.55);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  padding: 24px;
  backdrop-filter: blur(10px);
}
.calc-panel h4,
.calc-panel h2 {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}
.calc-row {
  margin-bottom: 14px;
}
.calc-row label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(43, 35, 20, 0.7);
  margin-bottom: 6px;
}
.calc-row select,
.calc-row input[type="number"],
.calc-row input[type="range"] {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(59, 35, 20, 0.2);
  background: rgba(255, 255, 255, 0.85);
  font-family: ui-monospace, monospace;
  font-size: 14px;
  color: var(--brown);
}
.gpu-quick-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  margin-bottom: 4px;
}
.gpu-pill {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(59, 35, 20, 0.2);
  border-radius: 9999px;
  padding: 4px 10px;
  font-family: ui-monospace, monospace;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--brown);
  cursor: pointer;
  transition: all 0.15s ease;
}
.gpu-pill:hover {
  background: rgba(212, 167, 44, 0.2);
  border-color: var(--gold);
}
.gpu-pill.active {
  background: var(--gold);
  color: #2b1a0e;
  border-color: #8e6c10;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(212, 167, 44, 0.35);
}
.calc-verdict {
  background: rgba(255, 255, 255, 0.65);
  border: 1.5px solid rgba(212, 167, 44, 0.4);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
}
.calc-verdict.fits { border-color: #2f7d32; }
.calc-verdict.spills { border-color: #c62828; }
.calc-verdict-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}
.calc-verdict.fits .calc-verdict-title { color: #2f7d32; }
.calc-verdict.spills .calc-verdict-title { color: #c62828; }
.calc-verdict-sub {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(43, 35, 20, 0.82);
}
.calc-bar {
  height: 24px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.1);
  display: flex;
  overflow: hidden;
  margin: 14px 0 8px;
  border: 1px solid rgba(59, 35, 20, 0.15);
}
.calc-bar span { height: 100%; display: block; }
.calc-bar .w { background: var(--gold); }
.calc-bar .k { background: #4a7bb0; }
.calc-bar .o { background: #888888; }
.calc-legend {
  display: flex;
  gap: 16px;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  color: rgba(43, 35, 20, 0.7);
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.calc-legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-right: 4px;
}
.calc-table {
  width: 100%;
  border-collapse: collapse;
  font-family: ui-monospace, monospace;
  font-size: 13px;
}
.calc-table th {
  text-align: left;
  padding: 8px 10px;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(43, 35, 20, 0.65);
  border-bottom: 1.5px solid rgba(59, 35, 20, 0.15);
}
.calc-table td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(59, 35, 20, 0.08);
}
.calc-table td.num { text-align: right; }
.calc-table tr.current { background: rgba(212, 167, 44, 0.15); font-weight: 700; }

/* --- Legal / Policy Sections --- */
.legal-nav-chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 20px 0 32px;
}
.legal-nav-chips a {
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(212, 167, 44, 0.35);
  color: var(--brown);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 14.5px;
  font-weight: 600;
  transition: all 0.15s ease;
}
.legal-nav-chips a:hover {
  background: var(--gold);
  color: #2b1a0e;
  border-color: var(--gold);
}
.legal-section {
  background: rgba(255, 255, 255, 0.52);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  padding: 30px;
  margin-bottom: 24px;
  text-align: left;
  backdrop-filter: blur(10px);
}
.legal-section h2 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--brown);
  margin: 0 0 14px;
  border-bottom: 1.5px solid rgba(212, 167, 44, 0.35);
  padding-bottom: 10px;
}
.legal-section p,
.legal-section li {
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(43, 35, 20, 0.85);
}
.legal-section ul {
  padding-left: 24px;
  margin: 12px 0;
}
.legal-section li {
  margin-bottom: 8px;
}

/* ==========================================================================
   EDITORIAL WIREFRAME HOMEPAGE LAYOUT (Matches User Wireframe Spec)
   Strictly preserves brand background, colors, typography, and buttons
   ========================================================================== */

/* Outer Canvas wrapper */
.wf-canvas-wrapper {
  max-width: 1200px;
  margin: 20px auto 40px;
  padding: 0 20px;
}

/* Frosted glass container using the brand palette */
.wf-page {
  background: rgba(250, 246, 238, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  border-radius: 24px;
  padding: 36px 44px 50px;
  box-shadow: 0 16px 40px rgba(59, 35, 20, 0.12);
}

.wf-page > .hero {
  padding: 10px 0 0;
  max-width: 100%;
}

/* Header inside the wireframe canvas */
.wf-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1.5px solid rgba(59, 35, 20, 0.18);
  margin-bottom: 40px;
  gap: 20px;
}

.wf-header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.wf-brand .wf-logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.wf-logo-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--brown);
  line-height: 1.1;
}

.wf-logo-title span {
  color: var(--gold);
}

.wf-logo-sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 3px;
}

.wf-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.wf-nav-item {
  color: var(--brown);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(59, 35, 20, 0.2);
  transition: all 0.15s ease;
  display: inline-block;
}

.wf-nav-item:hover {
  background: var(--brown);
  color: #f7f1e6;
  border-color: var(--brown);
}

.wf-nav-item.active {
  background: var(--brown) !important;
  color: #f7f1e6 !important;
  border-color: var(--brown) !important;
  box-shadow: 0 2px 8px rgba(43, 26, 14, 0.2);
}

/* Inside the wireframe canvas, eliminate nested frosted card duplicates */
.wf-page .page-hero {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
  max-width: 100%;
  padding: 10px 0 0;
  margin: 0;
}

.wf-page .hero {
  padding: 0;
  max-width: 100%;
  display: block;
}

/* Login page 2-column side-by-side layout: hero text left, login card right */
.wf-page .hero.hero-login,
.wf-page .hero:has(.login-card) {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  padding: 10px 0 0;
  max-width: 100%;
}

.hero-login .hero-text,
.hero:has(.login-card) .hero-text {
  flex: 1 1 560px;
  max-width: 620px;
  min-height: 560px;
}

.hero-login .login-card,
.hero:has(.login-card) .login-card {
  width: 390px;
  max-width: 100%;
  min-height: 560px;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .wf-page .hero.hero-login,
  .wf-page .hero:has(.login-card) {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }
  .hero-login .hero-text,
  .hero:has(.login-card) .hero-text {
    max-width: 100%;
    min-height: auto;
  }
  .hero-login .hero-slides-track {
    height: auto;
    min-height: 520px;
  }
  .hero-login .login-card,
  .hero:has(.login-card) .login-card {
    width: 100%;
    min-height: auto;
  }
}


/* HERO SECTION: 2-Column Split Grid */
.wf-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 55px;
}

.wf-hero-eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.wf-hero-title {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.12;
  color: var(--brown);
  margin-bottom: 14px;
}

.wf-hero-subtitle {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: rgba(59, 35, 20, 0.85);
  margin-bottom: 18px;
  line-height: 1.35;
}

.wf-hero-desc {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 28px;
  max-width: 540px;
}

.wf-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Video Player Showcase Frame */
.wf-video-frame {
  background: rgba(43, 26, 14, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 2px solid rgba(201, 162, 39, 0.45);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(43, 26, 14, 0.28);
}

.wf-video-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wf-video-player {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000000;
}

/* Centered Interactive Play Overlay Badge */
.wf-video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.28);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 5;
}

.wf-video-play-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(43, 26, 14, 0.9);
  border: 2.5px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.wf-video-play-circle svg {
  margin-left: 4px;
}

.wf-video-play-overlay:hover .wf-video-play-circle {
  transform: scale(1.1);
  background: var(--gold);
  color: #2b1a0e;
  box-shadow: 0 12px 35px rgba(201, 162, 39, 0.5);
}

.wf-video-screen.is-playing .wf-video-play-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.wf-video-bar-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(25, 14, 7, 0.95);
  border-top: 1.5px solid rgba(201, 162, 39, 0.25);
  gap: 12px;
}

.wf-video-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  background: var(--gold);
  color: #2b1a0e;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  white-space: nowrap;
}

.wf-video-title {
  font-family: var(--serif);
  font-size: 13.5px;
  font-weight: 600;
  color: #f7f1e6;
  text-align: right;
}

/* 3-COLUMN FEATURE GRID */
.wf-triad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding-top: 40px;
  border-top: 1.5px solid rgba(59, 35, 20, 0.15);
  margin-bottom: 55px;
}

.wf-triad-col {
  display: flex;
  flex-direction: column;
}

.wf-triad-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--brown);
  margin-bottom: 14px;
}

.wf-accent-title {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.wf-triad-box {
  background: rgba(255, 255, 255, 0.55);
  border: 1.5px solid rgba(201, 162, 39, 0.35);
  border-radius: 12px;
  height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  padding: 14px;
  position: relative;
  transition: all 0.2s ease;
}

.wf-triad-box:hover {
  background: rgba(255, 255, 255, 0.75);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.wf-box-tag {
  position: absolute;
  top: 10px;
  left: 12px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gold);
  text-transform: uppercase;
}

.wf-box-icon-graphic {
  margin: 10px 0 6px;
  color: var(--brown);
}

.wf-box-metric {
  font-size: 13px;
  font-weight: 700;
  color: var(--brown);
  letter-spacing: 0.3px;
}

.wf-triad-desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(43, 35, 20, 0.85);
}

/* COMPANY ADVANTAGES SECTION */
.wf-advantages {
  padding-top: 36px;
  border-top: 1.5px solid rgba(59, 35, 20, 0.15);
}

.wf-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.wf-section-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--brown);
}

.wf-head-squares {
  display: flex;
  gap: 8px;
}

.wf-head-squares span {
  width: 14px;
  height: 14px;
  background: var(--gold);
  border-radius: 3px;
}

.wf-adv-body {
  display: grid;
  grid-template-columns: 2fr 1.05fr;
  gap: 32px;
}

.wf-adv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 20px;
}

.wf-adv-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.wf-adv-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.65);
  border: 1.5px solid rgba(59, 35, 20, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brown);
}

.wf-adv-content h4 {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--brown);
  margin-bottom: 4px;
}

.wf-adv-content p {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(43, 35, 20, 0.8);
}

.wf-adv-accent-box {
  background: linear-gradient(180deg, #4a2e1a 0%, #35200f 100%);
  border: 1.5px solid #2b1a0e;
  border-radius: 16px;
  padding: 28px 24px;
  color: #f7f1e6;
  box-shadow: 0 12px 30px rgba(43, 26, 14, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.wf-accent-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.wf-badge-block {
  display: inline-block;
  background: #2b1a0e;
  color: var(--gold);
  border: 1px solid rgba(201, 162, 39, 0.4);
  padding: 6px 14px;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 6px;
}

.wf-accent-p {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(247, 241, 230, 0.88);
  margin-bottom: 20px;
}

.wf-accent-stats {
  display: flex;
  gap: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.wf-stat strong {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--serif);
}

.wf-stat span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(247, 241, 230, 0.75);
}

/* ==========================================================================
   HOMEPAGE LOWER SECTIONS: "OUR CASES" + "SEND MAIL" (Main Canvas Theme)
   ========================================================================== */

/* OUR CASES */
.wf-cases {
  text-align: center;
  margin-top: 60px;
  margin-bottom: 50px;
}

.wf-cases-title {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--brown);
  margin-bottom: 28px;
}

.wf-carousel-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 22px;
}

.wf-arrow-btn {
  background: rgba(255, 255, 255, 0.85);
  border: 2px solid var(--gold);
  color: var(--brown);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(43, 26, 14, 0.08);
}

.wf-arrow-btn:hover {
  background: var(--gold);
  color: #2b1a0e;
  transform: scale(1.05);
}

.wf-cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  width: 100%;
}

.wf-case-card {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(201, 162, 39, 0.35);
  border-radius: 14px;
  padding: 22px 18px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 14px rgba(43, 26, 14, 0.05);
  transition: all 0.2s ease;
}

.wf-case-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 22px rgba(43, 26, 14, 0.1);
}

.wf-case-card.active {
  background: rgba(255, 255, 255, 0.96);
  border: 2px solid var(--gold);
  box-shadow: 0 10px 28px rgba(201, 162, 39, 0.25);
}

.wf-case-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #8e6c10;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.wf-case-card h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--brown);
  margin-bottom: 8px;
}

.wf-case-card p {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(43, 26, 14, 0.78);
  margin-bottom: 16px;
}

.wf-case-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(43, 26, 14, 0.1);
}

.wf-case-price {
  font-size: 12.5px;
  font-weight: 700;
  color: #8e6c10;
}

.wf-case-link {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brown);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.wf-case-link:hover {
  color: #8e6c10;
  text-decoration: underline;
}

.wf-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.wf-carousel-dots span {
  width: 8px;
  height: 8px;
  background: rgba(43, 26, 14, 0.22);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wf-carousel-dots span.active {
  background: var(--gold);
  width: 22px;
  border-radius: 4px;
}

/* SEND MAIL FORM */
.wf-contact-section {
  max-width: 580px;
  margin: 50px auto 20px;
  text-align: center;
}

.wf-contact-title {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--brown);
  margin-bottom: 8px;
}

.wf-contact-sub {
  font-size: 14.5px;
  color: rgba(43, 26, 14, 0.76);
  margin-bottom: 24px;
  line-height: 1.5;
}

.wf-contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wf-contact-form input,
.wf-contact-form textarea {
  width: 100%;
  padding: 13px 18px;
  border-radius: 10px;
  border: 1.5px solid rgba(201, 162, 39, 0.38);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-size: 14.5px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wf-contact-form input:focus,
.wf-contact-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.25);
}

.wf-btn-submit {
  background:
    linear-gradient(180deg, #442a17 0%, #2e1a0e 48%, #1a0e06 100%) padding-box,
    linear-gradient(180deg, #ffe28a 0%, #d4a72c 42%, #855c0e 100%) border-box;
  border: 1.5px solid transparent;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 15px;
  border-radius: 9999px;
  padding: 14px;
  cursor: pointer;
  box-shadow:
    0 5px 14px rgba(35, 20, 10, 0.32),
    0 1px 3px rgba(35, 20, 10, 0.2),
    inset 0 1px 1px rgba(255, 235, 175, 0.42),
    inset 0 -1px 2px rgba(0, 0, 0, 0.45);
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 4px;
}

.wf-btn-submit:hover {
  filter: brightness(1.12);
  transform: translateY(-2px);
  box-shadow:
    0 8px 22px rgba(212, 167, 44, 0.35),
    0 3px 8px rgba(35, 20, 10, 0.25),
    inset 0 1px 1.5px rgba(255, 245, 205, 0.65),
    inset 0 -1px 2px rgba(0, 0, 0, 0.45);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .wf-hero {
    grid-template-columns: 1fr;
  }
  .wf-adv-body {
    grid-template-columns: 1fr;
  }
  .wf-cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .wf-page {
    padding: 24px 20px;
  }
  .wf-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
  }
  .wf-triad {
    grid-template-columns: 1fr;
  }
  .wf-adv-grid {
    grid-template-columns: 1fr;
  }
  .wf-cases-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Newsletter signup (Klaviyo) — homepage
   ========================================================================== */
.wf-newsletter-section {
  max-width: 580px;
  margin: 50px auto 20px;
  text-align: center;
}

.wf-newsletter-title {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--brown);
  margin-bottom: 8px;
}

.wf-newsletter-sub {
  color: rgba(43, 35, 20, 0.78);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 22px;
}

.wf-newsletter-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}

.wf-newsletter-form input[type="email"] {
  flex: 1 1 260px;
  min-width: 0;
  padding: 12px 16px;
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(59, 35, 20, 0.28);
  border-radius: 10px;
}

.wf-newsletter-form input[type="email"]::placeholder {
  color: rgba(43, 35, 20, 0.45);
}

.wf-newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.22);
}

.wf-newsletter-note {
  min-height: 20px;
  margin-top: 12px;
  font-size: 14px;
  color: rgba(43, 35, 20, 0.82);
}

@media (max-width: 520px) {
  .wf-newsletter-form {
    flex-direction: column;
  }
  .wf-newsletter-form input[type="email"] {
    flex: 1 1 auto;
    width: 100%;
  }
}

/* ==========================================================================
   NEWS & INTELLIGENCE DISPATCHES PAGE (LUXURY EDITORIAL)
   ========================================================================== */
.news-main-title {
  font-family: var(--font-display);
  font-size: 46px;
  line-height: 1.15;
  margin: 14px 0 16px;
  letter-spacing: -0.03em;
}

.news-main-title .thin {
  font-weight: 200;
  color: var(--brown);
  display: block;
}

.news-main-title .bold {
  font-weight: 800;
  color: var(--brown);
  background: linear-gradient(135deg, #2b1a0e 0%, #8e6c10 55%, #c9a227 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Category Filter Bar */
.news-filter-wrapper {
  display: flex;
  justify-content: center;
  margin: 28px 0 38px;
}

.news-filter-bar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.55);
  border: 1.5px solid rgba(201, 162, 39, 0.3);
  border-radius: 9999px;
  padding: 6px 8px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 20px rgba(43, 26, 14, 0.05);
}

.news-filter-btn {
  border: none;
  background: transparent;
  padding: 8px 18px;
  border-radius: 9999px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brown);
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-filter-btn:hover {
  background: rgba(201, 162, 39, 0.15);
  color: #8e6c10;
}

.news-filter-btn.active {
  background: linear-gradient(135deg, #d4a72c 0%, #8e6c10 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(201, 162, 39, 0.4);
}

.news-count-badge {
  padding: 6px 14px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: #8e6c10;
  letter-spacing: 0.5px;
}

/* Lead Featured Dispatch Card */
.news-lead-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88) 0%, rgba(247, 241, 230, 0.72) 100%);
  border: 1.5px solid rgba(201, 162, 39, 0.45);
  border-radius: 24px;
  padding: 38px 42px;
  margin-bottom: 42px;
  box-shadow: 0 20px 50px rgba(43, 26, 14, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 36px;
  align-items: center;
  text-align: left;
  position: relative;
  overflow: hidden;
}

@media (max-width: 860px) {
  .news-lead-card {
    grid-template-columns: 1fr;
    padding: 26px;
  }
}

.news-lead-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #8e6c10, #d4a72c, #f3d887, #8e6c10);
}

.news-lead-tag-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.news-lead-star-badge {
  background: linear-gradient(135deg, #d4a72c, #8e6c10);
  color: #fff;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(201, 162, 39, 0.35);
}

.news-lead-cat-pill {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid rgba(201, 162, 39, 0.3);
  color: #8e6c10;
}

.news-lead-date {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(43, 26, 14, 0.55);
}

.news-lead-title {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.25;
  margin-bottom: 14px;
}

.news-lead-title a {
  color: var(--brown);
  text-decoration: none;
  transition: color 0.15s ease;
}

.news-lead-title a:hover {
  color: #8e6c10;
}

.news-lead-title .thin {
  font-weight: 300;
}

.news-lead-title .bold {
  font-weight: 800;
}

.news-lead-text {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: rgba(35, 22, 13, 0.88);
  margin-bottom: 18px;
}

.news-spec-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.news-spec-chips .chip {
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid rgba(201, 162, 39, 0.28);
  border-radius: 9999px;
  padding: 4px 12px;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  color: #7a5806;
}

.news-lead-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.news-lead-asset-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1.5px solid rgba(201, 162, 39, 0.35);
  border-radius: 20px;
  padding: 24px 16px;
  box-shadow: 0 10px 25px rgba(43, 26, 14, 0.06);
  text-align: center;
}

.news-lead-asset-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(201, 162, 39, 0.25));
}

.news-lead-asset-card span {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--brown);
  margin-top: 10px;
  text-transform: uppercase;
}

/* Editorial Dispatches Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-bottom: 46px;
  text-align: left;
}

@media (max-width: 860px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

.news-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.75) 0%, rgba(248, 242, 232, 0.6) 100%);
  border: 1.5px solid rgba(201, 162, 39, 0.28);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(43, 26, 14, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.news-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92) 0%, rgba(250, 245, 236, 0.8) 100%);
  box-shadow: 0 16px 36px rgba(43, 26, 14, 0.1), 0 0 22px rgba(201, 162, 39, 0.18);
}

.news-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.news-pill-tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid rgba(201, 162, 39, 0.3);
  color: #8e6c10;
}

.news-pill-tag.tag-a11y {
  background: rgba(0, 90, 156, 0.1);
  border-color: rgba(0, 90, 156, 0.28);
  color: #005a9c;
}

.news-pill-tag.tag-tools {
  background: rgba(47, 125, 50, 0.1);
  border-color: rgba(47, 125, 50, 0.28);
  color: #2e7d32;
}

.news-pill-tag.tag-enterprise {
  background: rgba(16, 163, 127, 0.1);
  border-color: rgba(16, 163, 127, 0.28);
  color: #0d7a5f;
}

.news-pill-date {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(43, 26, 14, 0.55);
}

.news-card-asset-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid rgba(201, 162, 39, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px;
  box-shadow: 0 4px 12px rgba(43, 26, 14, 0.05);
  flex-shrink: 0;
}

.news-card-asset-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.news-card-title {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.35;
  margin-bottom: 12px;
}

.news-card-title a {
  color: var(--brown);
  text-decoration: none;
  transition: color 0.15s ease;
}

.news-card-title a:hover {
  color: #8e6c10;
}

.news-card-title .thin {
  font-weight: 300;
}

.news-card-title .bold {
  font-weight: 700;
}

.news-card-body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.65;
  color: rgba(35, 22, 13, 0.85);
  margin-bottom: 20px;
  flex-grow: 1;
}

.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(201, 162, 39, 0.15);
}

.news-source-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--brown);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.news-source-link:hover {
  color: var(--gold);
  transform: translateX(2px);
}

.news-read-pill {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(43, 26, 14, 0.6);
  background: rgba(201, 162, 39, 0.08);
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: 9999px;
  padding: 3px 10px;
}



/* ===== 2026-10-13: product page, FAQ (<details>), roadmap, comparison table ===== */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 28px 0 8px; text-align: center; }
.stat-row .stat { background: rgba(255,255,255,0.55); border: 1.5px solid rgba(201,162,39,0.35); border-radius: 16px; padding: 18px 12px; }
.stat-row .stat strong { display: block; font-family: var(--serif); font-size: 32px; color: var(--brown); line-height: 1.1; }
.stat-row .stat span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.4; color: rgba(43,35,20,0.78); }
@media (max-width: 800px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
.note-small { font-size: 13.5px; line-height: 1.6; color: rgba(43,35,20,0.76); max-width: 760px; margin: 10px auto; }
.shot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin: 24px 0; text-align: left; }
@media (max-width: 800px) { .shot-grid { grid-template-columns: 1fr; } }
.shot-grid figure { margin: 0; background: rgba(255,255,255,0.52); border: 1.5px solid rgba(255,255,255,0.55); border-radius: 16px; overflow: hidden; box-shadow: 0 10px 25px rgba(59,35,20,0.08); }
.shot-grid img { display: block; width: 100%; height: auto; }
.shot-grid figcaption { padding: 14px 18px 18px; font-size: 14px; line-height: 1.55; color: rgba(43,35,20,0.84); }
.shot-grid figcaption strong { display: block; font-family: var(--serif); font-size: 17px; color: var(--brown); margin-bottom: 4px; }
.link-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 18px 0; }
.plain-list { text-align: left; max-width: 860px; margin: 18px auto; padding-left: 22px; font-size: 15px; line-height: 1.7; color: rgba(43,35,20,0.88); }
.plain-list li { margin-bottom: 10px; }
.compare-wrap { overflow-x: auto; margin: 18px auto; max-width: 820px; }
.compare-table { width: 100%; border-collapse: collapse; background: rgba(255,255,255,0.55); border-radius: 14px; overflow: hidden; font-size: 15px; text-align: left; }
.compare-table th, .compare-table td { padding: 12px 16px; border-bottom: 1px solid rgba(59,35,20,0.12); }
.compare-table th { font-family: var(--serif); color: var(--brown); background: rgba(201,162,39,0.18); }
.compare-table tr.us td { font-weight: 700; color: var(--brown); background: rgba(201,162,39,0.12); }
details.faq-item > summary { list-style: none; }
details.faq-item > summary::-webkit-details-marker { display: none; }
details.faq-item[open] .faq-a { display: block; }
details.faq-item[open] .faq-q .plus { transform: rotate(45deg); }
.roadmap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin: 24px 0; text-align: left; }
.status-pill { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--brown); background: rgba(201,162,39,0.22); border: 1px solid rgba(201,162,39,0.5); border-radius: 9999px; padding: 3px 12px; margin-bottom: 10px; }
.timeline { text-align: left; max-width: 860px; margin: 20px auto; }
.timeline h3, .timeline h2 { font-family: var(--serif); color: var(--brown); font-size: 22px; margin: 26px 0 6px; }
.timeline .when { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }

/* ===== 2026-10-13: mobile overflow fixes (hero grid held open by nowrap children) ===== */
@media (max-width: 992px) {
  .wf-hero { grid-template-columns: minmax(0, 1fr); }
  .wf-hero > * { min-width: 0; }
  .wf-hero-eyebrow { white-space: normal; display: inline-block; max-width: 100%; }
  .wf-hero-actions { flex-wrap: wrap; }
  .wf-hero-title { font-size: clamp(30px, 8.5vw, 48px); overflow-wrap: anywhere; }
}
@media (max-width: 600px) { .wf-video-bar-info { flex-wrap: wrap; row-gap: 6px; } .wf-video-title { white-space: normal; } }

/* ===== 2026-10-13: news categories for the document-compliance direction ===== */
.news-pill-tag.tag-einvoicing { background: rgba(142, 68, 173, 0.1); border-color: rgba(142, 68, 173, 0.28); color: #6c3483; }
.news-pill-tag.tag-privacy { background: rgba(183, 28, 28, 0.08); border-color: rgba(183, 28, 28, 0.25); color: #9b1c1c; }
.news-pill-tag.tag-localai { background: rgba(47, 125, 50, 0.1); border-color: rgba(47, 125, 50, 0.28); color: #2e7d32; }
.news-why { font-size: 13.5px; line-height: 1.55; margin: 10px 0 0; color: rgba(43,35,20,0.86); }
.news-why strong { color: var(--brown); }
.news-method { max-width: 760px; margin: 28px auto 8px; }

/* ===== 2026-10-13: mobile nav fix. The later `.wf-nav { display:flex }` rule overrode the
   earlier max-width:900px `display:none`, so the full menu always showed on phones. ===== */
@media (max-width: 900px) {
  .wf-header { position: relative; }
  .wf-nav:not(.open) { display: none; }
}
.timeline h2 { font-weight: 700; }

/* 2026-10-13: breathing room between hero copy and its buttons (product page had 0px gap) */
.page-hero p + p { margin-top: 14px; }
.page-hero > .hero-actions { margin-top: 28px; }

/* 2026-10-13: product hero, two columns on desktop (copy left, real app screenshot right),
   layout idea from a Stitch screen; stays one centred column below 1000px. */
.hero-split { display: block; }
.hero-shot { margin: 28px 0 0; }
.hero-shot img { width: 100%; height: auto; display: block; }
@media (min-width: 1000px) {
  .page-hero:has(> .hero-split) { max-width: 1120px; text-align: left; }
  .hero-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; }
  .hero-split .hero-copy p { max-width: none; margin-left: 0; margin-right: 0; }
  .hero-split .hero-copy h1 { margin-left: 0; margin-right: 0; font-size: clamp(34px, 3.3vw, 46px); }
  .hero-split .hero-actions, .hero-split .hero-chips { justify-content: flex-start; }
  .hero-shot { margin: 0; }
}
.hero-copy .hero-actions { margin-top: 26px; flex-wrap: wrap; gap: 12px; }
.hero-intro { max-width: 760px; margin: 34px auto 0; }
@media (min-width: 1000px) {
  .hero-split { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 36px; }
  .hero-split .hero-copy { padding-right: 6px; }
}
@media (min-width: 1000px) {
  .page-hero:has(> .hero-split) .hero-intro { max-width: 860px; margin: 36px 0 0; text-align: left; }
  .page-hero:has(> .hero-split) .stat-row { margin-top: 30px; }
}

/* 2026-10-13: Operator Co mark beside the wordmark (header) and in the footer */
.wf-brand .wf-logo { flex-direction: row; align-items: center; gap: 12px; }
.wf-logo-text { display: flex; flex-direction: column; min-width: 0; }
.wf-logo-mark { width: 44px; height: 44px; flex: none; display: block; }
@media (max-width: 600px) {
  .wf-brand .wf-logo { gap: 9px; }
  .wf-logo-mark { width: 36px; height: 36px; }
  .wf-logo-title { font-size: 22px; }
  .wf-logo-sub { font-size: 8.5px; letter-spacing: 1.6px; }
}

/* 2026-10-14: "Our cases" carousel. The track div used to be unclosed in index.html, so the right arrow
   became a fifth grid cell and the dots landed inside the flex row. Now: 4 columns on desktop, 2 on tablets,
   a swipeable one-card-at-a-time row on phones (arrows hidden there, dots follow the swipe). */
.wf-cases-grid { position: relative; min-width: 0; flex: 1 1 auto; }
.wf-case-card { min-width: 0; }
@media (max-width: 768px) {
  .wf-carousel-wrapper { gap: 0; }
  .wf-arrow-btn { display: none; }
  .wf-cases-grid {
    display: flex; gap: 14px; overflow-x: auto; padding: 6px 2px 14px;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .wf-cases-grid::-webkit-scrollbar { display: none; }
  .wf-case-card { flex: 0 0 86%; scroll-snap-align: center; padding: 24px 22px; }
  .wf-case-tag { font-size: 12px; }
  .wf-case-card h3 { font-size: 22px; }
  .wf-case-card p { font-size: 15.5px; line-height: 1.6; }
  .wf-case-price { font-size: 14px; }
  .wf-case-link { font-size: 15px; }
  .wf-carousel-dots span { width: 11px; height: 11px; }
}

/* 2026-10-14: case cards - keep price and link readable when a card is narrow; phones get a wider content column */
.wf-case-actions { flex-wrap: wrap; gap: 4px 12px; }
.wf-case-link { white-space: nowrap; }
@media (max-width: 600px) {
  .wf-canvas-wrapper { padding-left: 8px; padding-right: 8px; }
  .wf-page { padding-left: 14px; padding-right: 14px; }
}
.wf-case-card { justify-content: flex-start; }
.wf-case-actions { margin-top: auto; }

/* 2026-10-14: product page community (reviews + questions) */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.community { text-align: left; }
.community .sub { max-width: 760px; }
.community-account { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 16px 18px; margin: 18px 0; background: rgba(255,255,255,0.55); border: 1.5px solid rgba(201,162,39,0.35); border-radius: 14px; }
.community-account p { margin: 0; }
.community-block { margin-top: 30px; }
.community-block h3 { font-family: var(--serif); font-size: 22px; color: var(--brown); margin: 0 0 10px; }
.community-summary { font-size: 17px; margin: 0 0 14px; }
.community-empty, .community-note, .community-hint { font-size: 14.5px; color: rgba(43,35,20,0.8); }
.community-form { display: grid; gap: 8px; max-width: 640px; margin: 14px 0 18px; padding: 16px 18px; background: rgba(255,255,255,0.5); border: 1.5px solid rgba(255,255,255,0.65); border-radius: 14px; }
.community-form label, .community-label { font-weight: 700; font-size: 14.5px; margin: 0; }
.community-form input[type="text"], .community-form textarea { width: 100%; box-sizing: border-box; padding: 11px 13px; font: inherit; font-size: 15px; color: var(--text); background: #fffdf8; border: 1.5px solid rgba(43,26,14,0.28); border-radius: 10px; }
.community-form textarea { resize: vertical; min-height: 90px; }
.community-form input:focus-visible, .community-form textarea:focus-visible, .star-radio:focus-visible + .star-label { outline: 3px solid var(--gold); outline-offset: 2px; }
.community-btn { justify-self: start; cursor: pointer; font: inherit; font-weight: 700; padding: 11px 20px; }
.community-btn[disabled] { opacity: .55; cursor: wait; }
.community-link { background: none; border: 0; padding: 4px 2px; font: inherit; font-size: 14px; color: #6a4d0c; text-decoration: underline; cursor: pointer; }
.community-status { min-height: 22px; margin: 8px 0 0; font-weight: 700; }
.community-status.is-ok { color: #2e6b32; }
.community-status.is-error { color: #8a1f1f; }
.community-post { padding: 16px 0; border-top: 1px solid rgba(43,26,14,0.14); }
.community-meta { margin: 0 0 6px; font-size: 14px; color: rgba(43,35,20,0.82); }
.community-meta .community-actions { margin-left: 8px; }
.community-body { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; }
.community-stars { margin: 0 0 4px; }
.stars { color: #b78d1c; letter-spacing: 2px; font-size: 18px; }
.badge { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; vertical-align: 1px; }
.badge-owner { background: #2b1a0e; color: #f4ede1; }
.badge-verified { background: rgba(46,107,50,0.14); color: #2e6b32; border: 1px solid rgba(46,107,50,0.35); }
.community-replies { margin: 10px 0 6px 18px; padding-left: 16px; border-left: 3px solid rgba(201,162,39,0.5); }
.community-reply { padding: 8px 0; }
.community-reply-form { margin: 8px 0; padding: 12px; }
.star-pick { display: flex; flex-direction: row; gap: 2px; }
.star-radio { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-label { font-size: 32px; line-height: 1; cursor: pointer; color: rgba(43,26,14,0.28); padding: 2px 3px; }
.star-label.is-on { color: #b78d1c; }
@media (max-width: 600px) { .community-form { padding: 14px; } .community-btn { justify-self: stretch; } .star-label { font-size: 38px; } }

/* 2026-10-14: header account link. Desktop: a small pill beside "GET TagSmith". Phones: inside the opened menu. */
.nav-signin { display: inline-flex; align-items: center; font-weight: 700; font-size: 14px; color: var(--brown); text-decoration: none; padding: 9px 16px; border-radius: 9999px; border: 1.5px solid rgba(43,26,14,0.28); background: rgba(255,255,255,0.65); white-space: nowrap; margin-right: 10px; }
.nav-signin:hover { border-color: var(--gold); background: #fff; }
.nav-account-menu { display: none; }
@media (max-width: 900px) {
  .nav-signin { display: none; }
  .nav-account-menu { display: block; }
}

/* 2026-10-14: header fit. With the logo tile and the account link the full nav needs ~1130px, so it is
   tightened above 1200px and replaced by the hamburger menu between 901px and 1200px (same menu as phones). */
.wf-logo-title { white-space: nowrap; }
@media (min-width: 1201px) {
  .wf-nav { gap: 6px; }
  .wf-nav-item { padding: 8px 12px; }
  .wf-logo-title { font-size: 23px; }
  .nav-signin { padding: 9px 13px; margin-right: 4px; }
}
@media (min-width: 901px) and (max-width: 1200px) {
  .wf-header { position: relative; }
  .wf-nav:not(.open) { display: none; }
  .wf-nav.open {
    display: flex !important; position: absolute; top: calc(100% + 10px); right: 0; left: 0;
    flex-direction: column; gap: 4px; padding: 16px 20px;
    border: 1.5px solid rgba(255, 255, 255, 0.5); border-radius: 22px;
    background: rgba(250, 246, 238, 0.98); box-shadow: 0 18px 40px rgba(59, 35, 20, 0.22);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); z-index: 100;
  }
  .wf-nav.open .wf-nav-item { display: block; padding: 12px 14px; border-bottom: 1px solid rgba(59, 35, 20, 0.1); font-size: 15px; border-radius: 8px; text-align: left; }
  .wf-nav.open .wf-nav-item:last-child { border-bottom: none; }
  .hamburger { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; border: none; background: transparent; cursor: pointer; }
  .nav-signin { display: none; }
  .nav-account-menu { display: block; }
}
@media (min-width: 1201px) {
  .wf-page { padding-left: 32px; padding-right: 32px; }
  .wf-header { gap: 14px; }
  .wf-logo-sub { letter-spacing: 1.6px; white-space: nowrap; }
  .wf-header-cta { gap: 10px; }
}
/* the generic ".page-hero p" rule centres paragraphs at 640px; the community block reads left-aligned at full width */
.page-hero .community p { max-width: none; margin-left: 0; margin-right: 0; }
.page-hero .community .sub { max-width: 760px; }
.community .eyebrow, .community h2, .community h3 { text-align: left; }
.community .community-account { align-items: center; }
.community .community-meta, .community .community-body { max-width: 760px; }
.community-form .star-label { font-size: 34px; font-weight: 400; line-height: 1; }
@media (max-width: 600px) { .community-form .star-label { font-size: 40px; } }

/* 2026-10-14: blog index + posts */
.post-meta { font-size: 14px; color: rgba(43,35,20,0.78); margin-top: 6px; }
.page-hero .post { text-align: left; max-width: 760px; margin: 26px auto 0; }
.page-hero .post p, .page-hero .post li { max-width: none; margin-left: 0; margin-right: 0; line-height: 1.75; font-size: 16.5px; }
.page-hero .post p { margin-bottom: 15px; }
.page-hero .post h2 { font-family: var(--serif); font-size: 24px; color: var(--brown); margin: 30px 0 10px; text-align: left; }
.page-hero .post ul, .page-hero .post ol { margin: 0 0 16px 22px; padding: 0; }
.page-hero .post li { margin-bottom: 8px; }
.page-hero .post a { color: #6a4d0c; text-decoration: underline; text-underline-offset: 2px; }
.post-table { width: 100%; border-collapse: collapse; margin: 18px 0 20px; font-size: 15.5px; background: rgba(255,255,255,0.55); border-radius: 12px; overflow: hidden; }
.post-table th, .post-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid rgba(43,26,14,0.14); }
.post-table thead th { background: rgba(43,26,14,0.9); color: #f4ede1; font-weight: 700; }
.post-table tbody th { font-weight: 600; }
.post-back { margin-top: 30px; text-align: left; max-width: 760px; margin-left: auto; margin-right: auto; }
.post-grid { text-align: left; }
.post-card { display: block; text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease; }
.post-card:hover, .post-card:focus-visible { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(43,26,14,0.12); }
.post-card h3 { margin: 6px 0 8px; }
.post-card p { font-size: 15px; line-height: 1.6; margin: 0; color: rgba(43,35,20,0.85); }
@media (max-width: 600px) { .page-hero .post p, .page-hero .post li { font-size: 16px; } .post-table { font-size: 14.5px; } .post-table th, .post-table td { padding: 9px 10px; } }
.post-card h2 { font-family: var(--serif); font-size: 20px; line-height: 1.3; color: var(--brown); margin: 6px 0 8px; text-align: left; }
