@import url("../fonts/helvetica/fonts.css");

/* Graft — Light Theme (Original) from all-themes-v2.html */
:root {
  /* Primary */
  --graft-white: #ffffff;
  --graft-black: #000000;

  /* Gray */
  --graft-gray-100: #f6f6f6;
  --graft-gray-200: #e4e4e4;
  --graft-gray-300: #cdcdcd;
  --graft-gray-400: #bababa;
  --graft-gray-500: #8c8c8c;
  --graft-gray-600: #767676;
  --graft-gray-700: #57595b;
  --graft-gray-800: #28292a;

  /* Success */
  --graft-success-100: #cff2d8;
  --graft-success-500: #2aa147;

  /* Warning */
  --graft-warning-100: #ffe1c8;
  --graft-warning-500: #fc5100;
  --graft-warning-600: #d94601;

  /* Error */
  --graft-error-500: #ca462a;

  /* Semantic (light mode) */
  --graft-background: var(--graft-white);
  --graft-surface: var(--graft-gray-100);
  --graft-text-primary: var(--graft-black);
  --graft-text-secondary: var(--graft-gray-600);
  --graft-accent: var(--graft-black);
  --graft-on-accent: var(--graft-white);
  --graft-border: var(--graft-gray-200);

  /* Aliases used across components */
  --graft-orange: var(--graft-warning-500);
  --graft-orange-hover: var(--graft-warning-600);
  --graft-success: var(--graft-success-500);

  /* Overlay */
  --graft-overlay-200: rgba(0, 0, 0, 0.2);
  --graft-overlay-500: rgba(0, 0, 0, 0.5);
  --graft-overlay-800: rgba(0, 0, 0, 0.8);

  /* Shadow */
  --graft-shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.1);
  --graft-shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.12);
  --graft-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.13);
  --graft-shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.14);
  --graft-shadow-xl: 0 12px 32px rgba(0, 0, 0, 0.16);

  /* Typography */
  --font-sans: "Helvetica Now Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: var(--font-sans);

  --header-height: 64px;
  --radius-pill: 999px;
  --radius-btn: 6px;
  --max-content: 420px;
  --transition: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--graft-text-primary);
  background: var(--graft-background);
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ─── Header ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--graft-background);
  border-bottom: 1px solid var(--graft-border);
}

.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header__nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.site-header__nav a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: opacity var(--transition);
}

.site-header__nav a:hover {
  opacity: 0.65;
}

.site-header__nav a.is-active {
  opacity: 1;
  font-weight: 600;
}

.site-header__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.site-header__logo img {
  display: block;
  height: 22px;
  width: auto;
}

.site-header__logo--white img {
  filter: none;
}

.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.mode-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--graft-accent);
  border-radius: var(--radius-pill);
  transition: background var(--transition), color var(--transition);
}

.mode-switch:hover {
  background: var(--graft-accent);
  color: var(--graft-on-accent);
}

.mode-switch--filled {
  background: var(--graft-accent);
  color: var(--graft-on-accent);
}

.mode-switch--filled:hover {
  background: var(--graft-gray-800);
  border-color: var(--graft-gray-800);
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: background var(--transition);
}

.icon-btn:hover {
  background: var(--graft-surface);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.search-pill {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  min-width: 220px;
  background: var(--graft-surface);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--graft-text-secondary);
}

.search-pill svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

@media (min-width: 900px) {
  .search-pill {
    display: flex;
  }
}

/* ─── Activity landing ─── */
.hero-split {
  display: grid;
  grid-template-columns: 1fr;
  min-height: calc(100vh - var(--header-height));
}

@media (min-width: 1024px) {
  .hero-split {
    grid-template-columns: 1fr minmax(380px, 480px) 1fr;
  }
}

.hero-panel {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.hero-panel--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-panel--center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 32px 56px;
  background: var(--graft-background);
  text-align: center;
}

.hero-panel--right {
  display: none;
}

@media (min-width: 1024px) {
  .hero-panel--left,
  .hero-panel--right {
    display: block;
    min-height: auto;
  }

  .hero-panel--center {
    padding: 64px 40px;
    box-shadow: 0 0 0 1px var(--graft-border);
    z-index: 1;
  }
}

.hero-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--graft-text-secondary);
  max-width: var(--max-content);
  margin-inline: auto;
}

.hero-login {
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--graft-text-secondary);
}

.hero-login a {
  color: var(--graft-warning-500);
  font-weight: 500;
}

.hero-login a:hover {
  text-decoration: underline;
}

.auth-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: var(--max-content);
  margin: 0 auto;
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-btn);
  transition: background var(--transition), border-color var(--transition), transform 0.1s ease;
}

.btn:active {
  transform: scale(0.99);
}

.btn--outline {
  background: var(--graft-background);
  border: 1px solid var(--graft-accent);
  color: var(--graft-text-primary);
}

.btn--outline:hover {
  background: var(--graft-surface);
}

.btn--primary {
  background: var(--graft-warning-500);
  border: 1px solid var(--graft-warning-500);
  color: var(--graft-on-accent);
}

.btn--primary:hover {
  background: var(--graft-warning-600);
  border-color: var(--graft-warning-600);
}

.btn--black {
  background: var(--graft-accent);
  border: 1px solid var(--graft-accent);
  color: var(--graft-on-accent);
}

.btn--black:hover {
  background: var(--graft-gray-800);
  border-color: var(--graft-gray-800);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.legal-note {
  margin-top: 20px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--graft-text-secondary);
  max-width: var(--max-content);
  margin-inline: auto;
}

.legal-note a {
  color: var(--graft-gray-700);
  text-decoration: underline;
}

.legal-note a:hover {
  color: var(--graft-text-primary);
}

/* App mockup overlay on right panel */
.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.phone-mockup {
  position: absolute;
  right: 8%;
  bottom: 12%;
  width: min(200px, 42%);
  background: var(--graft-background);
  border-radius: 24px;
  padding: 12px;
  box-shadow: var(--graft-shadow-xl);
}

.phone-mockup__workout {
  padding: 10px;
  border-radius: 12px;
  background: var(--graft-surface);
}

.phone-mockup__exercise {
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 700;
  text-align: left;
  line-height: 1.3;
}

.phone-mockup__sets {
  display: flex;
  gap: 6px;
}

.phone-mockup__sets span {
  flex: 1;
  padding: 6px 0;
  font-size: 10px;
  font-weight: 600;
  text-align: center;
  border-radius: 6px;
  background: var(--graft-background);
  color: var(--graft-text-secondary);
  border: 1px solid var(--graft-border);
}

.phone-mockup__sets .is-done {
  background: var(--graft-success-100, #e8f5e9);
  border-color: var(--graft-success-500);
  color: var(--graft-success-500);
}

.phone-mockup__sets .is-active {
  background: var(--graft-warning-500);
  border-color: var(--graft-warning-500);
  color: #fff;
}

.phone-mockup__sports {
  margin-top: 10px;
  padding: 8px;
  background: var(--graft-surface);
  border-radius: 10px;
  font-size: 10px;
  font-weight: 600;
  text-align: center;
}

.sport-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 6px;
  font-size: 18px;
}

.session-badge {
  position: absolute;
  left: 12%;
  top: 18%;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 12px;
  box-shadow: var(--graft-shadow-lg);
  font-size: 10px;
  line-height: 1.4;
}

.session-badge__label {
  display: block;
  font-weight: 700;
  font-size: 11px;
}

.session-badge__meta {
  color: var(--graft-text-secondary);
  font-weight: 500;
}

.watch-mockup {
  position: absolute;
  right: 38%;
  bottom: 28%;
  width: 72px;
  height: 88px;
  background: #f0f0f0;
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  font-size: 8px;
  text-align: center;
}

.watch-mockup strong {
  display: block;
  font-size: 11px;
  margin: 4px 0;
}

/* ─── Shop page (Gymshark-style) ─── */
.shop-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.shop-hero__bg {
  position: absolute;
  inset: 0;
}

.shop-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 55%);
}

.shop-hero__content {
  position: relative;
  z-index: 1;
  padding: 48px 24px 64px;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  color: var(--graft-on-accent);
}

.shop-hero__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0.9;
}

.shop-hero__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  max-width: 12ch;
}

.shop-hero__cta {
  display: inline-flex;
  margin-top: 8px;
  padding: 14px 32px;
  background: var(--graft-background);
  color: var(--graft-text-primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background var(--transition);
}

.shop-hero__cta:hover {
  background: var(--graft-gray-200);
}

.shop-categories {
  display: flex;
  gap: 8px;
  padding: 20px 24px;
  overflow-x: auto;
  border-bottom: 1px solid var(--graft-border);
  -webkit-overflow-scrolling: touch;
}

.shop-categories a {
  flex-shrink: 0;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--graft-border);
  transition: background var(--transition), color var(--transition);
}

.shop-categories a:hover,
.shop-categories a.is-active {
  background: var(--graft-accent);
  color: var(--graft-on-accent);
  border-color: var(--graft-accent);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--graft-border);
  max-width: 1440px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-card {
  background: var(--graft-background);
  position: relative;
  overflow: hidden;
  transition: opacity var(--transition);
}

.product-card:hover {
  opacity: 0.92;
}

.product-card__media {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--graft-surface);
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.03);
}

.product-card__info {
  padding: 16px;
}

.product-card__name {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
}

.product-card__price {
  margin: 0;
  font-size: 14px;
  color: var(--graft-text-secondary);
}

.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--graft-accent);
  color: var(--graft-on-accent);
}

/* ─── Footer ─── */
.site-footer {
  background: var(--graft-surface);
  padding: 56px 24px 32px;
  margin-top: auto;
}

.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 40px;
}

@media (min-width: 768px) {
  .site-footer__inner {
    grid-template-columns: 1.2fr repeat(4, 1fr);
    gap: 32px;
  }
}

.footer-brand__logo {
  margin-bottom: 20px;
}

.footer-brand__logo img {
  display: block;
  height: 28px;
  width: auto;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--graft-accent);
  color: var(--graft-on-accent);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  transition: opacity var(--transition);
}

.store-badge:hover {
  opacity: 0.85;
}

.store-badge strong {
  display: block;
  font-size: 14px;
}

.social-row {
  display: flex;
  gap: 16px;
}

.social-row a {
  opacity: 0.7;
  transition: opacity var(--transition);
}

.social-row a:hover {
  opacity: 1;
}

.social-row svg {
  width: 20px;
  height: 20px;
}

.footer-col h4 {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  font-size: 14px;
  color: var(--graft-gray-800);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--graft-warning-500);
}

.footer-col a.footer-login {
  color: var(--graft-warning-500);
  font-weight: 500;
}

.footer-bottom {
  max-width: 1200px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--graft-border);
  font-size: 12px;
  color: var(--graft-text-secondary);
  text-align: center;
}

/* ─── Modal ─── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  background: var(--graft-overlay-500);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 640px) {
  .modal-backdrop {
    align-items: center;
  }
}

.modal {
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--graft-background);
  border-radius: 16px 16px 0 0;
  padding: 28px 24px 32px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.modal-backdrop.is-open .modal {
  transform: translateY(0);
}

@media (min-width: 640px) {
  .modal {
    border-radius: 16px;
    transform: translateY(16px);
  }

  .modal-backdrop.is-open .modal {
    transform: translateY(0);
  }
}

.modal__handle {
  width: 40px;
  height: 4px;
  margin: 0 auto 20px;
  background: var(--graft-border);
  border-radius: 2px;
}

.modal h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
}

.modal p {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--graft-text-secondary);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--graft-surface);
}

.modal {
  position: relative;
}

/* Mobile nav hide on activity page */
@media (max-width: 899px) {
  .site-header__nav--desktop {
    display: none;
  }

  .site-header__inner--activity {
    grid-template-columns: auto 1fr auto;
  }

  .site-header__inner--activity .site-header__logo {
    justify-content: flex-start;
  }

  .site-header__inner--activity .site-header__logo img {
    height: 20px;
  }
}

/* ─── Features page ─── */
.page-features .site-footer {
  margin-top: 0;
}

.features-pro-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 96px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 70% at 85% 75%, rgba(252, 81, 0, 0.55) 0%, transparent 55%),
    linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 45%, #111 100%);
  color: var(--graft-white);
  text-align: center;
}

.features-pro-hero__watermark {
  position: absolute;
  right: -8%;
  bottom: -12%;
  width: min(520px, 70vw);
  height: auto;
  opacity: 0.07;
  pointer-events: none;
}

.features-pro-hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.features-pro-hero__eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
}

.features-pro-hero__mark {
  width: 40px;
  height: 40px;
  margin: 0 auto 28px;
  object-fit: contain;
}

.features-pro-hero__title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.features-pro-hero__subtitle {
  margin: 0 auto 36px;
  max-width: 540px;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.features-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 600;
  color: var(--graft-white);
  background: var(--graft-warning-500);
  border-radius: var(--radius-btn);
  transition: background var(--transition), transform 0.1s ease;
}

.features-cta:hover {
  background: var(--graft-warning-600);
}

.features-cta:active {
  transform: scale(0.99);
}

.features-everything {
  padding: 72px 24px 0;
  text-align: center;
  background: var(--graft-background);
}

.features-everything__title {
  margin: 0 auto 48px;
  max-width: 900px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.features-everything__media {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  box-shadow: var(--graft-shadow-lg);
}

.features-everything__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 30%;
}

.features-trio {
  padding: 72px 24px 80px;
  background: var(--graft-background);
}

.features-trio__grid {
  display: grid;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .features-trio__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

.features-trio__item {
  text-align: center;
  display: flex;
  flex-direction: column;
}

.feature-mockup {
  background: var(--graft-gray-800);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 24px;
  text-align: left;
  box-shadow: var(--graft-shadow-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.feature-mockup--compact {
  margin-bottom: 0;
}

.feature-mockup__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--graft-white);
}

.feature-mockup__badge {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: var(--graft-warning-500);
  flex-shrink: 0;
}

.feature-mockup__body {
  background: #3a3b3c;
  border-radius: 10px;
  padding: 14px;
  color: var(--graft-white);
  font-size: 12px;
}

.feature-mockup__body--prs {
  padding: 12px;
}

.pr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.pr-card {
  padding: 10px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  text-align: center;
}

.pr-card__label {
  display: block;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 4px;
}

.pr-card strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.pr-card__delta {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  color: var(--graft-warning-500);
  font-weight: 600;
}

.trend-chart {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.trend-legend {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.75);
}

.trend-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.trend-legend i {
  width: 16px;
  height: 3px;
  border-radius: 2px;
  background: var(--graft-warning-500);
}

.trend-legend i.is-alt {
  background: #6eb5ff;
}

.feature-mockup__body--coach p,
.feature-mockup__body--mini p {
  margin: 0;
  line-height: 1.55;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.9);
}

.program-card {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}

.program-card + .program-card {
  margin-top: 8px;
}

.program-card img {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.program-card strong {
  display: block;
  font-size: 11px;
  margin-bottom: 2px;
}

.program-card span {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
}

.studio-map {
  position: relative;
  min-height: 140px;
  background: linear-gradient(160deg, #4a5568 0%, #2d3748 100%);
  border-radius: 8px;
  overflow: hidden;
}

.studio-pin {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--graft-white);
  border: 2px solid var(--graft-gray-600);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.studio-pin:nth-child(1) { top: 35%; left: 40%; }
.studio-pin:nth-child(2) { top: 55%; left: 65%; }
.studio-pin:nth-child(3) { top: 25%; left: 72%; }

.studio-pin.is-active {
  background: var(--graft-warning-500);
  border-color: var(--graft-white);
  width: 12px;
  height: 12px;
}

.studio-card {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--graft-text-primary);
  border-radius: 8px;
  text-align: left;
}

.studio-card strong {
  display: block;
  font-size: 11px;
  margin-bottom: 2px;
}

.studio-card span {
  font-size: 10px;
  color: var(--graft-text-secondary);
}

.club-stack {
  position: relative;
}

.club-stack img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
}

.club-avatars {
  display: flex;
  margin-top: 10px;
  justify-content: center;
}

.club-avatars span {
  width: 28px;
  height: 28px;
  margin-left: -6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  background: var(--graft-gray-700);
  border: 2px solid #3a3b3c;
  border-radius: 50%;
}

.club-avatars span:first-child {
  margin-left: 0;
}

.features-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--graft-white);
  background: var(--graft-warning-500);
  border-radius: 4px;
}

.features-trio__heading {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
}

.features-trio__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--graft-text-secondary);
}

.features-trio__cta {
  margin-top: 48px;
  text-align: center;
}

.features-banner {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.features-banner__bg {
  position: absolute;
  inset: 0;
}

.features-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.features-banner__bg--gradient {
  background: linear-gradient(135deg, #1f1f1f 0%, #0a0a0a 100%);
}

.features-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.35) 45%,
    rgba(0, 0, 0, 0.15) 100%
  );
}

.features-banner__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 56px;
}

.features-banner__copy {
  max-width: 520px;
  margin-bottom: 32px;
  color: var(--graft-white);
}

.features-banner__copy h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.12;
}

.features-banner__copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.features-banner__cards {
  display: grid;
  gap: 16px;
}

@media (min-width: 768px) {
  .features-banner__cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 64px;
}

.mini-bars span {
  flex: 1;
  height: var(--h);
  background: var(--graft-warning-500);
  border-radius: 3px 3px 0 0;
  opacity: 0.85;
}

.compare-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 600;
}

.compare-lines .is-up {
  color: var(--graft-warning-500);
}

.compare-lines .is-neutral {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.features-confidence {
  padding: 0 24px 24px;
  background: var(--graft-background);
}

.features-confidence__media {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 0 0 20px 20px;
  overflow: hidden;
  min-height: 420px;
}

.features-confidence__media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
}

.features-confidence__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.2) 55%,
    transparent 100%
  );
}

.features-confidence__copy {
  position: absolute;
  left: 0;
  bottom: 0;
  max-width: 480px;
  padding: 40px 32px;
  color: var(--graft-white);
}

.features-confidence__copy h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.15;
}

.features-confidence__copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.features-challenges {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.features-challenges__bg {
  position: absolute;
  inset: 0;
}

.features-challenges__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.features-challenges__bg--gradient {
  background: linear-gradient(135deg, #1f1f1f 0%, #0a0a0a 100%);
}

.features-challenges__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.25) 60%,
    transparent 100%
  );
}

.features-challenges__copy {
  position: relative;
  z-index: 1;
  max-width: 520px;
  padding: 64px 24px;
  margin: 0 auto 0 max(24px, calc((100% - 1200px) / 2 + 24px));
  color: var(--graft-white);
}

.features-challenges__copy h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.12;
}

.features-challenges__copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 767px) {
  .features-confidence__copy,
  .features-challenges__copy {
    position: relative;
    max-width: none;
    margin: 0;
    background: var(--graft-gray-800);
  }

  .features-confidence__media {
    display: flex;
    flex-direction: column;
  }

  .features-confidence__overlay {
    display: none;
  }

  .features-confidence__media img {
    min-height: 240px;
  }

  .features-challenges {
    flex-direction: column;
    min-height: auto;
  }

  .features-challenges__copy {
    width: 100%;
  }
}

/* Compete trio mockups */
.leaderboard-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.leaderboard-list li {
  display: grid;
  grid-template-columns: 20px 24px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.leaderboard-list li:last-child {
  border-bottom: none;
}

.leaderboard-list li.is-you {
  background: rgba(252, 81, 0, 0.15);
  margin: 0 -8px;
  padding: 6px 8px;
  border-radius: 6px;
  border-bottom: none;
}

.leaderboard-rank {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

.leaderboard-rank.is-gold {
  color: #f5c542;
}

.leaderboard-avatar {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  background: var(--graft-gray-700);
  border-radius: 50%;
}

.leaderboard-name {
  font-weight: 600;
}

.leaderboard-score {
  color: rgba(255, 255, 255, 0.55);
  font-size: 9px;
}

.challenge-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.challenge-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.challenge-list li:last-child {
  border-bottom: none;
}

.challenge-avatar {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  background: var(--graft-gray-700);
  border-radius: 50%;
}

.challenge-progress {
  flex: 1;
  min-width: 0;
}

.challenge-name {
  display: block;
  font-size: 10px;
  font-weight: 600;
  margin-bottom: 4px;
}

.challenge-bar {
  height: 6px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 2px;
}

.challenge-bar span {
  display: block;
  height: 100%;
  width: var(--w);
  background: var(--graft-success-500);
  border-radius: 3px;
}

.challenge-meta {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.55);
}

.mvp-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 8px 12px;
  text-align: center;
}

.mvp-count {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: var(--graft-warning-500);
  margin-bottom: 8px;
}

.mvp-avatar {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, #5a5a5a, #3a3a3a);
  border: 3px solid var(--graft-warning-500);
  border-radius: 50%;
  margin-bottom: 8px;
  box-shadow: 0 0 0 6px rgba(252, 81, 0, 0.15);
}

.mvp-card strong {
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
}

.mvp-badge {
  font-size: 14px;
  color: #f5c542;
}

/* Free vs Pro comparison */
.features-compare {
  padding: 80px 24px 96px;
  background: var(--graft-background);
  text-align: center;
}

.features-compare__title {
  margin: 0 auto 56px;
  max-width: 720px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.features-compare__table {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}

.features-compare__head {
  display: grid;
  grid-template-columns: 1fr 72px 72px;
  gap: 16px;
  align-items: end;
  margin-bottom: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--graft-border);
}

.features-compare__plan-col {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: var(--graft-text-secondary);
}

.features-compare__plan-col--pro {
  color: var(--graft-warning-500);
}

.features-compare__row {
  display: grid;
  grid-template-columns: 1fr 72px 72px;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--graft-border);
}

.features-compare__row:last-child {
  border-bottom: none;
}

.features-compare__feature {
  font-size: 15px;
  line-height: 1.45;
  padding-right: 8px;
}

.features-compare__check {
  display: flex;
  align-items: center;
  justify-content: center;
}

.features-compare__check svg {
  width: 18px;
  height: 18px;
}

.features-compare__check--free {
  width: 28px;
  height: 28px;
  margin: 0 auto;
  background: var(--graft-accent);
  color: var(--graft-on-accent);
  border-radius: 50%;
}

.features-compare__check--pro {
  width: 28px;
  height: 28px;
  margin: 0 auto;
  background: var(--graft-warning-500);
  color: var(--graft-white);
  border-radius: 50%;
}

.features-compare__check--empty {
  width: 28px;
  height: 28px;
  margin: 0 auto;
}

/* Subscriber banner */
.features-subscriber {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.features-subscriber__bg {
  position: absolute;
  inset: 0;
}

.features-subscriber__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.features-subscriber__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(252, 81, 0, 0.82) 0%,
    rgba(217, 70, 1, 0.75) 50%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.features-subscriber__content {
  position: relative;
  z-index: 1;
  padding: 72px 24px;
  max-width: 800px;
  color: var(--graft-white);
}

.features-subscriber__seal {
  width: 100px;
  height: 100px;
  margin: 0 auto 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--graft-warning-500);
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.features-subscriber__seal img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.features-subscriber__seal-top,
.features-subscriber__seal-bottom {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
}

.features-subscriber__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

@media (max-width: 520px) {
  .features-compare__head,
  .features-compare__row {
    grid-template-columns: 1fr 48px 48px;
    gap: 10px;
  }

  .features-compare__feature {
    font-size: 14px;
  }
}

/* ─── Legal pages ─── */
.page-legal .site-footer {
  margin-top: 0;
}

.legal-page {
  padding: 80px 24px 120px;
  background: var(--graft-background);
}

.legal-document {
  max-width: 800px;
  margin: 0 auto;
  background: var(--graft-surface);
  padding: 60px;
  border-radius: 24px;
  box-shadow: var(--graft-shadow-lg);
  border: 1px solid var(--graft-border);
}

.legal-document__header {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--graft-border);
}

.legal-document__updated {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--graft-text-secondary);
}

.legal-document h1 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.legal-document__intro {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--graft-text-secondary);
}

.legal-document section {
  margin-bottom: 48px;
}

.legal-document section:last-child {
  margin-bottom: 0;
}

.legal-document h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--graft-text-primary);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--graft-border);
}

.legal-document h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--graft-text-primary);
}

.legal-document p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--graft-text-secondary);
}

.legal-document p:last-child {
  margin-bottom: 0;
}

.legal-document ul {
  margin: 0;
  padding-left: 1.5rem;
}

.legal-document li {
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--graft-text-secondary);
}

.legal-document li:last-child {
  margin-bottom: 0;
}

.legal-document a {
  color: var(--graft-warning-500);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-document a:hover {
  color: var(--graft-warning-600);
}

.footer-col a[aria-current="page"] {
  font-weight: 600;
  color: var(--graft-text-primary);
}

/* ─── Contact page ─── */
.page-contact .site-footer {
  margin-top: 0;
}

.contact-page {
  padding: 56px 24px 80px;
  max-width: 1040px;
  margin: 0 auto;
}

.contact-page__header {
  max-width: 560px;
  margin-bottom: 40px;
}

.contact-page__header h1 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.contact-page__header p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--graft-text-secondary);
}

.contact-page__grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 900px) {
  .contact-page__grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: start;
  }
}

.contact-form {
  padding: 32px;
  background: var(--graft-surface);
  border: 1px solid var(--graft-border);
  border-radius: 12px;
}

.contact-form__field {
  margin-bottom: 20px;
}

.contact-form__field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  color: var(--graft-text-primary);
  background: var(--graft-background);
  border: 1px solid var(--graft-border);
  border-radius: var(--radius-btn);
  transition: border-color var(--transition);
}

.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: var(--graft-gray-500);
}

.contact-form__field textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form__submit {
  margin-top: 4px;
}

.contact-form__note {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--graft-text-secondary);
}

.contact-form__note a {
  color: var(--graft-warning-500);
  font-weight: 500;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  padding: 24px;
  background: var(--graft-background);
  border: 1px solid var(--graft-border);
  border-radius: 12px;
}

.contact-card h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}

.contact-card p {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.5;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.contact-card a {
  color: var(--graft-warning-500);
  font-weight: 600;
}

.contact-card a:hover {
  color: var(--graft-warning-600);
}

.contact-card__meta {
  font-size: 13px;
  color: var(--graft-text-secondary);
}

.contact-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-links li + li {
  margin-top: 8px;
}

.contact-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--graft-text-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-links a:hover {
  color: var(--graft-warning-500);
}
.feature-mockup__body img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }

.feature-mockup--image {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 300px;
  width: 100%;
}

.feature-mockup--image .feature-mockup__header {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  margin: 0;
  background: rgba(0, 0, 0, 0.5);
  padding: 4px 8px;
  border-radius: 4px;
}

.feature-mockup--image .feature-mockup__body {
  position: absolute;
  inset: 0;
  background: none;
  padding: 0;
  border-radius: 0;
}

.feature-mockup--image .feature-mockup__body img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

/* ==========================================================================
   PRO PAGE
   ========================================================================== */

.page-pro {
  background-color: var(--graft-background);
  color: var(--graft-text-primary);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.pro-page {
  flex: 1;
}

/* Pro Hero Wrapper - Gradient Background */
.pro-hero-wrapper {
  background: var(--graft-black);
  background-image: radial-gradient(circle at top center, rgba(252, 82, 0, 0.25) 0%, var(--graft-black) 70%);
  color: var(--graft-white);
  padding-top: 120px;
  padding-bottom: 80px;
  position: relative;
}

/* Pro Hero */
.pro-hero {
  text-align: center;
  padding: 0 20px 40px;
  max-width: 800px;
  margin: 0 auto;
}

.pro-hero__content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff, #ccc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pro-hero__content p {
  font-size: 1.125rem;
  color: var(--graft-gray-300);
  max-width: 600px;
  margin: 0 auto;
}

/* Pricing Section */
.pricing-section {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
}

.pricing-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

/* Pricing Card */
.pricing-card {
  position: relative;
  display: block;
  cursor: pointer;
  border-radius: 20px;
  background: var(--graft-white);
  border: 2px solid transparent;
  transition: transform 0.2s ease, border-color 0.2s ease;
  user-select: none;
  overflow: hidden;
}

.pricing-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.pricing-card__inner {
  display: flex;
  align-items: center;
  padding: 24px;
  background: var(--graft-white);
  border-radius: 18px;
  z-index: 1;
  position: relative;
}

/* Before pseudo element for gradient border when active */
.pricing-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(90deg, #FC5200, #ff8c00);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

/* Hover state */
.pricing-card:hover {
  transform: translateY(-2px);
  border-color: var(--graft-gray-200);
}

/* Active State */
.pricing-card--active {
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(252, 82, 0, 0.15);
}

.pricing-card--active::before {
  opacity: 1;
}

/* Card Content */
.pricing-card__info {
  flex: 1;
}

.pricing-card__info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--graft-black);
}

.pricing-card__info p {
  font-size: 0.875rem;
  color: var(--graft-text-secondary);
  margin: 0;
}

.pricing-card__price {
  text-align: right;
  margin-right: 20px;
}

.price-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--graft-black);
  line-height: 1.1;
}

.price-period {
  display: block;
  font-size: 0.875rem;
  color: var(--graft-text-secondary);
}

.pricing-card__check {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--graft-gray-400);
  transition: color 0.3s ease;
}

.pricing-card__check svg {
  width: 100%;
  height: 100%;
}

.pricing-card--active .pricing-card__check {
  color: var(--graft-warning-500);
}

/* CTA */
.pricing-cta-container {
  text-align: center;
}

.pricing-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: var(--graft-warning-500);
  color: var(--graft-white);
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  width: 100%;
  max-width: 400px;
}

.pricing-cta:hover {
  background: var(--graft-warning-600);
  transform: translateY(-2px);
}

/* Features Section */
.pro-features {
  max-width: 1000px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
}

.pro-features h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 48px;
  color: var(--graft-text-primary);
}

.pro-features__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.pro-feature-card {
  background: var(--graft-surface);
  border-radius: 20px;
  padding: 40px 24px;
  text-align: center;
  border: 1px solid var(--graft-border);
  box-shadow: var(--graft-shadow-sm);
  transition: transform 0.3s ease;
}

.pro-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--graft-shadow-md);
}

.pro-feature-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  color: var(--graft-warning-500);
  background: var(--graft-warning-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pro-feature-card__icon svg {
  width: 32px;
  height: 32px;
}

.pro-feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--graft-text-primary);
}

.pro-feature-card p {
  color: var(--graft-text-secondary);
  line-height: 1.6;
  font-size: 1rem;
}

/* Comparison Section */
.pro-comparison {
  max-width: 800px;
  margin: 100px auto;
  padding: 0 20px;
  text-align: center;
}

.pro-comparison h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 48px;
  color: var(--graft-text-primary);
}

.table-container {
  overflow-x: auto;
  background: var(--graft-surface);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--graft-shadow-lg);
  border: 1px solid var(--graft-border);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, .comparison-table td {
  padding: 20px 16px;
  border-bottom: 1px solid var(--graft-border);
}

.comparison-table th {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--graft-text-primary);
  padding-top: 0;
}

.comparison-table th:nth-child(2),
.comparison-table th:nth-child(3),
.comparison-table td:nth-child(2),
.comparison-table td:nth-child(3) {
  text-align: center;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table td:first-child {
  font-size: 1.05rem;
  color: var(--graft-text-secondary);
  font-weight: 500;
}

.check-icon {
  width: 24px;
  height: 24px;
  color: var(--graft-text-secondary);
}

.check-icon.pro {
  color: var(--graft-warning-500);
}

/* Final CTA Section */
.pro-final-cta {
  background: linear-gradient(180deg, var(--graft-background) 0%, var(--graft-warning-100) 100%);
  padding: 100px 20px;
  text-align: center;
  border-top: 1px solid var(--graft-border);
}

.pro-final-cta__inner {
  max-width: 600px;
  margin: 0 auto;
}

.pro-final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 40px;
  color: var(--graft-text-primary);
}

/* ==========================================================================
   CAREERS PAGE
   ========================================================================== */
.careers-page {
  padding-top: 80px;
  background: var(--color-background);
  color: var(--color-text);
  overflow-x: hidden;
}

.careers-page img {
  max-width: 100%;
  height: auto;
  display: block;
}

.link-orange {
  color: var(--color-primary, #FC5200);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.link-orange:hover {
  color: #e04a00;
}

/* Careers Hero */
.careers-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 40px 20px;
  gap: 40px;
}

@media (min-width: 900px) {
  .careers-hero {
    flex-direction: row;
    padding: 80px 20px;
  }
}

.careers-hero__text {
  flex: 1;
}

.careers-hero__text h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--color-text);
}

.careers-hero__text p {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin-bottom: 30px;
  max-width: 480px;
}

.careers-hero__image {
  flex: 1.2;
  position: relative;
}

.orange-wave-bg {
  position: absolute;
  top: -20px;
  right: -20px;
  bottom: -20px;
  left: -20px;
  background: #FC5200;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  z-index: 0;
  transform: rotate(5deg);
}

.careers-hero__image img {
  position: relative;
  z-index: 1;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  aspect-ratio: 4/5;
  object-fit: cover;
}

/* Careers Mission */
.careers-mission {
  max-width: 800px;
  margin: 0 auto 100px;
  padding: 0 20px;
  text-align: center;
}

.careers-mission p {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--color-text);
}

.careers-mission .careers-mission__sub {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--color-text-muted);
  margin-bottom: 30px;
}

/* Careers Values */
.careers-values {
  max-width: 1200px;
  margin: 0 auto 100px;
  padding: 0 20px;
  text-align: center;
}

.careers-values h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 60px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.value-item h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.value-item p {
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* How We Work */
.careers-how-we-work {
  max-width: 1000px;
  margin: 0 auto 100px;
  padding: 0 20px;
  text-align: center;
}

.how-we-work__text h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.how-we-work__text p {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px;
}

.how-we-work__image img {
  border-radius: 16px;
  width: 100%;
}

/* Perks Section */
.careers-perks-section {
  max-width: 1200px;
  margin: 0 auto 100px;
  padding: 0 20px;
  text-align: center;
}

.careers-perks-section h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.perks-sub {
  font-size: 1.125rem;
  max-width: 800px;
  margin: 0 auto 10px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.perks-note {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 60px;
}

.perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  text-align: left;
}

.perk-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.perk-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--color-text-muted);
}

.perk-card li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 16px;
}

.perk-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #FC5200;
}

.perk-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 24px;
  background: var(--graft-surface);
  display: flex;
  align-items: center;
  justify-content: center;
}

.perk-icon-wrap img {
  width: 80px;
  height: 80px;
}

/* Glassdoor Section */
.careers-glassdoor-section {
  background: var(--graft-surface);
  padding: 100px 20px;
  text-align: center;
}

.careers-glassdoor-section h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.careers-glassdoor-section p {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 800px;
  margin: 0 auto 60px;
}

.glassdoor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.glassdoor-card {
  text-align: center;
}

.glassdoor-image-wrap {
  position: relative;
  margin-bottom: 24px;
  border-radius: 12px;
  overflow: hidden;
}

.glassdoor-image-wrap img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.glassdoor-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 16px 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.glassdoor-badge h2 {
  margin: 0;
  color: #0caa41; /* glassdoor green */
  font-size: 2rem;
  font-family: sans-serif;
  letter-spacing: -1px;
}

.glassdoor-badge.comparably h2 {
  color: #1b273b;
}

/* Employees Collage Section */
.careers-employees-section {
  background: var(--graft-black);
  color: #fff;
  padding: 100px 20px;
  text-align: center;
}

.careers-employees-section h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin-bottom: 60px;
}

.collage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.collage-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
}

/* Split Hiring Banner */
.careers-split-banner {
  display: flex;
  flex-direction: column;
}

@media (min-width: 900px) {
  .careers-split-banner {
    flex-direction: row;
  }
}

.split-left {
  flex: 1;
  background: #FC5200;
  color: #fff;
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.split-left h2 {
  font-family: var(--font-display);
  font-size: 3rem;
  margin-bottom: 20px;
}

.split-left p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.btn--white {
  background: #fff;
  color: #FC5200;
}

.btn--white:hover {
  background: #f0f0f0;
}

.split-right {
  flex: 1;
}

.split-right img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
}

/* Global */
.careers-global {
  background: var(--graft-surface);
  padding: 100px 20px;
  text-align: center;
}

.careers-global__text {
  max-width: 800px;
  margin: 0 auto 60px;
}

.careers-global__text h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.careers-global__text p {
  font-size: 1.125rem;
  color: var(--color-text-muted);
}

.careers-global__map img {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

/* Behind the Scenes */
.careers-behind-scenes {
  max-width: 1200px;
  margin: 100px auto;
  padding: 0 20px;
  text-align: center;
}

.careers-behind-scenes h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.behind-scenes-sub {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: 60px;
}

.behind-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-bottom: 100px;
}

.behind-card {
  text-align: left;
}

.behind-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 24px;
}

.behind-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.behind-card p {
  color: var(--color-text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Internships */
.careers-internships {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  text-align: left;
}

@media (min-width: 900px) {
  .careers-internships {
    flex-direction: row;
  }
}

.internships-image, .internships-text {
  flex: 1;
}

.internships-image img {
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.internships-text h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin-bottom: 24px;
  text-align: left;
}

.internships-text p {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}
