:root {
  --bg: #1c1a17;
  --bg-elevated: #24211d;
  --border: #343029;
  --chip: #3a352e;
  --text: #f6f1e8;
  --text-dim: #b9b1a4;
  --text-dimmer: #9a9185;
  --flame-orange: #fe9314;
  --flame-amber: #feb81c;
  --flame-yellow: #ffd648;
  --glow-soft: rgba(254, 184, 28, 0.16);
  --glow-orange-soft: rgba(254, 147, 20, 0.22);
  --radius: 14px;
  --max-width: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(28, 26, 23, 0.82);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
nav.wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-weight: 700; font-size: 17px; letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 44px; height: 44px; padding: 4px; flex-shrink: 0; object-fit: contain;
  border-radius: 11px;
  background: var(--chip);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 0 12px var(--glow-soft);
}
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--text-dim); }
.nav-links a { transition: color 0.15s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }

h1 {
  position: relative;
  font-size: clamp(40px, 6vw, 68px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05;
  max-width: 760px; margin: 0 auto 20px;
}
h1 .spark {
  background: linear-gradient(90deg, var(--flame-orange), var(--flame-amber) 55%, var(--flame-yellow));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.page-head { padding: 88px 0 24px; text-align: center; }
.page-head h1 { font-size: clamp(34px, 4.8vw, 52px); margin: 0 auto 14px; }
.page-head p { color: var(--text-dim); font-size: clamp(16px, 1.8vw, 19px); max-width: 560px; margin: 0 auto; }

.block { text-align: center; padding: 80px 0; border-top: 1px solid var(--border); }
.label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--flame-amber); margin-bottom: 14px;
}
.block h2 {
  font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2;
  max-width: 680px; margin: 0 auto 20px;
}
.block p { color: var(--text-dim); font-size: 17px; max-width: 620px; margin: 0 auto 16px; }
.block p:last-child { margin-bottom: 0; }

.principles {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: 980px; margin: 44px auto 0; text-align: left;
}
.principle {
  padding: 26px; border: 1px solid var(--border); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-elevated), #1f1c18);
}
.principle h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.principle .dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: var(--flame-yellow); box-shadow: 0 0 10px 2px var(--flame-amber);
}
.principle p { font-size: 15px; margin: 0; max-width: none; }

.cta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 10px;
  padding: 13px 24px; border-radius: 999px;
  background: linear-gradient(90deg, var(--flame-orange), var(--flame-amber));
  color: #14100a; font-weight: 700; font-size: 14px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cta:hover { transform: translateY(-1px); box-shadow: 0 6px 24px -4px var(--glow-orange-soft); }
.inline-link { color: var(--flame-amber); font-weight: 600; }
.inline-link:hover { text-decoration: underline; }

.contact-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px;
  max-width: 720px; margin: 36px auto 0; text-align: left;
}
.contact-card {
  padding: 26px; border: 1px solid var(--border); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-elevated), #1f1c18);
}
.contact-card .label { margin-bottom: 10px; }
.contact-card a { display: block; color: var(--text); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; margin-bottom: 6px; word-break: break-all; }
.contact-card a:hover { color: var(--flame-amber); }
.contact-card p { font-size: 14px; margin: 0; color: var(--text-dimmer); max-width: none; }
.contact-card.company { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.contact-card.company .label { margin: 0; }
.contact-card.company p { font-size: 15px; color: var(--text-dim); }

footer { border-top: 1px solid var(--border); padding: 36px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-dimmer); }
.footer-brand img {
  width: 30px; height: 30px; padding: 4px; object-fit: contain;
  border-radius: 8px; background: var(--chip);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}
.footer-links { display: flex; gap: 24px; font-size: 13px; color: var(--text-dim); }
.footer-links a:hover { color: var(--text); }

@media (max-width: 760px) {
  .nav-links { gap: 18px; }
  .page-head { padding: 56px 0 12px; }
  .block { padding: 56px 0; }
  .principles, .contact-grid { grid-template-columns: 1fr; }
}
