/* ================================================================
   AL — Individual Entrepreneur ARTSIOM LEBIADZEU
   Light, business-like software-studio style.
   Type: Manrope (display) + Inter (body).
   Accent: calm blue -> violet gradient, spent on a few key moments.
   ================================================================ */

:root {
  --bg: #fafafb;
  --surface: #ffffff;
  --surface-2: #f3f4f7;
  --text: #101019;
  --text-2: #5b5e6e;
  --text-3: #8a8da0;
  --line: #e7e8ee;
  --accent-a: #4f6bf5;
  --accent-b: #8b5cf6;
  --accent-soft: #eef1fe;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow-card: 0 1px 2px rgba(16, 16, 25, 0.04), 0 12px 32px -16px rgba(16, 16, 25, 0.10);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, .wordmark {
  font-family: "Manrope", "Inter", sans-serif;
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- shared section furniture ---------- */

section { padding: 96px 0; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--text-2);
  max-width: 620px;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 251, 0.85);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.site-header.scrolled { border-bottom-color: var(--line); }

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
}

.brand-mark--img {
  background: none;
  object-fit: cover;
}

.wordmark {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a:not(.btn) {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s ease;
}

.site-nav a:not(.btn):hover { color: var(--text); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
  box-shadow: 0 8px 20px -8px rgba(95, 99, 245, 0.5);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -8px rgba(95, 99, 245, 0.55);
}

.btn-secondary {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
}

.btn-secondary:hover { border-color: #c9ccda; }

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

/* ---------- hero ---------- */

.hero {
  padding: 120px 0 110px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -240px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 560px;
  background:
    radial-gradient(closest-side, rgba(79, 107, 245, 0.10), transparent 70%),
    radial-gradient(closest-side, rgba(139, 92, 246, 0.08), transparent 70%);
  pointer-events: none;
}

.hero .container { position: relative; }

.hero h1 {
  font-size: clamp(31px, 7.2vw, 76px);
  font-weight: 800;
  line-height: 1.06;
  margin-bottom: 8px;
}

.hero-pill {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 28px 12px;
  max-width: 100%;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(95deg, var(--accent-a), var(--accent-b));
  transform: rotate(-1.5deg);
  box-shadow: 0 18px 40px -18px rgba(107, 99, 246, 0.55);
}

.hero-sub {
  max-width: 640px;
  margin: 28px auto 0;
  font-size: 19px;
  color: var(--text-2);
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* ---------- about ---------- */

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.about-panel {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  padding: 56px;
}

.about-text p { color: var(--text-2); }
.about-text p + p { margin-top: 16px; }
.about-text p strong { color: var(--text); font-weight: 600; }

.about-facts {
  display: grid;
  gap: 14px;
  align-content: start;
}

.fact {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg);
}

.fact-icon {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-a);
}

.fact b { display: block; font-size: 15px; font-weight: 600; }
.fact span { font-size: 13.5px; color: var(--text-3); }

/* ---------- card grids ---------- */

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: #d8dbe8;
  box-shadow: var(--shadow-card);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: var(--accent-soft);
  color: var(--accent-a);
}

.card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

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

/* ---------- business model ---------- */

.model-panel {
  padding: 56px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
}

.model-text p { color: var(--text-2); }
.model-text p + p { margin-top: 16px; }

.model-points { display: grid; gap: 14px; }

.point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg);
}

.point-dot {
  flex: none;
  margin-top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
}

.point b { display: block; font-size: 15.5px; font-weight: 600; }
.point span { font-size: 14px; color: var(--text-2); }

/* ---------- business information ---------- */

.info-panel { padding: 20px 56px; }

.info-table { width: 100%; border-collapse: collapse; }

.info-table tr + tr { border-top: 1px solid var(--line); }

.info-table th,
.info-table td {
  text-align: left;
  padding: 18px 0;
  vertical-align: top;
}

.info-table th {
  width: 38%;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.02em;
  padding-right: 24px;
}

.info-table td { font-size: 16px; font-weight: 500; }

.info-address {
  margin-top: 18px;
  padding: 0 56px 28px;
  font-size: 13.5px;
  color: var(--text-3);
}

/* ---------- contact ---------- */

.contact { text-align: center; }

.contact-panel {
  padding: 72px 40px;
  position: relative;
  overflow: hidden;
}

.contact-panel::before {
  content: "";
  position: absolute;
  inset: auto -120px -180px -120px;
  height: 320px;
  background:
    radial-gradient(closest-side, rgba(79, 107, 245, 0.08), transparent 70%),
    radial-gradient(closest-side, rgba(139, 92, 246, 0.07), transparent 70%);
  pointer-events: none;
}

.contact-panel > * { position: relative; }

.contact .section-sub { margin: 0 auto; }

.contact-email {
  display: inline-block;
  margin: 26px 0 30px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  font-size: 14px;
  color: var(--text-3);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-2); transition: color 0.2s ease; }
.footer-links a:hover { color: var(--text); }

.footer-legal { margin-top: 10px; font-size: 13px; }

/* ---------- reveal-on-scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .btn { transition: none; }
}

/* ---------- privacy page ---------- */

.legal-page { padding: 72px 0 96px; }
.legal-page .container { max-width: 760px; }
.legal-page h1 { font-size: clamp(32px, 5vw, 44px); font-weight: 800; margin-bottom: 8px; }
.legal-updated { color: var(--text-3); font-size: 14px; margin-bottom: 40px; }
.legal-page h2 { font-size: 21px; font-weight: 700; margin: 36px 0 12px; }
.legal-page p, .legal-page li { color: var(--text-2); }
.legal-page ul { padding-left: 22px; margin: 12px 0; }
.legal-page a.inline { color: var(--accent-a); font-weight: 500; }

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .about-panel, .model-panel { grid-template-columns: 1fr; gap: 36px; padding: 40px; }
  .info-panel { padding: 8px 40px; }
  .info-address { padding: 0 40px 24px; }
}

@media (max-width: 640px) {
  section { padding: 64px 0; }
  .hero { padding: 80px 0 72px; }
  .site-nav a:not(.btn) { display: none; }
  .wordmark { font-size: 13px; max-width: 46vw; }
  .grid-4 { grid-template-columns: 1fr; }
  .about-panel, .model-panel { padding: 28px 22px; }
  .info-panel { padding: 4px 22px; }
  .info-address { padding: 0 22px 20px; }
  .info-table th { width: 42%; font-size: 13px; padding-right: 14px; }
  .info-table td { font-size: 14.5px; }
  .contact-panel { padding: 52px 22px; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}
