/* ============================================================
   Craftwerk · Landing v2 · "Workshop / Editorial Dark"
   ------------------------------------------------------------
   Concept: warm industrial dark background (#161411) with amber
   #C2710A accent. Display serif (Fraunces) for headlines gives
   the "crafted / editorial" feel that separates this from the
   sea of techy SaaS landings. Manrope for body. JetBrains Mono
   for technical numerics (price, version pills).

   This file is purely additive — original site.css remains
   untouched and continues to render the rest of the site.
   ============================================================ */

:root {
  --cw-bg:           #110F0D;
  --cw-bg-soft:      #161411;
  --cw-bg-card:      #1E1B17;
  --cw-bg-elev:      #25211B;
  --cw-line:         #2C2823;
  --cw-line-soft:    #221F1A;
  --cw-text:         #F1EDE6;
  --cw-text-mute:    #B8B0A4;
  --cw-text-faint:   #7C746A;
  --cw-amber:        #E0944C;
  --cw-amber-deep:   #C2710A;
  --cw-amber-soft:   rgba(224,148,76,0.14);
  --cw-amber-glow:   rgba(224,148,76,0.32);

  --cw-display:      'Manrope', 'Segoe UI', system-ui, sans-serif;
  --cw-body:         'Manrope', 'Segoe UI', system-ui, sans-serif;
  --cw-mono:         'JetBrains Mono', 'Consolas', ui-monospace, monospace;

  --cw-radius:       14px;
  --cw-radius-lg:    20px;
}

/* ─── Page-wide overrides for landing ──────────────────── */

html { scroll-behavior: smooth; }

body {
  background: var(--cw-bg) !important;
  color: var(--cw-text);
  font-family: var(--cw-body);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
}

/* Header refinements (still under .site-header from site.css) */
.site-header {
  background: rgba(17,15,13,0.55) !important;
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}
.site-nav a { font-family: var(--cw-body); letter-spacing: 0.01em; }
.site-nav a:hover { color: var(--cw-amber) !important; }

/* Header right group: nav + buy button as one unit, pushed to the right */
.site-nav-right {
  gap: 28px !important;
}
.site-nav-right .site-nav {
  gap: 22px;
}

/* Header buy button — gradient amber to match the in-page primary CTA */
.site-buy-btn {
  background: linear-gradient(180deg, #E69553 0%, #C2710A 100%) !important;
  color: #1A130A !important;
  font-family: var(--cw-body);
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 8px !important;
  box-shadow:
    0 6px 18px -8px var(--cw-amber-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 160ms ease, box-shadow 200ms ease, color 160ms ease;
}
.site-buy-btn:hover {
  color: #100A04 !important;
  transform: translateY(-1px);
  box-shadow:
    0 10px 24px -8px var(--cw-amber-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.site-footer {
  background: var(--cw-bg-soft) !important;
  border-top: 1px solid var(--cw-line) !important;
  margin-top: 96px !important;
}
.site-footer, .site-footer * { color: var(--cw-text-mute); }
.footer-brand { color: var(--cw-text) !important; }
.footer-heading { color: var(--cw-text) !important; }
.footer-links a:hover { color: var(--cw-amber) !important; }


/* ============================================================
   HERO
   ============================================================ */

.cw-hero {
  position: relative;
  padding: 120px 24px 64px;
  overflow: hidden;
}
.cw-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.cw-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 70%);
}
.cw-hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 600px;
  background: radial-gradient(ellipse 50% 60% at center,
    rgba(224,148,76,0.18) 0%,
    rgba(224,148,76,0.08) 30%,
    transparent 70%);
  filter: blur(40px);
}

.cw-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.cw-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--cw-line);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  font-family: var(--cw-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--cw-text-mute);
  letter-spacing: 0.02em;
  margin-bottom: 32px;
}
.cw-pill-dot {
  width: 6px; height: 6px;
  background: var(--cw-amber);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cw-amber-glow);
  animation: cw-pulse 2s ease-in-out infinite;
}
@keyframes cw-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.3); }
}

.cw-hero-title {
  font-family: var(--cw-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--cw-text);
  margin: 0 0 22px;
  word-break: keep-all;
  hyphens: manual;
}
.cw-hero-title-line {
  display: inline-block;
  white-space: normal;
}
.cw-accent-word {
  color: var(--cw-amber);
  background: linear-gradient(180deg, var(--cw-amber) 0%, #FFB872 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cw-hero-sub {
  font-family: var(--cw-body);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--cw-text-mute);
  max-width: 720px;
  margin: 0 auto 36px;
}

.cw-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 28px;
}

.cw-hero-meta {
  font-family: var(--cw-body);
  font-size: 13px;
  color: var(--cw-text-faint);
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  justify-content: center;
}
.cw-hero-meta strong { color: var(--cw-text-mute); font-weight: 600; }
.cw-hero-meta .cw-dot { color: var(--cw-line); }


/* ── Buttons ─────────────────────────────────────────── */

.cw-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 10px;
  font-family: var(--cw-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.005em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
  cursor: pointer;
  white-space: nowrap;
}
.cw-btn-lg { padding: 16px 28px; font-size: 1rem; }

.cw-btn-primary {
  background: linear-gradient(180deg, #E69553 0%, #C2710A 100%);
  color: #1A130A;
  box-shadow: 0 8px 24px -8px var(--cw-amber-glow), inset 0 1px 0 rgba(255,255,255,0.25);
}
.cw-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px -8px var(--cw-amber-glow), inset 0 1px 0 rgba(255,255,255,0.3);
  color: #100A04;
}
.cw-btn-primary strong {
  font-family: var(--cw-mono);
  font-weight: 600;
}

.cw-btn-ghost {
  background: transparent;
  color: var(--cw-text);
  border-color: var(--cw-line);
}
.cw-btn-ghost:hover {
  background: var(--cw-bg-card);
  border-color: var(--cw-amber);
  color: var(--cw-amber);
}


/* ── Hero "desktop window" frame ─────────────────────── */

.cw-hero-frame {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 64px auto 0;
  padding: 0 24px;
}
.cw-window {
  position: relative;
  background: var(--cw-bg-card);
  border: 1px solid var(--cw-line);
  border-radius: var(--cw-radius-lg);
  overflow: hidden;
  box-shadow:
    0 40px 80px -20px rgba(0,0,0,0.6),
    0 16px 40px -16px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.04);
}
.cw-window-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--cw-line);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent);
}
.cw-chrome-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}
.cw-chrome-dot--red    { background: #FF5F56; }
.cw-chrome-dot--yellow { background: #FFBD2E; }
.cw-chrome-dot--green  { background: #27C93F; }
.cw-chrome-title {
  margin-left: auto;
  margin-right: auto;
  font-family: var(--cw-mono);
  font-size: 11px;
  color: var(--cw-text-faint);
  letter-spacing: 0.04em;
  /* offset to optically center despite dot cluster on the left */
  transform: translateX(-26px);
}
.cw-window-body {
  display: block;
  width: 100%;
  height: auto;
  border-top: 1px solid rgba(255,255,255,0.02);
}

.cw-window-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse 60% 50% at 50% 100%,
    rgba(224,148,76,0.12), transparent 70%);
  z-index: -1;
  pointer-events: none;
}


/* ============================================================
   PROOF STRIP
   ============================================================ */

.cw-proof {
  padding: 80px 24px;
  border-top: 1px solid var(--cw-line-soft);
  border-bottom: 1px solid var(--cw-line-soft);
  background:
    radial-gradient(ellipse 40% 100% at 50% 50%, rgba(224,148,76,0.04), transparent),
    var(--cw-bg-soft);
}
.cw-proof-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.cw-proof-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cw-stat-num {
  font-family: var(--cw-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  color: var(--cw-amber);
  line-height: 1;
  letter-spacing: -0.025em;
}
.cw-stat-label {
  font-family: var(--cw-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--cw-text-mute);
  line-height: 1.45;
}


/* ============================================================
   SECTION HEAD (shared)
   ============================================================ */

.cw-section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
  padding: 0 24px;
}
.cw-eyebrow {
  display: inline-block;
  font-family: var(--cw-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cw-amber);
  margin-bottom: 16px;
  padding: 4px 10px;
  border: 1px solid var(--cw-amber-soft);
  border-radius: 4px;
  background: var(--cw-amber-soft);
}
.cw-eyebrow--accent { background: transparent; }

.cw-section-title {
  font-family: var(--cw-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.6vw, 2.85rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--cw-text);
  margin: 0 0 16px;
}
.cw-section-sub {
  font-family: var(--cw-body);
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--cw-text-mute);
}


/* ============================================================
   FEATURES (asymmetric grid w/ real screenshots)
   ============================================================ */

.cw-features {
  padding: 100px 0 64px;
}

.cw-feat-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(320px, auto);
  align-items: stretch;
  gap: 28px;
}

.cw-feat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
  background: var(--cw-bg-card);
  border: 1px solid var(--cw-line);
  border-radius: var(--cw-radius);
  overflow: hidden;
  grid-column: span 2;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.cw-feat:hover {
  transform: translateY(-3px);
  border-color: rgba(224,148,76,0.4);
  box-shadow: 0 16px 40px -16px rgba(0,0,0,0.5),
              0 0 0 1px rgba(224,148,76,0.18);
}
.cw-feat--wide { grid-column: span 4; flex-direction: row; align-items: stretch; }
.cw-feat--tall { grid-column: span 2; grid-row: span 2; }

.cw-feat-text {
  padding: 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.cw-feat--wide .cw-feat-text { flex: 1; padding: 44px 48px; justify-content: center; gap: 14px; }
.cw-feat-tag {
  font-family: var(--cw-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cw-amber);
  margin-bottom: 4px;
}
.cw-feat h3 {
  font-family: var(--cw-display);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--cw-text);
  margin: 0;
}
.cw-feat--wide h3 { font-size: 2.1rem; }
.cw-feat p,
.cw-feat .cw-feat-body {
  font-family: var(--cw-body);
  font-size: 0.97rem;
  line-height: 1.6;
  color: var(--cw-text-mute);
  margin: 0;
}
.cw-feat .cw-feat-body p { margin: 0 0 10px; }
.cw-feat .cw-feat-body p:last-child { margin: 0; }
.cw-feat-bullets {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cw-feat-bullets li {
  font-family: var(--cw-body);
  font-size: 0.86rem;
  color: var(--cw-text-mute);
  padding-left: 22px;
  position: relative;
}
.cw-feat-bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.65em;
  width: 12px;
  height: 1px;
  background: var(--cw-amber);
}
.cw-feat-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.cw-feat-img--top {
  border-bottom: 1px solid var(--cw-line);
  height: 180px;
  max-height: 180px;
  object-position: top;
  flex-shrink: 0;
}
.cw-feat-img--full { flex: 1; min-height: 0; max-height: 380px; object-fit: cover; object-position: top center; }
.cw-feat--wide .cw-feat-img {
  width: 50%;
  flex: 0 0 50%;
  max-height: none;
  object-position: center top;
  border-left: 1px solid var(--cw-line);
}


/* ============================================================
   HOW IT WORKS
   ============================================================ */

.cw-how {
  padding: 100px 24px;
  background:
    linear-gradient(180deg, transparent, var(--cw-bg-soft) 30%, var(--cw-bg-soft) 70%, transparent);
}

.cw-steps {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.cw-steps::before {
  content: "";
  position: absolute;
  top: 56px;
  left: calc(16.66% + 24px);
  right: calc(16.66% + 24px);
  height: 1px;
  background: repeating-linear-gradient(to right,
    var(--cw-line) 0, var(--cw-line) 6px,
    transparent 6px, transparent 12px);
}

.cw-step {
  position: relative;
  background: var(--cw-bg-card);
  border: 1px solid var(--cw-line);
  border-radius: var(--cw-radius);
  padding: 36px 28px 28px;
  text-align: left;
}
.cw-step-num {
  display: inline-block;
  font-family: var(--cw-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--cw-amber);
  background: var(--cw-amber-soft);
  border: 1px solid rgba(224,148,76,0.25);
  padding: 6px 12px;
  border-radius: 4px;
  margin-bottom: 18px;
  letter-spacing: 0.06em;
}
.cw-step h3 {
  font-family: var(--cw-display);
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--cw-text);
  margin: 0 0 12px;
}
.cw-step p {
  font-family: var(--cw-body);
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--cw-text-mute);
  margin: 0 0 18px;
}
.cw-step-tag {
  font-family: var(--cw-mono);
  font-size: 11px;
  color: var(--cw-text-faint);
  letter-spacing: 0.04em;
  padding-top: 14px;
  border-top: 1px dashed var(--cw-line);
}


/* ============================================================
   GALLERY
   ============================================================ */

.cw-gallery {
  padding: 100px 0;
}
.cw-gallery-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.cw-shot {
  margin: 0;
  background: var(--cw-bg-card);
  border: 1px solid var(--cw-line);
  border-radius: var(--cw-radius);
  overflow: hidden;
  transition: transform 200ms ease, border-color 200ms ease;
}
.cw-shot:hover {
  transform: translateY(-3px);
  border-color: var(--cw-amber);
}
.cw-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  object-position: top center;
  border-bottom: 1px solid var(--cw-line);
}
.cw-shot figcaption {
  padding: 12px 16px;
  font-family: var(--cw-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cw-text-mute);
}


/* ============================================================
   PRICING TEASER
   ============================================================ */

.cw-price-teaser {
  padding: 80px 24px 120px;
}
.cw-price-card {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--cw-bg-card), var(--cw-bg-soft));
  border: 1px solid var(--cw-line);
  border-radius: var(--cw-radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.55);
}
.cw-price-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 80% at 100% 0%,
    rgba(224,148,76,0.18), transparent 60%);
}
.cw-price-card-head {
  position: relative;
  padding: 48px 48px 32px;
  border-bottom: 1px solid var(--cw-line);
  text-align: center;
}
.cw-price-headline {
  font-family: var(--cw-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--cw-text);
  margin: 12px 0 0;
}
.cw-price-card-sub {
  font-family: var(--cw-body);
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--cw-text-mute);
  max-width: 560px;
  margin: 14px auto 0;
}
.cw-price-period {
  font-family: var(--cw-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--cw-text-mute);
  margin-left: 6px;
}
.cw-price-card-body {
  position: relative;
  padding: 40px 48px 48px;
  text-align: center;
}
.cw-price-amount {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}
.cw-price-old {
  font-family: var(--cw-mono);
  font-size: 1.05rem;
  color: var(--cw-text-faint);
  text-decoration: line-through;
  margin-right: 12px;
}
.cw-price-now {
  font-family: var(--cw-display);
  font-weight: 800;
  font-size: clamp(3.2rem, 7vw, 5.4rem);
  color: var(--cw-amber);
  line-height: 1;
  letter-spacing: -0.045em;
}
.cw-price-currency {
  font-family: var(--cw-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--cw-amber);
}
.cw-price-sale {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--cw-amber-soft);
  border: 1px solid rgba(224,148,76,0.3);
  color: var(--cw-amber);
  font-family: var(--cw-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}
.cw-price-list {
  list-style: none;
  padding: 32px 0;
  margin: 0 auto;
  max-width: 540px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}
.cw-price-list li {
  font-family: var(--cw-body);
  font-size: 0.96rem;
  color: var(--cw-text);
  padding-left: 28px;
  position: relative;
  line-height: 1.5;
}
.cw-price-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--cw-amber);
  border-bottom: 2px solid var(--cw-amber);
  transform: rotate(-45deg);
}
.cw-price-list em { color: var(--cw-amber); font-style: normal; font-weight: 600; }
.cw-price-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 960px) {
  .cw-feat-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; gap: 20px; padding: 0 20px; }
  .cw-feat, .cw-feat--wide, .cw-feat--tall { grid-column: span 2; grid-row: auto; }
  .cw-feat--wide { flex-direction: column; }
  .cw-feat--wide .cw-feat-img { width: 100%; flex: none; border-left: none; border-top: 1px solid var(--cw-line); }
  .cw-steps { grid-template-columns: 1fr; }
  .cw-steps::before { display: none; }
  .cw-proof-inner { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .cw-hero { padding: 96px 20px 32px; }
  .cw-hero-frame { padding: 0 12px; margin-top: 48px; }
  .cw-window-chrome { padding: 10px 14px; }
  .cw-chrome-title { display: none; }
  .cw-price-card-head, .cw-price-card-body { padding-left: 28px; padding-right: 28px; }
}

@media (max-width: 540px) {
  .cw-feat-grid { grid-template-columns: 1fr; }
  .cw-feat, .cw-feat--wide, .cw-feat--tall { grid-column: span 1; }
  .cw-proof-inner { grid-template-columns: 1fr 1fr; }
  .cw-hero-cta { flex-direction: column; width: 100%; }
  .cw-hero-cta .cw-btn { width: 100%; justify-content: center; }
  .cw-hero-meta { flex-direction: column; gap: 4px; }
  .cw-hero-meta .cw-dot { display: none; }
  .cw-gallery-grid { grid-template-columns: 1fr; }
  .cw-price-cta { flex-direction: column; }
  .cw-price-cta .cw-btn { width: 100%; justify-content: center; }
}

/* ============================================================
   INNER PAGES (pricing / download / contacts / faq) — shared header
   ============================================================ */

.cw-page-hero {
  position: relative;
  padding: 120px 24px 48px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(224,148,76,0.08), transparent 70%),
    var(--cw-bg);
  border-bottom: 1px solid var(--cw-line-soft);
}
.cw-page-hero-inner { max-width: 760px; margin: 0 auto; }
.cw-page-title {
  font-family: var(--cw-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--cw-text);
  margin: 14px 0 16px;
}
.cw-page-sub {
  font-family: var(--cw-body);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--cw-text-mute);
  margin: 0;
}

/* ── Compare table on /pricing ──────────────────────── */
.cw-compare {
  padding: 80px 24px 120px;
  max-width: 920px;
  margin: 0 auto;
}
.cw-compare-wrap {
  background: var(--cw-bg-card);
  border: 1px solid var(--cw-line);
  border-radius: var(--cw-radius);
  overflow: hidden;
}
.cw-compare-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-family: var(--cw-body);
  font-size: 0.95rem;
}
.cw-compare-table th,
.cw-compare-table td {
  padding: 14px 22px;
  border-bottom: 1px solid var(--cw-line);
  vertical-align: middle;
}
.cw-compare-table th:first-child,
.cw-compare-table td:first-child { width: 36%; text-align: left; }
.cw-compare-table th:not(:first-child),
.cw-compare-table td:not(:first-child) { width: 16%; text-align: center; }
.cw-compare-table thead th {
  background: var(--cw-bg-elev);
  font-family: var(--cw-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cw-text-mute);
}
.cw-compare-table tbody td:first-child { color: var(--cw-text); font-weight: 500; }
.cw-compare-table tbody td:not(:first-child) { color: var(--cw-text-mute); }
.cw-compare-table tbody tr:last-child td { border-bottom: 0; }
.cw-compare-table .cw-yes { color: var(--cw-amber); font-weight: 700; }
.cw-compare-table .cw-no  { color: var(--cw-text-faint); }
@media (max-width: 640px) {
  .cw-compare-table th,
  .cw-compare-table td { padding: 12px 14px; font-size: 0.88rem; }
}


/* ── Download page ──────────────────────────────────── */
.cw-download {
  padding: 80px 24px 120px;
}
.cw-download-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--cw-bg-card);
  border: 1px solid var(--cw-line);
  border-radius: var(--cw-radius-lg);
  padding: 40px 44px 36px;
  box-shadow: 0 30px 60px -24px rgba(0,0,0,0.55);
  text-align: center;
}
.cw-download-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
  font-family: var(--cw-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cw-download-version {
  color: var(--cw-amber);
  background: var(--cw-amber-soft);
  border: 1px solid rgba(224,148,76,0.3);
  padding: 4px 10px;
  border-radius: 4px;
}
.cw-download-size { color: var(--cw-text-faint); }
.cw-download-headline {
  font-family: var(--cw-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--cw-text);
  margin: 0 0 12px;
}
.cw-download-sub {
  font-family: var(--cw-body);
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--cw-text-mute);
  margin: 0 0 28px;
  max-width: 520px;
  margin-inline: auto;
}
.cw-download-notes {
  margin-top: 36px;
  padding: 20px 22px;
  background: var(--cw-bg-soft);
  border: 1px solid var(--cw-line-soft);
  border-radius: var(--cw-radius);
  text-align: left;
}
.cw-download-notes h3 {
  font-family: var(--cw-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--cw-text);
}
.cw-download-notes p {
  font-family: var(--cw-body);
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--cw-text-mute);
  margin: 0;
  white-space: pre-line;
}

/* System requirements block */
.cw-sysreqs {
  margin-top: 36px;
  padding: 24px 28px;
  background: var(--cw-bg-soft);
  border: 1px solid var(--cw-line-soft);
  border-radius: var(--cw-radius);
  text-align: left;
}
.cw-sysreqs-title {
  font-family: var(--cw-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cw-text-mute);
  margin: 0 0 14px;
}
.cw-sysreqs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cw-sysreqs-list li {
  font-family: var(--cw-body);
  font-size: 0.94rem;
  color: var(--cw-text);
  padding-left: 22px;
  position: relative;
}
.cw-sysreqs-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cw-amber);
}


/* ── FAQ page ───────────────────────────────────────── */
.cw-faq {
  padding: 60px 24px 120px;
  max-width: 820px;
  margin: 0 auto;
}
.cw-faq-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.cw-faq-category {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cw-faq-cat-title {
  font-family: var(--cw-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--cw-text);
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--cw-amber);
  align-self: flex-start;
}
.cw-faq-empty {
  font-family: var(--cw-body);
  text-align: center;
  color: var(--cw-text-mute);
  margin-top: 48px;
}
/* Override the legacy .faq-* palette to land in our cw-* token set */
.cw-faq .faq-item {
  background: var(--cw-bg-card) !important;
  border-color: var(--cw-line) !important;
  border-radius: var(--cw-radius) !important;
  font-family: var(--cw-body);
}
.cw-faq .faq-item.open {
  border-color: var(--cw-amber) !important;
  background: var(--cw-bg-elev) !important;
}
.cw-faq .faq-question { color: var(--cw-text); }
.cw-faq .faq-item.open .faq-question { color: var(--cw-amber); }
.cw-faq .faq-answer-inner { color: var(--cw-text-mute); }
.cw-faq .faq-answer-inner a { color: var(--cw-amber); }


/* ── Contacts page ──────────────────────────────────── */
.cw-contacts {
  padding: 60px 24px 120px;
  max-width: 880px;
  margin: 0 auto;
}
.cw-contacts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
@media (max-width: 640px) {
  .cw-contacts-grid { grid-template-columns: 1fr; }
}
.cw-contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--cw-bg-card);
  border: 1px solid var(--cw-line);
  border-radius: var(--cw-radius);
  padding: 24px 26px;
  text-decoration: none;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}
.cw-contact-card:hover {
  border-color: var(--cw-amber);
  transform: translateY(-2px);
  background: var(--cw-bg-elev);
}
.cw-contact-eyebrow {
  font-family: var(--cw-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cw-amber);
}
.cw-contact-value {
  font-family: var(--cw-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.015em;
  color: var(--cw-text);
}
.cw-contact-hint {
  font-family: var(--cw-body);
  font-size: 0.9rem;
  color: var(--cw-text-mute);
  margin-top: 4px;
}
.cw-contacts-body {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.cw-contacts-body p {
  font-family: var(--cw-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--cw-text-mute);
  margin: 0 0 14px;
}
.cw-contacts-body a {
  color: var(--cw-amber);
  text-decoration: none;
  border-bottom: 1px solid rgba(224,148,76,0.3);
  transition: border-color 200ms ease;
}
.cw-contacts-body a:hover { border-color: var(--cw-amber); }


/* ============================================================
   GALLERY — clickable thumbnails (handled by lightbox.js)
   ============================================================ */
.cw-shot { cursor: zoom-in; }
.cw-shot img { transition: transform 280ms cubic-bezier(0.2,0.8,0.2,1); }
.cw-shot:hover img { transform: scale(1.02); }
.cw-shot:hover { border-color: rgba(224,148,76,0.45) !important; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.cw-lightbox {
  position: fixed; inset: 0;
  background: rgba(8,7,6,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: none;
  align-items: center; justify-content: center;
  z-index: 2000;
  cursor: zoom-out;
  animation: cwFadeIn 220ms ease;
}
.cw-lightbox.open { display: flex; }
.cw-lightbox-img {
  max-width: 92vw; max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6),
              0 0 0 1px rgba(255,255,255,0.06);
  animation: cwZoomIn 280ms cubic-bezier(0.2,0.8,0.2,1);
}
.cw-lightbox-caption {
  position: absolute; bottom: 24px; left: 0; right: 0;
  text-align: center;
  color: var(--cw-text-mute);
  font-family: var(--cw-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.cw-lightbox-close {
  position: absolute; top: 18px; right: 24px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: var(--cw-text);
  font-size: 22px; line-height: 1;
  cursor: pointer;
  transition: background 160ms, border-color 160ms;
}
.cw-lightbox-close:hover {
  background: rgba(224,148,76,0.18);
  border-color: rgba(224,148,76,0.45);
}
.cw-lightbox-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: var(--cw-text);
  font-size: 22px; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.cw-lightbox-nav:hover { background: rgba(224,148,76,0.18); border-color: rgba(224,148,76,0.45); }
.cw-lightbox-nav--prev { left: 24px; }
.cw-lightbox-nav--next { right: 24px; }

@keyframes cwFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes cwZoomIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   SCROLL REVEAL — fade-up on intersection (init by lightbox.js)
   ============================================================ */
.cw-reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms cubic-bezier(0.2,0.8,0.2,1), transform 700ms cubic-bezier(0.2,0.8,0.2,1); }
.cw-reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .cw-reveal { opacity: 1; transform: none; transition: none; }
  .cw-shot img { transition: none; }
  .cw-lightbox, .cw-lightbox-img { animation: none; }
}
