/*
  FTG Accounting landing page
  Traditional accounting feel: restrained palette, serif headings, clean spacing.
*/

:root {
  --bg: #0b1220;
  --surface: #0f1a30;
  --paper: #ffffff;
  --paper-2: #f5f7fb;
  --ink: #0c1424;
  --muted: #5a667a;
  --muted-2: #7f8aa0;
  --line: rgba(12, 20, 36, 0.12);

  --navy: #0a2a5e;
  --navy-2: #0b3b86;
  --accent: #c8a24a; /* subtle gold */
  --accent-2: #e2c77a;

  --shadow: 0 10px 30px rgba(12, 20, 36, 0.12);
  --radius: 16px;
  --radius-sm: 12px;

  --container: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 20% -10%, rgba(10, 42, 94, 0.10), transparent 60%),
    radial-gradient(900px 400px at 85% 10%, rgba(200, 162, 74, 0.10), transparent 55%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.5;
}

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

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

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  background: var(--navy);
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 9999;
  box-shadow: var(--shadow);
}
.skip-link:focus {
  top: 12px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(12, 20, 36, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  height: 58px;
  width: auto;
  max-width: 520px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  border: 0;
  padding: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link {
  font-size: 14px;
  color: rgba(12, 20, 36, 0.82);
  padding: 10px 10px;
  border-radius: 10px;
}
.nav-link:hover {
  background: rgba(10, 42, 94, 0.06);
  color: var(--navy);
}
.nav-link[aria-current="page"] {
  background: rgba(200, 162, 74, 0.14);
  color: var(--navy);
}

.nav-cta {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  box-shadow: 0 12px 24px rgba(10, 42, 94, 0.18);
}
.nav-cta:hover {
  filter: brightness(1.05);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(12, 20, 36, 0.12);
  background: rgba(255, 255, 255, 0.8);
}

.nav-toggle-bars {
  width: 18px;
  height: 2px;
  background: rgba(12, 20, 36, 0.82);
  position: relative;
  border-radius: 2px;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: rgba(12, 20, 36, 0.82);
  border-radius: 2px;
}
.nav-toggle-bars::before {
  top: -6px;
}
.nav-toggle-bars::after {
  top: 6px;
}

/* Hero */
.hero {
  padding: 56px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(200, 162, 74, 0.16);
  border: 1px solid rgba(200, 162, 74, 0.26);
  padding: 8px 12px;
  border-radius: 999px;
}

.hero h1 {
  margin: 14px 0 12px;
  font-family: "Libre Baskerville", Georgia, "Times New Roman", Times, serif;
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.lead {
  margin: 0;
  color: rgba(12, 20, 36, 0.76);
  font-size: 16px;
  max-width: 58ch;
}

.hero-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 14px;
  transition: transform 120ms ease, filter 120ms ease, background 120ms ease, border-color 120ms ease;
}
.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  box-shadow: 0 16px 34px rgba(10, 42, 94, 0.22);
}
.btn-primary:hover {
  filter: brightness(1.06);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(12, 20, 36, 0.14);
  color: rgba(12, 20, 36, 0.84);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.95);
}

.hero-media {
  display: grid;
  gap: 14px;
  justify-items: end;
}

.media-card {
  width: min(460px, 100%);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(12, 20, 36, 0.10);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.9);
}

/* Sections */
.section {
  padding: 54px 0;
}
.section-alt {
  background: rgba(10, 42, 94, 0.04);
  border-top: 1px solid rgba(12, 20, 36, 0.06);
  border-bottom: 1px solid rgba(12, 20, 36, 0.06);
}

.section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}
.section-head h2 {
  margin: 0;
  font-family: "Libre Baskerville", Georgia, "Times New Roman", Times, serif;
  font-size: 28px;
  letter-spacing: -0.01em;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 70ch;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.card {
  padding: 18px 16px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(12, 20, 36, 0.10);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 26px rgba(12, 20, 36, 0.08);
}
.card h3 {
  margin: 12px 0 8px;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.card p {
  margin: 0 0 12px;
  color: rgba(12, 20, 36, 0.74);
  font-size: 14px;
}

.card-img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(12, 20, 36, 0.10);
  background: #fff;
  box-shadow: 0 10px 20px rgba(10, 42, 94, 0.12);
}

.checklist {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.checklist li {
  position: relative;
  padding-left: 26px;
  color: rgba(12, 20, 36, 0.76);
  font-size: 13px;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: rgba(200, 162, 74, 0.20);
  border: 1px solid rgba(200, 162, 74, 0.35);
}
.checklist li::after {
  content: "✓";
  position: absolute;
  left: 4px;
  top: -1px;
  font-size: 12px;
  color: var(--navy);
  font-weight: 800;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.step {
  padding: 18px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(12, 20, 36, 0.10);
  background: rgba(255, 255, 255, 0.85);
}
.step-num {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(10, 42, 94, 0.12), rgba(200, 162, 74, 0.18));
  border: 1px solid rgba(12, 20, 36, 0.10);
  font-weight: 800;
  color: var(--navy);
}
.step h3 {
  margin: 12px 0 6px;
  font-size: 16px;
}
.step p {
  margin: 0;
  color: rgba(12, 20, 36, 0.74);
  font-size: 14px;
}

/* Split / Why us */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: start;
}
.split-copy h2 {
  margin: 0 0 8px;
  font-family: "Libre Baskerville", Georgia, "Times New Roman", Times, serif;
  font-size: 28px;
  letter-spacing: -0.01em;
}
.muted {
  color: var(--muted);
}

.bullets {
  margin: 14px 0 0;
  padding-left: 18px;
  color: rgba(12, 20, 36, 0.78);
}
.bullets li {
  margin: 10px 0;
}

.cta-strip {
  margin-top: 18px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(200, 162, 74, 0.30);
  background: rgba(200, 162, 74, 0.10);
}
.cta-title {
  margin: 0;
  font-weight: 800;
  color: var(--navy);
}
.cta-sub {
  margin: 2px 0 0;
  color: rgba(12, 20, 36, 0.72);
  font-size: 13px;
}

.split-media {
  padding: 16px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(12, 20, 36, 0.10);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 26px rgba(12, 20, 36, 0.08);
  display: grid;
  gap: 10px;
}

.stat {
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(12, 20, 36, 0.10);
  background: rgba(255, 255, 255, 0.85);
}
.stat-label {
  font-size: 12px;
  color: var(--muted-2);
}
.stat-value {
  margin-top: 4px;
  font-weight: 700;
  color: rgba(12, 20, 36, 0.88);
}

.split-img {
  margin-top: 6px;
  border-radius: 16px;
  border: 1px solid rgba(12, 20, 36, 0.10);
  overflow: hidden;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}
.contact-card {
  padding: 18px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(12, 20, 36, 0.10);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 26px rgba(12, 20, 36, 0.08);
}
.contact-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}
.contact-link {
  display: inline-flex;
  margin-top: 10px;
  font-weight: 800;
  color: var(--navy);
  border-bottom: 1px dashed rgba(10, 42, 94, 0.35);
  padding-bottom: 2px;
}
.contact-note {
  grid-column: 1 / -1;
  padding: 16px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(12, 20, 36, 0.10);
  background: rgba(255, 255, 255, 0.75);
}
.note-title {
  margin: 0 0 6px;
  font-weight: 800;
  color: rgba(12, 20, 36, 0.88);
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(12, 20, 36, 0.08);
  background: rgba(255, 255, 255, 0.7);
}
.footer-inner {
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-brand {
  font-family: "Libre Baskerville", Georgia, "Times New Roman", Times, serif;
  font-weight: 700;
}
.footer-meta {
  margin-top: 6px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: rgba(12, 20, 36, 0.72);
  font-size: 13px;
}
.footer-meta a:hover {
  color: var(--navy);
}
.dot {
  color: rgba(12, 20, 36, 0.26);
}

.footer-right {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.footer-copy {
  margin-top: 10px;
  display: block;
  color: rgba(12, 20, 36, 0.64);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.footer-certs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-cert {
  height: 84px;
  width: auto;
  border-radius: 10px;
  border: 0;
  background: transparent;
  padding: 0;
}

/* Mobile nav */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-media {
    justify-items: start;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .brand-logo {
    height: 52px;
    max-width: 260px;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .site-nav {
    position: fixed;
    top: 70px;
    left: 16px;
    right: 16px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(12, 20, 36, 0.10);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  body.nav-open .site-nav {
    display: flex;
  }
  .nav-link {
    padding: 12px 12px;
  }
  .nav-cta {
    text-align: center;
    justify-content: center;
  }
  .trust-row {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .cta-strip {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-right {
    justify-items: start;
  }
  .footer-certs {
    justify-content: flex-start;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn {
    transition: none;
  }
}

