:root {
  --navy: #0b1326;
  --accent: #f6dbae;
  --muted: #5f6673;
  --line: #e7e9ee;
  --soft: #f8f9fb;
  --white: #ffffff;
  --font-main: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-secondary: Futura, "Futura PT", "Trebuchet MS", "Plus Jakarta Sans", sans-serif;
}

/*
  Fast Motion typography guide
  Main font: Plus Jakarta Sans for body, navigation, forms, and UI controls.
  Secondary font: Futura for brand text, hero titles, major section titles, and metric labels.

  Hero title: clamp(36px, 5vw, 64px), 0.96 line-height, 700 weight, Futura.
  Section title: clamp(24px, 3.5vw, 42px), 1.04 line-height, 700 weight, Futura.
  Card title: 18px desktop / 16px mobile, 1.18 line-height, 700 weight, Plus Jakarta Sans.
  Body large: 16-18px, 1.75 line-height, 500 weight, Plus Jakarta Sans.
  Body default: 14-15px, 1.65 line-height, 500-600 weight, Plus Jakarta Sans.
  Eyebrow: 12px, uppercase, 0.12em letter spacing, 700 weight, Futura.
  Button/Nav: 14-15px, 600 weight, Plus Jakarta Sans.
  Caption/Meta: 13-14px, 700 weight, Plus Jakarta Sans.
*/

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--navy);
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

.bg-motion-accent {
  background-color: var(--accent);
}

.bg-motion-dark,
.bg-motion-navy {
  background-color: var(--navy);
}

.bg-motion-soft {
  background-color: var(--soft);
}

.text-motion-accent {
  color: var(--accent);
}

.text-motion-dark,
.text-motion-navy {
  color: var(--navy);
}

.text-motion-muted {
  color: var(--muted);
}

.border-motion-line {
  border-color: var(--line);
}

.hover\:bg-motion-accent\/80:hover {
  background-color: rgba(246, 219, 174, 0.8);
}

.hover\:text-motion-dark:hover {
  color: var(--navy);
}

.mobile-menu-trigger {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.mobile-menu-trigger:hover {
  border-color: rgba(11, 19, 38, 0.22);
  background: var(--soft);
  transform: translateY(-1px);
}

.mobile-menu-trigger .close-icon {
  display: none;
}

.mobile-menu-trigger[aria-expanded="true"] .menu-icon {
  display: none;
}

.mobile-menu-trigger[aria-expanded="true"] .close-icon {
  display: block;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(11, 19, 38, 0.08);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.mobile-menu-link {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 0 18px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 750;
  transition: background 180ms ease, color 180ms ease, padding 180ms ease;
}

.mobile-menu-link:last-child {
  border-bottom: 0;
}

.mobile-menu-link::after {
  color: var(--muted);
  content: "→";
  font-size: 18px;
  line-height: 1;
}

.mobile-menu-link:hover {
  background: var(--soft);
  color: var(--navy);
  padding-left: 22px;
}

.hero-title {
  font-family: var(--font-secondary);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lede {
  font-size: clamp(16px, 1.6vw, 18px);
  font-weight: 500;
  line-height: 1.75;
}

.section-copy {
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 18px);
  font-weight: 500;
  line-height: 1.75;
}

.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: var(--soft);
  content: "";
}

.hero-section>div {
  position: relative;
  z-index: 1;
}

.hero-visual,
.hero-metric,
.service-feature {
  animation: fadeRise 720ms ease both;
}

.hero-metric:nth-child(2),
.service-feature:nth-child(2) {
  animation-delay: 80ms;
}

.hero-metric:nth-child(3),
.service-feature:nth-child(3) {
  animation-delay: 160ms;
}

.service-feature:nth-child(4) {
  animation-delay: 240ms;
}

.service-feature:nth-child(5) {
  animation-delay: 320ms;
}

.hero-metric {
  display: grid;
  align-content: start;
  min-height: 96px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 16px;
  box-shadow: 0 14px 34px rgba(11, 19, 38, 0.05);
}

.hero-metric strong {
  display: block;
  color: var(--navy);
  font-family: var(--font-secondary);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.hero-metric span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.service-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  padding: 9px 12px;
  font-weight: 700;
  line-height: 1.2;
}

.service-chip svg {
  color: var(--navy);
}

.app-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.app-badge-link {
  position: relative;
  display: inline-flex;
  width: min(160px, 100%);
  border-radius: 8px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.app-badge-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(11, 19, 38, 0.14);
}

.app-badge-link img {
  width: 100%;
  height: auto;
}

.app-section {
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(90deg, rgba(248, 249, 251, 0.94), rgba(248, 249, 251, 0.82)), url("assets/bg_1.png");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

.app-section>div {
  position: relative;
  z-index: 1;
}

.app-copy,
.app-visual {
  animation: fadeRise 720ms ease both;
}

.app-visual {
  animation-delay: 140ms;
}

.app-preview {
  position: relative;
  width: min(980px, 100%);
  min-height: 560px;
}

.app-phone {
  position: absolute;
  top: 50%;
  width: 44%;
  height: auto;
  transform: translateY(-50%);
  filter: drop-shadow(0 28px 32px rgba(11, 19, 38, 0.22));
}

.app-phone-left {
  left: 0;
  z-index: 1;
  transform: translateY(-50%) scale(0.96) rotate(-4deg);
}

.app-phone-center {
  left: 50%;
  z-index: 3;
  width: 52%;
  transform: translate(-50%, -50%) scale(1.04);
}

.app-phone-right {
  right: 4%;
  z-index: 2;
  width: 82%;
  transform: translateY(-50%) scale(1.12) rotate(4deg);
}

.hero-visual {
  isolation: isolate;
}

.hero-status-card {
  position: absolute;
  z-index: 2;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: min(380px, calc(100% - 28px));
  border: 1px solid rgba(231, 233, 238, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  padding: 16px;
  box-shadow: 0 18px 48px rgba(11, 19, 38, 0.18);
}

.hero-status-card strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.hero-status-card span:not(.grid) {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.hero-status-card b {
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.bottom-card {
  right: 24px;
  bottom: 24px;
}

.top-card {
  top: 28px;
  left: -26px;
  grid-template-columns: auto 1fr;
  width: 260px;
}

.btn-primary,
.btn-dark,
.btn-soft,
.btn-light,
.btn-outline-dark {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 0 22px;
  border: 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn-primary:hover,
.btn-dark:hover,
.btn-soft:hover,
.btn-light:hover,
.btn-outline-dark:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: var(--navy);
  box-shadow: 0 14px 32px rgba(246, 219, 174, 0.46);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
}

.btn-soft {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--line);
}

.btn-light {
  background: var(--white);
  color: var(--navy);
}

.btn-outline-dark {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--navy);
  font-family: var(--font-secondary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-secondary);
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
}

.service-showcase {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 24px;
}

.service-feature {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(11, 19, 38, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(11, 19, 38, 0.12);
}

.service-media {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  min-height: 210px;
  background: var(--navy);
}

.service-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 19, 38, 0.06), rgba(11, 19, 38, 0.34));
  content: "";
}

.service-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  transition: transform 240ms ease;
}

.service-feature:hover .service-media img {
  transform: scale(1.04);
}

.service-copy {
  display: grid;
  align-content: start;
  padding: 24px;
}

.service-copy h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: clamp(21px, 2vw, 26px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
}

.reason-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
}

.service-copy p,
.reason-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
}

.service-copy .service-kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.service-copy .feature-list {
  margin: 18px 0 0;
  padding: 0;
}

@media (min-width: 768px) {
  .service-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .service-showcase {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.icon-pill {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--navy);
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: auto 0 0;
  padding: 28px 0 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.35;
}

.feature-list svg {
  flex: 0 0 auto;
  color: currentColor;
}

.reason-card {
  display: grid;
  gap: 14px;
  min-height: 180px;
  align-content: start;
  border: 1px solid rgba(246, 219, 174, 0.52);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(246, 219, 174, 0.26), transparent);
  padding: 24px;
  animation: fadeRise 700ms ease both;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.reason-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(11, 19, 38, 0.08);
}

.testimonial-card {
  display: grid;
  min-height: 240px;
  align-content: start;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 28px;
  box-shadow: 0 18px 50px rgba(11, 19, 38, 0.1);
  animation: fadeRise 700ms ease both;
  transition: transform 180ms ease, background 180ms ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.14);
}

.testimonial-card p {
  margin: 0;
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}

.testimonial-card strong {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 750;
}

.cta-section {
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(rgba(11, 19, 38, 0.82), rgba(11, 19, 38, 0.82)), url("assets/bg_3.png");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  padding-top: 96px;
  padding-bottom: 96px;
}

.cta-section>div {
  position: relative;
  z-index: 1;
}

.cta-eyebrow {
  color: var(--white);
}

.cta-title {
  max-width: 920px;
  color: var(--white);
  font-family: var(--font-secondary);
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.policy-meta {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  padding: 10px 14px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.policy-content {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.policy-content h2 {
  margin: 40px 0 14px;
  color: var(--navy);
  font-family: var(--font-secondary);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.1;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content h3 {
  margin: 28px 0 10px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
}

.policy-content p {
  margin: 0 0 16px;
}

.policy-content ul {
  display: grid;
  gap: 8px;
  margin: 0 0 20px 20px;
  padding: 0;
}

.policy-content li {
  padding-left: 4px;
}

.policy-content a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.support-card {
  display: grid;
  gap: 16px;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 24px;
  box-shadow: 0 18px 42px rgba(11, 19, 38, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.support-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 54px rgba(11, 19, 38, 0.1);
}

.support-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.22;
}

.support-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
}

.support-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--navy);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  font-family: inherit;
  text-decoration: none;
}

.support-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.support-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 20px;
}

.support-step-number {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: var(--navy);
  font-weight: 800;
}

.support-faq {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 0;
  overflow: hidden;
}

.support-faq details {
  border-bottom: 1px solid var(--line);
}

.support-faq details:last-child {
  border-bottom: 0;
}

.support-faq summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--navy);
  font-weight: 800;
  list-style: none;
}

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

.support-faq summary::after {
  float: right;
  color: var(--muted);
  content: "+";
  font-size: 20px;
  line-height: 1;
}

.support-faq details[open] summary::after {
  content: "-";
}

.support-faq p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
}

.modal {
  width: min(560px, calc(100% - 32px));
  border: 0;
}

#hireModal {
  width: min(620px, calc(100% - 32px));
}

.modal::backdrop {
  background: rgba(11, 19, 38, 0.62);
  backdrop-filter: blur(4px);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: var(--soft);
  color: var(--navy);
  cursor: pointer;
}

.form-label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.form-control {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 15px;
  color: var(--navy);
  font: inherit;
  outline: none;
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(246, 219, 174, 0.35);
}

@keyframes fadeRise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {

  .mobile-menu,
  .mobile-menu.is-open {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 40px;
  }

  .hero-section::before {
    height: 42%;
  }

  .top-card {
    left: 14px;
    top: 14px;
    width: min(260px, calc(100% - 28px));
  }

  .bottom-card {
    right: 14px;
    bottom: 14px;
  }

  .hero-status-card {
    padding: 13px;
  }

  .app-badge-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .app-badge-link {
    width: 160px;
    max-width: 100%;
  }

  .app-preview {
    width: min(520px, 100%);
    min-height: 360px;
  }

  .app-phone-right {
    right: 50%;
    width: 96%;
    transform: translate(50%, -50%) scale(1.06) rotate(4deg);
  }

  .btn-primary,
  .btn-dark,
  .btn-soft,
  .btn-light,
  .btn-outline-dark {
    width: 100%;
  }

  .service-showcase {
    gap: 20px;
  }

  .service-media,
  .service-media img {
    min-height: 200px;
  }

  .service-copy h3 {
    font-size: 22px;
  }

  .reason-card {
    min-height: auto;
  }

  .reason-card h3 {
    font-size: 16px;
  }

  .testimonial-card {
    min-height: auto;
  }

  .cta-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .cta-title {
    font-size: clamp(30px, 10vw, 40px);
    line-height: 1.12;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .app-preview,
  .app-phone-left,
  .app-phone-center,
  .app-phone-right {
    animation: none !important;
  }
}
