:root {
  --primary: #2c2c2c;
  --secondary: #23a0a2;
  --text: #222;
  --muted: #555;
  --line: #f0f0f0;
  --surface: #ffffff;
  --surface-soft: #f8f8f8;
  --shadow: 0 2px 5px rgba(0, 0, 0, 0.18);
  --page-width: 1220px;
  --particle-line: rgba(170, 170, 170, 0.35);
  --particle-dot: rgba(178, 178, 178, 0.52);
}

body.theme-dark {
  --primary: #efefef;
  --secondary: #35b8bb;
  --text: #f2f2f2;
  --muted: #c1c1c1;
  --line: rgba(255, 255, 255, 0.1);
  --surface: #17191b;
  --surface-soft: #111315;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  --particle-line: rgba(125, 141, 148, 0.38);
  --particle-dot: rgba(155, 170, 176, 0.58);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 100px;
  min-height: 100%;
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: "Roboto", "-apple-system", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  font-size: 14px;
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

a {
  color: inherit;
}

img,
svg,
canvas {
  display: block;
}

.page-width {
  width: min(calc(100% - 24px), var(--page-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--surface);
  border-bottom: 1px solid transparent;
  transition:
    background-color 180ms ease,
    border-color 180ms ease;
}

.theme-dark .site-header {
  border-bottom-color: var(--line);
}

.toolbar {
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 0 12px;
}

.brand {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-button,
.icon-button,
.locale-button,
.billing-toggle button,
.primary-button,
.pricing-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  background: var(--primary);
  box-shadow: var(--shadow);
  color: var(--surface);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.nav-button:hover,
.icon-button:hover,
.locale-button:hover,
.billing-toggle button:hover,
.primary-button:hover,
.pricing-button:hover {
  transform: translateY(-1px);
}

.icon-button {
  min-width: 36px;
  padding: 0 10px;
  font-size: 16px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  box-shadow: none;
  color: var(--text);
}

.locale-button {
  min-width: 82px;
  text-transform: none;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  box-shadow: none;
  color: var(--text);
}

.hero {
  position: relative;
  padding-top: 52px;
}

.hero-network {
  position: relative;
  width: 100%;
  height: 122px;
  margin-top: 18px;
}

#heroParticles {
  width: 100%;
  height: 122px;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: -90px;
  text-align: center;
}

.hero-logo-wrap {
  display: flex;
  justify-content: center;
  padding-bottom: 10px;
}

.hero-logo {
  width: 84px;
  height: 84px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}

.hero-title {
  font-size: 2.125rem;
  font-weight: 400;
  line-height: 2.5rem;
  letter-spacing: 0.00735em;
}

.hero-title strong {
  font-weight: 700;
}

.hero-subtitle {
  margin-top: 4px;
  font-size: 1.25rem;
  line-height: 1.7rem;
  color: var(--muted);
}

.hero-subtitle strong {
  font-weight: 700;
}

.hero-word-transition {
  display: inline-block;
  animation: word-fade 420ms ease;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.primary-button {
  min-height: 48px;
  padding: 0 22px;
  font-size: 24px;
  text-transform: none;
}

.pricing-toolbar-note a {
  color: var(--secondary);
}

.content-section,
.pricing-section {
  padding-top: 44px;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  text-align: center;
  flex-direction: column;
}

.page-header::after,
.group-title::after {
  content: "";
  display: block;
  width: 120px;
  height: 1px;
  margin: 12px auto 0;
  background: linear-gradient(90deg, transparent 0%, var(--line) 18%, var(--line) 82%, transparent 100%);
}

.page-header h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 2rem;
}

.theme-dark .feature-icon {
  filter: brightness(0) invert(1);
}

.intro-copy,
.pricing-copy {
  width: min(100%, 680px);
  margin: 24px auto 0;
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.375rem;
  text-align: center;
  color: var(--muted);
}

.intro-copy.is-hidden {
  display: none;
}

.pricing-copy.is-hidden {
  display: none;
}

.features-column {
  width: min(100%, 760px);
  margin: 20px auto 0;
}

.group-title {
  margin: 28px 0 10px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 2rem;
}

.feature-description {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 18px;
  padding-top: 18px;
}

.feature-icon-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.feature-icon {
  width: 50px;
  height: 50px;
}

.feature-icon--brand {
  object-fit: contain;
  filter: grayscale(1) contrast(1.02) brightness(0.5);
}

.feature-copy {
  min-width: 0;
}

.feature-title {
  position: relative;
  margin: 0;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 2rem;
}

.feature-title span {
  display: inline;
  padding: 0 2px;
  color: var(--text);
  background-image: linear-gradient(transparent 56%, rgba(35, 160, 162, 0.18) 56%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.feature-text {
  font-size: 12px;
  line-height: 20px;
  color: var(--muted);
}

.feature-link {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  color: var(--secondary);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
}

.pricing-headline {
  text-align: center;
}

.pricing-title {
  margin-top: 0;
}

.pricing-title.is-hidden {
  display: none;
}

.pricing-copy {
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 2rem;
}

.pricing-toolbar {
  width: min(100%, 960px);
  margin: 24px auto 0;
  text-align: center;
}

.pricing-toolbar-label {
  margin-bottom: 10px;
  font-size: 0.875rem;
  font-weight: 500;
}

.pricing-toolbar-label.is-hidden {
  display: none;
}

.pricing-toolbar-label.is-hidden + .billing-toggle {
  margin-top: 0;
}

.billing-toggle {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.billing-toggle button {
  cursor: pointer;
}

.billing-toggle button:not(.is-active) {
  background: var(--surface-soft);
  box-shadow: none;
  color: var(--text);
}

.pricing-toolbar-note {
  margin-top: 16px;
  font-size: 12px;
  line-height: 20px;
  color: var(--muted);
}

.product-hint {
  width: min(100%, 760px);
  margin: 0 auto;
}

.product-hint strong {
  color: var(--text);
}

.product-summary {
  width: min(100%, 760px);
  margin: 14px auto 0;
  text-align: left;
}

.product-summary-copy {
  font-size: 13px;
  line-height: 21px;
}

.product-summary-list {
  margin: 10px 0 0;
  padding-left: 18px;
  font-size: 12px;
  line-height: 20px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(100%, 1040px);
  margin: 22px auto 0;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 18px 16px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.pricing-card-accent {
  border-color: var(--secondary);
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 2rem;
}

.plan-meta {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--secondary);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-top: 6px;
}

.plan-price strong {
  font-size: 2.4rem;
  font-weight: 300;
  line-height: 1;
}

.currency {
  font-size: 14px;
}

.pricing-button {
  margin-top: auto;
  align-self: stretch;
  width: 100%;
  margin-top: 16px;
  text-transform: none;
}

.pricing-notes {
  width: min(100%, 960px);
  margin: 20px auto 0;
  font-size: 12px;
  line-height: 20px;
  color: var(--muted);
}

.pricing-notes p {
  margin: 8px 0 0;
}

.payment-badges {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.payment-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
}

.theme-dark .feature-title span {
  background-image: linear-gradient(transparent 56%, rgba(53, 184, 187, 0.26) 56%);
}

.theme-dark .feature-icon.feature-icon--brand {
  filter: grayscale(1) contrast(1.02) brightness(1.22);
}

.trustpilot-cta {
  padding: 42px 0 24px;
}

.trustpilot-box {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  text-align: center;
}

.trustpilot-title {
  margin-top: 0;
  font-weight: 400;
}

.trustpilot-copy {
  width: min(100%, 720px);
  margin: 0 auto;
  font-size: 0.875rem;
  line-height: 1.375rem;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 16px 0 28px;
  text-align: center;
}

.footer-copy {
  font-size: 11px;
  color: var(--muted);
}

@keyframes word-fade {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .toolbar {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
  }

  .brand {
    text-align: center;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 720px) {
  .hero-content {
    margin-top: -72px;
  }

  .hero-logo {
    width: 68px;
    height: 68px;
  }

  .hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.45rem;
  }

  .feature-description {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
  }

  .feature-icon-wrap {
    justify-content: center;
  }

  .feature-icon {
    width: 34px;
    height: 34px;
  }

  .feature-title {
    line-height: 1.55rem;
  }

  .feature-text {
    font-size: 11px;
    line-height: 17px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .billing-toggle {
    flex-wrap: wrap;
  }

  .billing-toggle button {
    flex: 1 1 110px;
  }

  .pricing-card {
    padding: 16px 14px;
  }

  .pricing-button {
    margin-top: 14px;
  }

  .primary-button {
    min-height: 42px;
    padding: 0 16px;
    font-size: 18px;
  }

  .site-nav {
    gap: 6px;
  }

  .nav-button,
  .icon-button,
  .locale-button,
  .billing-toggle button {
    padding: 0 10px;
    font-size: 12px;
  }
}
