:root {
  --ink: #10151c;
  --blue: #0a6ebe;
  --blue-2: #1c9bf2;
  --paper: #f4f7fb;
  --line: #d5dee8;
  --muted: #5c6b7a;
  --card: #ffffff;
  --danger: #c62828;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
}

a { color: inherit; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 7vw;
  background: #0e1218;
  color: white;
}
.nav-brand { display: flex; align-items: center; gap: 28px; }
.nav-brand img.word { height: 40px; width: auto; max-height: 40px; }
.nav-brand img.shop { height: 42px; }
.nav a.phone {
  color: white;
  text-decoration: none;
  font-weight: 650;
  letter-spacing: 0.3px;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  padding: 72px 7vw 56px;
  background:
    radial-gradient(900px 420px at 90% -10%, rgba(28, 155, 242, 0.18), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #eef3f8 100%);
  border-bottom: 1px solid var(--line);
}
.kicker {
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.4px;
  font-size: 13px;
}
h1 {
  font-size: clamp(40px, 5vw, 68px);
  line-height: 0.98;
  margin: 12px 0 16px;
  letter-spacing: -1.5px;
}
.lede { font-size: 18px; line-height: 1.55; color: #243140; max-width: 640px; }
.actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.btn {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.btn.primary { background: var(--blue); color: white; }
.btn.ghost { background: white; color: var(--ink); border: 1px solid var(--line); }
.btn.small { padding: 8px 12px; border-radius: 10px; font-size: 14px; }
.btn:disabled { opacity: 0.45; cursor: default; }
.btn.active { background: var(--danger); color: white; }

.sheet {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(16, 21, 28, 0.08);
  overflow: hidden;
}
.sheet-top {
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.sheet svg { width: 100%; height: auto; display: block; background: #fbfcfe; }

.section { padding: 64px 7vw; }
.section h2 { font-size: 32px; margin: 0 0 8px; letter-spacing: -0.6px; }
.grid2, .grid3, .grid4 { display: grid; gap: 16px; margin-top: 28px; }
.grid2 { grid-template-columns: repeat(2, 1fr); }
.grid3 { grid-template-columns: repeat(3, 1fr); }
.grid4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}
.card strong { display: block; font-size: 18px; margin-bottom: 8px; }
.card p, .note { color: var(--muted); line-height: 1.5; }
.step-no {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: #e7f3fd; color: var(--blue); font-weight: 800; margin-bottom: 12px;
}

.upload {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
}
.modes { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 16px; }
.mode {
  border: 1px solid var(--line);
  background: #f8fafc;
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
}
.mode input { margin-right: 6px; }
.drop {
  border: 1.5px dashed #9eb0c2;
  border-radius: 14px;
  padding: 28px;
  text-align: center;
  background: #f8fbfe;
}
.drop input { margin-top: 10px; }
.status { min-height: 1.4em; color: var(--blue); font-weight: 650; }

.price-row { display: flex; justify-content: space-between; gap: 24px; align-items: end; }
.price { font-size: 48px; font-weight: 800; letter-spacing: -1px; margin: 8px 0; }
.promo {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e7f3fd;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}
.kicker .promo { margin-bottom: 0; }

.footer {
  background: #0e1218;
  color: #d5dee8;
  padding: 28px 7vw 36px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}
.footer img { height: 48px; }
.footer a { color: white; text-decoration: none; }

.work {
  display: grid;
  grid-template-columns: 1fr 340px;
  min-height: calc(100vh - 78px);
}
.stage-wrap {
  background:
    linear-gradient(#d5dee8 1px, transparent 1px),
    linear-gradient(90deg, #d5dee8 1px, transparent 1px),
    #e7eef5;
  background-size: 32px 32px;
  overflow: auto;
  padding: 24px;
}
.canvas {
  position: relative;
  width: min(100%, 1100px);
  margin: 0 auto;
  background: white;
  box-shadow: 0 16px 40px rgba(16, 21, 28, 0.12);
}
.canvas img, .canvas svg { width: 100%; height: auto; display: block; }
.canvas svg { position: absolute; inset: 0; }
.side {
  background: white;
  border-left: 1px solid var(--line);
  padding: 18px;
  overflow: auto;
}
.side h1 { font-size: 28px; letter-spacing: -0.6px; }
.tools { display: flex; flex-wrap: wrap; gap: 8px; }
.field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; font-size: 13px; color: var(--muted); }
.field input, .field select {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  font: inherit;
  color: var(--ink);
}
.pay {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.error { color: var(--danger); font-size: 14px; }

@media (max-width: 980px) {
  .hero, .work, .grid2, .grid3, .grid4, .footer, .price-row { grid-template-columns: 1fr; display: grid; }
  .nav { padding: 14px 20px; }
  .hero, .section { padding-left: 20px; padding-right: 20px; }
  .nav-brand img.shop { display: none; }
}
