﻿:root {
  --ink: #07111b;
  --ink-2: #13202b;
  --muted: #65707b;
  --paper: #fbfbfa;
  --panel: #ffffff;
  --line: #e6e8ea;
  --pink: #f06bd2;
  --pink-soft: #ffe4f7;
  --mint: #9cebc4;
  --mint-soft: #e3f9ef;
  --container: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
  --shadow: 0 22px 55px rgba(7, 17, 27, 0.10);
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.container {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 251, 250, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner,
.footer-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
}

.brand-qr.brand-pixel {
  width: 44px;
  height: 44px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: 4px;
  padding: 2px;
}
.brand-pixel i {
  display: block;
  border-radius: 3px;
  background: transparent;
}
.brand-pixel i:nth-child(1),
.brand-pixel i:nth-child(2),
.brand-pixel i:nth-child(6),
.brand-pixel i:nth-child(7),
.brand-pixel i:nth-child(13),
.brand-pixel i:nth-child(19),
.brand-pixel i:nth-child(24) { background: var(--ink); }
.brand-pixel i:nth-child(4),
.brand-pixel i:nth-child(5),
.brand-pixel i:nth-child(9),
.brand-pixel i:nth-child(16),
.brand-pixel i:nth-child(21),
.brand-pixel i:nth-child(22) { background: var(--pink); }
.brand-pixel i:nth-child(15),
.brand-pixel i:nth-child(23) { background: var(--mint); }

nav { display: flex; align-items: center; justify-content: flex-end; gap: 6px; flex-wrap: wrap; }
nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 400;
  text-decoration: none;
  border-radius: 6px;
}
nav a:hover { background: #fff; color: var(--ink); }

.hero-section {
  padding: clamp(44px, 7vw, 92px) 0 clamp(30px, 5vw, 58px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 228, 247, .72), rgba(227, 249, 239, .72)),
    var(--paper);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, .74fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: #b21686;
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1, h2, h3, p { overflow-wrap: anywhere; }
h1 {
  max-width: 840px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.05rem, 4.3vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}
h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.35vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: 0;
}
h3 { margin: 0 0 10px; font-size: 1rem; line-height: 1.25; }
.intro {
  max-width: 760px;
  margin: 22px 0 16px;
  color: var(--ink-2);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  font-weight: 400;
  line-height: 1.62;
}
.design-link { color: var(--ink); }

.hero-proof {
  display: flex;
  justify-content: flex-end;
}
.scan-card {
  width: min(100%, 430px);
  aspect-ratio: 1;
  position: relative;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.scan-card::before,
.scan-card::after { display: none; }
.scan-qr.pixel-qr,
.scan-qr {
  width: min(76%, 300px);
  aspect-ratio: 1;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: 16px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.scan-qr span,
.pixel-qr span {
  display: block;
  min-width: 0;
  border-radius: 7px;
  background: transparent;
}
.scan-qr span:nth-child(1),
.scan-qr span:nth-child(2),
.scan-qr span:nth-child(6),
.scan-qr span:nth-child(7),
.scan-qr span:nth-child(13),
.scan-qr span:nth-child(19),
.scan-qr span:nth-child(25) { background: var(--ink); }
.scan-qr span:nth-child(4),
.scan-qr span:nth-child(5),
.scan-qr span:nth-child(9),
.scan-qr span:nth-child(16),
.scan-qr span:nth-child(21),
.scan-qr span:nth-child(22) { background: var(--pink); }
.scan-qr span:nth-child(15),
.scan-qr span:nth-child(23) { background: var(--mint); }
.scan-line {
  position: absolute;
  z-index: 2;
  left: 12%;
  right: 12%;
  height: 8px;
  border-radius: 999px;
  background: var(--pink);
  box-shadow: 0 0 18px rgba(240, 107, 210, .85), 0 0 42px rgba(240, 107, 210, .45);
  animation: scanSweep 2.8s ease-in-out infinite alternate;
}
@keyframes scanSweep {
  0% { transform: translateY(-150px); opacity: .4; }
  12% { opacity: 1; }
  100% { transform: translateY(150px); opacity: 1; }
}

.design-cta {
  max-width: 720px;
  margin-top: 24px;
  display: grid;
  gap: 12px;
}
.design-cta p {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.55;
}
.button-link {
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}
.field small {
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.45;
}
.qr-output {
  display: grid;
  gap: 14px;
  justify-items: stretch;
}
.preview-actions {
  width: min(100%, 390px);
  margin-inline: auto;
}
.tip-icon {
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(7, 17, 27, .12);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 -12px 0 rgba(240, 107, 210, .12), 0 8px 22px rgba(7, 17, 27, .06);
}
.faq-list details {
  overflow: hidden;
  transition: border-color .22s ease, box-shadow .22s ease;
}
.faq-list details[open], .faq-list details.is-open {
  border-color: rgba(240, 107, 210, .55);
  box-shadow: 0 12px 28px rgba(7, 17, 27, .06);
}
.faq-list summary {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  position: relative;
  border-radius: 50%;
  background: var(--pink-soft);
  transition: transform .24s ease, background .24s ease;
}
.faq-list summary i::before,
.faq-list summary i::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 10px;
  height: 2px;
  background: var(--ink);
  transition: transform .24s ease;
}
.faq-list summary i::after { transform: rotate(90deg); }
.faq-list details[open] summary i, .faq-list details.is-open summary i { transform: rotate(180deg); background: var(--mint-soft); }
.faq-list details[open] summary i, .faq-list details.is-open summary i::after, .faq-list details.is-open summary i::after { transform: rotate(0deg); }
.faq-content {
  height: 0;
  overflow: hidden;
  transition: height .32s ease;
}
.faq-content > p { overflow: hidden; padding-bottom: 2px; }
.app-section, .content-section, .service-section { padding: clamp(40px, 6vw, 76px) 0; }
.app-layout {
  display: grid;
  grid-template-columns: minmax(320px, 470px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(7, 17, 27, 0.06);
}
.controls { display: grid; gap: 0; padding: 0; overflow: hidden; }
.panel-head { padding: 22px 22px 14px; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-size: clamp(1.3rem, 2vw, 1.85rem); }
.form-block {
  display: grid;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.form-block.last { border-bottom: 0; }
.form-block-title {
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.compact-row { align-items: start; }
.compact-field { max-width: 100%; }
.detail-field { gap: 10px; }
.detail-field small {
  max-width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  background: #f7f8f8;
}
.radius-field { align-self: end; padding-bottom: 2px; }
.field { display: grid; gap: 8px; min-width: 0; align-content: start; }
.field span, .upload span {
  color: var(--ink);
  font-size: .79rem;
  font-weight: 400;
}
.field span strong { color: #b21686; font-weight: 400; }
textarea, input, select {
  width: 100%;
  height: 48px;
  min-height: 0;
  border: 1px solid #d9dde0;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 11px 12px;
  outline: none;
  font-size: .92rem;
  font-weight: 400;
}
textarea { height: auto; min-height: 128px; resize: vertical; line-height: 1.5; }
textarea:focus, input:focus, select:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(240, 107, 210, .18);
}
.control-grid { display: grid; gap: 14px; }
.control-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.control-grid.one { grid-template-columns: 1fr; max-width: 100%; }
.control-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.color-field input { height: 48px; padding: 5px; cursor: pointer; }
.range-field input { height: 28px; padding: 0; accent-color: var(--pink); }
.upload {
  display: grid;
  gap: 8px;
  min-width: 0;
  min-height: 74px;
  padding: 10px 12px;
  border: 1px dashed #cbd1d5;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}
.upload strong { min-height: 22px; color: var(--muted); font-size: .82rem; line-height: 1.3; }
.upload input { display: none; }
.actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
button {
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  padding: 12px 14px;
  background: var(--ink);
  color: #fff;
  font-size: .9rem;
  font-weight: 400;
  cursor: pointer;
}
button:nth-child(2) { background: var(--pink); color: var(--ink); }
button:hover { transform: translateY(-1px); }

.preview-stack { display: grid; gap: 24px; min-width: 0; }
.qr-panel {
  display: grid;
  grid-template-columns: minmax(260px, 390px) minmax(240px, 1fr);
  gap: 22px;
  align-items: center;
  padding: 22px;
}
.qr-stage {
  width: min(100%, 390px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.qr-stage canvas { width: 100%; height: auto; display: block; image-rendering: pixelated; }
.status { color: var(--muted); font-size: .92rem; font-weight: 400; line-height: 1.55; }
.status strong { display: block; margin-bottom: 8px; color: var(--ink); font-size: 1.08rem; font-weight: 400; }
.status .bad { color: #aa1b1b; font-weight: 400; }
.status .good { color: #11613f; font-weight: 400; }
.status ul { margin: 12px 0 0; padding-left: 18px; }
.status li + li { margin-top: 5px; }

.product-preview { padding: 22px; overflow: hidden; }
.preview-switch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}
.preview-switch button {
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}
.preview-switch button.is-active {
  border-color: var(--pink);
  background: var(--pink-soft);
}
.mockup {
  position: relative;
  margin-inline: auto;
  background: #fff;
  border: 1px solid #e4e7e9;
  box-shadow: 0 18px 46px rgba(7, 17, 27, .10);
  color: var(--ink);
  overflow: hidden;
}
.mockup::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 10px;
  background: linear-gradient(90deg, var(--pink), var(--mint));
}
.mockup.flyer { width: min(100%, 520px); aspect-ratio: 1 / 1.414; padding: 9%; }
.mockup.business { width: min(100%, 540px); aspect-ratio: 1.75; padding: 6%; }
.mockup.sign { width: min(100%, 560px); aspect-ratio: 1.85; padding: 6%; }
.mockup.phone { width: min(100%, 310px); aspect-ratio: 9 / 16; padding: 12%; border-radius: 22px; }
.mockup.phone::before { height: 8px; }
.mockup.phone strong { max-width: 100%; font-size: clamp(1.45rem, 4vw, 2.4rem); }
.mockup.phone p { max-width: 100%; }
.mockup.phone #mockQr { width: 42%; right: 12%; bottom: 10%; }
.mockup span {
  display: block;
  margin-bottom: 10px;
  color: #b21686;
  font-size: .76rem;
  font-weight: 400;
  text-transform: uppercase;
}
.mockup strong { display: block; max-width: 62%; font-size: clamp(1.7rem, 4vw, 3.2rem); line-height: 1; }
.mockup p { max-width: 58%; margin: 18px 0 0; color: var(--muted); font-size: clamp(.78rem, 1.5vw, .96rem); line-height: 1.55; }
#mockQr {
  position: absolute;
  right: 7%;
  bottom: 7%;
  width: 25%;
  aspect-ratio: 1;
  padding: 1.5%;
  background: #fff;
  border: 1px solid var(--line);
}
#mockQr canvas { width: 100%; height: auto; display: block; }

.content-section { border-top: 1px solid var(--line); background: #fff; }
.section-head { max-width: 780px; margin-bottom: 24px; }
.tip-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tip-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tip-grid article,
.faq-list details {
  min-height: 100%;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.tip-grid p, .faq-list p, .service-box p { margin: 0; color: var(--muted); font-size: .95rem; font-weight: 400; line-height: 1.62; }
.service-section { background: var(--ink); color: #fff; }
.service-box {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(300px, 1fr);
  gap: 36px;
  align-items: center;
}
.service-box h2 { color: #fff; }
.service-box .eyebrow { color: var(--mint); }
.service-box p { color: #dfe8e7; font-size: 1.02rem; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { cursor: pointer; }
.faq-list summary { color: var(--ink); font-weight: 400; line-height: 1.35; }
.faq-list p { margin-top: 12px; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); background: #fff; }
.footer-inner { min-height: 68px; font-size: .88rem; font-weight: 400; }

@media (max-width: 1020px) {
  .hero-grid, .app-layout, .qr-panel, .service-box { grid-template-columns: 1fr; }
  .hero-proof { justify-content: flex-start; }
  .tip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qr-stage { margin-inline: auto; }
}

@media (max-width: 680px) {
  .header-inner, .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding: 14px 0; }
  nav { justify-content: flex-start; }
  nav a { padding-left: 0; padding-right: 10px; }
  .hero-section { padding-top: 34px; }
  .control-grid.two, .control-grid.three, .control-grid.one, .actions, .tip-grid { grid-template-columns: 1fr; }
  .compact-field { max-width: none; }
  .form-block, .panel-head { padding-left: 16px; padding-right: 16px; }
  .controls, .qr-panel, .product-preview { padding: 16px; }
  .scan-card { width: min(100%, 360px); }
  .scan-qr.pixel-qr { gap: 10px; padding: 0; }
  .scan-line { left: 10%; right: 10%; }
  .mockup p { display: none; }
  .mockup strong { max-width: 60%; }
}











