/* ============================================================
   SKYYN — Marketing Website Design System
   Luxury editorial. Warm accents. No gradients.
   ============================================================ */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Colors — mirrored from mobile/constants/design.ts */
  --color-bg: #F9F7F4;
  --color-surface: #FFFFFF;
  --color-dark: #000000;
  --color-text-primary: #111111;
  --color-text-secondary: #7A7A7A;
  --color-text-tertiary: #B0B0B0;
  --color-accent: #2D6A4F;
  --color-accent-warm: #B5882B;
  --color-divider: #E8E4DF;

  /* Spacing — 8pt grid */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 80px;
  --space-3xl: 120px;

  /* Typography */
  --font-editorial: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Radius */
  --radius-button: 14px;
  --radius-card: 16px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 200ms;
  --duration-normal: 300ms;
  --duration-slow: 600ms;

  /* Layout */
  --max-width: 1200px;
  --nav-height: 80px;

  /* Text on dark surfaces — WCAG-legible alternative to --color-text-secondary,
     which is a warm gray tuned for light backgrounds and reads as invisible
     on our near-black hero sections. */
  --color-text-on-dark: rgba(255, 255, 255, 0.78);
  --color-text-on-dark-muted: rgba(255, 255, 255, 0.55);
}


/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-primary);
  background-color: var(--color-bg);
}

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

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

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

ul, ol {
  list-style: none;
}

/* HTML `hidden` attribute must override any display rule we set below. */
[hidden] { display: none !important; }


/* --- Typography --- */
.t-editorial {
  font-family: var(--font-editorial);
  font-weight: 700;
  letter-spacing: -0.5px;
}

.t-editorial-lg {
  font-family: var(--font-editorial);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -1px;
}

.t-editorial-md {
  font-family: var(--font-editorial);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.t-editorial-sm {
  font-family: var(--font-editorial);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.3px;
}

.t-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.t-body {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
}

.t-body-lg {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
}

.t-caption {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.t-label {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}


/* --- Layout Utilities --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-3xl) 0;
}

.section--dark {
  background-color: var(--color-dark);
  color: #FFFFFF;
}

.section--light {
  background-color: var(--color-bg);
}

.section--surface {
  background-color: var(--color-surface);
}


/* --- Scroll Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }
.reveal-delay-5 { transition-delay: 500ms; }
.reveal-delay-6 { transition-delay: 600ms; }


/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background-color var(--duration-normal) ease,
              box-shadow var(--duration-normal) ease;
}

.nav--transparent {
  background-color: transparent;
}

.nav--solid {
  background-color: var(--color-dark);
  color: #FFFFFF;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08); /* Dark mode elegant border */
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  height: 64px;
  width: auto;
  display: block;
  margin-top: 25px;
  transition: opacity var(--duration-fast) ease;
}

.nav__logo:hover {
  opacity: 0.7;
}

.nav__logo--light {
  display: block;
}

.nav__logo--dark {
  display: none;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: opacity var(--duration-fast) ease;
}

.nav__link:hover {
  opacity: 0.6;
}

.nav--transparent .nav__link {
  color: #FFFFFF;
}

.nav--solid .nav__link {
  color: var(--color-text-primary);
}

.nav__cta {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 10px 24px;
  border-radius: var(--radius-button);
  transition: opacity var(--duration-fast) ease, transform var(--duration-fast) ease;
}

.nav__cta:hover {
  opacity: 0.85;
  transform: scale(0.98);
}

.nav--transparent .nav__cta {
  background-color: #FFFFFF;
  color: var(--color-dark);
}

.nav--solid .nav__cta {
  background-color: var(--color-dark);
  color: #FFFFFF;
}

/* Mobile hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  transition: transform var(--duration-normal) ease, opacity var(--duration-normal) ease;
}

.nav--transparent .nav__hamburger span {
  background-color: #FFFFFF;
}

.nav--solid .nav__hamburger span {
  background-color: var(--color-dark);
}

.nav__hamburger.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile menu */
.nav__mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  z-index: 99;
}

.nav__mobile-menu.open {
  display: flex;
}

.nav__mobile-menu .nav__link {
  color: var(--color-text-primary);
  font-size: 22px;
  font-weight: 500;
}

.nav__mobile-menu .nav__cta {
  background-color: var(--color-dark);
  color: #FFFFFF;
  font-size: 16px;
  padding: 14px 40px;
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: min(720px, 92vh);
  background-color: var(--color-dark);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  padding-top: var(--space-lg);
}

.hero__content {
  padding: var(--space-lg) 0;
}

.hero__eyebrow {
  color: var(--color-accent-warm);
  margin-bottom: var(--space-md);
}

.hero__title {
  color: #FFFFFF;
  margin-bottom: var(--space-md);
}

.hero__subtitle {
  color: var(--color-text-on-dark);
  max-width: 440px;
  margin-bottom: var(--space-xl);
}

.hero__badges {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
}

.hero__badge {
  height: 48px;
  width: auto;
  transition: opacity var(--duration-fast) ease, transform var(--duration-fast) ease;
  border-radius: 8px;
}

.hero__badge:hover {
  opacity: 0.85;
  transform: scale(0.98);
}

.hero__image-wrap {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero__image {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: cover;
  object-position: top center;
  max-height: min(640px, 78vh);
}

.hero__disclaimer {
  position: absolute;
  bottom: var(--space-lg);
  left: var(--space-md);
  right: var(--space-md);
  text-align: center;
  color: rgba(255,255,255,0.35);
  font-size: 11px;
}


/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
  padding: var(--space-3xl) 0;
}

.how-it-works__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.how-it-works__eyebrow {
  color: var(--color-accent-warm);
  margin-bottom: var(--space-sm);
}

.how-it-works__title {
  color: var(--color-text-primary);
}

.how-it-works__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  max-width: 960px;
  margin: 0 auto;
}

.step {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.step__number {
  font-family: var(--font-editorial);
  font-size: 48px;
  font-weight: 700;
  color: var(--color-accent);
  opacity: 0.2;
  line-height: 1;
}

.step__title {
  font-weight: 600;
  font-size: 18px;
  color: var(--color-text-primary);
}

.step__desc {
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 1.6;
  max-width: 280px;
}


/* ============================================================
   FEATURES
   ============================================================ */
.features {
  padding: var(--space-3xl) 0;
  background-color: var(--color-bg);
}

.features__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.features__eyebrow {
  color: var(--color-accent-warm);
  margin-bottom: var(--space-sm);
}

.features__title {
  color: var(--color-text-primary);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  max-width: 960px;
  margin: 0 auto;
}

.feature-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--color-divider);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}

.feature-card__image {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.feature-card__body {
  padding: var(--space-md);
}

.feature-card__eyebrow {
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.feature-card__title {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-xs);
}

.feature-card__desc {
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 1.6;
}


/* ============================================================
   SCORE PREVIEW
   ============================================================ */
.score-preview {
  padding: var(--space-3xl) 0;
  background-color: var(--color-dark);
  color: #FFFFFF;
  text-align: center;
}

.score-preview__header {
  margin-bottom: var(--space-2xl);
}

.score-preview__eyebrow {
  color: var(--color-accent-warm);
  margin-bottom: var(--space-sm);
}

.score-preview__title {
  color: #FFFFFF;
}

.score-preview__ring-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-xl);
}

/* CSS Score Ring — mirroring the app's ScoreRing component */
.score-ring {
  position: relative;
  width: 200px;
  height: 200px;
}

.score-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.score-ring__bg {
  fill: none;
  stroke: rgba(13, 13, 13, 0.08);
  stroke-width: 10;
}

.score-ring__fill {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 565;
  stroke-dashoffset: 565;
  transition: stroke-dashoffset 1.2s var(--ease-out);
}

.score-ring.animated .score-ring__fill {
  stroke-dashoffset: 73;
}

.score-ring__label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.score-ring__number {
  font-family: var(--font-editorial);
  font-size: 56px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.score-ring__text {
  font-size: 12px;
  color: var(--color-text-secondary);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* The ring renders on both light (how-it-works step 2) and dark
   (home score-preview) backgrounds. Base styles target the light case; these
   overrides restore visibility on the dark background. */
.section--dark .score-ring__bg {
  stroke: rgba(255, 255, 255, 0.12);
}

.section--dark .score-ring__text {
  color: var(--color-text-on-dark-muted);
}

/* Sub-score bars */
.sub-scores {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  max-width: 640px;
  margin: 0 auto;
}

.sub-score {
  text-align: center;
}

.sub-score__label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-text-on-dark);
  margin-bottom: var(--space-xs);
}

.sub-score__bar-track {
  height: 3px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: var(--space-xs);
}

.sub-score__bar-fill {
  height: 100%;
  background-color: var(--color-accent);
  border-radius: 2px;
  width: 0%;
  transition: width 0.8s var(--ease-out);
}

.sub-score.animated .sub-score__bar-fill {
  /* Width set via inline style */
}

.sub-score__value {
  font-family: var(--font-editorial);
  font-size: 24px;
  font-weight: 700;
  color: #FFFFFF;
}


/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: var(--space-2xl) 0;
  background-color: var(--color-bg);
}

.faq__container {
  max-width: 760px;
}

.faq__eyebrow {
  color: var(--color-accent-warm);
  margin-bottom: var(--space-sm);
  text-align: center;
}

.faq__title {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.faq__item {
  background-color: var(--color-surface, #FFFFFF);
  border: 1px solid var(--color-divider, rgba(0, 0, 0, 0.08));
  border-radius: 12px;
  padding: var(--space-md) var(--space-lg);
}

.faq__item[open] {
  border-color: var(--color-text-primary);
}

.faq__question {
  font-size: 17px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--color-text-primary);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 32px;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--color-text-secondary);
  transition: transform 0.2s ease;
}

.faq__item[open] .faq__question::after {
  content: '–';
}

.faq__answer {
  margin-top: var(--space-sm);
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.faq__answer p {
  margin: 0;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: var(--space-2xl) 0;
  background-color: var(--color-bg);
  text-align: center;
}

.testimonials__eyebrow {
  color: var(--color-accent-warm);
  margin-bottom: var(--space-sm);
}

.testimonials__title {
  margin-bottom: var(--space-md);
}

.testimonials__body {
  max-width: 560px;
  margin: 0 auto;
  color: var(--color-text-secondary);
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  padding: var(--space-2xl) 0;
  background-color: var(--color-bg);
}

.stats__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.stat {
  padding: var(--space-lg);
  position: relative;
}

.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 48px;
  background-color: var(--color-divider);
}

.stat__number {
  font-family: var(--font-editorial);
  font-size: 40px;
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat__label {
  font-size: 14px;
  color: var(--color-text-secondary);
}


/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  padding: var(--space-3xl) 0;
  background-color: var(--color-dark);
  text-align: center;
}

.cta-banner__title {
  color: #FFFFFF;
  margin-bottom: var(--space-md);
}

.cta-banner__subtitle {
  color: var(--color-text-on-dark);
  max-width: 480px;
  margin: 0 auto var(--space-xl);
}

.cta-banner__badges {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.cta-banner__disclaimer {
  color: rgba(255, 255, 255, 0.35);
  font-size: 12px;
  max-width: 400px;
  margin: 0 auto;
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background-color: var(--color-dark);
  padding: var(--space-xl) 0 var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-xl);
  align-items: start;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__logo {
  height: 56px;
  width: auto;
}

.footer__tagline {
  color: var(--color-text-on-dark-muted);
  font-size: 14px;
  max-width: 300px;
}

.footer__nav {
  display: flex;
  gap: var(--space-xl);
}

.footer__col-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-text-on-dark);
  margin-bottom: var(--space-sm);
}

.footer__col-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer__col-link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--duration-fast) ease;
}

.footer__col-link:hover {
  color: #FFFFFF;
}

.footer__bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md) 0;
  margin-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copyright {
  font-size: 13px;
  color: var(--color-text-on-dark-muted);
}

.footer__email {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--duration-fast) ease;
}

.footer__email:hover {
  color: #FFFFFF;
}


/* ============================================================
   LEGAL / CONTENT PAGES (Privacy, Terms, About)
   ============================================================ */
.page-header {
  background-color: var(--color-dark);
  padding: calc(var(--nav-height) + var(--space-2xl)) 0 var(--space-2xl);
  text-align: center;
}

.page-header__title {
  color: #FFFFFF;
}

.page-header__subtitle {
  color: var(--color-text-on-dark);
  margin-top: var(--space-sm);
}

.legal-content {
  padding: var(--space-2xl) 0 var(--space-3xl);
}

.legal-content__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.legal-content h2 {
  font-family: var(--font-editorial);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.3px;
}

.legal-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-xs);
}

.legal-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-sm);
}

.legal-content ul {
  padding-left: var(--space-md);
  margin-bottom: var(--space-sm);
}

.legal-content ul li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xs);
  list-style: disc;
}

.legal-content a {
  color: var(--color-text-primary);
  font-weight: 500;
  border-bottom: 1px solid var(--color-divider);
  transition: border-color var(--duration-fast) ease;
}

.legal-content a:hover {
  border-color: var(--color-text-primary);
}

.legal-content .last-updated {
  font-size: 14px;
  color: var(--color-text-tertiary);
  margin-bottom: var(--space-xl);
}


/* ============================================================
   SUPPORT / FAQ
   ============================================================ */
.support-hero {
  background-color: var(--color-dark);
  padding: calc(var(--nav-height) + var(--space-2xl)) 0 var(--space-2xl);
  text-align: center;
}

.support-hero__title {
  color: #FFFFFF;
  margin-bottom: var(--space-sm);
}

.support-hero__subtitle {
  color: var(--color-text-secondary);
  max-width: 480px;
  margin: 0 auto;
}

/* ============================================================
   SUPPORT — editorial two-column contact section
   ============================================================ */
.support {
  padding: var(--space-3xl) 0;
  background-color: var(--color-bg);
  position: relative;
}

.support__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.support__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: var(--space-sm);
}

.support__eyebrow {
  color: var(--color-accent-warm);
  margin: 0 0 var(--space-sm);
}

.support__title {
  color: var(--color-text-primary);
  margin: 0 0 var(--space-md);
  line-height: 1.05;
}

.support__subtitle {
  color: var(--color-text-secondary);
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 var(--space-xl);
  max-width: 440px;
}

.support__divider {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  width: 100%;
  max-width: 360px;
}

.support__divider-line {
  flex: 1;
  height: 1px;
  background-color: var(--color-divider);
}

.support__divider-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.8px;
  color: var(--color-text-tertiary);
  white-space: nowrap;
}

.support__email {
  font-family: var(--font-editorial);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--color-text-primary);
  border-bottom: 2px solid var(--color-divider);
  padding-bottom: 4px;
  margin-top: var(--space-xs);
  letter-spacing: -0.5px;
  transition: border-color var(--duration-fast) ease;
  align-self: flex-start;
}

.support__email:hover {
  border-bottom-color: var(--color-text-primary);
}

.support__response-time {
  color: var(--color-text-tertiary);
  font-size: 13px;
  margin: var(--space-sm) 0 0;
}

.support__form-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: 24px;
  padding: var(--space-lg);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03), 0 8px 24px rgba(0, 0, 0, 0.04);
}


/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: var(--space-2xl) 0 var(--space-3xl);
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-divider);
}

.faq__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.faq__title {
  text-align: center;
  margin-bottom: var(--space-xl);
  color: var(--color-text-primary);
}

.faq-item {
  border-bottom: 1px solid var(--color-divider);
}

.faq-item:first-child {
  border-top: 1px solid var(--color-divider);
}

.faq-item__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
  width: 100%;
  padding: var(--space-md) 0;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  color: var(--color-text-primary);
  text-align: left;
  cursor: pointer;
  transition: color var(--duration-fast) ease;
  line-height: 1.4;
}

.faq-item__question:hover {
  color: var(--color-text-secondary);
}

.faq-item__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--duration-normal) ease;
}

.faq-item__icon line {
  stroke: var(--color-text-secondary);
  stroke-width: 2;
  stroke-linecap: round;
}

.faq-item.open .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-normal) ease;
}

.faq-item.open .faq-item__answer {
  max-height: 600px;
}

.faq-item__answer-inner {
  padding-bottom: var(--space-md);
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-secondary);
}


/* Support — responsive breakpoints */
@media (max-width: 900px) {
  .support__inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .support__intro {
    padding-top: 0;
  }
  .support__title br {
    display: none;
  }
}

@media (max-width: 640px) {
  .support {
    padding: var(--space-2xl) 0;
  }
  .support__form-card {
    padding: var(--space-md);
    border-radius: 20px;
  }
  .support__subtitle {
    font-size: 16px;
    margin-bottom: var(--space-lg);
  }
  .support__divider {
    max-width: 100%;
  }
  .faq {
    padding: var(--space-xl) 0 var(--space-2xl);
  }
  .faq-item__question {
    font-size: 16px;
    padding: var(--space-sm) 0;
  }
}


/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  background-color: var(--color-dark);
  padding: calc(var(--nav-height) + var(--space-2xl)) 0 0;
  overflow: hidden;
}

.about-hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: end;
}

.about-hero__content {
  padding-bottom: var(--space-2xl);
}

.about-hero__eyebrow {
  color: var(--color-accent-warm);
  margin-bottom: var(--space-md);
}

.about-hero__title {
  color: #FFFFFF;
  margin-bottom: var(--space-md);
}

.about-hero__subtitle {
  color: var(--color-text-on-dark);
  max-width: 440px;
}

.about-hero__image {
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: cover;
  justify-self: end;
}

.about-content {
  padding: var(--space-2xl) 0 var(--space-3xl);
}

.about-content__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.about-content h2 {
  font-family: var(--font-editorial);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.about-content p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-sm);
}

.about-scores {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
  margin: var(--space-xl) 0;
}

.about-score {
  text-align: center;
  padding: var(--space-md);
  background-color: var(--color-surface);
  border-radius: var(--radius-card);
  border: 1px solid var(--color-divider);
}

.about-score__name {
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xs);
}

.about-score__label {
  font-family: var(--font-editorial);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-primary);
}

.about-cta {
  text-align: center;
  padding: var(--space-2xl) 0;
  background-color: var(--color-dark);
}

.about-cta__title {
  color: #FFFFFF;
  margin-bottom: var(--space-md);
}

.about-cta__badges {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.about-cta__disclaimer {
  color: rgba(255, 255, 255, 0.35);
  font-size: 12px;
}


/* ============================================================
   404 PAGE
   ============================================================ */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--color-bg);
  padding: var(--space-md);
}

.error-page__code {
  font-family: var(--font-editorial);
  font-size: 120px;
  font-weight: 700;
  color: var(--color-divider);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.error-page__title {
  color: var(--color-text-primary);
  margin-bottom: var(--space-xs);
}

.error-page__subtitle {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
}

.btn-primary {
  display: inline-block;
  padding: 14px 40px;
  background-color: var(--color-dark);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-button);
  transition: opacity var(--duration-fast) ease, transform var(--duration-fast) ease;
}

.btn-primary:hover {
  opacity: 0.85;
  transform: scale(0.98);
}


/* ============================================================
   HOW IT WORKS PAGE
   ============================================================ */
.hiw-hero {
  padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-3xl);
  text-align: center;
}

.hiw-hero__eyebrow {
  color: var(--color-accent-warm);
  margin-bottom: var(--space-sm);
}

.hiw-hero__title {
  color: #FFFFFF;
  margin-bottom: var(--space-md);
}

.hiw-hero__subtitle {
  color: var(--color-text-on-dark);
  max-width: 560px;
  margin: 0 auto;
}

/* Step section layout */
.hiw-step {
  padding: var(--space-3xl) 0;
}

.hiw-step__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.hiw-step--reversed .hiw-step__inner {
  direction: rtl;
}

.hiw-step--reversed .hiw-step__inner > * {
  direction: ltr;
}

.hiw-step__image {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: var(--radius-card);
  object-fit: cover;
}

.hiw-step__score-demo {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 320px;
}

.hiw-step__number {
  font-family: var(--font-editorial);
  font-size: 72px;
  font-weight: 700;
  color: var(--color-accent);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: var(--space-sm);
  display: block;
}

.hiw-step__title {
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
}

.hiw-step__desc {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
}

/* Tips (Step 1) */
.hiw-step__tips {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.hiw-tip {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  padding: var(--space-sm);
  background-color: var(--color-surface);
  border-radius: 12px;
  border: 1px solid var(--color-divider);
}

.hiw-tip__icon {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg);
  border-radius: 8px;
}

.hiw-tip__title {
  font-weight: 600;
  font-size: 15px;
  color: var(--color-text-primary);
  margin-bottom: 2px;
}

.hiw-tip__desc {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* Score items (Step 2) */
.hiw-step__scores-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.hiw-score-item {
  padding: var(--space-sm);
  background-color: var(--color-bg);
  border-radius: 12px;
  border: 1px solid var(--color-divider);
}

.hiw-score-item__name {
  font-weight: 600;
  font-size: 15px;
  color: var(--color-accent);
  margin-bottom: 2px;
}

.hiw-score-item__label {
  font-size: 13px;
  color: var(--color-text-secondary);
}

/* Features (Step 3) */
.hiw-step__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.hiw-feature {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-divider);
}

.hiw-feature:last-child {
  border-bottom: none;
}

.hiw-feature__title {
  font-weight: 600;
  font-size: 15px;
  color: var(--color-text-primary);
  margin-bottom: 2px;
}

.hiw-feature__desc {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}


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

/* Tablet */
@media (max-width: 768px) {
  :root {
    --space-2xl: 64px;
    --space-3xl: 80px;
  }

  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
    padding-top: calc(var(--nav-height) + var(--space-xl));
    padding-bottom: var(--space-xl);
  }

  .hero__content {
    order: 2;
    padding: 0;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__badges {
    justify-content: center;
  }

  .hero__image-wrap {
    order: 1;
    height: 50vh;
  }

  .hero__image {
    max-height: 50vh;
  }

  .hero__disclaimer {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin-top: var(--space-md);
    order: 3;
  }

  .how-it-works__steps {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    max-width: 400px;
  }

  .features__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .sub-scores {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats__inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .stat:not(:last-child)::after {
    display: none;
  }

  .stat {
    padding: var(--space-sm) var(--space-lg);
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer__nav {
    gap: var(--space-lg);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-xs);
    text-align: center;
  }

  .about-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .about-hero__image {
    max-width: 320px;
    margin: 0 auto;
  }

  .about-scores {
    grid-template-columns: repeat(2, 1fr);
  }

  /* HIW page responsive */
  .hiw-step__inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .hiw-step--reversed .hiw-step__inner {
    direction: ltr;
  }

  .hiw-step__image {
    max-width: 100%;
  }

  .hiw-step__number {
    font-size: 56px;
  }

  .hiw-step__scores-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile small */
@media (max-width: 480px) {
  :root {
    --space-2xl: 48px;
    --space-3xl: 64px;
  }

  .hero__badges {
    flex-direction: column;
    align-items: center;
  }

  .hero__badge {
    height: 44px;
  }

  .feature-card__image {
    height: 180px;
  }

  .sub-scores {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .footer__nav {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .cta-banner__badges {
    flex-direction: column;
    align-items: center;
  }

  .about-cta__badges {
    flex-direction: column;
    align-items: center;
  }

  .about-scores {
    grid-template-columns: 1fr 1fr;
  }
}


/* ============================================================
   BUTTONS (shared system)
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.2px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color var(--duration-fast) ease, color var(--duration-fast) ease,
              opacity var(--duration-fast) ease, transform var(--duration-fast) ease,
              border-color var(--duration-fast) ease;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn--primary {
  background-color: var(--color-dark);
  color: #fff;
}

.btn--primary:hover:not(:disabled) {
  transform: scale(0.98);
  opacity: 0.9;
}

.btn--on-dark {
  background-color: #fff;
  color: var(--color-dark);
}

.btn--on-dark:hover:not(:disabled) {
  transform: scale(0.98);
  opacity: 0.92;
}

.btn--ghost {
  background-color: transparent;
  color: var(--color-text-primary);
  border-color: var(--color-divider);
}

.btn--ghost:hover:not(:disabled) {
  border-color: var(--color-text-primary);
}

.btn--full {
  width: 100%;
}


/* ============================================================
   HERO CTA GROUP
   ============================================================ */
.hero__cta-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-sm);
}

.hero__cta-note {
  color: var(--color-text-on-dark-muted);
  margin: 0;
  max-width: 360px;
}

.cta-banner__cta-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.cta-banner__cta-group .btn {
  padding: 0 36px;
  min-height: 52px;
}


/* ============================================================
   FORMS
   ============================================================ */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-primary);
  letter-spacing: 0.2px;
}

.field__hint {
  color: var(--color-text-tertiary);
  font-weight: 400;
  margin-left: 6px;
}

.field__input {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text-primary);
  background-color: var(--color-bg);
  border: 1px solid var(--color-divider);
  border-radius: 12px;
  padding: 14px 16px;
  width: 100%;
  transition: border-color var(--duration-fast) ease, background-color var(--duration-fast) ease;
}

.field__input:focus {
  outline: none;
  border-color: var(--color-text-primary);
  background-color: var(--color-surface);
}

.field__input::placeholder {
  color: var(--color-text-tertiary);
}

.field__input--textarea {
  resize: vertical;
  min-height: 96px;
  line-height: 1.5;
  font-family: var(--font-body);
}

/* Honeypot — visually hidden, accessibility-safe */
.field-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__error {
  color: #C0392B;
  font-size: 13px;
  background-color: rgba(192, 57, 43, 0.08);
  border-radius: 10px;
  padding: 10px 12px;
  margin: 0;
}

.form__submit {
  margin-top: var(--space-xs);
}

.form__privacy {
  color: var(--color-text-tertiary);
  text-align: center;
  margin: 0;
  line-height: 1.5;
}

.form__success {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  text-align: center;
  padding: var(--space-md) 0;
}

.form__success-title {
  color: var(--color-text-primary);
  margin: 0;
}

.form__success-body {
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin: 0 auto var(--space-sm);
  max-width: 360px;
}


/* ============================================================
   MOBILE — hero CTA
   ============================================================ */
@media (max-width: 640px) {
  .hero__cta-group {
    align-items: stretch;
  }
}
