:root {
  --text: #414141;
  --block: rgba(236, 221, 221, 0.26);
}

* {
  box-sizing: border-box;
}

/* Adjust layout: stack sections vertically and center them */
body {
  margin: 0;
  padding: 60px 20px;
  background: #fff;
  display: flex;
  justify-content: center;
  color: var(--text);
  font-family: "PT Serif", serif;
}
/* Design Evolution section container */
.card__evolution {
  width: 100%;  
  max-width: 980px;        
  margin: 24px auto 40px;        
}

/* Horizontal divider line */
.card__divider {
  border: none;
  border-top: 1px solid #1a1a1a;  
  margin: 28px auto 18px;
  width: 100%;
}

/* Design evolution text paragraphs */
.card__evolution-text {
  font-family: "PT Serif", serif; 
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: #000;
  margin: 0 auto 18px;
  max-width: 900px;
  text-align: center;
}

/* Buttons row (Figma: 3 buttons in a row, centered) */
.card__buttons {
  display: flex;
  flex-direction: row;      
  justify-content: center;  
  align-items: center;
  gap: 44px;               
  margin: 22px 0 28px;     
  flex-wrap: wrap;          
}

/* Button styling for links */
.card__button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: #580708;
  color: #ffffff;
  font-family: "Cinzel", serif;  
  font-weight: 400;
  font-size: 20px;
  text-decoration: none;
  padding: 10px 28px;
  min-width: 240px;         
  text-align: center;         
}

/* Hover effect for buttons */
.card__button:hover {
  opacity: 0.8;             
}

/* Focus outline for accessibility (when tabbing through links) */
.card__button:focus {
  outline: 2px solid #4a90e2;
  outline-offset: 3px;
}


.page {
  width: 100%;
  max-width: 980px;
  text-align: center;
}

.name {
  font-family: "Cinzel", serif;
  font-size: 22px;
  margin-bottom: 14px;
  color: #000;
  letter-spacing: 0.5px;
}

h1 {
  font-family: "Cinzel", serif;
  font-size: 40px;
  line-height: 1.05;
  margin: 0 0 22px;
  color: #000;
  font-weight: 400;
}

.intro {
  max-width: 880px;
  margin: 0 auto 56px;
  font-size: 18px;
  line-height: 1.35;
}

/* Generic block */
.block {
  background: var(--block);
  padding: 34px 44px;
  text-align: left;
  margin: 28px auto;
}

.block h2 {
  font-family: "Cinzel", serif;
  font-size: 28px;
  font-weight: 400;
  margin: 0 0 14px;
  color: #000;
  line-height: 1.15;
}

.block p {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

/* ChatGPT box + logo (matches Figma: box left, logo right) */
.feature-row {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto 18px;
}

.feature-box {
  background: var(--block);
  padding: 38px 44px;
  text-align: left;
}

.feature-box h2 {
  font-family: "Cinzel", serif;
  font-size: 28px;
  font-weight: 400;
  margin: 0 0 14px;
  color: #000;
}

.feature-box p {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

.feature-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-logo img {
  width: 240px;
  max-width: 100%;
  height: auto;
  display: block;
}

/* Debug section */
.debug-wrap {
  width: 100%;
  max-width: 980px;
  margin: 40px auto;
}

.debug-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.debug-left img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 18px;
  border-radius: 2px;
}

.debug-right {
  background: var(--block);
  padding: 44px 44px;
  text-align: left;
  height: auto;
  overflow: visible;
}

.debug-right h2 {
  font-family: "Cinzel", serif;
  font-size: 34px;
  line-height: 1.08;
  font-weight: 400;
  margin: 0 0 18px;
  color: #000;
}

.debug-right p {
  font-size: 18px;
  line-height: 1.35;
  margin: 0 0 16px;
  color: var(--text);
}

.debug-logo {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.debug-logo img {
  width: 170px;
  max-width: 100%;
  height: auto;
  display: block;
}

.closing {
  margin: 40px auto 0;
  max-width: 880px;
  font-size: 18px;
  line-height: 1.35;
}

/* Responsive */
@media (max-width: 900px) {
  h1 {
    font-size: 34px;
  }

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

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

  .feature-box,
  .block,
  .debug-right {
    padding: 26px 22px;
  }

  .debug-right h2 {
    font-size: 28px;
  }
}
