:root {
  --bg: #f8f3e7;
  --surface: #fffaf0;
  --surface-strong: #101820;
  --text: #15221e;
  --muted: #66706b;
  --accent: #ff4f38;
  --accent-two: #00a884;
  --accent-three: #7b4dff;
  --ink: #101820;
  --border: #1b2a24;
  --shadow: rgba(16, 24, 32, .16);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(135deg, rgba(255, 79, 56, .12) 0 18%, transparent 18% 100%),
    linear-gradient(315deg, rgba(0, 168, 132, .16) 0 14%, transparent 14% 100%),
    var(--bg);
  color: var(--text);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .36;
  background-image:
    linear-gradient(rgba(16, 24, 32, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 24, 32, .08) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, #000 0 58%, transparent 100%);
}
a { color: inherit; text-decoration: none; }
button, .btn { font: inherit; }
.container { width: min(1160px, 100%); margin: 0 auto; padding: 0 1.4rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 243, 231, .84);
  border-bottom: 2px solid rgba(16, 24, 32, .12);
  backdrop-filter: blur(14px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 0; }
.brand { display: flex; align-items: center; gap: .85rem; min-width: 0; }
.brand-mark {
  width: 3.1rem;
  height: 3.1rem;
  display: grid;
  place-items: center;
  color: #fffaf0;
  background: conic-gradient(from 210deg, var(--accent), var(--accent-three), var(--accent-two), var(--accent));
  clip-path: polygon(12% 0, 100% 16%, 84% 100%, 0 78%);
  font-weight: 900;
  box-shadow: 7px 7px 0 var(--ink);
}
.eyebrow {
  margin: 0 0 .75rem;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.brand-eyebrow { margin-bottom: .2rem; color: var(--accent-two); }
.brand-title { margin: 0; font-size: 1rem; font-weight: 900; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.site-nav a {
  padding: .7rem .85rem;
  border: 1px solid transparent;
  border-radius: 0;
  color: var(--ink);
  font-size: .94rem;
  font-weight: 800;
}
.site-nav a:hover { border-color: var(--border); background: var(--surface); transform: rotate(-1deg); }
.menu-toggle {
  display: none;
  border: 2px solid var(--ink);
  background: var(--accent);
  color: #fffaf0;
  padding: .75rem 1rem;
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 4.5rem;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 2px solid var(--ink);
}
.hero::before {
  width: 22vw;
  height: 22vw;
  min-width: 180px;
  min-height: 180px;
  right: -7vw;
  top: 5rem;
  background: var(--accent-two);
  clip-path: polygon(0 0, 100% 22%, 72% 100%, 15% 74%);
  transform: rotate(13deg);
}
.hero::after {
  width: 15vw;
  height: 15vw;
  min-width: 120px;
  min-height: 120px;
  left: -5vw;
  bottom: 2rem;
  background: var(--accent-three);
  clip-path: polygon(20% 0, 100% 45%, 54% 100%, 0 68%);
  transform: rotate(-11deg);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr); gap: 3rem; align-items: center; }
.hero-copy {
  padding: 2.3rem 0;
}
.hero-copy h2 {
  max-width: 850px;
  margin: 0 0 1.15rem;
  font-size: clamp(2.65rem, 7vw, 6.8rem);
  line-height: .88;
  letter-spacing: 0;
  text-transform: uppercase;
}
.hero-copy p { max-width: 42rem; color: var(--muted); font-size: 1.08rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: .95rem 1.35rem;
  border: 2px solid var(--ink);
  color: var(--ink);
  font-weight: 950;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn-primary { background: var(--accent); color: #fffaf0; box-shadow: 5px 5px 0 var(--ink); }
.btn-secondary { background: var(--surface); }
.hero-panel {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
}
.prism-shard {
  position: absolute;
  border: 2px solid var(--ink);
  opacity: .95;
}
.prism-shard-one {
  width: 78%;
  height: 68%;
  background: var(--accent-three);
  clip-path: polygon(12% 0, 100% 18%, 74% 100%, 0 76%);
  transform: rotate(-8deg);
}
.prism-shard-two {
  width: 58%;
  height: 55%;
  right: 0;
  bottom: 1rem;
  background: var(--accent-two);
  clip-path: polygon(0 20%, 78% 0, 100% 82%, 22% 100%);
  transform: rotate(15deg);
}
.hero-panel-card {
  position: relative;
  width: min(390px, 100%);
  padding: 2rem;
  background: var(--surface);
  border: 2px solid var(--ink);
  box-shadow: 14px 14px 0 var(--ink);
  transform: rotate(2deg);
}
.panel-label { margin: 0 0 1rem; color: var(--accent-three); font-size: .82rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.hero-panel-card h3 { margin: 0 0 .8rem; font-size: clamp(2rem, 4vw, 3.15rem); line-height: .95; text-transform: uppercase; }
.hero-panel-card p { margin: 0; color: var(--muted); line-height: 1.7; }
.signal-stack { display: grid; gap: .6rem; margin-top: 1.35rem; }
.signal-stack span {
  display: flex;
  justify-content: space-between;
  padding: .8rem .9rem;
  background: #fff;
  border: 2px solid var(--ink);
  color: var(--ink);
  font-weight: 900;
}

.section { padding: 4.6rem 0; }
.section-tilted {
  background: var(--surface-strong);
  color: #fffaf0;
  clip-path: polygon(0 4%, 100% 0, 100% 94%, 0 100%);
}
.section-tilted .section-header p,
.section-tilted .card p { color: rgba(255, 250, 240, .74); }
.section-header { max-width: 43rem; margin-bottom: 2.4rem; }
.section-header h2 { margin: 0; font-size: clamp(2.2rem, 4vw, 4.2rem); line-height: .95; text-transform: uppercase; }
.section-header p { margin: 1rem 0 0; color: var(--muted); line-height: 1.7; }
.cards-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  position: relative;
  min-height: 250px;
  padding: 1.5rem;
  background: var(--surface);
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  color: var(--text);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translate(-3px, -3px) rotate(-1deg); box-shadow: 13px 13px 0 var(--ink); }
.section-tilted .card:nth-child(1) { background: #ffe75c; }
.section-tilted .card:nth-child(2) { background: #00a884; color: #fffaf0; }
.section-tilted .card:nth-child(3) { background: #ff715f; }
.card-raised { transform: translateY(-1rem) rotate(1deg); }
.card-dark { background: var(--surface-strong); color: #fffaf0; }
.card-dark p { color: rgba(255, 250, 240, .74); }
.card-index {
  display: inline-grid;
  place-items: center;
  min-width: 2.7rem;
  height: 2.7rem;
  margin-bottom: 2.3rem;
  border: 2px solid currentColor;
  font-weight: 950;
}
.card h3 { margin: 0 0 .75rem; font-size: 1.55rem; line-height: 1; text-transform: uppercase; }
.card p { margin: 0; color: var(--muted); line-height: 1.75; }

.split-section { display: grid; grid-template-columns: .72fr 1.28fr; gap: 2rem; align-items: start; }
.benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.benefit-grid .card:first-child { grid-column: span 2; min-height: 190px; background: #d9ff66; }

.section-contact { padding-top: 2rem; }
.contact-shell {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 2rem;
  align-items: start;
  padding-top: 3rem;
  padding-bottom: 3rem;
  border-top: 2px solid var(--ink);
}
.form-card {
  background: var(--accent-three);
  padding: 1.2rem;
  border: 2px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
  transform: rotate(-1deg);
}
.form-grid { display: grid; gap: 1rem; padding: 1rem; background: var(--surface); border: 2px solid var(--ink); }
.form-grid label { display: grid; gap: .5rem; font-weight: 900; color: var(--text); }
.form-grid input,
.form-grid textarea,
.form-grid select {
  width: 100%;
  border: 2px solid var(--ink);
  padding: 1rem;
  background: #fff;
  color: var(--text);
  font: inherit;
  outline: none;
}
.form-grid input:focus,
.form-grid textarea:focus { box-shadow: 5px 5px 0 var(--accent-two); }
.form-grid textarea { resize: vertical; min-height: 140px; }
.form-grid .btn { width: fit-content; }
.footer-inner { padding: 2rem 0; text-align: center; color: var(--muted); font-weight: 800; }

@media (max-width: 980px) {
  .hero-grid,
  .split-section,
  .contact-shell,
  .cards-grid,
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-grid .card:first-child { grid-column: auto; }
  .card-raised { transform: none; }
  .site-nav {
    position: absolute;
    top: 5.2rem;
    right: 1.4rem;
    left: 1.4rem;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    border: 2px solid var(--ink);
    box-shadow: 8px 8px 0 var(--ink);
    padding: .75rem;
    display: none;
  }
  .site-nav.open { display: flex; }
  .menu-toggle { display: inline-flex; }
}

@media (max-width: 640px) {
  .container { padding: 0 1rem; }
  .header-inner { align-items: flex-start; }
  .brand-title { white-space: normal; }
  .hero { padding: 3rem 0 3.5rem; }
  .hero-copy h2 { font-size: clamp(2.35rem, 15vw, 4rem); }
  .hero-panel { min-height: 360px; }
  .hero-panel-card { padding: 1.35rem; box-shadow: 8px 8px 0 var(--ink); }
  .section { padding: 3.5rem 0; }
  .section-tilted { clip-path: polygon(0 1.5%, 100% 0, 100% 98.5%, 0 100%); }
  .card { min-height: 220px; }
  .form-grid .btn { width: 100%; }
}
