:root {
  --bg: #f4efe6;
  --bg-soft: #fbf8f1;
  --panel: rgba(255, 255, 255, 0.76);
  --panel-strong: #fffdf7;
  --ink: #1e2724;
  --muted: #56615d;
  --line: rgba(30, 39, 36, 0.14);
  --brand: #d1642a;
  --brand-deep: #a94816;
  --accent: #125c59;
  --accent-soft: #d7ebe8;
  --shadow: 0 24px 60px rgba(36, 31, 18, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shell: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(209, 100, 42, 0.18), transparent 28%),
    radial-gradient(circle at right 20%, rgba(18, 92, 89, 0.16), transparent 24%),
    linear-gradient(180deg, #f8f3ea 0%, var(--bg) 42%, #efe7da 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.018) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 85%);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  width: min(calc(100% - 32px), var(--shell));
  margin: 0 auto;
  padding-bottom: 48px;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  background: rgba(255, 251, 245, 0.74);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 30px rgba(34, 27, 17, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), #efb162);
  color: #fff7ef;
  font-family: "Syne", sans-serif;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.brand-logo {
  display: block;
  width: 62px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(34, 27, 17, 0.12));
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-copy strong {
  font-size: 0.98rem;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
}

.nav-console {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff8ef !important;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
}

.lang-button {
  min-width: 44px;
  padding: 8px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.lang-button.is-active {
  background: var(--ink);
  color: #fff8ef;
}

.menu-toggle {
  display: none;
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff8ef;
  font: inherit;
}

.hero {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 32px;
  align-items: stretch;
  padding: 72px 0 40px;
}

.hero-copy,
.hero-panel,
.problem-grid article,
.value-grid article,
.scenario-list article,
.workflow-grid article,
.advantage-panel,
.advantage-quote,
.closing-card {
  position: relative;
}

.hero-copy {
  padding: 18px 8px 18px 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--brand-deep);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
strong,
.card-tag {
  font-family: "Syne", sans-serif;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.93;
  letter-spacing: -0.04em;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.hero-text,
.section p,
.footer p,
.advantage-quote,
.hero-card p,
.hero-metrics p,
.scenario-list p,
.workflow-grid p,
.problem-grid p,
.value-grid p,
.advantage-panel p,
.closing-card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
}

.hero-text {
  max-width: 60ch;
  margin: 24px 0 0;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--brand);
  color: #fff7f1;
  box-shadow: 0 14px 30px rgba(209, 100, 42, 0.26);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
}

.hero-points {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.hero-points li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(18, 92, 89, 0.12);
}

.hero-panel {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 18px 0 0;
}

.hero-card,
.hero-metrics,
.problem-grid article,
.value-grid article,
.scenario-list article,
.workflow-grid article,
.advantage-panel,
.advantage-quote,
.closing-card {
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-lg);
  background: var(--panel);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 24px;
  background: linear-gradient(135deg, rgba(209, 100, 42, 0.12), rgba(255, 255, 255, 0.7));
}

.card-tag {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--brand-deep);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-card strong {
  display: block;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px;
}

.hero-metrics div,
.trust-strip span,
.workflow-grid article,
.scenario-list article,
.problem-grid article,
.value-grid article,
.advantage-panel,
.advantage-quote {
  transition: opacity 480ms ease, transform 480ms ease;
}

body.js-enhanced .motion-item {
  opacity: 0;
  transform: translateY(20px);
}

body.js-enhanced .motion-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

.hero-metrics div {
  padding: 18px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.hero-metrics span,
.scenario-list span,
.workflow-grid strong {
  color: var(--brand-deep);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-metrics strong {
  display: block;
  margin: 12px 0 6px;
  font-size: 1rem;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 10px 0 26px;
}

.trust-strip span {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 46px 0;
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin-bottom: 26px;
}

.section-heading.narrow {
  max-width: 760px;
}

.problem-grid,
.value-grid,
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.problem-grid article,
.value-grid article,
.workflow-grid article {
  padding: 24px;
}

.value-band {
  position: relative;
}

.value-band::before {
  content: "";
  position: absolute;
  inset: 18px -4% 18px 22%;
  z-index: -1;
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(18, 92, 89, 0.08), rgba(209, 100, 42, 0.08));
  transform: rotate(-2.5deg);
}

.scenario-list {
  display: grid;
  gap: 14px;
}

.scenario-list article {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 18px;
  padding: 22px 24px;
}

.scenario-list span {
  font-size: 1.8rem;
}

.workflow-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.workflow-grid article {
  min-height: 205px;
}

.workflow-grid strong {
  display: inline-block;
  margin-bottom: 16px;
}

.advantage-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 0.8fr;
  gap: 18px;
}

.advantage-panel,
.advantage-quote {
  padding: 26px;
}

.advantage-panel + .advantage-panel h3:first-child,
.advantage-quote p {
  margin-top: 0;
}

.advantage-panel h3 + p {
  margin-top: 0;
}

.advantage-panel h3:not(:first-child) {
  margin-top: 28px;
}

.advantage-panel.accent {
  background: linear-gradient(180deg, rgba(18, 92, 89, 0.11), rgba(255, 255, 255, 0.8));
}

.advantage-quote {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(209, 100, 42, 0.13), rgba(255, 255, 255, 0.84));
}

.advantage-quote p {
  font-size: 1.08rem;
}

.advantage-quote a {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 20px;
  color: var(--brand-deep);
  font-weight: 700;
}

.closing-card {
  padding: 36px;
  background: linear-gradient(135deg, rgba(30, 39, 36, 0.96), rgba(18, 92, 89, 0.9));
  color: #fff8ef;
}

.closing-card p,
.closing-card .eyebrow {
  color: rgba(255, 248, 239, 0.82);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  padding: 26px 0 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .hero,
  .advantage-columns {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 52px;
  }

  .workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--shell));
  }

  .topbar {
    display: grid;
    grid-template-columns: 1fr auto;
    border-radius: 26px;
  }

  .brand-logo {
    width: 54px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    padding-top: 10px;
    gap: 10px;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 10px 0;
  }

  .lang-switch {
    align-self: flex-start;
  }

  .nav-console {
    text-align: center;
  }

  h1 {
    font-size: clamp(2.6rem, 12vw, 4.3rem);
  }

  .problem-grid,
  .value-grid,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .scenario-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .topbar {
    top: 8px;
  }

  .hero,
  .section {
    padding-top: 34px;
  }

  .hero-card,
  .hero-metrics,
  .problem-grid article,
  .value-grid article,
  .scenario-list article,
  .workflow-grid article,
  .advantage-panel,
  .advantage-quote,
  .closing-card {
    border-radius: 22px;
  }

  .closing-card,
  .hero-card,
  .problem-grid article,
  .value-grid article,
  .scenario-list article,
  .workflow-grid article,
  .advantage-panel,
  .advantage-quote {
    padding: 22px;
  }
}