:root {
  --primary: #2563eb;
  --primary-strong: #1d4ed8;
  --accent: #93c5fd;
  --text: #0b1220;
  --text-secondary: #5b6b82;
  --background: #f4f7fb;
  --surface: #ffffff;
  --line: rgba(15, 23, 42, 0.08);
  --container: 1080px;
  --display: "Outfit", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  background: var(--background);
  line-height: 1.55;
  overflow-x: hidden;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(37, 99, 235, 0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(96, 165, 250, 0.14), transparent 55%),
    linear-gradient(180deg, #eef3fb 0%, #f7f9fc 40%, #f4f7fb 100%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(244, 247, 251, 0.72);
  border-bottom: 1px solid transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.header-cta {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.9rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.28);
}

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

.button-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.button-wide {
  width: 100%;
}

.hero {
  position: relative;
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  padding: 48px 0 72px;
  overflow: hidden;
}

.hero-plane {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  animation: drift 14s ease-in-out infinite alternate;
}

.hero-orb-a {
  width: 42vw;
  height: 42vw;
  max-width: 560px;
  max-height: 560px;
  right: -8%;
  top: 8%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.35), transparent 70%);
}

.hero-orb-b {
  width: 30vw;
  height: 30vw;
  max-width: 380px;
  max-height: 380px;
  right: 18%;
  bottom: 8%;
  background: radial-gradient(circle, rgba(147, 197, 253, 0.45), transparent 70%);
  animation-delay: -4s;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 40%, black 20%, transparent 70%);
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  width: min(100% - 40px, var(--container));
}

.hero-mark-glow {
  order: 2;
  justify-self: end;
  width: min(100%, 360px);
  animation: float 8s ease-in-out infinite;
}

.hero-mark-glow img {
  width: 100%;
  height: auto;
  border-radius: 28%;
  filter: drop-shadow(0 30px 60px rgba(37, 99, 235, 0.35));
}

.hero-content {
  order: 1;
  max-width: 640px;
}

.brand-signal {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--primary);
}

.hero h1 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.hero-lead {
  margin: 0 0 28px;
  max-width: 32rem;
  color: var(--text-secondary);
  font-size: 1.125rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.trust-line {
  margin: 0 0 28px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.service-access {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.service-stack {
  display: flex;
  align-items: center;
}

.service-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-left: -12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #fff;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.1);
}

.service-badge:first-child {
  margin-left: 0;
}

.service-badge img {
  width: 20px;
  height: 20px;
  display: block;
}

.service-names {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.4;
}

.section {
  padding: 96px 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.55);
  border-block: 1px solid var(--line);
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-header {
  max-width: 34rem;
  margin-bottom: 40px;
}

.section-header h2 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.section-header p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.how .section-header {
  max-width: 38rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 22px;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(37, 99, 235, 0.08),
    rgba(37, 99, 235, 0.45) 20%,
    rgba(37, 99, 235, 0.45) 80%,
    rgba(37, 99, 235, 0.08)
  );
}

.steps li {
  display: grid;
  grid-template-rows: auto 1fr;
  justify-items: start;
  gap: 0;
  padding: 0 28px 0 0;
  position: relative;
}

.steps li:last-child {
  padding-right: 0;
}

.step-rail {
  display: flex;
  align-items: center;
  height: 46px;
  margin-bottom: 18px;
}

.step-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow:
    0 0 0 6px rgba(37, 99, 235, 0.12),
    0 0 0 1px rgba(37, 99, 235, 0.35);
  position: relative;
  z-index: 1;
  transform: scale(0.7);
  opacity: 0.45;
  transition: transform 0.45s ease, opacity 0.45s ease, box-shadow 0.45s ease;
}

.steps li.is-visible .step-dot,
.steps li:hover .step-dot {
  transform: scale(1);
  opacity: 1;
  box-shadow:
    0 0 0 8px rgba(37, 99, 235, 0.14),
    0 8px 20px rgba(37, 99, 235, 0.25);
}

.step-body {
  display: grid;
  gap: 10px;
  max-width: 18rem;
}

.step-index {
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.14em;
}

.steps h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.steps p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.5;
}

.how-footer {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.section-note {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 36rem;
}

.how-cta {
  flex-shrink: 0;
}

.steps li.reveal {
  transition-delay: calc(var(--step, 0) * 90ms);
}

.why-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.why-layout .section-header {
  margin-bottom: 0;
  position: sticky;
  top: 96px;
  max-width: 22rem;
}

.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.why-list li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 16px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.why-index {
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.14em;
  padding-top: 4px;
}

.why-body {
  display: grid;
  gap: 6px;
}

.why-list strong {
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.why-list span {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.5;
}

.why-list li.reveal {
  transition-delay: calc(var(--step, 0) * 70ms);
}

.pricing-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.pricing-layout .section-header {
  margin-bottom: 0;
  max-width: 24rem;
}

.pricing-panel {
  padding: 32px 32px 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.06);
}

.pricing-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 24px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.pricing-plan-name {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.pricing-plan-meta {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.pricing-price {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.pricing-amount {
  font-family: var(--display);
  font-size: clamp(2.8rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--primary);
}

.pricing-unit {
  display: grid;
  gap: 0;
  padding-bottom: 4px;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.pricing-unit span {
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.pricing-list {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.pricing-list li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

.pricing-list li:last-child {
  border-bottom: 0;
}

.pricing-index {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.12em;
}

.trial-line {
  margin: 16px 0 0;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.faq-layout .section-header {
  margin-bottom: 0;
  position: sticky;
  top: 96px;
  max-width: 22rem;
}

.faq-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item.reveal {
  transition-delay: calc(var(--step, 0) * 60ms);
}

.faq-item summary {
  display: grid;
  grid-template-columns: 2.75rem 1fr auto;
  gap: 12px 16px;
  align-items: start;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
}

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

.faq-index {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.12em;
  padding-top: 5px;
}

.faq-question {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.faq-toggle {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  position: relative;
  flex-shrink: 0;
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: var(--primary);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-item p {
  margin: 0;
  padding: 0 0 22px 2.75rem;
  color: var(--text-secondary);
  max-width: 38rem;
  line-height: 1.55;
}

.faq-item a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-footer {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.faq-footer p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.98rem;
}

.final-cta {
  padding: 110px 0;
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(37, 99, 235, 0.22), transparent 60%),
    #0b1220;
  color: #fff;
}

.final-cta-inner {
  max-width: 640px;
  text-align: center;
}

.final-cta h2 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.final-cta p {
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 34rem;
}

.site-footer {
  padding: 28px 0 40px;
  background: #0b1220;
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-brand {
  font-family: var(--display);
  font-weight: 700;
  color: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-24px, 18px, 0) scale(1.06);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@media (max-width: 900px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    background: rgba(244, 247, 251, 0.9);
  }

  .header-inner {
    min-height: 60px;
    gap: 12px;
  }

  .brand {
    font-size: 1.05rem;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.88rem;
    box-shadow: none;
  }

  .hero {
    min-height: auto;
    padding: 20px 0 88px;
    display: block;
  }

  .hero-orb-a {
    width: 70vw;
    height: 70vw;
    right: -28%;
    top: -8%;
    opacity: 0.85;
  }

  .hero-orb-b {
    width: 55vw;
    height: 55vw;
    right: auto;
    left: -30%;
    bottom: 18%;
    opacity: 0.7;
  }

  .hero-grid-lines {
    opacity: 0.22;
    mask-image: radial-gradient(ellipse at 50% 0%, black 10%, transparent 65%);
  }

  .hero-shell {
    grid-template-columns: 1fr;
    gap: 18px;
    width: min(100% - 28px, var(--container));
  }

  .hero-mark-glow {
    order: 0;
    justify-self: start;
    width: 72px;
    margin-bottom: 2px;
    animation: none;
  }

  .hero-mark-glow img {
    filter: drop-shadow(0 14px 28px rgba(37, 99, 235, 0.28));
  }

  .hero-content {
    max-width: none;
  }

  .brand-signal {
    margin-bottom: 12px;
    font-size: 1.15rem;
  }

  .hero h1 {
    margin-bottom: 14px;
    font-size: clamp(2.15rem, 9.2vw, 2.85rem);
    line-height: 1.05;
  }

  .hero-lead {
    margin-bottom: 22px;
    font-size: 1.02rem;
    max-width: none;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 18px;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 52px;
  }

  .trust-line {
    margin-bottom: 20px;
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .service-access {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .service-badge {
    width: 40px;
    height: 40px;
    margin-left: -10px;
  }

  .service-badge img {
    width: 18px;
    height: 18px;
  }

  .service-names {
    font-size: 0.88rem;
  }

  .section {
    padding: 64px 0;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .section-header h2 {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
  }

  .steps,
  .why-layout,
  .pricing-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .steps {
    gap: 0;
    padding-left: 2px;
  }

  .steps::before {
    left: 6px;
    right: auto;
    top: 8px;
    bottom: 8px;
    width: 2px;
    height: auto;
    background: linear-gradient(
      180deg,
      rgba(37, 99, 235, 0.45),
      rgba(37, 99, 235, 0.08)
    );
  }

  .steps li {
    padding: 0 0 32px 28px;
  }

  .steps li:last-child {
    padding-bottom: 0;
  }

  .step-rail {
    position: absolute;
    left: 0;
    top: 4px;
    height: auto;
    margin: 0;
  }

  .step-dot {
    width: 12px;
    height: 12px;
  }

  .step-body {
    max-width: none;
  }

  .steps h3 {
    font-size: 1.2rem;
  }

  .how-footer {
    margin-top: 28px;
    padding-top: 22px;
    align-items: flex-start;
    flex-direction: column;
  }

  .how-cta {
    min-height: 44px;
  }

  .why-layout {
    gap: 24px;
  }

  .why-layout .section-header {
    position: static;
    margin-bottom: 0;
    max-width: none;
  }

  .why-list li {
    grid-template-columns: 2.5rem 1fr;
    gap: 12px;
    padding: 18px 0;
  }

  .why-list strong {
    font-size: 1.1rem;
  }

  .pricing-layout {
    gap: 24px;
  }

  .pricing-layout .section-header {
    max-width: none;
  }

  .pricing-panel {
    padding: 24px 20px 22px;
    border-radius: 22px;
  }

  .pricing-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 20px;
  }

  .pricing-amount {
    font-size: 3rem;
  }

  .pricing-list li {
    padding: 12px 0;
  }

  .faq-layout {
    gap: 24px;
  }

  .faq-layout .section-header {
    position: static;
    max-width: none;
  }

  .faq-item summary {
    grid-template-columns: 2.4rem 1fr auto;
    gap: 10px 12px;
    padding: 18px 0;
  }

  .faq-question {
    font-size: 1rem;
    line-height: 1.35;
  }

  .faq-item p {
    padding-left: 0;
  }

  .faq-footer {
    margin-top: 28px;
    padding-top: 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .final-cta {
    padding: 72px 0 96px;
  }

  .final-cta h2 {
    font-size: clamp(1.7rem, 7vw, 2.3rem);
  }

  .final-cta .button {
    width: 100%;
    max-width: 320px;
  }

  .site-footer {
    padding: 24px 0 calc(28px + env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero-orb,
  .hero-mark-glow,
  .button {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
