:root {
  --bg: #061222;
  --bg-soft: #0b1a31;
  --card: rgb(12 29 53 / 78%);
  --card-strong: rgb(15 38 70 / 88%);
  --line: rgb(132 210 255 / 18%);
  --line-strong: rgb(132 210 255 / 34%);
  --ink: #eff8ff;
  --muted: #9fb7cd;
  --faint: #6f89a2;
  --cyan: #42d9ff;
  --blue: #3b82ff;
  --green: #69f0b2;
  --danger: #ff8f9a;
  --shadow: 0 26px 80px rgb(0 0 0 / 36%);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% -10%, rgb(66 217 255 / 25%), transparent 28rem),
    radial-gradient(circle at 88% 8%, rgb(59 130 255 / 28%), transparent 26rem),
    linear-gradient(145deg, #030914 0%, var(--bg) 48%, #09182b 100%);
  font-family: "Aptos", "Segoe UI", "Trebuchet MS", sans-serif;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgb(66 217 255 / 70%);
  outline-offset: 4px;
}

.orb {
  position: fixed;
  z-index: -1;
  width: 34rem;
  height: 34rem;
  border-radius: 999px;
  filter: blur(36px);
  opacity: 0.42;
  pointer-events: none;
}

.orb-a {
  top: -12rem;
  left: -10rem;
  background: rgb(66 217 255 / 42%);
}

.orb-b {
  right: -16rem;
  bottom: 10%;
  background: rgb(59 130 255 / 35%);
}

.shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 850;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border: 1px solid rgb(132 210 255 / 28%);
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 34px rgb(66 217 255 / 34%);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(7 18 34 / 58%);
  backdrop-filter: blur(18px);
}

.nav a,
.button {
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.nav a {
  padding: 10px 13px;
  color: var(--muted);
  font-size: 0.93rem;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
  background: rgb(255 255 255 / 7%);
}

.nav .nav-cta {
  color: var(--ink);
  background: rgb(66 217 255 / 12%);
  border-color: rgb(66 217 255 / 24%);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 19px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

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

.button.accent {
  color: #03111e;
  background: linear-gradient(135deg, var(--cyan), #75f0ff);
  box-shadow: 0 18px 48px rgb(66 217 255 / 24%);
}

.button.ghost {
  border-color: var(--line);
  background: rgb(255 255 255 / 5%);
}

.button.block {
  width: 100%;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
  gap: 24px;
  align-items: center;
  min-height: auto;
  padding: 22px 0 36px;
}

.hero-copy,
.page-title,
.section {
  position: relative;
}

.hero-copy,
.hero-panel {
  min-width: 0;
}

.hero-copy::before {
  display: inline-block;
  width: 90px;
  height: 2px;
  margin-bottom: 14px;
  content: "";
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 880px;
  margin-bottom: 16px;
  font-size: clamp(2.8rem, 7vw, 5.9rem);
  line-height: 0.92;
  letter-spacing: -0.064em;
}

h2 {
  max-width: 760px;
  margin-bottom: 12px;
  font-size: clamp(1.85rem, 4vw, 3.45rem);
  line-height: 0.98;
  letter-spacing: -0.058em;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.lead,
.page-title p,
.section-head p,
.support-card p,
.note-card p,
.hero-panel p,
.mini-card p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.55;
}

.lead {
  max-width: 690px;
  font-size: clamp(1.15rem, 2vw, 1.38rem);
}

.support-card p a {
  color: var(--cyan);
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.prose a {
  color: var(--cyan);
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.hero-alert {
  display: inline-flex;
  align-items: center;
  max-width: 720px;
  margin: 10px 0 4px;
  padding: 14px 18px;
  border: 1px solid rgb(105 240 178 / 34%);
  border-radius: 18px;
  color: #e6fff3;
  background: linear-gradient(135deg, rgb(105 240 178 / 18%), rgb(66 217 255 / 12%));
  box-shadow: 0 18px 48px rgb(105 240 178 / 12%);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 850;
  line-height: 1.35;
}

.hero-panel,
.mini-card,
.card,
.tariff-card,
.step-card,
.support-card,
.note-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 8%), rgb(255 255 255 / 3%)),
    var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel {
  padding: 24px;
}

.hero-logo {
  width: 74px;
  height: 74px;
  margin-bottom: 14px;
  border: 1px solid rgb(132 210 255 / 28%);
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 0 54px rgb(66 217 255 / 30%);
}

.hero-panel strong,
.mini-card strong {
  display: block;
  margin-top: 16px;
  color: var(--green);
}

.app-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 8px;
}

.app-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background: rgb(255 255 255 / 6%);
  font-weight: 850;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.app-link:hover,
.app-link:focus-visible {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: rgb(66 217 255 / 10%);
}

.signal {
  display: inline-block;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 34% 30%, #fff, transparent 18%),
    linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 0 42px rgb(66 217 255 / 48%);
}

.page-title,
.section {
  padding: 34px 0 22px;
}

.page-title.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
  gap: 22px;
  align-items: end;
}

.mini-card {
  padding: 22px;
}

.section-head {
  margin-bottom: 16px;
}

.step-grid,
.tariff-grid {
  display: grid;
  gap: 14px;
}

.step-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tariff-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card,
.tariff-card,
.card,
.support-card,
.note-card {
  padding: 20px;
}

.step-card span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  color: var(--cyan);
  background: rgb(66 217 255 / 8%);
  font-weight: 850;
}

.step-card p,
.tariff-card p {
  color: var(--muted);
  line-height: 1.55;
}

.install-step .app-links {
  display: grid;
  margin-top: 18px;
}

.install-step .app-link {
  width: 100%;
}

.tariff-card {
  display: grid;
  gap: 12px;
  align-content: start;
}

.tariff-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 26px 84px rgb(66 217 255 / 14%);
}

.tariff-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.tariff-days,
.muted {
  color: var(--muted);
}

.tariff-days {
  margin: 3px 0 0;
  white-space: nowrap;
}

.price {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 900;
  letter-spacing: -0.055em;
}

.support-card,
.note-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 26px 0 42px;
}

.form {
  display: grid;
  max-width: 680px;
  gap: 18px;
  margin-bottom: 42px;
}

label {
  display: grid;
  gap: 9px;
  color: var(--muted);
  font-weight: 750;
}

input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 15px 16px;
  color: var(--ink);
  background: rgb(2 11 22 / 62%);
  font: inherit;
}

input::placeholder {
  color: var(--faint);
}

small {
  color: var(--faint);
  font-weight: 500;
  line-height: 1.45;
}

.check {
  grid-template-columns: auto 1fr;
  align-items: start;
  color: var(--muted);
  font-weight: 500;
}

.check input {
  width: auto;
  margin-top: 5px;
  accent-color: var(--cyan);
}

.notice {
  border: 1px solid rgb(105 240 178 / 18%);
  border-radius: 20px;
  padding: 15px 16px;
  color: #dfffee;
  background: rgb(105 240 178 / 8%);
}

.notice.error {
  max-width: 680px;
  color: #ffe0e4;
  border-color: rgb(255 143 154 / 26%);
  background: rgb(255 143 154 / 10%);
}

.detail {
  max-width: 760px;
  margin-bottom: 42px;
}

.form-note {
  max-width: 680px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.detail dl {
  display: grid;
  gap: 0;
  margin: 0 0 22px;
}

.detail dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  text-align: right;
  font-weight: 800;
}

.prose {
  max-width: 820px;
  margin-bottom: 42px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.94rem;
}

@media (max-width: 920px) {
  .hero,
  .page-title.split,
  .support-card,
  .note-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 18px 0 30px;
  }

  .step-grid,
  .tariff-grid {
    grid-template-columns: 1fr 1fr;
  }

  .support-card,
  .note-card {
    display: grid;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 24px, 1160px);
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .nav a {
    white-space: nowrap;
  }

  h1 {
    font-size: clamp(2.45rem, 12vw, 3.2rem);
    line-height: 0.96;
    letter-spacing: -0.045em;
  }

  .page-title,
  .section {
    padding: 28px 0 18px;
  }

  .step-grid,
  .tariff-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .mini-card,
  .card,
  .tariff-card,
  .step-card,
  .support-card,
  .note-card {
    border-radius: 22px;
    padding: 18px;
  }

  .detail dl div,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  dd {
    text-align: left;
  }

  .app-links {
    display: grid;
  }
}
