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

:root {
  --navy: #1a2744;
  --navy-dark: #121b30;
  --navy-light: #243358;
  --gold: #c9a227;
  --gold-light: #d4b84a;
  --gold-pale: rgba(201, 162, 39, 0.1);
  --white: #ffffff;
  --gray-bg: #f6f5f2;
  --gray-border: rgba(26, 39, 68, 0.1);
  --text: #1e2433;
  --text-muted: #5a6275;
  --serif: "Libre Baskerville", Georgia, serif;
  --sans: "Source Sans 3", system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 1px 3px rgba(26, 39, 68, 0.06);
  --shadow-md: 0 6px 24px rgba(26, 39, 68, 0.08);
  --shadow-lg: 0 12px 40px rgba(26, 39, 68, 0.12);
  --radius: 10px;
  --radius-sm: 8px;
  --transition: 0.22s ease;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 max(1rem, env(safe-area-inset-left)) 0 max(1rem, env(safe-area-inset-right));
}

.container--narrow {
  max-width: min(680px, 100%);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  padding: 0.875rem 1.35rem;
  min-height: 48px;
  border-radius: 8px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
  -webkit-tap-highlight-color: transparent;
}

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

.btn--gold:hover {
  background: var(--gold-light);
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.3);
}

.btn--outline {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(255, 255, 255, 0.1);
}

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

.btn--navy:hover {
  background: var(--navy-light);
  box-shadow: var(--shadow-md);
}

/* ── Hero ── */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(68vh, 520px);
  overflow: hidden;
  background: var(--navy);
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 35%;
  transform: scale(1.06);
  animation: heroKenBurns 18s ease-out forwards;
}

@keyframes heroKenBurns {
  to { transform: scale(1); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, var(--navy) 8%, rgba(18, 27, 48, 0.92) 42%, rgba(18, 27, 48, 0.5) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 2rem max(1rem, env(safe-area-inset-left)) 2.25rem max(1rem, env(safe-area-inset-right));
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  margin-bottom: 1rem;
  border-radius: 4px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.65rem, 5vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 0.85rem;
}

.hero__tagline {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 400;
  font-size: 1rem;
  margin-bottom: 1.15rem;
  line-height: 1.55;
  max-width: 32ch;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.9rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 5px;
  border: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}

.hero-btn--primary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.hero-btn--primary:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.92);
  color: var(--navy-dark);
}

/* ── Sections ── */
.section {
  padding: 2.75rem 0;
}

#about-role {
  padding-top: 1.25rem;
}

.section--alt {
  background: var(--gray-bg);
}

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

.section__header {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 1.75rem;
  padding: 0 0.25rem;
}

.section__header--light .section__title,
.section__header--light .section__subtitle {
  color: var(--white);
}

.section__header--light .section__subtitle {
  opacity: 0.78;
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.section__title {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 0.65rem;
}

.section--navy .section__title {
  color: var(--white);
}

.section__subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.section__cta {
  text-align: center;
  margin-top: 2rem;
}

/* ── Content cards ── */
.content-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.section--alt .content-card {
  background: var(--white);
}

.prose {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0.5rem;
  text-align: center;
}

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

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

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

  .hero__media img {
    animation: none;
    transform: scale(1);
  }
}

/* ── Lists ── */
.feature-list {
  list-style: none;
  margin-top: 0.5rem;
}

.feature-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 0.75rem;
  font-size: 0.925rem;
  color: var(--text);
  border-bottom: 1px solid var(--gray-border);
  text-align: center;
}

.feature-list li:last-child {
  border-bottom: none;
  padding-bottom: 0.85rem;
}

.feature-list li::before {
  content: "";
  position: static;
  transform: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.feature-list--inline li {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
}

.checklist--large li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.95rem 0.75rem;
  font-size: 0.925rem;
  color: var(--text);
  border-bottom: 1px solid var(--gray-border);
  text-align: center;
}

.checklist--large li:last-child {
  border-bottom: none;
  padding-bottom: 0.95rem;
}

.checklist--large li::before {
  content: "";
  position: static;
  transform: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ── Icon cards ── */
.icon-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  max-width: 400px;
  margin: 0 auto;
}

.icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 1.35rem 1.15rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.icon-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 162, 39, 0.2);
}

.icon-card__icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-pale);
  border-radius: 8px;
  color: var(--navy);
}

.icon-card h3 {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.icon-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Pay card ── */
.pay-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.pay-card__rate {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.pay-card__rate strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 8vw, 3rem);
  color: var(--gold);
  letter-spacing: -0.02em;
  text-transform: none;
  line-height: 1.1;
  margin-top: 0.35rem;
  font-weight: 700;
}

.payment-logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.payment-logos span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--gray-bg);
  padding: 0.55rem 0.65rem;
  border-radius: 6px;
  border: 1px solid var(--gray-border);
  text-align: center;
}

/* ── Remote panel ── */
.remote-panel {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.remote-panel__icon svg {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.85rem;
}

.remote-panel .section__title {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.remote-panel .feature-list {
  max-width: 360px;
  margin: 0 auto;
  text-align: center;
}

.remote-panel .feature-list li::before {
  position: static;
  transform: none;
}

/* ── Timeline ── */
.timeline {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  max-width: 340px;
  margin: 0 auto;
  padding-left: 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: rgba(201, 162, 39, 0.3);
}

.timeline__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
  padding-bottom: 1.75rem;
}

.timeline__step:last-child {
  padding-bottom: 0;
}

.timeline__marker {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--navy);
}

.timeline__content h3 {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.3rem;
  padding-top: 0;
}

.timeline__content p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

/* ── About ── */
.about-block {
  text-align: center;
}

.about-block p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.about-block .section__title {
  margin-bottom: 0.85rem;
}

/* ── FAQ ── */
.faq {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq__item {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq__item[open] {
  border-color: rgba(201, 162, 39, 0.35);
  box-shadow: var(--shadow-sm);
}

.faq__item summary {
  padding: 1rem 1.15rem;
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 52px;
  -webkit-tap-highlight-color: transparent;
}

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

.faq__item summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform var(--transition);
  margin-top: -3px;
}

.faq__item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 3px;
}

.faq__item p {
  padding: 0 1.15rem 1.1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Footer ── */
.site-footer {
  background: var(--navy-dark);
  border-top: 1px solid rgba(201, 162, 39, 0.2);
  padding: 2.25rem 1.25rem;
  padding-bottom: calc(2.25rem + var(--safe-bottom));
}

.site-footer__inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.site-footer__credit {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: 0.02em;
}

.site-footer__credit a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}

.site-footer__credit a:hover {
  color: var(--gold);
}

/* ── Tablet ── */
@media (min-width: 600px) {
  .container {
    padding: 0 1.75rem;
  }

  .hero {
    min-height: min(62vh, 480px);
  }

  .payment-logos {
    grid-template-columns: repeat(4, 1fr);
  }

  .icon-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: none;
    margin: 0;
  }

  .icon-card {
    flex-direction: column;
    padding: 1.5rem;
  }
}

/* ── Desktop ── */
@media (min-width: 900px) {
  .container {
    padding: 0 2rem;
  }

  .hero {
    min-height: 540px;
    align-items: center;
  }

  .hero__media img {
    object-position: center 30%;
  }

  .hero__overlay {
    background:
      linear-gradient(to right, var(--navy) 18%, rgba(18, 27, 48, 0.88) 42%, rgba(18, 27, 48, 0.35) 68%, transparent 100%),
      linear-gradient(to top, rgba(18, 27, 48, 0.5) 0%, transparent 45%);
  }

  .hero__content {
    max-width: 1080px;
    margin: 0 auto;
    padding: 3rem 2rem;
    width: 100%;
    text-align: left;
    align-items: flex-start;
  }

  .hero__tagline {
    font-size: 1.05rem;
    max-width: 42ch;
    margin-left: 0;
    margin-right: 0;
  }

  .hero__actions {
    justify-content: flex-start;
  }

  .prose {
    text-align: left;
  }

  .content-card {
    text-align: left;
  }

  .feature-list li,
  .checklist--large li {
    display: block;
    text-align: left;
    padding: 0.75rem 0 0.75rem 1.5rem;
  }

  .feature-list li:last-child,
  .checklist--large li:last-child {
    padding-bottom: 0;
  }

  .feature-list li::before,
  .checklist--large li::before {
    position: absolute;
    left: 0;
    top: 1.05rem;
  }

  .checklist--large li {
    position: relative;
    padding: 0.9rem 0 0.9rem 1.75rem;
  }

  .checklist--large li::before {
    top: 1.15rem;
  }

  .feature-list li {
    position: relative;
  }

  .remote-panel .feature-list li {
    display: block;
    position: relative;
    text-align: left;
    padding: 0.75rem 0 0.75rem 1.5rem;
  }

  .remote-panel .feature-list li::before {
    position: absolute;
    left: 0;
    top: 1.05rem;
  }

  .remote-panel .feature-list {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    max-width: none;
  }

  .section {
    padding: 4.5rem 0;
  }

  #about-role {
    padding-top: 2rem;
  }

  .content-card {
    padding: 2rem 2.25rem;
  }

  .icon-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding-top: 0.5rem;
    padding-left: 0;
    max-width: none;
    margin: 0;
  }

  .timeline::before {
    top: 21px;
    bottom: auto;
    left: 12%;
    right: 12%;
    width: auto;
    height: 2px;
    transform: none;
  }

  .timeline__step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 0.75rem 0 0.75rem;
    gap: 0;
  }

  .timeline__content h3 {
    padding-top: 0;
  }

  .timeline__marker {
    margin-bottom: 1.15rem;
  }
}

@media (min-width: 1080px) {
  .hero__content {
    padding: 3.5rem 3rem 3.5rem 2.5rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 599px) {
  .hero__actions {
    flex-direction: column;
    width: 100%;
    max-width: 260px;
  }

  .hero-btn {
    width: 100%;
    min-height: 44px;
    padding: 0.55rem 1rem;
  }

  .section__cta .btn {
    width: 100%;
    max-width: 280px;
  }

  .about-block .btn {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: min(75vh, 480px);
  }

  .hero__content {
    padding: 2.5rem 1.25rem;
  }
}

@media (max-width: 380px) {
  .payment-logos {
    grid-template-columns: 1fr 1fr;
  }
}
