:root {
  --bg: #0f0e0f;
  --bg-soft: #171412;
  --surface: #f5f0e8;
  --surface-soft: #ebe2d6;
  --text: #fffaf0;
  --muted: #b7ad9f;
  --ink: #111011;
  --champagne: #efc779;
  --rose: #eab4a5;
  --line: rgba(255, 250, 240, 0.14);
  --shadow: rgba(0, 0, 0, 0.38);
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-ui: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  text-rendering: geometricPrecision;
  overflow-x: hidden;
}

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

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

button,
input,
summary {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 8px;
  z-index: 20;
  transform: translateY(-140%);
  background: var(--surface);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 8px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: max(18px, env(safe-area-inset-top)) 18px 0;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-lockup img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  box-shadow: 0 12px 28px var(--shadow);
}

.site-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: clamp(760px, 88svh, 920px);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  padding: 124px 18px 430px;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(15, 14, 15, 0.08), rgba(15, 14, 15, 0.84)),
    #100f10;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -18% -16% -18%;
  height: 44%;
  background: rgba(239, 199, 121, 0.10);
  filter: blur(52px);
  z-index: -1;
}

.hero-shot {
  position: absolute;
  z-index: -1;
  right: -58px;
  bottom: -78px;
  width: min(88vw, 350px);
  opacity: 0.58;
  transform: rotate(4deg);
  transform-origin: bottom right;
}

.hero-shot img {
  border-radius: 38px;
  box-shadow: 0 42px 90px rgba(0, 0, 0, 0.62);
}

.hero-copy {
  width: min(calc(100vw - 36px), 680px);
  min-width: 0;
  padding-bottom: 12px;
  position: relative;
  z-index: 1;
}

.hero-copy.reveal {
  opacity: 1;
  transform: none;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--champagne);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

h1 {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 3.75rem;
  line-height: 0.9;
  font-weight: 700;
  letter-spacing: 0;
  max-width: 100%;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 2.9rem;
  line-height: 0.94;
  font-weight: 700;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 7px;
  font-family: var(--font-ui);
  font-size: 1.04rem;
  line-height: 1.05;
  font-weight: 700;
}

.hero-lede,
.section-heading p,
.download-section p {
  color: var(--muted);
  font-size: 1.03rem;
  max-width: min(calc(100vw - 54px), 620px);
}

.hero-lede span {
  display: block;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 750;
  letter-spacing: 0;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.app-store-badge-link:focus-visible,
.site-nav a:focus-visible,
.brand-lockup:focus-visible,
.site-footer a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 4px;
}

.button-secondary {
  background: rgba(245, 240, 232, 0.10);
  color: var(--text);
}

.app-store-badge-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  line-height: 0;
  transition: transform 180ms ease;
}

.app-store-badge-link:hover {
  transform: translateY(-2px);
}

.app-store-badge {
  width: 170px;
  height: auto;
}

.intro-band {
  background: var(--surface);
  color: var(--ink);
  padding: 26px 18px;
  overflow: hidden;
}

.intro-band p {
  margin: 0 auto;
  width: min(calc(100vw - 54px), var(--max));
  max-width: 100%;
  font-family: var(--font-display);
  font-size: 2.08rem;
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.intro-band p span {
  display: block;
}

.section {
  padding: 76px 18px;
}

.section-heading,
.workflow,
.faq-list,
.download-section,
.site-footer {
  width: min(calc(100vw - 36px), var(--max));
  margin-inline: auto;
}

.section-heading {
  margin-bottom: 30px;
}

.preset-section {
  background: #111010;
}

.preset-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 70vw);
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 0 18px 18px;
  margin-inline: -18px;
  scrollbar-width: none;
}

.preset-rail::-webkit-scrollbar {
  display: none;
}

.look {
  scroll-snap-align: start;
}

.look img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 14px;
}

.look p {
  color: var(--muted);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.workflow-section {
  background: #151211;
}

.workflow {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.workflow li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.workflow span {
  color: var(--champagne);
  font-weight: 800;
}

.workflow strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.08rem;
}

.workflow p {
  grid-column: 2;
  color: var(--muted);
  margin-bottom: 0;
}

.faq-section {
  background: var(--surface);
  color: var(--ink);
}

.faq-section .eyebrow {
  color: #8a5f20;
}

.faq-list {
  border-top: 1px solid rgba(17, 16, 17, 0.14);
}

details {
  border-bottom: 1px solid rgba(17, 16, 17, 0.14);
}

summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  font-size: 1.08rem;
  font-weight: 750;
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  color: #5f574d;
  margin-bottom: 22px;
}

.download-section {
  padding: 76px 18px 86px;
  text-align: center;
}

.download-section .download-icon {
  margin: 0 auto 24px;
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
}

.download-section h2 {
  max-width: 820px;
  margin-inline: auto;
}

.download-section p {
  margin-inline: auto;
}

.download-section .app-store-badge-link {
  margin-top: 14px;
}

.download-section .app-store-badge {
  width: 190px;
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 18px 34px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

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

.copyright {
  font-size: 0.9rem;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

.legal-page {
  min-height: 100svh;
  background: var(--surface);
  color: var(--ink);
}

.legal-header {
  position: static;
  padding: 18px;
  background: var(--bg);
  color: var(--text);
}

.legal-content {
  width: min(100%, 820px);
  margin: 0 auto;
  padding: 52px 18px 80px;
}

.legal-content h1 {
  max-width: 12ch;
  color: var(--ink);
}

.legal-content p,
.legal-content li {
  color: #514a42;
}

.legal-content a {
  color: #7b4f12;
  font-weight: 750;
}

@media (min-width: 720px) {
  .site-header {
    padding: 24px 34px 0;
  }

  .site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    color: rgba(255, 250, 240, 0.74);
    font-size: 0.94rem;
    font-weight: 650;
  }

  .hero {
    min-height: clamp(760px, 88svh, 980px);
    align-items: end;
    padding: 130px 34px 82px;
  }

  .hero-shot {
    right: 6vw;
    bottom: -210px;
    width: min(35vw, 430px);
    opacity: 0.82;
  }

  .hero-copy {
    margin-left: max(0px, calc((100vw - var(--max)) / 2));
  }

  .hero-actions {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  h1 {
    font-size: 6rem;
    max-width: 8ch;
  }

  h2 {
    font-size: 4.1rem;
  }

  .intro-band p {
    font-size: 2.75rem;
  }

  .intro-band {
    padding: 36px 34px;
  }

  .section {
    padding: 104px 34px;
  }

  .section-heading {
    margin-bottom: 46px;
  }

  .preset-rail {
    width: min(100%, var(--max));
    margin-inline: auto;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    overflow: visible;
  }

  .look img {
    min-height: 310px;
  }

  .workflow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 1px solid var(--line);
  }

  .workflow li {
    display: block;
    padding: 28px 26px 30px 0;
    border-bottom: 0;
  }

  .workflow p {
    margin-top: 8px;
  }

  .site-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-inline: 34px;
  }
}

@media (min-width: 1080px) {
  h1 {
    font-size: 7.4rem;
    max-width: 9ch;
  }

  h2 {
    font-size: 4.85rem;
  }

  .intro-band p {
    font-size: 3rem;
  }

  .hero-shot {
    bottom: -250px;
    width: 470px;
  }

  .hero-lede {
    font-size: 1.18rem;
  }

  .hero-lede span,
  .intro-band p span {
    display: inline;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
