:root {
  --bg: #f5f2ea;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #ffffff;
  --text: #14243f;
  --muted: #536176;
  --line: rgba(20, 43, 79, 0.12);
  --accent: #e36729;
  --accent-dark: #a84717;
  --accent-soft: #f8dece;
  --deep: #142b4f;
  --deep-2: #1f457e;
  --shadow: 0 18px 60px rgba(20, 43, 79, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(227, 103, 41, 0.18), transparent 26%),
    radial-gradient(circle at right 20%, rgba(20, 43, 79, 0.14), transparent 28%),
    var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

body.admin-bar .site-header {
  top: 32px;
}

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

img {
  max-width: 100%;
  height: auto;
}

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

.narrow {
  width: min(calc(100% - 2rem), 820px);
}

.site-main {
  min-height: 60vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(247, 244, 237, 0.8);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-logo .custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.brand-logo .custom-logo {
  display: block;
  width: auto;
  max-width: 240px;
  max-height: 56px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.brand small {
  font-size: 0.78rem;
  color: var(--muted);
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--deep), var(--deep-2));
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  box-shadow: 0 16px 32px rgba(20, 43, 79, 0.18);
  animation: floatMark 5.5s ease-in-out infinite;
}

.site-nav .nav-menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav .nav-menu > li > a,
.nav-toggle {
  display: inline-flex;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.site-nav .nav-menu > li > a:hover,
.site-nav .nav-menu > li.current-menu-item > a,
.site-nav .nav-menu > li.current_page_item > a,
.site-nav .nav-menu > li.current-page-ancestor > a {
  background: #fff;
  box-shadow: 0 8px 30px rgba(16, 35, 26, 0.08);
}

.site-nav .nav-menu > li > a:hover {
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  cursor: pointer;
}

.hero,
.page-hero {
  padding: 4rem 0 4rem;
}

.page-hero-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.1;
  margin: 0 0 1rem;
}

h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.7rem, 6vw, 5rem);
  letter-spacing: -0.04em;
  max-width: 11ch;
}

h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.lead {
  font-size: 1.1rem;
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.8rem 0;
}

.button,
.tsd-contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.tsd-contact-form button:hover {
  transform: translateY(-3px) scale(1.01);
}

.button-primary,
.tsd-contact-form button {
  background: linear-gradient(135deg, var(--accent), #f18a51);
  color: #fff;
  box-shadow: 0 14px 30px rgba(227, 103, 41, 0.3);
}

.button-secondary {
  background: #fff;
  border: 1px solid var(--line);
}

.hero-points,
.plain-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-points li,
.industry-chip,
.check-list div {
  border: 1px solid rgba(16, 35, 26, 0.08);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 0.85rem 1rem;
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.hero-points li:hover,
.industry-chip:hover,
.check-list div:hover {
  transform: translateY(-4px);
  border-color: rgba(227, 103, 41, 0.22);
  background: rgba(255, 255, 255, 0.9);
}

.hero-card,
.feature-card,
.side-panel,
.product-card,
.contact-panel,
.contact-form-wrap,
.value-card,
.cta-box,
.stat-card,
.mini-grid article,
.post-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.hero-card:hover,
.feature-card:hover,
.side-panel:hover,
.product-card:hover,
.contact-panel:hover,
.contact-form-wrap:hover,
.value-card:hover,
.mini-grid article:hover,
.post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 70px rgba(20, 43, 79, 0.16);
  border-color: rgba(227, 103, 41, 0.18);
}

.hero-card {
  padding: 1.25rem;
  animation: heroLift 0.9s ease-out 0.2s both;
}

.stat-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--deep), var(--deep-2));
  color: #fff;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.stat-card::after {
  content: "";
  position: absolute;
  inset: -120% auto auto -20%;
  width: 55%;
  height: 280%;
  transform: rotate(24deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  animation: sheen 6s linear infinite;
}

.stat-card span,
.stat-card p {
  color: rgba(255, 255, 255, 0.82);
}

.stat-card strong {
  display: block;
  font-size: 1.7rem;
  margin: 0.45rem 0;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.mini-grid article {
  padding: 1.2rem;
}

.section {
  padding: 2rem 0 4.5rem;
}

.section-tinted {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.18));
  border-block: 1px solid rgba(16, 35, 26, 0.06);
}

.section-heading {
  margin-bottom: 2rem;
}

.feature-grid,
.value-grid,
.product-grid,
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.feature-card,
.value-card,
.product-card,
.post-card {
  padding: 1.5rem;
}

.industry-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.split-panel,
.two-column,
.contact-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.cta-section {
  padding-top: 0;
}

.cta-box {
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.side-panel,
.contact-panel,
.contact-form-wrap {
  padding: 1.6rem;
}

.quote {
  font-size: 1.25rem;
  color: var(--text);
  font-weight: 800;
}

.plain-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.plain-list li:last-child {
  border-bottom: 0;
}

.contact-points {
  display: grid;
  gap: 1rem;
}

.tsd-contact-form {
  display: block;
}

.tsd-contact-form label {
  display: block;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--text);
}

.tsd-contact-form input,
.tsd-contact-form textarea {
  width: 100%;
  margin-top: 0.45rem;
  border: 1px solid rgba(16, 35, 26, 0.12);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  font: inherit;
  background: rgba(255, 255, 255, 0.88);
}

.tsd-form-status {
  display: none;
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  font-weight: 700;
}

.tsd-form-status.is-visible {
  display: block;
}

.tsd-form-status.is-success {
  background: rgba(31, 135, 84, 0.12);
  color: #17623f;
}

.tsd-form-status.is-error {
  background: rgba(227, 103, 41, 0.12);
  color: var(--accent-dark);
}

.form-note {
  font-size: 0.92rem;
  margin-top: 0.8rem;
}

.entry-content,
.builder-canvas {
  color: var(--muted);
}

.entry-content > *:last-child,
.builder-canvas > *:last-child {
  margin-bottom: 0;
}

.builder-canvas {
  padding: 2rem 0 4rem;
}

.section-builder .entry-content {
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(20, 43, 79, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.site-footer {
  padding: 1.4rem 0 2.5rem;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero.reveal.is-visible .hero-copy > *:not(.hero-actions):not(.hero-points) {
  animation: fadeSlideUp 700ms ease both;
}

.hero.reveal.is-visible .hero-actions {
  animation: fadeSlideUp 700ms ease 0.15s both;
}

.hero.reveal.is-visible .hero-points {
  animation: fadeSlideUp 700ms ease 0.25s both;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroLift {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes floatMark {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@keyframes sheen {
  0% {
    transform: translateX(-180%) rotate(24deg);
  }

  100% {
    transform: translateX(360%) rotate(24deg);
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .feature-grid,
  .value-grid,
  .product-grid,
  .post-grid,
  .split-panel,
  .two-column,
  .contact-layout,
  .check-list {
    grid-template-columns: 1fr;
  }

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

  h1 {
    max-width: none;
  }
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.5rem);
    display: none;
    padding: 0.65rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: block;
  }

  .site-nav .nav-menu {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav .nav-menu > li > a {
    justify-content: center;
  }

  .footer-wrap,
  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero,
  .page-hero {
    padding-top: 4.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
