/* ============================================================
   FANTASY BANK — styles.css
   ============================================================ */

/* 1. TOKENS + THEME */
:root {
  /* Fluid type scale */
  --text-xs: clamp(.75rem, .7rem + .25vw, .875rem);
  --text-sm: clamp(.875rem, .8rem + .35vw, 1rem);
  --text-base: clamp(1rem, .95rem + .25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + .75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(3rem, .5rem + 7vw, 8rem);

  /* Spacing */
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  /* Fonts */
  --font-display: 'Clash Display', 'Cabinet Grotesk', system-ui, sans-serif;
  --font-body: 'Satoshi', system-ui, sans-serif;

  /* Light theme colors */
  --bg: #F5F4F0;
  --surface: #FFFFFF;
  --ink: #0D1B2A;
  --ink-2: #2E3D4F;
  --muted: #8A9BAD;
  --line: #D6D9DC;
  --accent: #2D6A4F;
  --accent-deep: #1B4332;
  --accent-soft: #D8EDDF;

  /* Navy hero vars */
  --navy: #0D1B2A;
  --navy-mid: #162336;
}

[data-theme="dark"] {
  --bg: #0D1B2A;
  --surface: #162336;
  --ink: #F0EEE8;
  --ink-2: #B8C8D8;
  --muted: #607080;
  --line: #243447;
  --accent: #3A8C66;
  --accent-deep: #2D6A4F;
  --accent-soft: #1A3328;
}

/* 2. RESET + BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.25s ease, color 0.25s ease;
}

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

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

ul, ol {
  list-style: none;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* 3. UTILITIES */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: var(--space-8);
  padding-right: var(--space-8);
}

.section-heading {
  font-size: var(--text-2xl);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.01em;
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-sm);
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.12s ease;
  min-height: 44px;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

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

.btn--primary:hover {
  background-color: var(--accent-deep);
  transform: translateY(-1px);
}

.btn--ghost {
  background-color: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.45);
}

.btn--ghost:hover {
  background-color: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.7);
}

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

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* 4. HEADER / NAV */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: var(--surface);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  max-width: 1240px;
  margin: 0 auto;
  padding: var(--space-4) var(--space-8);
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--ink);
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo svg {
  flex-shrink: 0;
}

.nav-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  letter-spacing: -0.01em;
  color: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.15s ease;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.nav-cta {
  background-color: var(--accent) !important;
  color: #fff !important;
  padding: var(--space-2) var(--space-6);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 600;
  transition: background-color 0.18s ease !important;
}

.nav-cta:hover {
  background-color: var(--accent-deep) !important;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  color: var(--ink-2);
  transition: color 0.15s ease, background-color 0.15s ease;
}

.theme-toggle:hover {
  background-color: var(--bg);
  color: var(--ink);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.theme-icon { display: flex; }
.theme-icon--dark { display: none; }

[data-theme="dark"] .theme-icon--light { display: none; }
[data-theme="dark"] .theme-icon--dark { display: flex; }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  color: var(--ink);
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-burger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.nav-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 5. HERO */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--space-24);
  padding-top: 72px;
  overflow: hidden;
  background-color: var(--navy);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,27,42,0.55) 0%,
    rgba(13,27,42,0.4) 40%,
    rgba(13,27,42,0.85) 80%,
    rgba(13,27,42,0.97) 100%
  );
}

.hero-dollar {
  position: absolute;
  right: -0.05em;
  top: 50%;
  transform: translateY(-55%);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(12rem, 35vw, 40rem);
  color: rgba(255,255,255,0.04);
  line-height: 1;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--space-8);
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-6);
}

.hero-headline {
  font-size: var(--text-hero);
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-align: center;
  max-width: 14ch;
  margin: 0 auto var(--space-8);
}

.hero-subhead {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.75);
  max-width: 52ch;
  line-height: 1.55;
  text-align: center;
  margin: 0 auto var(--space-12);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* 6. ABOUT */
.about {
  padding: var(--space-24) 0;
  background-color: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: var(--space-16);
  align-items: start;
}

.about-left {
  position: sticky;
  top: calc(72px + var(--space-8));
}

.about-pull {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.03em;
  border-top: 3px solid var(--accent);
  padding-top: var(--space-6);
  margin-bottom: var(--space-8);
}

.about-stat-card {
  background-color: var(--accent);
  color: #fff;
  padding: var(--space-8) var(--space-8);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat-label {
  font-size: var(--text-sm);
  line-height: 1.4;
  opacity: 0.85;
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.about-img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-img-wrap:hover .about-img {
  transform: scale(1.03);
}

.about-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.about-body p {
  font-size: var(--text-base);
  color: var(--ink-2);
  line-height: 1.7;
}

.about-body strong {
  color: var(--ink);
  font-weight: 700;
}

/* 7. SERVICES */
.services {
  padding: var(--space-24) 0;
  background-color: var(--surface);
  border-top: 1px solid var(--line);
}

.services-header {
  margin-bottom: var(--space-12);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--space-6);
}

.service-card {
  background-color: var(--bg);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.service-card:hover {
  transform: translateY(-2px);
}

.service-card--large {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  padding: var(--space-12) var(--space-8);
  background-color: var(--navy);
  color: #fff;
}

[data-theme="dark"] .service-card--large {
  background-color: var(--accent-deep);
}

.service-card--sm {
  background-color: var(--bg);
}

.service-card__number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  opacity: 0.12;
  position: absolute;
  top: var(--space-4);
  right: var(--space-6);
  color: inherit;
}

.service-card--large .service-card__number {
  opacity: 0.15;
  color: #fff;
}

.service-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  height: 100%;
}

.service-card__title {
  font-size: var(--text-xl);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: inherit;
}

.service-card--sm .service-card__title {
  color: var(--ink);
}

.service-card__body {
  font-size: var(--text-base);
  line-height: 1.65;
  flex-grow: 1;
}

.service-card--large .service-card__body {
  color: rgba(255,255,255,0.75);
}

.service-card--sm .service-card__body {
  color: var(--ink-2);
}

.service-card__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-sm);
  background-color: var(--accent-soft);
  color: var(--accent-deep);
  align-self: flex-start;
  margin-top: auto;
}

.service-card--large .service-card__tag {
  background-color: var(--accent);
  color: #fff;
}

[data-theme="dark"] .service-card__tag {
  background-color: var(--accent-soft);
  color: var(--accent);
}

.services-footnote {
  margin-top: var(--space-8);
  font-size: var(--text-sm);
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: var(--space-6);
}

/* 8. HOW IT WORKS */
.how-it-works {
  padding: var(--space-24) 0;
  background-color: var(--bg);
  border-top: 1px solid var(--line);
}

.hiw-header {
  margin-bottom: var(--space-16);
}

.hiw-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.hiw-step {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  padding-right: var(--space-8);
}

.hiw-step__num {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.05em;
}

[data-theme="dark"] .hiw-step__num {
  color: var(--accent);
}

.hiw-step__connector {
  height: 2px;
  background-color: var(--line);
  position: relative;
  margin: 0;
}

.hiw-step__connector::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--accent);
}

.hiw-step__connector--last {
  background-color: transparent;
}

.hiw-step__connector--last::after {
  display: none;
}

.hiw-step__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.hiw-step__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.hiw-step__body {
  font-size: var(--text-base);
  color: var(--ink-2);
  line-height: 1.65;
}

/* 9. PRICING */
.pricing {
  padding: var(--space-24) 0;
  background-color: var(--navy);
  position: relative;
  overflow: hidden;
}

.pricing::before {
  content: '$';
  position: absolute;
  right: -0.05em;
  bottom: -0.1em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(12rem, 28vw, 32rem);
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
}

[data-theme="dark"] .pricing {
  background-color: #0A1520;
}

.pricing-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  position: relative;
  z-index: 1;
}

.pricing-left .section-heading {
  color: #FFFFFF;
  margin-bottom: var(--space-8);
}

.pricing-comparison {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  margin-bottom: var(--space-6);
  max-width: 44ch;
}

.pricing-footnote {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
}

.pricing-footnote a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pricing-footnote a:hover {
  color: #fff;
}

.pricing-card {
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-12) var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.pricing-card__amount {
  display: flex;
  align-items: flex-start;
  line-height: 1;
  gap: var(--space-1);
}

.pricing-card__dollar {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--accent);
  padding-top: 0.3em;
}

.pricing-card__number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4rem, 8vw, 7rem);
  color: var(--ink);
  letter-spacing: -0.05em;
  line-height: 1;
}

.pricing-card__period {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-top: calc(-1 * var(--space-3));
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  border-top: 1px solid var(--line);
  padding-top: var(--space-6);
}

.pricing-card__features li {
  font-size: var(--text-sm);
  color: var(--ink-2);
  padding-left: var(--space-6);
  position: relative;
}

.pricing-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* 10. FAQ */
.faq {
  padding: var(--space-24) 0;
  background-color: var(--bg);
  border-top: 1px solid var(--line);
}

.faq-header {
  margin-bottom: var(--space-12);
}

.faq-list {
  max-width: 760px;
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item:last-of-type {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-6) 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--ink);
  letter-spacing: -0.01em;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.faq-icon {
  font-size: var(--text-lg);
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

details[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding-bottom: var(--space-6);
  padding-right: var(--space-12);
}

.faq-answer p {
  font-size: var(--text-base);
  color: var(--ink-2);
  line-height: 1.7;
}

/* 11. BLOG */
.blog {
  padding: var(--space-24) 0;
  background-color: var(--surface);
  border-top: 1px solid var(--line);
}

.blog-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.blog-all-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.blog-all-link:hover {
  color: var(--accent-deep);
}

.blog-all-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--space-6);
}

.blog-card {
  background-color: var(--bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-2px);
}

.blog-card--lead {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.blog-card--secondary {
  grid-column: 2 / 3;
}

.blog-card__img-link {
  display: block;
}

.blog-card__img-wrap {
  overflow: hidden;
  aspect-ratio: 3/2;
}

.blog-card__img-wrap--sm {
  aspect-ratio: 3/2;
  max-height: 180px;
}

.blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.blog-card:hover .blog-card__img {
  transform: scale(1.04);
}

.blog-card__body {
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  flex-grow: 1;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.blog-tag {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background-color: var(--accent-soft);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-sm);
}

[data-theme="dark"] .blog-tag {
  background-color: var(--accent-soft);
  color: var(--accent);
}

.blog-date,
.blog-read {
  font-size: var(--text-xs);
  color: var(--muted);
}

.blog-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.blog-card__title a {
  color: inherit;
  text-decoration: none;
}

.blog-card__title a:hover {
  color: var(--accent);
}

.blog-card__title a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.blog-card__excerpt {
  font-size: var(--text-sm);
  color: var(--ink-2);
  line-height: 1.65;
}

/* 12. CONTACT */
.contact {
  padding: var(--space-24) 0;
  background-color: var(--bg);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: var(--space-16);
  align-items: start;
}

.contact-left {
  position: sticky;
  top: calc(72px + var(--space-8));
}

.contact-left .section-heading {
  margin-bottom: var(--space-6);
}

.contact-subhead {
  font-size: var(--text-base);
  color: var(--ink-2);
  line-height: 1.65;
  margin-bottom: var(--space-8);
}

.contact-email {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.15s ease;
}

.contact-email:hover {
  color: var(--accent-deep);
}

.contact-email:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.contact-note {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.55;
}

/* Form */
.contact-form {
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-12) var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  border: 1px solid var(--line);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--ink);
  letter-spacing: 0.01em;
}

.form-input,
.form-select,
.form-textarea {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--ink);
  background-color: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: var(--space-4);
  min-height: 44px;
  transition: border-color 0.15s ease;
  width: 100%;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  background-color: var(--surface);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted);
}

.form-select option {
  background-color: var(--surface);
  color: var(--ink);
}

.form-success {
  font-size: var(--text-sm);
  color: var(--accent);
  font-weight: 600;
  text-align: center;
  padding: var(--space-4);
  background-color: var(--accent-soft);
  border-radius: var(--radius-sm);
}

/* 13. FOOTER */
.site-footer {
  background-color: var(--navy);
  color: rgba(255,255,255,0.65);
  padding: var(--space-16) 0;
}

[data-theme="dark"] .site-footer {
  background-color: #080F18;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: var(--space-12);
  align-items: start;
}

.footer-logo {
  color: #fff;
  margin-bottom: var(--space-4);
}

.footer-logo .nav-wordmark {
  color: #fff;
}

.footer-tagline {
  font-size: var(--text-sm);
  line-height: 1.55;
  max-width: 36ch;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-nav a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  transition: color 0.15s ease;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-nav a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-legal p {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
}

.footer-legal p:first-child {
  color: rgba(255,255,255,0.55);
}

/* 14. RESPONSIVE */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 2fr;
    gap: var(--space-12);
  }

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

  .footer-legal {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: var(--space-6);
    padding-right: var(--space-6);
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--surface);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: var(--space-8) var(--space-8);
    gap: var(--space-2);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    z-index: 99;
  }

  .nav-links.nav-open {
    transform: translateX(0);
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    font-size: var(--text-lg);
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: var(--space-4);
    display: inline-flex !important;
  }

  .nav-burger {
    display: flex;
  }

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

  .about-left {
    position: static;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card--large {
    grid-column: 1;
    grid-row: auto;
  }

  .hiw-steps {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .hiw-step__connector {
    display: none;
  }

  .pricing-inner {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card--lead,
  .blog-card--secondary {
    grid-column: 1;
    grid-row: auto;
  }

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

  .contact-left {
    position: static;
  }

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

  .hero-headline {
    text-align: center;
  }

  .hero-subhead {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    text-align: center;
    justify-content: center;
  }

  .pricing-card__number {
    font-size: clamp(4rem, 16vw, 6rem);
  }
}

/* === VIBESITE-GUARDRAILS (auto, do not edit) === */
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
img, video, canvas, svg, iframe, table, pre { max-width: 100%; }
img, video, canvas { height: auto; }
body { overflow-wrap: break-word; }
@media (max-width: 640px) {
  .primary-nav.is-open,
  .primary-nav.open,
  .primary-nav.active,
  .nav-menu.is-open,
  .nav-menu.open,
  .nav-menu.active,
  .mobile-nav.is-open,
  .mobile-nav.open,
  .mobile-nav.active,
  nav.is-open,
  nav.open,
  nav.active,
  [data-nav].is-open,
  [data-nav="open"] {
    position: fixed !important; left: 0 !important; right: 0 !important;
    top: var(--vs-nav-top, 64px) !important; bottom: 0 !important;
    height: calc(100dvh - var(--vs-nav-top, 64px)) !important;
    min-height: calc(100dvh - var(--vs-nav-top, 64px)) !important; max-height: none !important;
    width: 100% !important; max-width: 100vw !important;
    background-color: var(--surface, var(--bg, #ffffff)) !important; background-image: none !important;
    backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
    overflow-y: auto !important; -webkit-overflow-scrolling: touch !important; z-index: 9999 !important;
  }
  .primary-nav.is-open > ul, .primary-nav.is-open > div > ul, .primary-nav.is-open ul,
  .primary-nav.open > ul, .primary-nav.open > div > ul, .primary-nav.open ul,
  .primary-nav.active > ul, .primary-nav.active > div > ul, .primary-nav.active ul,
  .nav-menu.is-open > ul, .nav-menu.is-open > div > ul, .nav-menu.is-open ul,
  .nav-menu.open > ul, .nav-menu.open > div > ul, .nav-menu.open ul,
  .nav-menu.active > ul, .nav-menu.active > div > ul, .nav-menu.active ul,
  .mobile-nav.is-open > ul, .mobile-nav.is-open > div > ul, .mobile-nav.is-open ul,
  .mobile-nav.open > ul, .mobile-nav.open > div > ul, .mobile-nav.open ul,
  .mobile-nav.active > ul, .mobile-nav.active > div > ul, .mobile-nav.active ul,
  nav.is-open > ul, nav.is-open > div > ul, nav.is-open ul,
  nav.open > ul, nav.open > div > ul, nav.open ul,
  nav.active > ul, nav.active > div > ul, nav.active ul,
  [data-nav].is-open > ul, [data-nav].is-open > div > ul, [data-nav].is-open ul,
  [data-nav="open"] > ul, [data-nav="open"] > div > ul, [data-nav="open"] ul {
    display: flex !important; flex-direction: column !important; height: auto !important;
    max-height: none !important; overflow: visible !important; width: 100% !important;
  }
  .primary-nav.is-open li, .primary-nav.is-open a,
  .primary-nav.open li, .primary-nav.open a,
  .primary-nav.active li, .primary-nav.active a,
  .nav-menu.is-open li, .nav-menu.is-open a,
  .nav-menu.open li, .nav-menu.open a,
  .nav-menu.active li, .nav-menu.active a,
  .mobile-nav.is-open li, .mobile-nav.is-open a,
  .mobile-nav.open li, .mobile-nav.open a,
  .mobile-nav.active li, .mobile-nav.active a,
  nav.is-open li, nav.is-open a,
  nav.open li, nav.open a,
  nav.active li, nav.active a,
  [data-nav].is-open li, [data-nav].is-open a,
  [data-nav="open"] li, [data-nav="open"] a { width: 100% !important; display: block !important; min-height: 44px !important; }
}
/* === END VIBESITE-GUARDRAILS === */
