/* Wiemann.dev — main page */

:root {
  --indigo-950: #12043f;
  --indigo-900: #1a0660;
  --indigo-800: #220876;
  --blue-700: #1046c3;
  --blue-600: #325fc6;
  --blue-500: #567ace;
  --blue-100: #e3e9fb;
  --teal-600: #008484;
  --teal-500: #00b6b6;
  --teal-400: #44c4c4;
  --teal-100: #ddf6f6;
  --soft: #f4f7fe;
  --text: #374153;
  --muted: #5d6779;
  --line: #e2e7f3;
  --white: #fff;

  --r: 14px;
  --r-lg: 22px;
  --sh-sm: 0 1px 2px rgba(34, 8, 118, .06), 0 4px 14px rgba(34, 8, 118, .06);
  --sh-md: 0 18px 40px rgba(34, 8, 118, .14);
  --hdr: 72px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hdr) + 12px);
  -webkit-text-size-adjust: 100%;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--indigo-800);
  line-height: 1.15;
  letter-spacing: -.02em;
}

p {
  margin: 0;
}

a {
  color: var(--blue-700);
}

svg {
  fill: currentColor;
}

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.wrap-narrow {
  max-width: 820px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--indigo-800);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
}

.skip:focus {
  left: 8px;
}

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

/* Brand highlight: ⟨ word ⟩ like the logo chevrons */
.hl {
  position: relative;
  display: inline-block;
  color: var(--teal-500);
  padding: 0 .42em;
  white-space: nowrap;
}

.hl::before,
.hl::after {
  content: "";
  position: absolute;
  top: .1em;
  bottom: .02em;
  width: .3em;
  background: var(--blue-500);
  opacity: .45;
}

.hl::before {
  left: 0;
  clip-path: polygon(55% 0, 100% 0, 45% 50%, 100% 100%, 55% 100%, 0 50%);
}

.hl::after {
  right: 0;
  clip-path: polygon(0 0, 45% 0, 100% 50%, 45% 100%, 0 100%, 55% 50%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: 700 15px/1.2 var(--font);
  letter-spacing: .01em;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 13px 22px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--blue-700);
  color: #fff;
  box-shadow: 0 8px 20px rgba(16, 70, 195, .28);
}

.btn-primary:hover {
  background: var(--blue-600);
}

.btn-teal {
  background: var(--teal-500);
  color: var(--indigo-950);
  box-shadow: 0 8px 20px rgba(0, 182, 182, .3);
}

.btn-teal:hover {
  background: var(--teal-400);
}

.btn-ghost {
  background: #fff;
  color: var(--indigo-800);
  border-color: var(--line);
}

.btn-ghost:hover,
.btn-outline:hover {
  border-color: var(--blue-500);
  color: var(--blue-700);
}

.btn-outline {
  background: transparent;
  color: var(--indigo-800);
  border-color: #cdd6ee;
}

.btn-sm {
  padding: 10px 16px;
  font-size: 14px;
}

.btn-lg {
  padding: 16px 28px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

/* ---------- Header ---------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}

.hdr.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 2px 14px rgba(34, 8, 118, .06);
}

.hdr-in {
  height: var(--hdr);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand img {
  height: 30px;
  width: auto;
}

.nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}

.nav a {
  color: var(--indigo-800);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}

.nav a:hover {
  color: var(--teal-600);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px;
}

.burger span {
  display: block;
  height: 2.5px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--indigo-800);
  transition: transform .2s, opacity .2s;
}

.hdr.menu-open .burger span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hdr.menu-open .burger span:nth-child(2) {
  opacity: 0;
}

.hdr.menu-open .burger span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.mnav {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(86, 122, 206, .18), transparent 60%),
    radial-gradient(700px 400px at 10% 90%, rgba(0, 182, 182, .10), transparent 60%),
    var(--soft);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 70px;
  background: #fff;
  clip-path: polygon(0 100%, 100% 30%, 100% 100%);
}

.hero-in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
  padding-top: clamp(48px, 7vw, 96px);
  padding-bottom: clamp(80px, 9vw, 130px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--sh-sm);
  color: var(--indigo-800);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 22px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(0, 182, 182, .18);
}

.hero h1 {
  font-size: clamp(36px, 5.2vw, 60px);
  font-weight: 800;
}

.lead {
  margin-top: 22px;
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--muted);
  max-width: 580px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 15px;
  color: var(--text);
}

.ticks li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ticks li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 50%;
  background: var(--teal-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/12px no-repeat;
}

.ticks-light {
  flex-direction: column;
  color: rgba(255, 255, 255, .9);
}

/* Hero art */
.hero-art {
  position: relative;
  aspect-ratio: 1 / .82;
}

.chev {
  position: absolute;
  top: 6%;
  bottom: 6%;
  width: 16%;
  background: linear-gradient(180deg, var(--blue-500), var(--blue-700));
  opacity: .9;
}

.chev-l {
  left: -2%;
  clip-path: polygon(60% 0, 100% 0, 40% 50%, 100% 100%, 60% 100%, 0 50%);
  opacity: .35;
}

.chev-r {
  right: -2%;
  clip-path: polygon(0 0, 40% 0, 100% 50%, 40% 100%, 0 100%, 60% 50%);
  opacity: .35;
}

.browser {
  position: absolute;
  left: 8%;
  right: 6%;
  top: 10%;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 60px rgba(34, 8, 118, .22);
  transform: rotate(-1.5deg);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: #eef1f8;
  border-bottom: 1px solid var(--line);
}

.browser-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d3d9e8;
}

.browser-bar i:first-child {
  background: #ff6b6b;
}

.browser-bar i:nth-child(2) {
  background: #ffc94d;
}

.browser-bar i:nth-child(3) {
  background: #3ccf8e;
}

.browser-bar span {
  margin-left: 10px;
  flex: 1;
  font-size: 11px;
  color: var(--muted);
  background: #fff;
  border-radius: 6px;
  padding: 3px 10px;
}

.browser img {
  width: 100%;
  aspect-ratio: 1457 / 760;
  object-fit: cover;
}

.phone {
  position: absolute;
  right: 0;
  bottom: 2%;
  width: 30%;
  aspect-ratio: 9 / 19;
  border-radius: 26px;
  padding: 7px;
  background: #11112b;
  box-shadow: 0 30px 60px rgba(18, 4, 63, .35);
  transform: rotate(3deg);
}

.phone {
  overflow: hidden;
}

/* pally.webp is a strip of 3 screens — show only the first one */
.phone img {
  width: 314%;
  max-width: none;
  height: 100%;
  border-radius: 20px;
  object-fit: cover;
  object-position: 0 0;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 34%;
  height: 12px;
  border-radius: 10px;
  background: #11112b;
  transform: translateX(-50%);
  z-index: 2;
}

.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--sh-md);
  font-weight: 700;
  font-size: 14px;
  color: var(--indigo-800);
  white-space: nowrap;
}

.chip svg {
  width: 20px;
  height: 20px;
}

.chip-ai {
  left: 0;
  top: 2%;
  color: #fff;
  background: linear-gradient(135deg, var(--indigo-800), var(--blue-700));
}

.chip-ai svg {
  color: var(--teal-400);
}

.chip-check {
  left: 4%;
  bottom: 8%;
}

.chip-check svg {
  color: #fff;
  background: var(--teal-500);
  border-radius: 50%;
  padding: 3px;
}

/* ---------- Sections ---------- */
.sec {
  padding: clamp(64px, 9vw, 112px) 0;
}

.sec-soft {
  background: var(--soft);
}

.sec-dark {
  position: relative;
  color: rgba(255, 255, 255, .86);
  background:
    radial-gradient(800px 500px at 90% 0%, rgba(16, 70, 195, .55), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(0, 182, 182, .18), transparent 60%),
    var(--indigo-900);
}

.sec-dark h2,
.sec-dark h3 {
  color: #fff;
}

.sec-head {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.sec-head-row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.kicker {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 12px;
}

.kicker-light {
  color: var(--teal-400);
}

.sec h2 {
  font-size: clamp(30px, 3.8vw, 44px);
  font-weight: 800;
}

.sec-lead {
  margin-top: 16px;
  font-size: 18px;
  color: var(--muted);
}

.sec-dark .sec-lead {
  color: rgba(255, 255, 255, .78);
}

/* ---------- Services ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.svc {
  position: relative;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.svc:hover {
  border-color: transparent;
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}

.svc-ic {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-700), var(--indigo-800));
}

.svc:nth-child(2) .svc-ic {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
}

.svc:nth-child(3) .svc-ic {
  background: linear-gradient(135deg, var(--teal-500), var(--teal-600));
}

.svc-ic svg {
  width: 26px;
  height: 26px;
}

.svc h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.svc p {
  color: var(--muted);
  font-size: 16px;
}

.tags {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tags li {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue-700);
  background: var(--blue-100);
  border-radius: 999px;
  padding: 4px 10px;
}

/* ---------- Process + AI option ---------- */
.process {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process li {
  position: relative;
  padding: 26px;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}

.process span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-bottom: 16px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-700), var(--indigo-800));
}

.process h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.process p {
  font-size: 15px;
  color: var(--muted);
}

.ai-option {
  margin-top: 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 24px 28px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1.5px dashed #b9c6ea;
}

.ai-option-ic {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--teal-600);
  background: var(--teal-100);
}

.ai-option-ic svg {
  width: 26px;
  height: 26px;
}

.ai-option-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 4px;
}

.ai-option h3 {
  font-size: 19px;
  margin-bottom: 6px;
}

.ai-option p:not(.ai-option-tag) {
  font-size: 15.5px;
  color: var(--muted);
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text);
  cursor: pointer;
}

.check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex: none;
  accent-color: var(--blue-700);
}

/* ---------- Projects ---------- */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.proj {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}

.proj:hover {
  border-color: transparent;
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}

.proj-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.proj-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  transition: transform .4s;
}

.proj:hover .proj-img img {
  transform: scale(1.03);
}

.proj-img-soft {
  display: grid;
  place-items: center;
  padding: 16px;
  background: linear-gradient(135deg, var(--soft), #e9eefc);
}

.proj-img-soft img {
  object-fit: contain;
  object-position: center;
}

.proj-body {
  padding: 22px 24px 26px;
}

.proj-body h3 {
  font-size: 19px;
  margin: 10px 0 6px;
}

.proj-body p {
  font-size: 15px;
  color: var(--muted);
}

.more {
  display: inline-block;
  margin-top: 14px;
  font-weight: 700;
  font-size: 15px;
  color: var(--blue-700);
}

.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--indigo-800);
  background: #ece7fb;
}

.badge-teal {
  color: var(--teal-600);
  background: var(--teal-100);
}

.badge-blue {
  color: var(--blue-700);
  background: var(--blue-100);
}

.proj-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
}

.proj-wide .proj-img {
  aspect-ratio: auto;
  border-bottom: 0;
  border-right: 1px solid var(--line);
  min-height: 260px;
}

.proj-wide .proj-body {
  align-self: center;
  padding: 32px;
}

.proj-wide h3 {
  font-size: 26px;
}

.proj-wide p {
  font-size: 16.5px;
}

/* ---------- Why ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.why {
  padding: 30px;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}

.why-ic {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--teal-600);
  background: var(--teal-100);
}

.why-ic svg {
  width: 26px;
  height: 26px;
}

.why h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.why p {
  color: var(--muted);
  font-size: 16px;
}

/* ---------- Pricing ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: #fff;
}

.plan h3 {
  font-size: 20px;
}

.price {
  margin-top: 14px;
  font-size: 42px;
  font-weight: 800;
  color: var(--indigo-800);
  letter-spacing: -.02em;
  line-height: 1.1;
}

.price small {
  font-size: 17px;
  font-weight: 700;
  color: var(--muted);
}

.time {
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--muted);
}

.checks {
  list-style: none;
  padding: 0;
  margin: 22px 0 26px;
  display: grid;
  gap: 10px;
  font-size: 15px;
}

.checks li {
  position: relative;
  padding-left: 28px;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231046c3'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/12px no-repeat;
}

.plan .btn {
  margin-top: auto;
}

.plan-hot {
  border: 2px solid var(--blue-700);
  box-shadow: var(--sh-md);
}

.ribbon {
  position: absolute;
  top: -14px;
  left: 28px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-600));
  padding: 6px 12px;
  border-radius: 999px;
}

.apps-band {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  border-radius: var(--r-lg);
  color: rgba(255, 255, 255, .82);
  background: linear-gradient(120deg, var(--indigo-800), var(--blue-700));
}

.apps-band h3 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 6px;
}

.price-sub {
  font-size: 20px;
  margin: 0 0 18px;
}

.price-grid + .price-sub {
  margin-top: 48px;
}

.price-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.plan-free {
  border: 2px solid var(--teal-500);
  background: linear-gradient(180deg, #f3fcfc, #fff 45%);
}

.plan .price {
  white-space: nowrap;
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  background: #fff;
  border-radius: var(--r);
  border: 1px solid var(--line);
  transition: border-color .2s, box-shadow .2s;
}

.faq details[open] {
  border-color: transparent;
  box-shadow: var(--sh-sm);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 20px 56px 20px 24px;
  font-weight: 700;
  font-size: 17px;
  color: var(--indigo-800);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border-radius: 50%;
  background: var(--blue-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231046c3'%3E%3Cpath d='M11 5h2v14h-2zM5 11h14v2H5z'/%3E%3C/svg%3E") center/14px no-repeat;
  transition: transform .2s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  padding: 0 24px 22px;
  color: var(--muted);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.contact-intro .ticks {
  margin-top: 28px;
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: clamp(24px, 4vw, 36px);
  border-radius: var(--r-lg);
  background: #fff;
  color: var(--text);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .25);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field {
  display: grid;
  gap: 6px;
}

.field-full,
.form .btn-block,
.form-note,
.alert {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 600;
  font-size: 14px;
  color: var(--indigo-800);
}

.field label span {
  color: var(--teal-600);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: #fff;
  border: 1.5px solid #d3dbec;
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color .15s, box-shadow .15s;
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-700);
  box-shadow: 0 0 0 4px rgba(16, 70, 195, .12);
}

.field select.is-highlighted {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(0, 182, 182, .2);
}

.form-note {
  font-size: 13.5px;
  color: var(--muted);
  text-align: center;
}

.alert {
  padding: 14px 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
}

.alert-ok {
  color: #0b5e3b;
  background: #dcf5e9;
}

.alert-err {
  color: #8a1c1c;
  background: #fde3e3;
}

/* ---------- Footer ---------- */
.ftr {
  background: var(--indigo-950);
  color: rgba(255, 255, 255, .7);
  padding: 44px 0;
  font-size: 15px;
}

.ftr-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.ftr-brand {
  display: inline-flex;
}

.ftr img {
  height: 34px;
  width: auto;
}

/* ---------- SEO / offer ---------- */
.seo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 48px;
}

.seo-grid article {
  padding-left: 20px;
  border-left: 3px solid var(--teal-400);
}

.seo-grid h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.seo-grid p {
  color: var(--muted);
  font-size: 16px;
}

.ftr-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.ftr-nav a {
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
}

.ftr-nav a:hover {
  color: var(--teal-400);
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .nav {
    display: none;
  }

  .hdr-in {
    gap: 12px;
  }

  .hdr-in .btn-sm {
    margin-left: auto;
  }

  .burger {
    display: block;
  }

  .mnav {
    display: grid;
    gap: 4px;
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    background: #fff;
    border-top: 1px solid transparent;
    transition: max-height .25s ease, padding .25s ease, border-color .25s;
  }

  .hdr.menu-open .mnav {
    max-height: 480px;
    padding: 8px 20px 20px;
    border-color: var(--line);
  }

  .mnav a {
    padding: 12px 4px;
    color: var(--indigo-800);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--line);
  }

  .mnav a.btn {
    margin-top: 10px;
    border-bottom: 0;
    color: #fff;
  }

  .hero-in {
    grid-template-columns: 1fr;
  }

  .hero-art {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .process {
    grid-template-columns: 1fr 1fr;
  }

  .ai-option {
    grid-template-columns: auto 1fr;
  }

  .ai-option .btn {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .svc-grid,
  .proj-grid,
  .why-grid,
  .price-grid {
    grid-template-columns: 1fr 1fr;
  }

  .proj-wide {
    grid-template-columns: 1fr;
  }

  .proj-wide .proj-img {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .seo-grid {
    grid-template-columns: 1fr;
  }

  body {
    font-size: 16px;
  }

  :root {
    --hdr: 64px;
  }

  .brand img {
    height: 26px;
  }

  .hdr-in .btn-sm {
    display: none;
  }

  .burger {
    margin-left: auto;
  }

  .hero h1 {
    font-size: 34px;
  }

  .cta-row .btn {
    width: 100%;
  }

  .ticks {
    flex-direction: column;
  }

  .chip {
    font-size: 12px;
    padding: 8px 10px;
  }

  .chip svg {
    width: 16px;
    height: 16px;
  }

  .svc-grid,
  .proj-grid,
  .why-grid,
  .price-grid,
  .process {
    grid-template-columns: 1fr;
  }

  .ai-option {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .ai-option .btn {
    width: 100%;
  }

  .svc,
  .why,
  .process li {
    padding: 24px;
  }


  .apps-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

  .apps-band .btn {
    width: 100%;
  }

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

  .ftr-in {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}

/* ---------- Projects page ---------- */
.page-hero {
  padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 56px);
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(86, 122, 206, .18), transparent 60%),
    radial-gradient(700px 400px at 10% 90%, rgba(0, 182, 182, .10), transparent 60%),
    var(--soft);
}

.page-hero h1 {
  font-size: clamp(34px, 4.6vw, 52px);
  font-weight: 800;
}

.page-hero .lead {
  max-width: 760px;
}

.sec-tight {
  padding-top: clamp(40px, 6vw, 72px);
}

.plist {
  display: grid;
  gap: clamp(28px, 4vw, 44px);
}

.prow {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  transition: box-shadow .2s, border-color .2s;
}

.prow:hover {
  border-color: transparent;
  box-shadow: var(--sh-md);
}

.prow:nth-child(even) .prow-img {
  order: 2;
}

.prow-img {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--soft);
}

.prow-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.prow-img-soft {
  display: grid;
  place-items: center;
  padding: 18px;
  background: linear-gradient(135deg, var(--soft), #e9eefc);
}

.prow-img-soft img {
  object-fit: contain;
  object-position: center;
}

.prow-body h2 {
  font-size: clamp(24px, 2.6vw, 30px);
  margin: 12px 0 10px;
}

.prow-body p {
  color: var(--muted);
  font-size: 16px;
}

.prow-body .tags {
  margin: 16px 0 22px;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.cta-band .sec-lead {
  margin-top: 10px;
}

.nav a[aria-current="page"] {
  color: var(--teal-600);
}

@media (max-width: 860px) {
  .prow {
    grid-template-columns: 1fr;
  }

  .prow:nth-child(even) .prow-img {
    order: 0;
  }

  .cta-band .btn {
    width: 100%;
  }
}

.plan {
  min-width: 0;
}

@media (max-width: 680px) {
  .plan {
    padding: 28px 22px 24px;
  }

  .plan .price {
    font-size: 34px;
  }
}

/* ---------- Legal pages ---------- */
.legal-date {
  margin-top: 14px;
  font-size: 14.5px;
  color: var(--muted);
}

.legal h2 {
  font-size: 22px;
  margin: 40px 0 12px;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal p {
  margin-bottom: 12px;
}

.legal ul {
  margin: 0 0 12px;
  padding-left: 22px;
  display: grid;
  gap: 8px;
}

.legal li::marker {
  color: var(--teal-500);
}
