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

:root {
  --primary: #0066cc;
  --primary-700: #004f9e;
  --secondary: #10b981;
  --secondary-700: #047857;
  --accent: #f59e0b;
  --ink: #1f2937;
  --muted: #667085;
  --line: #e5e7eb;
  --soft: #f3f4f6;
  --soft-blue: #eff6ff;
  --soft-green: #ecfdf5;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(31, 41, 55, 0.06);
  --shadow-md: 0 14px 34px rgba(31, 41, 55, 0.10);
  --shadow-lg: 0 28px 70px rgba(31, 41, 55, 0.14);
  --radius: 14px;
  --radius-sm: 10px;
  --wrap: min(1180px, calc(100% - 40px));
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: Monaco, "Fira Code", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  text-rendering: geometricPrecision;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgba(0, 102, 204, 0.35);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.wrap {
  width: var(--wrap);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(229, 231, 235, 0.82);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.nav {
  width: var(--wrap);
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 12px 28px rgba(0, 102, 204, 0.22);
  font-weight: 900;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-name {
  font-size: 0.96rem;
  line-height: 1.05;
}

.brand-tag {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-links a,
.nav-drop-toggle {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 0;
  border-radius: var(--radius-sm);
  color: var(--muted);
  background: transparent;
  font-size: 0.94rem;
  font-weight: 750;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active,
.nav-drop-toggle:hover,
.nav-drop-toggle.active,
.nav-dropdown.open .nav-drop-toggle {
  color: var(--primary);
  background: var(--soft-blue);
}

.nav-dropdown {
  position: relative;
}

.nav-drop-toggle {
  gap: 8px;
}

.nav-drop-toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.nav-dropdown.open .nav-drop-toggle::after,
.nav-dropdown:hover .nav-drop-toggle::after,
.nav-dropdown:focus-within .nav-drop-toggle::after {
  transform: rotate(225deg) translateY(-1px);
}

.nav-submenu {
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  z-index: 60;
  width: 270px;
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu,
.nav-dropdown.open .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-submenu a {
  justify-content: flex-start;
  min-height: 40px;
  padding: 0 12px;
}

.nav-cta,
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 0 18px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav-cta,
.button.primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(0, 102, 204, 0.22);
}

.nav-cta:hover,
.button.primary:hover {
  background: var(--primary-700);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 102, 204, 0.26);
}

.lang-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--primary);
  background: var(--white);
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
}

.lang-link:hover {
  background: var(--soft-blue);
  border-color: rgba(0, 102, 204, 0.24);
}

.button.secondary {
  color: var(--primary);
  background: var(--white);
  border-color: rgba(0, 102, 204, 0.18);
}

.button.secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 102, 204, 0.34);
  box-shadow: var(--shadow-md);
}

.button.dark {
  background: var(--ink);
  color: var(--white);
}

.button.ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.36);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 18%, rgba(16, 185, 129, 0.18), transparent 30%),
    linear-gradient(135deg, #f8fbff 0%, #ffffff 44%, #eff6ff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 102, 204, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 102, 204, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000, transparent 84%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  width: var(--wrap);
  min-height: 720px;
  margin: 0 auto;
  padding: 110px 0 78px;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.82fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  max-width: 830px;
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.22;
}

.lead,
.hero-copy p,
.section-head p,
.card p,
.app-info p,
.contact-panel p,
.article-card p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.72;
}

.hero-copy p {
  max-width: 640px;
  margin-bottom: 30px;
  font-size: 1.16rem;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.device-stage {
  position: absolute;
  inset: 0;
}

.phone-shot {
  position: absolute;
  width: min(44%, 210px);
  padding: 9px;
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.phone-shot img {
  display: block;
  width: 100%;
  border-radius: 20px;
}

.phone-shot.one {
  left: 5%;
  top: 16%;
  transform: rotate(-6deg);
}

.phone-shot.two {
  right: 5%;
  top: 4%;
  transform: rotate(5deg);
}

.phone-shot.three {
  left: 32%;
  bottom: 4%;
  transform: rotate(1deg);
}

.insight-card {
  position: absolute;
  right: 0;
  bottom: 28%;
  width: min(260px, 54%);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
}

.code-chip {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 8px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--secondary);
  font-family: var(--mono);
  font-size: 0.78rem;
}

.insight-card strong {
  display: block;
  margin-bottom: 8px;
}

.insight-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.section {
  padding: 92px 0;
}

.section.alt {
  background: var(--soft);
}

.section.dark {
  background:
    radial-gradient(circle at 16% 16%, rgba(16, 185, 129, 0.18), transparent 34%),
    linear-gradient(135deg, #111827, #1f2937);
  color: var(--white);
}

.section.dark .eyebrow {
  color: #93c5fd;
}

.section.dark .lead,
.section.dark p {
  color: rgba(255, 255, 255, 0.72);
}

.section.dark .step {
  color: var(--ink);
}

.section.dark .step p {
  color: var(--muted);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 490px);
  gap: 46px;
  align-items: end;
  margin-bottom: 38px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.card,
.metric,
.contact-panel,
.article-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.card {
  padding: 28px;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.card[id] {
  scroll-margin-top: 96px;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 102, 204, 0.2);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 14px;
  color: var(--primary);
  background: var(--soft-blue);
}

.service-icon.green {
  color: var(--secondary-700);
  background: var(--soft-green);
}

.service-icon.gold {
  color: #b45309;
  background: #fffbeb;
}

.service-icon svg {
  width: 25px;
  height: 25px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.feature-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.feature-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.45;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--secondary);
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--primary);
  font-weight: 850;
  text-decoration: none;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.metric {
  padding: 26px;
}

.metric strong {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1;
}

.metric span {
  color: var(--muted);
  line-height: 1.5;
}

.product-card {
  position: relative;
  min-height: 430px;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  padding: 0;
}

.product-media {
  min-height: 230px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  padding: 24px 24px 0;
  background: linear-gradient(135deg, var(--soft-blue), var(--soft-green));
}

.product-media img {
  width: 31%;
  max-height: 250px;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}

.product-body {
  padding: 26px;
}

.badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.badge,
.product-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--soft-blue);
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.badge.green {
  background: var(--soft-green);
  color: var(--secondary-700);
}

.badge.gold {
  background: #fffbeb;
  color: #b45309;
}

.product-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  background: var(--white);
  color: var(--muted);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.filter-button.active,
.filter-button:hover {
  border-color: rgba(0, 102, 204, 0.22);
  background: var(--soft-blue);
  color: var(--primary);
}

.app-showcase {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 30px;
  align-items: center;
  margin-bottom: 24px;
}

.app-showcase.is-hidden {
  display: none;
}

.app-info {
  display: grid;
  gap: 12px;
}

.app-logo {
  width: 92px;
  height: 92px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.screens {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
}

.screens.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.screen {
  width: 100%;
  max-height: 450px;
  object-fit: contain;
  border-radius: 24px;
  background: #f8fafc;
  box-shadow: var(--shadow-lg);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 58px;
  align-items: center;
}

.about-photo {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.structured-copy {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 20px;
}

.copy-block {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.copy-block strong {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.copy-block p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.68;
}

.value-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.value-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
}

.process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.step {
  position: relative;
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.step-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--primary);
  color: var(--white);
  font-weight: 900;
}

.cta-band {
  border-radius: 24px;
  padding: clamp(34px, 6vw, 64px);
  background:
    radial-gradient(circle at 82% 20%, rgba(16, 185, 129, 0.26), transparent 30%),
    linear-gradient(135deg, var(--primary), #073b74);
  color: var(--white);
  overflow: hidden;
}

.cta-band .lead {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.78);
}

.cta-band .eyebrow {
  color: #bfdbfe;
}

.cta-band .button.primary {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
}

.page-title {
  padding: 88px 0 58px;
  background:
    radial-gradient(circle at 82% 8%, rgba(16, 185, 129, 0.14), transparent 32%),
    linear-gradient(135deg, var(--soft-blue), var(--white));
  border-bottom: 1px solid var(--line);
}

.page-title h1 {
  max-width: 860px;
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 6vw, 4.7rem);
}

.page-title .lead {
  max-width: 780px;
  margin-bottom: 0;
}

.team-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  align-items: center;
}

.avatar {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  font-size: 1.4rem;
  font-weight: 900;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1.26fr);
  gap: 28px;
}

.contact-panel {
  padding: 30px;
}

.contact-list {
  display: grid;
  gap: 18px;
}

.contact-list p {
  margin: 0;
}

.form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
  min-height: 144px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.10);
  outline: 0;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  max-width: 360px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateY(24px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.article-card {
  overflow: hidden;
}

.article-card a {
  display: block;
  padding: 26px;
  text-decoration: none;
}

.article-meta {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer {
  padding: 54px 0 28px;
  background: #111827;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 1fr;
  gap: 28px;
  margin-bottom: 34px;
}

.site-footer .brand {
  color: var(--white);
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.68);
}

.site-footer a {
  display: block;
  margin: 8px 0;
  text-decoration: none;
}

.newsletter {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.newsletter input {
  min-width: 0;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.14);
}

.newsletter button {
  min-height: 46px;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 0 13px;
  color: var(--white);
  background: var(--primary);
  font-weight: 850;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    min-height: 500px;
  }

  .grid-3,
  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .values-grid,
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  :root {
    --wrap: min(100% - 32px, 1180px);
  }

  .nav {
    min-height: 68px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 80px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a,
  .nav-drop-toggle {
    width: 100%;
    justify-content: center;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-submenu {
    position: static;
    width: 100%;
    display: none;
    margin-top: 6px;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-dropdown.open .nav-submenu,
  .nav-dropdown:focus-within .nav-submenu {
    display: grid;
  }

  .nav-dropdown:hover .nav-submenu {
    display: none;
  }

  .nav-dropdown.open:hover .nav-submenu {
    display: grid;
  }

  .nav-cta {
    display: none;
  }

  .hero-inner,
  .section,
  .page-title {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .section-head,
  .split,
  .contact-layout,
  .app-showcase,
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .grid-3,
  .metrics,
  .values-grid,
  .process,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .screens,
  .screens.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .screen {
    max-height: 360px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand-copy {
    max-width: 210px;
  }

  .brand-name {
    white-space: normal;
  }

  .phone-shot {
    width: 48%;
  }

  .insight-card {
    width: 68%;
  }

  .screens,
  .screens.two {
    grid-template-columns: 1fr;
  }

  .newsletter {
    flex-direction: column;
  }
}
