:root {
  color-scheme: light;
  --bg: #f7f7f4;
  --ink: #1c211e;
  --muted: #626b65;
  --line: #d8d9d2;
  --panel: #ffffff;
  --accent: #426b56;
  --accent-ink: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 247, 244, 0.92);
}

.brand {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.08em;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
}

.hero {
  min-height: 62vh;
  display: grid;
  align-items: end;
  padding: clamp(44px, 8vw, 96px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(rgba(247, 247, 244, 0.1), rgba(247, 247, 244, 0.85)),
    url("https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.hero-content {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
}

.document h1 {
  font-size: clamp(34px, 5vw, 56px);
}

h2 {
  margin: 0 0 16px;
  font-size: 24px;
}

h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.intro {
  max-width: 620px;
  margin: 0;
  color: #303832;
  font-size: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: var(--accent);
  font-weight: 700;
}

.button.primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.section {
  padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 72px);
}

.section.muted {
  border-top: 1px solid var(--line);
  background: #eceee8;
}

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

article {
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

article p,
.document p {
  color: var(--muted);
}

.document {
  max-width: 860px;
  padding: clamp(40px, 6vw, 80px) clamp(20px, 5vw, 72px);
}

.document h2 {
  margin-top: 32px;
}

.workflow-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 28px;
  align-items: center;
  padding: clamp(44px, 7vw, 86px) clamp(20px, 5vw, 72px);
  background: #101211;
  color: #f5f6f2;
}

.workflow-hero .intro {
  color: #c9d0ca;
}

.app-icon {
  width: 180px;
  height: 180px;
  border: 1px solid #2d3330;
  border-radius: 24px;
  object-fit: cover;
}

.workflow-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 560px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.workflow-sidebar {
  padding: 28px;
  border-right: 1px solid var(--line);
  background: #eef0eb;
}

.sidebar-title {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.account-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.account-row img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
}

.account-row span,
.timeline span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.status-pill,
.draft-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.status-pill {
  margin-top: 22px;
  background: #d9eee6;
  color: #1f5f48;
}

.workflow-main {
  padding: clamp(28px, 4vw, 48px);
}

.workflow-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 24px;
}

.workflow-header p {
  margin: 0;
  color: var(--muted);
}

.draft-badge {
  background: #e8edf7;
  color: #274a7a;
}

.publish-grid {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: 18px;
}

.phone-preview,
.review-panel {
  min-height: 380px;
}

.video-frame {
  display: grid;
  place-items: center;
  aspect-ratio: 9 / 16;
  max-height: 420px;
  border-radius: 8px;
  background:
    linear-gradient(rgba(16, 18, 17, 0.18), rgba(16, 18, 17, 0.55)),
    url("https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=900&q=80") center/cover;
  color: #ffffff;
  font-weight: 700;
  text-align: center;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8f9f6;
}

.caption-box {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbf8;
}

.caption-box p {
  margin-bottom: 0;
}

.workflow-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.workflow-actions button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: #ffffff;
  color: var(--accent);
  font: inherit;
  font-weight: 700;
}

.workflow-actions .primary-action {
  background: var(--accent);
  color: var(--accent-ink);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.timeline div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f8f5;
}

footer {
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

footer p {
  margin: 4px 0;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: 68vh;
  }

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

  .workflow-hero,
  .workflow-shell,
  .publish-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .workflow-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .app-icon {
    width: 132px;
    height: 132px;
  }
}
