:root {
  --red: #e4002b;
  --ink: #111111;
  --muted: #666666;
  --line: #d9d9dc;
  --paper: #ffffff;
  --ground: #f7f7f8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: Arial, "Helvetica Neue", sans-serif;
}

a {
  color: inherit;
}

.top-rule {
  height: 4px;
  background: var(--red);
}

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-size: 22px;
  font-weight: 800;
  text-decoration: none;
}

.site-header nav {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
}

.site-header nav a:hover {
  color: var(--red);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 54px;
  align-items: center;
  min-height: 540px;
  padding: 54px 0;
  border-bottom: 1px solid var(--line);
}

.index-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
}

.index-label span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 22px;
  border: 1px solid var(--red);
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.04;
}

.lead {
  max-width: 600px;
  margin: 24px 0 0;
  color: #444444;
  font-size: 17px;
  line-height: 1.85;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  margin-top: 30px;
  padding: 0 19px;
  border: 1px solid var(--red);
  border-radius: 3px;
  background: var(--red);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.primary-link:hover {
  background: #b80023;
}

.preview {
  padding: 22px;
  border: 1px solid var(--ink);
  background: var(--paper);
  box-shadow: 8px 8px 0 var(--red);
}

.preview-bar,
.profile,
.preview-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.preview-bar {
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
}

.preview-bar span:last-child {
  color: var(--red);
}

.profile {
  justify-content: flex-start;
  gap: 10px;
  padding: 18px 0 12px;
}

.profile img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.profile div {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
}

.profile strong {
  font-size: 14px;
}

.profile span,
.preview-meta {
  color: var(--muted);
  font-size: 11px;
}

.sample-copy {
  margin: 0 0 14px;
  color: #333333;
  font-size: 13px;
  line-height: 1.7;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.image-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.preview-meta {
  padding-top: 13px;
}

.chat-preview {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 260px;
  padding: 24px 15px;
  background: #f1f1f2;
}

.bubble {
  max-width: 78%;
  padding: 10px 12px;
  background: #ffffff;
  font-size: 13px;
  line-height: 1.55;
}

.bubble.right {
  align-self: flex-end;
  background: #d8f3df;
}

.poster-preview {
  position: relative;
  overflow: hidden;
}

.poster-preview img {
  display: block;
  width: 100%;
  min-height: 300px;
  object-fit: cover;
}

.poster-copy {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 16px;
  background: rgba(17, 17, 17, 0.84);
  color: #ffffff;
}

.poster-copy strong,
.poster-copy span {
  display: block;
}

.poster-copy strong {
  font-size: 22px;
}

.poster-copy span {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.6;
}

.content-section {
  padding: 52px 0;
  border-bottom: 1px solid var(--line);
}

.content-section h2 {
  max-width: 720px;
  margin: 0;
  font-size: 32px;
  line-height: 1.25;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature {
  min-height: 190px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.feature span {
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
}

.feature h3 {
  margin: 42px 0 10px;
  font-size: 18px;
}

.feature p,
.use-copy {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.use-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1.28fr);
  gap: 60px;
  align-items: start;
}

.use-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.use-list li {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  color: #333333;
  font-size: 14px;
}

.notice {
  margin-top: 24px;
  padding-left: 13px;
  border-left: 3px solid var(--red);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 34px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.site-footer a {
  color: var(--red);
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    min-height: 62px;
  }

  .site-header nav {
    gap: 10px;
    font-size: 11px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    gap: 40px;
    min-height: auto;
    padding: 40px 0 48px;
  }

  h1 {
    font-size: 42px;
  }

  .lead {
    font-size: 15px;
  }

  .primary-link {
    justify-content: center;
    width: 100%;
  }

  .preview {
    width: calc(100% - 5px);
    padding: 17px;
    box-shadow: 5px 5px 0 var(--red);
  }

  .content-section {
    padding: 40px 0;
  }

  .content-section h2 {
    font-size: 27px;
  }

  .feature-grid,
  .use-layout {
    grid-template-columns: 1fr;
  }

  .use-layout {
    gap: 28px;
  }

  .feature {
    min-height: 0;
  }

  .feature h3 {
    margin-top: 26px;
  }

  .site-footer {
    display: block;
  }

  .site-footer span {
    display: block;
    margin-top: 7px;
  }
}
