/* StitchCraft landing. Pencil frames "StitchCraft Landing" (1440),
   "StitchCraft Landing – Mobile" (390) and "Mobile – while scrolling (sticky bar)".
   Homepage only; every class is prefixed lp- so styles.css rules never collide. */

.landing {
  --bg: #FBF6EF;
  --surface: #FFFFFF;
  --ink: #24151C;
  --ink-soft: #6E5C63;
  --brand: #DA1C56;
  --brand-dark: #A8123F;
  --blush: #FBE7EC;
  --plum: #2A1520;
  --line: #EDE2D6;
  --pink-text: #F5A9C0;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --content: 1200px;
  --gutter: 20px;

  /* Shared header, nav and footer read these from styles.css. */
  --muted: var(--ink-soft);
  --accent: var(--brand);
  --accent-dark: var(--brand-dark);
  --accent-soft: var(--blush);
  --border: var(--line);

  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
}

@media (min-width: 768px) { .landing { --gutter: 40px; } }
@media (min-width: 1100px) { .landing { --gutter: 80px; } }

.landing h1,
.landing h2,
.landing h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-optical-sizing: auto;
  color: inherit;
}

.landing main > section {
  padding: 0;
  scroll-margin-top: 84px;
}

.lp-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.landing .i {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.landing .i-apple {
  flex: none;
  fill: currentColor;
}

.lp-wrap {
  width: min(var(--content), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.lp-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.lp-kicker {
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 1.6px;
}

.landing h2 {
  font-size: clamp(38px, 24px + 2.25vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.036em;
}

.lp-lede {
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.55;
}

.lp-row-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 80px;
  margin-bottom: 56px;
}

.lp-row-head .lp-head {
  flex: 1;
  min-width: 0;
}

.lp-row-head > .lp-lede {
  flex: 0 1 400px;
}

.lp-scroller {
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.lp-scroller::-webkit-scrollbar { display: none; }

/* ---------- Header ---------- */

.landing .site-header {
  background: rgba(251, 246, 239, 0.88);
  border-bottom: 0;
}

.landing .site-header .wrap {
  width: min(var(--content), 100% - var(--gutter) * 2);
  max-width: none;
  min-height: 68px;
  padding: 0;
}

.landing .brand {
  gap: 9px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.landing .brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.landing .nav-toggle {
  border-radius: 999px;
  border-color: var(--line);
}

.landing .header-cta {
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--ink);
  box-shadow: none;
  font-size: 14px;
}

.landing .header-cta .apple-logo {
  width: 14px;
  height: 16px;
}

@media (min-width: 860px) {
  .landing .site-header .wrap { min-height: 83px; }

  .landing .brand {
    gap: 10px;
    font-size: 22px;
    letter-spacing: -0.4px;
  }

  .landing .brand img {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }

  .landing .site-nav { gap: 22px; }
}

@media (min-width: 1100px) {
  .landing .site-nav { gap: 36px; }
}

/* ---------- Buttons ---------- */

.lp-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px 12px 20px;
  border-radius: 14px;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.lp-store:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.lp-store .i-apple {
  width: 26px;
  height: 30px;
}

.lp-store-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-align: left;
  line-height: 1.2;
}

.lp-store-small {
  font-size: 12px;
  font-weight: 500;
}

.lp-store-big {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.4px;
}

.lp-store-dark { background: var(--ink); color: #fff; }
.lp-store-dark:hover { color: #fff; }
.lp-store-dark .lp-store-small { color: rgba(255, 255, 255, 0.8); }

.lp-store-light { background: #fff; color: var(--ink); }
.lp-store-light:hover { color: var(--ink); }
.lp-store-light .lp-store-small { color: rgba(36, 21, 28, 0.7); }

.lp-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 67px;
  padding: 0 26px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.15s ease;
}

.lp-btn-ghost:hover {
  color: var(--ink);
  text-decoration: none;
  transform: translateY(-1px);
}

.lp-btn-ghost .i {
  width: 18px;
  height: 18px;
}

.lp-checks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  list-style: none;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}

.lp-checks li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lp-checks .i {
  width: 15px;
  height: 15px;
  color: var(--brand);
  stroke-width: 2.5;
}

/* ---------- Devices ---------- */
/* Each device is its own size container, so bezel, radius and screen
   scale from one width in both the hero stage and the feature tiles. */

.lp-device { container-type: inline-size; }

.lp-device-body {
  background: #1B1217;
  box-shadow:
    inset 0 0 0 1.5px #4A3840,
    0 40px 80px -10px rgba(58, 10, 30, 0.25),
    0 8px 20px rgba(36, 21, 28, 0.15);
}

.lp-device-body img {
  width: 100%;
  height: auto;
  object-fit: cover;
  background: #fff;
}

.lp-phone .lp-device-body {
  padding: calc(100cqw * 9 / 260);
  border-radius: calc(100cqw * 46 / 260);
}

.lp-phone img {
  aspect-ratio: 242 / 527;
  border-radius: calc(100cqw * 37 / 260);
}

.lp-tablet .lp-device-body {
  padding: calc(100cqw * 14 / 540);
  border-radius: calc(100cqw * 34 / 540);
}

.lp-tablet img {
  aspect-ratio: 512 / 679;
  border-radius: calc(100cqw * 21 / 540);
}

/* ---------- Hero ---------- */

.landing .lp-hero {
  padding: 64px 0 0;
  overflow: hidden;
}

.lp-hero-copy {
  width: min(1000px, 100% - var(--gutter) * 2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}

.lp-eyebrow-badge {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--blush);
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.lp-eyebrow-short { display: none; }

.landing .lp-hero h1 {
  font-size: clamp(46px, 16px + 5vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.034em;
}

.h1-accent {
  display: block;
  color: var(--brand);
  font-style: italic;
  line-height: 1.06;
}

.lp-hero-sub {
  max-width: 660px;
  color: var(--ink-soft);
  font-size: clamp(16.5px, 15px + 0.35vw, 20px);
  line-height: 1.55;
}

.lp-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding-top: 8px;
}

/* The stage is laid out in design pixels: --u is one pixel of the
   1200 × 820 Pencil stage, scaled to the container width. */
.lp-stage-wrap {
  width: min(var(--content), 100% - var(--gutter) * 2);
  margin: 64px auto 0;
  container-type: inline-size;
}

.lp-stage {
  --u: calc(100cqw / 1200);
  position: relative;
  aspect-ratio: 1200 / 820;
}

.lp-stage > * { position: absolute; }

.lp-stage-panel {
  left: 0;
  top: calc(190 * var(--u));
  width: 100%;
  height: calc(610 * var(--u));
  overflow: hidden;
  isolation: isolate;
  border-radius: calc(44 * var(--u));
  background: linear-gradient(180deg, #E4336A, #B8124A);
}

.lp-stage-panel::before,
.lp-cta-panel::before,
.lp-tool-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("/assets/landing/aida.webp") center / cover;
  opacity: 0.55;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.lp-stage-ipad {
  left: calc(330 * var(--u));
  top: calc(40 * var(--u));
  width: calc(540 * var(--u));
  z-index: 2;
}

.lp-stage-phone-left,
.lp-stage-phone-right {
  top: calc(225 * var(--u));
  width: calc(260 * var(--u));
  z-index: 3;
}

.lp-stage-phone-left { left: calc(120 * var(--u)); }
.lp-stage-phone-right { left: calc(820 * var(--u)); }

.lp-chip {
  z-index: 4;
  display: flex;
  align-items: center;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 16px 40px rgba(58, 10, 30, 0.2);
  line-height: 1.25;
}

.lp-chip-dmc {
  left: calc(28 * var(--u));
  top: calc(300 * var(--u));
  gap: 12px;
  padding: 14px 18px 14px 14px;
}

.lp-chip-dmc strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
}

.lp-chip-dmc small {
  display: block;
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 12.5px;
}

.lp-swatches { display: flex; }

.lp-swatches i {
  width: 30px;
  height: 30px;
  margin-left: -8px;
  border-radius: 50%;
  box-shadow: 0 0 0 2.5px #fff;
}

.lp-swatches i:first-child { margin-left: 0; }

.lp-chip-progress {
  left: calc(990 * var(--u));
  top: calc(600 * var(--u));
  width: 200px;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 16px;
}

.lp-chip-row {
  display: flex;
  justify-content: space-between;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
}

.lp-chip-row b {
  color: var(--brand);
  font-weight: 700;
}

.lp-chip-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--blush);
}

.lp-chip-bar span {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: var(--brand);
}

.lp-chip-stitches { font-size: 12.5px; }

.lp-chip-offline {
  left: calc(1010 * var(--u));
  top: calc(300 * var(--u));
  gap: 8px;
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.lp-chip-offline .i {
  width: 16px;
  height: 16px;
}

@media (max-width: 999px) {
  .lp-chip { display: none; }
}

/* ---------- Stats ---------- */

.landing .lp-stats { padding: 72px 0 24px; }

.lp-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lp-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 28px;
}

.lp-stat + .lp-stat { border-left: 1px solid var(--line); }

.lp-stat-num {
  font-family: var(--font-display);
  font-size: clamp(34px, 21px + 1.6vw, 44px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.034em;
  white-space: nowrap;
}

.lp-stat-label {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.35;
}

/* ---------- How it works ---------- */

.landing .lp-how { padding: 120px 0; }

.lp-how-grid {
  display: grid;
  grid-template-columns: 540px minmax(0, 1fr);
  grid-template-rows: 1fr auto auto 1fr;
  grid-template-areas:
    "split ."
    "split head"
    "split steps"
    "split .";
  column-gap: 96px;
}

.lp-how-head { grid-area: head; }

.lp-split {
  grid-area: split;
  align-self: center;
  position: relative;
  overflow: hidden;
  aspect-ratio: 540 / 702;
  margin: 0;
  border-radius: 32px;
  background: #1B1217;
  box-shadow: 0 30px 70px -10px rgba(58, 10, 30, 0.22);
}

.lp-split img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lp-split-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 2px);
  width: 4px;
  background: #fff;
}

.lp-split-handle {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 24px rgba(36, 21, 28, 0.25);
  color: var(--ink);
  transform: translate(-50%, -50%);
}

.lp-split-handle .i {
  width: 20px;
  height: 20px;
}

.lp-split-tag {
  position: absolute;
  top: 24px;
  padding: 8px 14px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.lp-split-tag-photo {
  left: 24px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.lp-split-tag-stitched {
  right: 24px;
  background: var(--ink);
  color: #fff;
}

.lp-steps {
  grid-area: steps;
  margin-top: 40px;
  list-style: none;
}

.lp-step {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.lp-step-num {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blush);
  color: var(--brand-dark);
  font-size: 15px;
  font-weight: 700;
}

.lp-step:first-child .lp-step-num {
  background: var(--brand);
  color: #fff;
}

.landing .lp-step h3 {
  margin-bottom: 6px;
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
}

.lp-step p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.5;
}

/* ---------- Features bento ---------- */

.landing .lp-features { padding: 40px 0 120px; }

.lp-features-head {
  max-width: 760px;
  margin: 0 auto 56px;
  align-items: center;
  text-align: center;
}

/* Four tracks reproduce the Pencil rows: 720 + 460 on top, three equal tiles below. */
.lp-bento {
  display: grid;
  grid-template-columns: 58fr 47fr 8fr 58fr;
  gap: 20px;
}

.lp-bento-devices { display: contents; }

.lp-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  height: 560px;
  overflow: hidden;
  border-radius: 32px;
}

.lp-tile-dmc {
  grid-column: 1 / 3;
  grid-row: 1;
  align-items: stretch;
  justify-content: space-between;
  padding: 48px;
  background: var(--plum);
  color: #fff;
}

.lp-tile-editor {
  grid-column: 3 / 5;
  grid-row: 1;
  padding: 48px 44px 0;
  background: var(--blush);
}

.lp-tile-track {
  grid-column: 1;
  grid-row: 2;
  padding: 44px 40px 0;
  border: 1px solid var(--line);
  background: var(--surface);
}

.lp-tile-pdf {
  grid-column: 2 / 4;
  grid-row: 2;
  padding: 44px 40px 0;
  background: linear-gradient(180deg, #E4336A, #B8124A);
  color: #fff;
}

.lp-tile-private {
  grid-column: 4;
  grid-row: 2;
  align-items: stretch;
  justify-content: space-between;
  padding: 44px 40px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.lp-tile-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.lp-tile-kicker {
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 1.4px;
}

.lp-tile-dmc .lp-tile-kicker { color: var(--pink-text); }
.lp-tile-pdf .lp-tile-kicker { color: rgba(255, 255, 255, 0.8); }

.landing .lp-tile h3 {
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.8px;
}

.lp-tile-text p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.5;
}

.lp-tile-dmc .lp-tile-text p,
.lp-tile-pdf .lp-tile-text p {
  color: rgba(255, 255, 255, 0.7);
}

.lp-tile .lp-phone {
  flex: none;
  width: min(260px, 100%);
}

.lp-threads {
  padding: 8px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.lp-thread {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  font-size: 15px;
  line-height: 1.3;
}

.lp-thread + .lp-thread,
.lp-thread-summary {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.lp-thread > i {
  flex: none;
  width: 26px;
  height: 26px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
}

.lp-thread-id {
  display: flex;
  flex: 1;
  gap: 14px;
  min-width: 0;
}

.lp-thread-id b { font-weight: 600; }
.lp-thread-id span { color: rgba(255, 255, 255, 0.6); }

.lp-thread-skeins {
  color: var(--pink-text);
  font-size: 14px;
  font-weight: 600;
}

.lp-thread-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0 12px;
  font-size: 14px;
  line-height: 1.3;
}

.lp-thread-summary .i {
  width: 18px;
  height: 18px;
  color: var(--pink-text);
}

.lp-thread-summary span {
  flex: 1;
  color: rgba(255, 255, 255, 0.6);
}

.lp-thread-summary strong { font-weight: 700; }

.lp-privacy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}

.lp-privacy li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--bg);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.lp-privacy-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--blush);
  color: var(--brand);
}

.lp-privacy-icon .i {
  width: 18px;
  height: 18px;
}

.lp-dots {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.lp-dots span {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: rgba(36, 21, 28, 0.15);
  transition: width 0.2s ease, background-color 0.2s ease;
}

.lp-dots span.is-active {
  width: 20px;
  background: var(--brand);
}

/* ---------- iPhone + iPad ---------- */

.lp-ipad-band {
  overflow: hidden;
  background: var(--plum);
  color: #fff;
}

.landing .lp-ipad-band { padding: 120px 0 0; }

.lp-ipad-grid {
  display: grid;
  grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}

.lp-ipad-copy {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding: 40px 0 120px;
}

.lp-ipad-band .lp-kicker { color: var(--pink-text); }

.landing .lp-ipad-band h2 {
  font-size: clamp(38px, 26px + 1.8vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.lp-ipad-band .lp-lede { color: rgba(255, 255, 255, 0.7); }

.lp-ipad-points {
  display: flex;
  flex-direction: column;
  gap: 18px;
  list-style: none;
}

.lp-ipad-points li {
  display: flex;
  gap: 16px;
}

.lp-ipad-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--pink-text);
}

.lp-ipad-icon .i {
  width: 20px;
  height: 20px;
}

.lp-ipad-points strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}

.lp-ipad-points li span:not(.lp-ipad-icon) {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  line-height: 1.4;
}

/* 680 × 760 Pencil canvas; --u is one design pixel. */
.lp-ipad-visual {
  --u: calc(100cqw / 680);
  position: relative;
  aspect-ratio: 680 / 760;
  container-type: inline-size;
}

.lp-ipad-visual > * { position: absolute; }

.lp-ipad-glow {
  left: calc(40 * var(--u));
  top: calc(80 * var(--u));
  width: calc(640 * var(--u));
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(218, 28, 86, 0.4), rgba(218, 28, 86, 0));
}

.lp-ipad-back {
  left: calc(250 * var(--u));
  top: 0;
  width: calc(430 * var(--u));
}

.lp-ipad-front {
  left: 0;
  top: calc(120 * var(--u));
  width: calc(540 * var(--u));
}

/* ---------- Ideas ---------- */

.landing .lp-ideas { padding: 128px 0 120px; }

.lp-ideas-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.lp-idea {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.lp-idea:nth-child(even) { padding-top: 56px; }

.lp-idea img {
  width: 100%;
  aspect-ratio: 282 / 360;
  object-fit: cover;
  border-radius: 24px;
  background: #EFE6DC;
}

.lp-idea-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.landing .lp-idea h3 {
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.4px;
}

.lp-idea p {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.5;
}

/* ---------- Free tools carousel ---------- */

.landing .lp-tools {
  padding: 120px 0;
  border-top: 1px solid var(--line);
}

.lp-pill-kicker {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 99px;
  background: var(--blush);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.lp-tools .lp-head h2 { max-width: 640px; }

.lp-carousel { position: relative; }

.lp-tools-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
}

.lp-tools-track:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 6px;
  border-radius: 28px;
}

.lp-tool {
  display: flex;
  flex: 0 0 calc((100% - 48px) / 3);
  flex-direction: column;
  min-height: 516px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  color: var(--ink);
  scroll-snap-align: start;
}

.lp-tool:hover {
  color: var(--ink);
  text-decoration: none;
}

.lp-tool-preview {
  position: relative;
  display: flex;
  flex: none;
  flex-direction: column;
  justify-content: center;
  height: 300px;
  padding: 24px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 20px;
  background: #F9F3EB;
}

.lp-tool-preview::before { opacity: 0.7; }

.lp-widget {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(58, 10, 30, 0.08);
  line-height: 1.25;
}

.lp-widget-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lp-widget-label,
.lp-result span {
  color: var(--ink-soft);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.lp-instant {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 5px;
  padding: 4px 9px 4px 7px;
  border-radius: 99px;
  background: #E7F4EC;
  color: #23734A;
  font-size: 11px;
  font-weight: 600;
}

.lp-instant i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2E9E5B;
}

.lp-widget-title {
  font-size: 17px;
  font-weight: 600;
}

.lp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.lp-chips span {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--bg);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 500;
}

.lp-results {
  display: flex;
  gap: 10px;
}

.lp-result {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 12px 0;
}

.lp-result-hl {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--blush);
}

.lp-result strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.4px;
  white-space: nowrap;
}

.lp-result-hl strong { color: var(--brand-dark); }

.lp-widget-word {
  width: 100%;
  height: 112px;
  object-fit: cover;
  border-radius: 10px;
}

.lp-swatch-lg {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.lp-widget-color,
.lp-match-name {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.lp-widget-color strong {
  font-size: 16px;
  font-weight: 600;
}

.lp-widget-color small,
.lp-match-name small {
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lp-matches {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lp-match {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--bg);
}

.lp-swatch-sm {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 6px;
}

.lp-match-name { gap: 1px; }

.lp-match-name strong {
  font-size: 13px;
  font-weight: 600;
}

.lp-tag {
  flex: none;
  padding: 3px 8px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 600;
}

.lp-tag-green { background: #E7F4EC; color: #23734A; }
.lp-tag-amber { background: #FDF1DE; color: #9A6212; }

.lp-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink-soft);
  font-size: 13px;
}

.lp-search .i {
  width: 15px;
  height: 15px;
}

.lp-swatch-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px 6px;
}

.lp-swatch-grid span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
}

.lp-swatch-grid i {
  width: 100%;
  height: 28px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(36, 21, 28, 0.08);
}

.lp-tool-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 16px 18px;
}

.landing .lp-tool-body h3 {
  margin-bottom: 10px;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.6px;
}

.lp-tool-body p {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.55;
}

.lp-tool-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-top: 6px;
  color: var(--brand);
  font-size: 15px;
  font-weight: 600;
}

.lp-tool-link .i {
  width: 16px;
  height: 16px;
  transition: transform 0.15s ease;
}

.lp-tool:hover .lp-tool-link .i { transform: translateX(3px); }

.lp-carousel-btn {
  position: absolute;
  top: 160px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(58, 10, 30, 0.14);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.lp-carousel-btn:hover {
  box-shadow: 0 14px 32px rgba(58, 10, 30, 0.2);
  transform: translateY(-50%) scale(1.05);
}

.lp-carousel-btn[hidden] { display: none; }

.lp-carousel-btn .i {
  width: 22px;
  height: 22px;
}

.lp-carousel-prev { left: -26px; }
.lp-carousel-next { right: -26px; }

/* ---------- Guides ---------- */

.landing .lp-guides { padding: 0 0 120px; }

.lp-guides-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.lp-guide {
  display: flex;
  flex-direction: column;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  color: var(--ink);
}

.lp-guide:hover {
  color: var(--ink);
  text-decoration: none;
}

.lp-guide:hover h3 { color: var(--brand-dark); }

.lp-guide img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 16px;
}

.lp-guide-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 14px 14px;
}

.landing .lp-guide h3 {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.4px;
}

.lp-guide p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

/* ---------- FAQ ---------- */

.landing .lp-faq {
  padding: 120px 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.lp-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: 96px;
  align-items: start;
}

.lp-faq .lp-lede { font-size: 17px; }

.lp-faq-list details + details { border-top: 1px solid var(--line); }

.lp-faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

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

.lp-faq-list summary::after {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  background: var(--brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 12h14M12 5v14'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 12h14M12 5v14'/%3E%3C/svg%3E") center / contain no-repeat;
}

.lp-faq-list details[open] summary { padding-bottom: 10px; }

.lp-faq-list details[open] summary::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
}

.lp-faq-a {
  padding-bottom: 26px;
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.55;
}

.lp-faq-a a {
  color: var(--brand-dark);
  font-weight: 600;
}

/* ---------- Final CTA ---------- */

.landing .lp-cta {
  padding: 0 0 120px;
  background: var(--surface);
}

.lp-cta-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 88px 80px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 44px;
  background: linear-gradient(135deg, #E4336A, #A8123F);
  color: #fff;
  text-align: center;
}

.lp-cta-icon {
  width: 104px;
  height: 104px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(58, 10, 30, 0.4);
}

.landing .lp-cta-panel h2 {
  max-width: 760px;
  font-size: clamp(38px, 16px + 3.4vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.0375em;
}

.lp-cta-panel p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 19px;
  line-height: 1.5;
}

.lp-cta-panel .lp-checks { color: rgba(255, 255, 255, 0.85); }
.lp-cta-panel .lp-checks .i { color: #fff; }

/* ---------- Footer ---------- */

.landing .lp-footer {
  padding: 72px 0 48px;
  border-top: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink-soft);
  font-size: 15px;
}

.lp-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(3, 200px);
  gap: 64px;
}

.lp-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.landing .lp-footer .brand { margin: 0; }

.lp-footer-brand p {
  max-width: 360px;
  line-height: 1.55;
}

.landing .lp-footer h3 {
  margin: 0 0 14px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 1.4px;
}

.landing .lp-footer ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
}

.landing .lp-footer ul a {
  color: var(--ink-soft);
  line-height: 1.3;
}

.landing .lp-footer ul a:hover { color: var(--ink); }

.lp-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.5;
}

.lp-footer-bottom p:last-child {
  max-width: 560px;
  color: rgba(110, 92, 99, 0.7);
  text-align: right;
}

/* ---------- Sticky download bar (mobile) ---------- */

.sticky-download { display: none; }

@media (max-width: 767px) {
  .sticky-download {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    z-index: 80;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    background: rgba(36, 21, 28, 0.94);
    box-shadow: 0 14px 36px rgba(36, 21, 28, 0.35);
    color: #fff;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(120%);
    transition: transform 0.28s ease, opacity 0.28s ease;
  }

  .sticky-download.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .sticky-download img {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 11px;
  }

  .sticky-download .sticky-copy {
    flex: 1;
    min-width: 0;
    line-height: 1.25;
  }

  .sticky-download strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
  }

  .sticky-download small {
    display: block;
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12.5px;
  }

  .sticky-download .sticky-btn {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 7px;
    padding: 12px 16px;
    border-radius: 14px;
    background: var(--brand);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
  }

  .sticky-download .sticky-btn:hover {
    color: #fff;
    text-decoration: none;
  }

  .sticky-download .sticky-btn .i-apple {
    width: 15px;
    height: 17px;
  }
}

/* ---------- Tablet ---------- */

@media (min-width: 768px) and (max-width: 1099px) {
  .lp-row-head { gap: 40px; }

  .lp-stat { padding: 4px 20px; }

  .lp-how-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
    column-gap: 48px;
  }

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

  .lp-tile-dmc,
  .lp-tile-editor,
  .lp-tile-track,
  .lp-tile-pdf,
  .lp-tile-private {
    grid-column: auto;
    grid-row: auto;
  }

  .lp-tile-dmc {
    grid-column: 1 / -1;
    height: auto;
  }

  .lp-tile-editor,
  .lp-tile-track,
  .lp-tile-pdf { padding: 36px 32px 0; }

  .lp-tile-private { padding: 36px 32px; }

  .landing .lp-tile h3 { font-size: 28px; }

  .lp-ipad-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .lp-ipad-copy { padding: 0; }

  .lp-ipad-visual {
    --u: calc(100cqw / 350);
    width: min(100%, 560px);
    margin-inline: auto;
    aspect-ratio: 350 / 380;
  }

  .lp-ipad-glow { left: calc(-20 * var(--u)); top: calc(40 * var(--u)); width: calc(400 * var(--u)); }
  .lp-ipad-back { left: calc(125 * var(--u)); width: calc(225 * var(--u)); }
  .lp-ipad-front { top: calc(56 * var(--u)); width: calc(280 * var(--u)); }

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

  .lp-idea:nth-child(even) { padding-top: 0; }

  .lp-tool { flex-basis: calc((100% - 24px) / 2); }

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

  .lp-faq-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: 48px;
  }

  .lp-footer-top {
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: 32px;
  }
}

@media (min-width: 768px) and (max-width: 899px) {
  .lp-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 32px;
  }

  .lp-stat:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .lp-stat:first-child { padding-left: 0; }

  .lp-row-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .lp-row-head > .lp-lede { flex-basis: auto; }

  .lp-how-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-template-areas: "head" "split" "steps";
    row-gap: 40px;
  }

  .lp-split { width: min(100%, 540px); }

  .lp-steps { margin-top: 0; }

  .lp-faq-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Mobile (Pencil "StitchCraft Landing – Mobile") ---------- */

@media (max-width: 767px) {
  .landing .header-cta { display: none; }

  .lp-head { gap: 14px; }

  .lp-kicker {
    font-size: 12px;
    letter-spacing: 1.5px;
  }

  .landing h2 { line-height: 1.06; }

  .lp-lede { font-size: 16.5px; }

  .lp-row-head {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-bottom: 28px;
  }

  .lp-row-head > .lp-lede { flex-basis: auto; }

  /* Horizontal swipe rows bleed to the screen edge and snap to the gutter. */
  .lp-bento-devices,
  .lp-ideas-track,
  .lp-tools-track,
  .lp-guides-grid {
    display: flex;
    gap: 12px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    overflow-x: auto;
    scroll-padding-inline: var(--gutter);
    scroll-snap-type: x mandatory;
  }

  .lp-bento-devices > *,
  .lp-ideas-track > *,
  .lp-tools-track > *,
  .lp-guides-grid > * { scroll-snap-align: start; }

  .lp-dots { display: flex; }

  /* Hero */
  .landing .lp-hero { padding-top: 24px; }

  .lp-hero-copy { gap: 20px; }

  .lp-eyebrow {
    padding: 6px 12px 6px 6px;
    font-size: 13px;
  }

  .lp-eyebrow-badge {
    padding: 3px 8px;
    font-size: 10.5px;
  }

  .lp-eyebrow-full { display: none; }
  .lp-eyebrow-short { display: inline; }

  .h1-accent { line-height: 1.04; }

  .lp-hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    padding-top: 6px;
  }

  .lp-hero-ctas > a {
    justify-content: center;
    height: 64px;
    padding: 0;
    border-radius: 16px;
  }

  .lp-hero-ctas .i-apple {
    width: 24px;
    height: 28px;
  }

  .lp-hero-copy .lp-checks {
    gap: 6px 10px;
    font-size: 12.5px;
  }

  .lp-hero-copy .lp-checks .i {
    width: 14px;
    height: 14px;
  }

  .lp-hide-sm { display: none !important; }

  .lp-stage-wrap {
    width: 100%;
    margin-top: 28px;
  }

  .lp-stage {
    --u: calc(100cqw / 390);
    aspect-ratio: 390 / 410;
  }

  .lp-stage-panel {
    left: calc(20 * var(--u));
    top: calc(110 * var(--u));
    width: calc(350 * var(--u));
    height: calc(290 * var(--u));
    border-radius: calc(28 * var(--u));
  }

  .lp-stage-ipad {
    left: calc(77 * var(--u));
    top: calc(20 * var(--u));
    width: calc(236 * var(--u));
  }

  .lp-stage-phone-left,
  .lp-stage-phone-right {
    top: calc(138 * var(--u));
    width: calc(112 * var(--u));
  }

  .lp-stage-phone-left { left: calc(24 * var(--u)); }
  .lp-stage-phone-right { left: calc(254 * var(--u)); }

  .lp-stage .lp-device-body {
    box-shadow:
      inset 0 0 0 1px #4A3840,
      0 20px 40px -6px rgba(58, 10, 30, 0.25);
  }

  /* Stats */
  .landing .lp-stats { padding: 40px 0 8px; }

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

  .lp-stat {
    gap: 4px;
    padding: 18px 0;
  }

  .lp-stat:nth-child(odd) {
    padding-right: 12px;
    border-left: 0;
  }

  .lp-stat-num { font-size: clamp(28px, 8.7vw, 34px); }

  .lp-stat:nth-child(even) {
    padding: 18px 20px;
    border-left: 1px solid var(--line);
  }

  .lp-stat:nth-child(n + 3) { border-top: 1px solid var(--line); }

  .lp-stat-label { font-size: 14px; }

  /* How it works */
  .landing .lp-how { padding: 64px 0 24px; }

  .lp-how-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-template-areas: "head" "split" "steps";
    row-gap: 32px;
  }

  .lp-split {
    border-radius: 24px;
    box-shadow: 0 20px 40px -8px rgba(58, 10, 30, 0.22);
  }

  .lp-split-divider {
    left: calc(50% - 1.5px);
    width: 3px;
  }

  .lp-split-handle {
    width: 48px;
    height: 48px;
    box-shadow: 0 6px 18px rgba(36, 21, 28, 0.25);
  }

  .lp-split-handle .i {
    width: 16px;
    height: 16px;
  }

  .lp-split-tag {
    top: 16px;
    padding: 6px 11px;
    font-size: 12px;
  }

  .lp-split-tag-photo { left: 16px; }
  .lp-split-tag-stitched { right: 16px; }

  .lp-steps { margin-top: 0; }

  .lp-step {
    gap: 16px;
    padding: 18px 0;
  }

  .lp-step-num {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .landing .lp-step h3 {
    margin-bottom: 4px;
    font-size: 17px;
  }

  .lp-step p { font-size: 15px; }

  /* Features */
  .landing .lp-features { padding: 64px 0 72px; }

  .lp-features-head { margin-bottom: 28px; }

  .lp-bento {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .lp-tile {
    gap: 24px;
    border-radius: 26px;
  }

  .lp-tile-dmc,
  .lp-tile-private {
    height: auto;
    padding: 24px;
  }

  .lp-tile-private { gap: 20px; }

  .lp-tile-text { gap: 10px; }

  .lp-tile-kicker {
    font-size: 11px;
    letter-spacing: 1.3px;
  }

  .landing .lp-tile h3 {
    font-size: 26px;
    letter-spacing: -0.6px;
  }

  .lp-tile-text p { font-size: 15px; }

  .lp-threads {
    padding: 4px 16px;
    border: 0;
    border-radius: 16px;
  }

  .lp-thread {
    gap: 12px;
    padding: 11px 0;
  }

  .lp-thread > i {
    width: 22px;
    height: 22px;
  }

  .lp-thread-id {
    flex-direction: column;
    gap: 1px;
  }

  .lp-thread-id b { font-size: 14px; }
  .lp-thread-id span { font-size: 12.5px; }
  .lp-thread-skeins { font-size: 13px; }

  .lp-thread:nth-child(4),
  .lp-thread-summary { display: none; }

  .lp-bento-devices > .lp-tile {
    flex: 0 0 290px;
    height: 470px;
    padding: 24px 24px 0;
  }

  .lp-bento-devices .lp-phone { width: 210px; }

  .lp-privacy {
    flex-direction: row;
    gap: 8px;
  }

  .lp-privacy li {
    flex: 1;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    padding: 14px 6px;
    border-radius: 14px;
    font-size: 13px;
    text-align: center;
  }

  .lp-privacy-icon {
    width: auto;
    height: auto;
    background: none;
  }

  .lp-privacy-icon .i {
    width: 20px;
    height: 20px;
  }

  /* iPhone + iPad */
  .landing .lp-ipad-band { padding: 64px 0 0; }

  .lp-ipad-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .lp-ipad-copy {
    gap: 28px;
    padding: 0;
  }

  .landing .lp-ipad-band h2 { letter-spacing: -1.3px; }

  .lp-ipad-points { gap: 14px; }

  .lp-ipad-points li {
    align-items: center;
    gap: 12px;
  }

  .lp-ipad-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }

  .lp-ipad-icon .i {
    width: 18px;
    height: 18px;
  }

  .lp-ipad-points strong { font-size: 15.5px; }

  .lp-ipad-points li span:not(.lp-ipad-icon) { display: none; }

  .lp-ipad-visual {
    --u: calc(100cqw / 350);
    aspect-ratio: 350 / 380;
  }

  .lp-ipad-glow { left: calc(-20 * var(--u)); top: calc(40 * var(--u)); width: calc(400 * var(--u)); }
  .lp-ipad-back { left: calc(125 * var(--u)); width: calc(225 * var(--u)); }
  .lp-ipad-front { top: calc(56 * var(--u)); width: calc(280 * var(--u)); }

  /* Ideas */
  .landing .lp-ideas { padding: 64px 0 72px; }

  .lp-ideas-track { gap: 14px; }

  .lp-idea {
    flex: 0 0 250px;
    gap: 14px;
  }

  .lp-idea:nth-child(even) { padding-top: 0; }

  .lp-idea img {
    aspect-ratio: 250 / 300;
    border-radius: 22px;
  }

  .lp-idea-text { gap: 4px; }

  .landing .lp-idea h3 {
    font-size: 21px;
    letter-spacing: -0.3px;
  }

  .lp-idea p { font-size: 14.5px; }

  /* Free tools */
  .landing .lp-tools { padding: 64px 0 56px; }

  .lp-tools .lp-head { gap: 16px; }

  .lp-carousel-btn { display: none; }

  .lp-tools-track { margin-bottom: 24px; }

  .lp-tool {
    flex: 0 0 min(310px, 82vw);
    min-height: 0;
    border-radius: 26px;
  }

  .lp-tool-preview {
    height: 268px;
    padding: 16px;
    border-radius: 18px;
  }

  .lp-widget {
    gap: 12px;
    padding: 16px;
  }

  .lp-result strong { font-size: 19px; }

  .lp-chips span {
    padding: 3px 8px;
    font-size: 11px;
  }

  .lp-result-hl { padding: 10px 12px; }

  .lp-result { padding: 10px 0; }

  .lp-widget-word { height: 96px; }

  .lp-tool-body { padding: 20px 12px 14px; }

  .landing .lp-tool-body h3 { font-size: 23px; }

  .lp-tool-body p { font-size: 15px; }

  /* Guides */
  .landing .lp-guides { padding: 0 0 64px; }

  .lp-guide {
    flex: 0 0 min(280px, 78vw);
    border-radius: 22px;
  }

  .lp-guide-text { padding: 16px 10px 10px; }

  .landing .lp-guide h3 { font-size: 20px; }

  .lp-guide p { font-size: 14.5px; }

  /* FAQ */
  .landing .lp-faq { padding: 64px 0 56px; }

  .lp-faq-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .lp-faq .lp-lede { display: none; }

  .lp-faq-list summary {
    gap: 16px;
    padding: 20px 0;
    font-size: 16.5px;
  }

  .lp-faq-list summary::after {
    width: 18px;
    height: 18px;
  }

  .lp-faq-list details[open] summary { padding-bottom: 8px; }

  .lp-faq-a {
    padding-bottom: 20px;
    font-size: 15px;
  }

  /* Final CTA */
  .landing .lp-cta { padding: 0 0 40px; }

  .lp-cta-panel {
    gap: 22px;
    padding: 48px 24px;
    border-radius: 30px;
  }

  .lp-cta-icon {
    width: 84px;
    height: 84px;
    border-radius: 20px;
    box-shadow: 0 16px 32px rgba(58, 10, 30, 0.4);
  }

  .landing .lp-cta-panel h2 {
    line-height: 1.04;
    letter-spacing: -1.3px;
  }

  .lp-cta-panel p { font-size: 16px; }

  .lp-cta-panel .lp-store {
    justify-content: center;
    width: 100%;
    height: 64px;
    padding: 0;
    border-radius: 16px;
  }

  .lp-cta-panel .lp-store .i-apple {
    width: 24px;
    height: 28px;
  }

  .lp-cta-panel .lp-checks { display: none; }

  /* Footer */
  .landing .lp-footer { padding: 48px 0 140px; }

  .lp-footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }

  .lp-footer-brand {
    grid-column: 1 / -1;
    gap: 12px;
  }

  .lp-footer-brand p { font-size: 14.5px; }

  .landing .lp-footer h3 {
    margin-bottom: 12px;
    font-size: 11.5px;
    letter-spacing: 1.3px;
  }

  .landing .lp-footer ul { gap: 12px; }

  .landing .lp-footer ul a { font-size: 14.5px; }

  .lp-footer-bottom {
    flex-direction: column;
    gap: 8px;
    margin-top: 32px;
    padding-top: 20px;
    font-size: 12.5px;
  }

  .lp-footer-bottom p:last-child {
    font-size: 12px;
    text-align: left;
  }
}

@media (max-width: 359px) {
  .lp-results { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-store,
  .lp-btn-ghost,
  .lp-carousel-btn,
  .lp-tool-link .i,
  .lp-dots span,
  .sticky-download {
    transition: none;
  }
}
