:root {
  --bg: #070b16;
  --bg-2: #0b1120;
  --card: rgba(255, 255, 255, 0.045);
  --border: rgba(255, 255, 255, 0.1);
  --text: #e8ecf5;
  --muted: #9aa6bc;
  --navy: #0a1d44;
  --blue: #1d6fb8;
  --cyan: #2f9fe0;
  --orange: #d99a29;
  --orange-bright: #2f9fe0; /* accent aligned to logo X cyan */
  --violet: #8b5cf6; /* kept for soft fallbacks */
  --radius: 20px;
  --max: 1180px;
  --font: 'Inter', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --font-display: 'Space Grotesk', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --header-h: 78px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

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

.container {
  width: min(var(--max), 92%);
  margin-inline: auto;
}

section {
  padding: 96px 0;
  position: relative;
}

.section-muted {
  background: var(--bg-2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: 0.25s ease;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--navy), var(--cyan));
  color: #fff;
  box-shadow: 0 18px 40px rgba(47, 159, 224, 0.28);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 55px rgba(47, 159, 224, 0.38);
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

.glass {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 26px;
}

.gradient-text {
  background: linear-gradient(90deg, #1d6fb8, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-head p {
  color: var(--muted);
  font-size: 18px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(7, 11, 22, 0.72);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: contain;
  background: transparent;
  padding: 0;
  border: none;
  flex-shrink: 0;
}

.brand-mark--ox {
  width: 36px;
  height: 31px;
  padding: 0;
  background: transparent;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
  min-width: 0;
}

.brand-name {
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  color: #eef2ff;
}

.brand-x {
  color: var(--orange-bright);
}

.brand-sub {
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 500;
  font-family: var(--font);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 15px;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.lang-toggle:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.header-cta {
  padding: 11px 20px;
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Hero */
.hero {
  padding: 190px 0 110px;
  background:
    radial-gradient(700px 420px at 12% 8%, rgba(10, 29, 68, 0.35), transparent),
    radial-gradient(700px 420px at 88% 18%, rgba(47, 159, 224, 0.2), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: -2px;
}

.hero .lead {
  max-width: 640px;
  color: var(--muted);
  font-size: 19px;
  margin: 24px 0 18px;
}

.meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 42rem;
  margin: 0 0 28px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(47, 159, 224, 0.4);
  background: linear-gradient(135deg, rgba(10, 29, 68, 0.35), rgba(47, 159, 224, 0.16));
  color: #bfe7ff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.meta-note {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 40rem;
  margin: 0 0 1.5rem;
  padding-inline-start: 14px;
  border-inline-start: 3px solid rgba(47, 159, 224, 0.7);
}

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

.back-link {
  margin-top: 1.25rem;
  font-size: 0.95rem;
}

.back-link a {
  color: var(--cyan);
  text-decoration: none;
}

.back-link a:hover {
  text-decoration: underline;
}

.product-page-hero {
  padding-top: 160px;
}

.hero-card {
  padding: 28px;
}

.metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}

.metric:last-child {
  border: none;
}

.metric strong {
  font-family: var(--font-display);
  font-size: 26px;
}

.metric span {
  color: var(--muted);
  font-size: 14px;
}

/* Tech strip */
.tech-strip {
  padding: 28px 0 8px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.tech-strip-label {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tech-strip-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  list-style: none;
  color: #c7d2e5;
  font-weight: 600;
  font-size: 14px;
}

.tech-strip-list li {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

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

.card {
  padding: 32px;
  transition: 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(96, 165, 250, 0.45);
}

.icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  font-size: 24px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.22), rgba(139, 92, 246, 0.22));
  border: 1px solid var(--border);
}

.card h3 {
  font-size: 21px;
  margin-bottom: 12px;
}

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

/* Why / values */
.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.prose p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 1.02rem;
}

.value-grid {
  display: grid;
  gap: 16px;
}

.value-item {
  padding: 22px 24px;
}

.value-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.value-item p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Process */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step {
  padding: 30px;
}

.step-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  background: linear-gradient(90deg, #1d6fb8, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}

.step h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.step p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Portfolio */
.portfolio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project {
  overflow: hidden;
}

.project-thumb {
  height: 190px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.35), rgba(139, 92, 246, 0.35));
  overflow: hidden;
  display: grid;
  place-items: center;
}

.project-thumb--b {
  background: linear-gradient(145deg, #1a1020 0%, #2a1830 55%, #714b6722 100%);
}

.project-thumb--c {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.35), rgba(167, 139, 250, 0.35));
}

.project-thumb--logo {
  background:
    radial-gradient(420px 180px at 50% 40%, rgba(59, 130, 246, 0.18), transparent 70%),
    linear-gradient(160deg, #0b1220, #121a2e 60%, #0a101c);
  padding: 28px 32px;
}

.project-thumb--a.project-thumb--logo {
  background: #ffffff;
}

.project-thumb--b.project-thumb--logo {
  background:
    radial-gradient(420px 180px at 50% 45%, rgba(113, 75, 103, 0.28), transparent 70%),
    linear-gradient(160deg, #140e18, #1d1324 60%, #120d16);
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-thumb--logo img {
  width: auto;
  max-width: 78%;
  height: auto;
  max-height: 72%;
  object-fit: contain;
  opacity: 1;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
}

.project-body {
  padding: 26px;
}

.tag {
  font-size: 12px;
  color: #9fd8f5;
  border: 1px solid rgba(47, 159, 224, 0.35);
  padding: 5px 12px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 14px;
}

.project-body h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.project-body p {
  color: var(--muted);
  font-size: 0.95rem;
}

.project-cta {
  display: inline-flex;
  margin-top: 16px;
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}

.project-cta:hover {
  color: #7eccf3;
  text-decoration: underline;
}

/* Product spotlight */
.product-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.product-hero-grid .lead {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 0.75rem 0 1.25rem;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 1.5rem;
}

.cap-item {
  padding: 22px;
}

.cap-item h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.cap-item p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* OrderX Online product page */
.product-hero-frame {
  overflow: hidden;
  padding: 0.5rem;
}

.product-hero-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.ox-pillars {
  padding: 12px 0 56px;
}

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

.ox-pillar {
  padding: 22px;
}

.ox-pillar h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.ox-pillar p {
  color: var(--muted);
  font-size: 0.92rem;
}

.ox-stats {
  padding: 36px 0 28px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.ox-stats-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.ox-stats-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
}

.ox-stat {
  display: grid;
  gap: 4px;
}

.ox-stat strong {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: -0.03em;
}

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

.ox-stats-tags {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 18px;
}

.ox-audiences {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.ox-benefits .card h3 {
  font-size: 1.05rem;
}

.ox-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.ox-plan {
  padding: 28px 24px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.ox-plan--popular {
  border-color: rgba(47, 159, 224, 0.5);
  box-shadow: 0 0 0 1px rgba(47, 159, 224, 0.22), 0 18px 40px rgba(15, 23, 42, 0.35);
}

.ox-plan-price {
  margin: 0;
}

.ox-plan-price strong {
  font-family: var(--font-display);
  font-size: 2.2rem;
  letter-spacing: -0.03em;
}

.ox-plan-price span {
  color: var(--muted);
  font-size: 0.9rem;
}

.ox-plan > p {
  color: var(--muted);
  font-size: 0.95rem;
}

.ox-plans-more {
  text-align: center;
  margin-top: 28px;
}

.ox-cta-band {
  padding: 72px 0 96px;
}

.ox-cta-card {
  text-align: center;
  padding: 48px 28px;
  max-width: 820px;
  margin: 0 auto;
}

.ox-cta-card h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}

.ox-cta-card > p {
  color: var(--muted);
  margin-bottom: 24px;
}

.ox-cta-mail {
  margin-top: 20px;
  font-size: 0.95rem;
}

.ox-cta-mail a {
  color: #93c5fd;
  text-decoration: none;
}

.ox-cta-mail a:hover {
  text-decoration: underline;
}

body[data-page='orderx-online'] .brand-sub {
  max-width: 12rem;
}

/* Restaurant signup */
.signup-page {
  padding: 120px 0 96px;
}

.signup-back {
  max-width: 560px;
  margin: 0 auto 18px;
}

.signup-card {
  max-width: 560px;
  margin: 0 auto;
  padding: 36px 28px 28px;
}

.signup-card .eyebrow {
  text-align: center;
  margin-bottom: 10px;
}

.signup-card h1 {
  font-size: clamp(1.55rem, 3vw, 2rem);
  margin-bottom: 10px;
  text-align: center;
}

.signup-card > .lead {
  color: var(--muted);
  margin: 0 auto 14px;
  text-align: center;
  max-width: 36rem;
  font-size: 0.98rem;
}

.signup-meta-note {
  margin: 0 0 20px;
}

.signup-form {
  display: block;
  margin-top: 4px;
}

.signup-form .form-group {
  margin-bottom: 16px;
}

.signup-form .form-group > label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #c7d2e5;
  margin-bottom: 8px;
}

.signup-form .input {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 13px 15px;
  border-radius: 12px;
  background: rgba(7, 11, 22, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f3f6ff;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.4;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.signup-form textarea.input {
  min-height: 96px;
  resize: vertical;
}

.signup-form .input::placeholder {
  color: #8b97ad;
  opacity: 1;
}

.signup-form .input:focus {
  border-color: rgba(47, 159, 224, 0.75);
  box-shadow: 0 0 0 3px rgba(47, 159, 224, 0.18);
}

.signup-form .input:-webkit-autofill,
.signup-form .input:-webkit-autofill:hover,
.signup-form .input:-webkit-autofill:focus {
  -webkit-text-fill-color: #f3f6ff;
  caret-color: #f3f6ff;
  box-shadow: 0 0 0 1000px #121a2b inset;
  transition: background-color 99999s ease-out;
}

.slug-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(7, 11, 22, 0.55);
}

.slug-prefix {
  flex: 0 1 auto;
  max-width: 58%;
  display: flex;
  align-items: center;
  padding: 0 12px;
  color: #9aa6bc;
  font-size: 0.78rem;
  direction: ltr;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.slug-row .input {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}

.slug-row:focus-within {
  border-color: rgba(47, 159, 224, 0.75);
  box-shadow: 0 0 0 3px rgba(47, 159, 224, 0.18);
}

.form-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 8px 0 18px;
}

.signup-submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.plan-banner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  padding: 12px 14px;
  margin-bottom: 8px;
  border-radius: 14px;
  border: 1px solid rgba(47, 159, 224, 0.4);
  background: rgba(47, 159, 224, 0.1);
  font-size: 0.92rem;
}

.plan-banner a {
  color: var(--cyan);
  font-weight: 600;
  text-decoration: none;
}

.hint-msg {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 4px;
}

.hint-msg.ok {
  color: #86efac;
}

.hint-msg.warn {
  color: #fcd34d;
}

.error-msg {
  color: #fca5a5;
  font-size: 0.92rem;
}

.signup-footer-link {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.signup-footer-link a {
  color: #93c5fd;
  text-decoration: none;
  margin-inline-start: 6px;
}

.hidden {
  display: none !important;
}

.signup-success-panel {
  text-align: center;
  padding: 12px 0 4px;
}

.signup-success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(34, 197, 94, 0.18);
  color: #86efac;
  font-size: 1.5rem;
  font-weight: 700;
}

.signup-success-icon--pending {
  background: rgba(251, 191, 36, 0.16);
  color: #fcd34d;
}

.signup-success-title {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.signup-success-restaurant {
  color: var(--muted);
  margin-bottom: 14px;
}

.signup-success-badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.16);
  border: 1px solid rgba(96, 165, 250, 0.35);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.signup-success-note,
.signup-success-hint {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.signup-success-links {
  margin-bottom: 18px;
}

.signup-success-link {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  color: var(--text);
}

.signup-success-link-label {
  font-size: 0.85rem;
  color: var(--muted);
}

.signup-success-link-url {
  font-weight: 600;
  color: #93c5fd;
}

.signup-success-cta {
  width: 100%;
  justify-content: center;
}

@media (max-width: 560px) {
  .signup-card {
    padding: 28px 18px 22px;
  }

  .slug-prefix {
    max-width: 46%;
    font-size: 0.72rem;
    padding: 0 8px;
  }
}

/* Testimonials */
.testimonial {
  padding: 34px;
}

.testimonial > p {
  font-size: 18px;
  color: #dde4f0;
}

.person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--cyan));
  display: grid;
  place-items: center;
  font-weight: 700;
  flex-shrink: 0;
}

.person span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-channels {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  transition: 0.2s ease;
}

.contact-card:hover {
  border-color: rgba(96, 165, 250, 0.45);
}

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

.contact-form {
  padding: 34px;
  display: grid;
  gap: 18px;
}

.contact-form h3 {
  font-size: 1.25rem;
}

.form-hint {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: -6px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

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

.form-error {
  color: #fca5a5;
  font-size: 0.9rem;
}

/* Legal */
.legal-block .section-head,
.legal-block h2 {
  margin-bottom: 12px;
}

.legal-block .eyebrow {
  margin-bottom: 18px;
}

.legal-block p {
  color: var(--muted);
  margin-bottom: 0.85rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 44px 0;
  background: var(--bg-2);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 360px;
}

.footer-brand strong {
  color: var(--text);
  display: block;
  margin-bottom: 4px;
}

.footer-links,
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
}

.footer-links a:hover,
.footer-meta a:hover {
  color: #fff;
}

.footer-copy {
  width: 100%;
  margin-top: 4px;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .card:hover {
    transform: none;
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .grid-3,
  .portfolio,
  .contact,
  .why-grid,
  .product-hero-grid,
  .cap-grid,
  .ox-pillars-grid,
  .ox-audiences,
  .ox-plans {
    grid-template-columns: 1fr;
  }

  .ox-stats-inner {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    background: rgba(7, 11, 22, 0.96);
    border-bottom: 1px solid var(--border);
  }

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

  .site-nav a {
    padding: 14px 16px;
    border-radius: 12px;
  }

  .site-nav a:hover {
    background: rgba(255, 255, 255, 0.04);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

  section {
    padding: 72px 0;
  }

  .hero {
    padding: 150px 0 80px;
  }
}

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

  .hero h1 {
    letter-spacing: -1px;
  }

  .form-actions .btn {
    width: 100%;
  }
}
