/* ============================================================
   WEB CODE — design tokens
   ============================================================ */
:root {
  --bg: #0a0a0d;
  --bg-soft: #101013;
  --surface: rgba(244, 241, 234, 0.035);
  --surface-strong: rgba(244, 241, 234, 0.06);
  --line: rgba(244, 241, 234, 0.1);
  --line-strong: rgba(244, 241, 234, 0.2);
  --ink: #f2efe6;
  --muted: #9a968c;
  --muted-dim: #6d6a63;
  --accent: #cd9a4e;
  --accent-rgb: 205, 154, 78;
  --accent-light: #e6bd76;
  --accent-ink: #1a1207;
  --accent-soft: rgba(var(--accent-rgb), 0.14);
  --code-blue: #7fa9c7;
  --code-green: #8fb89a;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
  --shadow-soft: 0 16px 46px rgba(0, 0, 0, 0.35);
  --radius: 10px;
  --radius-sm: 7px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;
  --dur-med: 320ms;
  --font-display: "Fraunces", "Iowan Old Style", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

@view-transition {
  navigation: auto;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 8%, rgba(var(--accent-rgb), 0.08), transparent 30rem),
    radial-gradient(circle at 88% 18%, rgba(127, 169, 199, 0.07), transparent 26rem),
    var(--bg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  transition: top var(--dur-fast) var(--ease);
}

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

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 {
  max-width: 14ch;
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 5.4vw, 5.2rem);
  line-height: 0.98;
}

h1 em,
h2 em {
  color: var(--accent);
  font-style: italic;
}

h2 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  font-weight: 600;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.eyebrow::before {
  content: "//";
  color: var(--muted-dim);
}

/* ============================================================
   Reveal-on-scroll
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   Header / nav
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(10, 10, 13, 0.7);
  backdrop-filter: blur(16px);
  transition: padding var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease), background var(--dur-med) var(--ease);
}

.site-header.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(10, 10, 13, 0.92);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

.brand::after {
  content: "_";
  color: var(--accent);
  animation: caret-blink 1.1s step-end infinite;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #000;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav a {
  position: relative;
  padding: 4px 0;
  color: var(--muted);
  transition: color var(--dur-fast) var(--ease);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--accent);
  border-radius: 999px;
}

.nav-cta {
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  color: var(--accent-ink) !important;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(var(--accent-rgb), 0.22);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(var(--accent-rgb), 0.32);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ============================================================
   Buttons
   ============================================================ */
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 650;
  font-size: 0.98rem;
  touch-action: manipulation;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0) scale(0.98);
}

.button.primary {
  color: var(--accent-ink);
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  box-shadow: 0 16px 34px rgba(var(--accent-rgb), 0.22);
}

.button.secondary {
  border-color: var(--line-strong);
  color: var(--ink);
  background: var(--surface);
}

.button.secondary:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.button.full {
  width: 100%;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.95fr);
  align-items: center;
  gap: clamp(34px, 5vw, 80px);
  min-height: calc(100vh - 74px);
  padding: clamp(48px, 8vw, 96px) clamp(18px, 4vw, 56px) 70px;
  overflow: hidden;
}

.hero-copy {
  max-width: 680px;
}

.hero-text {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.14rem;
}

.hero-actions,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-actions {
  margin-top: 30px;
}

.trust-row {
  margin-top: 30px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-row span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.6);
}

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

/* Code editor signature */
.code-window {
  position: absolute;
  inset: 0 auto auto 0;
  width: min(100%, 480px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #0d0d10;
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}

.code-window-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.code-window-dots {
  display: flex;
  gap: 7px;
}

.code-window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}

.code-window-tab {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.code-body {
  margin: 0;
  padding: 20px 22px 26px;
  min-height: 190px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.86rem;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
}

.code-caret {
  display: inline-block;
  width: 7px;
  height: 1.1em;
  margin-left: 1px;
  background: var(--accent);
  vertical-align: text-bottom;
  animation: caret-blink 1s step-end infinite;
}

@keyframes caret-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.browser-frame {
  position: absolute;
  inset: auto 0 0 auto;
  width: min(100%, 400px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.browser-bar {
  display: flex;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.browser-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
}

.mock-site {
  padding: 18px;
}

.mock-nav,
.mock-grid span,
.mock-hero span,
.mock-hero p {
  border-radius: 999px;
  background: rgba(244, 241, 234, 0.1);
}

.mock-nav {
  width: 100%;
  height: 22px;
  margin-bottom: 18px;
}

.mock-hero {
  display: grid;
  gap: 14px;
}

.mock-hero span {
  display: block;
  width: 48%;
  height: 13px;
  background: var(--accent-soft);
}

.mock-hero strong {
  display: block;
  width: 100%;
  height: 74px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.35), rgba(127, 169, 199, 0.18));
}

.mock-hero p {
  width: 82%;
  height: 24px;
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.mock-grid span {
  height: 46px;
  border-radius: 6px;
}

.stat-card {
  position: absolute;
  left: 0;
  bottom: 30px;
  width: 200px;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}

.stat-card strong {
  display: block;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 2.1rem;
  line-height: 1;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.88rem;
}

/* ============================================================
   Sections (generic)
   ============================================================ */
.section {
  padding: clamp(64px, 8vw, 116px) clamp(18px, 4vw, 56px);
}

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 40px;
}

.section-heading > p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.06rem;
}

.page-hero {
  padding-top: clamp(120px, 14vw, 168px);
  padding-bottom: clamp(40px, 6vw, 64px);
  text-align: left;
}

.page-hero p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.1rem;
}

.intro {
  padding-top: 8px;
  padding-bottom: 48px;
}

.intro p {
  max-width: 900px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
}

/* ============================================================
   Why band
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.why-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color var(--dur-med) var(--ease), transform var(--dur-med) var(--ease);
}

.why-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}

.why-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
}

.why-icon svg {
  width: 20px;
  height: 20px;
}

.why-card p {
  color: var(--muted);
}

/* ============================================================
   Service cards
   ============================================================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color var(--dur-med) var(--ease), transform var(--dur-med) var(--ease);
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.service-card p {
  color: var(--muted);
}

.icon-box {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 8px;
  color: var(--accent);
  background: var(--accent-soft);
  font-family: var(--font-mono);
  font-weight: 600;
}

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(48px, 7vw, 80px) clamp(18px, 4vw, 56px);
  margin: 0 clamp(18px, 4vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 12% 20%, rgba(var(--accent-rgb), 0.14), transparent 22rem),
    var(--bg-soft);
}

.cta-band h2 {
  margin-bottom: 8px;
}

.cta-band-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================================================
   Portfolio / Work
   ============================================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.portfolio-card {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color var(--dur-med) var(--ease), transform var(--dur-med) var(--ease);
}

.portfolio-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}

.portfolio-card > span {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.portfolio-card strong {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

.portfolio-screen {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #08080a;
}

.portfolio-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(244, 241, 234, 0.06) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 900ms var(--ease);
}

.portfolio-card:hover .portfolio-screen::after {
  transform: translateX(120%);
}

.portfolio-screen-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-placeholder {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(var(--accent-rgb), 0.22), rgba(127, 169, 199, 0.12)),
    #08080a;
}

.portfolio-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #08080a;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.portfolio-card.is-client-demo {
  border-color: var(--accent);
}

.portfolio-demo-link {
  width: max-content;
}

/* ============================================================
   Process / timeline
   ============================================================ */
.process {
  background: var(--bg-soft);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.timeline div {
  padding: 28px;
  background: var(--bg-soft);
}

.timeline span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 6px;
  color: var(--accent);
  background: var(--accent-soft);
  font-family: var(--font-mono);
  font-weight: 600;
}

.timeline p {
  color: var(--muted);
}

/* ============================================================
   Pricing
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.price-card {
  display: flex;
  min-height: 500px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease);
}

.price-card:hover {
  transform: translateY(-4px);
}

.price-card.featured {
  border-color: var(--accent);
  background:
    radial-gradient(circle at 20% 0%, rgba(var(--accent-rgb), 0.12), transparent 20rem),
    var(--bg-soft);
  transform: translateY(-14px);
  box-shadow: var(--shadow);
}

.price-card.featured:hover {
  transform: translateY(-18px);
}

.price-card li {
  color: var(--muted);
}

.tag {
  display: inline-flex;
  width: max-content;
  margin-bottom: 22px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--accent-ink);
  background: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
}

.price {
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: 3rem;
  line-height: 1;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.price-card ul {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.price-card li {
  display: flex;
  gap: 10px;
}

.price-card li::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.price-card .button {
  margin-top: auto;
}

/* ============================================================
   Proof stats
   ============================================================ */
.proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.proof div {
  padding: 32px;
  background: var(--bg-soft);
}

.proof strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 2.8rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}

.proof span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ============================================================
   Order form
   ============================================================ */
.order-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1.1fr);
  align-items: start;
  gap: clamp(32px, 7vw, 92px);
}

.order-section > div:first-child p:not(.eyebrow) {
  max-width: 520px;
  color: var(--muted);
  font-size: 1.06rem;
}

.contact-meta {
  display: grid;
  gap: 14px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.contact-meta div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.95rem;
}

.contact-meta span:first-child {
  color: var(--muted);
}

.contact-meta span:last-child {
  font-family: var(--font-mono);
  color: var(--ink);
}

.order-form {
  display: grid;
  gap: 18px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

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

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 12px 15px;
  color: var(--ink);
  background: var(--bg);
  outline: none;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

textarea {
  min-height: auto;
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

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

details {
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

details[open] {
  border-color: var(--line-strong);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  font-size: 1.04rem;
  font-weight: 600;
}

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

summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 1.3rem;
  transition: transform var(--dur-med) var(--ease);
}

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

details p {
  margin: 14px 0 0;
  color: var(--muted);
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 46px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
}

.footer p {
  max-width: 440px;
  margin: 16px 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 20px;
  font-weight: 500;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--ink);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1000px) {
  .service-grid,
  .timeline,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero,
  .order-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .pricing-grid,
  .portfolio-grid,
  .proof {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }

  .price-card.featured:hover {
    transform: translateY(-4px);
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 14px 18px;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 66px 12px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(10, 10, 13, 0.98);
    box-shadow: var(--shadow);
  }

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

  .nav a {
    padding: 12px;
  }

  .nav-cta {
    text-align: center;
  }

  .service-grid,
  .timeline,
  .why-grid {
    grid-template-columns: 1fr;
  }

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

  .code-window {
    width: 100%;
  }

  .browser-frame {
    width: 92%;
  }

  .stat-card {
    width: 170px;
    padding: 14px;
  }

  .footer {
    flex-direction: column;
  }
}

/* ============================================================
   Contact honeypot, legal pages, footer details
   ============================================================ */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note a,
.legal a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-company {
  font-size: 0.85rem;
}

.legal h3 {
  margin: 32px 0 8px;
  font-size: 1.1rem;
}

.legal p {
  max-width: 68ch;
  color: var(--muted);
}

.legal .legal-updated {
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

/* ============================================================
   Language switcher
   ============================================================ */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.lang-switch a {
  padding: 4px 9px;
  border-radius: 999px;
}

.nav .lang-switch a[aria-current="true"] {
  color: var(--accent-ink);
  background: var(--accent);
  font-weight: 700;
}

@media (max-width: 720px) {
  .lang-switch {
    align-self: flex-start;
    margin: 6px 12px 12px;
  }

  .lang-switch a {
    padding: 8px 14px;
  }
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 0.88rem;
}

.footer-social a {
  text-underline-offset: 3px;
}
