:root {
  color-scheme: light;
  --accent: #f54e00;
  --accent-dark: #b83a00;
  --ink: #171713;
  --muted-ink: #62625c;
  --cream: #f0efeb;
  --paper: #faf9f6;
  --panel: #f4f3ef;
  --line: #deddd7;
  --forest: #173f33;
  --night: #211e1a;
  --max-width: 75rem;
  --shadow: 0 1.5rem 4rem rgba(35, 31, 23, 0.16);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  background: #fff;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

a:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-200%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(222, 221, 215, 0.72);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
}

.site-nav,
.site-footer {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

.site-nav {
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand,
.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand img,
.site-footer__brand img {
  border-radius: 0.65rem;
}

.brand span,
.site-footer__brand strong {
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  background: var(--accent-dark);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  background: #922d00;
  transform: translateY(-2px);
}

.button--small {
  min-height: 2.4rem;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

.button--light {
  background: #fff;
  color: var(--ink);
}

.button--light:hover {
  background: var(--cream);
}

.hero {
  min-height: 68rem;
  overflow: hidden;
  padding: clamp(5rem, 13vw, 10rem) 1rem 0;
  text-align: center;
}

.hero__copy {
  position: relative;
  z-index: 2;
  width: min(100%, 62rem);
  margin-inline: auto;
}

.hero__icon {
  width: clamp(5.5rem, 10vw, 7rem);
  margin: 0 auto 3.5rem;
  border-radius: 2rem;
  box-shadow: 0 1rem 2rem rgba(245, 78, 0, 0.18);
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.25rem, 7vw, 5.5rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.hero__lede {
  max-width: 44rem;
  margin: 1.6rem auto 2rem;
  color: var(--muted-ink);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  font-weight: 520;
  line-height: 1.45;
  text-wrap: balance;
}

.download-note {
  margin: 0.85rem auto 0;
  color: var(--muted-ink);
  font-size: 0.92rem;
  font-weight: 650;
}

.phone-fan {
  position: relative;
  left: 50%;
  display: flex;
  width: max-content;
  height: 38rem;
  margin: 5.5rem 0 0;
  align-items: flex-start;
  justify-content: center;
  gap: 1.75rem;
  transform: translateX(-50%);
}

.phone-shell {
  flex: 0 0 auto;
  width: min(100%, 17rem);
  padding: 0.55rem;
  overflow: hidden;
  border: 1px solid #302d29;
  border-radius: 3rem;
  background: #111;
  box-shadow: var(--shadow);
}

.phone-shell img {
  width: 100%;
  border-radius: 2.45rem;
}

.phone-shell--fan {
  width: 16rem;
}

.phone-shell--fan:nth-child(1),
.phone-shell--fan:nth-child(5) {
  margin-top: 6.25rem;
}

.phone-shell--fan:nth-child(2),
.phone-shell--fan:nth-child(4) {
  margin-top: 3.125rem;
}

.section {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
}

.section-heading {
  max-width: 58rem;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
  text-align: center;
}

.section-heading--left {
  margin-left: 0;
  text-align: left;
}

.section-heading h2,
.privacy-band h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(2.7rem, 5.7vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.section-heading p,
.privacy-band p,
.final-cta p {
  max-width: 42rem;
  margin: 1.25rem auto 0;
  color: var(--muted-ink);
  font-size: 1.18rem;
  text-wrap: balance;
}

.story__screens {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 4rem);
}

.story figure {
  margin: 0;
  min-width: 0;
  text-align: center;
}

.story .phone-shell {
  width: min(100%, 15.5rem);
  margin-inline: auto;
}

.story figcaption {
  display: grid;
  gap: 0.4rem;
  max-width: 20rem;
  margin: 1.6rem auto 0;
}

.story figcaption strong {
  font-size: 1.25rem;
}

.story figcaption span {
  color: var(--muted-ink);
}

.feature-stack {
  display: grid;
  gap: clamp(5rem, 12vw, 10rem);
}

.feature-stack > .section-heading {
  margin-bottom: 0;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
}

.feature-row--reverse .feature-row__copy {
  order: 2;
}

.feature-row__copy h3 {
  margin: 0;
  font-size: clamp(2.5rem, 5.2vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.feature-row__copy p {
  max-width: 34rem;
  margin: 1.4rem 0;
  color: var(--muted-ink);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.text-link {
  color: var(--accent-dark);
  font-weight: 750;
  text-decoration-thickness: 0.12rem;
  text-underline-offset: 0.25rem;
}

.feature-row__media {
  display: grid;
  min-height: 43rem;
  place-items: end center;
  overflow: hidden;
  border-radius: 2rem;
  background: var(--panel);
}

.feature-row__media .phone-shell {
  width: min(82%, 24rem);
  margin-bottom: -10rem;
}

.feature-row__media--dark {
  background: var(--night);
}

.feature-row__media--cream {
  background: #eee1c7;
}

.feature-row__media--green {
  background: var(--forest);
}

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

.widget-showcase figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: var(--panel);
}

.widget-showcase__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e7e3d8;
}

.widget-showcase__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.widget-showcase figure:nth-child(2) .widget-showcase__media img {
  object-position: center 38%;
}

.widget-showcase figcaption {
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.widget-showcase h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3.3vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.widget-showcase figcaption p {
  margin: 0.85rem 0 0;
  color: var(--muted-ink);
  font-size: 1.08rem;
}

.bento {
  display: grid;
  max-width: 58rem;
  margin-inline: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.bento-card {
  display: grid;
  min-height: 36rem;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border-radius: 1.75rem;
  background: var(--panel);
}

.bento-card--wide {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 0.8fr) minmax(18rem, 1fr);
  grid-template-rows: none;
  align-items: center;
}

.bento-card > div {
  position: relative;
  z-index: 1;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.bento-card h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3.3vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.bento-card p {
  margin: 0.85rem 0 0;
  color: var(--muted-ink);
  font-size: 1.08rem;
}

.bento-card > img {
  width: min(88%, 22rem);
  margin: 0 auto -14rem;
  border: 0.5rem solid #111;
  border-radius: 2.8rem;
  box-shadow: var(--shadow);
}

.bento-card--wide > img {
  align-self: end;
  margin-bottom: -13rem;
}

.bento-card--dark {
  background: var(--night);
  color: #fff;
}

.bento-card--dark p {
  color: #c9c4ba;
}

.bento-card--stats {
  background: #eee1c7;
}

.gallery {
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
  background: var(--cream);
}

.gallery__heading {
  padding-top: 0;
  padding-bottom: 0;
}

.gallery__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0 max(1rem, calc((100vw - var(--max-width)) / 2)) 2rem;
  scroll-padding-inline: max(1rem, calc((100vw - var(--max-width)) / 2));
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--accent) transparent;
}

.gallery__track figure {
  flex: 0 0 min(78vw, 21rem);
  margin: 0;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: #fff;
  scroll-snap-align: start;
}

.gallery__track img {
  width: 100%;
  border-radius: 1.35rem;
}

.gallery__track figcaption {
  padding: 1rem 0.5rem 0.4rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.gallery__action {
  display: grid;
  place-items: center;
  padding: 1.5rem 1rem 0;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: var(--line);
}

.capability-grid article {
  min-height: 16rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: #fff;
}

.capability-icon {
  display: block;
  width: 3.25rem;
  height: 3.25rem;
  padding: 0.8rem;
  border-radius: 1rem;
  background: var(--cream);
  color: var(--accent-dark);
  fill: currentColor;
}

.capability-grid h3 {
  margin: 2rem 0 0.5rem;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.capability-grid p {
  margin: 0;
  color: var(--muted-ink);
}

.privacy-band {
  padding: clamp(5rem, 11vw, 9rem) 1rem;
  background: var(--forest);
  color: #fff;
  text-align: center;
}

.privacy-band > div {
  max-width: 58rem;
  margin-inline: auto;
}

.privacy-band img,
.final-cta__content img {
  margin: 0 auto 2rem;
  border-radius: 1.75rem;
}

.privacy-band p {
  color: #d5e0db;
}

.privacy-band .button {
  margin-top: 2rem;
}

.privacy-band__policy {
  display: block;
  width: max-content;
  margin: 1rem auto 0;
  color: #d5e0db;
  font-weight: 650;
  text-underline-offset: 0.22rem;
}

.faq {
  max-width: 46rem;
}

.faq__list {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  min-height: 5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 700;
  list-style: none;
}

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

.faq summary span {
  color: var(--accent);
  font-size: 1.6rem;
}

.faq details[open] summary span {
  transform: rotate(45deg);
}

.faq details p {
  margin: -0.4rem 2.5rem 1.8rem 0;
  color: var(--muted-ink);
  font-size: 1.05rem;
}

.final-cta {
  position: relative;
  width: min(calc(100% - 2rem), 62.5rem);
  min-height: 35rem;
  margin: 0 auto 4rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2.5rem;
  background: var(--paper);
}

.final-cta__pattern {
  position: absolute;
  inset: -35% -15%;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 0.9rem;
  transform: rotate(-12deg);
  opacity: 0.23;
}

.final-cta__pattern span {
  padding: 0.85rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted-ink);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.final-cta::after {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(250, 249, 246, 0.78) 0 26%, var(--paper) 68%);
  content: "";
}

.final-cta__content {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 35rem;
  place-content: center;
  padding: 3rem 1rem;
  text-align: center;
}

.final-cta__content p {
  margin-bottom: 2rem;
}

.final-cta__content .button {
  justify-self: center;
}

.site-footer {
  display: grid;
  min-height: 8rem;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  border-top: 1px solid var(--line);
}

.site-footer nav {
  display: flex;
  gap: 1.5rem;
}

.site-footer nav a {
  color: var(--muted-ink);
  text-underline-offset: 0.2rem;
}

.site-footer p {
  margin: 0;
  color: var(--muted-ink);
  text-align: right;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .faq summary span {
    transition: transform 160ms ease;
  }

  .button {
    transition: background-color 160ms ease, transform 160ms ease;
  }

  .hero__icon,
  .hero h1,
  .hero__lede,
  .hero .button {
    animation: hero-in 700ms both cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .hero h1 { animation-delay: 60ms; }
  .hero__lede { animation-delay: 120ms; }
  .hero .button { animation-delay: 180ms; }

  .phone-shell--fan {
    animation: phone-in 900ms 300ms both cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .phone-shell--fan:nth-child(2),
  .phone-shell--fan:nth-child(4) { animation-delay: 390ms; }
  .phone-shell--fan:nth-child(1),
  .phone-shell--fan:nth-child(5) { animation-delay: 480ms; }
}

@keyframes hero-in {
  from { opacity: 0; transform: translateY(1rem); }
}

@keyframes phone-in {
  from { opacity: 0; transform: translateY(5rem); }
}

@media (max-width: 63.99rem) {
  .hero {
    min-height: 62rem;
  }

  .phone-fan {
    gap: 1rem;
  }

  .phone-shell--fan {
    width: 12rem;
  }

  .feature-row,
  .feature-row--reverse {
    grid-template-columns: 1fr;
  }

  .feature-row--reverse .feature-row__copy {
    order: 0;
  }

  .feature-row__copy {
    max-width: 42rem;
    margin-inline: auto;
    text-align: center;
  }

  .feature-row__copy p {
    margin-inline: auto;
  }

  .feature-row__media {
    min-height: 38rem;
  }

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

@media (max-width: 47.99rem) {
  .hero {
    min-height: 52rem;
    padding-top: 5rem;
  }

  .hero__icon {
    margin-bottom: 2.5rem;
  }

  .phone-fan {
    height: 29rem;
    margin-top: 4rem;
    gap: 0.7rem;
  }

  .phone-shell {
    border-radius: 2.2rem;
  }

  .phone-shell img {
    border-radius: 1.75rem;
  }

  .phone-shell--fan {
    width: 9.6rem;
    padding: 0.32rem;
  }

  .phone-shell--fan:nth-child(1),
  .phone-shell--fan:nth-child(5) {
    margin-top: 4rem;
  }

  .phone-shell--fan:nth-child(2),
  .phone-shell--fan:nth-child(4) {
    margin-top: 2rem;
  }

  .story__screens {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0 0 1.5rem;
    scroll-snap-type: x mandatory;
  }

  .story figure {
    flex: 0 0 82%;
    scroll-snap-align: center;
  }

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

  .widget-showcase__grid {
    grid-template-columns: 1fr;
  }

  .bento-card,
  .bento-card--wide {
    min-height: 34rem;
    grid-column: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .bento-card--wide > img {
    align-self: auto;
    margin-bottom: -14rem;
  }

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

  .capability-grid article {
    min-height: 13rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    padding-block: 2.5rem;
    text-align: center;
  }

  .site-footer p {
    text-align: center;
  }
}

@media (max-width: 29.99rem) {
  .site-nav,
  .site-footer,
  .section {
    width: min(calc(100% - 1.25rem), var(--max-width));
  }

  .button--small {
    padding-inline: 0.85rem;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 3.7rem);
  }

  .hero__lede {
    font-size: 1.05rem;
  }

  .feature-row__media {
    min-height: 31rem;
  }

  .feature-row__media .phone-shell {
    margin-bottom: -8rem;
  }
}
