:root {
  color-scheme: light;
  --ink: #2f2926;
  --muted: #715f56;
  --paper: #fffaf1;
  --paper-deep: #fff1df;
  --wash: #f4e5d2;
  --line: #dcc4a4;
  --dash: #cdae83;
  --terracotta: #b8664d;
  --terracotta-dark: #854634;
  --sage: #657568;
  --sage-light: #dfe7d8;
  --rose: #d9a7a0;
  --blue: #506a7f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--wash);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(80, 106, 127, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 106, 127, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.32;
}

a {
  color: var(--terracotta-dark);
  font-weight: 700;
}

img {
  max-width: 100%;
}

.site-header {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: relative;
  z-index: 5;
}

.marketing-header {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: #fffaf1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-style: italic;
  font-weight: 500;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  color: inherit;
  font-size: 14px;
  text-decoration: none;
}

.nav-pill {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 8px 13px;
}

.marketing-hero {
  min-height: 92vh;
  padding: 118px max(24px, calc((100vw - 1120px) / 2)) 54px;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: #2d2926;
  color: #fffaf1;
}

.marketing-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(47, 41, 38, 0.92) 0%, rgba(47, 41, 38, 0.72) 44%, rgba(47, 41, 38, 0.28) 100%),
    linear-gradient(180deg, rgba(47, 41, 38, 0.3), rgba(47, 41, 38, 0.88));
  z-index: 1;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-shot {
  position: absolute;
  width: min(28vw, 330px);
  min-width: 210px;
  border-radius: 28px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.42);
  border: 6px solid rgba(255, 250, 241, 0.82);
}

.hero-shot-one {
  right: 8vw;
  top: 11vh;
  transform: rotate(4deg);
}

.hero-shot-two {
  right: 28vw;
  top: 24vh;
  transform: rotate(-6deg);
}

.hero-shot-three {
  right: -1vw;
  bottom: -8vh;
  transform: rotate(-3deg);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(680px, 100%);
  padding-top: 24px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  padding: 7px 10px;
  background: #f3dfbd;
  border: 1px solid #d8b47d;
  border-radius: 6px;
  color: #744e36;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.marketing-hero .eyebrow {
  background: rgba(255, 250, 241, 0.9);
  border-color: rgba(255, 250, 241, 0.3);
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(48px, 9vw, 96px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 5.5vw, 62px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-lede,
.lede {
  max-width: 720px;
  font-size: 20px;
  line-height: 1.65;
}

.hero-lede {
  color: #f6dfc2;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.store-button {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 188px;
  min-height: 58px;
  padding: 10px 18px;
  border-radius: 8px;
  background: #111;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.28);
}

.store-button span {
  font-size: 12px;
  line-height: 1;
}

.store-button strong {
  margin-top: 4px;
  font-size: 23px;
  line-height: 1;
}

.text-link {
  color: #fffaf1;
}

.intro-band,
.feature-row,
.screens-band,
.promise-band,
.contact-section,
.site-footer,
.document {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.intro-band,
.promise-band,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 70px);
  padding: 82px 0;
  align-items: start;
}

.intro-band p,
.promise-list p,
.feature-copy p,
.section-heading p,
.contact-copy p,
.document p,
.document li,
.site-footer p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  padding: 70px 0;
  border-top: 1px solid rgba(101, 117, 104, 0.22);
}

.feature-row.reverse {
  grid-template-columns: minmax(360px, 1fr) minmax(0, 0.85fr);
}

.feature-row.reverse .feature-copy {
  grid-column: 2;
  grid-row: 1;
}

.feature-row.reverse .phone-pair {
  grid-column: 1;
  grid-row: 1;
}

.phone-pair {
  min-height: 620px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
}

.phone-pair img,
.screen-strip img {
  width: min(255px, 42vw);
  border-radius: 30px;
  border: 7px solid #2d2926;
  box-shadow: 0 26px 54px rgba(64, 48, 34, 0.22);
}

.phone-pair img:first-child {
  transform: translateY(-22px) rotate(-3deg);
}

.phone-pair img:last-child {
  transform: translateY(34px) rotate(3deg);
}

.phone-pair.single img {
  width: min(300px, 68vw);
  transform: rotate(-2deg);
}

.screens-band {
  padding: 84px 0;
  border-top: 1px solid rgba(101, 117, 104, 0.22);
}

.section-heading {
  max-width: 760px;
}

.screen-strip {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 14px;
}

.screen-strip figure {
  margin: 0;
  min-width: 180px;
}

.screen-strip img {
  width: 100%;
  border-width: 5px;
  border-radius: 24px;
}

figcaption {
  margin-top: 12px;
  color: var(--sage);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.promise-band {
  border-top: 1px solid rgba(101, 117, 104, 0.22);
  border-bottom: 1px solid rgba(101, 117, 104, 0.22);
}

.promise-list {
  display: grid;
  gap: 12px;
}

.promise-list p {
  margin: 0;
  padding: 18px;
  border-left: 4px solid var(--sage);
  background: rgba(255, 250, 241, 0.62);
}

.contact-section {
  align-items: stretch;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.86);
  box-shadow: 0 18px 44px rgba(102, 72, 45, 0.1);
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cbb293;
  border-radius: 8px;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  padding: 13px 14px;
}

textarea {
  resize: vertical;
}

button {
  border: 0;
  border-radius: 8px;
  background: var(--terracotta);
  color: #fffaf1;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  min-height: 50px;
  padding: 13px 18px;
}

button:disabled {
  cursor: progress;
  opacity: 0.68;
}

.hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--sage);
  font-size: 14px;
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 44px 0 56px;
  border-top: 1px solid rgba(101, 117, 104, 0.22);
}

.site-footer > div {
  max-width: 380px;
}

.site-footer nav {
  max-width: 560px;
}

.document {
  padding: 30px 0 64px;
}

.paper {
  max-width: 840px;
  margin: 0 auto;
  padding: clamp(26px, 5vw, 46px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.94);
  box-shadow: 0 18px 44px rgba(102, 72, 45, 0.12);
}

.document h1 {
  font-size: clamp(34px, 6vw, 50px);
}

.document h2 {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px dashed var(--dash);
  font-size: 25px;
}

.updated {
  margin-top: -4px;
  color: #967b65;
  font-size: 14px;
}

ul,
ol {
  padding-left: 24px;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.link-grid a {
  min-height: 116px;
  padding: 18px;
  border: 1px solid rgba(216, 183, 137, 0.85);
  border-radius: 8px;
  background: rgba(255, 243, 223, 0.72);
  color: var(--ink);
  text-decoration: none;
}

.link-grid.compact a {
  min-height: 104px;
}

.link-grid span {
  display: block;
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 500;
}

.link-grid small {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .marketing-header {
    color: var(--ink);
    position: relative;
    left: auto;
    transform: none;
  }

  .marketing-hero {
    min-height: auto;
    padding-top: 54px;
  }

  .marketing-hero::after {
    background: linear-gradient(180deg, rgba(47, 41, 38, 0.84), rgba(47, 41, 38, 0.88));
  }

  .hero-shot-one {
    right: -6vw;
    top: 7vh;
  }

  .hero-shot-two,
  .hero-shot-three {
    opacity: 0.34;
  }

  .intro-band,
  .promise-band,
  .contact-section,
  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
  }

  .feature-row.reverse .feature-copy,
  .feature-row.reverse .phone-pair {
    grid-column: auto;
    grid-row: auto;
  }

  .phone-pair {
    min-height: 520px;
  }

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

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

  nav {
    justify-content: flex-start;
  }

  h1 {
    font-size: clamp(46px, 14vw, 72px);
  }

  .hero-shot {
    width: 208px;
    min-width: 0;
  }

  .hero-shot-two {
    display: none;
  }

  .hero-shot-one {
    right: -18px;
  }

  .hero-shot-three {
    display: none;
  }

  .phone-pair {
    min-height: auto;
    align-items: flex-start;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 8px 8px 32px;
  }

  .phone-pair img,
  .phone-pair.single img {
    min-width: 230px;
  }

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