/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background-color: #ffffff;
  color: #171717;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

/* Page layout */
.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 50px;
}

.container {
  width: 100%;
  max-width: 1064px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 44px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
}

.logo-mark {
  width: 45px;
  height: 43px;
}

.logo-wordmark {
  font-family: 'Unbounded', sans-serif;
  font-weight: 500;
  font-size: 30px;
  color: #000;
  letter-spacing: -1.3389px;
  white-space: nowrap;
}

/* Headline */
.headline {
  margin: 0;
  font-family: 'Source Serif Pro', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 58px;
  line-height: 66px;
  color: #171717;
  width: 100%;
}

/* Tagline */
.tagline {
  display: flex;
  flex-direction: column;
  color: #737373;
  line-height: 28px;
}

.tagline-primary {
  font-size: 18px;
  font-weight: 400;
}

.tagline-secondary {
  font-size: 12px;
  font-weight: 400;
}

/* CTA button */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #171717;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 10px;
  white-space: nowrap;
}

/* Features */
.features {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 114px;
}

.feature {
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-canvas {
  background-color: #546440;
  height: 507px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.feature-image {
  position: absolute;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
}

/* Feature 1 — Chapter 1 app screenshots */
.feature-canvas--one .feature-image--54 {
  height: 591px;
  width: 855px;
  left: 181px;
  top: 23px;
}

.feature-canvas--one .feature-image--53 {
  height: 603px;
  width: 873px;
  left: 13px;
  top: 172px;
}

/* Feature 2 — Manuscript overview */
.feature-canvas--two .feature-image--50 {
  height: 575px;
  width: 976.786px;
  left: 50%;
  top: 25px;
  transform: translateX(-50%);
}

/* Feature 3 — Pacing chart */
.feature-canvas--three .feature-image--51 {
  height: 574px;
  width: 976px;
  left: 50%;
  top: 25px;
  transform: translateX(-50%);
}

/* Feature 4 — Structure framed */
.feature-canvas--four {
  position: relative;
}

.feature-frame {
  position: absolute;
  left: 87px;
  top: 85px;
  width: 908px;
  height: 508px;
  border: 1px solid #664e31;
  border-radius: 21px;
  overflow: hidden;
}

.feature-frame .feature-image--52 {
  position: absolute;
  height: 136.51%;
  width: 135.36%;
  left: -20.96%;
  top: -20.62%;
  max-width: none;
}

.feature-caption {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
  color: #000;
}

/* Also list */
.also-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #737373;
}

.also-list-heading {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 2px;
}

.also-list ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.also-list li {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
}

.also-list li::before {
  content: "·";
  display: inline-block;
  width: 1.5ch;
}

/* About */
.about {
  color: #737373;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 28px;
}

/* Footer */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.footer-mark {
  width: 36px;
  height: 35px;
}

.footer-name {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #171717;
}

.footer-copy {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #b8b8b8;
}

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  .page {
    padding: 20px;
  }

  .headline {
    font-size: 38px;
    line-height: 56px;
  }

  .features {
    gap: 64px;
  }

  .feature-canvas {
    height: 400px;
  }

  /* Feature 1 — Chapter 1 screenshots */
  .feature-canvas--one .feature-image--54 {
    height: 591px;
    width: 855px;
    left: 56px;
    top: 21px;
  }

  .feature-canvas--one .feature-image--53 {
    height: 603px;
    width: 873px;
    left: -19px;
    top: 172px;
  }

  /* Feature 2 — Manuscript overview */
  .feature-canvas--two .feature-image--50 {
    height: 243px;
    width: 413px;
    top: 79px;
    left: calc(50% + 53.5px);
    transform: translateX(-50%);
  }

  /* Feature 3 — Pacing chart */
  .feature-canvas--three .feature-image--51 {
    height: 280px;
    width: 476px;
    top: 60px;
    left: calc(50% + 89px);
    transform: translateX(-50%);
  }
}
