:root {
  --bg: #f2d694;
  --wash: #edcc85;
  --ink: #1f140d;
  --muted: #291a0f;
  --scarab: #1a473d;
  --gold: #85611f;
  --paper: #f7e7b8;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  padding: 2.5rem 1.4rem 6.5rem;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 12% -10%, var(--paper), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--wash));
}

.dock-pill {
  position: fixed;
  z-index: 20;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%);
  display: flex;
  gap: 1.1rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  background: var(--ink);
}

.dock-pill a {
  color: var(--paper);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.dock-pill a.is-on {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.hero-collage {
  max-width: 52rem;
  margin: 0 auto 4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.collage {
  position: relative;
  flex: 1 1 16rem;
  min-height: 14rem;
}

.collage img {
  display: block;
  width: 78%;
  border-radius: 10px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.collage img.overlap {
  position: absolute;
  width: 46%;
  right: 0;
  bottom: -8%;
  aspect-ratio: 1;
  box-shadow: 0 10px 24px rgba(31, 20, 13, 0.28);
}

.hero-copy {
  flex: 1 1 16rem;
}

.wordmark {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
}

.tag {
  margin: 0;
  max-width: 28rem;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--muted);
}

#features,
#screens {
  max-width: 52rem;
  margin: 0 auto 3.5rem;
}

.intro {
  margin: 0 0 1.2rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--scarab);
}

.intro-left { text-align: left; }
.intro-right { text-align: right; }

.icon-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.icon-grid article {
  padding: 0.2rem 0;
}

.mark {
  display: inline-flex;
  width: 1.7rem;
  height: 1.7rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  border: 1px solid var(--scarab);
  border-radius: 50%;
  font-size: 0.75rem;
  color: var(--scarab);
}

h2 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.icon-grid p,
.flow,
#privacy p,
#support p {
  margin: 0;
  line-height: 1.55;
  color: var(--muted);
}

.flow {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.flow img {
  display: block;
  width: min(220px, 55%);
  border-radius: 8px;
  align-self: flex-start;
}

.flow img:nth-of-type(even) {
  align-self: flex-end;
}

.legal-two {
  max-width: 52rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.2rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(31, 20, 13, 0.18);
}

#privacy h2,
#support h2 {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

a {
  color: var(--scarab);
}

@media (max-width: 720px) {
  .icon-grid,
  .legal-two {
    grid-template-columns: 1fr;
  }
  .intro-right { text-align: left; }
  .flow img { width: min(280px, 80%); }
}
