/* qtag.me website - own design, no frameworks, no web fonts
   colours: warm paper, ink violet, the three squares of the logo (orange, amber, lime) + the button colours of the qtag.me app */
:root {
  --ink: #1d1a2f;
  --ink-2: #4d4862;
  --muted: #6f6984;
  --paper: #fff8ee;
  --paper-2: #fff0dc;
  --card: #ffffff;
  --line: #efe2cf;
  --orange: #ff6a00;
  --orange-t: #c44a00;           /* orange for text on light ground (contrast) */
  --amber: #ffb22e;
  --lime: #d9ec1c;
  --sky: #2d9bdb;
  --app-red: #ff3b30;
  --app-blue: #34aadc;
  --app-green: #3cc85a;
  --app-orange: #ff9500;
  --app-yellow: #ffcc00;
  --r: 22px;
  --r-sm: 12px;
  --shadow: 0 1px 2px rgba(60, 35, 10, .06), 0 10px 30px -10px rgba(60, 35, 10, .18);
  --shadow-lg: 0 2px 4px rgba(60, 35, 10, .06), 0 30px 60px -20px rgba(60, 35, 10, .35);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --round: ui-rounded, "SF Pro Rounded", "Segoe UI Variable Display", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--orange-t); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--round); line-height: 1.12; letter-spacing: -.025em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-top: 2.2em; }
h3 { font-size: 1.22rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: .35em; }
hr { border: 0; border-top: 2px dashed var(--line); margin: 3em 0; }
strong { font-weight: 700; }
code { background: var(--paper-2); padding: .1em .35em; border-radius: 5px; font-size: .9em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.icon { width: 1.2em; height: 1.2em; flex: none; vertical-align: -.22em; }
.content { padding-bottom: 72px; }
.content > h2:first-child { margin-top: 1.2em; }
.content > p, .content > ul, .content > ol { max-width: 760px; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 700 1rem/1.2 var(--font);
  padding: .85em 1.4em; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 6px 18px -6px rgba(255, 106, 0, .7); }
.btn-primary:hover { background: #ff7a1a; color: #fff; box-shadow: 0 10px 24px -8px rgba(255, 106, 0, .8); }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: .55em 1.1em; font-size: .93rem; }
.btn-lg { padding: 1em 1.7em; font-size: 1.06rem; }
.btn-link { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; color: var(--ink); text-decoration: none; }
.btn-link:hover { color: var(--orange-t); }

/* ------------------------------------------------------------ header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 248, 238, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(239, 226, 207, .8); }
.header-in { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.logo { display: inline-flex; color: var(--ink); text-decoration: none; }
.logo-svg { width: 150px; height: auto; display: block; }
.logo-qr { fill: var(--ink); }
.sq1 { fill: var(--orange); background: var(--orange); }
.sq2 { fill: var(--amber); background: var(--amber); }
.sq3 { fill: var(--lime); background: var(--lime); }
.logo-word { font: 800 27px/1 var(--round); letter-spacing: -.5px; fill: var(--ink); }
.logo-dot { fill: var(--orange); }
.logo-light .logo-qr, .logo-light .logo-word { fill: #fff; }
.logo:hover .sq1 { animation: hop .5s ease; } .logo:hover .sq2 { animation: hop .5s .08s ease; } .logo:hover .sq3 { animation: hop .5s .16s ease; }
@keyframes hop { 40% { transform: translateY(-3px); } }
.nav { display: flex; align-items: center; gap: 18px; }
.nav ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; }
.nav li { margin: 0; }
.nav ul a { display: block; padding: .5em .8em; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .97rem; }
.nav ul a:hover { background: var(--paper-2); }
.nav ul a[aria-current] { background: var(--ink); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; }
.nav-toggle .icon { width: 28px; height: 28px; }
.i-close { display: none; }
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 72px 0 auto 0; background: var(--paper); flex-direction: column; align-items: stretch; padding: 16px 24px 28px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .nav ul { flex-direction: column; }
  .nav ul a { padding: .8em 1em; font-size: 1.08rem; }
  .nav-open .nav { display: flex; }
  .nav-open .i-open { display: none; }
  .nav-open .i-close { display: block; }
}

/* ------------------------------------------------------------ the three squares */
.sq { display: inline-block; width: .7em; height: .7em; border-radius: 3px; margin-right: .22em; vertical-align: -.02em; }

/* ------------------------------------------------------------ start page hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(circle at 78% 30%, rgba(255, 178, 46, .35), transparent 38%),
    radial-gradient(circle at 92% 82%, rgba(217, 236, 28, .30), transparent 30%),
    radial-gradient(circle at 60% 90%, rgba(255, 106, 0, .16), transparent 35%),
    radial-gradient(rgba(29, 26, 47, .09) 1.2px, transparent 1.3px) 0 0 / 22px 22px;
}
.hero-in { display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center; }
.eyebrow { font-weight: 700; font-size: .95rem; letter-spacing: .02em; color: var(--ink-2); margin-bottom: 1.2em; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.02; letter-spacing: -.04em; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--lime) 62%, var(--lime) 92%, transparent 92%); padding: 0 .06em; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.chips-label { font-size: .9rem; font-weight: 600; color: var(--muted); margin: 32px 0 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: .45em; padding: .55em .95em; border-radius: 999px; background: var(--card); border: 1.5px solid var(--line);
  color: var(--ink); text-decoration: none; font-weight: 650; font-size: .94rem; transition: all .15s; box-shadow: 0 1px 0 var(--line);
}
.chip:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }
.chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.is-on .icon { color: var(--amber); }
.hero-stage { position: relative; display: grid; justify-items: center; min-height: 600px; }
.hero-aside { position: absolute; left: -10px; bottom: 30px; z-index: 3; display: grid; justify-items: center; gap: 8px; }
.hero-aside-text { display: flex; gap: .4em; align-items: center; font-size: .82rem; font-weight: 700; color: var(--ink-2); background: var(--card); padding: .35em .8em; border-radius: 999px; box-shadow: var(--shadow); max-width: 220px; line-height: 1.3; margin: 0; }
.hero-stage .oc-feed { position: absolute; right: -16px; top: 70px; z-index: 3; width: 250px; }
@media (max-width: 1100px) { .hero-stage .oc-feed { right: -4px; } }
@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-stage { min-height: 0; grid-template-columns: 1fr; gap: 20px; }
  .hero-aside, .hero-stage .oc-feed { position: static; width: auto; max-width: 420px; }
  .hero-aside { order: 3; }
}

/* ------------------------------------------------------------ phone simulator */
.phone-sim { display: flex; justify-content: center; }
.phone {
  position: relative; width: 300px; height: 610px; border-radius: 46px; background: #15131f; padding: 12px;
  box-shadow: inset 0 0 0 2px #3b3750, 0 0 0 1px #0b0a12, var(--shadow-lg); flex: none;
}
.phone::after { content: ""; position: absolute; right: -3px; top: 140px; width: 3px; height: 64px; border-radius: 2px; background: #2a2738; }
.phone-notch { position: absolute; top: 12px; left: 50%; width: 110px; height: 26px; transform: translateX(-50%); background: #15131f; border-radius: 0 0 16px 16px; z-index: 2; }
.phone-screen { position: relative; height: 100%; border-radius: 35px; overflow: hidden; background: #fff; font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: #333; }
.phone-hero { animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px) rotate(.4deg); } }
.phone-sm { width: 250px; height: 470px; }
.screen { position: absolute; inset: 0; overflow-y: auto; scrollbar-width: none; }
.screen::-webkit-scrollbar { display: none; }
.screen[hidden], .scr-result[hidden], .scr-results, [hidden] { display: none !important; }
.scr-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: #f7f7f7; border-bottom: 1px solid #e3e3e3; padding: 34px 14px 9px; font-size: 11.5px; color: #007aff; }
.scr-login { text-transform: uppercase; font-size: 10px; }
.scr-main { padding: 14px 16px 18px; }
.scr-title { font-size: 19px; line-height: 1.2; color: #222; margin: 0 0 3px; letter-spacing: -.01em; }
.scr-price { font-size: 17px; font-weight: 600; color: #222; margin: 0; }
.scr-owner { font-size: 12px; color: #888; margin: 0 0 10px; }
.scr-text { font-size: 12.5px; line-height: 1.45; color: #555; margin: 0 0 14px; }
.scr-buttons { display: grid; gap: 7px; }
.scr-btn {
  display: block; width: 100%; padding: 10px 8px; border: 0; border-radius: 3px; font: 500 13px/1.2 -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #fff; text-align: center; cursor: pointer; transition: filter .15s, transform .1s;
}
button.scr-btn:hover { filter: brightness(1.08); }
button.scr-btn:active { transform: scale(.98); }
.scr-btn.c-red { background: var(--app-red); }
.scr-btn.c-blue { background: var(--app-blue); }
.scr-btn.c-green { background: var(--app-green); }
.scr-btn.c-orange { background: var(--app-orange); }
.scr-btn.c-yellow { background: var(--app-yellow); color: #333; }
.scr-btn.c-white { background: #fff; color: #333; box-shadow: inset 0 0 0 1px #ddd; }
.scr-more { font-size: 10.5px; color: #999; margin: 14px 0 0; }
.scr-result { position: absolute; inset: 0; background: #fff; animation: slidein .25s ease; }
@keyframes slidein { from { transform: translateX(30%); opacity: 0; } }
.scr-back { background: none; border: 0; font-size: 22px; line-height: 1; color: #007aff; cursor: pointer; padding: 0 6px 0 0; }
.scr-res-label { flex: 1; font-weight: 600; }
.scr-ok { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 28px 0 16px; font-size: 19px; font-weight: 600; color: #222; }
.scr-ok .icon { width: 64px; height: 64px; padding: 14px; border-radius: 50%; background: var(--app-green); color: #fff; stroke-width: 2.6; animation: pop .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop { from { transform: scale(.2); } }
.scr-res-text { font-size: 13.5px; line-height: 1.5; color: #444; text-align: center; }
.scr-hint { font-size: 11.5px; color: #999; text-align: center; }

/* ------------------------------------------------------------ sticker (QR label) */
.sticker {
  display: inline-grid; gap: 6px; padding: 12px 12px 10px; background: #fff; border-radius: 14px; text-decoration: none; color: var(--ink);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .04), 0 14px 30px -12px rgba(60, 35, 10, .45); transform: rotate(-4deg); transition: transform .25s;
  position: relative;
}
.sticker::after { content: ""; position: absolute; right: 0; bottom: 0; width: 18px; height: 18px; border-radius: 0 0 14px 0; background: linear-gradient(135deg, transparent 50%, #f1e6d6 50%); }
.sticker:hover { transform: rotate(0deg) scale(1.03); color: var(--ink); }
.sticker-qr { position: relative; display: block; width: 150px; overflow: hidden; border-radius: 4px; }
.sticker-qr .qr { display: block; width: 100%; height: auto; }
.scanline { position: absolute; left: -10%; right: -10%; height: 3px; top: 0; background: var(--orange); box-shadow: 0 0 14px 4px rgba(255, 106, 0, .55); animation: scan 2.6s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 4%; } 50% { top: 94%; } }
.sticker-foot { display: flex; align-items: center; gap: 3px; font: 800 15px/1 var(--round); letter-spacing: -.02em; }
.sticker-foot .sq { width: 13px; height: 13px; margin: 0; border-radius: 2px; }
.sticker-foot b { margin-left: 6px; }
.sticker-sm .sticker-qr { width: 120px; }
.sticker-tilt { transform: rotate(5deg); }
.sticker-tilt .sticker-qr { width: 220px; }
.qr-fig { display: inline-grid; gap: 8px; margin: 1em 0; }
.qr-fig .qr { width: 180px; border-radius: 10px; box-shadow: var(--shadow); }
.qr-fig figcaption { font-size: .9rem; color: var(--muted); max-width: 220px; }

/* ------------------------------------------------------------ "what happens" feed */
.oc-feed { background: var(--ink); color: #fff; border-radius: 18px; padding: 14px 16px; box-shadow: var(--shadow-lg); font-size: .9rem; }
.oc-feed-head { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--amber); }
.oc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(217, 236, 28, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(217, 236, 28, 0); } 100% { box-shadow: 0 0 0 0 rgba(217, 236, 28, 0); } }
.oc-feed-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.oc-feed-list li { margin: 0; padding: 9px 11px; border-radius: 10px; background: rgba(255, 255, 255, .08); line-height: 1.4; animation: feedin .4s ease; }
.oc-feed-list li b { display: block; color: var(--amber); font-size: .78rem; margin-bottom: 2px; }
.oc-feed-list .oc-feed-empty { background: none; padding: 0; color: rgba(255, 255, 255, .7); animation: none; }
@keyframes feedin { from { opacity: 0; transform: translateY(-8px); } }

/* ------------------------------------------------------------ demo row (::: phone) */
.demo-row { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; margin: 2em 0 3em; padding: 32px; border-radius: 32px; background: var(--paper-2); position: relative; overflow: hidden; }
.demo-row::before { content: ""; position: absolute; inset: 0; background: radial-gradient(rgba(29, 26, 47, .08) 1.2px, transparent 1.3px) 0 0 / 20px 20px; pointer-events: none; }
.demo-row > * { position: relative; }
.demo-side { display: grid; gap: 20px; max-width: 520px; }
.try { display: flex; gap: 20px; align-items: center; background: var(--card); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); }
.try-title { font: 800 1.15rem/1.2 var(--round); margin-bottom: .3em; }
.try-text p { margin-bottom: .5em; font-size: .95rem; }
.try .sticker { transform: rotate(3deg); flex: none; }
@media (max-width: 860px) {
  .demo-row { grid-template-columns: 1fr; padding: 24px 16px; justify-items: center; }
  .try { flex-direction: column-reverse; text-align: center; }
}

/* ------------------------------------------------------------ page head (sub pages) */
.page-head { position: relative; padding: 40px 0 44px; overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 88% 20%, rgba(255, 178, 46, .28), transparent 34%), radial-gradient(rgba(29, 26, 47, .08) 1.2px, transparent 1.3px) 0 0 / 22px 22px;
}
.ph-in { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.page-head-demo .ph-in { grid-template-columns: 1.4fr 1fr; }
.ph-media { display: flex; justify-content: center; }
.page-head h1 { max-width: 880px; }
.crumbs ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0 0 18px; padding: 0; font-size: .88rem; color: var(--muted); }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin: 0 .5em; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.ph-badge { display: inline-flex; align-items: center; gap: .5em; padding: .35em .85em .35em .45em; border-radius: 999px; font-weight: 700; font-size: .85rem; background: var(--card); box-shadow: var(--shadow); }
.ph-badge .icon { width: 28px; height: 28px; padding: 5px; border-radius: 50%; }
@media (max-width: 860px) { .page-head-demo .ph-in { grid-template-columns: 1fr; } .sticker-tilt .sticker-qr { width: 160px; } }

/* colour tiles for icons */
.c-orange { --c: var(--orange); --c-fg: #fff; }
.c-amber { --c: var(--amber); --c-fg: var(--ink); }
.c-lime { --c: var(--lime); --c-fg: var(--ink); }
.c-ink { --c: var(--ink); --c-fg: var(--amber); }
.c-sky { --c: var(--sky); --c-fg: #fff; }
.ph-badge .icon, .uc-ico, .card-ico, .uc-tile .icon, .oc-ic { background: var(--c, var(--orange)); color: var(--c-fg, #fff); }

/* ------------------------------------------------------------ cards */
.cards { display: grid; gap: 20px; margin: 1.6em 0 2em; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }
.card { background: var(--card); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); border: 1px solid rgba(239, 226, 207, .6); }
.card h3 { margin-top: .6em; }
.card p:last-child { margin-bottom: 0; }
.card-ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; }
.card-ico .icon { width: 26px; height: 26px; }
.card:nth-child(3n+2) .card-ico.c-orange { --c: var(--amber); --c-fg: var(--ink); }
.card:nth-child(3n+3) .card-ico.c-orange { --c: var(--lime); --c-fg: var(--ink); }
.card-link { display: block; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.card-link:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: var(--shadow-lg); color: var(--ink); }
.more { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; color: var(--orange-t); margin-top: .5em; }

/* use case cards */
.uc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 1.6em 0 2.5em; }
@media (max-width: 980px) { .uc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .uc-grid { grid-template-columns: 1fr; } }
.uc-card { position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--r); padding: 24px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; overflow: hidden; }
.uc-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 30px; background: var(--paper-2); transform: rotate(18deg); z-index: 0; transition: transform .3s; }
.uc-card > * { position: relative; z-index: 1; }
.uc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); color: var(--ink); }
.uc-card:hover::after { transform: rotate(40deg) scale(1.15); }
.uc-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; margin-bottom: 14px; }
.uc-ico .icon { width: 30px; height: 30px; }
.uc-card h3 { margin-bottom: .35em; }
.uc-card p { color: var(--ink-2); font-size: .97rem; }
.uc-btns { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; }
.uc-btns span { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; padding: .3em .6em; border-radius: 4px; background: var(--paper-2); color: var(--ink-2); }
.uc-tiles { display: flex; flex-wrap: wrap; gap: 10px; }
.uc-tile { display: inline-flex; align-items: center; gap: .55em; padding: .45em 1em .45em .45em; border-radius: 999px; background: var(--card); color: var(--ink); text-decoration: none; font-weight: 650; box-shadow: var(--shadow); transition: transform .15s; }
.uc-tile:hover { transform: translateY(-2px); color: var(--ink); }
.uc-tile .icon { width: 32px; height: 32px; padding: 6px; border-radius: 50%; }
.more-uc { background: var(--paper-2); padding: 48px 0 56px; }
.more-uc h2 { margin-top: 0; }

/* ------------------------------------------------------------ flow diagram */
.flow { display: grid; grid-template-columns: 1fr auto 260px; gap: 24px; align-items: center; margin: 2em 0 3em; }
.flow-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: fs; }
.flow-step { margin: 0; position: relative; background: var(--card); border-radius: var(--r); padding: 22px 18px; box-shadow: var(--shadow); display: grid; gap: 4px; text-align: center; justify-items: center; }
.flow-step strong { font: 800 1.25rem/1.2 var(--round); }
.flow-step span:last-child { color: var(--muted); font-size: .92rem; line-height: 1.4; }
.flow-ico { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--paper-2); color: var(--orange-t); margin-bottom: 6px; }
.flow-ico .icon { width: 30px; height: 30px; }
.flow-step:nth-child(2) .flow-ico { background: #fff5c9; }
.flow-step:nth-child(3) .flow-ico { background: #f2f9c4; }
.flow-step + .flow-step::before { content: ""; position: absolute; left: -16px; top: 50%; width: 16px; height: 2px; background: repeating-linear-gradient(90deg, var(--ink) 0 4px, transparent 4px 8px); }
.flow-arrow span { display: block; width: 64px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--orange), var(--amber), var(--lime), var(--orange)); background-size: 200% 100%; animation: flowmove 1.6s linear infinite; position: relative; }
.flow-arrow span::after { content: ""; position: absolute; right: -4px; top: -6px; border: 8px solid transparent; border-left: 10px solid var(--orange); border-right: 0; }
@keyframes flowmove { to { background-position: -200% 0; } }
.flow-target { background: var(--ink); color: #fff; border-radius: var(--r); padding: 20px 22px; box-shadow: var(--shadow-lg); }
.flow-oc { font: 800 1.3rem/1 var(--round); margin-bottom: 12px; color: var(--amber); }
.flow-target ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.flow-target li { display: flex; gap: .6em; align-items: center; margin: 0; font-weight: 600; }
.flow-target .icon { color: var(--lime); }
@media (max-width: 980px) {
  .flow { grid-template-columns: 1fr; justify-items: stretch; }
  .flow-arrow { justify-self: center; transform: rotate(90deg); margin: 12px 0; }
}
@media (max-width: 620px) { .flow-steps { grid-template-columns: 1fr; } .flow-step + .flow-step::before { display: none; } }

/* ------------------------------------------------------------ dynamic code */
.dynamic { margin: 2em 0 3em; padding: 32px; border-radius: 32px; background: linear-gradient(135deg, #fff3c4, #f6fbcf); display: grid; justify-items: center; gap: 24px; }
.dyn-switch { display: inline-flex; padding: 5px; background: var(--card); border-radius: 999px; box-shadow: var(--shadow); gap: 4px; flex-wrap: wrap; justify-content: center; }
.dyn-opt { border: 0; background: none; font: 700 .97rem/1 var(--font); padding: .75em 1.2em; border-radius: 999px; cursor: pointer; color: var(--ink-2); }
.dyn-opt.is-on { background: var(--ink); color: #fff; }
.dyn-stage { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; justify-content: center; }
.dyn-stage .phone .screen { position: absolute; }
.dyn-state:not([hidden]) { animation: feedin .35s ease; }
.dyn-same { display: flex; gap: .7em; align-items: center; font: 800 1.35rem/1.25 var(--round); max-width: 280px; }
.dyn-same .icon { width: 56px; height: 56px; padding: 10px; border-radius: 14px; background: var(--ink); color: var(--lime); }

/* ------------------------------------------------------------ split */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; margin: 2.5em 0; }
.split-left .split-text { order: 2; }
.split-img { margin: 0; display: flex; flex-direction: column; align-items: center; }
.split-img figcaption { font-size: .9rem; color: var(--muted); margin-top: 10px; text-align: center; }
.split-text > h2:first-child, .split-text > h3:first-child { margin-top: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-left .split-text { order: 0; } }
.pic { border-radius: var(--r); box-shadow: var(--shadow-lg); }
.pic-fig { margin: 2em 0; } .pic-fig figcaption { font-size: .9rem; color: var(--muted); margin-top: 8px; }
.illu { margin: 2em 0; } .illu svg { width: 100%; height: auto; }

/* ------------------------------------------------------------ steps */
.steps { list-style: none; padding: 0; margin: 1.6em 0 2.5em; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; counter-reset: st; }
.steps li { counter-increment: st; position: relative; background: var(--card); border-radius: var(--r); padding: 56px 22px 22px; box-shadow: var(--shadow); margin: 0; }
.steps li::before { content: counter(st); position: absolute; left: 22px; top: 18px; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font: 800 1rem/1 var(--round); background: var(--orange); color: #fff; }
.steps li:nth-child(3n+2)::before { background: var(--amber); color: var(--ink); }
.steps li:nth-child(3n+3)::before { background: var(--lime); color: var(--ink); }
.steps p:last-child { margin: 0; }
.step-icon { position: absolute; right: 20px; top: 20px; color: var(--muted); }

/* ------------------------------------------------------------ checklist, note, faq, tables */
.checks { list-style: none; padding: 0; margin: 1em 0 1.6em; display: grid; gap: 8px; max-width: 780px; }
.checks li { display: flex; gap: .65em; align-items: flex-start; margin: 0; }
.checks .icon { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--lime); color: var(--ink); stroke-width: 2.6; margin-top: .15em; }
.note { background: var(--card); border-left: 6px solid var(--amber); border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 18px 22px; margin: 1.6em 0; box-shadow: var(--shadow); max-width: 820px; }
.note p:last-child { margin: 0; }
.faq { display: grid; gap: 10px; margin: 1.2em 0 2em; max-width: 860px; }
.faq details { background: var(--card); border-radius: var(--r-sm); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; padding: 16px 52px 16px 20px; font-weight: 700; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; font-weight: 800; transition: transform .2s; }
.faq details[open] summary::after { content: "–"; background: var(--orange); color: #fff; }
.faq details > div { padding: 0 20px 6px; color: var(--ink-2); }
.table-wrap { overflow-x: auto; margin: 1.2em 0 2em; }
table { border-collapse: collapse; width: 100%; background: var(--card); border-radius: var(--r-sm); overflow: hidden; box-shadow: var(--shadow); font-size: .96rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--ink); color: #fff; }

/* ------------------------------------------------------------ quotes, references, press */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin: 1.6em 0 2.5em; }
.quote { margin: 0; background: var(--card); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); position: relative; }
.quote::before { content: "“"; position: absolute; top: -18px; left: 20px; font: 800 80px/1 Georgia, serif; color: var(--orange); }
.quote blockquote { margin: 0 0 14px; font-size: 1.05rem; }
.quote figcaption { display: grid; font-size: .9rem; color: var(--muted); }
.quote figcaption strong { color: var(--ink); }
.quote figcaption a { color: var(--muted); }
.bigquote { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; margin: 2.5em 0; padding: 36px; border-radius: 32px; background: var(--ink); color: #fff; }
.bq-figure { display: grid; text-align: center; }
.bq-figure strong { font: 800 clamp(3rem, 7vw, 5rem)/1 var(--round); color: var(--lime); letter-spacing: -.04em; }
.bq-figure span { color: rgba(255, 255, 255, .75); font-weight: 600; max-width: 180px; }
.bigquote blockquote { margin: 0 0 12px; font-size: 1.3rem; line-height: 1.5; }
.bigquote figcaption { color: rgba(255, 255, 255, .75); font-size: .95rem; }
.bigquote a { color: var(--amber); }
@media (max-width: 760px) { .bigquote { grid-template-columns: 1fr; padding: 26px; } }
.ref-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin: 1.6em 0 2.5em; }
.ref { margin: 0; background: var(--card); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); border-top: 6px solid var(--amber); }
.ref:nth-child(3n+1) { border-top-color: var(--orange); }
.ref:nth-child(3n+3) { border-top-color: var(--lime); }
.ref-org { font: 800 1.2rem/1.25 var(--round); margin-bottom: .2em; }
.ref-org a { color: var(--ink); text-decoration: none; }
.ref-org a:hover { text-decoration: underline; }
.ref-desc { font-size: .88rem; color: var(--muted); }
.ref blockquote { margin: 0 0 8px; font-style: italic; }
.ref figcaption { font-size: .9rem; font-weight: 700; }
.press { display: grid; gap: 16px; margin: 1.4em 0 2em; max-width: 860px; }
.press-item { background: var(--card); border-radius: var(--r); padding: 22px 24px; box-shadow: var(--shadow); }
.press-meta { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--orange-t); margin-bottom: .4em; }
.press-item p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------ facts */
.facts { list-style: none; padding: 0; margin: 2em 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.facts li { margin: 0; background: var(--card); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); display: grid; gap: 4px; }
.facts strong { font: 800 clamp(1.9rem, 3.4vw, 2.7rem)/1 var(--round); letter-spacing: -.03em; color: var(--ink); }
.facts li:nth-child(1) strong { color: var(--orange-t); }
.facts span { color: var(--muted); font-size: .93rem; line-height: 1.35; }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, 1fr); } }

/* ------------------------------------------------------------ call to action */
.cta-box { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; margin: 3em 0 1em; padding: 36px 40px; border-radius: 32px; background: var(--orange); color: #fff; position: relative; overflow: hidden; }
.cta-box::before { content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50px; background: rgba(255, 255, 255, .12); transform: rotate(20deg); }
.cta-box > * { position: relative; }
.cta-box > div:first-child { max-width: 640px; }
.cta-title { font: 800 1.7rem/1.15 var(--round); letter-spacing: -.02em; margin-bottom: .35em; }
.cta-box p:last-child { margin: 0; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cta-box .btn-primary { background: var(--ink); box-shadow: none; }
.cta-box .btn-primary:hover { background: #000; }
.cta-box .btn-link { color: #fff; }
.cta-offercube { background: var(--ink); }
.cta-offercube .btn-primary { background: var(--orange); }
.cta-offercube .btn-link { color: var(--amber); }

/* ------------------------------------------------------------ dark band (qtag.me + OfferCube) */
.band { padding: 72px 0; margin: 40px 0; }
.band-ink { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.band-ink::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(255, 106, 0, .35), transparent 40%), radial-gradient(rgba(255, 255, 255, .07) 1.2px, transparent 1.3px) 0 0 / 22px 22px; }
.band-in { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.band-text h2 { margin-top: 0; color: #fff; }
.band-text p, .band-text li { color: rgba(255, 255, 255, .85); }
.band-text a:not(.btn) { color: var(--amber); }
.band-text .checks .icon { background: var(--lime); }
.band-text .btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.band-text .btn-ghost:hover { background: #fff; color: var(--ink); }
.oc-mock { background: #fff; color: var(--ink); border-radius: var(--r); padding: 18px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); transform: rotate(1.5deg); }
.oc-mock-head { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; color: var(--muted); margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.oc-logo { font: 800 1.05rem/1 var(--round); color: var(--ink); }
.oc-logo::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 6px; border-radius: 3px; background: linear-gradient(135deg, #7cc242, #2e8b57); vertical-align: -1px; }
.oc-mock ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.oc-item { display: flex; gap: 12px; align-items: center; margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--paper); font-size: .9rem; line-height: 1.35; }
.oc-item b { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.oc-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; flex: none; }
.oc-ic.c-red { --c: var(--app-red); --c-fg: #fff; } .oc-ic.c-blue { --c: var(--app-blue); --c-fg: #fff; } .oc-ic.c-green { --c: var(--app-green); --c-fg: #fff; }
.js .band-ink .oc-item { opacity: 0; transform: translateX(20px); transition: all .5s ease; }
.js .band-ink.is-in .oc-item { opacity: 1; transform: none; }
.js .band-ink.is-in .oc-item.d1 { transition-delay: .35s; } .js .band-ink.is-in .oc-item.d2 { transition-delay: .7s; } .js .band-ink.is-in .oc-item.d3 { transition-delay: 1.05s; }
@media (max-width: 860px) { .band-in { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ home sections */
.tpl-home .content > h2 { text-align: center; max-width: 820px; margin-left: auto; margin-right: auto; }
.tpl-home .content > h2 + p { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; color: var(--ink-2); font-size: 1.1rem; }
.center { text-align: center; }

/* ------------------------------------------------------------ footer */
.site-footer { background: #15131f; color: rgba(255, 255, 255, .78); padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr auto; gap: 32px; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.f-brand p { margin-top: 14px; }
.f-contact { display: grid; gap: 4px; } .f-contact a { display: inline-flex; gap: .5em; align-items: center; }
.f-title { font-weight: 800; color: #fff; margin-bottom: .7em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45em; }
.f-scan { display: grid; justify-items: center; gap: 8px; max-width: 140px; text-align: center; font-size: .8rem; line-height: 1.35; }
.f-scan .qr { width: 120px; border-radius: 10px; transform: rotate(3deg); transition: transform .2s; }
.f-scan:hover .qr { transform: rotate(0) scale(1.04); }
.f-legal { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 40px; padding-top: 20px; font-size: .85rem; color: rgba(255, 255, 255, .55); }
.f-legal p { margin: 0; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } .f-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ reveal on scroll (only with JS) */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .rv.is-in { opacity: 1; transform: none; }

@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 32px 0 48px; }
  .cta-box { padding: 28px 22px; }
  .phone { width: 280px; height: 570px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .rv, .js .band-ink .oc-item { opacity: 1; transform: none; }
}
@media print {
  .site-header, .site-footer, .hero-stage, .demo-row, .cta-box { display: none; }
  body { background: #fff; }
}

/* ------------------------------------------------------------ fixes after the first visual check */
.facts strong .count { font: inherit; color: inherit; }
.facts .pre { display: block; font-size: .9rem; font-weight: 700; letter-spacing: 0; color: var(--muted); font-family: var(--font); margin-bottom: 2px; }
.hero-stage .oc-feed { top: auto; bottom: 40px; right: -46px; width: 230px; }
@media (max-width: 980px) { .hero-stage .oc-feed { width: auto; } }
.only-touch { display: none; }
@media (hover: none) and (pointer: coarse) { .only-touch { display: inline; } .only-desk { display: none; } }
.hero-stage:hover .phone-hero, .hero-stage:focus-within .phone-hero { animation-play-state: paused; }
.content > ol.steps, .content > ul.checks.wide { max-width: none; }
