:root {
  --bg: #2350e0;
  --bg2: rgba(255, 255, 255, .07);
  --panel: rgba(255, 255, 255, .12);
  --line: rgba(255, 255, 255, .16);
  --line2: rgba(255, 255, 255, .32);
  --tint: rgba(255, 255, 255, .08);
  --tint2: rgba(255, 255, 255, .15);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, .78);
  --dim: rgba(255, 255, 255, .55);
  --acc: #ffffff;
  --acc-ink: #2350e0;
  --hero: #2350e0;
  --r: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  background: var(--bg);
  color: var(--text);
  font: 500 16px/1.5 "Instrument Sans", system-ui, Helvetica, Arial, sans-serif;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.ms {
  font-family: "Material Symbols Rounded";
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  direction: ltr;
  display: inline-block;
  font-feature-settings: "liga";
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
  user-select: none;
}
.ms.sm { font-size: 16px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px 9px 14px;
  border-radius: 999px;
  background: var(--acc); color: var(--acc-ink);
  font-weight: 600;
  white-space: nowrap;
  transition: filter .15s, background .15s;
}
.btn:hover { filter: brightness(.94); }
.btn.lg { padding: 12px 20px 12px 16px; }
.btn.ghost { background: var(--tint); color: var(--text); }
.btn.ghost:hover { background: var(--tint2); filter: none; }

/* header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(35, 80, 224, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.top.scrolled { border-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 19px; letter-spacing: -.03em; }
.mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--acc); color: var(--acc-ink);
  display: grid; place-items: center; flex: none;
}
.mark .ms { font-size: 20px; font-variation-settings: "FILL" 1, "wght" 600, "GRAD" 0, "opsz" 24; }
nav { display: flex; gap: 2px; margin-right: auto; }
nav a { display: flex; align-items: center; gap: 3px; padding: 8px 12px; border-radius: 999px; }
nav a:hover { background: var(--tint); }

/* hero */
.hero { position: relative; overflow: hidden; background: var(--hero); color: #fff; border-bottom: 1px solid var(--line); }
.hero .lead { color: rgba(255, 255, 255, .78); }
.hero .btn.ghost { background: rgba(255, 255, 255, .14); }
.hero .btn.ghost:hover { background: rgba(255, 255, 255, .22); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-in {
  position: relative;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 48px;
  padding-top: 104px; padding-bottom: 112px;
}
h1 {
  font-size: clamp(52px, 8.4vw, 92px);
  font-weight: 650;
  line-height: .98;
  letter-spacing: -.045em;
}
.lead { color: var(--muted); font-size: 20px; line-height: 1.4; max-width: 500px; margin-top: 24px; }
.hero-art { color: #fff; padding-right: 24px; }
.hero-art .ms { font-size: 240px; font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 48; }

/* sections */
.sec { padding: 96px 0; }
h2 { font-size: clamp(34px, 4.6vw, 46px); font-weight: 600; line-height: 1.06; letter-spacing: -.035em; }
.sub { color: var(--muted); font-size: 18px; margin-top: 12px; max-width: 540px; }

/* app list */
.apps { margin-top: 40px; border-top: 1px solid var(--line); }
.apps a {
  display: grid;
  grid-template-columns: 44px 150px 1fr auto 24px;
  align-items: center; gap: 20px;
  padding: 18px 8px;
  border-bottom: 1px solid var(--line);
  transition: background .15s;
}
.apps a:hover { background: var(--tint); }
.app-ic {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--panel); border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--acc);
}
.app-ic .ms { font-size: 22px; }
.app-name { font-size: 21px; font-weight: 600; letter-spacing: -.025em; }
.app-desc { color: var(--muted); }
.app-meta { font: 400 13px/1 "JetBrains Mono", ui-monospace, monospace; color: var(--dim); letter-spacing: 0; }
.app-go { color: var(--dim); transition: transform .15s, color .15s; }
.apps a:hover .app-go { color: var(--text); transform: translateX(3px); }

/* why */
#apps { padding-bottom: 56px; }
.why { padding: 0; }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 48px 0; }
.feat.flip .feat-text { order: 2; }
.feat h3 { font-size: 30px; font-weight: 600; line-height: 1.1; letter-spacing: -.03em; }
.feat p { color: var(--muted); font-size: 18px; line-height: 1.45; margin-top: 16px; max-width: 430px; }
.feat p + p { margin-top: 12px; }
.vis {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  min-height: 300px;
  padding: 32px;
  display: grid; place-items: center;
}

.price { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; max-width: 380px; }
.plan { border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.plan.old { border: 1px solid var(--line); color: var(--dim); }
.plan.new { background: var(--panel); border: 1px solid var(--line2); }
.plan-lbl { font: 500 12px/1 "JetBrains Mono", ui-monospace, monospace; letter-spacing: 0; text-transform: lowercase; }
.plan.new .plan-lbl { color: var(--acc); }
.plan-amt { font-size: 34px; font-weight: 650; letter-spacing: -.04em; display: flex; align-items: baseline; gap: 6px; }
.plan-amt small { font-size: 13px; font-weight: 500; letter-spacing: 0; }
.plan.old s { text-decoration-thickness: 2px; }
.plan ul { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.plan li::before { content: "check"; font-family: "Material Symbols Rounded"; font-size: 16px; vertical-align: -3px; margin-right: 6px; }
.plan.old li::before { content: "lock"; }
.plan.new li::before { color: var(--acc); }

.repo { width: 100%; max-width: 380px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 14px; }
.repo-head, .repo-row, .repo-commit { display: flex; align-items: center; gap: 10px; padding: 11px 14px; }
.repo-head { background: var(--panel); font-weight: 600; border-bottom: 1px solid var(--line); }
.repo-row { border-bottom: 1px solid var(--line); }
.repo-row .ms, .repo-head .ms, .repo-commit .ms { font-size: 18px; color: var(--dim); }
.repo-head .ms { color: var(--acc); }
.repo-row em { margin-left: auto; font-style: normal; color: var(--dim); font-size: 13px; }
.repo-commit { font: 400 12.5px/1.2 "JetBrains Mono", ui-monospace, monospace; letter-spacing: 0; color: var(--muted); }

.toggles { width: 100%; max-width: 340px; display: flex; flex-direction: column; }
.toggles li { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.toggles li:last-child { border-bottom: 0; }
.sw { width: 38px; height: 22px; border-radius: 999px; background: rgba(255, 255, 255, .22); position: relative; flex: none; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(14, 21, 54, .2); transition: transform .2s; }
.sw.on { background: var(--acc); }
.sw.on::after { transform: translateX(16px); background: var(--acc-ink); }

/* cta */
.cta-sec { padding-top: 56px; }
.cta {
  text-align: center;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 72px 24px;
  display: flex; flex-direction: column; align-items: center;
}
.mark.big { width: 64px; height: 64px; border-radius: 18px; margin-bottom: 28px; }
.mark.big .ms { font-size: 36px; }
.cta p { color: var(--muted); font-size: 18px; max-width: 440px; margin: 14px 0 28px; }

/* faq */
#faq { padding-top: 24px; }
.faq-in { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 4px;
  font-size: 18px; font-weight: 550;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "add"; font-family: "Material Symbols Rounded"; font-size: 22px; color: var(--dim); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 4px 22px; max-width: 560px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 48px 0 64px; margin-top: 48px; }
.foot-in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-note { color: var(--dim); margin-top: 12px; font-size: 14px; }
.foot-cols { display: flex; gap: 72px; }
.foot-cols div { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.foot-cols h4 { font: 500 12px/1 "JetBrains Mono", ui-monospace, monospace; letter-spacing: 0; color: var(--dim); text-transform: lowercase; margin-bottom: 6px; }
.foot-cols a { color: var(--muted); }
.foot-cols a:hover { color: var(--text); }

/* phone */
@media (max-width: 860px) {
  .hero-art { display: none; }
  .hero-in { grid-template-columns: 1fr; padding-top: 72px; padding-bottom: 80px; }
  .feat, .faq-in { grid-template-columns: 1fr; gap: 28px; }
  .feat.flip .feat-text { order: 0; }
  .apps a { grid-template-columns: 44px 1fr 24px; gap: 4px 16px; padding: 16px 4px; }
  .app-ic { grid-row: span 3; align-self: start; }
  .app-name, .app-desc, .app-meta { grid-column: 2; }
  .app-go { grid-column: 3; grid-row: 1 / span 3; }
  .app-meta:empty { display: none; }
  .app-meta { margin-top: 4px; }
}
@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  nav { display: none; }
  .top-in { justify-content: space-between; }
  .sec { padding: 72px 0; }
  #apps { padding-bottom: 40px; }
  .why { padding: 0; }
  .cta-sec { padding-top: 40px; }
  .lead { font-size: 18px; }
  .vis { padding: 20px; min-height: 0; }
  .plan { padding: 16px 14px; }
  .plan-amt { font-size: 28px; flex-wrap: wrap; row-gap: 2px; }
  .plan-amt small { flex-basis: 100%; }
  .cta { padding: 56px 20px; }
  .foot-cols { gap: 48px; }
}
