:root {
  --bg: #f3efe6;
  --bg-2: #e8e0d0;
  --paper: #faf7f0;
  --ink: #161410;
  --muted: #5b554b;
  --line: #d5ccba;
  --accent: #1f5c56;
  --accent-dark: #163f3b;
  --gold: #b5792e;
  --gold-soft: #ead9bc;
  --shadow: 0 16px 40px rgba(22, 20, 16, 0.08);
  --radius: 18px;
  --max: 1120px;
  --sans: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html { scroll-padding-bottom: 5.5rem; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, #e7efe8 0%, transparent 50%),
    var(--bg);
  line-height: 1.6;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip:focus { top: 1rem; }

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

/* Header */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}
.mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  background: var(--accent);
  color: #f6f1e8;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 650;
  font-size: 0.95rem;
}
.brand-name {
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.brand-sub {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 400;
}
.nav-links {
  display: none;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
}
.nav-links a:hover { color: var(--accent); }
/* nav-cta visibility is set after .btn to win specificity */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #f6f1e8; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #9a6423; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.nav-cta { display: none; }
html { scroll-padding-top: 0.5rem; }

/* Hero */
.hero {
  padding: 1.5rem 0 3rem;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.kicker::before {
  content: "";
  width: 1.4rem;
  height: 1px;
  background: var(--gold);
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 450;
  font-size: clamp(2.6rem, 9vw, 5.4rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0.6rem 0 1rem;
}
.hero-role {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 3vw, 1.55rem);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0 0 1rem;
  max-width: 36rem;
  font-weight: 500;
}
.lede {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 38rem;
  margin: 0 0 1.5rem;
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 2rem;
}
.pill {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Sections */
section { padding: 3.2rem 0; }
.section-head {
  max-width: 40rem;
  margin-bottom: 1.8rem;
}
.num {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 450;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0.3rem 0 0.7rem;
}
.section-head p { margin: 0; color: var(--muted); }

.about-grid, .process-grid, .faq-grid, .contact-grid {
  display: grid;
  gap: 1rem;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
  box-shadow: var(--shadow);
}
.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.card p:last-child { margin-bottom: 0; }

/* Services */
.services { background: linear-gradient(180deg, transparent, rgba(31,92,86,.05) 20%, transparent); }
.svc-grid {
  display: grid;
  gap: 1rem;
}
.svc {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem;
}
.svc .icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.7rem;
  background: #e4efe9;
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  font-weight: 700;
}
.svc h3 { margin: 0 0 0.45rem; font-size: 1.15rem; }
.svc p { margin: 0; color: var(--muted); }

/* Pricing */
.price-grid {
  display: grid;
  gap: 1rem;
}
.price {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-height: 100%;
}
.price.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, #eef5f3, var(--paper) 40%);
}
.price h3 { margin: 0; font-size: 1.15rem; }
.amount {
  font-family: var(--serif);
  font-size: 2rem;
  letter-spacing: -0.03em;
  color: var(--accent-dark);
}
.amount span { font-size: 1rem; font-family: var(--sans); color: var(--muted); }
.price p { margin: 0; color: var(--muted); flex: 1; }
.price-note { margin-top: 1.2rem; color: var(--muted); font-size: 0.95rem; }

/* Process */
.steps {
  display: grid;
  gap: 0.9rem;
  counter-reset: step;
}
.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem 1.15rem 4.2rem;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1.1rem;
  top: 1.1rem;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--accent);
  color: #f6f1e8;
  display: grid;
  place-items: center;
  font-weight: 650;
}
.step h3 { margin: 0 0 0.25rem; font-size: 1.08rem; }
.step p { margin: 0; color: var(--muted); }

/* X card */
.x-card {
  display: grid;
  gap: 1rem;
  align-items: start;
}
.x-profile {
  background: var(--ink);
  color: #f3efe6;
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}
.x-handle { color: #c9c2b4; font-size: 0.95rem; }
.x-profile h3 { margin: 0.15rem 0 0.7rem; font-size: 1.35rem; }
.x-bio { color: #ddd6c8; margin: 0 0 1.1rem; }
.x-quotes { display: grid; gap: 0.8rem; }
blockquote {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0.95rem 1.05rem;
}
blockquote p { margin: 0 0 0.4rem; }
blockquote a { font-size: 0.88rem; text-decoration: none; font-weight: 600; }

/* FAQ */
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1.1rem;
}
.faq details + details { margin-top: 0.6rem; }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  color: var(--gold);
  font-weight: 500;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0.6rem 0 0.2rem; color: var(--muted); }

/* Form */
form { display: grid; gap: 0.85rem; }
label { display: grid; gap: 0.3rem; font-size: 0.92rem; font-weight: 600; }
input, select, textarea {
  font: inherit;
  font-weight: 400;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  background: #fff;
  color: var(--ink);
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
textarea { min-height: 8rem; resize: vertical; }
.gdpr { font-size: 0.85rem; color: var(--muted); font-weight: 400; }
.form-status {
  display: none;
  border-radius: 14px;
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
}
.form-status.show { display: block; }
.form-status.ok { background: #e6f3ee; color: #16463f; }
.form-status.err { background: #f8e7e2; color: #6b2a1c; }
.composed {
  white-space: pre-wrap;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 0.8rem;
  margin: 0.7rem 0;
  font-size: 0.9rem;
}

.disclaimer {
  background: #efe6d4;
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  font-size: 0.95rem;
}
.disclaimer strong { display: block; margin-bottom: 0.25rem; }

footer {
  padding: 2.5rem 0 7rem;
  color: var(--muted);
  font-size: 0.92rem;
  border-top: 1px solid var(--line);
}
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

/* Mobile sticky CTA */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 0.5rem;
  padding: 0.7rem 0.9rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(243, 239, 230, 0.94);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  z-index: 20;
}
.sticky-cta .btn { flex: 1; }

@media (min-width: 720px) {
  html { scroll-padding-bottom: 0; }
  .nav-links { display: flex; }
  .about-grid { grid-template-columns: 1.15fr 0.85fr; }
  .svc-grid, .price-grid { grid-template-columns: 1fr 1fr; }
  .steps, .x-card, .contact-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 3rem; padding-bottom: 4.5rem; }
  .sticky-cta { display: none; }
  footer { padding-bottom: 2.5rem; }
  .nav-cta { display: inline-flex; }
}

@media (min-width: 1024px) {
  .svc-grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .price-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .nav-links { gap: 1.4rem; }
}

/* App showcase */
.app-intro {
  color: var(--muted);
  max-width: 42rem;
  margin: -0.6rem 0 1.6rem;
}
.app-grid {
  display: grid;
  gap: 1.2rem;
}
.app-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.phone-wrap {
  background: linear-gradient(180deg, #ece6d8, #e4ddd0);
  padding: 1.15rem 1.15rem 0.35rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone {
  width: min(100%, 240px);
  background: #1a1814;
  border-radius: 28px;
  padding: 10px 8px 12px;
  box-shadow: 0 14px 28px rgba(22, 20, 16, 0.16);
}
.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  background: #fff;
}
.app-body {
  padding: 1.2rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}
.app-body h3 { margin: 0; font-size: 1.2rem; letter-spacing: -0.02em; }
.app-kind {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.app-body p { margin: 0; color: var(--muted); flex: 1; }
.app-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.55rem;
}
.app-links a {
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.app-links a:hover { text-decoration: underline; }

.note-card {
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  color: var(--muted);
  font-size: 0.98rem;
}
.note-card strong { color: var(--ink); }

.includes {
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.95rem;
}
.includes li {
  padding: 0.22rem 0 0.22rem 1.2rem;
  position: relative;
}
.includes li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 600;
}

.who {
  margin-top: 1.2rem;
}

@media (min-width: 720px) {
  .app-grid { grid-template-columns: 1fr; }
  .app-card { display: grid; grid-template-columns: 240px 1fr; align-items: stretch; }
  .phone-wrap { padding: 1.3rem 0 1.3rem 1.1rem; align-items: center; }
}

@media (min-width: 1024px) {
  .app-grid { grid-template-columns: 1fr 1fr 1fr; }
  .app-card { display: flex; }
  .phone-wrap { padding: 1.15rem 1.15rem 0.2rem; }
  .price-grid { grid-template-columns: 1.2fr 0.9fr 0.9fr; }
}

.pill-link {
  text-decoration: none;
  color: inherit;
}
.pill-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.crypto-offer {
  margin-top: 1.2rem;
}
.crypto-offer h3 {
  font-size: 1.35rem;
  margin-top: 0.15rem;
}
.crypto-offer p { color: var(--muted); }
.crypto-offer .includes { margin-top: 0.35rem; margin-bottom: 0.8rem; }
.crypto-offer .includes li::before { content: "–"; }

.vizitka-mini { margin-bottom: 0; font-size: 0.95rem; }
