/* Velmora landing — design tokens + global styles */

:root {
  /* Dark (default) */
  --bg: #0a0a0a;
  --bg-elev: #111111;
  --panel: #141414;
  --panel-2: #1a1a1a;
  --border: #232323;
  --border-strong: #2e2e2e;
  --text: #fafafa;
  --text-2: #d4d4d4;
  --muted: #8a8a8a;
  --muted-2: #5e5e5e;
  --accent: #f59e0b;
  --accent-2: #fbbf24;
  --accent-soft: rgba(245, 158, 11, 0.12);
  --accent-line: rgba(245, 158, 11, 0.28);
  --success: #10b981;
  --danger: #ef4444;
  --grid-line: rgba(255, 255, 255, 0.04);

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --container: 1200px;
  --header-h: 72px;

  --font-sans: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] {
  --bg: #fafaf9;
  --bg-elev: #ffffff;
  --panel: #ffffff;
  --panel-2: #f5f5f4;
  --border: #e7e5e4;
  --border-strong: #d6d3d1;
  --text: #0a0a0a;
  --text-2: #292524;
  --muted: #57534e;
  --muted-2: #a8a29e;
  --accent: #d97706;
  --accent-2: #f59e0b;
  --accent-soft: rgba(217, 119, 6, 0.10);
  --accent-line: rgba(217, 119, 6, 0.30);
  --grid-line: rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'cv11';
  letter-spacing: -0.005em;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ─── Header ─────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.site-header .inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  display: grid;
  place-items: center;
  color: #0a0a0a;
  font-weight: 700;
  font-size: 14px;
  font-family: var(--font-mono);
}

.nav-links {
  display: flex;
  gap: 4px;
}

.nav-links a {
  padding: 8px 14px;
  font-size: 14px;
  color: var(--text-2);
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--text); background: var(--panel-2); }

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

.icon-btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--text-2);
  border: 1px solid var(--border);
  background: var(--panel);
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.icon-btn:hover { color: var(--text); border-color: var(--border-strong); }
.icon-btn svg { width: 16px; height: 16px; }

.lang-switch {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
}
.lang-switch button {
  padding: 0 10px;
  height: 36px;
  color: var(--muted);
  transition: color 0.15s, background 0.15s;
}
.lang-switch button.is-active { color: var(--text); background: var(--panel-2); }

/* ─── Buttons ─────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 10px;
  transition: transform 0.1s, background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; }

.btn-primary {
  background: var(--accent);
  color: #0a0a0a;
  font-weight: 600;
}
.btn-primary:hover { background: var(--accent-2); }

.btn-secondary {
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--border-strong); background: var(--panel-2); }

.btn-ghost {
  color: var(--text-2);
}
.btn-ghost:hover { color: var(--text); }

/* ─── Hero ─────────────────────────── */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}

.hero .inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.hero h1 {
  font-size: clamp(40px, 5.6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero p.lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

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

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 14px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.15s, background 0.15s;
  min-height: 56px;
}
.store-btn:hover { border-color: var(--border-strong); background: var(--panel-2); }
.store-btn svg { width: 28px; height: 28px; flex: none; }
.store-btn .stack { display: flex; flex-direction: column; line-height: 1.1; }
.store-btn .small { font-size: 11px; color: var(--muted); font-family: var(--font-mono); letter-spacing: 0.04em; }
.store-btn .big { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }

.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.hero-stats > div .num {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-family: var(--font-sans);
  color: var(--text);
}
.hero-stats > div .lbl {
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Phone mockup in hero */
.hero-visual {
  display: grid;
  place-items: center;
  position: relative;
  height: 600px;
}

/* ─── Phone Mockup ─────────────────────────── */
.phone-frame {
  position: relative;
  width: 320px;
  height: 660px;
  background: #050505;
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    0 0 0 1px var(--border-strong),
    0 0 0 8px #0a0a0a,
    0 40px 80px rgba(0, 0, 0, 0.6),
    var(--shadow-lg);
}
[data-theme="light"] .phone-frame {
  background: #1c1917;
  box-shadow:
    0 0 0 1px #44403c,
    0 40px 80px rgba(0, 0, 0, 0.25);
}
.phone-frame::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 26px;
  background: #050505;
  border-radius: 0 0 14px 14px;
  z-index: 3;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #0d0d0d;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 26px 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #fafafa;
  font-weight: 600;
}
.phone-status .icons { display: flex; gap: 5px; align-items: center; }
.phone-status .icons span {
  width: 14px; height: 8px;
  border-radius: 2px;
  background: #fafafa;
  opacity: 0.9;
}
.phone-status .battery {
  width: 22px; height: 10px;
  border: 1px solid #fafafa;
  border-radius: 2px;
  position: relative;
  padding: 1px;
}
.phone-status .battery::after {
  content: "";
  display: block;
  width: 70%;
  height: 100%;
  background: #fafafa;
  border-radius: 1px;
}

/* App content inside phone */
.app-screen {
  flex: 1;
  background: #0d0d0d;
  color: #fafafa;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 13px;
  overflow: hidden;
}

.app-greeting {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.app-greeting .hello-small {
  font-size: 11px;
  color: #71717a;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.app-greeting .hello-big {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 2px;
  color: #fafafa;
}
.app-greeting .avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  display: grid;
  place-items: center;
  color: #0a0a0a;
  font-weight: 700;
  font-size: 13px;
  font-family: var(--font-mono);
}

.app-card {
  background: linear-gradient(140deg, rgba(245, 158, 11, 0.16), rgba(245, 158, 11, 0.04));
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 18px;
  padding: 16px;
}
.app-card .lbl {
  font-size: 10px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fbbf24;
  margin-bottom: 6px;
}
.app-card .val {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fafafa;
}
.app-card .delta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-size: 11px;
  color: #10b981;
  font-family: var(--font-mono);
}

.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.app-stat {
  background: #161616;
  border: 1px solid #232323;
  border-radius: 12px;
  padding: 10px 12px;
}
.app-stat .lbl {
  font-size: 9px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #71717a;
}
.app-stat .val {
  font-size: 15px;
  font-weight: 600;
  margin-top: 3px;
  letter-spacing: -0.01em;
  color: #fafafa;
}

.app-list {
  background: #161616;
  border: 1px solid #232323;
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.app-list .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}
.app-list .row .left { display: flex; gap: 9px; align-items: center; }
.app-list .row .ico {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: #232323;
  display: grid; place-items: center;
  color: #fbbf24;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 10px;
}
.app-list .row .name { color: #fafafa; }
.app-list .row .price { color: #fafafa; font-family: var(--font-mono); font-size: 11px; }

.app-tabbar {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: #0a0a0a;
  border-top: 1px solid #1c1c1c;
  padding: 12px 0 16px;
}
.app-tabbar .tab {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  color: #525252;
  border-radius: 8px;
}
.app-tabbar .tab.is-active { color: #fbbf24; background: rgba(245, 158, 11, 0.1); }
.app-tabbar .tab svg { width: 16px; height: 16px; }

/* Floating cards around hero phone */
.float-card {
  position: absolute;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
  font-size: 13px;
}
.float-card .lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.float-card .val {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}
.float-card.pos-1 { top: 60px; left: -10px; }
.float-card.pos-2 { bottom: 100px; right: -10px; }
.float-card .delta-up { color: var(--success); font-family: var(--font-mono); font-size: 11px; }

/* ─── Section ─────────────────────────── */
.section {
  padding: 100px 0;
  position: relative;
}
.section-head {
  text-align: center;
  margin-bottom: 64px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.section-eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
}
.section h2 {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.03em;
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 18px;
}
.section p.section-sub {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.55;
}

/* ─── Problem ─────────────────────────── */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.problem-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--panel);
  position: relative;
}
.problem-card .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}
.problem-card h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 10px;
}
.problem-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* ─── Solution ─────────────────────────── */
.solution-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.solution-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.solution-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  align-items: start;
}
.solution-item .check {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  display: grid;
  place-items: center;
  color: var(--accent);
}
.solution-item .check svg { width: 18px; height: 18px; }
.solution-item h4 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}
.solution-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* Solution visual: dashboard mockup card */
.dashboard-mock {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.dashboard-mock .title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.dashboard-mock .title-row h5 {
  font-size: 14px;
  font-weight: 600;
}
.dashboard-mock .title-row .pill {
  font-family: var(--font-mono);
  font-size: 10px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--muted);
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.dash-stat {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  background: var(--bg-elev);
}
.dash-stat .lbl { font-family: var(--font-mono); font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.dash-stat .val { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-top: 6px; }
.dash-stat .delta { font-family: var(--font-mono); font-size: 10px; color: var(--success); margin-top: 2px; }

.dash-chart {
  height: 140px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-elev);
  padding: 14px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
}
.dash-chart .bar {
  flex: 1;
  background: var(--panel-2);
  border-radius: 4px 4px 0 0;
  position: relative;
}
.dash-chart .bar.acc { background: linear-gradient(180deg, var(--accent), var(--accent-2)); }

/* ─── Features ─────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--panel);
  transition: border-color 0.15s, transform 0.15s;
}
.feature:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.feature .ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-bottom: 18px;
}
.feature .ico svg { width: 20px; height: 20px; }
.feature h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.feature p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* ─── Roles ─────────────────────────── */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.role {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--panel);
  display: flex;
  flex-direction: column;
}
.role .badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.role h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.role .sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
  font-family: var(--font-mono);
}
.role ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: var(--text-2);
}
.role ul li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.role ul li::before {
  content: "";
  display: block;
  width: 4px; height: 4px;
  margin-top: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
}
.role.is-future { opacity: 0.6; }
.role.is-future .badge { color: var(--muted); }

/* ─── Mobile section ─────────────────────────── */
.mobile-section {
  position: relative;
  background: var(--panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.mobile-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.mobile-wrap .left h2 { text-align: left; }
.mobile-wrap .left .section-head { text-align: left; margin: 0 0 32px; }
.mobile-wrap .qr-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}
.qr-card {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elev);
  display: flex;
  align-items: center;
  gap: 14px;
}
.qr-card .qr {
  width: 72px; height: 72px;
  border-radius: 8px;
  background: #fff;
  display: grid;
  place-items: center;
  flex: none;
  padding: 5px;
}
.qr-card .qr svg { width: 100%; height: 100%; }
.qr-card .info .small {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
}
.qr-card .info .big {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 2px;
}

.mobile-phones {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  gap: 24px;
  height: 700px;
}
.mobile-phones .phone-frame { transform: scale(0.95); }
.mobile-phones .phone-frame:nth-child(1) { transform: scale(0.85) translateY(20px) rotate(-5deg); opacity: 0.8; }
.mobile-phones .phone-frame:nth-child(3) { transform: scale(0.85) translateY(20px) rotate(5deg); opacity: 0.8; }

/* ─── Contact ─────────────────────────── */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.contact-info .item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info .item:last-child { border-bottom: none; }
.contact-info .item .ico {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--panel);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--accent);
  flex: none;
}
.contact-info .item h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.contact-info .item p { font-size: 14px; color: var(--muted); }
.contact-info .item a { color: var(--accent); }

.contact-form {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.form-row input, .form-row textarea {
  width: 100%;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.form-row input:focus, .form-row textarea:focus {
  border-color: var(--accent);
  background: var(--bg);
}
.form-row textarea { resize: vertical; min-height: 100px; }
.form-row.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row.cols .form-row { margin-bottom: 0; }

.form-submit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  gap: 12px;
}
.form-submit .note { font-size: 12px; color: var(--muted); }

/* ─── Footer ─────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  background: var(--bg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-grid .col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer-grid .col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-grid .col ul a { font-size: 14px; color: var(--text-2); transition: color 0.15s; }
.footer-grid .col ul a:hover { color: var(--accent); }
.footer-brand p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 16px;
  line-height: 1.55;
  max-width: 320px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}
.footer-bottom .right { display: flex; gap: 12px; align-items: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }
.footer-bottom .right .dot { color: var(--success); }

/* ─── Legal page ─────────────────────────── */
.legal-page {
  padding: 64px 0 96px;
  max-width: 760px;
  margin: 0 auto;
}
.legal-page h1 {
  font-size: 44px;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin-bottom: 12px;
}
.legal-page .updated {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 40px;
}
.legal-page h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 40px;
  margin-bottom: 12px;
}
.legal-page p, .legal-page li {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 12px;
}
.legal-page ul { padding-left: 20px; margin-bottom: 12px; }
.legal-page a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ─── Tweaks panel overrides ─────────────────────────── */
.tweaks-anchor { position: fixed; bottom: 24px; right: 24px; z-index: 60; }

/* ─── Responsive ─────────────────────────── */
@media (max-width: 960px) {
  .hero { padding: 56px 0 48px; }
  .hero .inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { height: auto; }
  .float-card { display: none; }
  .solution-wrap { grid-template-columns: 1fr; gap: 48px; }
  .features-grid, .problem-grid { grid-template-columns: 1fr; }
  .roles-grid { grid-template-columns: 1fr 1fr; }
  .mobile-wrap { grid-template-columns: 1fr; gap: 48px; }
  .mobile-phones { height: 560px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links { display: none; }
  .section { padding: 64px 0; }
}
@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .hero h1 { font-size: 36px; }
  .roles-grid { grid-template-columns: 1fr; }
  .form-row.cols { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}
