:root {
  --ink: #0b1233;
  --ink-2: #142050;
  --paper: #f3f4fa;
  --card: #ffffff;
  --violet: #2559e6;
  --lilac: #b9cdff;
  --slate: #565a78;
  --line: #d9dbea;
  --wa: #0e7a40;
  --wa-hover: #0a6534;
  --display: "Unbounded", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 56px);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--violet); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
.top {
  position: absolute; inset: 0 0 auto 0; z-index: 5;
  color: #fff;
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font: 700 1.05rem/1 var(--display); letter-spacing: .01em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: #e1e8ff; text-decoration: none; font-weight: 500; }
.nav a:hover { color: #fff; }
.nav .btn { padding: 10px 18px; font-size: .95rem; }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font: 600 1rem/1 var(--body); text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-hover); }
.btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(37,89,230,.5), transparent 70%),
    var(--ink);
  color: #fff;
  padding: 140px 0 96px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 {
  font: 700 clamp(2rem, 4.4vw, 3.4rem)/1.08 var(--display);
  letter-spacing: -.02em; margin: 0 0 24px; max-width: 18ch;
}
.hero p.lead { font-size: 1.2rem; color: #d3dcf7; max-width: 34em; margin: 0 0 36px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 900px) {
  .hero { padding: 116px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* Assembling browser */
.build { position: relative; }
.browser {
  background: var(--ink-2); border: 1px solid rgba(185,205,255,.25);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
}
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid rgba(185,205,255,.18); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(185,205,255,.35); }
.browser-bar .url { margin-left: 10px; flex: 1; height: 22px; border-radius: 6px; background: rgba(255,255,255,.07); color: #b3c1ea; font-size: .78rem; display: flex; align-items: center; padding: 0 10px; overflow: hidden; white-space: nowrap; }
.page { padding: 22px; display: grid; gap: 14px; }
.blk { border-radius: 8px; background: rgba(185,205,255,.14); }
.b-nav { height: 12px; width: 40%; }
.b-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; align-items: center; }
.b-text { display: grid; gap: 9px; }
.b-h { height: 22px; background: rgba(255,255,255,.85); }
.b-h.short { width: 70%; }
.b-p { height: 9px; }
.b-p.short { width: 80%; }
.b-btns { display: flex; gap: 8px; margin-top: 6px; }
.b-btn { height: 24px; width: 84px; border-radius: 999px; background: var(--violet); }
.b-btn.wa { width: 70px; background: var(--wa); }
.b-img {
  aspect-ratio: 1 / 1; border-radius: 12px;
  background:
    radial-gradient(circle at 50% 38%, rgba(255,255,255,.55) 0 16%, transparent 17%),
    radial-gradient(ellipse at 50% 100%, rgba(255,255,255,.4) 0 40%, transparent 41%),
    linear-gradient(160deg, #3d7bff, #16245e);
}
.b-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.b-card { height: 54px; }
.live {
  position: absolute; right: -10px; bottom: -16px;
  background: #fff; color: var(--ink); border-radius: 999px;
  padding: 10px 16px; font: 600 .9rem/1 var(--body);
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 16px 30px -12px rgba(0,0,0,.5);
}
.live b { width: 9px; height: 9px; border-radius: 50%; background: #1fbf63; box-shadow: 0 0 0 4px rgba(31,191,99,.2); }

/* The one orchestrated moment: the site assembles itself on load */
@media (prefers-reduced-motion: no-preference) {
  .js .page > *, .js .b-text > *, .js .b-img, .js .b-card, .js .live { opacity: 0; }
  .js.run .page > * { animation: snap .55s cubic-bezier(.2,.8,.2,1) both; }
  .js.run .b-text > *, .js.run .b-img, .js.run .b-card { animation: snap .5s cubic-bezier(.2,.8,.2,1) both; }
  .js.run .b-nav { animation-delay: .15s; }
  .js.run .b-row { animation-delay: .3s; }
  .js.run .b-h { animation-delay: .45s; }
  .js.run .b-h.short { animation-delay: .6s; }
  .js.run .b-p { animation-delay: .75s; }
  .js.run .b-p.short { animation-delay: .85s; }
  .js.run .b-btns { animation-delay: 1s; }
  .js.run .b-img { animation: snapimg .8s cubic-bezier(.2,.8,.2,1) .55s both; }
  .js.run .b-cards { animation-delay: 1.1s; }
  .js.run .b-card:nth-child(1) { animation-delay: 1.2s; }
  .js.run .b-card:nth-child(2) { animation-delay: 1.3s; }
  .js.run .b-card:nth-child(3) { animation-delay: 1.4s; }
  .js.run .live { animation: pop .5s cubic-bezier(.3,1.5,.5,1) 1.9s both; }
  .js.run .url span { display: inline-block; overflow: hidden; white-space: nowrap; animation: type 1s steps(18) .1s both; }
}
@keyframes snap { from { opacity: 0; transform: translateY(10px) scale(.98); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes snapimg { from { opacity: 0; clip-path: inset(0 0 100% 0 round 12px); } to { opacity: 1; clip-path: inset(0 0 0 0 round 12px); } }
@keyframes pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes type { from { max-width: 0; } to { max-width: 18ch; } }

/* Sections */
section { padding: 96px 0; }
@media (max-width: 760px) { section { padding: 72px 0; } }
h2 { font: 700 clamp(1.7rem, 3.4vw, 2.5rem)/1.1 var(--display); letter-spacing: -.015em; margin: 0 0 14px; }
.sub { color: var(--slate); max-width: 38em; margin: 0 0 48px; font-size: 1.1rem; }

/* Price list, set like a shop menu board */
.menu { border-top: 2px solid var(--ink); }
.item { display: grid; grid-template-columns: 1fr auto; gap: 8px 40px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.item-head { display: flex; align-items: baseline; gap: 14px; grid-column: 1 / -1; }
.item h3 { font: 600 clamp(1.2rem, 2.2vw, 1.55rem)/1.2 var(--display); margin: 0; letter-spacing: -.01em; white-space: nowrap; }
.leader { flex: 1; border-bottom: 2px dotted #b9bcd3; transform: translateY(-6px); min-width: 24px; }
.price { text-align: right; white-space: nowrap; }
.price strong { font: 700 clamp(1.3rem, 2.4vw, 1.7rem)/1 var(--display); font-variant-numeric: tabular-nums; }
.price s { color: var(--slate); font: 500 1rem/1 var(--body); margin-right: 8px; }
.price small { display: block; color: var(--slate); font-size: .9rem; margin-top: 6px; }
.item-body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 12px 48px; grid-column: 1 / -1; margin-top: 10px; }
.item-body > p { margin: 0; color: var(--slate); max-width: 34em; }
.item ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.item li { padding-left: 22px; position: relative; }
.item li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 9px; border-radius: 2px; background: var(--violet); transform: rotate(45deg); }
.item-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.time { color: var(--slate); font-size: .95rem; }
.time strong { color: var(--ink); font-weight: 600; }
.item-foot .btn { padding: 11px 20px; font-size: .95rem; }
@media (max-width: 760px) {
  .item h3 { white-space: normal; }
  .item-head { flex-wrap: wrap; }
  .leader { display: none; }
  .item-head .price { width: 100%; text-align: left; }
  .item-body { grid-template-columns: 1fr; }
}
.note { color: var(--slate); font-size: .95rem; margin-top: 28px; }

/* Steps: a real sequence, so numbered */
.how { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-top: 64px; }
.steps li::before {
  content: counter(s); position: absolute; top: 0; left: 0;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: #fff; font: 700 1rem/1 var(--display);
}
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 22px; left: 56px; right: -20px; border-top: 2px dashed var(--line); }
.steps h3 { font: 600 1.1rem/1.3 var(--display); margin: 0 0 8px; }
.steps p { margin: 0; color: var(--slate); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li::after { display: none; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; gap: 28px; } }

/* FAQ */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; font-weight: 600; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0 0 22px; color: var(--slate); max-width: 40em; }

/* Contact band */
.reach { background: var(--ink); color: #fff; }
.reach h2 { max-width: 16ch; }
.reach p { color: #d3dcf7; max-width: 34em; margin: 0 0 32px; font-size: 1.1rem; }
.reach .alt { margin-top: 22px; color: #b3c1ea; }
.reach .alt a { color: #fff; }

footer { background: var(--ink); color: #94a3cf; border-top: 1px solid rgba(185,205,255,.15); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; padding-bottom: 26px; font-size: .92rem; }
footer a { color: #d3dcf7; }

/* Contact page */
.contact-hero { min-height: 100svh; display: flex; align-items: center; padding: 120px 0 72px; }
.contact-hero h1 { max-width: 15ch; }
.ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 760px; margin-top: 8px; }
.way {
  display: block; padding: 24px; border-radius: 16px; text-decoration: none; color: #fff;
  background: rgba(255,255,255,.06); border: 1px solid rgba(185,205,255,.25);
  transition: border-color .15s, background-color .15s;
}
.way:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.way svg { width: 28px; height: 28px; margin-bottom: 18px; }
.way strong { display: block; font: 600 1.15rem/1.3 var(--display); margin-bottom: 4px; }
.way span { color: #bfcbef; word-break: break-word; }
.way.wa { background: var(--wa); border-color: var(--wa); }
.way.wa span { color: #d7f5e3; }
.way.wa:hover { background: var(--wa-hover); }
@media (max-width: 600px) { .ways { grid-template-columns: 1fr; } }
.back { display: inline-block; margin-top: 36px; color: #d3dcf7; }
