/* yourpage.am — same look as our Instagram graphics: white canvas, navy/blue Google Sans,
   crisp rounded shapes, our own line icons, iPhones with real screens. One bold moment: the hero phones. */

:root {
  --white: #FFFFFF;
  --ink: #1B2A6B;
  --blue: #2541B2;
  --blue-dark: #1D3594;
  --tint: #EEF2FF;
  --tint-2: #DCE4FB;
  --muted: #4A5788;
  --cream: #FDF7EC;   /* Janikyan's own colour */
  --sand: #F7F4EF;    /* HayHelp's app background */
  --error: #B3261E;
  --wrap: 1400px;
  --gutter: clamp(20px, 4.5vw, 72px);
  --font: "Google Sans", "Noto Sans Armenian", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.08; letter-spacing: -.025em; color: var(--ink); }
h2 { font-size: clamp(34px, 4.6vw, 56px); }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--muted); max-width: 36em; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Buttons and pills ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 26px; border: 0; border-radius: 999px;
  background: var(--blue); color: var(--white); font: 700 17px/1.2 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, box-shadow .2s; }
.btn .app-logo { width: 22px; height: 22px; flex: none; }
.btn--line { background: var(--white); color: var(--blue); box-shadow: inset 0 0 0 2px var(--tint-2); }
.btn--small { min-height: 44px; padding: 0 18px; font-size: 15px; }
@media (hover: hover) {
  .btn:hover { background: var(--blue-dark); }
  .btn--line:hover { background: var(--tint); }
}
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px 10px 14px; border-radius: 999px;
  background: var(--tint); color: var(--blue); font-weight: 700; font-size: 15px; line-height: 1.3; }
.pill .ico { width: 18px; height: 18px; }
.pill--price { margin-top: 24px; background: var(--white); box-shadow: inset 0 0 0 2px var(--tint-2); }
.pill--status { padding: 6px 14px 7px; background: var(--white); color: var(--muted); font-size: 13px; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.is-scrolled { border-bottom-color: var(--tint-2); }
.top__in { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: inline-flex; flex: none; align-items: center; gap: 10px; white-space: nowrap; color: var(--ink); font-weight: 700; font-size: 19px; text-decoration: none; letter-spacing: -.01em; }
.brand img { height: 26px; width: auto; }
.nav { display: none; }
.top__end { display: flex; flex: none; align-items: center; gap: 12px; margin-left: auto; }
/* Language dropdown: the system's flag emoji (iOS flags on iPhone and Mac), SVG flags where emoji flags don't exist */
.flag { display: inline-flex; flex: none; font-size: 22px; line-height: 1; }
.flag__emoji { font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.flag__svg { display: none; width: 22px; height: 16px; border-radius: 3px; outline: 1px solid rgb(27 42 107 / .12); outline-offset: -1px; }
.no-flag-emoji .flag__emoji { display: none; }
.no-flag-emoji .flag__svg { display: block; }
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 12px; border-radius: 999px;
  background: var(--tint); list-style: none; cursor: pointer; user-select: none; }
.lang__btn::-webkit-details-marker { display: none; }
.lang__btn::after { content: ""; width: 7px; height: 7px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: translateY(-25%) rotate(45deg); transition: transform .2s; }
.lang[open] > .lang__btn::after { transform: translateY(20%) rotate(-135deg); }
.lang__menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 196px; margin: 0; padding: 8px; list-style: none;
  border-radius: 22px; background: var(--white); box-shadow: 0 4px 10px rgb(27 42 107 / .08), 0 24px 48px rgb(27 42 107 / .18); }
.lang__menu a { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 14px; border-radius: 14px;
  color: var(--ink); font-weight: 500; text-decoration: none; }
.lang__menu a[aria-current="page"] { background: var(--tint); color: var(--blue); font-weight: 700; }
@media (hover: hover) {
  .lang__btn:hover { background: var(--tint-2); }
  .lang__menu a:hover { background: var(--tint); }
}
@media (max-width: 559px) { .top .btn--small { display: none; } }
@media (max-width: 759px) { .brand__name { display: none; } }

/* ☰ menu for narrow screens, right next to the logo (the full nav shows from 1180px) */
.burger { margin-left: -12px; }   /* static: the panel is placed against the header (.top) */
.burger__btn { display: grid; place-content: center; gap: 5px; width: 44px; height: 44px; border-radius: 50%; background: var(--tint);
  list-style: none; cursor: pointer; }
.burger__btn::-webkit-details-marker { display: none; }
.burger__btn span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--blue); transition: transform .2s, opacity .2s; }
.burger[open] .burger__btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[open] .burger__btn span:nth-child(2) { opacity: 0; }
.burger[open] .burger__btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.burger__panel { position: absolute; left: var(--gutter); top: calc(100% - 6px); z-index: 60; width: min(320px, calc(100vw - 2 * var(--gutter)));
  display: grid; gap: 8px; padding: 10px; border-radius: 24px; background: var(--white);
  box-shadow: 0 4px 10px rgb(27 42 107 / .08), 0 24px 48px rgb(27 42 107 / .18); }
.burger__panel nav { display: grid; }
.burger__panel nav a { display: flex; align-items: center; min-height: 50px; padding: 0 16px; border-radius: 14px;
  color: var(--ink); font-size: 18px; font-weight: 500; text-decoration: none; }
.burger__panel nav a:hover { background: var(--tint); }
.burger__panel .btn { justify-content: center; }
@media (min-width: 1180px) { .burger { display: none; } }
@media (min-width: 1180px) {
  .nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
  .nav a { color: var(--muted); font-weight: 500; font-size: 16px; text-decoration: none; white-space: nowrap; }
  .nav a:hover { color: var(--ink); }
  .top__end { margin-left: 8px; }
}

/* ---------- Hero: the one bold moment ---------- */
.hero { display: grid; gap: 40px; align-items: center; padding-top: clamp(28px, 5vw, 64px); padding-bottom: clamp(56px, 8vw, 104px); }
.hero h1 { font-size: clamp(44px, 5.6vw, 84px); letter-spacing: -.035em; }
.hero h1 { line-height: 1.12; }
/* The highlight may span two words: it wraps line by line, each piece keeping its rounded ends. */
.hero h1 em { padding: 0 .14em .04em; border-radius: .26em; color: var(--blue); font-style: normal;
  background: linear-gradient(var(--tint-2), var(--tint-2)) no-repeat left / 100% 100%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }
/* Selecting text (app.js): the cursor walks the phrase letter by letter and each letter it passes is selected.
   The cursor is zero-width (its bar is drawn by ::after), so no letter shifts while it moves.
   Without JavaScript or with reduced motion, the phrase stays fully highlighted (the em background above). */
/* With JavaScript the phrase starts unselected (navy, no padding) from the first paint, so nothing jumps when the animation starts. */
@media (prefers-reduced-motion: no-preference) {
  .js .hero h1 em { padding: 0; background: none; color: inherit; }
}
.word { white-space: nowrap; }
.ch.on { background: var(--tint-2); color: var(--blue); }
.ch.first { border-radius: .14em 0 0 .14em; }
.ch.last { border-radius: 0 .14em .14em 0; }
.ch.first.last { border-radius: .14em; }
.caret { position: relative; display: inline-block; width: 0; height: .86em; vertical-align: -.06em; }
.caret::after { content: ""; position: absolute; left: .03em; top: 0; width: .06em; height: 100%; border-radius: 2px; background: var(--blue); }
.caret.blink::after { animation: blink 1.05s steps(1) infinite; }
.hero h1 em:not(.typing) .caret { display: none; }
@keyframes blink { 50% { opacity: 0; } }
.hero .lead { margin-top: 24px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
/* Phones as a centred pair on one clearly visible circle; two accents mirrored across the centre. */
.hero__art { position: relative; width: 100%; max-width: 720px; aspect-ratio: 1; justify-self: center; }
.shape { position: absolute; border-radius: 50%; aspect-ratio: 1; }
.shape--halo { width: 86%; left: 7%; top: 7%; background: var(--tint-2); }
.shape--blue { width: 17%; right: 3%; top: 6%; background: var(--blue); }
.shape--ring { width: 21%; left: 1%; bottom: 3%; border: 6px solid var(--blue); }
.hero .phone { position: absolute; }
.hero .phone--back { width: 40%; left: 13%; top: 9%; }
.hero .phone--front { width: 40%; right: 13%; top: 17%; z-index: 1; }
@media (min-width: 960px) {
  .hero { grid-template-columns: 1fr 1fr; gap: 56px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero .phone { animation: rise .9s cubic-bezier(.2, .8, .2, 1) both; }
  .hero .phone--front { animation-delay: .14s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(32px); } }

/* ---------- iPhone: bezel from the app-store-screenshots skill (1022x2082, screen 52,46 918x1990, radius 126).
   Sizes inside the screen use cqw of the phone: 1 iPhone point = 0.2286cqw. ---------- */
.phone { position: relative; aspect-ratio: 1022 / 2082; container-type: inline-size;
  filter: drop-shadow(0 4px 6px rgb(27 42 107 / .16)) drop-shadow(0 30px 48px rgb(27 42 107 / .2)); }
.phone__bezel { position: absolute; inset: 0; width: 100%; height: 100%; }
.phone__screen { position: absolute; z-index: 1; left: 5.0881%; top: 2.2094%; width: 89.8239%; height: 95.5812%;
  overflow: hidden; border-radius: 13.7255% / 6.3317%; background: #000; }
.phone__page { position: absolute; left: 0; top: 6.925%; width: 100%; height: 93.075%; object-fit: cover; object-position: top; }
.phone__screen--full .phone__page { top: 0; height: 100%; }
.phone__strip { position: absolute; left: -10%; right: -10%; top: -4%; height: 14%; background-size: 120% auto; background-position: center top;
  filter: blur(2.2cqw) saturate(1.1); }
.phone__island { position: absolute; z-index: 2; left: 50%; top: 1.291%; width: 32.06%; height: 4.382%; transform: translateX(-50%);
  border-radius: 999px; background: #000; }
.sb { position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: 6.925%; display: flex; align-items: center; color: #fff;
  font: 600 3.9cqw/1 system-ui, -apple-system, sans-serif; }
.sb--dark { color: #000; }
.sb__time { width: 33.8%; text-align: center; }
.sb__icons { width: 33.8%; margin-left: auto; display: flex; align-items: center; justify-content: center; gap: 1.26cqw; }
.sb__bars { display: flex; align-items: flex-end; gap: .34cqw; height: 2.63cqw; }
.sb__bars b { width: .69cqw; border-radius: .23cqw; background: currentColor; }
.sb__bars b:nth-child(1) { height: 35%; } .sb__bars b:nth-child(2) { height: 56%; }
.sb__bars b:nth-child(3) { height: 78%; } .sb__bars b:nth-child(4) { height: 100%; }
.sb svg { width: 3.54cqw; height: 2.63cqw; }
.sb__batt { width: 5.7cqw; height: 2.74cqw; padding: .34cqw; border-radius: .82cqw; border: .23cqw solid color-mix(in srgb, currentColor 40%, transparent); }
.sb__batt::before { content: ""; display: block; width: 100%; height: 100%; border-radius: .46cqw; background: currentColor; }

/* ---------- Sections ---------- */
.block { position: relative; padding-block: clamp(64px, 9vw, 120px); --edge: calc((100% - 100vw) / 2); }
#work { --edge: 0px; }
main { overflow-x: clip; }

/* Background shapes, as in our Instagram posts: crisp circles, rings, pills and blue dots, behind the content.
   --edge is the distance from a .wrap section to the viewport edge, so shapes can bleed off the page. */
.block > :not(.deco) { position: relative; z-index: 1; }
.deco { position: absolute; z-index: 0; aspect-ratio: 1; border-radius: 50%; pointer-events: none; }
.deco--tint { background: var(--tint); }
.deco--blue { background: var(--blue); }
.deco--ring { border: 7px solid var(--tint-2); }
.deco--ring-blue { border: 5px solid var(--blue); }
.deco--pill { aspect-ratio: 5 / 2; border-radius: 999px; background: var(--tint-2); }
#services .d1 { width: clamp(240px, 36vw, 560px); right: calc(var(--edge) - clamp(80px, 10vw, 180px)); top: 4%; }
#services .d2 { width: clamp(150px, 18vw, 260px); left: calc(var(--edge) - 80px); bottom: 2%; }
#services .d3 { width: clamp(36px, 4vw, 56px); right: 6%; top: clamp(56px, 8vw, 110px); }
#work .d1 { width: clamp(180px, 24vw, 380px); right: -90px; top: -40px; }
#work .d2 { width: clamp(90px, 12vw, 190px); left: -70px; top: 46%; }
#work .d3 { width: clamp(160px, 22vw, 320px); right: -70px; bottom: 3%; }
#process .d1 { width: clamp(160px, 22vw, 320px); left: calc(var(--edge) - 110px); top: 6%; }
#process .d2 { width: clamp(36px, 4vw, 56px); right: 4%; top: clamp(60px, 9vw, 120px); }
#process .d3 { width: clamp(200px, 26vw, 420px); right: calc(var(--edge) - 140px); bottom: -10%; }
#price .d1 { width: clamp(110px, 13vw, 200px); right: calc(var(--edge) - 70px); top: 10%; }
#price .d2 { width: clamp(150px, 18vw, 260px); left: calc(var(--edge) - 100px); bottom: -4%; }
#contact .d1 { width: clamp(260px, 34vw, 520px); left: calc(var(--edge) - 180px); top: 6%; }
#contact .d2 { width: clamp(120px, 14vw, 210px); right: calc(var(--edge) - 80px); top: 2%; }
#contact .d3 { width: clamp(36px, 4vw, 52px); left: 44%; bottom: 8%; }
.block__head { display: grid; gap: 16px; max-width: 760px; }
.block__head p { color: var(--muted); font-size: 19px; }

/* What we build: kinds of sites as tinted tiles (the one tile grid on the page), then features as a plain icon list */
.types { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 16px; }
.types li { display: grid; align-content: start; gap: 8px; padding: 24px; border-radius: 32px; background: var(--tint); }
.types .dot { margin-bottom: 10px; }
.types h3 { font-size: 21px; letter-spacing: -.01em; }
.types p { color: var(--muted); }
@media (min-width: 560px) { .types { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .types { grid-template-columns: repeat(4, 1fr); } .types li { padding: 28px; } }
.block__sub { margin-top: clamp(56px, 7vw, 88px); font-size: clamp(26px, 3vw, 34px); }
.services { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 36px 48px; }
.services li { display: flex; gap: 18px; align-items: flex-start; }
.dot { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: var(--white); }
.dot .ico { width: 26px; height: 26px; }
.services h3 { margin-top: 3px; font-size: 21px; letter-spacing: -.01em; }
.services p { margin-top: 6px; color: var(--muted); }
@media (min-width: 760px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .services { grid-template-columns: repeat(3, 1fr); } }

/* Our work: each case in its client's own colour */
#work h2 { margin-bottom: 40px; }
#work article + article { margin-top: 24px; }
.case { display: grid; gap: 36px; align-items: center; padding: clamp(28px, 5vw, 64px); border-radius: 48px; }
.case--janikyan { background: var(--cream); }
.case--hayhelp { background: var(--sand); }
.case h3 { margin-top: 24px; font-size: clamp(28px, 3.2vw, 40px); }
.case p { margin-top: 16px; color: var(--muted); }
.case__logo--wide { width: auto; height: 54px; }
.case__brand { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.case__brand .case__logo { width: 52px; height: 52px; }
.stats { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.stats li { padding: 16px 16px 14px; border-radius: 24px; background: var(--white); }
.stats b { display: block; font-size: 34px; line-height: 1; letter-spacing: -.03em; color: var(--blue); }
.stats span { display: block; margin-top: 6px; font-size: 14px; font-weight: 500; line-height: 1.3; }
@media (min-width: 560px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.link { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; color: var(--blue); font-weight: 700; text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pills .pill { background: var(--white); }
.case__phones { display: flex; align-items: flex-start; justify-content: center; gap: 5%; }   /* flex-start: phones keep their own aspect ratio */
.case__phones .phone { width: 44%; max-width: 250px; }
.case__phones .phone--offset { margin-top: 14%; }
@media (min-width: 960px) {
  .case { grid-template-columns: 1fr 1fr; gap: 48px; }
  .case--hayhelp .case__phones { order: -1; }
}

/* How we work: a real sequence, so numbered */
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 16px; }
.steps li { padding: 28px 26px 30px; border-radius: 32px; background: var(--tint); }
.num { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--blue); color: var(--white); font-size: 22px; font-weight: 700; }
.steps h3 { margin-top: 20px; font-size: 22px; }
.steps p { margin-top: 8px; color: var(--muted); }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* Price */
.price { margin-top: 40px; display: grid; gap: 16px; }
.price__main, .price__extra { padding: clamp(28px, 4vw, 48px); border-radius: 40px; }
.price__main { background: var(--tint); }
.price__extra { box-shadow: inset 0 0 0 2px var(--tint-2); }
.price__label { display: block; color: var(--muted); font-size: 20px; font-weight: 700; }
.price__value { display: block; margin-top: 4px; color: var(--blue); font-size: clamp(48px, 6vw, 76px); font-weight: 700; line-height: 1.05; letter-spacing: -.035em; }
.price h3 { margin-top: 28px; font-size: 18px; letter-spacing: -.01em; }
.price__extra h3 { margin-top: 0; }
.checks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checks .ico { width: 22px; height: 22px; margin-top: 1px; color: var(--blue); }
.note { margin-top: 20px; color: var(--muted); font-size: 15px; }
@media (min-width: 860px) { .price { grid-template-columns: 1.2fr .8fr; } }

/* Contact */
.contact { display: grid; gap: 40px; align-items: start; }
.contact .lead { margin-top: 16px; }
.contact h3 { margin-top: 36px; font-size: 18px; letter-spacing: -.01em; }
.direct { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.direct a { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 600; text-decoration: none; }
.direct a:hover { color: var(--blue); }
.direct svg { width: 22px; height: 22px; color: var(--blue); }
/* Contact card: tabs (free demo / consultation) over two forms */
.forms { display: grid; gap: 24px; padding: clamp(24px, 4vw, 40px); border-radius: 40px; background: var(--tint); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: var(--white); }
.tabs button { display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 12px; border: 0;
  border-radius: 999px; background: none; color: var(--muted); font: 600 16px/1.15 var(--font); cursor: pointer; transition: background .2s, color .2s; }
.tabs button:hover { color: var(--blue); }
.tabs [aria-selected="true"], .tabs [aria-selected="true"]:hover { background: var(--blue); color: var(--white); }
@media (max-width: 479px) { .tabs button { font-size: 15px; } }
.form { display: grid; gap: 16px; }
.form[hidden] { display: none; }
.form label { display: grid; gap: 8px; font-size: 15px; font-weight: 600; }
.form input, .form select, .form textarea { width: 100%; min-height: 54px; padding: 0 16px; border: 2px solid transparent; border-radius: 16px;
  background: var(--white); color: var(--ink); font: 500 17px var(--font); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); }
.form [aria-invalid="true"] { border-color: var(--error); }
.form textarea { min-height: 120px; padding: 14px 16px; line-height: 1.5; resize: vertical; }
/* Our own chevron instead of the browser's tiny arrow (comes after the `background` shorthand above) */
.form select { appearance: none; -webkit-appearance: none; padding-right: 54px; cursor: pointer; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232541B2' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; background-size: 20px; }
/* Phone / Email: two pills that pick what the contact field below them takes */
.via { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.via legend { float: left; width: 100%; margin-bottom: 8px; padding: 0; font-size: 15px; font-weight: 600; }
.via__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.form .via label { display: block; position: relative; }
.form .via input[type="radio"] { position: absolute; inset: 0; width: 100%; min-height: 0; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.via label span { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--white);
  color: var(--ink); font-size: 15px; font-weight: 600; transition: background .2s, color .2s; }
.via label span .ico { width: 18px; height: 18px; }
.via input:checked + span { background: var(--blue); color: var(--white); }
.via input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 3px; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn:disabled { opacity: .6; cursor: progress; }
.form__status { min-height: 1.4em; color: var(--blue); font-size: 15px; font-weight: 600; white-space: pre-line; }
.form__status[data-error] { color: var(--error); }
.form__send { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 960px) { .contact { grid-template-columns: 1fr 1fr; gap: 64px; } }

.form__consent { color: var(--muted); font-size: 14px; line-height: 1.45; }
.form__consent a { color: var(--blue); }

/* Mobile: centred headings and intros (hero, section heads, case texts, contacts);
   lists with icons, step cards and the form stay left-aligned so they scan well. */
@media (max-width: 959px) {
  .hero__text { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .actions { justify-content: center; }
  .block__head { margin-inline: auto; text-align: center; }
  .block__sub { text-align: center; }
  #work .wrap > h2, #process > h2 { text-align: center; }
  .case__text { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .case__brand, .pills { justify-content: center; }
  .stats { width: 100%; }
  .contact__text { text-align: center; }
  .contact .lead { margin-inline: auto; }
  .direct { justify-items: center; }
  #contact .d2 { display: none; }   /* the ring would cross the heading on narrow screens */
}

/* Legal pages: one readable column */
.legal { padding-block: clamp(40px, 6vw, 80px) clamp(64px, 8vw, 104px); }
.legal article { max-width: 46rem; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); }
.legal h1 + p { margin-top: 12px; color: var(--muted); font-size: 15px; }
.legal h2 { margin-top: 40px; font-size: 24px; letter-spacing: -.015em; }
.legal p, .legal ul { margin-top: 14px; color: var(--ink); line-height: 1.65; }
.legal ul { padding-left: 1.2em; display: grid; gap: 10px; }
.legal a { color: var(--blue); }

/* Footer */
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-block: 32px 48px;
  border-top: 1px solid var(--tint-2); color: var(--muted); font-size: 15px; }
.foot .brand { font-size: 16px; }
.foot .brand img { height: 20px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot__links a { color: var(--muted); text-decoration: none; }
.foot__links a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
