:root {
  --bg: #f7f4ee;
  --surface: #ffffff;
  --surface-soft: #fffaf1;
  --text: #1c1c1c;
  --muted: #66615a;
  --border: #e5ded2;
  --orange: #f47b20;
  --orange-dark: #d95f08;
  --charcoal: #252525;
  --shadow: 0 20px 50px rgba(28, 28, 28, 0.08);
  --radius: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    linear-gradient(rgba(247, 244, 238, 0.94), rgba(247, 244, 238, 0.94)),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 39px,
      rgba(244, 123, 32, 0.08) 40px
    );
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(2.7rem, 7vw, 5.25rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange-dark);
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

.hero-text {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.7;
}

.muted {
  color: var(--muted);
  line-height: 1.75;
}

.section { padding: 82px 0; }

.section.alt {
  background: rgba(255, 255, 255, 0.42);
  border-block: 1px solid var(--border);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.2s ease;
}

.btn.primary {
  background: var(--orange);
  color: white;
  box-shadow: 0 14px 28px rgba(244, 123, 32, 0.28);
}

.btn.primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
}

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

.btn.secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

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

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
}

.logo-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--orange);
  color: white;
  box-shadow: 0 10px 20px rgba(244, 123, 32, 0.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  border: 0;
  background: var(--charcoal);
  color: white;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 1.25rem;
  cursor: pointer;
}

/* Reusable cards */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.tool-card,
.project-card,
.guide-card,
.content-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 12px 30px rgba(28, 28, 28, 0.04);
  transition: 0.2s ease;
}

.tool-card:hover,
.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.tool-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 15px;
  background: #fff0df;
  color: var(--orange-dark);
  font-size: 1.4rem;
  font-weight: 900;
}

.tool-card h3,
.project-card h3,
.guide-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.tool-card p,
.project-card p,
.guide-card p {
  color: var(--muted);
  line-height: 1.6;
}

.tool-card a {
  display: inline-block;
  margin-top: 8px;
  color: var(--orange-dark);
  font-weight: 800;
}

.muted-card { opacity: 0.72; }

/* Footer */
.site-footer {
  padding: 34px 0;
  background: var(--charcoal);
  color: white;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: #cfcfcf;
  font-size: 0.9rem;
}

/* Footer */

.site-footer {
  margin-top: 0;
  padding: 56px 0 28px;
  background: var(--charcoal);
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 42px;
  padding-bottom: 34px;
}

.footer-brand {
  max-width: 380px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-weight: 900;
  font-size: 1.25rem;
}

.footer-logo .logo-mark {
  box-shadow: none;
}

.footer-grid h4 {
  margin: 0 0 16px;
  color: white;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-grid p {
  margin: 0;
  color: #cfcfcf;
  line-height: 1.7;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: #cfcfcf;
  font-weight: 600;
  transition: 0.2s ease;
}

.footer-links a:hover {
  color: white;
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #a9a9a9;
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.coming-soon-card {
  opacity: 0.72;
}

.soon-heading {
  margin-top: 30px;
}

.simple-page {
  padding: 72px 0 96px;
}

.simple-page-card {
  max-width: 820px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: var(--shadow);
}

.simple-page-card h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
  margin-bottom: 22px;
}

.simple-page-card p {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 18px;
}

.contact-box {
  display: grid;
  gap: 8px;
  margin: 28px 0;
  padding: 20px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.contact-box a {
  color: var(--orange-dark);
  font-weight: 900;
}

@media (max-width: 640px) {
  .simple-page {
    padding: 42px 0 72px;
  }

  .simple-page-card {
    padding: 24px;
  }
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
}

.footer-content p { margin-bottom: 0; }

@media (max-width: 900px) {
  .tool-grid { grid-template-columns: repeat(2, 1fr); }

  .nav-toggle { display: block; }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .nav-links.active { display: flex; }

  .nav-links a {
    padding: 14px;
    border-radius: 12px;
  }

  .nav-links a:hover { background: var(--surface-soft); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 24px, 1120px); }

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

  .btn { width: 100%; }

  .section { padding: 58px 0; }

  .footer-content { flex-direction: column; }
}
