:root {
  --bg: #f7f3ea;
  --paper: #fffdf8;
  --ink: #2b2925;
  --muted: #716b61;
  --line: #ded7c8;
  --gold: #d8b36a;
  --blue: #246f9c;
  --green: #597f52;
  --shadow: 0 20px 50px rgba(43, 41, 37, 0.09);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(216, 179, 106, 0.14), transparent 34rem),
    linear-gradient(180deg, #faf7ef 0%, var(--bg) 100%);
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

.site-header {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  letter-spacing: 0;
  text-decoration: none;
}

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

.nav a {
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

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

.home-hero {
  min-height: calc(100vh - 88px);
  padding: 40px 0 80px;
  display: grid;
  align-content: start;
  justify-items: center;
  text-align: center;
}

.home-art {
  width: min(840px, 100%);
  border-radius: 8px;
  filter: drop-shadow(0 18px 36px rgba(43, 41, 37, 0.08));
}

.intro-copy {
  width: min(640px, 100%);
  margin: 36px auto 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.12rem, 1.7vw, 1.38rem);
  line-height: 1.55;
  color: #4e4941;
}

.signature {
  margin-top: 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  color: var(--muted);
  font-style: italic;
}

.product-hero {
  min-height: calc(100vh - 88px);
  padding: 42px 0 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 54px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.92rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 500;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.04;
  letter-spacing: 0;
  font-weight: 600;
}

h1 {
  font-size: clamp(3.2rem, 9vw, 6.7rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 3.8rem);
}

.lead {
  margin: 24px 0 0;
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.6vw, 1.26rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: #fffdf8;
  font-weight: 700;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.product-hero .button {
  border-color: var(--line);
  background: rgba(255, 253, 248, 0.8);
  color: var(--ink);
}

.wordmark-title {
  width: min(364px, 100%);
  margin: 0;
}

.wordmark-title img {
  width: 100%;
}

.phone-stage {
  display: grid;
  justify-items: center;
}

.phone-shot {
  width: min(360px, 100%);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-band {
  padding: 22px 0 72px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.feature-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.72);
  padding: 22px;
}

.feature-card h3,
.faq-item h2 {
  margin: 0 0 10px;
  font-size: 1.04rem;
  line-height: 1.3;
}

.feature-card p,
.faq-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0 0 82px;
}

.gallery img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(43, 41, 37, 0.08);
}

.plain-page {
  min-height: calc(100vh - 88px);
  padding: 68px 0 90px;
  display: grid;
  align-content: center;
}

.narrow {
  width: min(760px, 100%);
  margin: 0 auto;
}

.content-block {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.content-block p {
  margin: 0 0 18px;
}

.faq-list {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.92rem;
}

.product-footer {
  justify-content: center;
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

  .site-header {
    align-items: center;
    flex-direction: row;
  }

  .nav {
    flex-wrap: nowrap;
    justify-content: flex-end;
  }

  .product-hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 34px;
  }

  .phone-shot {
    width: min(310px, 76vw);
  }

  .wordmark-title {
    width: min(329px, 100%);
  }

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

  .plain-page {
    align-content: start;
  }
}

@media (max-width: 560px) {
  .home-hero {
    padding-top: 28px;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 4.7rem);
  }

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

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

}
