:root {
  --primary: #1d70bf;
  --primary-hover: #175997;
  --text: #1c1c1e;
  --text-muted: #8a8a8e;
  --icon: #9a9a9e;
  --border: #e6e6e8;
  --white: #ffffff;
  --surface: #f7f7f8;
  --bg-base: #f2f2f3;
  --app-bg-start: #dbdbdb;
  --app-bg-end: #bfc9dc;
  --success: #198754;
  --danger: #dc3545;
  --warning: #f0ad4e;
  --currency: #6f42c1;
  --shadow: rgba(0, 0, 0, 0.12);
  --shadow-soft: rgba(0, 0, 0, 0.06);
  --focus-ring: rgba(0, 119, 231, 0.18);
  --radius: 1rem;
  --page: 72rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    Arial,
    sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background-color: var(--app-bg-end);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: var(--app-bg-start);
  background-image: linear-gradient(180deg, var(--app-bg-start) 0%, var(--app-bg-end) 100%);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

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

.page {
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(0.75rem);
  background-color: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid var(--border);
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  padding: 0.75rem 1.5rem;
  max-width: var(--page);
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.625rem;
  text-decoration: none;
}

.brand__logo {
  display: block;
  flex: 0 0 auto;
  width: 3rem;
  height: auto;
  object-fit: contain;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.25rem;
  color: var(--text);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.topbar__nav {
  display: flex;
  gap: 1.25rem;
  margin-left: auto;
}

.topbar__nav a {
  font-size: 1rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease-in-out;
}

.topbar__nav a:hover {
  color: var(--text);
}

.topbar__actions {
  display: flex;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.25rem;
  font-family: inherit;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.25;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition:
    background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out,
    color 0.15s ease-in-out;
}

.button--primary {
  color: var(--white);
  background-color: var(--primary);
  border-color: var(--primary);
}

.button--primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
}

.button--ghost {
  color: var(--text);
  background-color: var(--white);
  border-color: var(--border);
}

.button--ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.button--small {
  padding: 0.625rem 1.25rem;
  font-size: 1rem;
}

.button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.auth-notice {
  width: calc(100% - 2rem);
  max-width: 26rem;
  max-height: calc(100% - 2rem);
  padding: 2rem;
  overflow: auto;
  color: var(--text);
  background-color: var(--white);
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 1.5rem 4rem var(--shadow);
}

.auth-notice::backdrop {
  background-color: rgba(0, 0, 0, 0.45);
}

.auth-notice__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.auth-notice__title {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
  letter-spacing: -0.01em;
}

.auth-notice__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.auth-notice__actions {
  display: flex;
  justify-content: flex-end;
  margin: 1.5rem 0 0;
}

.section {
  padding: 4.5rem 0;
}

.section--white {
  background-color: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section--white .card,
.section--white .review {
  background-color: var(--surface);
}

.section__head {
  max-width: 46rem;
}

.section__eyebrow {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section__title {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 600;
}

.section__lead {
  margin-top: 0.75rem;
  font-size: 1.0625rem;
  color: var(--text-muted);
}

.hero {
  padding: 3.5rem 0 4rem;
}

.hero__title {
  max-width: 46rem;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 600;
}

.hero__title span {
  color: var(--primary);
}

.hero__lead {
  max-width: 42rem;
  margin-top: 1.25rem;
  font-size: 1.125rem;
  color: var(--text-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero__note {
  margin-top: 1rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

.hero__fact-value {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero__fact-label {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.shot {
  margin: 3rem 0 0;
}

.shot__frame {
  overflow: hidden;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1.5rem 3.5rem var(--shadow);
}

.shot__bar {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.625rem 1rem;
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
}

.shot__dot {
  width: 0.625rem;
  height: 0.625rem;
  background-color: var(--border);
  border-radius: 50%;
}

.shot__url {
  margin-left: 0.75rem;
  padding: 0.25rem 0.875rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.shot__image {
  display: block;
  width: 100%;
  height: auto;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition:
    box-shadow 0.15s ease-in-out,
    border-color 0.15s ease-in-out;
}

.card:hover {
  border-color: rgba(29, 112, 191, 0.35);
  box-shadow: 0 0.75rem 1.75rem var(--shadow-soft);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
  background-color: rgba(29, 112, 191, 0.1);
  border-radius: 0.875rem;
  font-size: 1.25rem;
}

.card__title {
  font-size: 1.25rem;
  font-weight: 600;
}

.card__text {
  font-size: 1rem;
  color: var(--text-muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--white);
  background-color: var(--primary);
  border-radius: 50%;
}

.step__title {
  font-size: 1.25rem;
  font-weight: 600;
}

.step__text {
  margin-top: 0.375rem;
  font-size: 1rem;
  color: var(--text-muted);
}

.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.review {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.review__text {
  font-size: 1rem;
}

.review__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}

.review__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  font-weight: 600;
  color: var(--primary);
  background-color: rgba(29, 112, 191, 0.12);
  border-radius: 50%;
}

.review__name {
  font-weight: 600;
}

.review__role {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.faq {
  display: grid;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.faq__item {
  background-color: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.faq__question {
  padding: 1.125rem 1.25rem;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: '+';
  float: right;
  color: var(--icon);
}

.faq__item[open] .faq__question::after {
  content: '−';
}

.faq__answer {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-muted);
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 3rem;
  padding: 2.5rem;
  color: var(--white);
  background-color: var(--primary);
  background-image: linear-gradient(135deg, #1d70bf 0%, #175997 100%);
  border-radius: var(--radius);
}

.cta__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.cta__text {
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.85);
}

.cta .button--ghost {
  color: var(--primary);
  border-color: transparent;
}

.cta .button--ghost:hover {
  color: var(--primary);
  background-color: var(--bg-base);
  border-color: transparent;
}

.footer {
  padding: 3rem 0 2rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  background-color: var(--white);
  border-top: 1px solid var(--border);
}

.footer__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 24rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer__links a:hover {
  color: var(--text);
}

.footer__note {
  margin-top: 1.5rem;
  max-width: 52rem;
}

@media (max-width: 48rem) {
  .topbar__nav {
    display: none;
  }

  .topbar__actions {
    margin-left: auto;
  }

  .section {
    padding: 3rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
