:root {
  --ink: #0B1530;          /* navy text, matches the logo */
  --ink-soft: #4A5168;
  --brand: #F97316;        /* Nsure orange (logo gradient start) */
  --brand-light: #FDBA74;  /* logo gradient end */
  --brand-hover: #EA580C;
  --brand-deep: #C2410C;   /* same orange, darkened so text on white stays readable */
  --brand-tint: #FFF7ED;
  --line: #E6E8EE;
  --bg: #FFFFFF;
  --radius: 18px;
  --gutter: clamp(16px, 5.8vw, 116px);
  --font-display: "Inter Tight", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  border-radius: 12px;
  padding: .95em 1.4em;
  transition: transform .15s ease, background-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--brand { background: var(--brand); color: var(--ink); transition: none; }
.btn--brand:hover,
.btn--brand:active { background: var(--brand-hover); transform: none; box-shadow: none; }
.btn--dark { background: var(--ink); color: #fff; border-radius: 999px; }
.btn--dark:hover { background: #18244a; }
.btn--lg { font-size: 1.05rem; padding: 1.05em 1.7em; }
.btn span { transition: transform .2s ease; }
.btn:hover span { transform: translateX(3px); }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

/* ---------- Header (floating bar) ---------- */
.site-header {
  position: fixed;
  inset: 16px 16px auto 16px;
  z-index: 50;
  display: flex;
  justify-content: center;
}
.nav {
  width: 100%;
  max-width: 1120px;
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 6px 6px 6px 22px;
  box-shadow: 0 10px 30px -18px rgba(11, 21, 48, .35);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled .nav { box-shadow: 0 14px 40px -16px rgba(11, 21, 48, .4); }
.nav__logo img { height: 21px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 36px);
  list-style: none;
  margin: 0 auto;
  padding: 0;
}
.nav__links a:not(.btn) {
  position: relative;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink);
  padding: 6px 0;
}
.nav__links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav__links a:not(.btn):hover::after { transform: scaleX(1); }
.nav__cta { font-size: .95rem; padding: .8em 1.25em; border-radius: 10px; }
.nav__mobile-cta { display: none; }

.nav__toggle {
  display: none;
  margin-left: auto;
  width: 38px; height: 38px;
  border: 0; border-radius: 10px;
  background: var(--ink);
  cursor: pointer;
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 11px; right: 11px;
  height: 2px;
  background: #fff;
  transition: transform .25s ease, top .25s ease;
}
.nav__toggle span:first-child { top: 15px; }
.nav__toggle span:last-child { top: 21px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 18px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 18px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.hero__inner {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 140px var(--gutter) clamp(40px, 4.5vw, 72px);
}

.hero__title {
  margin: 48px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.2rem, 8.4vw, 9.5rem);
  line-height: .86;
  letter-spacing: -.055em;
  color: var(--ink);
}
.hero__title span { display: block; }

/* Bottom strip */
.hero__strip {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 160px;
}
.hero__cell {
  display: flex;
  align-items: center;
  padding: 32px var(--gutter);
}
.hero__cell + .hero__cell { padding-left: clamp(24px, 3vw, 60px); }
.hero__cell--tagline { border-right: 1px solid var(--line); }
.hero__cell--tagline p {
  margin: 0;
  font-size: clamp(1.4rem, 1.9vw, 2.2rem);
  font-weight: 600;
  text-wrap: balance;
  letter-spacing: -.02em;
}
.hero__cell--desc p {
  margin: 0;
  max-width: 34ch;
  font-size: clamp(1.05rem, 1.3vw, 1.4rem);
  line-height: 1.6;
  color: var(--ink-soft);
}
.hero__cell--cta { background: var(--brand); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { padding-left: 18px; }
  .nav__links a:not(.btn) { font-size: .92rem; }
}

@media (max-width: 900px) {
  .nav { padding: 6px 6px 6px 18px; }
  .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 10px;
    box-shadow: 0 20px 40px -20px rgba(11, 21, 48, .35);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav__links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a:not(.btn) { display: block; padding: 14px 12px; border-radius: 10px; }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__links a:not(.btn):hover { background: #F5F6F9; }
  .nav__mobile-cta { display: block; padding: 8px 2px 2px; }
  .nav__mobile-cta .btn { width: 100%; justify-content: center; }
  .site-header { position: fixed; }

  .hero__strip { grid-template-columns: 1fr; }
  .hero__cell { padding: 24px var(--gutter); }
  .hero__cell + .hero__cell { padding-left: var(--gutter); }
  .hero__cell--tagline { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 560px) {
  .hero__inner { padding-top: 116px; }
  .hero__title { font-size: clamp(2.9rem, 15.5vw, 5rem); line-height: .9; }
  .hero__cell--cta .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
