@font-face {
  font-family: "Nunito Sans";
  src: url("/assets/fonts/NunitoSans-Book.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("/assets/fonts/NunitoSans-Medium.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("/assets/fonts/NunitoSans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@view-transition { navigation: auto; }

:root {
  --header-h: 68px;
  --night: #0d1430;
  --night-2: #141c3f;
  --night-3: #1b2550;
  --night-line: #283366;
  --on-night: #ffffff;
  --on-night-2: #aab2d6;
  --glow: #8fa0ff;

  --ink: #101735;
  --text: #2b3352;
  --muted: #5d6580;
  --blue: #374999;
  --cta: #4f63d2;
  --cta-hover: #6074e0;
  --bg: #ffffff;
  --bg-alt: #f5f6fa;
  --line: #e2e5ee;
  --line-strong: #cdd2e0;

  --radius: 8px;
  --radius-lg: 14px;
  --font: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 700; }
p { margin: 0; }

:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; }

.wrap { max-width: 1180px; margin-inline: auto; padding-inline: 32px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--cta); color: #fff; padding: 10px 16px; border-radius: var(--radius);
}
.skip:focus { top: 12px; }

/* Dark surfaces */

.dark { background: var(--night); color: var(--on-night-2); }
.dark h1, .dark h2, .dark h3 { color: var(--on-night); }

/* Header */

.site-header {
  view-transition-name: site-header;
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 20, 48, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--night-line);
}
.nav { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo img { width: 150px; height: auto; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; }
.nav-links a { color: var(--on-night-2); text-decoration: none; }
.nav-phone { display: none; }
.nav-call, .nav-toggle { display: none; }
.nav-call {
  align-items: center; justify-content: center; width: 40px; height: 40px; flex: none;
  border: 1px solid var(--night-line); border-radius: var(--radius); color: var(--on-night);
}
.nav-call svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.nav-toggle {
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  width: 44px; height: 44px; flex: none; margin-right: -8px;
  background: none; border: 0; cursor: pointer; padding: 0;
}
.nav-toggle span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--on-night); transition: transform .2s ease, opacity .2s ease; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
html:not(.js) .nav-toggle { display: none !important; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--on-night); }

/* Buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: 16px;
  text-decoration: none; background: var(--cta); color: #fff;
  padding: 14px 24px; border-radius: var(--radius);
  transition: background-color .15s ease;
}
.btn:hover { background: var(--cta-hover); }
.btn-small { padding: 9px 16px; font-size: 14px; white-space: nowrap; }
.show-sm { display: none; }

.link-strong { font-weight: 700; text-decoration: none; }
.dark .link-strong { color: var(--on-night); }
.link-strong:hover { text-decoration: underline; text-underline-offset: 4px; }

.link {
  color: var(--blue); font-weight: 700; text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.dark .link { color: var(--glow); }

/* Home hero */

.hero { padding-block: 80px 88px; }
.kicker { font-size: 15px; color: var(--glow); font-weight: 600; }
.hero h1 {
  margin-top: 14px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.04; letter-spacing: -.03em; max-width: 14ch;
}
.lead { margin-top: 20px; font-size: 20px; max-width: 34em; color: var(--on-night-2); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }

/* Bento */

.bento {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.tile {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--night-2);
  border: 1px solid var(--night-line);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-decoration: none;
  color: var(--on-night-2);
  transition: border-color .15s ease, background-color .15s ease;
}
a.tile:hover { border-color: #3a4785; background: var(--night-3); }
.tile h2, .tile h3 { font-size: 20px; margin-top: 14px; }
.tile p { margin-top: 4px; font-size: 15px; }
.tile .go { margin-top: auto; padding-top: 18px; font-size: 14px; font-weight: 700; color: var(--glow); }
.tile-wide { grid-column: span 2; }

.icon { width: 32px; height: 32px; fill: none; stroke: var(--glow); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.chips { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--on-night);
  padding: 7px 12px; border-radius: 999px;
  border: 1px solid var(--night-line); background: var(--night);
}
.chips svg { width: 16px; height: 16px; fill: none; stroke: var(--glow); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Sections */

.section { padding-block: 96px; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 620px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -.02em; }
.section-head p { margin-top: 12px; font-size: 18px; color: var(--muted); }
.dark .section-head p { color: var(--on-night-2); }
.section-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.section-row .section-head { margin-bottom: 0; }

/* Projects */

.projects { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.project {
  display: flex; flex-direction: column; text-decoration: none;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg-alt); border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}
.project:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(16, 23, 53, .4); }

.project-stage { padding: 36px 36px 0; overflow: hidden; }
.project-cestolidi .project-stage { background: #2c3a85; }
.project-hlavolamnik .project-stage { background: #f6c443; }

.browser {
  border-radius: 10px 10px 0 0; overflow: hidden; background: #fff;
  box-shadow: 0 -2px 30px rgba(0, 0, 0, .18);
  transform: translateY(6px); transition: transform .3s ease;
}
.project:hover .browser { transform: translateY(0); }
.browser-bar {
  display: flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 12px; background: #eef0f5; border-bottom: 1px solid #dfe2ea;
}
.browser-bar span { width: 9px; height: 9px; border-radius: 50%; background: #c9cdd8; }
.browser-bar em {
  margin-left: 10px; font-style: normal; font-size: 12px; color: var(--muted);
  background: #fff; border-radius: 4px; padding: 1px 10px;
}
.browser img { width: 100%; height: auto; aspect-ratio: 1200 / 617; display: block; }

.project-body { padding: 24px 28px 28px; background: var(--bg); border-top: 1px solid var(--line); flex: 1; display: flex; flex-direction: column; }
.project-kind { font-size: 14px; color: var(--muted); }
.project h4 { margin: 4px 0 0; font-size: 24px; color: var(--ink); }
.projects-label { font-size: 15px; color: var(--muted); font-weight: 600; margin: 0 0 14px; }
.projects + .projects-label { margin-top: 48px; }
.projects-3 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.projects-3 .project-stage { padding: 24px 24px 0; }
.projects-3 .project-body { padding: 20px 22px 22px; }
.projects-3 .project h4 { font-size: 20px; }
.projects-3 .browser-bar { height: 22px; }
.projects-3 .browser-bar span { width: 7px; height: 7px; }
.projects-3 .browser-bar em { font-size: 11px; }
.project-poliklinika .project-stage { background: #0f8fd0; }
.project-duss .project-stage { background: #c71f2b; }
.project-sklospol .project-stage { background: #1f5fc0; }
.project p { margin-top: 8px; color: var(--muted); font-size: 16px; flex: 1; }
.project-url { display: inline-block; margin-top: 16px; color: var(--blue); font-weight: 700; }
.project-url::after { content: " ↗"; }

/* Steps */

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid var(--line-strong); padding-top: 18px; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-size: 14px; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.steps h3 { font-size: 19px; }
.steps p { margin-top: 6px; color: var(--muted); font-size: 16px; }

/* Why strip */

.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--night-line); border: 1px solid var(--night-line); border-radius: var(--radius-lg); overflow: hidden; }
.why > div { background: var(--night-2); padding: 28px; }
.why h3 { font-size: 19px; }
.why p { margin-top: 6px; font-size: 16px; }

/* Feature list (subpages, AI) */

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; border-top: 1px solid var(--line-strong); }
.features > div { padding: 24px 0; border-bottom: 1px solid var(--line); }
.features h3 { font-size: 19px; }
.features p { margin-top: 6px; color: var(--muted); font-size: 16px; }

.tech { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 48px; }
.tech h3 { font-size: 17px; }
.tech ul { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 4px; font-size: 16px; }
.tech li::marker { color: var(--glow); }

.note {
  margin-top: 32px; padding: 22px 26px; border-radius: var(--radius-lg);
  background: var(--bg-alt); border: 1px solid var(--line);
}
.note p { font-size: 16px; }
.note strong { color: var(--ink); }
.dark .note { background: var(--night-2); border-color: var(--night-line); }
.dark .note strong { color: var(--on-night); }

/* FAQ */

.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 64px; align-items: start; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer; list-style: none; position: relative;
  font-weight: 700; color: var(--ink); font-size: 18px; padding: 20px 40px 20px 0;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after {
  content: ""; position: absolute; right: 4px; top: 50%;
  width: 14px; height: 2px; background: var(--blue); transition: transform .2s ease;
}
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0); }
.faq-body { padding-bottom: 22px; color: var(--muted); max-width: 44em; }
.faq-body p + p, .faq-body ul + p { margin-top: 10px; }

.price-list { list-style: none; margin: 12px 0 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); }
.price-list li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 16px; }
.price-list li + li { border-top: 1px solid var(--line); }
.price-list strong { color: var(--ink); white-space: nowrap; }

/* Inquiry */

.inquiry { padding-block: 96px; }
.inquiry-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
.inquiry h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -.02em; }
.inquiry-intro > p { margin-top: 12px; font-size: 18px; }
.contact-list { margin: 32px 0 0; display: grid; gap: 14px; }
.contact-list dt { font-size: 14px; }
.contact-list dd { margin: 0; }
.contact-list a { color: var(--on-night); font-size: 22px; font-weight: 700; text-decoration: none; }
.contact-list a:hover { color: var(--glow); }

.form {
  background: var(--bg); color: var(--ink);
  border-radius: var(--radius-lg); padding: 32px;
  display: grid; gap: 8px;
}
.form label { font-weight: 700; font-size: 15px; margin-top: 8px; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: 11px 14px;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--cta); box-shadow: 0 0 0 3px rgba(79, 99, 210, .18);
}
.form .btn { margin-top: 16px; justify-self: start; }
.form-help { font-size: 14px; color: var(--muted); margin-top: 6px; }
.form-help a { color: var(--blue); }

/* Subpage */

.page-hero { padding-block: 56px 128px; }
.page-hero h1 { margin-top: 10px; font-size: clamp(32px, 4.2vw, 48px); line-height: 1.1; letter-spacing: -.02em; max-width: 20ch; }
.page-hero .lead { font-size: 18px; margin-top: 14px; }
.page-hero .hero-actions { margin-top: 26px; }
.features-title {
  margin-top: 64px; padding-top: 28px;
  border-top: 1px solid var(--night-line);
  font-size: 22px;
}

.features-section { padding-bottom: 80px; }
.feature-cards {
  margin-top: -88px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.feature-cards-4 { grid-template-columns: repeat(4, 1fr); }
.feature-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 1px 2px rgba(16, 23, 53, .05), 0 18px 40px -24px rgba(16, 23, 53, .35);
}
.feature-icon {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: #eceffd;
}
.feature-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--cta); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { margin-top: 16px; font-size: 18px; }
.feature-card p { margin-top: 4px; color: var(--muted); font-size: 16px; }
.breadcrumbs { font-size: 14px; color: var(--on-night-2); }
.breadcrumbs a { color: var(--on-night-2); text-decoration: none; }
.breadcrumbs a:hover { color: var(--on-night); }

.cta-band { padding-block: 72px; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.02em; }
.cta-band p { margin-top: 6px; }

/* Footer */

.site-footer { padding-block: 56px 28px; font-size: 15px; border-top: 1px solid var(--night-line); }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr .8fr 1.3fr; gap: 32px; }
.footer-grid .legal { gap: 2px; }
.footer-grid .legal li:first-child { color: var(--on-night); font-weight: 600; }
.footer-grid h3 { font-size: 14px; color: var(--on-night); margin-bottom: 10px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-logo { margin-bottom: 12px; }
.site-footer a { color: var(--on-night-2); text-decoration: none; }
.site-footer a:hover { color: var(--on-night); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--night-line); font-size: 14px;
}

/* Responsive */

@media (max-width: 1020px) {
  .nav { gap: 10px; }
  .nav-call { margin-left: auto; }
  .nav-toggle, .nav-call { display: inline-flex; }
  .nav-links {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
    flex-direction: column; gap: 0; margin: 0;
    padding: 12px 24px 32px; overflow-y: auto;
    background: var(--night); border-top: 1px solid var(--night-line);
    font-size: 20px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .nav-links a { padding: 16px 0; border-bottom: 1px solid var(--night-line); color: var(--on-night); font-weight: 600; }
  .nav-links a[aria-current="page"] { color: var(--glow); }
  .nav-links .nav-phone { display: block; border-bottom: 0; margin-top: 12px; color: var(--glow); }
  .nav-open .nav-links { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease; }
  .site-header.nav-open { background: var(--night); backdrop-filter: none; }
  body.menu-open { overflow: hidden; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-flow: dense; }
  .tile-wide { grid-column: 1 / -1; }
  .projects, .features, .tech { grid-template-columns: 1fr; }
  .projects-3 { grid-template-columns: 1fr 1fr; }
  .feature-cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .why { grid-template-columns: 1fr; }
  .faq-grid, .inquiry-grid { grid-template-columns: 1fr; gap: 36px; }
  .faq-grid { gap: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-row { flex-direction: column; align-items: start; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 16px; }
  :root { --header-h: 60px; }
  .nav { height: 60px; gap: 8px; }
  .nav-cta { padding: 9px 12px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .link-strong {
    display: flex; justify-content: center; padding: 13px 20px;
    border: 1px solid var(--night-line); border-radius: var(--radius);
  }
  .bento { gap: 10px; }
  .tile { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: start; padding: 18px; }
  .tile .icon { width: 28px; height: 28px; grid-row: span 3; margin-top: 2px; }
  .tile h2, .tile h3 { margin-top: 0; font-size: 18px; }
  .tile p { font-size: 15px; }
  .tile .go { padding-top: 8px; }
  .tile .chips { grid-column: 1 / -1; margin-top: 12px; }
  .chips li { font-size: 13px; padding: 6px 10px; }
  .logo img { width: 120px; }
  .hide-sm { display: none; }
  .show-sm { display: inline; }
  .hero { padding-block: 48px 56px; }
  .lead { font-size: 18px; }
  .bento { grid-template-columns: 1fr; margin-top: 36px; }
  .section, .inquiry { padding-block: 64px; }
  .page-hero { padding-block: 40px 130px; }
  .features-title { margin-top: 44px; }
  .feature-cards { grid-template-columns: 1fr; gap: 10px; }
  .feature-card { display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; padding: 18px; }
  .feature-icon { grid-row: span 2; }
  .feature-card h3 { margin-top: 0; font-size: 17px; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .projects-3 { grid-template-columns: 1fr; }
  .project-body { padding: 20px; }
  .project-stage { padding: 20px 20px 0; }
  .form { padding: 22px; }
  .form .btn { justify-self: stretch; }
  .price-list li { flex-direction: column; gap: 2px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .nav-links, .nav-toggle span { transition: none !important; }
  .btn, .tile, .project, .browser, .faq-list summary::after { transition: none; }
}

/* Store links, 404 */

.store-links { margin-top: 20px; font-size: 16px; color: var(--muted); }
.store-links a { color: var(--blue); font-weight: 700; }
.page-hero.notfound { padding-bottom: 96px; }
.notfound .chips { margin-top: 24px; }
.notfound .chips a { color: var(--on-night); text-decoration: none; }
.notfound .chips li:hover { border-color: #3a4785; }

.security-contact { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-strong); max-width: 760px; }
.security-contact h3 { font-size: 17px; }
.security-contact p { margin-top: 6px; font-size: 16px; color: var(--muted); }
.security-contact a { color: var(--blue); font-weight: 700; }

/* Inquiry form: fields, errors, Turnstile, success */

.form-fields { display: grid; gap: 8px; }
.form-fields[hidden] { display: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row > div { display: grid; gap: 8px; align-content: start; }
.form label span { font-weight: 400; color: var(--muted); }
.form [aria-invalid="true"] { border-color: #c2412d; }
.field-error { font-size: 14px; color: #b3321f; margin: 0; }
.field-error[hidden], .form-status[hidden] { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile { margin-top: 8px; }
.turnstile:empty { display: none; }
.form-status {
  margin-top: 4px; padding: 12px 14px; border-radius: var(--radius);
  background: #fdecea; color: #8a2414; font-size: 15px;
}
.form .btn:disabled { opacity: .7; cursor: wait; }
.form-success { text-align: center; padding: 32px 8px; }
.form-success[hidden] { display: none; }
.form-success:focus { outline: none; }
.form-success svg { width: 56px; height: 56px; fill: none; stroke: #1f7a4d; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.form-success h3, .dark .form-success h3 { margin-top: 14px; font-size: 24px; color: var(--ink); }
.form-success p { margin-top: 8px; color: var(--muted); }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* Smallest phones (320–380 px) */
@media (max-width: 380px) {
  .nav { gap: 6px; }
  .logo img { width: 100px; }
  .nav-call { width: 36px; height: 36px; }
  .nav-cta { padding: 8px 10px; font-size: 13px; }
  .nav-toggle { width: 40px; margin-right: -6px; }
  .hero h1 { font-size: 36px; }
}

/* Hero with visual */
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-note {
  display: inline-flex; flex-wrap: wrap; gap: 4px 6px; margin-top: 24px; padding: 10px 14px;
  border: 1px solid var(--night-line); border-radius: var(--radius);
  font-size: 15px; color: var(--on-night-2); text-decoration: none;
}
.hero-note strong { color: var(--on-night); font-weight: 600; }
.hero-note::after { content: "→"; color: var(--glow); margin-left: 2px; }
.hero-note:hover { border-color: #3a4785; color: var(--on-night); }
.hero-visual { position: relative; min-height: 360px; }
.hero-visual .browser { position: absolute; width: 86%; border-radius: 10px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); transform: none; }
.hero-visual .browser img { aspect-ratio: 1200 / 617; width: 100%; height: auto; display: block; }
.browser-back { top: 0; right: 0; opacity: .9; }
.browser-front { bottom: 0; left: 0; }
.hero-badge-unused {
  position: absolute; right: 4%; bottom: -14px; display: grid; gap: 2px;
  background: var(--bg); color: var(--ink); border-radius: 10px; padding: 12px 16px;
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.6); font-size: 14px;
}
.hero-badge strong { font-weight: 700; }
.hero-badge span { color: var(--muted); }

/* Promises under steps */
.promises {
  list-style: none; margin: 56px 0 0; padding: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
}
.promises li { padding: 0 32px; }
.promises li:first-child { padding-left: 0; }
.promises li + li { border-left: 1px solid var(--line); }
.promises h3 { font-size: 17px; display: flex; align-items: center; gap: 10px; }
.promises h3::before {
  content: ""; flex: none; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%234f63d2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.promises p { margin-top: 6px; padding-left: 28px; font-size: 15px; color: var(--muted); }

/* Related service link */
.related { margin-top: 28px; font-size: 16px; color: var(--muted); }
.related a { color: var(--blue); font-weight: 700; }
.related a::after { content: " →"; }

/* Collapsible technical section */
.tech-section { padding-block: 56px; }
.tech-details > summary {
  cursor: pointer; list-style: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px;
  padding-right: 40px; position: relative;
}
.tech-details > summary::-webkit-details-marker { display: none; }
.tech-details > summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.tech-details[open] > summary::after { transform: translateY(-20%) rotate(-135deg); }
.tech-summary-title { font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; color: var(--ink); }
.tech-summary-hint { color: var(--muted); font-size: 16px; }
.tech-details[open] .tech { margin-top: 32px; }

/* Custom selects */
.form select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%235d6580' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center / 16px no-repeat;
}

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 0; aspect-ratio: 16 / 10; max-width: 560px; }
  .promises { grid-template-columns: 1fr; gap: 18px; }
  .promises li, .promises li:first-child { padding: 0; }
  .promises li + li { border-left: 0; }
}
@media (max-width: 600px) {
  .hero-visual { display: none; }
  .tech-section { padding-block: 40px; }
}

/* Pricing */
.pricing { padding-top: 24px; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px;
}
.price-card-featured { border: 2px solid var(--cta); box-shadow: 0 20px 44px -28px rgba(79, 99, 210, .55); }
.price-badge {
  position: absolute; top: -12px; left: 24px; padding: 3px 10px; border-radius: 999px;
  background: var(--cta); color: #fff; font-size: 13px; font-weight: 700;
}
.price-card h3 { font-size: 20px; }
.price { margin-top: 10px; font-size: 32px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.price span { font-size: 15px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.price-lead { margin-top: 6px; color: var(--muted); font-size: 15px; }
.price-card ul { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 15px; }
.price-card li { position: relative; padding-left: 24px; }
.price-card li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%234f63d2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.price-notes { margin: 24px 0 0; padding-left: 18px; display: grid; gap: 6px; color: var(--muted); font-size: 15px; }
@media (max-width: 1020px) { .price-grid { grid-template-columns: 1fr; max-width: 560px; } }
@media (max-width: 600px) { .price-card { padding: 22px; } .price { font-size: 28px; } }


/* Round 3 polish */
html { background: var(--night); }
h1, h2, h3 { text-wrap: balance; }
.site-header { background: var(--night); backdrop-filter: none; }

.next-steps { margin: 24px 0 0; padding-left: 20px; display: grid; gap: 6px; color: var(--on-night-2); font-size: 16px; }
.next-steps li::marker { color: var(--glow); font-weight: 700; }

.btn-outline { background: transparent; color: var(--cta); border: 1px solid var(--cta); }
.btn-outline:hover { background: var(--cta); color: #fff; }
.price-cta { margin-top: auto; align-self: stretch; }
.price-card ul { margin-bottom: 24px; }

.nav-menu-cta { display: none; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* Subpage hero visual */
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.page-hero-visual { display: flex; justify-content: center; }
.mock {
  width: 100%; max-width: 420px; background: var(--night-2); border: 1px solid var(--night-line);
  border-radius: 14px; box-shadow: 0 30px 60px -24px rgba(0,0,0,.6); color: var(--on-night-2); font-size: 13px;
}
.mock strong { color: var(--on-night); font-weight: 600; }
.mock-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-bottom: 1px solid var(--night-line); }
.mock-bar span { width: 8px; height: 8px; border-radius: 50%; background: var(--night-line); }
.mock-bar em { margin-left: 10px; font-style: normal; font-size: 11px; padding: 1px 10px; border-radius: 4px; background: var(--night); }
.mock-body { padding: 16px; display: grid; gap: 14px; }
.mk-nav { display: flex; align-items: center; gap: 10px; }
.mk-nav i { width: 46px; height: 10px; border-radius: 3px; background: var(--glow); opacity: .8; }
.mk-nav b { width: 34px; height: 6px; border-radius: 3px; background: var(--night-line); }
.mk-nav u, .mk-hero u { margin-left: auto; text-decoration: none; font-size: 11px; color: #fff; background: var(--cta); padding: 4px 10px; border-radius: 6px; }
.mk-hero { display: grid; gap: 6px; justify-items: start; padding: 18px; border-radius: 10px; background: var(--night-3); }
.mk-hero strong { font-size: 17px; }
.mk-hero u { margin-left: 0; margin-top: 6px; }
.mk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mk-cards i { height: 52px; border-radius: 8px; background: var(--night-3); }

.mock-phone { max-width: 250px; padding: 14px 14px 10px; border-radius: 30px; display: grid; gap: 12px; }
.mk-notch { width: 70px; height: 6px; border-radius: 3px; background: var(--night-line); justify-self: center; }
.mk-app-head { display: grid; gap: 2px; }
.mk-app-head strong { font-size: 16px; }
.mk-list { display: grid; gap: 8px; }
.mk-list i { display: grid; gap: 5px; padding: 10px; border-radius: 10px; background: var(--night-3); }
.mk-list b { width: 70%; height: 7px; border-radius: 3px; background: var(--night-line); }
.mk-list s { width: 45%; height: 6px; border-radius: 3px; background: var(--night-line); opacity: .6; text-decoration: none; }
.mk-push { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--bg); color: var(--muted); box-shadow: 0 10px 24px -12px rgba(0,0,0,.6); }
.mk-push strong { color: var(--ink); }
.mk-tabs { display: flex; justify-content: space-around; padding-top: 8px; border-top: 1px solid var(--night-line); }
.mk-tabs b { width: 18px; height: 18px; border-radius: 6px; background: var(--night-line); }
.mk-tabs b:first-child { background: var(--glow); }

.mock-calendar { padding: 16px; display: grid; gap: 12px; }
.mk-cal-head { display: flex; justify-content: space-between; }
.mk-cal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.mk-cal em { font-style: normal; font-size: 11px; text-align: center; }
.mk-cal i { height: 30px; border-radius: 6px; background: var(--night-3); }
.mk-cal i.a { background: rgba(79, 99, 210, .55); }
.mk-cal i.b { background: rgba(143, 160, 255, .35); }
.mk-cal i.c { background: rgba(31, 122, 77, .55); }
.mk-alert { padding: 9px 12px; border-radius: 8px; background: rgba(255, 196, 80, .12); color: #f3cf86; border: 1px solid rgba(255, 196, 80, .25); }

.mock-chat { padding: 16px; display: grid; gap: 10px; }
.mk-msg { max-width: 85%; padding: 10px 12px; border-radius: 12px; line-height: 1.45; }
.mk-user { justify-self: end; background: var(--cta); color: #fff; border-bottom-right-radius: 4px; }
.mk-bot { justify-self: start; background: var(--night-3); color: var(--on-night); border-bottom-left-radius: 4px; }
.mk-bot span { display: block; margin-top: 4px; font-size: 11px; color: var(--on-night-2); }

.mock-status { padding: 18px; display: grid; gap: 14px; }
.mk-status-head { display: flex; justify-content: space-between; align-items: baseline; }
.mk-status-head strong { font-size: 16px; }
.mock-status ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mock-status li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; background: var(--night-3); color: var(--on-night); }
.mock-status li svg { width: 16px; height: 16px; fill: none; stroke: #4cc38a; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mk-price { justify-self: start; color: var(--glow); font-weight: 700; text-decoration: none; }

/* Legal text */
.legal-text { max-width: 760px; }
.legal-text h2 { font-size: 20px; margin-top: 32px; }
.legal-text h2:first-child { margin-top: 0; }
.legal-text p, .legal-text ul { margin-top: 10px; color: var(--text); }
.legal-text ul { padding-left: 20px; display: grid; gap: 6px; }
.legal-text a { color: var(--blue); }

@media (max-width: 1020px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-visual { display: none; }
  .nav-links .nav-menu-cta { display: inline-flex; margin-top: 16px; border-bottom: 0; color: #fff; padding: 14px 24px; }
}

.footer-brand { margin-top: 8px; font-size: 14px; }

/* Review 4: prices next to the offer, commitment in pricing cards */
.tile-price { margin-top: 10px; font-weight: 700; color: var(--accent, #8fa0ff); font-size: 15px; }
.hero-price { margin-top: 14px; max-width: 60ch; color: rgba(255,255,255,.82); font-size: 16px; }
.hero-price strong { color: #fff; }
.price-term { margin-top: 4px; font-size: 14px; font-weight: 700; color: var(--cta, #4f63d2); }
