:root {
  color-scheme: light;
  --paper: #f7f8fc;
  --white: #fff;
  --navy: #111831;
  --ink: #182342;
  --muted: #505c75;
  --blue: #2c48d6;
  --blue-dark: #2337a0;
  --line: #dce1ef;
  --lime: #ddfb85;
  font: 16px/1.55 system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: default; opacity: .65; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
.shell { width: min(1224px, calc(100% - 72px)); margin-inline: auto; }
.muted { color: var(--muted); }

.top, .foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 800;
  letter-spacing: -.05em;
  font-size: 1.24rem;
}
.mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-right: 7px;
  border-radius: 10px;
  background: var(--blue);
  color: var(--white);
  font-size: 22px;
}
nav { display: flex; gap: 32px; align-items: center; font-size: .94rem; font-weight: 640; }
nav a:hover, summary:hover { color: var(--blue); }
.small {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: .88rem;
  font-weight: 650;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  min-height: 410px;
  overflow: hidden;
  padding: 48px 5%;
  border-radius: 25px;
  background: var(--navy);
  color: var(--white);
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow, .upper {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--blue);
  font: 750 .73rem/1.4 ui-monospace, monospace;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow { color: var(--lime); }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
h1 {
  margin-block: 15px 18px;
  font-size: clamp(2.75rem, 5.3vw, 5.3rem);
  font-weight: 760;
  line-height: .99;
  letter-spacing: -.075em;
}
h1 em { color: var(--lime); font-style: normal; }
.lead { max-width: 390px; margin-bottom: 24px; color: #d1d9f3; font-size: 1.04rem; }
.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  font-size: .92rem;
  font-weight: 750;
}
.primary { border-color: var(--blue); background: var(--blue); color: var(--white); }
.button:hover:not(:disabled) { border-color: var(--blue); }
.primary:hover:not(:disabled) { background: var(--blue-dark); }
.hero .primary { border-color: var(--lime); background: var(--lime); color: var(--navy); }
.hero .primary:hover { background: #edffa9; color: var(--navy); }
.hero a:focus-visible { outline-color: var(--lime); }

.scene { position: relative; min-height: 300px; display: grid; place-items: center; }
.scene-grid {
  position: absolute;
  inset: -64px -80px;
  background:
    linear-gradient(#a5b7ff25 1px, transparent 1px),
    linear-gradient(90deg, #a5b7ff25 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse, #000, transparent 72%);
}
.scene-halo {
  position: absolute;
  inset: -40% -35%;
  z-index: -1;
  background: radial-gradient(ellipse, #536bff80 0%, #3045bd35 43%, transparent 69%);
}
.scene-path {
  position: absolute;
  width: 108%;
  height: 64%;
  border: 1px solid #8ba4ff70;
  border-radius: 50%;
}
.path-one { transform: rotate(-24deg); }
.path-two { transform: rotate(25deg); border-style: dashed; opacity: .6; }
.scene-node {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  border: 1px solid #a1b0ff80;
  background: #3548ad;
  color: #fff;
}
.node-one { top: 11%; right: 9%; }
.node-two { bottom: 10%; left: 6%; background: var(--lime); color: var(--navy); }
.browser-art {
  position: relative;
  width: min(100%, 342px);
  overflow: hidden;
  border: 1px solid #9aacff99;
  border-radius: 16px;
  background: #202d81;
  box-shadow: 0 24px 54px #11183190;
  transform: rotate(-5deg);
}
.browser-bar { display: flex; gap: 5px; padding: 12px; background: #2f409c; }
.browser-bar span { width: 6px; height: 6px; border-radius: 50%; background: #adb9fc; }
.browser-content { display: grid; justify-items: center; gap: 16px; padding: 25px 12px 29px; }
.browser-logo {
  display: grid;
  place-items: center;
  width: 49px;
  height: 49px;
  border-radius: 16px;
  background: #a8b6ff;
  color: #14255d;
  font-size: 32px;
}
.browser-address {
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid #a5b7ff60;
  border-radius: 8px;
  background: #192563;
  color: #f5f6ff;
  font: clamp(.72rem, 1.4vw, .96rem)/1.3 ui-monospace, monospace;
}
.browser-address span { color: #bcf17b; }
.strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 36px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .93rem;
  font-weight: 700;
}
.strip i { margin-right: 4px; color: var(--blue); font-style: normal; }

.catalog, .faq { padding-block: 50px; scroll-margin-top: 12px; }
.section-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
h2 { margin-top: 6px; font-size: clamp(2.1rem, 4.2vw, 3.45rem); line-height: 1.07; letter-spacing: -.065em; }
.billing { margin: 9px 0 19px; color: var(--muted); }
.toggle { display: inline-flex; flex-shrink: 0; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: #eef1fb; }
.toggle button { padding: 6px 12px; border: 0; border-radius: 6px; background: none; color: var(--muted); font-weight: 670; }
.toggle [aria-pressed=true] { background: var(--white); color: var(--blue); box-shadow: 0 1px 4px #203c6830; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.card {
  display: flex;
  flex-direction: column;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--white);
}
.card.featured { border-color: var(--blue); background: #edf0ff; }
.card h3 { font-size: 1.13rem; letter-spacing: -.027em; }
.price { margin-top: 6px; font-size: clamp(1.8rem, 3vw, 2.65rem); font-weight: 780; letter-spacing: -.075em; }
.price span { font-size: .75rem; font-weight: 630; letter-spacing: 0; color: var(--muted); white-space: nowrap; }
.card ul { display: grid; align-content: start; gap: 4px; flex: 1; margin: 10px 0 17px; padding: 12px 0 0; border-top: 1px solid var(--line); list-style: none; }
.card li { color: var(--muted); font-size: .89rem; }
.card li::before { content: '✓'; margin-right: 7px; color: var(--blue); font-weight: 800; }
#availability:not(:empty) { margin-top: 12px; }
.faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: 30px; border-top: 1px solid var(--line); }
details { padding: 13px 0; border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; }
details p { margin: 8px 0 4px; color: var(--muted); }
.foot { gap: 12px; padding-block: 16px; border-top: 1px solid var(--line); }

dialog {
  width: min(470px, calc(100% - 32px));
  max-height: 90dvh;
  overflow: auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
}
dialog::backdrop { background: #111831c0; }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 18px; }
.dialog-head h2 { margin: 0; font-size: 2rem; }
dialog label, dialog input { display: block; }
dialog label { margin-top: 10px; font-weight: 650; }
dialog input { width: 100%; margin: 5px 0 12px; padding: 9px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); color: var(--ink); }
#qr { display: block; max-width: 100%; height: auto; margin: 10px 0; }
#status:not(:empty), #expiry { margin-top: 10px; color: var(--muted); }
#site { display: inline-block; color: var(--blue); text-decoration: underline; }

@media (max-width: 1000px) {
  .shell { width: calc(100% - 44px); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 690px) {
  .shell { width: calc(100% - 28px); }
  .top { min-height: 64px; }
  nav { gap: 12px; font-size: .84rem; }
  .brand { font-size: 1rem; }
  .mark { width: 27px; height: 27px; margin-right: 3px; border-radius: 7px; font-size: 17px; }
  .hero { grid-template-columns: 1fr; gap: 16px; padding: 26px 20px 10px; border-radius: 18px; }
  .scene { width: min(100%, 370px); min-height: 205px; margin-inline: auto; }
  .browser-art { width: 75%; }
  .scene-node { width: 30px; height: 30px; border-radius: 9px; }
  .catalog, .faq { padding-block: 35px; }
  .section-top { flex-wrap: wrap; align-items: start; }
  .faq { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 450px) {
  .cards { grid-template-columns: 1fr; }
  .strip { gap: 10px 16px; font-size: .78rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
