:root {
  --bg: #f8f5f0;
  --panel: #ffffff;
  --text: #2b2b2b;
  --muted: #6b7280;
  --accent: #c2410c;
  --accent-hover: #ea580c;
  --success: #16a34a;
  --error: #dc2626;
  --warning: #f59e0b;
  --border: #e5e0d8;
  --ink: #202020;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(229, 224, 216, 0.72);
  background: rgba(248, 245, 240, 0.94);
  backdrop-filter: blur(12px);
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand span {
  display: grid;
  gap: 2px;
}

.brand strong {
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

nav a {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

nav a:hover {
  color: var(--accent);
}

.language-switcher {
  display: inline-flex;
  gap: 0;
  border: 1px solid var(--border);
  background: var(--panel);
}

.language-switcher button {
  min-width: 46px;
  height: 38px;
  border: 0;
  border-right: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

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

.language-switcher button.active {
  background: var(--accent);
  color: #ffffff;
}

.hero {
  min-height: 620px;
  height: calc(100vh - 132px);
  max-height: 780px;
  display: flex;
  align-items: center;
  padding: clamp(32px, 6vw, 76px);
  background:
    linear-gradient(90deg, rgba(32, 32, 32, 0.88) 0%, rgba(32, 32, 32, 0.76) 42%, rgba(32, 32, 32, 0.18) 100%),
    url("assets/screenshots/shadow.png") center right / cover no-repeat;
}

.hero-copy {
  width: min(720px, 100%);
  min-width: 0;
  color: #ffffff;
}

.hero-copy span,
.section-kicker {
  color: #fed7aa;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 {
  margin: 12px 0;
  font-size: clamp(72px, 10vw, 138px);
  line-height: 0.9;
}

.hero p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.28;
  font-weight: 800;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--accent);
  font-weight: 900;
}

.button.primary {
  color: #ffffff;
  background: var(--accent);
}

.button.primary:hover {
  background: var(--accent-hover);
}

.button.secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 92px) 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1.2fr);
  gap: 32px;
  align-items: start;
}

.section-kicker {
  color: var(--accent);
}

h2 {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1;
}

.intro p,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.45;
  font-weight: 700;
}

.section-title {
  max-width: 760px;
  margin-bottom: 28px;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.module-grid article,
.workflow-line article,
.metrics article,
.contact {
  border: 1px solid var(--border);
  background: var(--panel);
}

.module-grid article {
  min-height: 220px;
  padding: 22px;
}

.module-grid span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  background: var(--accent);
  color: #ffffff;
  font-weight: 900;
}

h3 {
  margin: 18px 0 10px;
  color: var(--ink);
  font-size: 24px;
}

.module-grid p,
.workflow-line p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-weight: 700;
}

.screen-feature {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 12px;
  align-items: stretch;
}

figure {
  margin: 0;
  border: 1px solid var(--border);
  background: var(--panel);
}

figure img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  object-position: top center;
}

.phone-shot img {
  object-fit: contain;
  background: var(--ink);
}

.left-shot img {
  object-position: top left;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.screen-grid figure img {
  height: 260px;
  min-height: 260px;
}

.workflow-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.workflow-line article {
  padding: 22px;
}

.workflow-line b {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #ffffff;
  background: var(--ink);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.metrics article {
  padding: 24px;
}

.metrics strong {
  display: block;
  color: var(--accent);
  font-size: 42px;
  line-height: 1;
}

.metrics span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(28px, 4vw, 44px);
}

.contact h2 {
  max-width: 760px;
}

.contact p {
  max-width: 720px;
  margin-top: 14px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px 18px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-weight: 800;
}

.site-footer img {
  width: 34px;
  height: 34px;
}

@media (max-width: 920px) {
  .site-header,
  .intro,
  .screen-feature,
  .contact {
    display: grid;
  }

  .intro,
  .screen-feature,
  .contact {
    grid-template-columns: 1fr;
  }

  .module-grid,
  .workflow-line,
  .metrics,
  .screen-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: 680px;
    height: auto;
    background-position: center;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: static;
  }

  nav {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .hero {
    min-height: 640px;
    height: auto;
    padding: 28px 18px;
  }

  .hero-copy {
    width: 320px;
    max-width: 100%;
  }

  .hero-copy span {
    font-size: 12px;
  }

  .hero h1 {
    font-size: 70px;
  }

  .hero p {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.36;
    font-weight: 700;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .module-grid,
  .workflow-line,
  .metrics,
  .screen-grid {
    grid-template-columns: 1fr;
  }

}
