:root {
  --bg: #f3f8ff;
  --surface: #ffffff;
  --surface-alt: #eaf2ff;
  --text: #0f1e3d;
  --muted: #4a5f8c;
  --primary: #0080ff;
  --primary-dark: #084ec2;
  --border: #cfe0ff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #edf5ff 0%, #f9fbff 100%);
}

a {
  color: var(--primary-dark);
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.narrow {
  width: min(860px, 100%);
}

.site-header {
  background: var(--primary);
  border-bottom: 1px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.2px;
}

.brand-logo {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: var(--primary);
  display: block;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.nav a {
  color: #d9e6ff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: #1a5fcf;
  color: #ffffff;
}

.hero {
  padding: 4rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--primary-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.12;
}

h2 {
  margin-top: 0;
  margin-bottom: 0.85rem;
  font-size: 1.45rem;
}

h3 {
  margin-top: 0;
  margin-bottom: 0.55rem;
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
  margin-bottom: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.store-badge {
  display: block;
  height: 56px;
  width: auto;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  border-radius: 10px;
  padding: 0.75rem 1.1rem;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary-dark);
}

.btn-secondary:hover {
  background: #e1edff;
}

.hero-card,
.card,
.faq-item,
.policy-note,
.policy-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(18, 61, 140, 0.08);
}

.hero-card {
  padding: 1.2rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.1rem;
  line-height: 1.6;
}

.section {
  padding: 2rem 0 4rem;
}

.workflow-carousel {
  position: relative;
  padding: 0 2.6rem;
}

.workflow-rotator {
  overflow: hidden;
  width: 100%;
}

.workflow-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  transform: translateX(0);
  transition: transform 650ms ease;
}

.workflow-card {
  width: min(360px, 82vw);
  padding: 1.1rem;
  flex: 0 0 auto;
}

.workflow-shot {
  width: 75%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin-top: 0.8rem;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.workflow-chevron {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--primary-dark);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(18, 61, 140, 0.12);
  display: grid;
  place-items: center;
  padding: 0;
  z-index: 2;
}

.workflow-chevron:hover {
  background: var(--surface-alt);
}

.workflow-chevron-left {
  left: 0;
}

.workflow-chevron-right {
  right: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  padding: 1.1rem;
}

.card p,
.faq-item p,
.policy-section p {
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}

.policy-section ul,
.policy-note p {
  margin: 0;
}

.policy-section ul {
  color: var(--muted);
  padding-left: 1.1rem;
  line-height: 1.65;
}

.policy-section li + li,
.policy-note p + p {
  margin-top: 0.4rem;
}

.faq-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.faq-section + .faq-section {
  margin-top: 1.75rem;
}

.faq-section-title {
  margin: 0;
  font-size: 1.2rem;
}

.faq-item {
  padding: 1rem 1.05rem;
}

.faq-item summary {
  font-size: 1.08rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--primary-dark);
  font-size: 1.2rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin-top: 0.75rem;
  opacity: 1;
  transform-origin: top;
}

.faq-answer-animate {
  animation: faq-drop-down 320ms ease;
}

.faq-answer-close {
  animation: faq-slide-up 240ms ease;
}

@keyframes faq-drop-down {
  0% {
    opacity: 0;
    transform: translateY(-8px);
    clip-path: inset(0 0 100% 0);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0 0 0 0);
  }
}

@keyframes faq-slide-up {
  0% {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0 0 0 0);
  }
  100% {
    opacity: 0;
    transform: translateY(-8px);
    clip-path: inset(0 0 100% 0);
  }
}

.policy-note,
.policy-section {
  padding: 1rem 1.05rem;
}

.policy-note {
  background: var(--surface-alt);
  margin-bottom: 1rem;
}

.policy-section {
  margin-bottom: 0.85rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #f0f6ff;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.footer-wrap p {
  margin: 0;
  color: #36517e;
}

.footer-links {
  display: flex;
  gap: 0.9rem;
}

.footer-links a {
  color: #1d3e79;
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 900px) {
  .hero-grid,
  .cards {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3rem;
  }
}

@media (max-width: 620px) {
  .nav-wrap,
  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    gap: 0.55rem;
  }

  .store-badge {
    height: 50px;
  }

  .workflow-carousel {
    padding: 0 2.2rem;
  }

  .workflow-chevron {
    width: 2rem;
    height: 2rem;
    font-size: 1.2rem;
  }
}
