@import url('https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@62..125,400..900&family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

:root {
  --color-background: #F6F5F1;
  --color-background-2: #FFFFFF;
  --color-background-3: #EEEDE8;
  --color-background-error: #FBE6E3;
  --color-background-success: #E3F1E6;
  --color-main-1: #1F2557;
  --color-main-2: #F29A1F;
  --color-main-3: #141838;
  --color-text: #1F2557;
  --color-text-2: #41445A;
  --color-text-3: #5E6170;
  --color-text-light: #D5D7E4;
  --color-text-muted: #8E92AE;
  --color-border: #D3D2CC;
  --color-border-2: #E6E5E0;
  --color-link: #1F2557;
  --color-label: #5E6170;
  --color-error: #9A2B1E;
  --color-success: #1B5E20;
  --font-main: 'IBM Plex Sans', system-ui, sans-serif;
  --font-title: 'Archivo', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  font-style: normal;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-link);
}

ul, ol {
  padding-left: 30px;
}

::selection {
  background: var(--color-main-2);
  color: var(--color-main-1);
}

:focus-visible {
  outline: 2px solid var(--color-main-2);
  outline-offset: 3px;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 800;
  font-stretch: 87%;
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--color-text);
  text-wrap: balance;
}

h1 {
  font-size: 90px;
  line-height: 0.96;
  @media (max-width: 1024px) {
    font-size: 60px;
  }
  @media (max-width: 767px) {
    font-size: 48px;
  }
}

h2 {
  font-size: 60px;
  @media (max-width: 1024px) {
    font-size: 48px;
  }
  @media (max-width: 767px) {
    font-size: 36px;
  }
}

h3 {
  font-size: 48px;
  @media (max-width: 1024px) {
    font-size: 36px;
  }
}

h4 {
  font-size: 36px;
  @media (max-width: 1024px) {
    font-size: 24px;
  }
}

h5 {
  font-size: 24px;
  @media (max-width: 1024px) {
    font-size: 18px;
  }
}

h6 {
  font-size: 18px;
  @media (max-width: 1024px) {
    font-size: 16px;
  }
}

p, span, li {
  font-size: 16px;
  font-weight: 400;
  line-height: 160%;
  color: var(--color-text);
}

p {
  text-wrap: pretty;
}

/* Accent words inside headings: the universal reset would otherwise put
   them in the body face (CONVENTIONS §11 gotcha). */
h1 em, h2 em, h3 em, h4 em {
  font-family: var(--font-title);
  font-style: normal;
  font-stretch: 87%;
  color: var(--color-main-2);
}

/* Small tracked mono label - eyebrows, tags, codes, coordinates */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-label);
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--color-main-2);
}

/* ==========================================================================
   SPACING SYSTEM
   ========================================================================== */

.mt-120 {
  margin-top: 120px;
  @media (max-width: 1360px) {
    margin-top: 60px;
  }
}

.mt-60 {
  margin-top: 60px;
  @media (max-width: 1360px) {
    margin-top: 30px;
  }
}

.mb-120 {
  margin-bottom: 120px;
  @media (max-width: 1360px) {
    margin-bottom: 60px;
  }
}

.mb-60 {
  margin-bottom: 60px;
  @media (max-width: 1360px) {
    margin-bottom: 30px;
  }
}

/* Standard gap between a section's title block and the content after it */
.mb-36 {
  margin-bottom: 36px;
  @media (max-width: 1360px) {
    margin-bottom: 24px;
  }
}

.pt-120 {
  padding-top: 120px;
  @media (max-width: 1360px) {
    padding-top: 60px;
  }
}

.pt-60 {
  padding-top: 60px;
  @media (max-width: 1360px) {
    padding-top: 30px;
  }
}

.pb-120 {
  padding-bottom: 120px;
  @media (max-width: 1360px) {
    padding-bottom: 60px;
  }
}

.pb-60 {
  padding-bottom: 60px;
  @media (max-width: 1360px) {
    padding-bottom: 30px;
  }
}

/* ==========================================================================
   BUTTON
   Square-cornered, like the brand's site-board look. The icon nudges on
   hover and a fill wipes in from the left.
   ========================================================================== */

.button {
  position: relative;
  width: fit-content;
  height: 60px;
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 0;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: color 0.35s var(--ease-out-expo), border-color 0.35s var(--ease-out-expo);
}

.button::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.5s var(--ease-out-expo);
}

.button:hover::before {
  transform: scaleX(1);
  transform-origin: left center;
}

.button span {
  color: inherit;
  font-weight: inherit;
}

.button i {
  font-size: 20px;
  line-height: 1;
  transition: transform 0.35s var(--ease-out-expo);
}

.button:hover i {
  transform: translateX(3px);
}

.button:disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* Signal orange with navy text - CTA accent only */
.button.btn-primary {
  background: var(--color-main-2);
  border-color: var(--color-main-2);
  color: var(--color-main-1);
}

.button.btn-primary::before {
  background: #FFFFFF;
}

.button.btn-primary:hover {
  border-color: #FFFFFF;
}

.button.btn-navy {
  background: var(--color-main-1);
  border-color: var(--color-main-1);
  color: #FFFFFF;
}

.button.btn-navy::before {
  background: var(--color-main-3);
}

.button.btn-navy:hover {
  border-color: var(--color-main-3);
}

/* Transparent + outlined in the current text color, so it reads on both
   light sections and dark/image backgrounds. Hover uses fixed tokens only
   (CONVENTIONS §30). */
.button.btn-ghost {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}

.button.btn-ghost::before {
  background: #FFFFFF;
}

.button.btn-ghost:hover {
  border-color: #FFFFFF;
  color: var(--color-main-1);
}

/* ==========================================================================
   NAV TOGGLE
   ========================================================================== */

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--color-border);
  font-size: 24px;
  color: var(--color-text);
  cursor: pointer;
}

/* ==========================================================================
   SCROLL TO TOP
   ========================================================================== */

.scroll-top-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-main-1);
  color: #FFFFFF;
  border: none;
  border-radius: 0;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease, color 0.2s ease;
  z-index: 98;
}

.scroll-top-btn.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: var(--color-main-2);
  color: var(--color-main-1);
}

/* ==========================================================================
   LINK ARROW
   <a class="link-arrow"><span>Label</span><i class="ri-arrow-right-line"></i></a>
   ========================================================================== */

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.link-arrow span {
  color: inherit;
  font-weight: inherit;
  font-size: inherit;
}

.link-arrow i {
  display: inline-block;
  font-size: 18px;
  line-height: 1;
  color: var(--color-main-2);
  transition: transform 0.35s var(--ease-out-expo);
}

.link-arrow:hover i {
  transform: translateX(4px);
}

/* ==========================================================================
   CONTACT ITEM
   <a class="contact-item"><i class="ri-mail-line"></i><span>hello@example.com</span></a>
   ========================================================================== */

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-item span {
  color: inherit;
}

.contact-item i {
  font-size: 18px;
  line-height: 1;
  color: var(--color-main-2);
}

/* ==========================================================================
   ACCORDION
   Single-open accordion driven by initFaqAccordion() in main.js.
   ========================================================================== */

.accordion-wrapper {
  display: flex;
  flex-direction: column;
}

.accordion-item {
  border-top: 2px solid var(--color-main-1);
}

.accordion-item:last-child {
  border-bottom: 1px solid var(--color-border);
}

.item-title-wrapper {
  padding: 24px 0;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  column-gap: 12px;
  align-items: center;
  cursor: pointer;
}

.item-title-wrapper .item-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-3);
}

.item-title-wrapper .item-question {
  font-family: var(--font-title);
  font-stretch: 87%;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  color: var(--color-main-1);
  transition: color 0.25s ease;
  @media (max-width: 767px) {
    font-size: 18px;
  }
}

.item-title-wrapper i {
  justify-self: end;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--color-main-1);
  border: 1px solid var(--color-border);
  transition: transform 0.4s var(--ease-out-expo), background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.item-title-wrapper:hover i {
  border-color: var(--color-main-1);
}

.item-description-wrapper {
  display: none;
}

.item-content {
  padding: 0 60px 30px 60px;
  @media (max-width: 767px) {
    padding: 0 0 24px 60px;
  }
}

.item-content p {
  max-width: 680px;
  color: var(--color-text-2);
}

.accordion-item.active .item-title-wrapper i {
  background: var(--color-main-2);
  border-color: var(--color-main-2);
  color: var(--color-main-1);
  transform: rotate(45deg);
}

/* ==========================================================================
   REVEAL
   Elements marked [data-reveal] start hidden only once JS confirms GSAP is
   available (html.has-gsap), so a no-JS visitor still sees everything.
   ========================================================================== */

.has-gsap [data-reveal] {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .has-gsap [data-reveal] {
    opacity: 1;
  }
}
