:root {
  --ice: #eaf1f6;
  --frost: #f8fbfd;
  --ink: #10243d;
  --slate: #56677d;
  --glacier: #2b64d9;
  --line: #d3dee8;
  --mint: #17876a;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: 17px/1.6 var(--sans); color: var(--ink); background: var(--frost); -webkit-font-smoothing: antialiased; }
a { color: var(--glacier); }
:focus-visible { outline: 2px solid var(--glacier); outline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
.wrap { width: min(1120px, 100% - 40px); margin: 0 auto; }
.muted { color: var(--slate); }

/* header */
.top { display: flex; align-items: center; gap: 20px; padding: 18px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 720; font-size: 19px; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.brand i { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, #cfe0f5, #f8fbfd 55%, #b9d0ee); border: 1px solid #b5c9e2; }
.top nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.top nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 550; }
.top nav a:hover { color: var(--glacier); }
.top .lang { color: var(--slate); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; padding: 11px 20px;
  font: 600 15px/1.2 var(--sans); text-decoration: none; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
}
.btn.primary { background: var(--glacier); border-color: var(--glacier); color: #fff; }
.btn.primary:hover { filter: brightness(1.07); }
.top .btn { padding: 8px 16px; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; padding: 56px 0 72px; }
.hero h1 { font-size: clamp(36px, 5.2vw, 60px); font-weight: 760; letter-spacing: -0.035em; }
.hero p.lead { margin-top: 20px; font-size: 19px; color: var(--slate); max-width: 34em; }
.hero .cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero .note { margin-top: 14px; font-size: 14px; color: var(--slate); }

.demo { position: relative; }
.window { border-radius: 16px; overflow: hidden; border: 1px solid #c6d4e2; background: #fff; box-shadow: 0 40px 80px -40px rgba(16, 36, 61, .45); }
.chrome { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--frost); }
.chrome i { width: 10px; height: 10px; border-radius: 50%; background: #d6dee7; }
.chrome span { margin-left: 10px; font-size: 12.5px; color: var(--slate); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 2px 12px; }
#stage {
  position: relative; height: 470px; overflow: hidden; transition: background .3s;
  background:
    radial-gradient(circle at 16% 72%, #ffb38a 0 80px, transparent 81px),
    radial-gradient(circle at 80% 26%, #7fb4ff 0 110px, transparent 111px),
    radial-gradient(circle at 58% 88%, #8fe0c4 0 70px, transparent 71px),
    #f3f6fa;
}
#stage.dark {
  background:
    radial-gradient(circle at 16% 72%, #8a3f7c 0 80px, transparent 81px),
    radial-gradient(circle at 80% 26%, #2d5fb8 0 110px, transparent 111px),
    #141a26;
}
.fake { position: absolute; inset: 0; padding: 30px 34px; pointer-events: none; }
.fake b { display: block; border-radius: 5px; background: #c9d5e2; }
.fake b:nth-child(1) { height: 12px; width: 36%; }
.fake b:nth-child(2) { height: 30px; width: 62%; margin-top: 34px; background: #1f3350; opacity: .85; }
.fake b:nth-child(3) { height: 11px; width: 50%; margin-top: 16px; }
.fake b:nth-child(4) { height: 11px; width: 44%; margin-top: 10px; }
.dark .fake b { background: #34405a; } .dark .fake b:nth-child(2) { background: #dfe7f2; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.chips button {
  border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 6px 14px;
  font: 600 13.5px/1.2 var(--sans); cursor: pointer;
}
.chips button[aria-pressed=true] { background: var(--ink); color: #fff; border-color: var(--ink); }
.demo .hint { font-size: 13px; color: var(--slate); margin-top: 10px; }

/* sections */
section { padding: 72px 0; }
section.alt { background: var(--ice); }
section h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 740; max-width: 20em; }
section .sub { margin-top: 12px; color: var(--slate); max-width: 40em; }

.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin-top: 40px; }
.features div { padding: 22px 0; border-top: 1px solid var(--line); }
.features h3 { font-size: 18px; font-weight: 680; }
.features p { margin-top: 6px; color: var(--slate); font-size: 16px; }

.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: s; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; margin-bottom: 14px; }
.steps h3 { font-size: 18px; } .steps p { margin-top: 6px; color: var(--slate); font-size: 16px; }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 40px; max-width: 880px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; }
.plan.pro { border: 2px solid var(--glacier); }
.plan h3 { font-size: 20px; }
.price { margin-top: 12px; font-size: 40px; font-weight: 760; letter-spacing: -0.03em; }
.price small { font-size: 16px; font-weight: 500; color: var(--slate); letter-spacing: 0; }
.plan .alt-price { color: var(--slate); font-size: 15px; margin-top: 2px; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 24px; flex: 1; }
.plan li { padding: 7px 0 7px 26px; position: relative; font-size: 16px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 12px; height: 7px; border-left: 2px solid var(--mint); border-bottom: 2px solid var(--mint); transform: rotate(-45deg); }
.plan .btn { width: 100%; }
.vat { margin-top: 18px; font-size: 14px; color: var(--slate); max-width: 46em; }

.faq { margin-top: 32px; max-width: 760px; }
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 640; font-size: 17px; }
.faq details p { margin-top: 10px; color: var(--slate); }

/* legal pages */
.legal { max-width: 760px; padding: 40px 0 80px; }
.legal h1 { font-size: clamp(30px, 4vw, 42px); }
.legal .updated { margin-top: 8px; color: var(--slate); font-size: 15px; }
.legal h2 { font-size: 21px; margin: 36px 0 10px; letter-spacing: -0.01em; }
.legal p, .legal li { color: #24364f; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; } .legal li { margin: 6px 0; }
.legal table { border-collapse: collapse; width: 100%; font-size: 15px; margin-top: 10px; }
.legal th, .legal td { text-align: left; border-bottom: 1px solid var(--line); padding: 9px 8px; vertical-align: top; }
.legal th { color: var(--slate); font-weight: 600; }
.legal .box { background: var(--ice); border-radius: 12px; padding: 16px 18px; margin-top: 16px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: 15px; color: var(--slate); }
footer .cols { display: flex; gap: 40px; flex-wrap: wrap; justify-content: space-between; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--slate); }
footer .who { margin-top: 18px; font-size: 14px; }

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 28px; }
  .features, .plans { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  #stage { height: 420px; }
  .top nav a.hide-m { display: none; }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 32px); }
  body { font-size: 16px; }
  section { padding: 52px 0; }
  .top nav { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
