:root {
  color-scheme: light;
  --bg: #f8f5ef;
  --surface: #ffffff;
  --surface-soft: #fffdf8;
  --ink: #201d19;
  --muted: #625d55;
  --line: #e5dacd;
  --brand: #f36f63;
  --brand-dark: #d94e45;
  --aqua: #189d91;
  --sun: #d99b22;
  --blue: #132538;
  --leaf: #48735d;
  --shadow: 0 18px 45px rgba(32, 29, 25, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  overflow-x: hidden;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.1rem 1.25rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-link img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(31, 27, 24, 0.12);
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a {
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: clamp(520px, 74vh, 720px);
  overflow: hidden;
  color: #ffffff;
  background-color: var(--blue);
  background-image:
    linear-gradient(90deg, rgba(19, 37, 56, 0.96) 0%, rgba(19, 37, 56, 0.88) 42%, rgba(19, 37, 56, 0.34) 100%),
    url("/assets/playfolio-screenshot-strip.png");
  background-position: center;
  background-size: cover;
}

.hero-inner,
.section-inner {
  width: 100%;
  max-width: 1180px;
  min-width: 0;
  margin: 0 auto;
  padding-inline: 1.25rem;
}

.hero-inner {
  padding: 5rem 0 5.5rem;
}

.hero h1,
.article-hero h1,
.page h1 {
  width: 100%;
  max-width: min(820px, 100%);
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 6.1rem);
  line-height: 0.95;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow,
.cta-band .eyebrow {
  color: var(--sun);
}

.lead {
  width: 100%;
  margin: 1.35rem 0 0;
  max-width: min(680px, 100%);
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.1rem, 2vw, 1.38rem);
  line-height: 1.55;
}

.sublead {
  width: 100%;
  margin: 1rem 0 0;
  max-width: min(650px, 100%);
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1.05rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 780;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(31, 27, 24, 0.08);
}

.button.primary {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.34);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.answer-band,
.cta-band {
  background: var(--surface-soft);
  border-block: 1px solid var(--line);
}

.answer-band {
  padding: 3.5rem 0;
}

.answer-band p:not(.eyebrow),
.section-heading p,
.section p:not(.eyebrow),
.page p:not(.eyebrow),
.content li {
  color: var(--muted);
  line-height: 1.7;
}

.answer-band p:not(.eyebrow) {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
}

.answer-band h2 + p {
  margin-top: 1rem;
}

.section {
  padding: 5rem 0;
}

.section.alt {
  background: #efe8dd;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading.compact {
  margin-bottom: 0;
}

.section-heading h2,
.answer-band h2,
.cta-band h2,
.page h1,
.section h2 {
  margin: 0;
}

.section-heading h2,
.answer-band h2,
.cta-band h2,
.section h2 {
  max-width: 780px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-heading p {
  margin: 1rem 0 0;
  max-width: 680px;
}

.narrow {
  max-width: 840px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: start;
}

.visual-column {
  align-items: center;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.use-card {
  min-height: 240px;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(32, 29, 25, 0.06);
}

.use-card h3,
.feature-list h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.25;
}

.use-card p,
.feature-list p {
  margin: 0.8rem 0 0;
  color: var(--muted);
  line-height: 1.58;
}

.use-card a {
  display: inline-block;
  margin-top: 1rem;
  color: var(--brand-dark);
  font-weight: 800;
  text-decoration: none;
}

.steps-list {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps-list li {
  position: relative;
  min-height: 78px;
  padding: 1rem 1rem 1rem 4rem;
  border: 1px solid rgba(32, 29, 25, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--muted);
  line-height: 1.58;
  counter-increment: steps;
}

.steps-list li::before {
  content: counter(steps);
  position: absolute;
  left: 1rem;
  top: 1rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--brand);
  color: #ffffff;
  font-weight: 850;
}

.steps-list strong {
  display: block;
  color: var(--ink);
}

.check-list {
  display: grid;
  gap: 0.7rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--muted);
  line-height: 1.58;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42rem;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: var(--aqua);
}

.screenshot-strip {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--blue);
  box-shadow: var(--shadow);
}

.screenshot-strip img {
  display: block;
  width: 100%;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.feature-list div {
  min-height: 150px;
  padding: 1.2rem;
  background: var(--surface);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.faq-list summary {
  cursor: pointer;
  padding: 1rem 1.1rem;
  color: var(--ink);
  font-weight: 800;
}

.faq-list p {
  margin: 0;
  padding: 0 1.1rem 1rem;
}

.cta-band {
  padding: 3.5rem 0;
  background: var(--blue);
  color: #ffffff;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-inner h2 + p {
  margin-top: 1rem;
}

.cta-inner p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

.page {
  max-width: 940px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 5rem;
}

.page .eyebrow {
  margin-bottom: 0.85rem;
}

.updated {
  margin: 1rem 0 2.25rem;
  color: var(--muted);
}

.content {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.content h2 {
  margin: 2rem 0 0.65rem;
  font-size: 1.25rem;
}

.content h2:first-child {
  margin-top: 0;
}

.content p,
.content li {
  color: var(--muted);
  line-height: 1.7;
}

.content ul {
  padding-left: 1.25rem;
}

.contact-box {
  margin-top: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  background: #ffffff;
}

.article-hero {
  padding: 4rem 0 3.5rem;
  background: var(--surface-soft);
  border-block: 1px solid var(--line);
}

.article-hero .lead {
  color: var(--muted);
}

.article-hero .sublead {
  color: var(--ink);
}

.topic-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.8rem;
}

.topic-list article {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.topic-list h3 {
  margin: 0;
  font-size: 1.05rem;
}

.topic-list p {
  margin: 0.75rem 0 0;
}

.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  color: var(--muted);
  border-top: 1px solid rgba(229, 218, 205, 0.95);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  text-decoration: none;
}

@media (max-width: 980px) {
  .card-grid.four,
  .feature-list,
  .topic-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .section-heading.compact {
    margin-bottom: 0.5rem;
  }
}

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

  .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 0.8rem 1rem;
  }

  .hero {
    min-height: auto;
    background-position: 58% center;
  }

  .hero-inner,
  .section-inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .hero-inner {
    padding: 4rem 0;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .hero h1,
  .article-hero h1,
  .page h1 {
    font-size: clamp(2.25rem, 10vw, 3.25rem);
    line-height: 1;
  }

  .hero h1 {
    max-width: 11ch;
  }

  .article-hero h1 {
    max-width: 10.8ch;
  }

  .hero .eyebrow {
    max-width: 30ch;
  }

  .hero .lead,
  .hero .sublead {
    max-width: 31ch;
  }

  .article-hero .lead,
  .article-hero .sublead {
    max-width: 30ch;
  }

  .answer-band p:not(.eyebrow),
  .section-heading p,
  .section p:not(.eyebrow),
  .page p:not(.eyebrow) {
    max-width: 30ch;
  }

  .section h2,
  .answer-band h2,
  .cta-band h2 {
    max-width: 13ch;
  }

  .section,
  .answer-band,
  .cta-band,
  .article-hero {
    padding: 3.2rem 0;
  }

  .card-grid.four,
  .feature-list,
  .topic-list {
    grid-template-columns: 1fr;
  }

  .use-card {
    min-height: auto;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    flex-direction: column;
  }
}
