.home-page {
  --home-width: var(--desktop-content-width, calc(70 * var(--size-unit)));
  --home-gutter: var(--desktop-gutter, 24px);
  --home-section-gap: var(--space-20);
  --bg: #f7fbfa;
  --ink: #202334;
  --muted: #4d575f;
  --accent: #00e6b3;
  --accent-ink: #00685b;
  --line: #d9dde1;
  --band-top: #424559;
  --band-bottom: #3d5c6a;
  --on-band: #ffffff;
  --on-band-muted: rgba(255, 255, 255, 0.76);
  --on-band-line: rgba(255, 255, 255, 0.16);
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --device-shadow-outline: 1px;
  --device-shadow:
    0 calc(.375 * var(--size-unit)) var(--space-3) rgba(32, 35, 52, 0.28),
    0 var(--space-7) var(--space-14) rgba(32, 35, 52, 0.48),
    0 0 0 var(--device-shadow-outline) rgba(32, 35, 52, 0.22);
  --fade-top-opaque: 19.13cqw;
  --fade-bottom-opaque: 147.91cqw;
  --fade-top-mask: linear-gradient(to bottom, transparent 3.13cqw, rgba(0, 0, 0, 0.011) 4.13cqw, rgba(0, 0, 0, 0.043) 5.13cqw, rgba(0, 0, 0, 0.092) 6.13cqw, rgba(0, 0, 0, 0.156) 7.13cqw, rgba(0, 0, 0, 0.232) 8.13cqw, rgba(0, 0, 0, 0.316) 9.13cqw, rgba(0, 0, 0, 0.407) 10.13cqw, rgba(0, 0, 0, 0.5) 11.13cqw, rgba(0, 0, 0, 0.593) 12.13cqw, rgba(0, 0, 0, 0.684) 13.13cqw, rgba(0, 0, 0, 0.768) 14.13cqw, rgba(0, 0, 0, 0.844) 15.13cqw, rgba(0, 0, 0, 0.908) 16.13cqw, rgba(0, 0, 0, 0.957) 17.13cqw, rgba(0, 0, 0, 0.989) 18.13cqw, #000 var(--fade-top-opaque));
  --fade-bottom-mask: linear-gradient(to bottom, #000 var(--fade-bottom-opaque), rgba(0, 0, 0, 0.989) 148.91cqw, rgba(0, 0, 0, 0.957) 149.91cqw, rgba(0, 0, 0, 0.908) 150.91cqw, rgba(0, 0, 0, 0.844) 151.91cqw, rgba(0, 0, 0, 0.768) 152.91cqw, rgba(0, 0, 0, 0.684) 153.91cqw, rgba(0, 0, 0, 0.593) 154.91cqw, rgba(0, 0, 0, 0.5) 155.91cqw, rgba(0, 0, 0, 0.407) 156.91cqw, rgba(0, 0, 0, 0.316) 157.91cqw, rgba(0, 0, 0, 0.232) 158.91cqw, rgba(0, 0, 0, 0.156) 159.91cqw, rgba(0, 0, 0, 0.092) 160.91cqw, rgba(0, 0, 0, 0.043) 161.91cqw, rgba(0, 0, 0, 0.011) 162.91cqw, transparent 163.91cqw);
  --phone-w: clamp(calc(14.75 * var(--size-unit)), 24vw, var(--phone-width));
  /* Device frames scale with their own width: phone bezel 3.04%, frame radius 14.86%, screen radius 11.82%;
     iPad bezel 2.4%, screen radius 3.2%. Each frame sits in an inline-size container so cqw is its width. */
  background: var(--bg);
  color: var(--ink);
  overflow-x: visible;
  font-size: var(--type-home-body);
  line-height: 1.55;
}
/* The hero owns the background. Fade its overlay into the page color without
   masking the playing video or clipping foreground content and shadows. */
.home-background {
  --home-background-fade: min(30%, calc(12 * var(--size-unit)));
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.home-background-poster,
.home-background-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-background-video { opacity: 0; }
.home-background-video.is-ready { opacity: 1; }
.home-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(247, 251, 250, .30);
  background-image: linear-gradient(to bottom,
    var(--bg) 0,
    rgba(247, 251, 250, 0) min(10%, calc(4 * var(--size-unit))),
    rgba(247, 251, 250, 0) calc(100% - var(--home-background-fade)),
    rgba(247, 251, 250, .15625) calc(100% - var(--home-background-fade) * .75),
    rgba(247, 251, 250, .5) calc(100% - var(--home-background-fade) * .5),
    rgba(247, 251, 250, .84375) calc(100% - var(--home-background-fade) * .25),
    var(--bg) 100%);
}
.home-wrap {
  width: min(calc(100% - var(--home-gutter) * 2), var(--home-width));
  margin-inline: auto;
}
.home-page h1, .home-page h2, .home-page p, .home-page figure, .home-page dl { margin: 0; }
.home-page h1, .home-page h2 { overflow-wrap: anywhere; }
.home-page h1 {
  font-size: var(--type-home-title);
  font-weight: 750;
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.home-page h2 {
  font-size: var(--type-home-section);
  font-weight: 720;
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.home-page p, .home-page dd { color: var(--muted); }
.home-page a {
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.home-page main a, .home-page .home-footer a { color: var(--accent-ink); }
.home-page main a:hover, .home-page .home-footer a:hover {
  color: #065f55;
  text-decoration-thickness: 2px;
}
.home-page main :focus-visible, .home-page .home-footer :focus-visible {
  outline: 3px solid var(--accent-ink);
  outline-offset: calc(0.3125 * var(--size-unit));
  border-radius: 3px;
}
.home-page [id] { scroll-margin-top: var(--space-6); }
/* The same boundary spacing applies to top-level and nested feature sections. */
.home-page .home-section { margin-block: var(--home-section-gap); }

/* Section anatomy shared below the hero: eyebrow, heading, copy. */
.home-page .home-eyebrow {
  margin: 0 0 calc(0.875 * var(--size-unit));
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: calc(0.75 * var(--size-unit));
  font-weight: 650;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.home-hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--space-16);
  padding-block: var(--space-14) var(--space-2);
  padding-inline: max(var(--home-gutter), calc((100% - var(--home-width)) / 2));
  background: transparent;
}
.home-hero-copy { min-width: 0; }
.home-page .home-lead {
  margin-top: var(--space-6);
  color: var(--ink);
  font-size: calc(1.375 * var(--size-unit));
  font-weight: 580;
  line-height: 1.4;
  max-width: 25ch;
  text-wrap: balance;
}
.home-page .home-intro { margin-top: calc(0.875 * var(--size-unit)); max-width: 42ch; }
.home-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-6);
  margin-top: var(--space-6);
}
.home-page .appstore-badge {
  display: inline-flex;
  align-items: center;
  margin: 0;
  min-height: calc(2.75 * var(--size-unit));
  border-radius: calc(0.4375 * var(--size-unit));
}
.home-page .appstore-badge img { width: calc(8.25 * var(--size-unit)); height: calc(2.75 * var(--size-unit)); }
.home-hero .home-actions { margin-block: clamp(calc(1.875 * var(--size-unit)), 5vw, calc(2.625 * var(--size-unit))); }
.home-hero .appstore-badge { border-radius: calc(0.5625 * var(--size-unit)); }
.home-hero .appstore-badge img { width: auto; height: calc(3.125 * var(--size-unit)); }
.home-proof-list {
  --proof-list-margin: clamp(calc(2.375 * var(--size-unit)), 6vw, calc(3.625 * var(--size-unit)));
  list-style: none;
  margin: var(--proof-list-margin) 0 0;
  padding: 0;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: calc(0.625 * var(--size-unit));
}
.home-proof-list li {
  max-width: 100%;
  padding: var(--space-2) var(--space-3);
  border: 1px solid rgba(32, 35, 52, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.44);
  color: var(--muted);
  font-family: var(--mono);
  font-size: calc(0.78 * var(--size-unit));
  font-weight: 650;
  line-height: normal;
  overflow-wrap: anywhere;
}
.home-text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: calc(2.75 * var(--size-unit));
  font-size: calc(1 * var(--size-unit));
  font-weight: 600;
}
.home-screen {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
  border: 1px solid var(--line);
  border-radius: calc(0.75 * var(--size-unit));
}
.home-page figcaption {
  margin-top: var(--space-3);
  color: var(--muted);
  font-size: calc(0.875 * var(--size-unit));
  line-height: 1.5;
}
.home-section-heading { max-width: calc(47.5 * var(--size-unit)); margin-bottom: var(--space-7); }
.home-section-heading > p, .home-scroll-copy p, .home-files p, .home-workflow p, .home-toolbar-copy p, .home-download-copy > p { margin-top: var(--space-4); }
.home-ipad-figure { width: 100%; max-width: var(--ipad-max-width); justify-self: center; container-type: inline-size; }
.home-page .home-ipad-figure { margin-inline: auto; }
.home-ipad {
  padding: 2.4cqw;
  border-radius: 5.6cqw;
  background: var(--ink);
  box-shadow: var(--device-shadow);
}
.home-ipad .home-screen {
  border: 0;
  border-radius: 3.2cqw;
}
@media (min-width: 1024px) {
  /* Keep prose readable within the wider desktop frame. More specific copy limits still apply. */
  .home-page main p, .home-page dd, .home-cap-desc { max-width: 60ch; }
  .home-native {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--space-12);
  }
  .home-native .home-section-heading {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    margin-bottom: 0;
  }
  .home-page .home-ipad-figure {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    margin-inline: 0;
  }
  .home-native-facts { grid-column: 1 / -1; }
}

/* One facts pattern: three labelled columns. */
.home-page .home-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-9);
}
.home-page .home-native .home-facts { margin-top: calc(3.25 * var(--size-unit)); }
.home-page .home-native-facts {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, calc(13 * var(--size-unit))), 1fr));
}
.home-native-facts > div {
  min-width: 0;
  padding: var(--space-6);
  border: 1px solid #bfe7db;
  border-radius: var(--space-4);
  overflow-wrap: anywhere;
}
.home-page dt { color: var(--ink); font-weight: 650; }
.home-page dd { margin: var(--space-2) 0 0; font-size: calc(1 * var(--size-unit)); line-height: 1.6; }

.home-scroll, .home-workflow, .home-files-row, .home-toolbar-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--space-12);
  align-items: center;
}
.home-workflow-copy { display: grid; gap: var(--home-section-gap); align-content: center; }
.home-workflow .home-text-link, .home-files .home-text-link, .home-toolbar-copy .home-text-link { margin-top: var(--space-2); }
.home-toolbar-row .home-toolbar-copy { order: -1; }
@media (min-width: 768px) {
  .home-workflow > .home-phone-figure,
  .home-files-row > .home-phone-pair { order: -1; }
}

/* Framed phone stills: the same frame as the hero video. */
.home-phone-figure, .home-phone-pair, .home-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}
.home-phone-screen {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1320 / 2868;
  border-radius: 11.82cqw;
  background: #000;
}
/* Faded phones use the same shadow as complete devices. An empty static box
   casts it behind the media; its cut edge and 1px outline stay under opaque frame pixels. */
.home-phone-fade {
  position: relative;
  width: var(--phone-w);
  max-width: 100%;
  container-type: inline-size;
}
.home-phone-fade::before {
  content: "";
  position: absolute;
  inset: var(--device-shadow-outline) var(--device-shadow-outline) auto;
  height: calc(var(--fade-bottom-opaque) - 2 * var(--device-shadow-outline));
  border-radius: calc(14.86cqw - var(--device-shadow-outline)) calc(14.86cqw - var(--device-shadow-outline)) 0 0;
  box-shadow: var(--device-shadow);
  pointer-events: none;
}
.home-phone-fade > .home-phone { position: relative; z-index: 1; }
/* Bell phone: keep its rounded top and dissolve the cropped keyboard edge. */
.home-phone.home-phone-cut {
  padding-bottom: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: none;
  -webkit-mask-image: var(--fade-bottom-mask);
  mask-image: var(--fade-bottom-mask);
}
.home-phone-cut .home-phone-screen {
  aspect-ratio: 1320 / 2320;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
/* Cropped video phones: keep the bottom frame and fade the cropped top into the page. */
.home-phone.home-phone-cut-top {
  padding-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  box-shadow: none;
  -webkit-mask-image: var(--fade-top-mask);
  mask-image: var(--fade-top-mask);
}
.home-phone-cut-top .home-phone-screen {
  aspect-ratio: var(--phone-clip-ratio);
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  object-fit: cover;
}
/* Top-cropped videos share that decoration, starting inside their opaque area. */
.home-phone-fade-top::before {
  inset: calc(var(--fade-top-opaque) + var(--device-shadow-outline)) var(--device-shadow-outline) var(--device-shadow-outline);
  height: auto;
  border-radius: 0 0 calc(14.86cqw - var(--device-shadow-outline)) calc(14.86cqw - var(--device-shadow-outline));
}
.home-scroll-screen { --phone-clip-ratio: 660 / 1084; }
.home-toolbar-screen { --phone-clip-ratio: 660 / 858; }
.home-toolbar-copy code {
  font-family: var(--mono);
  font-size: 0.9em;
  color: var(--ink);
}
.home-phone-pair { container-type: inline-size; }
.home-phone-pair-stage {
  --w: min(calc(var(--phone-w) * 0.75), 70cqw); /* the pair reads as one image, so each phone is three quarters of the standard size */
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}
.home-phone-pair-stage .home-phone {
  flex: 0 0 auto;
  width: var(--w);
  padding: calc(var(--w) * 0.0304);
  border-radius: calc(var(--w) * 0.1486);
}
.home-phone-pair-stage .home-phone-screen { border-radius: calc(var(--w) * 0.1182); }
.home-phone-pair-stage .home-phone-front {
  position: relative;
  z-index: 1;
  margin-top: calc(var(--w) * 0.15);
  margin-left: calc(var(--w) * -0.58);
}
.home-page .home-phone-figure figcaption,
.home-page .home-phone-pair figcaption,
.home-page .home-diagram figcaption {
  margin-top: calc(1.375 * var(--size-unit));
  max-width: 36ch;
  text-align: center;
  text-wrap: balance;
}

/* Connection diagram stays left on desktop, an exception to the alternating visuals. */
.home-privacy-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  column-gap: var(--space-14);
  align-items: center;
  margin-top: var(--space-2);
}
.home-diagram svg { display: block; width: 100%; max-width: calc(35 * var(--size-unit)); height: auto; overflow: visible; }
.home-page .home-privacy .home-facts { grid-template-columns: minmax(0, 1fr); gap: calc(1.375 * var(--size-unit)); margin-top: 0; }
.home-page .home-privacy .home-privacy-note { margin-top: calc(1.625 * var(--size-unit)); }
@media (max-width: 899px) {
  .home-privacy-row { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-9); }
}
.home-diagram text { font-family: inherit; }
.home-diagram .d-mono { font-family: var(--mono); }
.home-diagram .d-bold { font-weight: 650; }
.home-diagram .d-ink { fill: var(--ink); }
.home-diagram .d-muted { fill: var(--muted); }
.home-diagram .d-teal { fill: var(--accent-ink); }
.home-diagram .d-box { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.home-diagram .d-soft { fill: #ecf3f1; stroke: var(--line); stroke-width: 1; }
.home-diagram .d-node { fill: #fff; stroke: rgba(32, 35, 52, 0.45); stroke-width: 1.25; }
.home-diagram .d-chip { fill: var(--ink); }
.home-diagram .d-chip-text { fill: #e6e9ee; }
.home-diagram .d-screen { fill: #0f1220; }
.home-diagram .d-chevron { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.home-diagram .d-ssh { stroke: var(--accent-ink); stroke-width: 2; }
.home-diagram .d-bell { fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 2 4; stroke-linecap: round; }

.home-demo {
  --demo-caption-gap: var(--space-4);
  --demo-toggle-min-height: var(--space-9);
  justify-self: center;
  display: flex;
  align-items: center;
  flex-direction: column;
  width: var(--phone-w);
  max-width: 100%;
  container-type: inline-size;
}
.home-phone {
  width: 100%;
  padding: 3.04cqw;
  border-radius: 14.86cqw;
  background: var(--ink);
  box-shadow: var(--device-shadow);
}
.home-demo-screen {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 660 / 1434;
  border-radius: 11.82cqw;
  background: #000;
  object-fit: cover;
  cursor: pointer;
}
.home-video-frame { position: relative; overflow: hidden; }
.home-video-frame > video,
.home-video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.home-video-frame > video { opacity: 0; }
.home-video-frame > video.is-ready { opacity: 1; }
.home-page .home-demo-caption { margin: var(--demo-caption-gap) 0 0; max-width: 100%; }
.home-demo-toggle {
  display: grid;
  align-items: center;
  max-width: 100%;
  min-height: var(--demo-toggle-min-height);
  padding: 0 calc(0.875 * var(--size-unit));
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--muted);
  font: inherit;
  font-family: var(--mono);
  font-size: calc(0.78 * var(--size-unit));
  font-weight: 650;
  cursor: pointer;
}
/* Every label contributes its intrinsic size, including wrapped/enlarged text.
   Initialization and label changes therefore never add space to the hero. */
.home-demo-toggle:not(.is-active) { visibility: hidden; }
.home-demo-toggle > span { grid-area: 1 / 1; visibility: hidden; }
.home-demo-toggle > span.is-current { visibility: inherit; }
.home-demo-toggle:hover { border-color: var(--accent-ink); color: var(--ink); }

/* Fit the desktop opening within the viewport while there is room to stay readable.
   At the compact limits, content keeps its natural height and the page scrolls normally. */
@media (min-width: 960px) {
  .home-hero {
    /* Spacing compresses with available height; type keeps the shared width scale. */
    --hero-space-budget: calc(100svh - 41.25 * var(--size-unit));
    --hero-extra-height: clamp(0px, var(--hero-space-budget), calc(10 * var(--size-unit)));
    --hero-top-space: calc(max(24px, var(--space-6)) + var(--hero-extra-height) * .2);
    /* A short, wide window needs a compact action gap even when U is large. */
    --hero-action-space: clamp(24px, calc(var(--space-6) + var(--hero-space-budget) * .1125), calc(2.625 * var(--size-unit)));
    padding-top: var(--hero-top-space);
  }
  .home-page .home-hero .home-lead { margin-top: calc(var(--space-4) + var(--hero-extra-height) * .05); }
  .home-hero .home-actions { margin-block: var(--hero-action-space); }
  .home-hero .home-proof-list { margin-top: min(var(--proof-list-margin), calc(var(--space-6) + var(--hero-extra-height) * .2125)); }
  .home-hero .home-demo {
    /* Frame height / width: two 3.04% bezels plus the remaining width at 660:1434.
       Reserve header, padding, caption/control and 1U below the opening. 236px is
       a physical readability floor, not a scaled target. max-width still bounds
       the phone by its column. Enlarged copy/header can grow past the budget. */
    --demo-frame-height-ratio: calc(2 * .0304 + (1 - 2 * .0304) * 1434 / 660);
    width: clamp(236px,
      calc((100svh - var(--site-header-min-height) - var(--hero-top-space) - var(--space-2)
        - var(--demo-caption-gap) - var(--demo-toggle-min-height) - var(--space-4)) / var(--demo-frame-height-ratio)),
      var(--phone-w));
  }
}

@media (min-width: 1440px) {
  .home-page { --phone-w: var(--phone-width); }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.home-page .home-detail { font-size: calc(0.9375 * var(--size-unit)); color: var(--muted); }

/* Supporting capabilities: quiet grid, no underlines, no rules. */
.home-more { margin-top: var(--home-section-gap); }
.home-page .home-more .home-eyebrow { margin-bottom: var(--space-5); }
.home-capability-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-7) var(--space-8);
  list-style: none;
  margin: 0;
  padding: 0;
}
.home-page main .home-capability-list a {
  display: block;
  color: var(--ink);
  text-decoration: none;
}
.home-capability-list strong {
  display: block;
  font-size: calc(1 * var(--size-unit));
  font-weight: 650;
  line-height: 1.35;
}
.home-cap-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(2.25 * var(--size-unit));
  height: calc(2.25 * var(--size-unit));
  margin-bottom: var(--space-3);
  border-radius: calc(0.625 * var(--size-unit));
  background: #e6efec;
  color: var(--accent-ink);
}
.home-cap-icon svg {
  width: calc(1.25 * var(--size-unit));
  height: calc(1.25 * var(--size-unit));
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.home-capability-list .home-cap-desc {
  display: block;
  margin-top: calc(0.375 * var(--size-unit));
  color: var(--muted);
  font-size: calc(0.9375 * var(--size-unit));
  line-height: 1.5;
}
.home-page main .home-capability-list a:hover strong {
  color: var(--accent-ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.home-page .home-privacy-note { margin-top: var(--space-8); font-size: calc(0.9375 * var(--size-unit)); }
.home-inline-link { white-space: nowrap; font-weight: 600; }
.home-privacy-note a { display: inline-block; padding-block: calc(0.375 * var(--size-unit)); }

/* Closing band: the icon's own gradient, the accent finally on its own ground. */
.home-final-cta {
  width: 100%;
  margin: var(--home-section-gap) 0 0;
  padding: var(--space-18) max(var(--home-gutter), calc((100% - var(--home-width)) / 2)) var(--space-16);
  background: linear-gradient(180deg, var(--band-top) 0%, var(--band-bottom) 100%);
  color: var(--on-band);
}
.home-final-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: var(--space-20);
  align-items: start;
}
.home-final-cta h2 { color: var(--on-band); }
.home-page .home-final-cta p { color: var(--on-band-muted); }
.home-page .home-final-cta .home-eyebrow { color: var(--accent); }
.home-final-icon {
  width: calc(4 * var(--size-unit));
  height: calc(4 * var(--size-unit));
  margin-bottom: var(--space-7);
  border-radius: 25%;
  box-shadow: 0 calc(0.75 * var(--size-unit)) calc(1.875 * var(--size-unit)) rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.home-page .home-requirements {
  margin-top: calc(0.875 * var(--size-unit));
  max-width: 52ch;
  font-family: var(--mono);
  font-size: calc(0.8125 * var(--size-unit));
  line-height: 1.6;
}
.home-page .home-final-cta a { color: var(--on-band); text-decoration-color: rgba(255, 255, 255, 0.38); }
.home-page .home-final-cta a:hover { color: var(--accent); text-decoration-color: currentColor; }
.home-page .home-final-cta :focus-visible { outline-color: var(--accent); }
.home-final-cta .appstore-badge { border-radius: calc(0.5625 * var(--size-unit)); }
.home-setup-links { display: grid; gap: var(--space-1); align-content: start; }
.home-setup-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding-block: var(--space-3);
  font-size: calc(1.0625 * var(--size-unit));
  font-weight: 600;
}

.home-page .home-footer {
  width: 100%;
  min-height: calc(6.75 * var(--size-unit));
  margin: 0;
  padding: var(--space-6) max(var(--home-gutter), calc((100% - var(--home-width)) / 2));
  align-items: center;
  gap: var(--space-4) var(--space-10);
  border-top: 1px solid var(--on-band-line);
  background: var(--band-bottom);
  color: var(--on-band-muted);
  font-size: calc(0.875 * var(--size-unit));
}
.home-page .home-footer p { color: inherit; }
.home-page .home-footer a { color: var(--on-band); text-decoration-color: rgba(255, 255, 255, 0.38); }
.home-page .home-footer a:hover { color: var(--accent); text-decoration-color: currentColor; }
.home-page .home-footer :focus-visible { outline-color: var(--accent); }
.home-publisher { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-1) var(--space-5); }
.home-page .home-footer nav { gap: var(--space-1) var(--space-5); }
.home-footer a { display: inline-flex; align-items: center; min-height: calc(2.75 * var(--size-unit)); }

@media (max-width: 1023px) {
  .home-capability-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 959px) {
  .home-hero { grid-template-columns: minmax(0, 1fr); gap: var(--space-8); padding-top: var(--space-10); }
  .home-page h1 { max-width: calc(43.75 * var(--size-unit)); text-wrap: balance; }
  .home-page .home-lead { max-width: none; }
  .home-workflow { gap: var(--space-7) var(--space-9); }
  .home-final-inner { gap: var(--space-10); }
}
@media (max-width: 900px) {
  .home-page { --phone-w: min(calc(100vw - 2 * var(--home-gutter)), calc(18.75 * var(--size-unit))); }
}
@media (max-width: 767px) {
  .home-page { --home-gutter: 20px; --home-section-gap: var(--space-12); text-align: center; }
  .home-hero { padding-top: var(--space-6); padding-bottom: 0; gap: var(--space-5); }
  .home-page h1 { letter-spacing: -0.035em; max-width: calc(32.5 * var(--size-unit)); }
  .home-page .home-lead { font-size: calc(1.25 * var(--size-unit)); line-height: 1.35; margin-top: calc(0.875 * var(--size-unit)); }
  .home-page .home-intro { margin-top: var(--space-3); max-width: 42ch; }
  .home-hero-copy > h1, .home-hero-copy > p { margin-inline: auto; }
  .home-actions { margin-top: calc(1.125 * var(--size-unit)); column-gap: var(--space-5); justify-content: center; }
  .home-proof-list { justify-content: center; }
  .home-page figcaption { margin-top: calc(0.625 * var(--size-unit)); }
  .home-section-heading { margin-bottom: var(--space-6); }
  .home-page .home-facts { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); margin-top: var(--space-7); text-align: left; }
  .home-page .home-native .home-facts { margin-top: var(--space-10); }
  .home-scroll, .home-workflow, .home-files-row, .home-toolbar-row { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-9); }
  .home-page .home-privacy .home-facts { text-align: left; }
  .home-capability-list { grid-template-columns: minmax(0, 1fr); gap: calc(1.375 * var(--size-unit)); text-align: left; }
  .home-page .home-requirements { margin-inline: auto; }
  .home-final-cta { padding-top: var(--space-14); padding-bottom: var(--space-12); }
  .home-final-inner { grid-template-columns: minmax(0, 1fr); gap: var(--space-10); }
  .home-final-icon { margin-inline: auto; }
  .home-setup-links a { justify-content: center; gap: var(--space-2); }
  .home-page .home-footer { align-items: center; flex-direction: column; text-align: center; gap: var(--space-3); }
  .home-publisher, .home-page .home-footer nav { justify-content: center; }
}
@media (max-width: 599px) {
  .home-capability-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .home-proof-list { align-items: center; flex-direction: column; }
}
@media (max-width: 359px) {
  .home-page { --home-gutter: 16px; }
}
