:root {
  --reddit: #ff4500;
  --reddit-dark: #d93a00;
  --ink: #15110f;
  --muted: #665f59;
  --bg: #fff7f2;
  --surface: #ffffff;
  --line: #f0d8ca;
  --shadow: 0 22px 60px rgba(78, 36, 17, 0.13);
  --radius: 10px;
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 70px;
  padding: 12px max(20px, calc((100vw - 1100px) / 2));
  background: rgba(255, 247, 242, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--reddit);
  color: #fff;
  font-weight: 950;
}

.brand-name {
  font-size: 1.06rem;
}

.primary-nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 800;
}

.primary-nav a,
.footer-layout a {
  text-decoration: none;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-switcher {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
}

.language-switcher button {
  min-width: 38px;
  min-height: 36px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
}

.language-switcher button:last-child {
  border-right: 0;
}

.language-switcher button.is-active {
  background: var(--reddit);
  color: #fff;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 9px;
  padding: 0 18px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 900;
}

.nav-cta,
.button.primary {
  background: var(--reddit);
  color: #fff;
  box-shadow: 0 14px 34px rgba(255, 69, 0, 0.25);
}

.nav-cta:hover,
.button.primary:hover {
  background: var(--reddit-dark);
}

.button.secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 620px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-bg,
.hero-wash {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("assets/hero-community-marketing.webp");
  background-position: center right;
  background-size: cover;
  filter: saturate(1.05);
}

.hero-wash {
  background:
    linear-gradient(90deg, rgba(255, 247, 242, 0.98) 0%, rgba(255, 247, 242, 0.92) 43%, rgba(255, 247, 242, 0.56) 74%, rgba(255, 247, 242, 0.28) 100%),
    radial-gradient(circle at 22% 34%, rgba(255, 69, 0, 0.16), transparent 28%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-left: max(20px, calc((100vw - 1100px) / 2));
  padding: 72px 0;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--reddit);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 12px 0 0;
  color: var(--ink);
  letter-spacing: 0;
  line-height: 1.02;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(3rem, 6.2vw, 5.6rem);
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: #3f3934;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.hero-actions,
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 30px;
}

.hero-points {
  margin-top: 20px;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 69, 0, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 850;
}

.section {
  padding: 78px 0;
}

.services-section {
  background: #fff;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  overflow-wrap: break-word;
}

.section-head p:not(.section-kicker),
.contact-layout p {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.service-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.service-card {
  min-height: 230px;
  padding: 24px;
}

.service-number {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: #fff0e8;
  color: var(--reddit);
  font-weight: 950;
}

.service-card h3 {
  margin: 18px 0 0;
  font-size: 1.2rem;
  line-height: 1.2;
}

.service-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

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

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.contact-note {
  display: inline-grid;
  gap: 4px;
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.contact-note span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-note a {
  color: var(--reddit);
  font-weight: 900;
  text-decoration: none;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 850;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form .full,
.form-submit,
.form-status {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}

.contact-form textarea {
  min-height: 132px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--reddit);
  box-shadow: 0 0 0 4px rgba(255, 69, 0, 0.13);
}

.form-submit {
  width: 100%;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  padding: 28px 0;
  background: var(--ink);
  color: #fff;
}

.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  color: #fff;
}

.site-footer p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 900px) {
  .primary-nav {
    display: none;
  }

  .hero {
    min-height: 560px;
  }

  .hero-content {
    max-width: min(620px, calc(100% - 40px));
  }

  .service-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
  }

  .container {
    width: calc(100% - 28px);
    max-width: 350px;
    margin-left: 14px;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }

  .site-header {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
    padding: 12px 14px;
  }

  .header-actions {
    flex: 1 0 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .nav-cta {
    display: none;
  }

  .language-switcher button {
    min-width: 33px;
    min-height: 32px;
  }

  .hero {
    min-height: 0;
  }

  .hero-wash {
    background: linear-gradient(90deg, rgba(255, 247, 242, 0.98) 0%, rgba(255, 247, 242, 0.92) 62%, rgba(255, 247, 242, 0.5) 100%);
  }

  .hero-content {
    width: calc(100% - 28px);
    max-width: 350px;
    margin: 0 14px;
    padding: 58px 0 54px;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 10vw, 3.05rem);
    line-height: 1.06;
  }

  .hero-copy {
    font-size: 1rem;
  }

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

  .button {
    width: 100%;
  }

  .section {
    padding: 58px 0;
  }

  .section h2 {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
    line-height: 1.08;
  }

  .section-head {
    max-width: 100%;
  }

  .service-grid,
  .contact-layout {
    width: 100%;
    max-width: 100%;
  }

  .contact-section .container,
  .services-section .container {
    width: calc(100vw - 28px);
    max-width: 350px;
    overflow: hidden;
  }

  .contact-form,
  .service-card {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .footer-layout {
    align-items: flex-start;
    flex-direction: column;
  }
}
