:root {
  --ink: #0b0b0c;
  --ink-2: #3a3a3f;
  --muted: #6b6b73;
  --line: rgba(11, 11, 12, 0.08);
  --paper: #ffffff;
  --mist: #f4f4f6;
  --silver: linear-gradient(135deg, #ffffff 0%, #e9e9ee 45%, #cfcfd6 100%);
  --radius: 22px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 18px 50px -18px rgba(0, 0, 0, 0.22);
  --ok: #1f8a4c;
  --wait: #b26a00;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

/* top bar */
.top { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 650; letter-spacing: -0.01em; }
.brand img { width: 36px; height: 36px; }
.lang { font-size: 14px; color: var(--muted); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; }
.lang:hover { color: var(--ink); border-color: rgba(11, 11, 12, 0.2); }

/* hero */
.hero { position: relative; text-align: center; padding: 56px 0 40px; }
.hero::before {
  content: "";
  position: absolute;
  inset: -120px 0 auto 0;
  height: 620px;
  z-index: -1;
  background:
    radial-gradient(520px 320px at 50% 30%, rgba(0, 0, 0, 0.06), transparent 70%),
    radial-gradient(700px 420px at 50% 0%, #f1f1f4, transparent 70%);
}
.mark {
  width: 168px;
  height: 168px;
  margin: 0 auto 28px;
  border-radius: 40px;
  background: var(--silver);
  box-shadow: var(--shadow), inset 0 1px 0 #fff;
  display: grid;
  place-items: center;
  animation: float 7s ease-in-out infinite;
}
.mark img { width: 132px; height: 132px; }
@keyframes float { 50% { transform: translateY(-8px); } }

.eyebrow { display: inline-block; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
h1 { font-size: clamp(40px, 7vw, 76px); line-height: 1.02; letter-spacing: -0.035em; margin: 0 0 18px; font-weight: 750; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-2); max-width: 720px; margin: 0 auto 32px; }

.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6); }
.btn-light { background: #fff; color: var(--ink); border: 1px solid var(--line); }

/* product view */
.view {
  margin: 56px auto 0;
  max-width: 900px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-align: left;
}
.view-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--mist); font-size: 13px; color: var(--muted); }
.view-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d9d9de; display: inline-block; }
.view-bar span { margin-left: 8px; }
.view-body { display: grid; grid-template-columns: 200px 1fr; }
.side { border-right: 1px solid var(--line); padding: 18px; font-size: 14px; color: var(--ink-2); }
.side b { display: block; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 4px 0 8px; font-weight: 600; }
.side div { padding: 6px 10px; border-radius: 10px; }
.side div.on { background: var(--mist); color: var(--ink); font-weight: 600; }
.main { padding: 18px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.stat { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.stat small { display: block; color: var(--muted); font-size: 12px; }
.stat strong { font-size: 20px; letter-spacing: -0.02em; }
.row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; font-size: 14px; }
.av { width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--silver); border: 1px solid var(--line); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.row p { margin: 0; flex: 1; min-width: 0; }
.row p small { display: block; color: var(--muted); font-size: 12px; }
.tag { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.tag.run { background: #eef6ff; color: #1f5fbf; }
.tag.wait { background: #fff4e5; color: var(--wait); }
.tag.done { background: #eaf6ef; color: var(--ok); }

/* features */
.section { padding: 96px 0 24px; }
.section h2 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 14px; text-align: center; }
.section > .wrap > p { text-align: center; color: var(--ink-2); max-width: 680px; margin: 0 auto 44px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; background: linear-gradient(180deg, #fff, #fafafb); }
.card .n { font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: 0.08em; }
.card h3 { font-size: 19px; margin: 10px 0 8px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* closing band */
.band { margin: 88px 0 0; padding: 64px 28px; border-radius: 32px; background: var(--ink); color: #fff; text-align: center; position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.14), transparent); pointer-events: none; }
.band h2 { color: #fff; margin-bottom: 12px; }
.band p { color: rgba(255, 255, 255, 0.75); max-width: 620px; margin: 0 auto 28px; }
.band .btn-light { border-color: transparent; position: relative; z-index: 1; }

footer { padding: 48px 0 56px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .view-body { grid-template-columns: 1fr; }
  .side { display: none; }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .hero { padding-top: 28px; }
  .mark { width: 128px; height: 128px; border-radius: 32px; }
  .mark img { width: 100px; height: 100px; }
  .grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats .stat:last-child { display: none; }
  .row .tag { display: none; }
  .band { padding: 48px 20px; border-radius: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .mark { animation: none; }
  .btn { transition: none; }
}
.side b.gap { margin-top: 14px; }
