:root {
  color-scheme: dark;
  --ink: #f7f3ea;
  --muted: #aeb4bc;
  --paper: #111315;
  --surface: #171a1d;
  --line: rgba(255, 255, 255, 0.12);
  --amber: #ff9e20;
  --amber-soft: #f4c06c;
  --shadow: 0 24px 56px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 74% 28%, rgba(255, 158, 32, 0.16), transparent 30%),
    linear-gradient(135deg, #101214 0%, #17191c 55%, #0d0f11 100%);
}

body {
  margin: 0;
  min-height: 100vh;
}

a {
  color: inherit;
}

.site-header,
.hero,
.section,
.contact,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark,
.summary-mark {
  background: #111315;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 26px rgba(255, 158, 32, 0.18);
}

.nav {
  display: flex;
  gap: 8px;
}

.nav a {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  border-color: var(--line);
  color: var(--ink);
  outline: none;
}

.hero {
  min-height: calc(100vh - 88px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: clamp(32px, 7vw, 88px);
  align-items: center;
  padding: 30px 0 70px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--amber-soft);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 6.5vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.07rem, 2vw, 1.28rem);
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--amber);
  border-radius: 8px;
  padding: 0 18px;
  background: var(--amber);
  color: #111315;
  font-weight: 760;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 158, 32, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
}

.hero-emblem {
  display: block;
  width: 100%;
  border-radius: 8px;
  margin-bottom: 18px;
}

.summary p,
.grid p,
.contact p {
  color: var(--muted);
  line-height: 1.65;
}

.section,
.contact {
  padding: 68px 0;
  border-top: 1px solid var(--line);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.grid article {
  min-height: 172px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.045);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 28px 0 42px;
  color: var(--muted);
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero {
    min-height: auto;
    padding-top: 20px;
  }
}
