/* LIRNA — development studio. Dark and light bands, wide uppercase headings, rounded cards, violet + lime. */

:root {
  --bg: #0b0b10;
  --card: #16161e;
  --card-2: #1e1e28;
  --light: #f2f2f5;
  --light-card: #ffffff;
  --ink: #f4f4f7;
  --ink-dark: #0b0b10;
  --muted: #9b9baa;
  --muted-dark: #5d5d6b;
  --line: rgba(255, 255, 255, 0.1);
  --line-dark: rgba(11, 11, 16, 0.1);
  --accent: #7150f5;
  --accent-2: #9d86ff;
  --lime: #c9f24d;
  --head: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --text: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 28px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}
ul,
ol {
  list-style: none;
  padding: 0;
}
::selection {
  background: var(--accent);
  color: #fff;
}
:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 14px;
}
.wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3.4vw, 40px);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 99px;
  font: 600 14px/1 var(--text);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-lg {
  min-height: 58px;
  padding: 0 30px;
  font-size: 15px;
}
.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover {
  background: var(--accent-2);
}
.btn-ghost {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  color: var(--ink);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}
.btn-light {
  background: var(--ink);
  color: var(--ink-dark);
  text-transform: none;
  letter-spacing: 0;
  font-size: 16px;
}

/* ---------- bar ---------- */
.bar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(11, 11, 16, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.bar-in {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 72px;
}
.logo {
  font: 700 20px/1 var(--head);
  letter-spacing: 0.06em;
  text-decoration: none;
}
.bar-nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
  font-size: 15px;
}
.bar-nav a,
.lang {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}
.bar-nav a:hover,
.lang:hover {
  color: var(--ink);
}
.lang {
  font-weight: 600;
  font-size: 14px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 104px) 0 clamp(56px, 6vw, 88px);
  background:
    radial-gradient(ellipse 50% 60% at 78% 40%, rgba(124, 92, 255, 0.28), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 64px 64px;
}
.hero-in {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.kicker i {
  width: 28px;
  height: 1px;
  background: currentColor;
}
.hero h1 {
  margin-top: 26px;
  font: 700 clamp(38px, 4.9vw, 74px) / 1.04 var(--head);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.br {
  color: var(--accent-2);
  white-space: nowrap;
}
.lead {
  margin-top: 28px;
  max-width: 30em;
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--muted);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

/* hero art: two concept screens, a phone and an assistant bubble */
.hero-art {
  position: relative;
  aspect-ratio: 1 / 0.86;
}
.shot {
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}
.shot-back {
  right: 0;
  top: 0;
  width: 78%;
  opacity: 0.55;
}
.shot-front {
  left: 0;
  top: 24%;
  width: 86%;
}
.hero-phone {
  position: absolute;
  right: 4%;
  bottom: 0;
  width: 25%;
  border-radius: 26px;
  overflow: hidden;
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.8),
    0 0 0 6px #1a1a22;
}
.bubble {
  position: absolute;
  left: 6%;
  bottom: 2%;
  display: grid;
  gap: 2px;
  max-width: 62%;
  padding: 14px 18px;
  border-radius: 18px 18px 18px 4px;
  background: rgba(22, 22, 30, 0.86);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px var(--line);
  font-size: 14px;
}
.bubble b {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lime);
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(56px, 6vw, 88px);
}
.facts div {
  padding: 22px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--line);
}
.facts b {
  display: block;
  font: 700 clamp(22px, 2.2vw, 32px) / 1.1 var(--head);
  text-transform: uppercase;
}
.facts span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- bands ---------- */
.light,
.dark {
  padding: clamp(88px, 10vw, 140px) 0;
}
.light {
  background: var(--light);
  color: var(--ink-dark);
}
.head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px 48px;
  margin-bottom: clamp(36px, 4vw, 56px);
}
.head h2 {
  font: 600 clamp(32px, 4.4vw, 64px) / 1.02 var(--head);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.head p {
  max-width: 28em;
  color: var(--muted);
}
.light .head p {
  color: var(--muted-dark);
}
.star {
  color: var(--accent);
  font-size: 0.7em;
  vertical-align: 0.15em;
}

/* chips (tech tags) */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chips li {
  font-size: 12px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 99px;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--muted);
}

/* services: dark cards on light */
.svcs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.svc {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 300px;
  padding: 28px;
  border-radius: var(--r);
  background: var(--ink-dark);
  color: var(--ink);
  transition: transform 0.25s ease;
}
.svc:hover {
  transform: translateY(-4px);
}
.svc h3 {
  font: 600 22px/1.15 var(--head);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.svc p {
  color: var(--muted);
  font-size: 16px;
}
.svc .chips {
  margin-top: auto;
}
.svc-go {
  align-self: flex-start;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--accent-2);
}
.svc-go:hover {
  color: var(--lime);
}

/* cases */
.cases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.case {
  display: flex;
  flex-direction: column;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--card);
  text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.25s ease;
}
.case:hover {
  transform: translateY(-4px);
}
.case-shot {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--card-2);
}
.case-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.case:hover .case-shot img {
  transform: scale(1.03);
}
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 99px;
  background: var(--lime);
  color: var(--ink-dark);
}
.case-shot .badge {
  position: absolute;
  left: 18px;
  top: 18px;
}
.case-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 28px 28px;
  flex: 1;
}
.case-niche {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.case h3 {
  font: 600 26px/1.1 var(--head);
  text-transform: uppercase;
}
.case-body > p:not(.case-niche) {
  color: var(--muted);
}
.case-open {
  margin-top: auto;
  padding-top: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* the wide case: our own product, screenshot left, story and numbers right */
.case-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
}
.case-wide .case-shot {
  aspect-ratio: auto;
  min-height: 100%;
}
.case-wide .case-body {
  padding: 36px;
  justify-content: center;
}
.case-wide h3 {
  font-size: clamp(30px, 3vw, 44px);
}
.case-nums {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0 6px;
}
.case-nums div {
  padding: 14px;
  border-radius: 16px;
  background: var(--card-2);
}
.case-nums dt {
  font: 700 24px/1 var(--head);
  color: var(--lime);
}
.case-nums dd {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.3;
  color: var(--muted);
}

/* process */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.step {
  padding: 28px;
  border-radius: var(--r);
  background: var(--light-card);
  box-shadow: 0 0 0 1px var(--line-dark);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step span {
  font: 600 14px/1 var(--head);
  color: var(--accent);
  margin-bottom: 28px;
}
.step h3 {
  font: 600 22px/1.15 var(--head);
  text-transform: uppercase;
  min-height: 2.3em;
}
.step p {
  color: var(--muted-dark);
}

/* stack: one row per category, chips flow */
.groups {
  border-top: 1px solid var(--line);
}
.group {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px 32px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.group p {
  padding-top: 12px;
  font: 600 14px/1 var(--head);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-2);
}
.group ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.group li {
  padding: 11px 16px;
  border-radius: 99px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 500;
  font-size: 15px;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
.group li:hover {
  background: var(--accent);
  color: #fff;
}

/* guarantees */
.guars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.guar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border-radius: var(--r);
  background: var(--ink-dark);
  color: var(--ink);
}
.guar .badge {
  align-self: flex-start;
}
.guar h3 {
  margin-top: 18px;
  font: 600 22px/1.15 var(--head);
  text-transform: uppercase;
}
.guar p {
  color: var(--muted);
}

/* contact */
.contact {
  padding-top: clamp(64px, 7vw, 104px);
}
.cta-card {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 6vw, 88px);
  border-radius: 36px;
  background:
    radial-gradient(ellipse 60% 90% at 90% 10%, rgba(201, 242, 77, 0.22), transparent 60%),
    linear-gradient(135deg, #5a3cf0, #7c5cff 55%, #9d86ff);
}
.cta-card h2 {
  max-width: 14ch;
  font: 700 clamp(34px, 5vw, 76px) / 1.02 var(--head);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.cta-card > p {
  margin-top: 20px;
  max-width: 30em;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}
.ways {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}
.cta-card .btn-accent {
  background: var(--ink-dark);
}
.cta-card .btn-accent:hover {
  background: #000;
}
.cta-card .btn-ghost {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
  text-transform: none;
  letter-spacing: 0;
  font-size: 16px;
}

/* footer */
.foot {
  border-top: 1px solid var(--line);
  padding: 28px 0 calc(28px + env(safe-area-inset-bottom, 0px));
  font-size: 14px;
  color: var(--muted);
}
.foot-row {
  display: flex;
  align-items: center;
  gap: 24px;
}
.foot-links ul {
  list-style: none;
  margin: 0 0 22px;
  padding: 0 0 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  border-bottom: 1px solid var(--line);
}
.foot-links a {
  color: var(--ink);
  text-decoration: none;
}
.foot-links a:hover {
  color: var(--lime);
}
.foot-row .logo {
  font-size: 16px;
  color: var(--ink);
}
.foot-row p:last-child {
  margin-left: auto;
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .bar-nav {
    display: none;
  }
  .lang {
    margin-left: auto;
  }
  .svcs,
  .guars,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cases {
    grid-template-columns: 1fr;
  }
  .case-wide {
    grid-template-columns: 1fr;
  }
  .case-wide .case-shot {
    aspect-ratio: 16 / 10;
  }
}
@media (max-width: 860px) {
  .hero-in {
    grid-template-columns: 1fr;
  }
  .hero-art {
    max-width: 560px;
  }
  .facts {
    grid-template-columns: 1fr;
  }
  .cases {
    grid-template-columns: 1fr;
  }
  .case-wide {
    grid-template-columns: 1fr;
  }
  .case-wide .case-shot {
    aspect-ratio: 16 / 10;
  }
  .case-wide .case-body {
    padding: 24px 22px 28px;
  }
}
@media (max-width: 600px) {
  body {
    font-size: 16px;
  }
  .bar-in {
    min-height: 60px;
    gap: 16px;
  }
  .bar-in > .btn {
    min-height: 38px;
    padding: 0 14px;
    font-size: 12px;
  }
  .btn-lg {
    width: 100%;
  }
  .hero h1 {
    font-size: 8.3vw;
  }
  .head h2 {
    font-size: 8.4vw;
  }
  .cta-card h2 {
    font-size: 8.4vw;
  }
  .svcs,
  .guars,
  .steps {
    grid-template-columns: 1fr;
  }
  .group {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .group p {
    padding-top: 0;
  }
  .group li {
    padding: 9px 13px;
    font-size: 14px;
  }
  .svc,
  .step {
    min-height: 0;
  }
  .step h3 {
    min-height: 0;
  }
  .step span {
    margin-bottom: 12px;
  }
  .facts div {
    padding: 18px;
  }
  .bubble {
    max-width: 80%;
    font-size: 13px;
  }
  .ways .btn {
    width: 100%;
  }
  .foot-row {
    flex-wrap: wrap;
    gap: 8px 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn,
  .svc,
  .case,
  .case-shot img {
    transition: none;
  }
}

/* ---------- service pages ---------- */
.hero-page {
  padding-bottom: clamp(64px, 7vw, 104px);
}
.crumbs {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
}
.crumbs a {
  color: var(--accent-2);
  text-decoration: none;
}
.hero-page h1 {
  max-width: 16ch;
  font: 700 clamp(36px, 5.6vw, 84px) / 1.02 var(--head);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.incls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.incl {
  padding: 28px;
  border-radius: var(--r);
  background: var(--light-card);
  box-shadow: 0 0 0 1px var(--line-dark);
}
.incl h3 {
  font: 600 20px/1.2 var(--head);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.incl p {
  color: var(--muted-dark);
}
.who {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px 32px;
  margin-top: 40px;
  align-items: start;
}
.who > p {
  padding-top: 10px;
  font: 600 14px/1 var(--head);
  text-transform: uppercase;
  color: var(--accent);
}
.chips-lg li {
  font-size: 15px;
  padding: 10px 16px;
  box-shadow: inset 0 0 0 1px var(--line-dark);
  color: var(--ink-dark);
  background: var(--light-card);
}
.group-solo {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.faq-wrap .faq {
  max-width: 980px;
}
.faq details {
  border-top: 1px solid var(--line-dark);
  padding: 4px 0;
}
.faq details:last-child {
  border-bottom: 1px solid var(--line-dark);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font: 600 clamp(17px, 1.6vw, 21px) / 1.3 var(--head);
  text-transform: uppercase;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  color: var(--accent);
  font: 400 28px/0.9 var(--text);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 40px 22px 0;
  color: var(--muted-dark);
  max-width: 46em;
}
.others {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px 32px;
  margin-top: 56px;
}
.others p {
  padding-top: 10px;
  font: 600 14px/1 var(--head);
  text-transform: uppercase;
  color: var(--accent-2);
}
.others ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.others a {
  display: inline-block;
  padding: 11px 16px;
  border-radius: 99px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
  text-decoration: none;
  font-weight: 500;
}
.others a:hover {
  background: var(--accent);
}
@media (max-width: 1100px) {
  .incls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .incls,
  .who,
  .others {
    grid-template-columns: 1fr;
  }
  .who > p,
  .others p {
    padding-top: 0;
  }
  .hero-page h1 {
    font-size: 8.2vw;
  }
}

/* ---------- blog ---------- */
.posts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.post-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px;
  border-radius: var(--r);
  background: var(--light-card);
  box-shadow: 0 0 0 1px var(--line-dark);
  color: var(--ink-dark);
  text-decoration: none;
  transition: transform 0.25s ease;
}
.post-card:hover {
  transform: translateY(-4px);
}
.post-card .meta {
  font-size: 13px;
  color: var(--muted-dark);
}
.post-card h2 {
  font: 600 clamp(20px, 2vw, 26px) / 1.2 var(--head);
  text-transform: uppercase;
}
.post-card p {
  color: var(--muted-dark);
}
.post-card span {
  margin-top: auto;
  padding-top: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent);
}
.article {
  background: var(--light);
  color: var(--ink-dark);
  padding: clamp(56px, 7vw, 96px) 0;
}
.article .wrap {
  max-width: 820px;
}
.article .crumbs {
  color: var(--muted-dark);
}
.article .crumbs a {
  color: var(--accent);
}
.article h1 {
  font: 700 clamp(30px, 4.2vw, 52px) / 1.08 var(--head);
  text-transform: uppercase;
  letter-spacing: -0.015em;
}
.article .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted-dark);
}
.prose {
  margin-top: 36px;
  font-size: 18px;
  line-height: 1.7;
}
.prose > * + * {
  margin-top: 1.1em;
}
.prose .lead-p {
  font-size: 21px;
  line-height: 1.55;
  color: var(--ink-dark);
}
.prose h2 {
  margin-top: 1.9em;
  font: 600 clamp(22px, 2.4vw, 30px) / 1.2 var(--head);
  text-transform: uppercase;
}
.prose h3 {
  margin-top: 1.5em;
  font: 600 19px/1.3 var(--head);
  text-transform: uppercase;
}
.prose p,
.prose li {
  color: #2c2c36;
}
.prose ul,
.prose ol {
  list-style: revert;
  padding-left: 1.3em;
}
.prose li + li {
  margin-top: 0.4em;
}
.prose a {
  color: var(--accent);
  text-underline-offset: 3px;
}
.prose strong {
  color: var(--ink-dark);
}
.prose .table-wrap {
  overflow-x: auto;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
.prose th,
.prose td {
  text-align: left;
  padding: 11px 14px 11px 0;
  border-bottom: 1px solid var(--line-dark);
}
.prose th {
  font-weight: 600;
  border-bottom: 1.5px solid var(--ink-dark);
}
.prose td.num,
.prose th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.prose .note {
  padding: 18px 22px;
  border-radius: 18px;
  background: var(--light-card);
  box-shadow: 0 0 0 1px var(--line-dark);
  font-size: 16px;
}
.prose code {
  font: 0.86em/1.5 ui-monospace, 'Cascadia Mono', Consolas, monospace;
  padding: 0.1em 0.35em;
  border-radius: 6px;
  background: var(--light-card);
  box-shadow: 0 0 0 1px var(--line-dark);
}
.prose pre {
  overflow-x: auto;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--ink-dark);
  color: #e8e8f0;
}
.prose pre code {
  padding: 0;
  background: none;
  box-shadow: none;
  font-size: 14px;
  line-height: 1.6;
  color: inherit;
}
.prose .made {
  font-size: 15px;
  color: var(--muted-dark);
}
.prose .bar {
  display: inline-block;
  height: 8px;
  border-radius: 99px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 8px;
}
.article-cta {
  margin-top: 48px;
  padding: 30px;
  border-radius: var(--r);
  background: var(--ink-dark);
  color: var(--ink);
}
.article-cta h2 {
  font: 600 22px/1.2 var(--head);
  text-transform: uppercase;
}
.article-cta p {
  margin: 10px 0 20px;
  color: var(--muted);
}
.article-cta .actions {
  margin-top: 0;
}
@media (max-width: 760px) {
  .posts {
    grid-template-columns: 1fr;
  }
  .prose {
    font-size: 17px;
  }
  .prose .lead-p {
    font-size: 19px;
  }
}
.others + .others {
  margin-top: 28px;
}
.others.reads a {
  border-radius: 14px;
  max-width: 760px;
}

/* ---------- readability pass: phones, tablets, 1024 ---------- */
.case-shot picture,
.shot picture {
  display: contents;
}
/* the headline scales with its own column, so «Розробляємо» never runs into the screenshots */
.hero-copy {
  container-type: inline-size;
}
.hero-copy h1 {
  font-size: clamp(28px, 9.6cqi, 74px);
}
/* the light end of the gradient made white text on the ghost button hard to read */
.cta-card {
  background:
    radial-gradient(ellipse 60% 90% at 90% 10%, rgba(201, 242, 77, 0.22), transparent 60%),
    linear-gradient(135deg, #5a3cf0, #7150f5 55%, #8a6dff);
}
.cta-card .btn-ghost {
  background: rgba(11, 11, 16, 0.2);
}
@media (max-width: 600px) {
  /* phones get a 4:3 close-up of each interface instead of a shrunken desktop screen */
  .case-shot,
  .case-wide .case-shot {
    aspect-ratio: 4 / 3;
  }
  .chips li {
    font-size: 13px;
    padding: 7px 11px;
  }
  .badge {
    font-size: 12px;
  }
  /* LeadGen numbers: one row each, number left, caption right */
  .case-nums {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .case-nums div {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
  }
  .case-nums dt {
    font-size: 26px;
    white-space: nowrap;
  }
  .case-nums dd {
    margin: 0;
    font-size: 14px;
  }
  .article h1 {
    font-size: 26px;
    overflow-wrap: break-word;
  }
  .prose table {
    font-size: 13px;
  }
  .prose th,
  .prose td {
    padding: 9px 7px 9px 0;
  }
  .prose td.num {
    white-space: nowrap;
  }
  .prose th:last-child,
  .prose td:last-child {
    padding-right: 0;
  }
}
