:root {
  color-scheme: light;
  --white: #ffffff;
  --ink: #0f1115;
  --graphite: #3a3a3f;
  --pebble: #71717a;
  --mist: #f3f4f6;
  --line: #e6e7eb;
  --wash: #fafafa;
  --sage: #a6b89b;
  --forest: #2e4f35;
  --deep-teal: #0f4d4a;
  --ocean: #2f7c80;
  --clay: #c86a4a;
  --berry: #a8035b;
  --lilac: #d6d1e8;
  --sand: #e6dfd2;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-xl: 42px;
  --shadow-soft: 0 24px 70px rgba(15, 17, 21, 0.14);
  --shadow-phone: 0 30px 70px rgba(15, 17, 21, 0.2);
  --page-pad: clamp(20px, 4vw, 56px);
  --content: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input {
  font: inherit;
}



.brand {
  width: 118px;
  height: 38px;
  overflow: hidden;
}

.brand img,
.site-footer img {
  width: auto;
  height: 100%;
  transform: scale(3.45);
  transform-origin: left center;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 38px);
  color: var(--graphite);
  font-size: 0.9rem;
  font-weight: 600;
}

.site-nav a,
.header-cta,
.site-footer a {
  transition:
    color 160ms ease,
    opacity 160ms ease,
    border-color 160ms ease;
}

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

.header-cta {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.86rem;
  font-weight: 700;
}

.header-cta:hover {
  background: var(--ink);
  color: var(--white);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  width: min(100%, var(--content));
  min-height: auto;
  margin: 0 auto;
  padding: clamp(54px, 7vw, 92px) var(--page-pad) clamp(34px, 5vw, 70px);
}

.hero__copy {
  max-width: 610px;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(3.3rem, 7.5vw, 7.6rem);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4.4vw, 5.2rem);
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.15rem, 1.5vw, 1.42rem);
  line-height: 1.15;
  font-weight: 800;
}

p {
  color: var(--graphite);
  font-size: clamp(1rem, 1.4vw, 1.28rem);
  line-height: 1.55;
}

.hero__lead {
  max-width: 560px;
  margin-bottom: 34px;
}

.hero__actions,
.formkit-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 22px;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.1;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

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

.button--primary {
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--ink);
}

.button--secondary {
  background: var(--white);
  color: var(--ink);
  border: 1px solid #cfd1d6;
}

.button--wide {
  width: 100%;
}

.button[aria-disabled="true"] {
  cursor: not-allowed;
}

.hero__swatches {
  display: flex;
  gap: 12px;
  margin-top: 40px;
}

.hero__swatches span {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow:
    inset 0 0 0 1px rgba(15, 17, 21, 0.08),
    0 8px 24px rgba(15, 17, 21, 0.1);
}

.hero__media {
  position: relative;
  min-height: clamp(430px, 56vw, 720px);
}

.hero__photo {
  width: 100%;
  height: clamp(430px, 56vw, 720px);
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.phone-card {
  margin: 0;
}

.phone-card__device {
  width: 100%;
}

.phone-card--hero {
  position: absolute;
  right: clamp(16px, 3vw, 36px);
  bottom: clamp(-52px, -5vw, -28px);
  width: min(32vw, 250px);
  min-width: 180px;
}

.movement-strip {
  width: min(100%, var(--content));
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

.movement-strip img {
  width: 100%;
  aspect-ratio: 16 / 5.6;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.section {
  width: min(100%, var(--content));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 150px) var(--page-pad);
}

.section__heading {
  max-width: 780px;
  margin-bottom: clamp(34px, 5vw, 68px);
}

.section__heading p {
  max-width: 680px;
}

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

.step {
  min-height: 260px;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.step__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 34px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--ink);
}

.step__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.step p {
  margin-bottom: 0;
  color: var(--pebble);
  font-size: 1rem;
}

.color-story {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.82fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: center;
}

.color-story__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.color-story__content {
  max-width: 560px;
}

.color-story__phone {
  width: clamp(190px, 18vw, 250px);
  margin-top: clamp(30px, 4vw, 48px);
  border-width: 7px;
  border-radius: 34px;
  box-shadow: 0 16px 38px rgba(16, 18, 20, 0.12);
}

.color-story__phone .iphone-shell__screen {
  border-radius: 27px;
}

.color-story__phone .iphone-shell__island {
  top: 11px;
  height: 12px;
}

.shade-row strong {
  font-size: 1.08rem;
}

.shade-row small {
  margin-top: 4px;
  color: var(--pebble);
  font-size: 0.95rem;
}

.app-preview {
  background: var(--wash);
  /* border-radius: var(--radius-xl); */
}

.phone-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 4vw, 54px);
  align-items: start;
  max-width: 1060px;
  margin: 0 auto;
}

.phone-card--raised {
  margin-top: -42px;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: start;
}

.final-cta h2 {
  max-width: 720px;
}

.final-cta p {
  max-width: 620px;
}

.download-panel {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 12px 44px rgba(15, 17, 21, 0.08);
}

.notify-card {
  margin-top: 24px;
}

.notify-card__copy h3 {
  margin-bottom: 6px;
}

.notify-card__copy p {
  margin-bottom: 18px;
  color: var(--pebble);
  font-size: 0.98rem;
}

.formkit-form[data-uid="3e65e29144"] {
  width: 100%;
  font-family: inherit;
}

.formkit-field {
  flex: 1 1 180px;
}

.formkit-input {
  width: 100%;
  min-height: 50px;
  border: 1px solid #cfd1d6;
  border-radius: 999px;
  padding: 0 18px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.96rem;
}

.formkit-input:focus {
  outline: 2px solid rgba(15, 77, 74, 0.24);
  outline-offset: 2px;
  border-color: var(--deep-teal);
}

.formkit-submit {
  min-height: 50px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0 18px;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 800;
}

.formkit-alert {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  color: #9f1239;
  font-size: 0.9rem;
}

.notify-card__success {
  display: none;
  margin-top: 18px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: #eef6eb;
  color: var(--forest);
}

.notify-card__success p {
  margin: 0;
  color: inherit;
  font-size: 0.95rem;
}

.notify-card.is-success .notify-card__copy,
.notify-card.is-success .notify-card__form {
  display: none;
}

.notify-card.is-success .notify-card__success {
  display: block;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(100%, var(--content));
  margin: 0 auto;
  padding: 34px var(--page-pad) 44px;
  border-top: 1px solid var(--line);
  color: var(--pebble);
}

.site-footer img {
  width: 96px;
  height: 32px;
  overflow: hidden;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
  font-size: 0.92rem;
  font-weight: 650;
}

.site-footer p {
  margin: 0;
  color: var(--pebble);
  font-size: 0.92rem;
}

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

@media (max-width: 980px) {
  .hero,
  .color-story,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero__copy {
    max-width: 760px;
  }

  .hero__media {
    min-height: auto;
    padding-bottom: 70px;
  }

  .phone-card--hero {
    right: 22px;
    bottom: 0;
    width: min(36vw, 220px);
  }

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

  .phone-grid {
    max-width: 760px;
  }
}

@media (max-width: 720px) {

  .color-story__phone {
    width: min(62vw, 230px);
    margin: 32px auto 0;
  }

  .site-header {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .brand {
    width: 104px;
    height: 34px;
  }

  .header-cta {
    padding: 9px 14px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 5.1rem);
  }

  .hero__photo {
    height: 440px;
    border-radius: 30px;
  }

  .phone-card--hero {
    width: 174px;
    min-width: 0;
    border-radius: 30px;
  }

  .movement-strip img {
    aspect-ratio: 1.1 / 1;
  }

  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .phone-grid {
    display: flex;
    gap: 16px;
    margin-inline: calc(var(--page-pad) * -1);
    padding-inline: var(--page-pad);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .phone-grid .phone-card {
    min-width: 240px;
    scroll-snap-align: center;
  }

  .phone-card--raised {
    margin-top: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .hero__actions,
  .formkit-fields {
    align-items: stretch;
  }

  .button,
  .formkit-submit {
    width: 100%;
  }

  .hero__swatches {
    gap: 9px;
  }

  .hero__swatches span {
    width: 24px;
    height: 24px;
  }

  .step {
    min-height: 0;
  }
}

/* Header and hero */
html {
  scroll-padding-top: 78px;
  font-family: "Instrument Sans", sans-serif;
}

.site-header {
  position: fixed;
  top: 10px;
  right: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: calc(100% - 32px);
  max-width: calc(var(--content) - 32px);
  margin: 0 auto;
  padding: 10px 16px;
  border: 1px solid rgba(31, 34, 36, .08);
  border-radius: 12px;
  background: rgba(243, 244, 245, .64);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 18px rgba(15, 17, 21, .035);
  transition:
    top 220ms ease,
    padding 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
  top: 8px;
  padding-top: 8px;
  padding-bottom: 8px;
  border-color: rgba(31, 34, 36, .13);
  background: rgba(243, 244, 245, .92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 7px 24px rgba(15, 17, 21, .07);
}

.site-header .brand {
  width: 112px;
  height: 32px;
}

.site-header .brand img {
  width: 111%;
  max-width: none;
  height: auto;
  transform: translate(-4.5%, -35.5%);
}

.site-header .site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.6vw, 34px);
  color: #111314;
  font-size: .88rem;
  font-weight: 600;
}

.site-header .site-nav a,
.site-header .header-cta {
  color: #111314;
}

.site-header .site-nav a:hover {
  opacity: .62;
}

.site-header .header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 14px;
  border: 1px solid #111314;
  border-radius: 8px;
  background: rgba(255, 255, 255, .16);
  text-align: center;
  line-height: 1;
}

.site-header .header-cta:hover {
  color: #fff;
  background: #111314;
}

.site-header a:focus-visible,
.hero__actions a:focus-visible {
  outline: 3px solid #111314;
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    gap: 16px;
    width: calc(100% - 24px);
    padding: 9px 13px;
  }

  .site-header.is-scrolled {
    padding-top: 7px;
    padding-bottom: 7px;
  }

  .site-header .site-nav {
    display: none;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 72px;
  }

  .site-header {
    top: 8px;
    width: calc(100% - 16px);
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(243, 244, 245, .68);
  }

  .site-header.is-scrolled {
    top: 6px;
    padding-top: 7px;
    padding-bottom: 7px;
    background: rgba(243, 244, 245, .94);
  }

  .site-header .brand {
    width: 98px;
    height: 28px;
  }

  .site-header .header-cta {
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header {
    transition: none;
  }
}

.hero { position: relative; display: block; width: 100%; max-width: none; margin: 0; min-height: 100svh; padding: 0; overflow: hidden; background: #e9e7e1; }
.hero::before { content: ""; position: absolute; inset: 0 auto 0 0; z-index: 2; width: 58%; pointer-events: none; background: linear-gradient(90deg, rgba(247, 247, 244, .68) 0%, rgba(247, 247, 244, .48) 58%, rgba(247, 247, 244, 0) 100%); }
.hero__media, .hero__media picture { position: absolute; inset: 0; display: block; }
.hero__photo { width: 100%; height: 100%; border-radius: 0; object-fit: cover; object-position: center; }
.hero__copy { position: absolute; z-index: 3; bottom: clamp(52px, 8vh, 92px); left: var(--page-pad); width: min(560px, 44vw); max-width: none; padding: 0; }
.hero__copy h1 { max-width: 540px; margin: 0; color: #111314; font-size: clamp(3.25rem, 5vw, 5.25rem); font-weight: 600; line-height: .96; letter-spacing: 0; }
.hero__lead { max-width: 480px; margin-top: 24px; color: #252829; font-size: clamp(1rem, 1.35vw, 1.2rem); line-height: 1.48; }
.hero__actions { margin-top: 28px; }
.hero__actions .button { min-height: 48px; }
.hero__actions .button--primary { color: #fff; border-color: #111314; background: #111314; }
.hero__actions .button--secondary { color: #111314; border-color: rgba(17, 19, 20, .55); background: rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.iphone-shell {
  position: relative;
  overflow: hidden;
  border: 7px solid #050607;
  border-radius: 38px;
  background: #050607;
  box-shadow: 0 22px 50px rgba(16, 18, 20, .25);
}

.iphone-shell__screen {
  width: 100%;
  overflow: hidden;
  border-radius: 29px;
  background: #fff;
}

.iphone-shell__screen img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: contain;
  transform: none;
}

.iphone-shell__island {
  position: absolute;
  z-index: 2;
  top: 7px;
  left: 50%;
  width: 34%;
  height: 17px;
  border-radius: 999px;
  background: #050607;
  transform: translateX(-50%);
}
.hero-phone { position: absolute; z-index: 4; right: clamp(32px, 5vw, 82px); bottom: clamp(20px, 3vh, 32px); width: clamp(190px, 17vw, 266px); border-width: 7px; transition: opacity 260ms ease, transform 260ms ease; }
html[data-hero="lifestyle"] .hero-phone { display: none; }
.site-header a:focus-visible, .hero__actions a:focus-visible { outline: 3px solid #111314; outline-offset: 4px; }
@media (max-width: 980px) { .hero { min-height: 100svh; } .hero__copy { width: min(600px, 54vw); } }
@media (max-width: 720px) {
  .site-header { padding: 14px 18px; }
  .site-header .brand { width: 102px; height: 30px; }
  .site-header .header-cta { padding: 9px 14px; }
  .hero { min-height: 100svh; }
  .hero::before { width: 86%; background: linear-gradient(90deg, rgba(247, 247, 244, .94) 0%, rgba(247, 247, 244, .84) 66%, rgba(247, 247, 244, .18) 90%, rgba(247, 247, 244, 0) 100%); }
  .hero__copy { bottom: 30px; left: 20px; width: calc(100% - 40px); max-width: 270px; padding: 0; }
  .hero__copy h1 { max-width: 330px; font-size: clamp(2.55rem, 12vw, 3.6rem); line-height: .98; }
  .hero__lead { max-width: 205px; margin-top: 16px; font-size: .98rem; line-height: 1.42; }
  .hero__actions { align-items: stretch; flex-direction: column; gap: 8px; width: 210px; margin-top: 18px; }
  .hero__actions .button { width: 100%; min-height: 44px; padding: 11px 13px; font-size: .82rem; }
  .hero-phone { right: 14px; bottom: 16px; width: 124px; border-width: 5px; border-radius: 24px; }
  .hero-phone .iphone-shell__screen { border-radius: 19px; }
  .hero-phone .iphone-shell__island { top: 9px; height: 10px; }
}
@media (max-width: 380px) {
  .hero__copy h1 { max-width: 300px; font-size: 2.65rem; }
  .hero__lead { max-width: 205px; font-size: .9rem; }
  .hero__actions .button { padding-inline: 10px; font-size: .76rem; }
  .hero-phone { top: 72px; right: 12px; bottom: auto; width: 72px; border-width: 3px; border-radius: 16px; }
  .hero-phone .iphone-shell__screen { border-radius: 12px; }
  .hero-phone .iphone-shell__island { top: 6px; height: 7px; }
}
@media (prefers-reduced-motion: reduce) { .site-header, .hero-phone { transition: none; } }

@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: 500px; }
  .hero__copy { bottom: 24px; width: min(440px, 68vw); max-width: none; padding: 0; }
  .hero__copy h1 { max-width: 420px; font-size: 2.8rem; line-height: .98; }
  .hero__lead { max-width: 420px; margin-top: 12px; font-size: .9rem; line-height: 1.35; }
  .hero__actions { align-items: center; flex-direction: row; gap: 8px; width: auto; margin-top: 12px; }
  .hero__actions .button { width: auto; min-height: 40px; padding: 9px 12px; font-size: .76rem; }
  .hero-phone { top: auto; right: 18px; bottom: 16px; width: 112px; }
}

/* Editorial movement and workflow. */
main { overflow: clip; }
.movement-strip { width: 100%; min-height: 100svh; margin: 0; padding: clamp(78px, 8vw, 150px) 0; background: white; }
.movement-strip__sticky { position: relative; height: 100svh; overflow: hidden; background: #111314; }
.movement-strip__sticky::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 45%, rgba(8, 9, 10, .42)); pointer-events: none; }
.movement-strip__sticky img { width: 100%; height: 100%; max-width: none; object-fit: cover; border-radius: 0; }
.movement-strip__sticky p { position: absolute; z-index: 1; right: var(--page-pad); bottom: clamp(32px, 7vh, 76px); left: var(--page-pad); margin: 0; color: #fff; font-size: clamp(2.5rem, 6vw, 6.25rem); font-weight: 600; line-height: .96; letter-spacing: 0; }

/* How FitHue works */
.how-it-works {
  padding-top: clamp(72px, 8vw, 118px);
  padding-bottom: clamp(64px, 7vw, 104px);
}

.how-it-works .section__heading {
  margin-bottom: clamp(42px, 5vw, 68px);
}

.how-it-works .section__heading h2 {
  max-width: 760px;
}

.how-it-works .section__heading p {
  max-width: 560px;
}

.how-it-works__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(48px, 7vw, 104px);
}

.workflow-step {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  min-width: 0;
}

.workflow-step__copy {
  min-height: 132px;
}

.workflow-step__eyebrow {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 14px;
  color: var(--ink);
  line-height: 1;
}

.workflow-step__eyebrow span {
  color: var(--pebble);
  font-size: 0.74rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.workflow-step__eyebrow strong {
  color: var(--ink);
  font-size: clamp(2rem, 2.7vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.workflow-step__description {
  max-width: 29ch;
  margin: 0;
  color: var(--pebble);
  font-size: clamp(0.94rem, 1vw, 1rem);
  line-height: 1.5;
}

.workflow-step__phone {
  width: clamp(188px, 16vw, 220px);
  margin-top: clamp(24px, 3vw, 36px);
  border-width: 7px;
  border-radius: 32px;
  box-shadow: 0 16px 38px rgba(16, 18, 20, 0.12);
}

.workflow-step__phone .iphone-shell__screen {
  border-radius: 25px;
}

.workflow-step__phone .iphone-shell__island {
  top: 11px;
  height: 12px;
}

.workflow-step__connector {
  position: absolute;
  top: 22px;
  right: calc(clamp(48px, 7vw, 104px) * -0.7);
  width: clamp(24px, 3vw, 44px);
  height: 1px;
  background: rgba(113, 113, 122, 0.38);
}

.workflow-step__connector::after {
  position: absolute;
  top: -3px;
  right: 0;
  width: 6px;
  height: 6px;
  border-top: 1px solid rgba(113, 113, 122, 0.55);
  border-right: 1px solid rgba(113, 113, 122, 0.55);
  content: "";
  transform: rotate(45deg);
}

@media (max-width: 980px) {
  .how-it-works__steps {
    gap: clamp(28px, 4vw, 46px);
  }

  .workflow-step__connector {
    right: -28px;
    width: 22px;
  }

  .workflow-step__phone {
    width: clamp(160px, 20vw, 190px);
  }
}

@media (max-width: 720px) {
  .how-it-works {
    padding-top: 64px;
    padding-bottom: 56px;
  }

  .how-it-works .section__heading {
    margin-bottom: 42px;
  }

  .how-it-works__steps {
    display: block;
  }

  .workflow-step {
    grid-template-columns: minmax(0, 1fr) 128px;
    gap: 22px;
    align-items: center;
    min-height: 220px;
    padding: 0 0 38px;
  }

  .workflow-step + .workflow-step {
    padding-top: 38px;
  }

  .workflow-step__copy {
    min-height: 0;
  }

  .workflow-step__eyebrow {
    gap: 10px;
    margin-bottom: 12px;
  }

  .workflow-step__eyebrow span {
    font-size: 0.7rem;
  }

  .workflow-step__eyebrow strong {
    font-size: clamp(1.9rem, 9vw, 2.2rem);
  }

  .workflow-step__description {
    max-width: 24ch;
    font-size: 0.9rem;
    line-height: 1.48;
  }

  .workflow-step__phone {
    width: 128px;
    margin: 0;
    justify-self: end;
    border-width: 5px;
    border-radius: 25px;
    box-shadow: 0 12px 28px rgba(16, 18, 20, 0.11);
  }

  .workflow-step__phone .iphone-shell__screen {
    border-radius: 19px;
  }

  .workflow-step__phone .iphone-shell__island {
    top: 8px;
    height: 9px;
  }

  .workflow-step__connector {
    top: auto;
    right: auto;
    bottom: 0;
    left: 9px;
    width: 1px;
    height: 26px;
    background: rgba(113, 113, 122, 0.3);
  }

  .workflow-step__connector::after {
    top: auto;
    right: auto;
    bottom: 0;
    left: -3px;
    width: 6px;
    height: 6px;
    border: 0;
    border-right: 1px solid rgba(113, 113, 122, 0.5);
    border-bottom: 1px solid rgba(113, 113, 122, 0.5);
    transform: rotate(45deg);
  }
}

@media (max-width: 380px) {
  .workflow-step {
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 16px;
    min-height: 202px;
  }

  .workflow-step__phone {
    width: 112px;
  }

  .workflow-step__eyebrow strong {
    font-size: 1.9rem;
  }

  .workflow-step__description {
    font-size: 0.84rem;
  }
}

/* Official App Store badge */
.app-store-badge {
  display: inline-block;
  line-height: 0;
  flex: 0 0 auto;
}

.app-store-badge img {
  display: block;
  width: auto;
  height: 48px;
  max-width: 100%;
}

.app-store-badge:hover {
  opacity: 0.88;
}

.app-store-badge:focus-visible {
  outline: 3px solid #111314;
  outline-offset: 4px;
}

.app-store-badge--final {
  margin-bottom: 4px;
}

@media (max-width: 720px) {
  .app-store-badge img {
    height: 44px;
  }

  .hero__actions .app-store-badge {
    width: auto;
  }
}

/* Android coming-soon badge.
   Custom FitHue UI inspired by app-store badge proportions; not an official Google Play badge. */
.android-coming-soon {
  display: inline-flex;
  width: 162px;
  height: 48px;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  padding: 5px 13px 5px 11px;
  border: 1px solid #a6a6a6;
  border-radius: 7px;
  background: #000;
  color: #fff;
  line-height: 1;
  transition: opacity 160ms ease;
}

.android-coming-soon:hover {
  opacity: 0.88;
}

.android-coming-soon:focus-visible {
  outline: 3px solid #111314;
  outline-offset: 4px;
}

.android-coming-soon__mark {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  color: #fff;
}

.android-coming-soon__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.android-coming-soon__overline {
  margin-bottom: 2px;
  font-size: 8.5px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.android-coming-soon__label {
  font-size: 18px;
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.015em;
}

@media (max-width: 720px) {
  .hero__actions .android-coming-soon {
    width: 149px;
    height: 44px;
    align-self: flex-start;
    gap: 8px;
    padding: 4px 11px 4px 10px;
  }

  .android-coming-soon__mark {
    width: 25px;
    height: 25px;
    flex-basis: 25px;
  }

  .android-coming-soon__overline {
    font-size: 8px;
  }

  .android-coming-soon__label {
    font-size: 16.5px;
  }
}

/* Reversed hero composition: phone left, copy right, no image wash. */
.hero--reversed::before {
  display: none;
}

.hero--reversed .hero__copy {
  right: var(--page-pad);
  bottom: clamp(52px, 8vh, 92px);
  left: auto;
  width: min(520px, 38vw);
  max-width: none;
}

.hero--reversed .hero__copy h1 {
  max-width: 500px;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .16);
}

.hero--reversed .hero__lead {
  max-width: 455px;
  color: rgba(255, 255, 255, .96);
  text-shadow: 0 1px 12px rgba(0, 0, 0, .14);
}

.hero--reversed .hero-phone {
  right: auto;
  left: clamp(32px, 5vw, 82px);
}

/* Keep store badges readable without adding a wash over the hero image. */
.hero--reversed .hero__actions {
  justify-content: flex-start;
}

@media (max-width: 720px) {
  .hero--reversed .hero__copy {
    right: 18px;
    bottom: 24px;
    left: auto;
    width: calc(100% - 150px);
    max-width: 250px;
  }

  .hero--reversed .hero__copy h1 {
    max-width: 250px;
    font-size: clamp(2.2rem, 10.8vw, 3.15rem);
    line-height: .98;
  }

  .hero--reversed .hero__lead {
    max-width: 230px;
    margin-top: 14px;
    font-size: .92rem;
    line-height: 1.4;
  }

  .hero--reversed .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    width: auto;
    margin-top: 16px;
  }

  .hero--reversed .hero-phone {
    right: auto;
    bottom: 18px;
    left: 14px;
    width: 116px;
    border-width: 5px;
    border-radius: 24px;
  }
}

@media (max-width: 380px) {
  .hero--reversed .hero__copy {
    right: 14px;
    width: calc(100% - 116px);
    max-width: 225px;
  }

  .hero--reversed .hero__copy h1 {
    max-width: 225px;
    font-size: 2.35rem;
  }

  .hero--reversed .hero__lead {
    max-width: 210px;
    font-size: .86rem;
  }

  .hero--reversed .hero-phone {
    top: auto;
    right: auto;
    bottom: 18px;
    left: 10px;
    width: 92px;
    border-width: 3px;
    border-radius: 16px;
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  .hero--reversed .hero__copy {
    right: 18px;
    left: auto;
  }

  .hero--reversed .hero-phone {
    right: auto;
    left: 18px;
  }
}

/* Mobile hero refinement: shorter copy, clearer hierarchy, less competition
   between the product UI and the lifestyle photography. */
@media (max-width: 720px) {
  .hero--reversed {
    min-height: 760px;
  }

  .hero--reversed .hero__copy {
    right: 20px;
    bottom: 34px;
    left: auto;
    width: min(56vw, 245px);
    max-width: none;
  }

  .hero--reversed .hero__copy h1 {
    max-width: 235px;
    font-size: clamp(2.65rem, 12.5vw, 3.55rem);
    line-height: .94;
    letter-spacing: -.035em;
  }

  .hero--reversed .hero__lead {
    max-width: 225px;
    margin-top: 16px;
    font-size: .9rem;
    line-height: 1.38;
  }

  .hero--reversed .hero__actions {
    gap: 7px;
    margin-top: 18px;
  }

  .hero--reversed .app-store-badge {
    width: 136px;
  }

  .hero--reversed .android-coming-soon {
    width: 136px;
    height: 40px;
  }

  .hero--reversed .hero-phone {
    bottom: 34px;
    left: 18px;
    width: clamp(104px, 29vw, 126px);
  }
}

@media (max-width: 420px) {
  .hero--reversed .hero__copy {
    right: 16px;
    bottom: 28px;
    width: calc(100% - 148px);
  }

  .hero--reversed .hero__copy h1 {
    font-size: clamp(2.35rem, 11.8vw, 3rem);
  }

  .hero--reversed .hero__lead {
    font-size: .86rem;
  }

  .hero--reversed .hero-phone {
    bottom: 28px;
    left: 12px;
    width: 108px;
  }

  .hero--reversed .app-store-badge,
  .hero--reversed .android-coming-soon {
    width: 128px;
  }

  .hero--reversed .android-coming-soon {
    height: 38px;
  }
}

/* Keep the mobile hero focused on the core promise. */
@media (max-width: 720px) {
  .hero--reversed .hero__lead {
    display: none;
  }
}

/* Consistent vertical rhythm across major sections. */
:root {
  --section-space-y: clamp(64px, 7vw, 112px);
  --section-heading-gap: clamp(36px, 4.5vw, 64px);
}

/*
 * Use the same top/bottom breathing room for every major content section.
 * This intentionally overrides earlier section-specific spacing.
 */
.section,
.how-it-works {
  padding-top: var(--section-space-y);
  padding-bottom: var(--section-space-y);
}

.movement-strip {
  padding-top: var(--section-space-y);
  padding-bottom: var(--section-space-y);
}

/* Keep section introductions on the same internal rhythm as well. */
.section__heading,
.how-it-works .section__heading {
  margin-bottom: var(--section-heading-gap);
}

@media (max-width: 720px) {
  :root {
    --section-space-y: 56px;
    --section-heading-gap: 36px;
  }
}

/* Mobile app-preview carousel polish. Desktop remains unchanged. */
.phone-carousel__controls {
  display: none;
}

@media (max-width: 720px) {
  .app-preview .phone-grid {
    gap: 18px;
    padding-top: 14px;
    padding-bottom: 24px;
    scroll-padding-inline: var(--page-pad);
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }

  .app-preview .phone-grid::-webkit-scrollbar {
    display: none;
  }

  .app-preview .phone-grid .phone-card {
    min-width: min(72vw, 270px);
  }

  .app-preview .phone-card__device {
    box-shadow: 0 12px 26px rgba(15, 17, 21, .10);
  }

  .phone-carousel__controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 4px;
  }

  .phone-carousel__button {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(15, 17, 21, .22);
    border-radius: 8px;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    transition:
      background-color 160ms ease,
      border-color 160ms ease,
      opacity 160ms ease;
  }

  .phone-carousel__button:hover:not(:disabled) {
    border-color: rgba(15, 17, 21, .5);
    background: rgba(15, 17, 21, .04);
  }

  .phone-carousel__button:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
  }

  .phone-carousel__button:disabled {
    opacity: .28;
    cursor: default;
  }

  .phone-carousel__button svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
}

/* Mobile footer refinement. Desktop footer remains unchanged. */
.site-footer__brand {
  display: contents;
}

@media (max-width: 720px) {
  .site-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 26px;
    padding: 42px var(--page-pad) 46px;
    text-align: center;
  }

  .site-footer__brand {
    display: block;
    width: 108px;
    height: 32px;
    overflow: hidden;
  }

  .site-footer__brand img {
    width: 111%;
    max-width: none;
    height: auto;
    transform: translate(-4.5%, -35.5%);
  }

  .site-footer nav {
    display: flex;
    max-width: 330px;
    justify-content: center;
    gap: 12px 22px;
    font-size: .9rem;
    line-height: 1.2;
  }

  .site-footer p {
    margin: 0;
    font-size: .86rem;
  }
}

@media (max-width: 380px) {
  .site-footer {
    gap: 22px;
    padding-top: 38px;
    padding-bottom: 42px;
  }

  .site-footer nav {
    max-width: 290px;
    gap: 11px 18px;
    font-size: .86rem;
  }
}

/* Mobile header: hide on downward scroll, reveal on upward scroll. */
@media (max-width: 720px) {
  .site-header {
    transition:
      transform 220ms cubic-bezier(.2, .7, .2, 1),
      top 220ms ease,
      padding 220ms ease,
      background-color 220ms ease,
      border-color 220ms ease,
      box-shadow 220ms ease,
      backdrop-filter 220ms ease;
    will-change: transform;
  }

  .site-header.is-hidden-mobile {
    transform: translateY(calc(-100% - 18px));
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 720px) {
  .site-header {
    transition: none;
  }
}

/* Header download link: use the same quiet text treatment as primary navigation. */
.header-cta {
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  text-decoration: none;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: transparent;
  color: var(--ink);
  text-decoration: none;
}

@media (max-width: 720px) {
  .header-cta {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: inherit;
  }
}

/* Final header CTA treatment.
   Match the specificity of the earlier header rules so this reliably wins. */
.site-header .header-cta {
  display: inline-flex;
  min-width: 0;
  min-height: 0;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #111314;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.site-header .header-cta:hover,
.site-header .header-cta:focus-visible {
  border: 0;
  background: transparent;
  color: #111314;
  opacity: .62;
  text-decoration: none;
}

@media (max-width: 720px) {
  .site-header .header-cta {
    min-width: 44px;
    min-height: 44px;
    justify-content: flex-end;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: .88rem;
  }

  .site-header.is-hidden-mobile {
    transform: translate3d(0, calc(-100% - 20px), 0);
  }
}

/* Final mobile header treatment:
   full-width, flush to the top, compact, and a consistent height in every state. */
@media (max-width: 720px) {
  html {
    scroll-padding-top: 58px;
  }

  .site-header,
  .site-header.is-scrolled {
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-width: none;
    min-height: 58px;
    margin: 0;
    padding: 7px 20px;
    border: 0;
    border-bottom: 1px solid rgba(31, 34, 36, .10);
    border-radius: 0;
    background: #f4f1ec;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: 0 2px 12px rgba(15, 17, 21, .035);
  }

  .site-header .brand {
    width: 98px;
    height: 28px;
  }

  .site-header .header-cta {
    min-width: 44px;
    min-height: 44px;
    justify-content: flex-end;
  }

  .site-header.is-hidden-mobile {
    transform: translate3d(0, -100%, 0);
  }
}

/* Mobile header motion and surface refinement. */
@media (max-width: 720px) {
  .site-header,
  .site-header.is-scrolled {
    background: #fff;
    transition:
      transform 320ms cubic-bezier(.22, .61, .36, 1),
      box-shadow 220ms ease,
      border-color 220ms ease;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 720px) {
  .site-header,
  .site-header.is-scrolled {
    transition: none;
  }
}
