/* ═══════════════════════════════════════════════════
   Agent F   Subpage Styles
   Shared across all pages in /pages/
   Extends tokens.css + global.css + agent-f-landing-page.css
   ═══════════════════════════════════════════════════ */

/* ── Page Navigation Bar ── */
/* Matches landing page nav: same logo size, font weights, CTA style */
.page-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 22px max(20px, calc(50vw - 680px));
  display: flex;
  align-items: center;
  background: rgba(248, 248, 239, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s ease,
    background 0.3s ease;
}
.page-nav.scrolled {
  border-bottom-color: rgba(157, 147, 124, 0.2);
}
.page-nav-logo {
  height: 28px;
  width: auto;
  flex-shrink: 0;
}
.page-nav-logo svg {
  height: 100%;
  width: auto;
}
.page-nav-logo svg path {
  fill: #11100e;
}
.page-nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  margin-right: 16px;
}
.page-nav-link {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #0f0e0b;
  text-decoration: none;
  transition: opacity 0.2s ease;
  padding: 6px;
}
.page-nav-link:hover {
  opacity: 0.6;
}
.page-nav-link.active {
  border-bottom: 2px solid var(--coral);
  padding-bottom: 4px;
}

/* Dropdown */
.page-nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.page-nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -16px;
  background: #f9f9f0;
  border: 1px solid #9d937c;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  padding: 12px 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 150ms cubic-bezier(0.25, 0.1, 0.25, 1);
  z-index: 200;
  display: flex;
  flex-direction: column;
}
.page-nav-dropdown:hover .page-nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.page-nav-dropdown-menu a {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0;
  color: #0f0e0b;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 22px;
  padding: 10px 24px;
  transition:
    background 0.2s ease,
    opacity 0.2s ease;
}
.page-nav-dropdown-menu a:hover {
  background: #efecca;
  opacity: 0.6;
}

.page-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 146px;
  height: 37px;
  padding: 3px 20px 0 20px;
  background: var(--off-black);
  color: var(--cream);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 5px;
  text-decoration: none;
  white-space: nowrap;
  transition:
    filter 0.2s ease,
    transform 0.15s ease;
}
.page-nav-cta:hover {
  filter: brightness(1.3);
}
.page-nav-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 37px;
  height: 37px;
  margin-left: 12px;
  border-radius: 50%;
  border: 1.5px solid var(--off-black);
  color: var(--off-black);
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.page-nav-login:hover {
  background: var(--off-black);
  color: var(--cream);
}
.page-nav-login svg {
  width: 18px;
  height: 18px;
}
.page-nav-hamburger {
  display: none;
}
.page-nav-mobile-drawer {
  display: none;
}

/* ── Page Hero   Full-bleed, massive headline ── */
.page-hero {
  padding: 180px 4% 100px;
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}
.page-hero-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.page-hero-overline {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 20px;
  display: block;
}
.page-hero h1 {
  font-family: "BIGGER", "Anton", "Impact", sans-serif;
  font-size: clamp(56px, 9vw, 140px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--off-black);
  margin: 0;
}
.page-hero-sub {
  font-family: "Inter", sans-serif;
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--tan);
  max-width: 100%;
  margin-top: 32px;
}

/* Hero variants */
.page-hero--dark {
  background: #3d3b34;
}
.page-hero--dark h1,
.page-hero--dark .page-hero-overline {
  color: var(--cream);
}
.page-hero--dark .page-hero-sub {
  color: var(--sand);
}

.page-hero--cream {
  background: var(--cream);
}
.page-hero--accent-mint {
  background: var(--mint);
}
.page-hero--accent-coral {
  background: var(--coral);
}
.page-hero--accent-blue {
  background: var(--baby-blue);
}

/* Centered hero variant */
.page-hero--center {
  text-align: center;
}
.page-hero--center .page-hero-sub {
  margin-left: auto;
  margin-right: auto;
}

/* ── Section System ── */
.pg-section {
  padding: 120px 4%;
  position: relative;
}
.pg-section--tight {
  padding: 80px 4%;
}
.pg-section--spacious {
  padding: 160px 4%;
}
.pg-section-inner {
  max-width: 1400px;
  margin: 0 auto;
}

/* Background variants */
.pg-section--off-white {
  background: var(--off-white);
}
.pg-section--cream {
  background: var(--cream);
}
.pg-section--sand {
  background: var(--sand);
}
.pg-section--dark {
  background: #3d3b34;
  color: var(--cream);
}
.pg-section--darkest {
  background: var(--dark-grey);
  color: var(--cream);
}
.pg-section--mint {
  background: var(--mint);
}
.pg-section--coral {
  background: var(--coral);
}
.pg-section--blue {
  background: var(--baby-blue);
}

/* ── Section Headers ── */
.pg-heading {
  margin-bottom: 64px;
}
.pg-heading-overline {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 16px;
  display: block;
}
.pg-heading h2 {
  font-family: "BIGGER", "Anton", "Impact", sans-serif;
  font-size: clamp(40px, 6vw, 96px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--off-black);
  margin: 0;
}
.pg-heading-desc {
  font-family: "Inter", sans-serif;
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 400;
  line-height: 1.55;
  color: var(--tan);
  max-width: 100%;
  margin-top: 20px;
}

/* Dark section heading overrides */
.pg-section--dark .pg-heading h2,
.pg-section--darkest .pg-heading h2 {
  color: var(--cream);
}
.pg-section--dark .pg-heading-overline,
.pg-section--darkest .pg-heading-overline {
  color: var(--sand);
}
.pg-section--dark .pg-heading-desc,
.pg-section--darkest .pg-heading-desc {
  color: var(--sand);
}

/* ── Grid Layouts ── */
.pg-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.pg-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.pg-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.pg-grid-asym {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.pg-grid-asym--reverse {
  grid-template-columns: 1.2fr 1fr;
}

/* ── Cards ── */
.pg-card {
  background: var(--cream);
  border-radius: 12px;
  padding: 40px;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.pg-card:hover {
  transform: translateY(-4px);
}
.pg-card--dark {
  background: #3d3b34;
  color: var(--cream);
}
.pg-card--sand {
  background: var(--sand);
}
.pg-card--graphite {
  background: var(--graphite);
  color: var(--cream);
}

.pg-card-label {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 16px;
  display: block;
}
.pg-card h3 {
  font-family: "BIGGER", "Anton", "Impact", sans-serif;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--off-black);
  margin: 0 0 16px 0;
}
.pg-card--dark h3 {
  color: var(--cream);
}
.pg-card p {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--tan);
  margin: 0;
}
.pg-card--dark p {
  color: var(--sand);
}

/* Card with accent stripe */
.pg-card--stripe {
  border-left: 4px solid var(--coral);
}
.pg-card--stripe-mint {
  border-left-color: var(--mint);
}
.pg-card--stripe-blue {
  border-left-color: var(--baby-blue);
}

/* ── Buttons ── */
.pg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.pg-btn--primary {
  background: var(--off-black);
  color: var(--cream);
}
.pg-btn--primary:hover {
  opacity: 0.85;
}
.pg-btn--coral {
  background: var(--coral);
  color: #fff;
}
.pg-btn--coral:hover {
  filter: brightness(1.1);
}
.pg-btn--outline {
  background: transparent;
  color: var(--off-black);
  border: 1.5px solid var(--off-black);
}
.pg-btn--outline:hover {
  background: var(--off-black);
  color: var(--cream);
}
.pg-btn--ghost {
  background: transparent;
  color: var(--tan);
  padding: 14px 0;
}
.pg-btn--ghost:hover {
  color: var(--off-black);
}
/* Light buttons for dark sections */
.pg-btn--light {
  background: var(--cream);
  color: var(--off-black);
}
.pg-btn--light:hover {
  opacity: 0.9;
}

/* ── Big Number / Metric ── */
.pg-metric {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}
.pg-metric-num {
  font-family: "Inter", sans-serif;
  font-weight: 100;
  font-size: clamp(64px, 10vw, 140px);
  line-height: 0.8;
  letter-spacing: -0.03em;
  color: var(--off-black);
}
.pg-metric-unit {
  font-family: "Inter", sans-serif;
  font-size: clamp(18px, 2vw, 32px);
  font-weight: 400;
  color: var(--off-black);
  padding-bottom: 0.15em;
}
.pg-metric-label {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--tan);
  margin-top: 8px;
}

/* ── Step / Number Indicator ── */
.pg-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid currentColor;
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-weight: 300;
  flex-shrink: 0;
  margin-bottom: 24px;
}

/* ── Decorative Large Text ── */
.pg-deco-text {
  font-family: "BIGGER", "Anton", "Impact", sans-serif;
  font-size: clamp(80px, 14vw, 220px);
  font-weight: 400;
  line-height: 0.85;
  text-transform: uppercase;
  color: var(--off-black);
  opacity: 0.06;
  position: absolute;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

/* ── List Styles ── */
.pg-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pg-list li {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--off-black);
  padding-left: 28px;
  position: relative;
}
.pg-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 1.5px;
  background: var(--coral);
}

.pg-list--check li::before {
  content: "";
  width: 8px;
  height: 14px;
  border-right: 2px solid var(--coral);
  border-bottom: 2px solid var(--coral);
  transform: rotate(45deg);
  background: none;
  top: 2px;
  left: 2px;
}

/* ── Divider ── */
.pg-divider {
  width: 100%;
  height: 1px;
  background: var(--sand);
  border: none;
  margin: 48px 0 32px;
}
.pg-divider--dark {
  background: var(--graphite);
}

/* ── Callout / info box ── */
.pg-callout {
  background: var(--cream);
  border-left: 3px solid var(--coral);
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  margin: 24px 0;
}
.pg-callout p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--off-black);
}
.pg-callout p:last-child {
  margin-bottom: 0;
}

/* ── Data tables ── */
.pg-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0;
}
.pg-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
}
.pg-table th {
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tan);
  padding: 10px 16px;
  border-bottom: 2px solid var(--sand);
  white-space: nowrap;
}
.pg-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(15, 14, 11, 0.07);
  vertical-align: top;
  color: var(--off-black);
}
.pg-table tr:last-child td {
  border-bottom: none;
}
.pg-table tbody tr:hover td {
  background: rgba(15, 14, 11, 0.02);
}

/* ── Footnote ── */
.pg-footnote {
  font-size: 13px;
  color: var(--tan);
  line-height: 1.6;
}
.pg-footnote a {
  color: var(--tan);
}
.pg-footnote a:hover {
  color: var(--off-black);
}

/* ── Quote / Testimonial ── */
.pg-quote {
  position: relative;
  padding-left: 32px;
}
.pg-quote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--coral);
}
.pg-quote-text {
  font-family: "Inter", sans-serif;
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 400;
  line-height: 1.6;
  font-style: italic;
  color: var(--off-black);
  margin: 0 0 20px 0;
}
.pg-quote-author {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--off-black);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pg-quote-role {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--tan);
  margin-top: 4px;
}

/* ── Marquee / Infinite Scroll ── */
.pg-marquee {
  overflow: hidden;
  padding: 40px 0;
}
.pg-marquee-track {
  display: flex;
  gap: 24px;
  animation: pgMarqueeScroll 25s linear infinite;
  width: max-content;
}
.pg-marquee-track:hover {
  animation-play-state: paused;
}
@keyframes pgMarqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.pg-marquee-item {
  flex-shrink: 0;
  background: var(--cream);
  padding: 16px 32px;
  border-radius: 8px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--off-black);
  white-space: nowrap;
}

/* ── Tab Navigation ── */
.pg-tab-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pg-tab-nav a {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  border-radius: 100px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--off-black);
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.pg-tab-nav a:hover {
  background: var(--cream);
}
.pg-tab-nav a.active {
  background: var(--off-black);
  color: var(--cream);
}

/* ── Form Styles ── */
.pg-form-group {
  margin-bottom: 20px;
}
.pg-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.pg-label {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--off-black);
  margin-bottom: 8px;
}
.pg-input,
.pg-select,
.pg-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--sand);
  border-radius: 6px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: var(--off-black);
  background: #fff;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  box-sizing: border-box;
}
.pg-input:focus,
.pg-select:focus,
.pg-textarea:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(254, 128, 92, 0.1);
}
.pg-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239D987D' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.pg-textarea {
  resize: vertical;
  min-height: 120px;
}
.pg-form-note {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: var(--tan);
  margin-top: 12px;
}
.pg-form-note a {
  color: var(--coral);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Text Page (legal, privacy, etc.) ── */
.pg-text-page {
  padding: 40px 4%;
  max-width: 800px;
  margin: 0 auto;
}
.pg-text-page h2 {
  font-family: "BIGGER", "Anton", "Impact", sans-serif;
  font-size: 24px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--off-black);
  margin: 48px 0 16px 0;
}
.pg-text-page h3 {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--off-black);
  margin: 32px 0 12px 0;
}
.pg-text-page p {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--dark-grey);
  margin: 0 0 16px 0;
}
.pg-text-page ul {
  list-style: disc;
  padding-left: 24px;
  margin: 0 0 16px 0;
}
.pg-text-page li {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--dark-grey);
  margin-bottom: 8px;
}
.pg-text-page a {
  color: var(--coral);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Pill / Tag ── */
.pg-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: 100px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--graphite);
  color: var(--cream);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.pg-pill:hover {
  background: var(--coral);
}

/* ── Timeline ── */
.pg-timeline {
  display: flex;
  gap: 40px;
  position: relative;
  padding-top: 40px;
}
.pg-timeline::before {
  content: "";
  position: absolute;
  top: 48px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--sand);
}
.pg-timeline-item {
  flex: 1;
  position: relative;
  z-index: 1;
}
.pg-timeline-dot {
  width: 16px;
  height: 16px;
  background: var(--coral);
  border-radius: 50%;
  margin-bottom: 24px;
  position: relative;
}
.pg-timeline-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--coral);
  opacity: 0.3;
}
.pg-timeline-label {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--off-black);
  margin-bottom: 4px;
}
.pg-timeline-meta {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: var(--tan);
}

/* ── CTA Footer Section ── */
.pg-cta-section {
  padding: 140px 4%;
  background: #3d3b34;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pg-cta-section h2 {
  font-family: "BIGGER", "Anton", "Impact", sans-serif;
  font-size: clamp(48px, 8vw, 120px);
  font-weight: 400;
  line-height: 0.92;
  text-transform: uppercase;
  color: var(--cream);
  margin: 0 0 24px 0;
}
.pg-cta-section p {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--sand);
  max-width: 100%;
  margin: 0 auto 48px;
}

/* ── Grain / Texture Overlay ── */
.pg-grain::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  z-index: 0;
}
.pg-grain > * {
  position: relative;
  z-index: 1;
}

/* ── GSAP Animation Helpers ── */
.pg-reveal {
  opacity: 0;
  transform: translateY(40px);
}
.pg-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.8s cubic-bezier(0.25, 0.1, 0.25, 1),
    transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.pg-reveal-delay-1 {
  transition-delay: 0.1s !important;
}
.pg-reveal-delay-2 {
  transition-delay: 0.2s !important;
}
.pg-reveal-delay-3 {
  transition-delay: 0.3s !important;
}
.pg-reveal-delay-4 {
  transition-delay: 0.4s !important;
}
.pg-reveal-delay-5 {
  transition-delay: 0.5s !important;
}

/* Slide from left */
.pg-reveal-left {
  opacity: 0;
  transform: translateX(-40px);
}
.pg-reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
  transition:
    opacity 0.8s cubic-bezier(0.25, 0.1, 0.25, 1),
    transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Slide from right */
.pg-reveal-right {
  opacity: 0;
  transform: translateX(40px);
}
.pg-reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
  transition:
    opacity 0.8s cubic-bezier(0.25, 0.1, 0.25, 1),
    transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Scale up */
.pg-reveal-scale {
  opacity: 0;
  transform: scale(0.95);
}
.pg-reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

/* ── Page Footer (harmonized with main page footer) ── */
.pg-footer {
  background: var(--cream);
  display: flex;
  flex-direction: column;
  padding: 80px 4% 48px;
}
.pg-footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  max-width: 100vw;
  margin-bottom: 64px;
}
.pg-footer-brand .footer-logo-img {
  width: clamp(200px, 62vw, 960px);
  height: auto;
  display: block;
}
.pg-footer-row {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 48px;
  padding: 0 20px;
  flex-wrap: wrap;
}
.pg-footer-nav {
  display: flex;
  gap: 32px;
}
.pg-footer-nav a {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--off-black);
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.pg-footer-nav a:hover {
  opacity: 0.6;
}
.pg-footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding: 0 20px;
  flex-wrap: wrap;
}
.pg-footer-legal a {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--dark-grey);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.pg-footer-legal a:hover {
  color: var(--off-black);
}
.pg-footer-copy {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--dark-grey);
}

/* ── Dark footer variant (e.g. modules page) ── */
.pg-footer--dark {
  background: #21201c;
}
.pg-footer--dark .pg-footer-nav a {
  color: var(--cream);
}
.pg-footer--dark .pg-footer-legal a {
  color: rgba(241, 236, 222, 0.6);
}
.pg-footer--dark .pg-footer-legal a:hover {
  color: var(--cream);
}
.pg-footer--dark .pg-footer-copy {
  color: rgba(241, 236, 222, 0.6);
}

/* ── Overline color variant (coral) ── */
.pg-heading-overline--coral {
  color: var(--coral);
}

/* ── Demo page: account for fixed nav ── */
.pg-section--demo-offset {
  padding-top: 200px;
}

/* ── Thank You page ── */
.pg-section--thankyou {
  padding-top: 200px;
  text-align: center;
}
.pg-section--thankyou .pg-section-inner {
  max-width: 760px;
}
.pg-section--thankyou .pg-heading {
  margin-bottom: 32px;
}
.pg-section--thankyou .pg-heading-desc {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.pg-section--thankyou .pg-heading-desc--bold {
  font-weight: 500;
  color: var(--off-black);
  margin-bottom: 48px;
}
.pg-section--thankyou .pg-heading-desc--spaced {
  margin-bottom: 16px;
}

/* Calendly placeholder card */
.pg-card--calendly {
  border: 2px dashed var(--sand);
  background: var(--off-white);
  text-align: center;
  margin-bottom: 80px;
}
.pg-card--calendly .pg-card-label {
  display: block;
  text-align: center;
}
.pg-card--calendly p {
  margin-bottom: 24px;
}

/* Explore section */
.pg-heading--center {
  text-align: center;
  margin-bottom: 40px;
}
.pg-heading--center .pg-heading-overline {
  text-align: center;
}
.pg-heading--center h2 {
  font-size: clamp(28px, 4vw, 48px);
}
.pg-grid-2--tight {
  gap: 32px;
}

/* Link card as <a> */
a.pg-card {
  text-decoration: none;
  text-align: left;
  display: block;
}

/* Full-width button */
.pg-btn--full {
  width: 100%;
}

/* Demo form top offset */
.pg-grid-asym--demo {
  padding-top: 60px;
}

/* ── Hero accent text overrides ── */
.page-hero--cream .page-hero-overline,
.page-hero--accent-mint .page-hero-overline {
  color: var(--graphite);
}
.page-hero--cream .page-hero-sub,
.page-hero--accent-mint .page-hero-sub,
.page-hero--accent-blue .page-hero-sub {
  color: var(--graphite);
}

/* ── Step heading (How It Works alternating sections) ── */
.pg-step-heading {
  font-family: "BIGGER", "Anton", "Impact", sans-serif;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1;
  color: var(--off-black);
  margin: 0 0 24px 0;
}

/* ── Step description ── */
.pg-step-desc {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--tan);
  margin-bottom: 32px;
}

/* ── Decorative giant background number ── */
.pg-step-deco-num {
  font-family: "BIGGER", "Anton", "Impact", sans-serif;
  font-size: clamp(140px, 18vw, 280px);
  font-weight: 400;
  line-height: 0.85;
  color: var(--off-black);
  opacity: 0.06;
  user-select: none;
}
.pg-step-deco-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Step number color variants ── */
.pg-step-num--coral {
  color: var(--coral);
  border-color: var(--coral);
}
.pg-step-num--mint {
  color: var(--mint);
  border-color: var(--mint);
}
.pg-step-num--blue {
  color: var(--baby-blue);
  border-color: var(--baby-blue);
}

/* ── Team card & avatar ── */
.pg-card--team {
  text-align: center;
}
.pg-avatar {
  width: 88px;
  height: 88px;
  font-size: 28px;
  border-color: var(--tan);
  color: var(--off-black);
  margin: 0 auto 24px;
}
.pg-card-role {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
}

/* ── Section inner narrow ── */
.pg-section-inner--narrow {
  max-width: 860px;
}

/* ── Story body text ── */
.pg-story-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.pg-story-text {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--off-black);
}

/* ── Quote spacing variant ── */
.pg-quote--spaced {
  margin-bottom: 48px;
}

/* ── Blog: Featured card ── */
.pg-card--featured {
  border-radius: 16px;
  padding: 48px;
}

/* ── Blog: Post card ── */
.pg-card--post {
  background: var(--off-white);
}
.pg-card--post h3 {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: none;
  line-height: 1.3;
  margin-bottom: 12px;
}
.pg-card--post p {
  font-size: 14px;
}
.pg-card-label--muted {
  color: var(--tan);
  font-size: 12px;
}

/* ── Hero CTA spacing ── */
.pg-btn--hero-cta {
  margin-top: 40px;
}

/* ── Integration category ── */
.pg-integ-category {
  margin-bottom: 48px;
}
.pg-integ-label {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 16px;
  text-align: center;
}
.pg-integ-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ── Blog grid variant ── */
.pg-grid-3--tight {
  gap: 24px;
}

/* ── Footer legal links ── */
.pg-footer-legal > div {
  display: flex;
  gap: 16px;
}

/* ── Utility: centered heading ── */
.text-center {
  text-align: center;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .pg-grid-2 {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pg-grid-3 {
    grid-template-columns: 1fr 1fr;
  }
  .pg-grid-4 {
    grid-template-columns: 1fr 1fr;
  }
  .pg-grid-asym,
  .pg-grid-asym--reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .page-nav-links {
    display: none;
  }
  .page-nav-cta {
    display: none;
  }

  /* Hamburger button */
  .page-nav-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
    flex-shrink: 0;
  }
  .page-nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--coal, #11100e);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
    transform-origin: center;
  }
  .page-nav-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .page-nav-hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  .page-nav-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Mobile drawer */
  .page-nav-mobile-drawer {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--off-white, #f9f9f0);
    z-index: 9990;
    display: flex;
    flex-direction: column;
    padding: 80px 32px 48px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
  }
  .page-nav-mobile-drawer.open {
    transform: translateX(0);
  }
  .page-nav-mobile-drawer a {
    font-family: "Inter", sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--coal, #11100e);
    text-decoration: none;
    padding: 16px 0;
    border-bottom: 1px solid rgba(15, 14, 11, 0.08);
    display: block;
  }
  .page-nav-mobile-drawer a:last-child {
    border-bottom: none;
  }
  .page-nav-mobile-drawer a:hover {
    opacity: 0.6;
  }
  .page-nav-mobile-close {
    align-self: flex-end;
    background: none;
    border: 1.5px solid rgba(15, 14, 11, 0.15);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-bottom: 24px;
    flex-shrink: 0;
    color: var(--coal, #11100e);
    transition: background 0.2s, border-color 0.2s;
  }
  .page-nav-mobile-close:hover {
    background: rgba(15, 14, 11, 0.06);
  }
  .page-nav-mobile-close svg {
    width: 18px;
    height: 18px;
  }
  .page-nav-mobile-drawer-cta {
    margin-top: 32px;
    display: inline-block;
    background: var(--coal, #11100e);
    color: var(--off-white, #f9f9f0) !important;
    border-radius: 10px;
    padding: 16px 28px;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    border-bottom: none !important;
  }
  .page-hero {
    padding: 140px 4% 80px;
  }

  .pg-timeline {
    flex-direction: column;
    gap: 32px;
    padding-top: 0;
  }
  .pg-timeline::before {
    display: none;
  }
}

@media (max-width: 767px) {
  .pg-grid-3,
  .pg-grid-4 {
    grid-template-columns: 1fr;
  }
  .pg-section {
    padding: 80px 5%;
  }
  .pg-section--tight {
    padding: 60px 5%;
  }
  .pg-section--spacious {
    padding: 100px 5%;
  }
  .page-hero h1 {
    font-size: clamp(40px, 12vw, 80px);
  }
  .pg-heading h2 {
    font-size: clamp(32px, 8vw, 60px);
  }
  .pg-cta-section h2 {
    font-size: clamp(36px, 10vw, 80px);
  }
  .pg-footer-brand .footer-logo-img {
    width: clamp(150px, 75vw, 700px);
  }
  .pg-footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .pg-footer-nav {
    flex-direction: column;
    gap: 12px;
  }
  .pg-footer-legal {
    flex-direction: column;
    align-items: flex-start;
  }
  .pg-form-row {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════
   IMPRINT PAGE
   ═══════════════════════════════════════════════════ */

.imprint-hero {
  background: var(--off-black, #0f0e0b);
  padding: 160px max(24px, calc(50vw - 560px)) 100px;
  position: relative;
  overflow: hidden;
}
.imprint-hero::after {
  content: 'IMPRINT';
  position: absolute;
  bottom: -0.15em;
  right: -0.02em;
  font-family: 'Anton', 'Impact', sans-serif;
  font-size: clamp(120px, 20vw, 280px);
  line-height: 1;
  color: rgba(249, 249, 240, 0.04);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.01em;
}
.imprint-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.imprint-overline {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--tan, #9d937c);
  margin-bottom: 20px;
}
.imprint-headline {
  font-family: 'Anton', 'Impact', sans-serif;
  font-size: clamp(72px, 12vw, 160px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--off-white, #f9f9f0);
  margin: 0 0 28px;
}
.imprint-sub {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--tan, #9d937c);
  line-height: 1.6;
}

/* Content area */
.imprint-body {
  background: var(--off-white, #f9f9f0);
  padding: 80px max(24px, calc(50vw - 560px)) 120px;
}
.imprint-inner {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Address card — dark featured block */
.imprint-address-card {
  background: var(--dark-brown, #21201c);
  border-radius: 16px;
  padding: 40px 48px;
  margin-bottom: 56px;
}
.imprint-card-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tan, #9d937c);
  margin-bottom: 20px;
}
.imprint-address-name {
  font-family: 'Anton', 'Impact', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--cream, #efecca);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.imprint-address-lines {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: var(--sand, #ccc5a3);
}

/* Detail rows */
.imprint-rows {
  display: flex;
  flex-direction: column;
}
.imprint-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(157, 147, 124, 0.18);
  align-items: baseline;
}
.imprint-row--last {
  border-bottom: none;
}
.imprint-row-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tan, #9d937c);
  padding-top: 2px;
}
.imprint-row-value {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--off-black, #0f0e0b);
  line-height: 1.6;
}
.imprint-row-meta {
  font-size: 13px;
  font-weight: 400;
  color: var(--tan, #9d937c);
  display: block;
  margin-top: 4px;
}
.imprint-link {
  color: var(--off-black, #0f0e0b);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(157, 147, 124, 0.5);
  transition: text-decoration-color 0.2s;
}
.imprint-link:hover {
  text-decoration-color: var(--off-black, #0f0e0b);
}

@media (max-width: 767px) {
  .imprint-hero {
    padding: 140px 24px 72px;
  }
  .imprint-body {
    padding: 56px 24px 80px;
  }
  .imprint-address-card {
    padding: 28px 24px;
    margin-bottom: 40px;
  }
  .imprint-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 20px 0;
  }
}
