/* ===== EBuilt — Web & AI ===== */
:root {
  --ink: #0b0b0c;
  --ink-2: #16171a;
  --ink-3: #24262b;
  --blue: #0050f0;
  --blue-700: #0040c4;
  --blue-50: #eef3ff;
  --bg: #ffffff;
  --soft: #f5f6f8;
  --line: #e6e8ec;
  --muted: #5a5f6b;
  --radius: 16px;
  --maxw: 1160px;
  --head: "Archivo", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--head); line-height: 1.06; letter-spacing: -0.025em; }
svg.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.sr-only, .hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* The slanted blue bar from the logo, used as the brand accent */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before {
  content: ""; width: 30px; height: 9px; background: var(--blue);
  clip-path: polygon(0 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
}
.on-dark .eyebrow { color: #7fa6ff; }
.on-dark .eyebrow::before { background: var(--blue); }

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 0.98rem/1 var(--body);
  padding: 15px 22px; border-radius: 10px; border: 2px solid transparent;
  cursor: pointer; transition: background .18s, border-color .18s, transform .18s, color .18s;
}
.btn svg.i { width: 18px; height: 18px; transition: transform .18s; }
.btn:hover svg.i { transform: translateX(3px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-700); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 11px 16px; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #7fa6ff; outline-offset: 2px;
}

/* ----- Header ----- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand .mark { height: 30px; width: auto; }
.brand .word { height: 19px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; font-weight: 500; font-size: 0.95rem; }
.nav-links a:not(.btn) { color: var(--muted); transition: color .15s; }
.nav-links a:not(.btn):hover { color: var(--ink); }

/* ----- Hero ----- */
.hero { position: relative; padding: 80px 0 72px; overflow: hidden; }
.hero::after { /* faint grid */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 10%, transparent 75%);
  opacity: .55;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.7rem); font-weight: 800; margin: 20px 0 22px; }
.hero h1 .blue { color: var(--blue); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 30px; }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; font-size: 0.92rem; font-weight: 500; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks svg.i { width: 18px; height: 18px; color: var(--blue); stroke-width: 2.6; }

/* Hero visual: a website mock-up with the AI assistant on top */
.hero-visual { position: relative; padding: 28px 0 110px 0; }
.hero-visual::before {
  content: ""; position: absolute; z-index: 0;
  top: -4%; right: -10%; width: 78%; height: 86%;
  background: var(--blue);
  clip-path: polygon(22% 0, 100% 0, 78% 100%, 0 100%);
}
.browser {
  position: relative; z-index: 1;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 30px 60px -20px rgba(11, 11, 12, .28), 0 8px 20px -10px rgba(11, 11, 12, .15);
  overflow: hidden;
}
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: var(--soft); border-bottom: 1px solid var(--line); }
.browser-bar > span { width: 10px; height: 10px; border-radius: 50%; background: #d4d7dd; }
.browser-bar .url {
  margin-left: 12px; flex: 1; max-width: 240px;
  font-size: 0.72rem; color: var(--muted); background: #fff; border: 1px solid var(--line);
  border-radius: 6px; padding: 4px 10px;
}
.mock { padding: 18px 20px 22px; }
.mock i, .mock b { display: block; border-radius: 4px; }
.mock-nav { display: flex; align-items: center; gap: 12px; }
.mock-nav .logo { width: 22px; height: 22px; border-radius: 6px; background: var(--ink); }
.mock-nav i:not(.logo) { width: 38px; height: 7px; background: #e3e5ea; }
.mock-nav i:nth-child(2) { margin-left: auto; }
.mock-nav b { width: 58px; height: 22px; border-radius: 6px; background: var(--ink); }
.mock-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; align-items: center; margin: 26px 0 22px; }
.mock-hero i { height: 14px; background: var(--ink); margin-bottom: 9px; }
.mock-hero i:nth-child(1) { width: 92%; }
.mock-hero i:nth-child(2) { width: 68%; margin-bottom: 16px; }
.mock-hero i:nth-child(3), .mock-hero i:nth-child(4) { height: 7px; background: #e3e5ea; }
.mock-hero i:nth-child(3) { width: 88%; }
.mock-hero i:nth-child(4) { width: 64%; margin-bottom: 16px; }
.mock-hero b { width: 86px; height: 26px; border-radius: 6px; background: var(--blue); }
.mock-img {
  height: 128px; border-radius: 10px;
  background:
    radial-gradient(circle at 72% 30%, #ffffff 0 14px, transparent 15px),
    linear-gradient(160deg, #dfe8ff 0%, #b9cdff 55%, #8fb0ff 100%);
  position: relative; overflow: hidden;
}
.mock-img::after { /* little hills */
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -30px; height: 80px;
  background: #7b9ff8; border-radius: 50% 50% 0 0;
}
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock-cards div { height: 62px; border-radius: 8px; background: var(--soft); border: 1px solid var(--line); position: relative; }
.mock-cards div::before { content: ""; position: absolute; left: 10px; top: 12px; width: 18px; height: 18px; border-radius: 5px; background: var(--blue-50); }
.mock-cards div::after { content: ""; position: absolute; left: 10px; top: 40px; width: 60%; height: 6px; border-radius: 3px; background: #e0e3e9; }

.chat {
  position: absolute; z-index: 2; right: -28px; bottom: 0; width: 272px;
  background: var(--ink); color: #fff; border-radius: 16px; padding: 14px;
  box-shadow: 0 24px 50px -16px rgba(0, 30, 120, .45);
  font-size: 0.85rem; line-height: 1.4;
}
.chat-head { display: flex; align-items: center; gap: 10px; padding: 2px 2px 12px; border-bottom: 1px solid var(--ink-3); margin-bottom: 12px; }
.chat-head .avatar {
  width: 30px; height: 30px; border-radius: 9px; background: var(--blue);
  display: grid; place-items: center;
}
.chat-head .avatar svg.i { width: 16px; height: 16px; color: #fff; }
.chat-head strong { display: block; font-size: 0.86rem; }
.chat-head small { display: flex; align-items: center; gap: 6px; color: #a7acb8; font-size: 0.74rem; }
.chat-head small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2fd47a; box-shadow: 0 0 0 3px rgba(47, 212, 122, .2); }
.msgs { display: flex; flex-direction: column; gap: 8px; }
.msg { max-width: 84%; padding: 9px 12px; border-radius: 13px; animation: pop .45s cubic-bezier(.2, .8, .3, 1.2) both; animation-delay: var(--d, 0s); }
.msg.user { align-self: flex-end; background: var(--blue); border-bottom-right-radius: 4px; }
.msg.bot { align-self: flex-start; background: var(--ink-3); border-bottom-left-radius: 4px; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }

/* ----- Sections ----- */
section { padding: 104px 0; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 800; margin: 16px 0 14px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* Services */
.group-label {
  display: flex; align-items: center; gap: 14px;
  font: 700 0.82rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  margin: 0 0 18px;
}
.group-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 48px; }
.cards:last-child { margin-bottom: 0; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 28px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: #cdd3dd; box-shadow: 0 18px 40px -22px rgba(11, 11, 12, .3); }
.card .ic {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 20px;
  display: grid; place-items: center; background: var(--blue-50); color: var(--blue);
}
.card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.96rem; }
.tag {
  position: absolute; top: 22px; right: 20px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--blue); background: var(--blue-50); padding: 5px 9px; border-radius: 999px;
}

.card.feature {
  grid-column: span 2; background: var(--ink); color: #fff; border-color: var(--ink);
  overflow: hidden; padding: 30px 30px 32px;
}
.card.feature::after {
  content: ""; position: absolute; right: -60px; bottom: -40px; width: 230px; height: 150px;
  background: var(--blue); opacity: .9;
  clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%);
}
.card.feature .ic { background: var(--blue); color: #fff; }
.card.feature h3 { font-size: 1.55rem; }
.card.feature p { color: #b9bec9; max-width: 400px; }
.card.feature .tag { background: rgba(127, 166, 255, .16); color: #9dbbff; }
.feature-list { list-style: none; margin-top: 20px; display: grid; gap: 10px; position: relative; z-index: 1; }
.feature-list li { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 0.95rem; }
.feature-list svg.i { width: 18px; height: 18px; color: #7fa6ff; stroke-width: 2.6; }

.note {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: space-between;
  margin-top: 40px; padding: 22px 26px; border-radius: var(--radius);
  background: var(--soft); border: 1px solid var(--line);
}
.note p { font-weight: 500; }
.note p span { color: var(--muted); font-weight: 400; }

/* Process */
.process { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; list-style: none; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 25px; left: 26px; right: 26px; height: 2px; background: repeating-linear-gradient(90deg, #c9cfda 0 8px, transparent 8px 16px); }
.step { position: relative; counter-increment: step; }
.step .num {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 22px;
  display: grid; place-items: center; position: relative;
  background: #fff; border: 2px solid var(--ink);
  font: 800 1.05rem/1 var(--head);
}
.step .num::before { content: counter(step, decimal-leading-zero); }
.step:last-child .num { background: var(--blue); border-color: var(--blue); color: #fff; }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.96rem; }

/* "Get a quote" link at the bottom of each service card */
.card-cta {
  margin-top: auto; padding-top: 18px; position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 0.92rem; color: var(--blue);
}
.card-cta svg.i { width: 16px; height: 16px; transition: transform .18s; }
.card-cta:hover svg.i { transform: translateX(3px); }
.card.feature .card-cta { color: #9dbbff; }

/* Work */
#work { padding-top: 24px; }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.work-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.work-card:hover { transform: translateY(-4px); border-color: #cdd3dd; box-shadow: 0 22px 44px -24px rgba(11, 11, 12, .32); }
.work-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--soft); border-bottom: 1px solid var(--line); }
.work-bar > span { width: 10px; height: 10px; border-radius: 50%; background: #d4d7dd; }
.work-bar .url {
  margin-left: 10px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 0.78rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 4px 10px;
}
.work-body { display: flex; flex-direction: column; flex: 1; padding: 26px 28px 28px; }
.work-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.badge {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: var(--accent); color: #fff; font: 800 0.92rem/1 var(--head); letter-spacing: -0.01em;
}
.kind { font-size: 0.8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.work-card h3 { font-size: 1.45rem; font-weight: 700; margin-bottom: 10px; }
.work-card p { color: var(--muted); font-size: 0.98rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 18px 0 24px; }
.chips li { font-size: 0.8rem; font-weight: 600; padding: 6px 11px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); }
.visit { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue); }
.visit svg.i { width: 18px; height: 18px; transition: transform .18s; }
.work-card:hover .visit svg.i { transform: translate(2px, -2px); }

/* Contact */
.contact { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; top: -120px; left: -140px; width: 520px; height: 260px;
  background: var(--blue); opacity: .16;
  clip-path: polygon(25% 0, 100% 0, 75% 100%, 0 100%);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: start; position: relative; }
.contact h2 { font-size: clamp(2.3rem, 4.4vw, 3.5rem); font-weight: 800; margin: 18px 0 18px; }
.contact .lede { color: #b9bec9; }
.contact .ticks { flex-direction: column; gap: 14px; margin-top: 32px; font-size: 1rem; }
.contact .ticks svg.i { color: #7fa6ff; }

.form {
  background: #fff; color: var(--ink); border-radius: 20px; padding: 32px;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .6);
  display: grid; gap: 18px;
}
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 7px; font-size: 0.88rem; font-weight: 600; }
.form label > span { display: block; }
.form .opt { color: var(--muted); font-weight: 400; }
.form input, .form select, .form textarea {
  font: 400 1rem/1.4 var(--body); color: var(--ink);
  width: 100%; padding: 13px 14px; border-radius: 10px;
  border: 1.5px solid var(--line); background: #fbfbfc;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.form select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%235a5f6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
}
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(0, 80, 240, .12);
}
.form .fine { font-size: 0.84rem; color: var(--muted); text-align: center; }

/* 3-step quote form */
.quote [hidden] { display: none !important; }
.quote fieldset { border: 0; min-width: 0; padding: 0; margin: 0; }
.quote .q-step { display: grid; gap: 18px; }
.quote.js .q-step { display: none; }
.quote.js .q-step.active { display: grid; animation: stepIn .25s ease both; }
@keyframes stepIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.quote legend { float: left; width: 100%; padding: 0; margin-bottom: 4px; font: 800 clamp(2.2rem, 4.2vw, 3rem)/1.04 var(--head); letter-spacing: -0.03em; margin-bottom: 8px; text-wrap: balance; }
.quote legend:focus { outline: none; }
.quote:not(.js) .q-step + .q-step { border-top: 1px solid var(--line); padding-top: 22px; }

.q-progress { display: flex; align-items: center; gap: 14px; font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.q-progress b { color: var(--ink); }
.q-bar { flex: 1; height: 6px; border-radius: 99px; background: var(--soft); overflow: hidden; }
.q-bar i { display: block; height: 100%; width: 33.3%; background: var(--blue); border-radius: 99px; transition: width .3s ease; }
.quote:not(.js) .q-progress { display: none; }

.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form label.opt-card, .form label.pill { display: block; position: relative; font-weight: 500; }
.form .opt-card input, .form .pill input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.form .opt-card .box {
  display: flex; align-items: center; gap: 12px; height: 100%;
  padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fbfbfc;
  cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s;
}
.opt-card .box:hover { border-color: #c3cad6; }
.opt-card .box svg.i { width: 20px; height: 20px; color: var(--blue); }
.opt-card strong { display: block; font-size: 0.92rem; font-weight: 700; line-height: 1.25; }
.opt-card small { display: block; font-size: 0.78rem; font-weight: 500; color: var(--muted); line-height: 1.3; margin-top: 2px; }
.opt-card input:checked + .box { border-color: var(--blue); background: var(--blue-50); box-shadow: 0 0 0 3px rgba(0, 80, 240, .12); }

.q-field { display: grid; gap: 9px; }
.q-label { font-size: 0.88rem; font-weight: 600; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.form .pill span {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 15px; border-radius: 999px; border: 1.5px solid var(--line); background: #fbfbfc;
  font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: border-color .15s, background .15s, color .15s;
}
.form .pill span:hover { border-color: #c3cad6; }
.form .pill input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.form .pill.check span::before { content: "+"; font-weight: 700; }
.form .pill.check input:checked + span::before { content: "✓"; }
.opt-card input:focus-visible + .box, .pill input:focus-visible + span { outline: 3px solid #7fa6ff; outline-offset: 2px; }

.q-nav { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.q-nav .btn-primary { margin-left: auto; }
.q-back { background: none; border-color: var(--line); color: var(--ink); }
.q-back:hover { border-color: var(--ink); }
.q-nav .btn[disabled] { opacity: .4; cursor: not-allowed; }
.quote:not(.js) .q-nav button[type="button"] { display: none; }

/* Sticky quote button on phones */
.mobile-cta { display: none; }

/* Footer */
.site-footer { background: var(--ink); color: #a7acb8; border-top: 1px solid var(--ink-3); padding: 36px 0; font-size: 0.9rem; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer .brand .mark { height: 26px; }
.site-footer .brand .word { height: 16px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a:hover { color: #fff; }

/* Thank-you page */
.thanks { min-height: 100vh; display: grid; place-items: center; padding: 40px 24px; background: var(--soft); text-align: center; }
.thanks .box { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 52px 44px; max-width: 520px; box-shadow: 0 30px 60px -30px rgba(11, 11, 12, .25); }
.thanks .box img { height: 64px; width: auto; margin: 0 auto 28px; }
.thanks h1 { font-size: 2.3rem; font-weight: 800; margin-bottom: 14px; }
.thanks p { color: var(--muted); margin-bottom: 30px; font-size: 1.05rem; }

/* ----- Responsive ----- */
@media (max-width: 1020px) {
  .hero-grid, .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero { padding-top: 64px; }
  .hero-visual { max-width: 600px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
}
@media (max-width: 760px) {
  .nav-links a:not(.btn) { display: none; }
  section { padding: 76px 0; }
  .hero { padding: 48px 0 80px; }
  .hero-visual { padding: 12px 0 150px 0; }
  .hero-visual::before { right: -18%; }
  .chat { right: 0; width: min(272px, 86%); }
  .mock-cards div:nth-child(3) { display: none; }
  .mock-cards { grid-template-columns: repeat(2, 1fr); }
  .form .row { grid-template-columns: 1fr; }
  .form { padding: 24px 20px; }
  .opt-grid { gap: 8px; }
  .form .opt-card .box { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
  .mobile-cta {
    display: flex; position: fixed; z-index: 60; left: 12px; right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    box-shadow: 0 14px 30px -8px rgba(0, 40, 140, .55);
    transform: translateY(160%); transition: transform .25s ease;
  }
  .mobile-cta.show { transform: none; }
}
@media (max-width: 600px) {
  .cards, .steps, .work-grid { grid-template-columns: 1fr; }
  .card.feature { grid-column: auto; }
  .note { flex-direction: column; align-items: flex-start; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
