* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #faf7f4;
  color: #1a1a1a;
  line-height: 1.55;
  font-size: 18px;
}

a { color: #1a1a1a; }
a:focus-visible,
button:focus-visible {
  outline: 3px solid #5b9cf6;
  outline-offset: 2px;
}

.body-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

section {
  padding: 64px 0;
  border-top: 1px solid #d8d8d8;
}

/* Hero */
.hero-bg {
  background: #faf7f4;
}
.hero {
  max-width: 1400px;
  margin: 0 auto;
  padding: 72px 32px 64px;
}
.hero-text h1 {
  font-size: 44px;
  font-weight: bold;
  line-height: 1.1;
  margin-bottom: 16px;
  color: #111;
  text-align: center;
}
.hero-text p {
  max-width: 680px;
  margin: 0 auto;
  color: #222;
  font-size: 19px;
  line-height: 1.55;
  text-align: center;
}
.hero-img {
  margin-top: 36px;
  background: #111;
  border: 2px solid #333;
  border-radius: 12px;
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.22);
  padding: 40px;
}
.hero-img img {
  width: 100%;
  display: block;
  border-radius: 6px;
  border: 2px solid #444;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

/* Meta */
.meta-wrap { border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; }
.meta {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}
.meta-item { font-size: 15px; color: #222; }
.meta-label {
  display: inline-block;
  margin-right: 6px;
  padding: 3px 10px;
  border-radius: 3px;
  background: #202020;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
}

/* Typography */
.section-title {
  font-size: 34px;
  font-weight: bold;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #111;
  letter-spacing: 0;
}
.section-sub { font-size: 20px; font-weight: bold; margin: 28px 0 10px; color: #111; }
p.body {
  color: #222;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 6px;
}
p.body:last-child { margin-bottom: 0; }
strong { color: #111; }

/* Goals */
.goals-pills { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.pill {
  border: 1px solid #666;
  border-radius: 999px;
  padding: 7px 16px;
  color: #1a1a1a;
  font-size: 15px;
}

/* Site flow diagram */
.site-flow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.flow-step {
  border: 1px solid #888;
  background: #f4f4f4;
  border-radius: 4px;
  padding: 9px 18px;
  color: #1a1a1a;
  font-size: 15px;
  font-weight: bold;
}
.flow-arrow {
  color: #555;
  font-size: 18px;
}

/* Proposal */
.proposal {
  display: block;
  max-width: 480px;
  margin: 28px auto 0;
}
.proposal img {
  width: 100%;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14);
  display: block;
  transition: box-shadow 0.2s ease;
}
.proposal:hover img {
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14), 0 0 0 3px #5b9cf6;
}

/* Concepts */
.concept {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 28px;
}
.section-title + .concept { margin-top: 32px; }
.concept:last-child { margin-bottom: 0; }
.concept-left {
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.concept-name {
  color: #1C539B;
  font-size: 26px;
  font-weight: bold;
  line-height: 1.2;
}
.concept-def {
  color: #1a1a1a;
  font-size: 19px;
  font-weight: bold;
  line-height: 1.4;
}
.concept-desc {
  color: #222;
  font-size: 16px;
  line-height: 1.65;
}

/* Screenshot tinted container */
.concept-media {
  background: #111;
  border: 2px solid #333;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.18);
}

/* Annotation layout */
.anno-wrap {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
}
.anno-left {
  position: relative;
  display: flex;
  flex-direction: column;
}
.anno-left::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 100%;
  width: 24px;
  border-top: 1.5px solid #aaa;
}
.anno-label { font-size: 15px; font-weight: bold; margin-bottom: 6px; color: #5b9cf6; }
.anno-desc { font-size: 14px; color: #ccc; line-height: 1.45; }
.screenshot {
  background: #fff;
  border: 2px solid #444;
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}
.screenshot img { width: 100%; display: block; }

/* Prototype */
.proto-screenshot {
  background: #faf7f4;
    border: 2px solid #1a1a1a;
  border-radius: 12px;
  /* box-shadow: 0 32px 72px rgba(0, 0, 0, 0.22); */
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.proto-screenshot img { width: 100%; display: block; }

/* Prototype link */
.proto-link { display: block; margin: 24px auto 0; max-width: 800px; }
.proto-link:hover .proto-screenshot { box-shadow: 0 32px 72px rgba(0, 0, 0, 0.22), 0 0 0 3px #5b9cf6; }

/* Button */
.view-btn {
  display: block;
  width: fit-content;
  margin: 24px auto 0;
  color: #fff;
  background: #1a1a1a;
  border: 1px solid #1a1a1a;
  border-radius: 4px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
}
.view-btn { transition: background 0.2s ease, border-color 0.2s ease; }
.view-btn:hover { background: #333; border-color: #333; }

@media (max-width: 760px) {
  body { font-size: 17px; }

  .body-wrap,
  .hero,
  .meta {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-text h1 { font-size: 32px; }
  .hero-text p { font-size: 17px; }
  .section-title { font-size: 26px; }

  .concept {
    display: block;
  }

  .concept-left {
    margin-bottom: 18px;
  }

  .concept-media {
    padding: 18px;
  }

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

  .anno-left::after {
    display: none;
  }
}
