/* AllThingsVector marketing site. Shares the app's palette (src/styles.css). */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
}

/* VectorCraftsmen Studio palette: navy chrome, cool light canvas, white
   surfaces and a single terracotta accent for actions and selection. */
:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --surface-2: #f0f2f5;
  --text: #1d2433;
  --muted: #667085;
  --border: #e4e7ec;
  --input: #d0d5dd;
  --accent: #d9623a;
  --accent-strong: #b54d29;
  --accent-soft: #fdf1ec;
  --on-accent: #ffffff;
  --navy: #1d2b6b;
  --navy-deep: #15215a;
  --navy-line: #2c3b7e;
  --on-navy: #e8ebf7;
  --peach: #f0a585;
  --ok: #12b76a;
  --shadow-sm: none;
  --shadow: 0 1px 2px rgb(16 24 40 / 5%);
  --shadow-lg: 0 24px 60px rgb(8 14 48 / 35%);
  --radius: 8px;
  --max: 1160px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 12px;
  z-index: 100;
  background: var(--surface);
  padding: 8px 12px;
  border-radius: 8px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: var(--on-navy);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.nav.scrolled {
  border-bottom-color: var(--navy-line);
}

.nav .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font: 600 18px/1 ui-serif, Georgia, 'Times New Roman', serif;
  letter-spacing: -0.01em;
}

.nav .brand {
  color: #fff;
}

.brand svg {
  width: 30px;
  height: 30px;
}

.nav-links {
  display: flex;
  gap: 24px;
  margin-left: 8px;
}

.nav-links a {
  color: rgb(232 235 247 / 80%);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}

.nav .brand,
.nav-cta {
  flex: none;
}

/* The longer name leaves less room: drop the longest links first, then all of them. */
@media (max-width: 1200px) {
  .nav-links a[href='#ways'],
  .nav-links a[href='#how'] {
    display: none;
  }
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }
}

.nav-links a:hover {
  color: #fff;
}

.nav .btn:not(.primary),
.hero .btn:not(.primary) {
  background: transparent;
  color: #fff;
  border-color: rgb(255 255 255 / 22%);
}

.nav .btn:not(.primary):hover,
.hero .btn:not(.primary):hover {
  background: var(--navy-deep);
  border-color: rgb(255 255 255 / 35%);
}

.nav-cta {
  margin-left: auto;
  display: flex;
  gap: 10px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 6px;
  border: 1px solid var(--input);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: transform 0.12s, background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.btn:hover {
  background: var(--surface-2);
}

.btn:active {
  transform: translateY(1px);
}

.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

.btn.primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.btn.lg {
  min-height: 50px;
  padding: 0 24px;
  font-size: 15.5px;
  border-radius: 8px;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn .sub {
  font-weight: 500;
  opacity: 0.75;
  font-size: 0.88em;
}

/* ---------- hero ---------- */
/* Centered copy on navy; the product window straddles the navy/canvas edge. */
.hero {
  --stage-overlap: 220px;
  position: relative;
  padding: 80px 0 72px;
  overflow: hidden;
  background: linear-gradient(var(--navy), var(--navy)) top / 100% calc(100% - var(--stage-overlap)) no-repeat, var(--bg);
  color: #fff;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0 0 var(--stage-overlap);
  background:
    radial-gradient(700px 420px at 50% 100%, rgb(217 98 58 / 24%), transparent 70%),
    radial-gradient(520px 340px at 0% 0%, rgb(44 59 126 / 80%), transparent 70%),
    radial-gradient(520px 340px at 100% 10%, rgb(44 59 126 / 60%), transparent 70%);
  pointer-events: none;
}

/* faint drafting grid, a nod to vector paths */
.hero::after {
  content: '';
  position: absolute;
  inset: 0 0 var(--stage-overlap);
  background-image:
    linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 8px;
  border-radius: 999px;
  background: rgb(255 255 255 / 6%);
  border: 1px solid var(--navy-line);
  font-size: 13px;
  font-weight: 500;
  color: var(--on-navy);
}

.eyebrow .dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgb(18 183 106 / 18%);
  color: #4ade80;
}

.eyebrow .dot svg {
  width: 12px;
  height: 12px;
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(34px, 5.6vw, 64px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: #fff;
}

.hero h1 em {
  font-style: normal;
  color: var(--peach);
}

.hero .lede {
  margin-top: 22px;
  font-size: clamp(16.5px, 1.5vw, 18px);
  color: rgb(232 235 247 / 78%);
  max-width: 38em;
}

.hero .cta-row,
.hero .cta-note {
  justify-content: center;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.cta-note {
  margin-top: 16px;
  font-size: 13.5px;
  color: rgb(232 235 247 / 75%);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.cta-note span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cta-note svg {
  width: 15px;
  height: 15px;
  color: #4ade80;
}

/* ---------- hero stage: app window ---------- */
.hero-stage {
  position: relative;
  max-width: 1080px;
  margin-top: 64px;
}

.window {
  position: relative;
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid rgb(255 255 255 / 14%);
  box-shadow: 0 0 0 6px rgb(255 255 255 / 6%), 0 40px 100px rgb(8 14 48 / 45%);
  overflow: hidden;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 14px;
  background: var(--navy-deep);
}

.window-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgb(255 255 255 / 18%);
}

.window-bar .url {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 auto;
  padding: 4px 14px;
  border-radius: 6px;
  background: rgb(255 255 255 / 8%);
  color: rgb(232 235 247 / 75%);
  font-size: 12.5px;
  transform: translateX(-24px);
}

.window-bar .url svg {
  width: 12px;
  height: 12px;
}

.window-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 272px;
}

.window-body .compare {
  aspect-ratio: 4 / 3;
  border-radius: 0;
}

/* Hero image is sized by layout (not scaled), so the SVG re-renders crisply
   at every zoom while the bitmap shows its real softness. */
.compare.zoomable .layer img {
  left: 50%;
  top: 50%;
  width: calc(var(--zoom) * 100%);
  height: auto;
  aspect-ratio: 1;
  transform: translate(calc(var(--fx) * -100%), calc(var(--fy) * -100%));
  transition: none;
}

.mini-panel {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border);
  font-size: 13px;
}

.mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  margin: 0;
  padding: 16px;
  border-bottom: 1px solid var(--border);
}

.mini-stats dt {
  color: var(--muted);
  font-size: 12px;
}

.mini-stats dd {
  margin: 2px 0 0;
  font-size: 17px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.mini-stats div:first-child dd {
  color: #067647;
}

.mini-tabs {
  display: flex;
  gap: 18px;
  padding: 0 16px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

.mini-tabs span {
  padding: 10px 0 8px;
  border-bottom: 2px solid transparent;
}

.mini-tabs .on {
  color: var(--accent);
  border-bottom-color: var(--accent);
  font-weight: 600;
}

.mini-block {
  padding: 14px 16px;
}

.mini-label {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.mini-block .seg {
  display: flex;
  margin-bottom: 16px;
}

.mini-block .seg button {
  flex: 1;
}

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

.mini-chips span {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 12.5px;
}

.mini-chips .on {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.mini-download {
  margin-top: auto;
  padding: 14px 16px 16px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 8px;
}

.mini-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.mini-btn {
  display: grid;
  place-items: center;
  height: 32px;
  border-radius: 6px;
  border: 1px solid var(--input);
  font-size: 12.5px;
  font-weight: 500;
}

.mini-btn.primary {
  height: 36px;
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-size: 13.5px;
}

.stage-caption {
  margin-top: 14px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.compare {
  --pos: 50%;
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: ew-resize;
}

.compare .layer {
  position: absolute;
  inset: 0;
}

.compare .layer img {
  position: absolute;
  max-width: none;
  width: calc(var(--zoom, 1) * 100%);
  height: calc(var(--zoom, 1) * 100%);
  left: calc((0.5 - var(--fx, 0.5) * var(--zoom, 1)) * 100%);
  top: calc((0.5 - var(--fy, 0.5) * var(--zoom, 1)) * 100%);
  object-fit: contain;
  transition: width 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), height 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), left 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), top 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.compare .after {
  clip-path: inset(0 0 0 var(--pos));
}

.compare .handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: #fff;
  box-shadow: 0 0 0 1px rgb(0 0 0 / 12%);
  pointer-events: none;
}

.compare .handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center/20px no-repeat;
  box-shadow: 0 0 0 3px #fff, 0 6px 16px rgb(0 0 0 / 25%);
}

.compare input[type='range'] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.tag {
  position: absolute;
  top: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: rgb(20 20 28 / 72%);
  color: #fff;
  pointer-events: none;
  backdrop-filter: blur(6px);
}

.tag.left {
  left: 12px;
}

.tag.right {
  right: 12px;
  background: var(--accent);
}

.seg {
  display: inline-flex;
  padding: 3px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.seg button {
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.seg button[aria-pressed='true'] {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.float-stat {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgb(8 14 48 / 25%);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.3;
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}

.float-stat strong {
  display: block;
  color: var(--text);
  font-size: 14.5px;
  font-weight: 600;
}

.float-stat .ic {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
}

.float-stat .ic svg {
  width: 18px;
  height: 18px;
}

.float-stat .chips {
  display: flex;
  gap: 5px;
  margin-top: 6px;
}

.float-stat .chips b {
  font: 600 11.5px/1 ui-monospace, 'SF Mono', Menlo, monospace;
  padding: 5px 7px;
  border-radius: 5px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
}

.float-stat.a {
  left: -44px;
  top: 92px;
}

.float-stat.b {
  right: 28px;
  top: -26px;
  animation-delay: -2s;
}

.float-stat.c {
  left: -32px;
  bottom: 88px;
  animation-delay: -4s;
}

@keyframes float {
  50% {
    transform: translateY(-8px);
  }
}

/* ---------- logos / formats strip ---------- */
.formats {
  padding: 22px 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.formats .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: var(--muted);
  font-size: 14px;
}

.fmt {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-weight: 700;
  font-size: 13px;
  padding: 5px 11px;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
}

.arrow {
  opacity: 0.6;
}

/* ---------- sections ---------- */
section.block {
  padding: 96px 0;
}

[id] {
  scroll-margin-top: 72px;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

.kicker {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-head h2 {
  margin-top: 10px;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.section-head p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 16.5px;
}

/* screenshot */
.shot {
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 20px 50px rgb(16 24 40 / 10%);
  overflow: hidden;
}

.shot .chrome {
  display: flex;
  gap: 7px;
  align-items: center;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.shot .chrome i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--border);
}

.shot .chrome .url {
  margin: 0 auto;
  font-size: 12.5px;
  color: var(--muted);
  padding: 3px 14px;
  border-radius: 7px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.shot picture,
.shot img {
  width: 100%;
  height: auto;
}

/* features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.card .ic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 16px;
}

.card:nth-child(4n + 1) .ic {
  color: #4636e6;
  background: #ecebff;
}

.card:nth-child(4n + 2) .ic {
  color: #b54708;
  background: #fef0c7;
}

.card:nth-child(4n + 3) .ic {
  color: #067647;
  background: #dcfae6;
}

.card:nth-child(4n + 4) .ic {
  color: #c01048;
  background: #ffe4e8;
}

.card .ic svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.card p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14.5px;
}

/* gallery */
/* Before/after carousel: one row of large cards, arrows step through. */
.carousel {
  position: relative;
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(280px, 36%, 420px);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 2px 8px;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-track > * {
  scroll-snap-align: start;
}

.car-btn {
  position: absolute;
  top: calc(50% - 40px);
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 8px 24px rgb(16 24 40 / 14%);
  cursor: pointer;
  transition: opacity 0.2s, background 0.15s;
}

.car-btn:hover {
  background: var(--surface-2);
}

.car-btn:disabled {
  opacity: 0;
  pointer-events: none;
}

.car-btn svg {
  width: 22px;
  height: 22px;
}

.car-btn.prev {
  left: -22px;
}

.car-btn.next {
  right: -22px;
}

.carousel-progress {
  height: 4px;
  max-width: 240px;
  margin: 22px auto 0;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
}

.carousel-progress span {
  display: block;
  height: 100%;
  width: 30%;
  border-radius: inherit;
  background: var(--accent);
  transition: margin-left 0.2s, width 0.2s;
}

.sample {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.sample {
  margin: 0;
}

.sample .compare {
  aspect-ratio: 1;
  border-radius: 0;
}

.try-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  border-style: dashed;
  border-color: var(--input);
  background: var(--accent-soft);
}

.try-card:hover {
  border-color: var(--accent);
}

.try-card .try-ic {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--accent);
  margin-bottom: 4px;
}

.try-card .try-ic svg {
  width: 22px;
  height: 22px;
}

.try-card strong {
  font-size: 16px;
  font-weight: 600;
}

.try-card > span:not(.try-ic):not(.btn) {
  font-size: 13.5px;
  color: var(--muted);
}

.try-card .btn {
  margin-top: 8px;
}

.sample .compare.light {
  background: #fff;
}

.sample-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
}

.sample-meta strong {
  font-size: 15px;
}

.sample-meta span {
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.gallery-note {
  text-align: center;
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
}

/* steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps > li {
  position: relative;
  padding: 28px 26px 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

.steps > li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 600;
  margin-bottom: 16px;
}

.steps h3 {
  font-size: 16.5px;
  font-weight: 600;
}

.steps p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14.5px;
}

/* use cases */
.uses {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
}

.uses span {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 13.5px;
  color: var(--text);
}

/* privacy band */
.band {
  border-radius: 12px;
  padding: 56px;
  background:
    radial-gradient(520px 280px at 95% 0%, rgb(217 98 58 / 22%), transparent 70%),
    var(--navy);
  color: #fff;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.band h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.band p {
  margin-top: 14px;
  font-size: 16.5px;
  color: rgb(232 235 247 / 80%);
}

.band-kicker {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--peach);
}

.band .band-proof {
  margin-top: 18px;
  padding-left: 12px;
  border-left: 2px solid var(--accent);
  font-size: 14.5px;
  color: rgb(232 235 247 / 70%);
}

.band li strong {
  display: block;
  font-weight: 600;
  color: #fff;
}

.band li span {
  color: rgb(232 235 247 / 75%);
}

.band ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.band li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--navy-deep);
  border: 1px solid var(--navy-line);
  font-size: 14.5px;
}

.band li svg {
  color: #4ade80;
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 2px;
}

/* download */
.downloads {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.dl {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.dl.recommended {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.dl .os {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dl .os svg {
  width: 32px;
  height: 32px;
}

.dl h3 {
  font-size: 17px;
  font-weight: 600;
}

.dl .meta {
  font-size: 13.5px;
  color: var(--muted);
}

.dl .badge {
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  visibility: hidden;
}

.dl.recommended .badge {
  visibility: visible;
}

.dl .btn {
  margin-top: auto;
  width: 100%;
}

.buy {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.buy-info,
.buy-card {
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.buy-info h3 {
  font-size: 18px;
  font-weight: 600;
}

.buy-list,
.buy-trust {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.buy-list li,
.buy-trust li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
}

.buy-list svg,
.buy-trust svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
  color: #067647;
}

.buy-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.buy-os {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.buy-os span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
}

.buy-os svg {
  width: 15px;
  height: 15px;
}

.buy-price {
  margin-top: 20px;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.buy-btn {
  margin-top: 20px;
  width: 100%;
}

.buy-trust {
  gap: 8px;
}

.buy-trust li {
  font-size: 13.5px;
  color: var(--muted);
}

.web-alt {
  margin-top: 22px;
  padding: 22px 26px;
  border-radius: var(--radius);
  border: 1px dashed var(--input);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.web-alt p {
  color: var(--muted);
}

.web-alt strong {
  color: var(--text);
}

details.install {
  margin-top: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 4px 22px;
}

details.install summary {
  cursor: pointer;
  font-weight: 600;
  padding: 14px 0;
}

details.install div {
  padding: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  display: grid;
  gap: 10px;
}

/* FAQ */
.faq {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.faq details {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0 22px;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-weight: 500;
  font-size: 15.5px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

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

.faq summary::after {
  content: '+';
  font-size: 22px;
  line-height: 1;
  color: var(--muted);
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  padding: 0 0 20px;
  color: var(--muted);
}

/* final CTA */
.final {
  text-align: center;
  padding: 100px 0 110px;
}

.final h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.final p {
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 18px;
  max-width: 32em;
}

.final .cta-row {
  justify-content: center;
}

/* footer */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 40px 0 48px;
  font-size: 14px;
  color: var(--muted);
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  align-items: center;
  justify-content: space-between;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

footer a {
  color: var(--muted);
  text-decoration: none;
}

footer a:hover {
  color: var(--text);
}

/* legal pages */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.legal h1 {
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.legal .updated {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
}

.legal .summary {
  margin-top: 28px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  border: 1px solid #f6d3c5;
}

.legal h2 {
  margin-top: 40px;
  font-size: 19px;
  font-weight: 600;
}

.legal p,
.legal li {
  color: color-mix(in srgb, var(--text) 82%, var(--muted));
  font-size: 15.5px;
}

.legal p {
  margin-top: 12px;
}

.legal ul {
  margin: 12px 0 0;
  padding-left: 22px;
  display: grid;
  gap: 8px;
}

.legal .summary p:first-child {
  margin-top: 0;
}

.notfound {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 24px;
}

.notfound h1 {
  font-size: 40px;
  font-weight: 500;
}

.notfound p {
  margin: 12px 0 26px;
  color: var(--muted);
}

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .compare .layer img {
    transition: none;
  }

  .float-stat {
    animation: none;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .float-stat.a,
  .float-stat.c {
    display: none;
  }
}

@media (max-width: 980px) {
  .hero {
    padding-top: 56px;
    --stage-overlap: 160px;
  }

  .window-body {
    grid-template-columns: 1fr;
  }

  .mini-panel {
    border-left: 0;
    border-top: 1px solid var(--border);
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .mini-stats {
    border-bottom: 0;
    border-right: 1px solid var(--border);
  }

  .mini-tabs,
  .mini-download {
    display: none;
  }

  .float-stat.a,
  .float-stat.c {
    display: none;
  }

  .float-stat.b {
    right: 40px;
    top: -26px;
  }

  .features,
  .downloads {
    grid-template-columns: 1fr 1fr;
  }

  .carousel-track {
    grid-auto-columns: clamp(260px, 44%, 400px);
  }

  .car-btn.prev {
    left: -8px;
  }

  .car-btn.next {
    right: -8px;
  }

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

  .band {
    grid-template-columns: 1fr;
    padding: 40px 32px;
  }
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
  }

  .nav-cta .btn.ghost-hide {
    display: none;
  }

  section.block {
    padding: 68px 0;
  }

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

  .carousel-track {
    grid-auto-columns: 78%;
    gap: 12px;
  }

  .car-btn {
    width: 40px;
    height: 40px;
  }

  .sample-meta {
    padding: 10px 12px;
  }

  .buy-info,
  .buy-card {
    padding: 24px 20px;
  }

  .float-stat {
    display: none;
  }
}

@media (max-width: 520px) {
  .wrap {
    padding: 0 16px;
  }

  .nav .wrap {
    gap: 12px;
  }

  .nav-cta .btn {
    padding: 0 14px;
    min-height: 40px;
    font-size: 14px;
  }

  .cta-row .btn {
    width: 100%;
  }

  .band {
    padding: 32px 22px;
    border-radius: 18px;
  }

  .hero {
    padding-top: 40px;
    --stage-overlap: 120px;
  }

  .hero-stage {
    margin-top: 44px;
  }

  .window {
    border-radius: 10px;
  }

  .window-bar .url {
    transform: none;
  }

  .mini-panel {
    grid-template-columns: 1fr;
  }

  .mini-stats {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 12px 14px;
  }

  .mini-stats dd {
    font-size: 15px;
  }

  .mini-block {
    padding: 12px 14px 14px;
  }

  .mini-block .seg {
    margin-bottom: 0;
  }

  .mini-block .mini-label[aria-hidden],
  .mini-chips {
    display: none;
  }

  .shot .chrome .url {
    display: none;
  }

  .legal {
    padding: 44px 16px 72px;
  }
}

/* Cut out / engrave / personalize */
.ways {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.way {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.way-img {
  aspect-ratio: 4 / 3;
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px;
  overflow: hidden;
}

.way-img img {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.way figcaption {
  padding: 20px 22px 24px;
}

.way h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.way p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14.5px;
}

.way .red {
  color: #e00000;
  font-weight: 600;
}

.way .green {
  color: #008a00;
  font-weight: 600;
}

.mini-stats dd.ok {
  color: #067647;
}

@media (max-width: 980px) {
  .ways {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
}

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-sm);
}

.price-flag {
  position: absolute;
  top: -12px;
  left: 22px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.price-card h3 {
  font-size: 17px;
  font-weight: 600;
}

.price-card .price {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.price-card .price span {
  margin-left: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.price-card ul {
  display: grid;
  gap: 8px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
  font-size: 14.5px;
  color: var(--muted);
}

.price-card li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.price-card li svg {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: #067647;
}

.price-card .btn {
  margin-top: auto;
  justify-content: center;
}

@media (max-width: 1100px) {
  .pricing {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .pricing {
    grid-template-columns: 1fr;
  }
}

/* How to use */
.steps .step-list {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
  font-size: 14px;
  color: var(--muted);
}

.steps .step-list li {
  position: relative;
  padding-left: 22px;
}

.steps .step-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 12px;
  height: 7px;
  border-left: 2px solid #12b76a;
  border-bottom: 2px solid #12b76a;
  transform: rotate(-45deg);
}

.steps p strong,
.steps .step-list strong {
  color: var(--text);
  font-weight: 600;
}

.uses-groups {
  display: grid;
  gap: 18px;
  margin-top: 40px;
}

.uses-group {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.uses-group .uses {
  margin-top: 0;
}

.uses-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.how-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
  margin-top: 36px;
  color: var(--muted);
  font-size: 14px;
}

/* Buy dialog: sign-in (emailed code) and Whop's checkout ------------------ */
.modal {
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-lg);
  overflow: auto;
}
.modal::backdrop {
  background: rgb(13 20 52 / 55%);
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 0;
}
.modal-head h2 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.modal-close {
  width: 36px;
  height: 36px;
  flex: none;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.modal-close:hover {
  background: var(--surface-2);
  color: var(--text);
}
.modal-step {
  display: grid;
  gap: 12px;
  padding: 12px 20px 20px;
}
.modal-step[hidden] {
  display: none;
}
.modal-lede {
  margin: 0;
  color: var(--muted);
}
.modal-big {
  margin: 4px 0 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
}
.modal-field {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}
.modal-field[hidden] {
  display: none;
}
.modal-field input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--input);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 16px;
}
.modal-field input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.modal-field input.code {
  font-size: 22px;
  letter-spacing: 6px;
  font-variant-numeric: tabular-nums;
}
.modal-error {
  margin: 0;
  min-height: 1em;
  color: #b42318;
  font-size: 13px;
}
.modal-link {
  justify-self: start;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent-strong);
  font: inherit;
  font-size: 14px;
  text-decoration: underline;
  cursor: pointer;
}
.modal .btn {
  justify-content: center;
}
.whop-checkout {
  min-height: 120px;
}
.modal-secure {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.modal-secure svg {
  width: 16px;
  height: 16px;
  flex: none;
}

/* Design-service pop-up --------------------------------------------------- */
.promo {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: min(360px, calc(100vw - 32px));
  padding: 20px 20px 18px;
  border: 1px solid var(--navy-line);
  border-radius: 14px;
  background: var(--navy);
  color: var(--on-navy);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.promo.in {
  opacity: 1;
  transform: none;
}
.promo .modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  color: var(--on-navy);
}
.promo .modal-close:hover {
  background: var(--navy-line);
  color: #fff;
}
.promo-kicker {
  margin: 0 0 6px;
  color: var(--peach);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.promo h2 {
  margin: 0 28px 8px 0;
  color: #fff;
  font-size: 19px;
  line-height: 1.3;
}
.promo p {
  margin: 0 0 14px;
}
@media (max-width: 520px) {
  .promo {
    right: 16px;
    bottom: 16px;
    left: 16px;
    width: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .promo {
    transition: none;
  }
}

/* Brand landing and service sites --------------------------------------- */
/* A hero without the product screenshot under it. */
.hero.hero-plain {
  --stage-overlap: 0px;
  padding-bottom: 96px;
  background: var(--navy);
}
.card-link {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}
.card-link:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.card-more {
  margin-top: auto;
  padding-top: 14px;
  color: var(--accent-strong);
  font-weight: 600;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.work-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  aspect-ratio: 4 / 3;
}
.work-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}
.price-card .turnaround {
  margin: -6px 0 10px;
  color: var(--muted);
  font-size: 14px;
}
.packages-empty {
  max-width: 640px;
  margin: 0 auto;
  padding: 28px;
  border: 1px dashed var(--input);
  border-radius: 14px;
  background: var(--surface);
  text-align: center;
}
.packages-empty[hidden] {
  display: none;
}
.order-form textarea,
.order-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--input);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 16px;
}
.order-form textarea {
  min-height: 110px;
  resize: vertical;
}
.order-files {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}
.order-files li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--surface-2);
}
.order-files .bad {
  color: #b42318;
}
.orders-list {
  display: grid;
  gap: 14px;
}
.order-card {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}
.order-card header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.order-card h3 {
  margin: 0;
  font-size: 17px;
}
.status-pill {
  padding: 2px 10px;
  border-radius: 99px;
  background: var(--surface-2);
  font-size: 13px;
  font-weight: 600;
}
.status-pill.paid,
.status-pill.in_progress {
  background: #e8ebf7;
  color: var(--navy);
}
.status-pill.delivered {
  background: #dcfae6;
  color: #067647;
}
.status-pill.refunded,
.status-pill.disputed,
.status-pill.cancelled {
  background: #fee4e2;
  color: #b42318;
}
.order-card .brief {
  margin: 0 0 10px;
  color: var(--muted);
  white-space: pre-wrap;
}
.orders-page {
  min-height: 60vh;
  padding: 48px 0 72px;
}
@media (max-width: 980px) {
  .features.three {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* Service packages: however many there are, centred. */
#packages.pricing {
  grid-template-columns: repeat(auto-fit, minmax(240px, 300px));
  justify-content: center;
}
