/* Andrei Simonov — services & prices */

:root {
  --paper: #F5F3FF;
  --ink: #1B1446;
  --ink-soft: #4B4475;
  --violet: #5B3DF5;
  --violet-soft: #E7E1FF;
  --pink: #FF4F8B;
  --pink-soft: #FFE2EC;
  --sun: #FFC83D;
  --sun-soft: #FFF2CC;
  --mint: #20C997;
  --mint-soft: #D5F6EA;
  --white: #FFFFFF;
  --hair: color-mix(in srgb, var(--ink) 22%, transparent);
  --line: 2px solid var(--ink);
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;
  --display: "Unbounded", system-ui, sans-serif;
  --body: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--body);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.02em; overflow-wrap: break-word; }
h1 { font-weight: 800; font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.06; }
h2 { font-weight: 700; font-size: clamp(1.4rem, 3.4vw, 2.6rem); line-height: 1.1; }
h3 { font-weight: 700; font-size: 1.15rem; line-height: 1.25; }

.section { padding-block: clamp(44px, 6vw, 80px); }
.section-head { max-width: 60ch; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head p { margin-top: 14px; color: var(--ink-soft); font-size: 1.08rem; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1rem/1 var(--display); letter-spacing: -0.01em; }
.brand svg { width: 38px; height: 38px; flex: none; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; }
.nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.lang {
  font: 700 .8rem/1 var(--display); text-decoration: none;
  border: var(--line); border-radius: 999px; padding: 8px 12px; background: var(--white);
}
.lang:hover { background: var(--sun); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border: var(--line); border-radius: 999px;
  background: var(--white); color: var(--ink);
  font: 600 1rem/1.1 var(--body); text-decoration: none;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn--tg { background: var(--violet); color: var(--white); }
.btn--wa { background: var(--mint); }
.btn--sm { padding: 10px 16px; font-size: .92rem; box-shadow: 3px 3px 0 var(--ink); }

/* ---------- hero ---------- */
.hero { padding-block: clamp(32px, 6vw, 80px) clamp(16px, 3vw, 40px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 17ch; text-wrap: balance; }
.hero .lead { margin-top: 22px; font-size: 1.16rem; max-width: 50ch; color: var(--ink-soft); }
.hero .lead strong { color: var(--ink); font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.facts li {
  display: inline-flex; align-items: center; gap: 8px;
  border: var(--line); border-radius: 999px; background: var(--white);
  padding: 7px 14px 7px 10px; font-weight: 500; font-size: .95rem;
}
.facts li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ink); background: var(--mint); }
.facts li:nth-child(2)::before { background: var(--sun); }
.facts li:nth-child(3)::before { background: var(--pink); }

.portrait { position: relative; justify-self: center; width: min(430px, 100%); aspect-ratio: 1; }
.portrait-sun {
  position: absolute; inset: 8%;
  border-radius: 50%; background: var(--sun); border: var(--line);
  transform: translate(5%, 4%);
}
.portrait img {
  position: absolute; inset: 9%; width: 82%; height: 82%;
  border-radius: 50%; border: var(--line); background: var(--violet); object-fit: cover;
}
.portrait-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.portrait-ring text { font: 600 10.5px var(--display); fill: var(--ink); }
.portrait-name {
  position: absolute; left: -2%; bottom: 7%;
  background: var(--violet); color: var(--white);
  border: var(--line); border-radius: 16px; box-shadow: 4px 4px 0 var(--ink);
  padding: 12px 16px; transform: rotate(-6deg);
}
.portrait-name b { display: block; font: 700 1rem/1.15 var(--display); }
.portrait-name span { font-size: .88rem; opacity: .9; }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .7s cubic-bezier(.2, .8, .2, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .portrait { animation: pop .8s cubic-bezier(.2, .9, .3, 1.2) .1s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes pop { from { opacity: 0; transform: scale(.88) rotate(-4deg); } }

/* ---------- services bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile {
  border: var(--line); border-radius: var(--r-lg);
  padding: 26px; background: var(--white);
  display: flex; flex-direction: column; gap: 12px;
  text-decoration: none; color: var(--ink);
}
.tile p { color: inherit; opacity: .88; }
.tile-foot { margin-top: auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px 12px; padding-top: 10px; }
.tile-price { font: 700 1.05rem/1.2 var(--display); }
.tile-more { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; white-space: nowrap; }
a.tile:hover .tile-more { text-decoration-color: transparent; }
.tile--sites { grid-column: span 4; grid-row: span 2; background: var(--violet); color: var(--white); padding: 32px; }
.tile--sites h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.tile--sites p { font-size: 1.1rem; max-width: 40ch; }
.tile--apps { grid-column: span 2; background: var(--pink); }
.tile--bots { grid-column: span 2; background: var(--mint); }
.tile--seo { grid-column: span 2; background: var(--sun); }
.tile--sec { grid-column: span 2; }
.tile--desk { grid-column: span 2; background: transparent; border-style: dashed; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chips li { border: 2px solid currentColor; border-radius: 999px; padding: 5px 12px; font-size: .92rem; font-weight: 500; }

/* ---------- from scratch vs builder ---------- */
.compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.compare-col { border: var(--line); border-radius: var(--r-lg); padding: 28px; }
.compare-col--bad { background: var(--white); }
.compare-col--bad li { color: var(--ink-soft); }
.compare-col--good { background: var(--violet); color: var(--white); }
.compare-col ul { margin-top: 20px; display: grid; gap: 14px; }
.compare-col li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; }
.mark {
  width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--ink);
  display: grid; place-items: center; background: var(--white);
}
.mark svg { width: 14px; height: 14px; }
.compare-col--good .mark { background: var(--mint); }

/* ---------- packages ---------- */
.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.packs--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pack {
  position: relative;
  border: var(--line); border-radius: var(--r-lg); background: var(--white);
  padding: 26px 24px 24px;
  display: flex; flex-direction: column; gap: 16px;
}
.pack-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pack-head > div { min-width: 0; }
.pack-name { font: 800 1.45rem/1.1 var(--display); letter-spacing: -0.02em; overflow-wrap: break-word; }
.pack-kind { margin-top: 6px; font-weight: 500; color: var(--ink-soft); }
.pack-time { font-size: .92rem; color: var(--ink-soft); }
.pack-time b { color: var(--ink); font-weight: 600; }
.pack-label { font-weight: 700; font-size: .95rem; }
.pack-list { display: grid; gap: 9px; margin-top: 8px; }
.pack-list li { position: relative; padding-left: 26px; }
.pack-list li::before {
  content: ""; position: absolute; left: 0; top: .32em;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.2 8.3l2.4 2.3 5-5' fill='none' stroke='%231B1446' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  border: 1.5px solid var(--ink);
}
.pack-list li.plus { font-weight: 600; padding-left: 0; }
.pack-list li.plus::before { display: none; }
.pack-gain { margin-top: auto; padding: 14px 16px; border-radius: var(--r-sm); background: var(--violet-soft); }
.pack-gain .pack-label { display: block; margin-bottom: 4px; }
.pack--accent { background: var(--violet); color: var(--white); }
.pack--accent .pack-kind, .pack--accent .pack-time, .pack--accent .pack-time b { color: var(--white); }
.pack--accent .pack-gain { background: color-mix(in srgb, var(--white) 16%, transparent); }
.pack-note {
  position: absolute; top: -15px; left: 22px;
  background: var(--pink); color: var(--ink);
  border: var(--line); border-radius: 999px;
  padding: 4px 12px; font-size: .85rem; font-weight: 600;
}
.pack--app .pack-gain { background: var(--pink-soft); }
.pack--bot .pack-gain { background: var(--mint-soft); }
.pack--compact { padding: 22px; gap: 12px; }
.pack.pack--accent .pack-gain { background: color-mix(in srgb, var(--white) 16%, transparent); color: var(--white); }
.pack--compact .pack-name { font-size: 1.15rem; }

.tag {
  position: relative; flex: none;
  display: inline-block;
  padding: 9px 14px 9px 27px;
  background: var(--sun); color: var(--ink);
  border: var(--line); border-radius: 10px;
  box-shadow: 3px 3px 0 var(--ink);
  font: 800 1.35rem/1 var(--display); letter-spacing: -0.02em;
  white-space: nowrap;
  transform: rotate(-5deg);
}
.tag::before {
  content: ""; position: absolute; left: 9px; top: 50%;
  width: 9px; height: 9px; margin-top: -5px;
  border-radius: 50%; background: var(--paper); border: 2px solid var(--ink);
}
.tag small { font: 600 .7rem/1 var(--body); letter-spacing: 0; margin-left: 2px; }
.pack:nth-child(even) .tag { transform: rotate(4deg); }

.all-include {
  margin-top: 24px;
  border: 2px dashed var(--ink); border-radius: var(--r-md);
  padding: 18px 22px;
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 16px; align-items: start;
}
.all-include b { font-family: var(--display); font-size: .95rem; }
.all-include p { color: var(--ink-soft); }
.side-note { margin-top: 18px; color: var(--ink-soft); max-width: 70ch; }
.side-note a { font-weight: 600; color: var(--ink); }

.pub-row {
  margin-top: 20px;
  border: var(--line); border-radius: var(--r-lg); background: var(--pink-soft);
  padding: 22px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.pub-row p { color: var(--ink-soft); margin-top: 4px; max-width: 60ch; }

/* ---------- add-ons menu ---------- */
.menu {
  border: var(--line); border-radius: var(--r-lg); background: var(--white);
  padding: 10px 30px;
  columns: 2; column-gap: 56px;
}
.menu-row { break-inside: avoid; padding: 16px 0; border-bottom: 1.5px solid var(--hair); }
.menu-line { display: flex; align-items: baseline; gap: 10px; }
.menu-name { font-weight: 600; }
.menu-dots { flex: 1; min-width: 18px; border-bottom: 2px dotted color-mix(in srgb, var(--ink) 45%, transparent); transform: translateY(-4px); }
.menu-price { font: 700 1.02rem/1 var(--display); white-space: nowrap; }
.menu-desc { margin-top: 4px; color: var(--ink-soft); font-size: .95rem; }

/* ---------- SEO ---------- */
.seo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.seo-text > p { font-size: 1.1rem; }
.seo-text > p + p { margin-top: 14px; }
.seo-lists { display: grid; gap: 16px; margin-top: 28px; }
.seo-box { border: var(--line); border-radius: var(--r-md); padding: 20px 22px; background: var(--white); }
.seo-box--plus { background: var(--sun-soft); }
.seo-box-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.seo-box-head span { font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
.seo-box .pack-list { margin-top: 12px; }
.seo-honest { margin-top: 16px; font-size: .95rem; color: var(--ink-soft); }

.serp {
  border: var(--line); border-radius: var(--r-lg); background: var(--white);
  padding: 22px; box-shadow: 8px 8px 0 var(--sun);
  position: sticky; top: 100px;
}
.serp-bar {
  display: flex; align-items: center; gap: 10px;
  border: var(--line); border-radius: 999px; padding: 11px 16px;
  font-weight: 500;
}
.serp-bar svg { width: 18px; height: 18px; flex: none; }
.serp-meta { margin: 14px 4px 6px; font-size: .82rem; color: var(--ink-soft); }
.serp-hit { padding: 14px 16px; border-radius: var(--r-sm); position: relative; }
.serp-hit + .serp-hit { margin-top: 6px; }
.serp-hit--you { background: var(--sun-soft); border: 2px solid var(--ink); }
.serp-url { display: block; font-size: .82rem; color: var(--ink-soft); }
.serp-title { display: block; color: var(--violet); font-weight: 600; font-size: 1.05rem; margin-top: 2px; }
.serp-text { display: block; font-size: .9rem; color: var(--ink-soft); margin-top: 4px; }
.serp-you {
  position: absolute; top: -12px; right: 12px;
  background: var(--pink); border: var(--line); border-radius: 999px;
  padding: 2px 10px; font-size: .8rem; font-weight: 700;
  transform: rotate(4deg);
}
.skel { display: block; height: 10px; border-radius: 6px; background: color-mix(in srgb, var(--ink) 10%, transparent); }
.skel + .skel { margin-top: 8px; }
.skel--title { height: 14px; width: 72%; background: color-mix(in srgb, var(--violet) 22%, transparent); }
.skel--s { width: 34%; }
.skel--m { width: 88%; }

/* ---------- security band ---------- */
.band { background: var(--ink); color: var(--white); border-block: var(--line); }
.band .section-head p { color: color-mix(in srgb, var(--white) 75%, transparent); }
.shield-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.shield {
  border: 2px solid color-mix(in srgb, var(--white) 30%, transparent);
  border-radius: var(--r-md); padding: 22px;
  display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start;
}
.shield-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--mint); color: var(--ink);
  display: grid; place-items: center;
}
.shield-icon svg { width: 22px; height: 22px; }
.shield b { display: block; font-weight: 600; font-size: 1.05rem; }
.shield p { margin-top: 4px; color: color-mix(in srgb, var(--white) 75%, transparent); font-size: .95rem; }

/* ---------- projects ---------- */
.projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.project {
  border: var(--line); border-radius: var(--r-lg); background: var(--white);
  overflow: hidden; display: flex; flex-direction: column;
}
.browser { border-bottom: var(--line); background: var(--paper); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink); }
.browser-bar i:nth-child(1) { background: var(--pink); }
.browser-bar i:nth-child(2) { background: var(--sun); }
.browser-bar i:nth-child(3) { background: var(--mint); }
.browser-bar span { margin-left: 8px; font-size: .8rem; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.project-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.project-type { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .9rem; font-weight: 600; color: var(--violet); }
.project-body p { color: var(--ink-soft); }
.project-link { margin-top: auto; padding-top: 6px; font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.about-text p { font-size: 1.12rem; max-width: 56ch; }
.about-text p + p { margin-top: 16px; }
.about-text .edu {
  margin-top: 24px; display: inline-flex; gap: 12px; align-items: center;
  border: var(--line); border-radius: var(--r-md); background: var(--white); padding: 14px 18px;
  font-size: 1rem;
}
.edu svg { width: 30px; height: 30px; flex: none; color: var(--violet); }
.why { border: var(--line); border-radius: var(--r-lg); background: var(--sun); padding: 28px; }
.why .pack-list { margin-top: 16px; gap: 12px; }
.why .pack-list li::before { background-color: var(--white); }

/* ---------- process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step { border: var(--line); border-radius: var(--r-md); background: var(--white); padding: 22px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center;
  width: 46px; height: 46px; margin-bottom: 14px;
  border: var(--line); border-radius: 50%; background: var(--violet); color: var(--white);
  font: 800 1.1rem/1 var(--display);
}
.step p { margin-top: 6px; color: var(--ink-soft); }

/* ---------- terms ---------- */
.terms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.term { border: var(--line); border-radius: var(--r-md); background: var(--white); padding: 22px; }
.term p { margin-top: 8px; color: var(--ink-soft); }
.term--hot { background: var(--pink); }
.term--hot p { color: var(--ink); }
.term--free { background: var(--mint); }
.term--free p { color: var(--ink); }
.extra {
  margin-top: 20px; border: 2px dashed var(--ink); border-radius: var(--r-lg);
  padding: 24px 26px;
}
.extra > p { margin-top: 6px; color: var(--ink-soft); }
.extra ul { margin-top: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.extra li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1.5px solid var(--hair); }
.extra li span:last-child { font-weight: 600; text-align: right; }

/* ---------- glossary ---------- */
.glossary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin: 0; }
.gloss { padding: 16px 0; border-bottom: 1.5px solid var(--hair); }
.gloss dt { font: 700 1rem/1.3 var(--display); }
.gloss dd { margin: 4px 0 0; color: var(--ink-soft); }

/* ---------- faq ---------- */
.faq { display: grid; gap: 12px; max-width: 880px; }
.faq details { border: var(--line); border-radius: var(--r-md); background: var(--white); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 18px 22px; font-weight: 600; font-size: 1.05rem;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none;
  width: 30px; height: 30px; border-radius: 50%; border: var(--line);
  display: grid; place-items: center; font: 700 1.1rem/1 var(--display);
  background: var(--sun); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--ink-soft); max-width: 70ch; }

/* ---------- final CTA ---------- */
.final {
  border: var(--line); border-radius: 36px;
  background: var(--violet); color: var(--white);
  padding: clamp(32px, 6vw, 64px);
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px; align-items: center;
  box-shadow: 10px 10px 0 var(--ink);
}
.final h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
.final > div > p { margin-top: 14px; font-size: 1.12rem; max-width: 46ch; }
.final .cta-row .btn--tg { background: var(--sun); color: var(--ink); }
.contacts { display: grid; gap: 12px; }
.contacts a {
  display: flex; align-items: center; gap: 14px;
  background: var(--white); color: var(--ink);
  border: var(--line); border-radius: var(--r-md);
  padding: 14px 18px; text-decoration: none;
}
.contacts a:hover { background: var(--sun-soft); }
.contacts svg { width: 26px; height: 26px; flex: none; }
.contacts small { display: block; color: var(--ink-soft); font-size: .82rem; }
.contacts b { font-weight: 600; }

.foot { padding-block: 36px 48px; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--ink-soft); font-size: .95rem; }
.foot a { font-weight: 600; color: var(--ink); }

/* ---------- responsive ---------- */
/* print uses the phone layout: Chrome matches width queries against the screen, not the page */
@media (max-width: 1000px), print {
  .packs, .projects, .steps, .terms, .shield-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--sites { grid-column: span 6; grid-row: auto; }
  .tile--apps, .tile--bots, .tile--seo, .tile--sec, .tile--desk { grid-column: span 3; }
  .final { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px), print {
  .nav { display: none; }
  .lang { margin-left: auto; }
  .hero .wrap, .seo, .about { grid-template-columns: minmax(0, 1fr); }
  .portrait { order: -1; width: min(300px, 82%); }
  .serp { position: static; }
  .menu { columns: 1; }
}
@media (max-width: 640px), print {
  body { font-size: 16px; }
  .packs, .packs--two, .projects, .steps, .terms, .shield-grid, .compare, .glossary, .extra ul { grid-template-columns: minmax(0, 1fr); }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile--sites, .tile--apps, .tile--bots, .tile--seo, .tile--sec, .tile--desk { grid-column: auto; }
  .tile, .tile--sites { padding: 22px; }
  .top .btn { display: none; }
  .brand span { font-size: .92rem; }
  .menu { padding: 6px 16px; }
  .menu-line { gap: 8px; }
  .menu-dots { min-width: 10px; }
  .menu-price { white-space: normal; text-align: right; }
  .pub-row { flex-direction: column; align-items: flex-start; }
  .all-include { grid-template-columns: minmax(0, 1fr); }
  .final { box-shadow: 6px 6px 0 var(--ink); border-radius: 28px; padding: 26px 22px; }
  .contacts a { padding: 12px 14px; gap: 10px; }
  .contacts b { overflow-wrap: anywhere; }
  .extra li { flex-direction: column; gap: 2px; }
  .extra li span:last-child { text-align: left; }
  .btn { padding: 13px 18px; }
}

/* ---------- PDF ---------- */
/* phone-shaped pages (about 9:19.5) so the PDF reads like a phone screen */
@page { size: 110mm 238mm; margin: 8mm 6mm; }
@media print {
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; animation: none !important; transition: none !important; }
  html, body { background: var(--white); }
  body { font-size: 15.5px; }
  .wrap { width: 100%; }
  .top { position: static; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 0; }
  .top .wrap { height: auto; padding-bottom: 8px; }
  .nav, .lang, .top .btn, .no-print { display: none !important; }
  .section { padding-block: 0; }
  .hero { padding-block: 14px 0; }
  .pdf-page { break-before: page; }
  /* one package per phone screen; only the long lists may split, and each piece keeps its border */
  .menu, .extra { box-decoration-break: clone; -webkit-box-decoration-break: clone; }
  .pack, .compare-col, .seo-box, .serp, .why, .final,
  .tile, .step, .term, .project, .menu-row, .gloss, .faq-item, .shield, .extra li, .all-include, .pub-row, .pack-head, .pack-gain, .pack-list li, .compare-col li, .contacts a, .cta-row { break-inside: avoid; }
  .pack-note { position: static; align-self: flex-start; margin-bottom: -4px; }
  .menu { padding: 4px 18px; }
  .pack, .compare-col, .why, .final { padding: 20px 18px; }
  h2, h3 { break-after: avoid; }
  .section-head { break-inside: avoid; }
  .side-note { display: none; }
  .hero h1 { font-size: 1.75rem; }
  .hero .lead { margin-top: 14px; font-size: 1.02rem; }
  .portrait { width: 215px; }
  .hero .wrap { gap: 18px; }
  .cta-row { margin-top: 18px; gap: 10px; }
  .facts { margin-top: 16px; gap: 8px; }
  .facts li { font-size: .85rem; padding: 5px 10px 5px 8px; }
  .hero .btn { padding: 11px 14px; font-size: .9rem; gap: 8px; }
  .section-head { margin-bottom: 20px; }
  .band { background: var(--white); color: var(--ink); border: 0; }
  .band .section-head p, .shield p { color: var(--ink-soft); }
  .shield { border-color: var(--ink); }
  .serp { position: static; box-shadow: 6px 6px 0 var(--sun); }
  .final { box-shadow: none; }
  .faq details p { padding-bottom: 16px; }
  .faq summary::after { display: none; }
  .foot { padding-block: 16px 0; }
}
