/* First-level Shopify LPs only. Tokens stay in each page sheet. Reversible: drop this sheet + restore HTML classes. */
/* Not actor-landing.css — no Store/Input dump chrome. Display face shared with / and /tools/. */

@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/fraunces-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Fraunces;
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/fraunces-latin-500italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

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

body.shopify-lp {
  --display: Fraunces, "Times New Roman", Times, serif;
  --bg-tint: #f3f1ea;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 72% 42% at 100% -8%, rgba(42, 74, 155, 0.07), transparent 58%),
    radial-gradient(ellipse 48% 34% at -6% 6%, rgba(24, 34, 56, 0.04), transparent 52%);
}

body.shopify-lp::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.32;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.28'/%3E%3C/svg%3E");
}

body.shopify-lp > * {
  position: relative;
  z-index: 1;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 20;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  background: var(--primary);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  width: auto;
  height: auto;
  padding: 0.55rem 1rem;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: normal;
  border-radius: 9999px;
}

::selection {
  background: var(--primary);
  color: #fff;
}

header.site .logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.mark {
  display: inline-grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 0.45rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

header.site {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--bg-raised) 82%, transparent);
  backdrop-filter: saturate(1.15) blur(12px);
  -webkit-backdrop-filter: saturate(1.15) blur(12px);
}

header.site nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
}

header.site nav a {
  margin-right: 0;
}

main.wrap {
  padding-top: 2.35rem;
  padding-bottom: 4.5rem;
}

.hero {
  position: relative;
  padding-bottom: 2.15rem;
  margin-bottom: 0.35rem;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  position: relative;
}

.hero-mark {
  display: block;
  width: 1.85rem;
  height: auto;
  margin: 0 0 0.75rem;
  color: var(--primary);
  flex-shrink: 0;
}

@media (min-width: 860px) {
  .hero-mark {
    position: absolute;
    margin: 0;
    width: 10.5rem;
    height: auto;
    top: 1.85rem;
    right: -0.4rem;
    opacity: 0.14;
    pointer-events: none;
    z-index: 0;
  }

  .hero-copy > :not(.hero-mark) {
    position: relative;
    z-index: 1;
  }
}

.folio {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.05rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
}

.folio i {
  flex: 1;
  height: 1px;
  background: var(--line);
  min-width: 2.5rem;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.15rem, 5.2vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  font-weight: 700;
  font-synthesis: none;
  color: var(--ink);
}

.hero h1 .and {
  font-family: var(--display);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--primary);
  font-size: 0.72em;
  padding: 0 0.08em;
}

.hero .subtitle,
.hero .lede {
  font-size: clamp(1.05rem, 1.55vw, 1.2rem);
  max-width: 40rem;
  color: var(--muted);
}

.hero .lede {
  border-left: 3px solid var(--primary);
  padding: 0.15rem 0 0.15rem 1rem;
  margin: 0 0 1.25rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  align-items: center;
  margin: 0 0 0.35rem;
}

.jump-kicker {
  margin: 1.45rem 0 0.55rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
}

.jump a {
  display: inline-block;
  border: 1px solid var(--line);
  background: var(--bg-raised);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 9999px;
  padding: 0.4rem 0.85rem;
  transition: border-color 0.16s ease, color 0.16s ease, background-color 0.16s ease;
}

.jump a:hover {
  border-color: var(--primary);
  color: var(--primary-deep);
  background: #fff;
}

.section {
  margin-top: 0;
  padding-top: 2.35rem;
  scroll-margin-top: 1.25rem;
}

.section-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.1rem 1.15rem;
  align-items: start;
  margin: 0 0 1.25rem;
}

.section-num {
  grid-row: 1 / span 4;
  font-family: var(--display);
  font-size: clamp(2.05rem, 3.8vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.82;
  color: var(--primary);
  padding-top: 0.15rem;
  font-variant-numeric: tabular-nums;
}

.section-head .eyebrow {
  margin: 0 0 0.2rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.4vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.section-head .deck {
  grid-column: 2;
  margin: 0.4rem 0 0;
  color: var(--muted);
  max-width: 42rem;
}

.app-grid {
  counter-reset: tile;
}

.app-grid article {
  position: relative;
  padding-top: 1.55rem;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.app-grid article::before {
  counter-increment: tile;
  content: counter(tile, decimal-leading-zero);
  position: absolute;
  top: 0.9rem;
  right: 1.05rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.app-grid article:hover {
  border-color: #c9d0e4;
  box-shadow: 0 10px 28px -18px rgba(24, 34, 56, 0.45);
}

.app-grid h2 {
  font-family: var(--display);
  font-size: 1.28rem;
  letter-spacing: -0.025em;
  padding-right: 2.4rem;
}

.app-grid .cta {
  padding: 0.62rem 1.15rem;
  font-size: 0.88rem;
  align-self: start;
}

.app-grid .more {
  margin: 0.15rem 0 0;
  font-size: 0.88rem;
}

.app-grid .more a {
  text-decoration: none;
  font-weight: 600;
}

.card,
.grid article,
.checkout,
.preview {
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.card:hover,
.grid article:hover,
.checkout:hover,
.preview:hover {
  border-color: #c9d0e4;
  box-shadow: 0 10px 28px -18px rgba(24, 34, 56, 0.4);
}

.card h2,
section.cases h2,
section.install-path h2,
section.pay-on-install h2 {
  font-family: var(--display);
  letter-spacing: -0.02em;
}

.card > .section-head {
  margin-bottom: 1rem;
}

.cases h3,
.grid h3 {
  letter-spacing: -0.015em;
}

.limit {
  margin-top: 2.1rem;
}

a:focus-visible,
button:focus-visible,
.cta:focus-visible,
.jump a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
  .jump a {
    transition: border-color 0.16s ease, color 0.16s ease, background-color 0.16s ease, transform 0.16s ease;
  }

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

@media (max-width: 40rem) {
  header.site .bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
  }

  header.site nav {
    width: 100%;
    gap: 0.3rem 0.7rem;
  }

  header.site nav a {
    font-size: 0.82rem;
  }

  .hero {
    padding-bottom: 1.75rem;
  }

  .hero h1 {
    font-size: clamp(1.95rem, 10vw, 2.45rem);
  }

  .section-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.15rem;
  }

  .section-num {
    grid-row: auto;
    font-size: 1.35rem;
    line-height: 1;
    padding-top: 0;
    margin-bottom: 0.15rem;
  }

  .section-head .deck {
    grid-column: 1;
  }

  .cta,
  .app-grid .cta {
    display: block;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-grid article,
  .card,
  .grid article,
  .checkout,
  .preview,
  .cta,
  .jump a {
    animation: none;
    transition: none;
  }

  .app-grid article:hover,
  .card:hover,
  .grid article:hover,
  .checkout:hover,
  .preview:hover,
  .jump a:hover {
    box-shadow: none;
    transform: none;
  }
}
