* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #F4EEE6; --ink: #1C1917; --soft: #4A413B; --muted: #6B6058;
  --accent: #8A6B52; --line: #CDBFB2; --paper: #FBF8F4; --err: #A33A2A;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--ink);
  font-family: 'Montserrat', system-ui, sans-serif; font-size: 16px; line-height: 1.55;
  min-height: 100vh;
}
a { color: inherit; }
.wrap { max-width: 640px; margin: 0 auto; padding: 22px 20px 120px; }
.top { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 18px; }
.brand { font-size: 13px; letter-spacing: 4px; text-transform: uppercase; font-weight: 500; text-decoration: none; }
.brand b { font-weight: 700; }
.handle { font-size: 13px; color: var(--muted); text-decoration: none; }

/* pradžia */
.hero h1 { font-family: 'Playfair Display', serif; font-weight: 600; font-size: 40px; line-height: 1.08; margin-top: 26px; letter-spacing: -.5px; }
.hero h1 i { font-weight: 400; color: var(--accent); }
.hero p { color: var(--soft); margin-top: 14px; font-size: 16px; }
.services { margin-top: 30px; border-top: 2px solid var(--ink); }
.svc { display: block; text-decoration: none; padding: 22px 0; border-bottom: 1px solid var(--line); }
.svc small { display: block; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.svc strong { display: block; font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 600; line-height: 1.15; margin-top: 4px; }
.svc span { display: block; color: var(--soft); margin-top: 6px; }
.svc em { display: inline-block; margin-top: 12px; font-style: normal; font-weight: 600; font-size: 14px; border-bottom: 1.5px solid var(--ink); }
.svc:hover em { color: var(--accent); border-color: var(--accent); }
.hint { margin-top: 22px; font-size: 14px; color: var(--muted); }

/* anketa */
.progress { display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.bar { flex: 1; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--ink); transition: width .35s ease; }
.kicker { margin-top: 26px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.step h1 { font-family: 'Playfair Display', serif; font-weight: 600; font-size: 34px; line-height: 1.1; margin-top: 6px; letter-spacing: -.3px; }
.step h1 i { font-weight: 400; color: var(--accent); }
.step .sub { color: var(--soft); margin-top: 10px; }

.q { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.q:first-of-type { border-top: none; padding-top: 0; }
.q label.ql { display: block; font-weight: 600; font-size: 16.5px; line-height: 1.4; }
.q .req { color: var(--accent); font-weight: 500; font-size: 13px; margin-left: 4px; white-space: nowrap; }
.q .help { color: var(--muted); font-size: 14px; margin-top: 4px; }
.q .help b { color: var(--soft); font-weight: 600; }
.q .err { display: none; color: var(--err); font-size: 13.5px; font-weight: 600; margin-top: 8px; }
.q.bad .err { display: block; }
.q.bad input[type=text], .q.bad input[type=url], .q.bad input[type=email], .q.bad input[type=tel], .q.bad textarea { border-color: var(--err); }

input[type=text], input[type=url], input[type=email], input[type=tel], textarea {
  width: 100%; margin-top: 10px; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 13px 14px; outline: none;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, textarea:focus { border-color: var(--ink); }
::placeholder { color: #A99C91; }

.opts { margin-top: 12px; display: grid; gap: 8px; }
.opts.two { grid-template-columns: 1fr 1fr; }
.opt { position: relative; display: flex; gap: 12px; align-items: flex-start; cursor: pointer;
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; transition: border-color .15s, background .15s; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .mk { flex: none; width: 20px; height: 20px; margin-top: 1px; border: 1.5px solid #9C8F84; border-radius: 50%; display: grid; place-items: center; }
.opt.ck .mk { border-radius: 5px; }
.opt .tx { flex: 1; min-width: 0; }
.opt .tx b { font-weight: 600; }
.opt .tx small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 1px; }
.opt.on { border-color: var(--ink); background: #fff; }
.opt.on .mk { background: var(--ink); border-color: var(--ink); }
.opt.on .mk::after { content: ''; width: 6px; height: 10px; border: solid var(--bg); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px,-1px); }
.opt.off { opacity: .45; cursor: not-allowed; }
.opt input:focus-visible + .mk { outline: 2px solid var(--accent); outline-offset: 2px; }
.other { margin-top: 0 !important; }

/* vizualai su pavyzdžiais */
.opts.cards { grid-template-columns: 1fr 1fr; }
.opt.card { flex-direction: column; gap: 8px; padding: 10px; }
.opt.card .mk { position: absolute; top: 10px; right: 10px; background: var(--paper); z-index: 3; }
.opt.card.on .mk { background: var(--ink); }
.ex { width: 100%; height: 92px; border-radius: 6px; display: grid; place-items: center; overflow: hidden; }

/* formatų pavyzdžiai */
.ex.kind { background: #EAE2D8; }
.ph { background: #fff; border: 1px solid #BFB1A4; border-radius: 3px; position: relative; display: grid; place-items: center; font-size: 10px; font-weight: 700; color: var(--accent); }
.ph::before { content: ''; position: absolute; left: 18%; right: 18%; top: 22%; height: 34%; background: #D9CBBD; border-radius: 2px; }
.ph::after { content: ''; position: absolute; left: 18%; right: 34%; bottom: 18%; height: 5px; background: #8A7B6F; border-radius: 2px; }
.k-post .ph { width: 52px; height: 65px; }
.k-car { position: relative; }
.k-car .ph { width: 46px; height: 58px; position: absolute; top: 50%; transform: translateY(-50%); }
.k-car .ph:nth-child(1) { left: calc(50% - 50px); opacity: .55; }
.k-car .ph:nth-child(2) { left: calc(50% - 23px); z-index: 1; }
.k-car .ph:nth-child(3) { left: calc(50% + 4px); opacity: .55; }
.k-story .ph { width: 40px; height: 72px; }
.k-sale .ph { width: 52px; height: 65px; }
.k-sale .ph span, .k-ad .ph span { position: relative; z-index: 1; background: var(--ink); color: #fff; padding: 1px 4px; border-radius: 2px; font-size: 9px; margin-top: 26px; }
.k-ad .ph { width: 70px; height: 56px; }
.k-help { font-family: 'Playfair Display', serif; font-size: 34px; color: var(--accent); }

/* nuotaikos */
.ex.mood { gap: 2px; }
.ex.mood .aa { font-size: 30px; line-height: 1; }
.ex.mood .sw { display: flex; gap: 4px; margin-top: 8px; justify-content: center; }
.ex.mood .sw i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.08); }

/* paletės */
.pal { display: flex; width: 100%; height: 34px; border-radius: 6px; overflow: hidden; border: 1px solid rgba(0,0,0,.06); margin-top: 6px; }
.pal i { flex: 1; }
.opts.pals { grid-template-columns: 1fr 1fr; }
.opt.palopt { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 12px 12px; }
.opt.palopt .mk { position: absolute; top: 10px; right: 10px; background: var(--paper); z-index: 3; }
.opt.palopt.on .mk { background: var(--ink); }
.opt.palopt .tx { font-size: 13.5px; padding-right: 26px; font-weight: 500; }

/* šriftai */
.fontsample { font-size: 26px; line-height: 1.2; margin-top: 4px; word-break: break-word; }
.f-classic { font-family: 'Playfair Display', serif; font-weight: 500; }
.f-classic em { font-style: italic; }
.f-modern { font-family: 'Montserrat', sans-serif; font-weight: 500; letter-spacing: .5px; }
.f-script { font-family: 'Great Vibes', cursive; font-size: 34px; }
.f-bold { font-family: 'Anton', 'Montserrat', sans-serif; text-transform: uppercase; letter-spacing: .5px; }

/* failai */
.drop { margin-top: 12px; display: block; border: 1.5px dashed #A99C91; border-radius: 10px; padding: 18px 14px; text-align: center; cursor: pointer; background: var(--paper); }
.drop:hover { border-color: var(--ink); }
.drop b { display: block; font-weight: 600; }
.drop small { color: var(--muted); font-size: 13px; }
.drop input { display: none; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 10px; }
.thumb { position: relative; aspect-ratio: 9/16; border-radius: 8px; overflow: hidden; background: #E5DBD1; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: none; background: rgba(28,25,23,.8); color: #fff; font-size: 15px; line-height: 1; cursor: pointer; }
.thumb.busy { display: grid; place-items: center; font-size: 12px; color: var(--muted); }
.how { margin-top: 10px; background: #EAE2D8; border-radius: 10px; padding: 12px 14px; font-size: 14px; color: var(--soft); }
.how ol { padding-left: 18px; }
.how li + li { margin-top: 3px; }

/* mygtukai */
.nav { position: fixed; left: 0; right: 0; bottom: 0; background: rgba(244,238,230,.96); backdrop-filter: blur(6px); border-top: 1px solid var(--line); }
.nav .in { max-width: 640px; margin: 0 auto; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); display: flex; gap: 10px; }
.btn { font: inherit; font-weight: 600; font-size: 15.5px; border-radius: 40px; padding: 14px 22px; cursor: pointer; border: 1.5px solid var(--ink); text-decoration: none; text-align: center; }
.btn.main { flex: 1; background: var(--ink); color: var(--bg); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn:disabled { opacity: .5; cursor: wait; }
.privacy { margin-top: 30px; font-size: 13px; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* pabaiga */
.done { text-align: left; padding-top: 30px; }
.done h1 { font-family: 'Playfair Display', serif; font-size: 40px; font-weight: 600; line-height: 1.1; }
.done h1 i { font-weight: 400; color: var(--accent); }
.done p { margin-top: 14px; color: var(--soft); }
.done .btn { display: inline-block; margin-top: 26px; }
.sendbox { margin-top: 20px; padding: 14px; border-radius: 10px; background: #F3E1DC; color: var(--err); font-size: 14.5px; }

@media (min-width: 560px) {
  .hero h1 { font-size: 52px; }
  .step h1 { font-size: 40px; }
  .opts.cards { grid-template-columns: 1fr 1fr 1fr; }
}
