:root {
  --home-surface: #141117;
  --home-border: #2e2735;
  --home-muted: #bdb4c7;
  --home-accent: #c4a0ff;
}

a:where(:link, :visited) {
  color: inherit;
  text-decoration: none;
}

main section[id] {
  scroll-margin-top: 74px;
}

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  height: 72px;
  padding: 0 max(4%, calc((100vw - 1360px) / 2));
  background: #0b090fee;
  border-bottom: 1px solid var(--home-border);
  backdrop-filter: blur(16px);
}

.site-header .brand,
.site-footer .brand {
  width: fit-content;
  gap: 10px;
  color: #f5eff9;
  font-size: 15px;
  letter-spacing: -.015em;
  white-space: nowrap;
}

.brand img {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  object-fit: contain;
}

.site-header nav {
  align-items: center;
  gap: 6px;
  color: #cec6d7;
}

.site-header nav a,
.header-action {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 550;
}

.site-header nav a:hover {
  color: #fff;
  background: #ffffff0a;
}

.header-action {
  justify-self: end;
  gap: 10px;
  color: #ecddff;
  background: #22192e;
  border: 1px solid #73549666;
}

.header-action:hover {
  background: #30223f;
  border-color: #9f73cb;
}

.hero-actions,
.closing-actions {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-actions > :is(.button, .secondary),
.closing-actions > :is(.button, .secondary) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 18px;
  margin: 0;
  border-radius: 9px;
  text-shadow: none;
}

.hero-actions .button,
.closing-actions .button {
  border: 1px solid transparent;
  background: #bd95fa;
  color: #1d102c;
}

.hero-actions .button:hover,
.closing-actions .button:hover {
  background: #d1afff;
}

.hero-actions .secondary,
.closing-actions .secondary {
  border: 1px solid #9378aa66;
  background: #15111ce8;
  color: #eee4f7;
}

.hero-actions .secondary:hover,
.closing-actions .secondary:hover {
  background: #2a1f37;
  border-color: #b791e3;
}

.scene-6 .explore-title {
  position: absolute;
  inset: 15% 8% auto;
  color: #eee4fc;
  font-size: clamp(21px, 2.3vw, 34px);
}

.explore-grid {
  position: absolute;
  inset: 30% 9% 17% max(15%, 140px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, clamp(200px, 22vw, 285px)));
  justify-content: space-between;
  align-content: space-between;
  gap: 14px;
}

.explore-link {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 16px 40px 16px 18px;
  border: 1px solid #77549488;
  border-radius: 13px;
  background: #14101ce8;
  color: #f6efff;
  text-align: left;
  cursor: pointer;
}

.explore-link strong {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -.015em;
}

.explore-link span {
  color: var(--home-muted);
  font-size: 13px;
}

.explore-link .explore-arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--home-accent);
  font-size: 18px;
}

.explore-link:hover,
.explore-link:focus-visible {
  background: #211830;
  border-color: #b18adf;
}

.metrics {
  border: 1px solid var(--home-border);
  border-radius: 16px;
  background: var(--home-surface);
}

.metrics span {
  color: var(--home-muted);
}

.service-grid {
  gap: 16px;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--home-border);
  border-radius: 16px;
  background: #110f14;
}

.service-card h3 {
  margin: 0;
  font-size: 22px;
}

.service-card p,
.service-card li {
  font-size: 15px;
}

.service-card p,
.service-card ul {
  margin: 0;
}

.service-card ul {
  display: grid;
  gap: 5px;
}

.service-card li::before {
  content: '•';
  margin-right: 9px;
}

.service-card .plain-action,
.plan-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: fit-content;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #79559d58;
  border-radius: 8px;
  background: #21182c;
  color: #e4cbff;
  font: 600 13px/1.35 Inter, Arial, sans-serif;
  cursor: pointer;
}

.service-card .plain-action {
  margin-top: auto;
}

.service-card p:last-of-type,
.service-card ul {
  margin-bottom: 5px;
}

.service-card .plain-action:hover,
.plan-action:hover {
  border-color: #ad83d2;
  background: #32223f;
  color: #fff;
}

.plan-options,
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  padding: 0;
  overflow: clip;
  border: 1px solid var(--home-border);
  border-radius: 16px;
  background: #110f14;
}

.plan-options {
  list-style: none;
}

.plan-options li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
}

.plan-options li + li,
.faq-list details + details {
  border-top: 1px solid var(--home-border);
}

.plan-options h3 {
  margin: 0 0 4px;
  font-size: 20px;
  letter-spacing: -.025em;
}

.plan-options p {
  margin: 0;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.55;
}

.plan-action {
  flex: 0 0 auto;
  min-width: 175px;
  text-align: left;
}

.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 17px 24px;
  color: #f3edf8;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  content: '';
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  margin: 0 4px 4px;
  border: solid var(--home-accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.faq-list details[open] summary::after {
  margin-block: 4px 0;
  transform: rotate(225deg);
}

.faq-list summary:hover {
  background: #ffffff06;
}

.faq-list summary:focus-visible {
  outline-offset: -4px;
}

.faq-list p {
  max-width: 74ch;
  margin: 0;
  padding: 0 24px 20px;
  color: var(--home-muted);
  font-size: 15px;
  line-height: 1.65;
}

.closing {
  padding-block: 34px 78px;
}

.closing > .closing-panel {
  padding: clamp(32px, 6vw, 74px) 24px;
  border: 1px solid #4b375c;
  border-radius: 22px;
  background: radial-gradient(ellipse at 50% 0%, #30203e, #17121e 76%);
}

.closing-panel h2 {
  margin: 0 0 14px;
  text-wrap: balance;
}

.closing-panel p {
  margin: 0 0 26px;
  color: var(--home-muted);
}

.site-footer {
  gap: 32px 56px;
  padding-top: 43px;
  border-top: 1px solid var(--home-border);
  background: #100d14;
}

.site-footer nav {
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 10px;
  font-size: 14px;
  color: var(--home-muted);
}

.site-footer h3 {
  margin-bottom: 4px;
}

.site-footer a:hover {
  color: var(--home-accent);
}

.footer-brand > .footer-partner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  color: var(--home-muted);
  font-size: 12px;
}

.footer-partner .xceed-wrap img {
  width: 74px;
}

.footer-bottom a {
  font-weight: 550;
  color: #d9c5ed;
}

@media (min-width: 1050px) {
  .service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .service-card:nth-child(-n + 2) {
    grid-column: span 2;
  }
}

@media (max-width: 900px) {
  .stage-nav { display: none; }
  .explore-grid { inset-inline: 6%; }
}

@media (max-width: 700px) {
  .site-header {
    height: 64px;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding-inline: 4%;
  }
  .site-header .brand {
    gap: 6px;
    font-size: 13px;
  }
  .site-header .brand img {
    width: 28px;
    height: 28px;
  }
  .site-header nav { gap: 0; }
  .site-header nav a {
    display: inline-flex;
    padding-inline: 6px;
    font-size: 12px;
  }
  .header-action { display: none; }
  .scene-6 .explore-title {
    inset: 15% 6% auto;
    font-size: clamp(20px, 5vw, 28px);
  }
  .explore-grid {
    inset: auto 6% 13%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .explore-link { padding: 12px 26px 12px 12px; }
  .explore-link strong { font-size: 14px; }
  .explore-link span { font-size: 11px; }
  .explore-link .explore-arrow { top: 10px; right: 9px; font-size: 14px; }
  .plan-options li { padding: 19px 20px; }
  .closing button { margin: 0 !important; }
  .site-footer { gap: 25px 22px; }
}

@media (max-width: 520px) {
  .plan-options li { align-items: flex-start; flex-direction: column; gap: 14px; }
  .plan-action { width: 100%; min-width: 0; }
  .faq-list summary { padding-inline: 17px; }
  .faq-list p { padding-inline: 17px; }
  .footer-bottom { align-items: flex-start; }
}

@media (max-height: 560px) {
  .scene-6 .explore-title { inset-block-start: 18%; }
  .explore-grid { inset-block: 34% 9%; }
}
