:root {
  --primary-color: #ea580c;
  --primary-hover: #c2410c;
  --text-main: #1f2937;
  --text-muted: #4b5563;
  --bg-light: #fffdf8;
  --bg-alt: #fff7ed;
  --border-color: #e5e7eb;
  --container-width: 1000px;
  --transition: all 0.2s ease;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Hiragino Sans", "Yu Gothic", sans-serif;
  color: var(--text-main);
  background: var(--bg-light);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #2563eb;
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-color);
}

.container {
  width: min(var(--container-width), calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  max-width: 720px;
}

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-size: 22px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
}

.logo a {
  color: inherit;
}

.logo a:hover {
  text-decoration: none;
}

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

.nav a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 15px;
}

.nav a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

/* Hero */
.hero {
  padding: 100px 0 80px;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg-light) 100%);
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(32px, 8vw, 52px);
  line-height: 1.2;
  font-weight: 800;
  color: #111827;
}

.lead {
  max-width: 640px;
  margin: 0 auto 32px;
  font-size: 18px;
  color: var(--text-muted);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  border: none;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.2);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.3);
  text-decoration: none;
}

.btn-secondary {
  background: white;
  color: #111827;
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: #f9fafb;
  transform: translateY(-2px);
  text-decoration: none;
}

/* Sections */
.section {
  padding: 90px 0;
}

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

.section h2 {
  margin-top: 0;
  margin-bottom: 40px;
  font-size: 32px;
  font-weight: 800;
  text-align: center;
}

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

.card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}

.card h3 {
  margin: 0 0 16px;
  font-size: 20px;
  color: #111827;
}

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

.list {
  padding: 0;
  list-style: none;
}

.list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 16px;
  font-size: 17px;
}

.list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.contact-box {
  margin-top: 32px;
  padding: 24px;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  text-align: center;
}

/* Document pages */
.document {
  padding: 60px 0;
}

.document h1 {
  margin-bottom: 40px;
  font-size: 36px;
  font-weight: 800;
  border-bottom: 3px solid var(--primary-color);
  display: inline-block;
  padding-bottom: 8px;
}

.document h2 {
  margin-top: 48px;
  margin-bottom: 20px;
  font-size: 22px;
  text-align: left;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-color);
  background: white;
  padding: 60px 0 40px;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 14px;
}

.copyright {
  font-size: 14px;
}

/* Mobile */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    padding: 16px 0;
    gap: 12px;
  }

  .nav {
    gap: 16px;
  }

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

  .hero {
    padding: 60px 0 40px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .section {
    padding: 60px 0;
  }

  .document h1 {
    font-size: 28px;
  }
}
