/* Caff Conscious static Pages site */

:root {
  --coffee-brown: #984900;
  --dark-coffee: #2a1c12;
  --deep: #061923;
  --deep-soft: #0d2630;
  --deep-raised: #12333f;
  --surface: #f6f8f8;
  --surface-cool: #e8f2f4;
  --card: #ffffff;
  --text-dark: #141a1c;
  --text-muted: #4c585c;
  --border: #cbd4d5;
  --caffeine: #ffb14c;
  --caffeine-text: #984900;
  --sleep: #0a708c;
  --sleep-text: #005e76;
  --sleep-pale: #d8edf1;
  --on-deep: #ffffff;
  --on-deep-muted: #d5e1e4;
  --on-deep-subtle: #b8c9ce;
  --on-caffeine-muted: #3d2a15;
  --on-caffeine-subtle: #4b3218;
  --on-caffeine-caption: #203843;
  --caffeine-hover: #ffc16d;
  --native-divider: #adc4c8;
  --native-body: #344a51;
  --on-sleep-muted: #e8f4f6;
  --on-sleep-body: #edf7f8;
  --line-on-color: rgba(255, 255, 255, 0.42);
  --shadow-black: rgba(0, 0, 0, 0.28);
  --shadow-deep: rgba(6, 25, 35, 0.28);
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 999px;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --content-max: 1120px;
  --z-handoff: 30;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--surface);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 0;
  color: var(--text-dark);
  background: var(--surface);
  font-family: var(--font-body);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  color: var(--deep);
  background: var(--caffeine);
}

:focus-visible {
  outline: 3px solid var(--sleep);
  outline-offset: 4px;
}

.marketing-page {
  overflow-x: clip;
  background: var(--deep);
}

.section-inner,
.site-header__inner,
.hero__layout {
  width: min(var(--content-max), calc(100% - clamp(2rem, 8vw, 8rem)));
  margin-inline: auto;
}

/* Mobile store handoff */

.store-handoff {
  position: relative;
  z-index: var(--z-handoff);
  padding:
    max(0.75rem, env(safe-area-inset-top))
    max(0.75rem, env(safe-area-inset-right))
    0
    max(0.75rem, env(safe-area-inset-left));
  color: var(--on-deep);
  font-size: 0.94rem;
}

.store-handoff[hidden] {
  display: none;
}

.store-handoff__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.9rem;
  width: min(100%, 48rem);
  margin-inline: auto;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-md);
  background: var(--deep-raised);
  box-shadow: 0 8px 8px var(--shadow-black);
}

.store-handoff p {
  flex: 1 1 15rem;
  margin: 0;
  font-weight: 720;
}

.store-handoff a,
.store-handoff button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.25rem 0;
  border: 0;
  color: var(--caffeine);
  background: transparent;
  font: inherit;
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
}

.store-handoff button {
  color: var(--on-deep-muted);
}

.store-handoff a:hover,
.store-handoff button:hover {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.store-handoff a:focus-visible,
.store-handoff button:focus-visible {
  outline-color: var(--caffeine);
  border-radius: var(--radius-xs);
}

/* Marketing header */

.site-header {
  position: relative;
  z-index: 2;
  color: var(--on-deep);
  background: var(--deep);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding-block: max(0.75rem, env(safe-area-inset-top)) 0.75rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 0.7rem;
  color: var(--on-deep);
  font-size: 1.02rem;
  font-weight: 790;
  text-decoration: none;
}

.wordmark img {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
}

.wordmark:focus-visible,
.site-nav a:focus-visible {
  outline-color: var(--caffeine);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.45rem, 2vw, 1.4rem);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 0.25rem;
  color: var(--on-deep-muted);
  font-size: 0.93rem;
  font-weight: 680;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--on-deep);
}

.site-nav .site-nav__download {
  padding-inline: 1rem;
  border-radius: var(--radius-full);
  color: var(--deep);
  background: var(--caffeine);
  font-weight: 790;
}

.site-nav .site-nav__download:hover {
  color: var(--deep);
  background: var(--caffeine-hover);
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  color: var(--on-deep);
  background: var(--deep);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -1;
  width: clamp(24rem, 40vw, 42rem);
  background: var(--caffeine);
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(18rem, 0.58fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
  min-height: min(800px, calc(100svh - 76px));
  padding-block: clamp(4rem, 8vw, 7rem);
}

.hero__content,
.hero-instrument {
  min-width: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__statement {
  margin: 0 0 1rem;
  color: var(--caffeine);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 780;
  text-wrap: pretty;
}

.hero h1 {
  max-width: 9.6ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7.4vw, 5.8rem);
  font-weight: 860;
  letter-spacing: -0.035em;
  line-height: 0.95;
  overflow-wrap: normal;
  text-wrap: balance;
}

.hero__lede {
  max-width: 35rem;
  margin: 1.45rem 0 0;
  color: var(--on-deep-muted);
  font-size: clamp(1.07rem, 1.5vw, 1.25rem);
  line-height: 1.58;
  text-wrap: pretty;
}

.hero__privacy {
  max-width: 34rem;
  margin: 1rem 0 0;
  color: var(--on-deep-subtle);
  font-size: 0.94rem;
  text-wrap: pretty;
}

.hero-instrument {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--deep);
}

.hero-instrument__screen {
  position: relative;
  width: min(100%, 21.5rem);
  margin-inline: auto;
}

.hero-instrument__screen::before {
  content: "";
  position: absolute;
  top: -2rem;
  bottom: -2rem;
  left: -1.4rem;
  width: 2px;
  background: var(--sleep);
}

.hero-instrument__screen::after {
  content: "";
  position: absolute;
  top: -2.35rem;
  left: -1.68rem;
  width: 0.6rem;
  height: 0.6rem;
  background: var(--sleep);
}

.hero-instrument img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 8px var(--shadow-deep);
}

.hero-instrument figcaption {
  display: grid;
  gap: 0.25rem;
  width: min(100%, 21.5rem);
  margin: 1.25rem auto 0;
  padding-left: 1rem;
}

.hero-instrument figcaption strong {
  font-size: 1.05rem;
  line-height: 1.25;
}

.hero-instrument figcaption span {
  max-width: 32ch;
  color: var(--on-caffeine-caption);
  font-size: 0.92rem;
  line-height: 1.45;
  text-wrap: pretty;
}

/* Store badges */

.store-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.store-button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: inherit;
  background: transparent;
  line-height: 0;
  text-decoration: none;
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1), filter 180ms ease-out;
}

.store-button:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.store-button:active {
  transform: translateY(0);
}

.store-button:focus-visible {
  outline-color: var(--caffeine);
}

.store-button img {
  width: auto;
  height: 40px;
}

/* Log, check, decide */

.decision-loop {
  padding-block: clamp(5rem, 10vw, 9rem);
  background: var(--card);
}

.section-lede {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(20rem, 0.72fr);
  gap: clamp(2rem, 8vw, 7rem);
  align-items: end;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 2px solid var(--deep);
}

.section-lede h2,
.native-layout h2,
.privacy-boundary h2,
.final-cta h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 850;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.section-lede h2 {
  max-width: 8ch;
  color: var(--deep);
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.94;
}

.section-lede p {
  max-width: 39rem;
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  text-wrap: pretty;
}

.routine-layout {
  display: grid;
  grid-template-columns: minmax(19rem, 0.82fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 8vw, 7rem);
  align-items: center;
  padding-top: clamp(3.5rem, 7vw, 6rem);
}

.log-proof {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 4vw, 2.5rem) 0;
  overflow: hidden;
  color: var(--on-deep);
  background: var(--deep);
}

.log-proof__field {
  position: absolute;
  top: 2.5rem;
  left: clamp(1rem, 4vw, 2.5rem);
  display: grid;
  gap: 0.55rem;
  color: var(--caffeine);
  font-size: 0.83rem;
  font-weight: 760;
}

.log-proof__field span {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.log-proof__field span::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: currentColor;
}

.log-proof img {
  width: min(74%, 18rem);
  margin-left: auto;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 8px 8px var(--shadow-black);
}

.log-proof figcaption {
  max-width: 33ch;
  padding-block: 1.2rem 1.5rem;
  color: var(--on-deep-muted);
  font-size: 0.92rem;
  text-wrap: pretty;
}

.routine-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.routine-steps li {
  display: grid;
  grid-template-columns: 4.7rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding-block: clamp(1.5rem, 4vw, 2.3rem);
  border-top: 1px solid var(--border);
}

.routine-steps__verb {
  color: var(--caffeine-text);
  font-size: 0.94rem;
  font-weight: 850;
}

.routine-steps h3 {
  margin: 0;
  color: var(--deep);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 810;
  letter-spacing: -0.015em;
  line-height: 1.12;
  text-wrap: balance;
}

.routine-steps p {
  max-width: 38rem;
  margin: 0.7rem 0 0;
  color: var(--text-muted);
  text-wrap: pretty;
}

.routine-steps .routine-steps__decision {
  margin-top: 0.65rem;
  padding: 1.6rem;
  border-top: 0;
  color: var(--on-deep);
  background: var(--deep);
}

.routine-steps__decision .routine-steps__verb {
  color: var(--caffeine);
}

.routine-steps__decision h3 {
  color: var(--on-deep);
}

.routine-steps__decision p {
  color: var(--on-deep-muted);
}

/* Platform-native implementation */

.native-section {
  padding-block: clamp(4.5rem, 8vw, 7rem);
  background: var(--surface-cool);
}

.native-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(22rem, 1fr);
  gap: clamp(2.5rem, 8vw, 7rem);
  align-items: start;
}

.native-layout h2 {
  max-width: 11ch;
  color: var(--deep);
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  line-height: 0.98;
}

.native-layout > div > p {
  max-width: 34rem;
  margin: 1rem 0 0;
  color: var(--text-muted);
  font-size: 1.07rem;
  text-wrap: pretty;
}

.native-details {
  margin: 0;
}

.native-details div {
  padding-block: 1.4rem;
  border-top: 1px solid var(--native-divider);
}

.native-details div:last-child {
  border-bottom: 1px solid var(--native-divider);
}

.native-details dt {
  margin: 0;
  color: var(--sleep-text);
  font-size: 1.03rem;
  font-weight: 840;
}

.native-details dd {
  max-width: 42rem;
  margin: 0.55rem 0 0;
  color: var(--native-body);
  text-wrap: pretty;
}

/* Privacy boundary */

.privacy-boundary {
  padding-block: clamp(5rem, 10vw, 8.5rem);
  color: var(--on-deep);
  background: var(--sleep);
}

.privacy-boundary__intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 0.75fr);
  gap: clamp(2rem, 8vw, 7rem);
  align-items: end;
}

.privacy-boundary h2 {
  max-width: 10ch;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.95;
}

.privacy-boundary__intro > p {
  max-width: 38rem;
  margin: 0;
  color: var(--on-sleep-muted);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  text-wrap: pretty;
}

.privacy-boundary__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(2.75rem, 6vw, 4.5rem);
  border-block: 1px solid var(--line-on-color);
}

.privacy-boundary__details section {
  min-width: 0;
  padding-block: 2rem;
}

.privacy-boundary__details section + section {
  padding-left: clamp(2rem, 7vw, 6rem);
  border-left: 1px solid var(--line-on-color);
}

.privacy-boundary h3 {
  margin: 0;
  color: var(--on-deep);
  font-size: 1.12rem;
  font-weight: 820;
}

.privacy-boundary ul {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
}

.privacy-boundary li {
  padding-block: 0.28rem;
  color: var(--on-sleep-body);
}

.privacy-boundary li::marker {
  color: var(--on-deep);
}

.privacy-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 1.75rem;
  color: var(--on-deep);
  font-weight: 780;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
}

.privacy-link span {
  margin-left: 0.45rem;
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.privacy-link:hover span {
  transform: translateX(0.25rem);
}

.privacy-link:focus-visible {
  outline-color: var(--on-deep);
}

/* Final download */

.final-cta {
  padding-block: clamp(4.5rem, 8vw, 7rem);
  color: var(--deep);
  background: var(--caffeine);
}

.final-cta__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
}

.final-cta h2 {
  max-width: 13ch;
  font-size: clamp(2.8rem, 5vw, 4.7rem);
  line-height: 0.97;
}

.final-cta__layout > div > p {
  max-width: 38rem;
  margin: 1rem 0 0;
  color: var(--on-caffeine-muted);
  font-size: 1.05rem;
  text-wrap: pretty;
}

.store-actions--final {
  margin-top: 0;
}

.final-cta .store-button:focus-visible {
  outline-color: var(--deep);
}

.final-cta .final-cta__note {
  margin: 0.75rem 0 0;
  color: var(--on-caffeine-subtle);
  font-size: 0.9rem;
  text-align: right;
}

/* Marketing footer */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 1rem;
  padding: 1.5rem max(1rem, calc((100% - var(--content-max)) / 2));
  color: var(--on-deep-subtle);
  background: var(--deep);
  font-size: 0.88rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--on-deep);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.22em;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration-color: var(--caffeine);
}

.site-footer a:focus-visible {
  outline-color: var(--caffeine);
}

/* Shared legal page shell */

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
}

.container > header {
  padding: 2rem 0;
  text-align: center;
}

.container > header h1 {
  margin: 0 0 0.5rem;
  color: var(--coffee-brown);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: 0;
}

.container > header .tagline {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.2rem;
}

.policy-content {
  margin: 2rem 0;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--card);
}

.policy-content h2 {
  margin: 2rem 0 1rem;
  color: var(--dark-coffee);
  font-size: 1.55rem;
  letter-spacing: 0;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content h3 {
  margin: 1.4rem 0 0.75rem;
  color: var(--deep-soft);
  font-size: 1.12rem;
  letter-spacing: 0;
}

.policy-content p {
  margin: 0 0 1rem;
  line-height: 1.75;
}

.policy-content ul {
  margin: 0 0 1rem 1.35rem;
  padding: 0;
}

.policy-content a {
  color: var(--caffeine-text);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.last-updated {
  margin-top: 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: italic;
}

.container > footer {
  padding: 2rem 1rem;
  color: var(--text-muted);
  text-align: center;
  font-size: 0.9rem;
}

.container > footer p {
  margin: 0.25rem 0;
}

.container > footer a {
  color: var(--coffee-brown);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

/* Responsive structure */

@media (max-width: 960px) {
  .hero::after {
    width: 40vw;
  }

  .hero__layout {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.5fr);
    gap: clamp(2rem, 5vw, 4rem);
  }

  .routine-layout {
    grid-template-columns: minmax(17rem, 0.72fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 5vw, 4rem);
  }

  .log-proof__field {
    display: none;
  }

  .log-proof img {
    width: min(100%, 18rem);
    margin-inline: auto;
  }
}

@media (max-width: 760px) {
  .section-inner,
  .site-header__inner,
  .hero__layout {
    width: min(var(--content-max), calc(100% - 2rem));
  }

  .site-header__inner {
    min-height: 68px;
  }

  .site-nav a:not(.site-nav__download) {
    display: none;
  }

  .hero::after {
    inset: 54% 0 0;
    width: 100%;
  }

  .hero__layout {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    min-height: 0;
    padding-block: clamp(3rem, 10vw, 5rem);
  }

  .hero h1 {
    max-width: 9.4ch;
    font-size: clamp(3.25rem, 12vw, 4.7rem);
  }

  .hero-instrument {
    width: min(100%, 25rem);
    margin-inline: auto;
  }

  .hero-instrument__screen {
    width: min(76vw, 20rem);
  }

  .hero-instrument figcaption {
    width: min(76vw, 20rem);
  }

  .section-lede,
  .routine-layout,
  .native-layout,
  .privacy-boundary__intro,
  .final-cta__layout {
    grid-template-columns: 1fr;
  }

  .section-lede {
    gap: 1.4rem;
  }

  .section-lede h2 {
    max-width: none;
  }

  .routine-layout {
    gap: 3rem;
  }

  .log-proof {
    width: min(100%, 34rem);
    margin-inline: auto;
  }

  .native-layout,
  .privacy-boundary__intro,
  .final-cta__layout {
    gap: 2rem;
  }

  .native-layout {
    grid-template-columns: 1fr;
  }

  .privacy-boundary__details {
    grid-template-columns: 1fr;
  }

  .privacy-boundary__details section + section {
    padding-left: 0;
    border-top: 1px solid var(--line-on-color);
    border-left: 0;
  }

  .store-actions--final {
    justify-content: flex-start;
  }

  .final-cta .final-cta__note {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .store-handoff {
    inset-inline: 0.75rem;
  }

  .store-handoff__inner {
    gap: 0.15rem 0.75rem;
    padding: 0.65rem 0.8rem;
    font-size: 0.88rem;
  }

  .site-header__inner {
    min-height: 64px;
  }

  .wordmark {
    gap: 0.55rem;
    font-size: 0.94rem;
  }

  .wordmark img {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
  }

  .site-nav .site-nav__download {
    padding-inline: 0.8rem;
    font-size: 0.88rem;
  }

  .hero::after {
    inset-block-start: 56%;
  }

  .hero__layout {
    gap: 3rem;
    padding-block: 2.8rem 3.5rem;
  }

  .hero h1 {
    max-width: 9.2ch;
    font-size: clamp(2.8rem, 14vw, 3.75rem);
    line-height: 0.97;
  }

  .hero__lede {
    font-size: 1.03rem;
  }

  .hero-instrument__screen::before {
    left: -0.85rem;
  }

  .hero-instrument__screen::after {
    left: -1.13rem;
  }

  .decision-loop,
  .native-section,
  .privacy-boundary,
  .final-cta {
    padding-block: 4rem;
  }

  .section-lede h2 {
    font-size: clamp(2.8rem, 14vw, 3.8rem);
  }

  .log-proof {
    padding: 1.4rem 1rem 0;
  }

  .log-proof img {
    width: min(82%, 17rem);
  }

  .routine-steps li {
    grid-template-columns: 4.2rem minmax(0, 1fr);
    gap: 0.55rem;
  }

  .routine-steps .routine-steps__decision {
    padding: 1.25rem 1rem;
  }

  .native-layout h2,
  .privacy-boundary h2,
  .final-cta h2 {
    font-size: clamp(2.55rem, 12vw, 3.45rem);
  }

  .store-actions {
    gap: 0.6rem;
  }

  .site-footer {
    display: block;
    padding-inline: 1rem;
  }

  .site-footer p + p {
    margin-top: 0.35rem;
  }

  .policy-content {
    padding: 1.25rem;
  }
}

@media (max-width: 1180px) and (max-height: 520px) and (orientation: landscape) {
  .section-inner,
  .site-header__inner,
  .hero__layout {
    width: calc(
      100% - max(
        2rem,
        calc(env(safe-area-inset-left) + env(safe-area-inset-right))
      )
    );
  }

  .site-header__inner {
    min-height: 56px;
    padding-block: 0.35rem;
  }

  .hero::after {
    inset: 0 0 0 auto;
    width: 29%;
  }

  .hero__layout {
    grid-template-columns: minmax(0, 1fr) minmax(10rem, 0.34fr);
    gap: clamp(1.5rem, 5vw, 4rem);
    min-height: calc(100svh - 56px);
    padding-block: 1.25rem;
  }

  .hero__statement {
    margin-bottom: 0.55rem;
    font-size: 0.9rem;
  }

  .hero h1 {
    max-width: 14ch;
    font-size: clamp(2.15rem, 10vh, 3.2rem);
    line-height: 0.96;
  }

  .hero__lede {
    max-width: 42rem;
    margin-top: 0.65rem;
    font-size: 0.94rem;
    line-height: 1.42;
  }

  .store-actions {
    margin-top: 0.8rem;
  }

  .hero__privacy {
    margin-top: 0.5rem;
    font-size: 0.78rem;
  }

  .hero-instrument {
    width: auto;
  }

  .hero-instrument__screen {
    width: min(100%, 10.5rem);
  }

  .hero-instrument img {
    max-height: 68vh;
    width: auto;
    margin-inline: auto;
  }

  .hero-instrument figcaption {
    display: none;
  }

  .hero-instrument__screen::before,
  .hero-instrument__screen::after {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
