:root {
  --cream: #f4ead8;
  --paper: #fffaf1;
  --ink: #2b2417;
  --muted: #6b6254;
  --terracotta: #c45c26;
  --terracotta-dark: #a44818;
  --olive: #5c6b4a;
  --espresso: #1c1710;
  --max: 1180px;
  --serif: "Fraunces", "Iowan Old Style", Palatino, serif;
  --sans: "Outfit", "Helvetica Neue", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  padding: 22px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--terracotta);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--terracotta);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}

.btn:hover {
  background: var(--terracotta-dark);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.hero {
  padding: 24px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(196, 92, 38, 0.12);
  color: var(--terracotta-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0;
}

h1 {
  font-size: clamp(46px, 7vw, 76px);
}

.lede {
  max-width: 38ch;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 168px;
  height: 50px;
  padding: 0 16px 0 14px;
  border-radius: 10px;
  background: var(--espresso);
  color: #fff;
}

.store:hover {
  background: #000;
}

.store svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.store small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.04em;
  opacity: 0.8;
}

.store strong {
  display: block;
  font-size: 16px;
  letter-spacing: -0.02em;
  margin-top: 2px;
}

.cluster {
  position: relative;
  min-height: 620px;
}

.phone {
  width: 270px;
  background: #111114;
  border-radius: 42px;
  padding: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 32px 70px rgba(28, 23, 16, 0.28);
}

.phone img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 32px;
}

.phone::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 31%;
  max-width: 78px;
  height: 16px;
  border-radius: 999px;
  background: #000;
  transform: translateX(-50%);
  z-index: 2;
}

.phone-main {
  position: absolute;
  right: 8%;
  top: 0;
  z-index: 2;
}

.phone-back {
  position: absolute;
  left: 4%;
  top: 72px;
  width: 230px;
  transform: rotate(-9deg);
  z-index: 1;
  box-shadow: 0 24px 50px rgba(28, 23, 16, 0.18);
}

.steps {
  background: var(--paper);
  border-block: 1px solid rgba(43, 36, 23, 0.08);
  padding: 56px 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.steps-grid.two {
  grid-template-columns: 1fr 1fr;
  max-width: 860px;
  margin-inline: auto;
}

.step .num {
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  color: var(--terracotta);
  margin-bottom: 10px;
}

.step h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.panel {
  padding: 88px 0;
}

.panel h2 {
  font-size: clamp(34px, 4.5vw, 52px);
  max-width: 16ch;
}

.panel p {
  max-width: 42ch;
  color: var(--muted);
}

.shot-center {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.shot-center .phone {
  width: min(300px, 78vw);
}

.panel-focus {
  text-align: center;
}

.panel-focus h2,
.panel-focus p {
  margin-inline: auto;
}

.pillar {
  padding: 96px 0;
}

.pillar-alt {
  background: var(--paper);
}

.pillar-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(520px, 1.1fr);
  gap: 48px;
  align-items: center;
}

.pillar-grid.flip {
  grid-template-columns: minmax(520px, 1.1fr) minmax(280px, 0.9fr);
}

.pillar-grid.flip .phones-pair {
  order: -1;
}

.pillar-copy h2 {
  font-size: clamp(34px, 4.5vw, 52px);
  max-width: 14ch;
  margin: 8px 0 18px;
}

.pillar-copy p {
  max-width: 42ch;
  color: var(--muted);
}

.phones-pair {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
}

.phones-pair .phone {
  width: 230px;
  flex: none;
  overflow: hidden;
}

.phones-pair .phone-offset {
  margin-top: 40px;
}

.ai-points {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  max-width: 44ch;
}

.ai-points li {
  padding-left: 22px;
  position: relative;
  color: var(--ink);
  font-size: 16px;
}

.ai-points li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terracotta);
  position: absolute;
  left: 0;
  top: 0.55em;
}

.bento {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  margin-top: 48px;
}

.tile {
  background: var(--paper);
  border-radius: 32px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tile.wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 32px;
}

.tile h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.tile p {
  margin: 0;
}

.tile .phone {
  width: min(240px, 100%);
  margin-inline: auto;
}

.privacy {
  background: var(--espresso);
  color: #f6ead8;
  padding: 80px 0;
}

.privacy h2 {
  color: #fff;
  font-size: clamp(32px, 4vw, 48px);
}

.privacy p {
  max-width: 46ch;
  color: rgba(246, 234, 216, 0.78);
  font-size: 18px;
}

.privacy a {
  color: #f0b27a;
  font-weight: 600;
}

.cta {
  padding: 96px 0;
  text-align: center;
}

.cta h2 {
  font-size: clamp(36px, 5vw, 58px);
}

.cta p {
  margin: 16px auto 0;
  max-width: 36ch;
  color: var(--muted);
}

.cta .store-row {
  justify-content: center;
}

.site-footer {
  padding: 48px 0 32px;
  border-top: 1px solid rgba(43, 36, 23, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
}

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

.site-footer p,
.site-footer a {
  color: var(--muted);
  font-size: 14px;
}

.site-footer h3 {
  margin: 0 0 12px;
  font-size: 13px;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.site-footer a:hover {
  color: var(--ink);
}

.legal {
  margin-top: 36px;
  font-size: 13px;
  color: var(--muted);
}

.page-main {
  padding: 24px 0 80px;
  max-width: 720px;
}

.page-main h1 {
  font-size: clamp(40px, 6vw, 60px);
}

.page-main h2 {
  margin-top: 36px;
  font-size: 26px;
}

.page-main p,
.page-main li {
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero-grid,
  .steps-grid,
  .steps-grid.two,
  .bento,
  .tile.wide,
  .pillar-grid,
  .pillar-grid.flip,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .pillar-grid.flip .phones-pair {
    order: 0;
  }

  .phones-pair .phone {
    width: min(210px, 46vw);
  }

  .phones-pair .phone-offset {
    margin-top: 24px;
  }

  .cluster {
    min-height: 540px;
    max-width: 420px;
    margin-inline: auto;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 8px 20px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    z-index: 30;
    border-bottom: 1px solid rgba(43, 36, 23, 0.1);
  }

  body.nav-open .nav-links {
    display: flex;
  }
}

@media (max-width: 640px) {
  .phone-main {
    right: 0;
  }

  .phone-back {
    left: 0;
  }

  h1 {
    font-size: 42px;
  }
}
