:root {
  --sage: #e5ecd8;
  --sage-deep: #d5dfc6;
  --cream: #f3f0e6;
  --ivory: #faf8f2;
  --ink: #1c2118;
  --ink-soft: #3a4334;
  --olive: #2f361e;
  --olive-deep: #24301a;
  --line: rgba(47, 54, 30, 0.14);
  --shadow: 0 18px 40px rgba(36, 48, 26, 0.08);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --measure: 68rem;
  --header: 4.5rem;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--sage);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}

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

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

a:hover {
  color: var(--olive-deep);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 40;
  padding: 0.55rem 0.8rem;
  background: var(--ink);
  color: var(--ivory);
  text-decoration: none;
}

.skip-link:focus {
  top: 0.6rem;
}

h1,
h2,
h3,
.logo-word,
.store-link-name {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

p:last-child {
  margin-bottom: 0;
}

.wrap {
  width: min(var(--measure), calc(100% - 2.5rem));
  margin-inline: auto;
}

.eyebrow {
  margin-bottom: 0.85rem;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lede {
  max-width: 38rem;
  color: var(--ink-soft);
  font-size: 1.15rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  background: var(--olive);
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1;
}

.logo-word {
  font-size: 1.25rem;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.98rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--ivory);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font: inherit;
  cursor: pointer;
}

.nav-toggle-close {
  display: none;
}

.site-header.is-open .nav-toggle-open {
  display: none;
}

.site-header.is-open .nav-toggle-close {
  display: inline;
}

.hero {
  padding: 4.5rem 0 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
  gap: 3.5rem;
  align-items: center;
}

.hero h1 {
  max-width: 12ch;
  margin-bottom: 1.1rem;
  font-size: clamp(2.7rem, 5.4vw, 4.5rem);
  text-wrap: balance;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin-top: 1.8rem;
}

.store-link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 13.5rem;
  padding: 0.7rem 1.15rem 0.8rem;
  border-radius: 0.9rem;
  background: var(--olive);
  color: var(--ivory);
  text-decoration: none;
  box-shadow: var(--shadow);
}

.store-link:hover {
  background: var(--olive-deep);
  color: var(--ivory);
}

.store-link:focus-visible {
  outline-color: var(--ivory);
}

.store-link-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.03em;
}

.store-link-name {
  font-size: 1.35rem;
  font-weight: 600;
}

.android-note {
  display: flex;
  flex-direction: column;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.3;
}

.android-note span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.device-caption {
  margin: 0.9rem 0 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  text-align: center;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone {
  position: relative;
  width: min(18.5rem, 100%);
  padding: 0.7rem;
  border-radius: 2.4rem;
  background: #1a1c16;
  box-shadow:
    0 24px 50px rgba(36, 48, 26, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone-island {
  position: absolute;
  z-index: 2;
  top: 1.15rem;
  left: 50%;
  width: 5.4rem;
  height: 1.35rem;
  border-radius: 999px;
  background: #0e0f0c;
  transform: translateX(-50%);
}

.phone-screen {
  display: block;
  overflow: hidden;
  border-radius: 1.85rem;
  background: #c8d29e;
  aspect-ratio: 390 / 844;
}

.phone-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section {
  padding: 5rem 0;
}

.section-cream {
  background: var(--cream);
}

.section-ivory {
  background: var(--ivory);
}

.section h2 {
  max-width: 16ch;
  margin-bottom: 0.8rem;
  font-size: clamp(2rem, 3.4vw, 3rem);
  text-wrap: balance;
}

.section-intro {
  max-width: 38rem;
  margin-bottom: 2.2rem;
  color: var(--ink-soft);
}

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

.feature-card {
  padding: 1.4rem 1.25rem 1.45rem;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: var(--ivory);
  box-shadow: 0 10px 24px rgba(36, 48, 26, 0.04);
}

.feature-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.45rem;
}

.feature-index {
  display: block;
  margin-bottom: 1.4rem;
  color: var(--olive);
  font-family: var(--serif);
  font-size: 0.95rem;
}

.feature-card p,
.quiet-features p {
  color: var(--ink-soft);
}

.quiet-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quiet-features li {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.quiet-features h3 {
  margin-bottom: 0.45rem;
  font-size: 1.35rem;
}

.gallery-note {
  max-width: 40rem;
  margin-bottom: 2rem;
  color: var(--ink-soft);
}

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

.shot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: center;
}

.shot .phone {
  width: min(15rem, 100%);
  transition: transform 160ms ease;
}

.shot-caption {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.shot-kicker {
  color: var(--olive);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shot-name {
  font-family: var(--serif);
  font-size: 1.2rem;
}

.shot-action {
  color: var(--ink-soft);
  font-size: 0.86rem;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: start;
}

.about-copy {
  display: grid;
  gap: 1rem;
  color: var(--ink-soft);
}

.band-olive {
  background: var(--olive);
  color: var(--ivory);
}

.band-olive h2,
.band-olive p {
  color: var(--ivory);
}

.band-olive .section-intro,
.band-olive .about-copy {
  color: rgba(250, 248, 242, 0.86);
}

.band-olive a {
  color: var(--ivory);
}

.band-olive :focus-visible {
  outline-color: var(--ivory);
}

.text-link {
  font-weight: 600;
}

.download-panel {
  display: grid;
  justify-items: start;
  gap: 0.4rem;
  max-width: 40rem;
}

.download-panel h2 {
  max-width: 16ch;
}

.site-footer {
  background: var(--olive-deep);
  color: var(--ivory);
  padding: 2.5rem 0 2rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: start;
}

.footer-name {
  margin: 0 0 0.8rem;
  font-family: var(--serif);
  font-size: 1.35rem;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-meta {
  display: grid;
  justify-items: end;
  gap: 0.35rem;
  margin: 0;
  color: rgba(250, 248, 242, 0.82);
  font-size: 0.92rem;
  text-align: right;
}

.footer-meta a {
  font-weight: 600;
}

.page-hero {
  padding: 4rem 0 1rem;
}

.page-hero h1 {
  max-width: 14ch;
  margin-bottom: 0.8rem;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  text-wrap: balance;
}

.prose {
  padding-bottom: 4.5rem;
}

.prose-inner {
  width: min(42rem, 100%);
}

.prose h2 {
  max-width: none;
  margin: 2.2rem 0 0.6rem;
  font-size: 1.7rem;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose ul,
.prose ol {
  margin-top: 0;
  padding-left: 1.2rem;
}

.draft-banner,
.edit-note {
  border-left: 3px solid var(--olive);
  background: var(--ivory);
  border-radius: 0 0.9rem 0.9rem 0;
}

.draft-banner {
  margin: 0 0 1.5rem;
  padding: 0.95rem 1rem;
}

.edit-note {
  margin: 1rem 0 1.25rem;
  padding: 0.85rem 1rem;
}

.edit-note p,
.draft-banner p {
  color: var(--ink);
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq {
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--ivory);
  padding: 0.2rem 1rem;
}

.faq summary {
  padding: 0.85rem 0;
  font-weight: 600;
  cursor: pointer;
}

.faq p {
  margin-bottom: 0.95rem;
}

.lightbox {
  width: min(36rem, calc(100% - 2rem));
  max-height: calc(100vh - 2rem);
  padding: 0;
  border: 0;
  border-radius: 1.1rem;
  background: var(--ivory);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.lightbox::backdrop {
  background: rgba(28, 33, 24, 0.72);
}

.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding: 0.85rem 0.9rem 0.4rem 1rem;
}

.lightbox-caption {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.15rem;
}

.lightbox-close,
.lightbox-nav {
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
}

.lightbox-close {
  padding: 0.4rem 0.8rem;
}

.lightbox-frame {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.5rem 1rem;
}

.lightbox-frame img {
  justify-self: center;
  width: auto;
  max-width: min(22rem, 70vw);
  max-height: 74vh;
  border-radius: 1rem;
  background: #c8d29e;
}

.lightbox-nav {
  width: 2.5rem;
  height: 2.5rem;
}

@media (max-width: 980px) {
  .feature-grid,
  .quiet-features,
  .about-grid,
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero h1,
  .section h2,
  .page-hero h1 {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 0.25rem 1.25rem 1rem;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
  }

  .site-header.is-open .site-nav {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav a {
    display: block;
    padding: 0.85rem 0;
    border-top: 1px solid var(--line);
  }

  .footer-grid,
  .footer-meta {
    justify-items: start;
    text-align: left;
  }

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

  .lightbox-frame {
    grid-template-columns: 1fr;
  }

  .lightbox-nav {
    justify-self: center;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: min(var(--measure), calc(100% - 1.5rem));
  }

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

  .shot .phone,
  .phone {
    width: min(16.5rem, 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .shot .phone {
    transition: none;
  }
}

@media (hover: hover) {
  .shot:hover .phone {
    transform: translateY(-4px);
  }
}
