/* PageTrailer — warm editorial product site. No frameworks, no build step. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2');
}

:root {
  --paper: #f8f4ec;
  --paper-2: #f0ebe1;
  --paper-3: #fbfaf7;
  --ink: #12110d;
  --ink-soft: #2e2a24;
  --muted: #7c7465;
  --muted-2: #a39a87;
  --line: #e2dccf;
  --line-strong: #cfc6b5;
  --accent: #e24b2a;
  --accent-deep: #cf3f1f;
  --accent-soft: #fcebe5;
  --lime: #d7ea79;
  --dark: #12110d;
  --dark-line: #353228;
  --serif: 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, ui-serif, serif;
  --sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --wrap: 1280px;
  --pad: clamp(20px, 4vw, 48px);
  --radius: 18px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

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

body {
  margin: 0;
  background-color: var(--paper);
  background-image: radial-gradient(rgba(29, 27, 22, 0.03) 0.5px, transparent 0.5px);
  background-size: 14px 14px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: #f2b5a2;
  color: #3a120a;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

button,
input {
  font: inherit;
  color: inherit;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  border-radius: 0.5rem;
}

.skip-link:focus {
  top: 16px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 244, 236, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

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

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 32px);
  font-size: 13px;
  font-weight: 500;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 6px 0;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms var(--ease),
    background 160ms var(--ease),
    border-color 160ms var(--ease),
    color 160ms var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
  background: var(--accent-deep);
}

.btn--sm {
  min-height: 38px;
  padding: 0 15px;
  font-size: 12.5px;
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink-soft);
}

.btn--ghost:hover {
  background: #fff;
  border-color: var(--muted-2);
  color: var(--ink);
}

.btn--lime {
  background: var(--lime);
  color: var(--ink);
}

.btn--lime:hover {
  background: #fff;
  color: var(--ink);
}

.btn--block {
  width: 100%;
}

.btn .arrow {
  transition: transform 160ms var(--ease);
}

.btn:hover .arrow {
  transform: translateX(3px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 1px 2px rgba(18, 17, 13, 0.04);
  font-size: 9.5px;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow svg {
  width: 14px;
  height: 14px;
}

.eyebrow--plain {
  display: block;
}

.eyebrow--dark {
  color: rgba(255, 255, 255, 0.4);
}

.lede--faq {
  margin-top: 14px;
}

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

.display {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.94;
  font-size: clamp(48px, 6.6vw, 88px);
}

.display em {
  font-style: normal;
  color: var(--accent);
}

.section-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.section-title em {
  font-style: normal;
  color: var(--accent);
}

.lede {
  max-width: 58ch;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  padding: clamp(48px, 6vw, 84px) 0 clamp(48px, 6vw, 82px);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 8%, rgba(226, 75, 42, 0.1), transparent 32%),
    radial-gradient(circle at 84% 18%, rgba(215, 234, 121, 0.24), transparent 30%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(29, 27, 23, 0.28) 0.6px, transparent 0.6px);
  background-size: 18px 18px;
  opacity: 0.2;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

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

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(34px, 5vw, 70px);
  align-items: center;
}

.hero-copy {
  max-width: 610px;
}

.hero h1 {
  margin-top: 18px;
  max-width: 13ch;
}

.hero-sub {
  max-width: 52ch;
  margin: 20px 0 0;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.65;
  color: var(--muted);
}

.url-form {
  display: flex;
  align-items: stretch;
  gap: 7px;
  margin-top: 26px;
  padding: 6px;
  max-width: 530px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 1px 2px rgba(18, 17, 13, 0.04);
}

.url-form input {
  flex: 1;
  min-width: 0;
  padding: 0 14px;
  border: 0;
  background: transparent;
  font-size: 14px;
}

.url-form input::placeholder {
  color: var(--muted-2);
}

.url-form input:focus {
  outline: none;
}

.url-form:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(226, 75, 42, 0.12);
}

.url-form .btn {
  min-height: 42px;
  padding: 0 17px;
  white-space: nowrap;
}

.form-note {
  margin: 10px 0 0;
  font-size: 11.5px;
  color: var(--muted-2);
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}

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

.checks svg {
  width: 13px;
  height: 13px;
  color: var(--accent);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 20px;
  margin: 24px 0 0;
  padding: 14px 0 0;
  max-width: 540px;
  border-top: 1px solid var(--line-strong);
}

.stats div {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.stats dt {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.stats dd {
  margin: 0;
  font-size: 8.5px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* Hero media */

.hero-media {
  position: relative;
  min-width: 0;
}

.media-stack {
  position: relative;
  padding: 14px 14px 22px 0;
}

.media-back {
  position: absolute;
  right: -10px;
  top: 0;
  width: 88%;
  height: 86%;
  border-radius: 22px;
  background: var(--ink);
  transform: rotate(2.4deg);
  box-shadow: 0 30px 70px -40px rgba(18, 17, 13, 0.7);
}

.browser-frame {
  position: relative;
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 24px 60px -34px rgba(18, 17, 13, 0.55);
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 11px;
  border-bottom: 1px solid #e8e2d6;
  background: #fbf8f2;
}

.browser-chrome .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d6cfbf;
}

.browser-chrome .dot:first-child {
  background: var(--accent);
}

.browser-chrome .address {
  flex: 1;
  margin-left: 7px;
  padding: 3px 9px;
  border: 1px solid #e4ddcf;
  border-radius: 4px;
  background: #fff;
  font-size: 9.5px;
  color: var(--muted-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser-frame video,
.browser-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #0e0d0a;
}

.media-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 12px 30px -18px rgba(18, 17, 13, 0.5);
}

.media-chip--lime {
  left: -8px;
  bottom: 10px;
  background: var(--lime);
  color: var(--ink);
  transform: rotate(-2deg);
}

.media-chip--paper {
  right: 0;
  top: 2px;
  background: var(--paper-3);
  border: 1px solid var(--line-strong);
  color: var(--muted);
  transform: rotate(1.5deg);
}

.media-caption {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 4px 0 0;
  font-size: 10.5px;
  color: var(--muted-2);
}

.media-caption .accent {
  color: var(--accent);
  font-weight: 650;
}

/* Dark marquee */

.marquee {
  overflow: hidden;
  border-bottom: 1px solid #232119;
  background: var(--dark);
  color: rgba(255, 255, 255, 0.5);
}

.marquee .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 22px;
  min-height: 42px;
  padding-top: 9px;
  padding-bottom: 9px;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
}

.marquee .lime {
  color: var(--lime);
}

.marquee .sep {
  color: rgba(255, 255, 255, 0.2);
}

/* Sections */

.section {
  border-bottom: 1px solid var(--line);
  padding: clamp(64px, 8vw, 110px) 0;
}

.section--tight {
  padding-top: clamp(48px, 6vw, 76px);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(30px, 4vw, 48px);
}

.section-head > div {
  max-width: 760px;
}

.section-head p {
  max-width: 34ch;
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.statement-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: start;
}

.pull {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.pull em {
  font-style: normal;
  color: var(--accent);
}

.statement-copy p {
  max-width: 54ch;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.note-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
}

.note-card .icon-box {
  flex: 0 0 auto;
  background: var(--lime);
  color: var(--ink);
}

.note-card p {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--muted);
}

.note-card strong {
  color: var(--ink);
}

/* Icon boxes */

.icon-box {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  color: var(--accent);
  box-shadow: 0 1px 2px rgba(18, 17, 13, 0.04);
}

.icon-box svg {
  width: 17px;
  height: 17px;
}

/* Steps */

.steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  transition:
    border-color 180ms var(--ease),
    background 180ms var(--ease);
}

.step-card:hover {
  border-color: var(--line-strong);
  background: #fff;
}

.step-card .left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-num {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--line-strong);
  transition: color 180ms var(--ease);
}

.step-card:hover .step-num {
  color: var(--accent);
}

.step-card h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 620;
  letter-spacing: -0.015em;
}

.step-card p {
  max-width: 62ch;
  margin: 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
}

.step-meta {
  margin-top: 10px !important;
  font-size: 9px !important;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2) !important;
}

/* Examples */

.examples-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 18px;
  align-items: start;
}

.example-card {
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.example-media {
  overflow: hidden;
  border-radius: 12px;
  background: var(--dark);
}

.example-media video {
  width: 100%;
  height: auto;
}

.example-card--portrait .example-media video {
  aspect-ratio: 9 / 16;
  object-fit: cover;
  max-height: 560px;
  margin: 0 auto;
}

.example-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 4px 2px;
  font-size: 10.5px;
  color: var(--muted-2);
}

.example-meta strong {
  color: var(--ink-soft);
  font-weight: 600;
}

/* Features */

.feature-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
}

.feature-card {
  padding: 24px;
  background: var(--paper-3);
}

.feature-card h3 {
  margin: 16px 0 5px;
  font-size: 16px;
  font-weight: 620;
  letter-spacing: -0.015em;
}

.feature-card p {
  max-width: 44ch;
  margin: 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
}

/* Formats */

.formats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.format-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
}

.format-card:last-child {
  grid-column: 1 / -1;
}

.format-card strong {
  display: block;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.format-card span {
  display: block;
  font-size: 9.5px;
  color: var(--muted-2);
}

.format-card em {
  font-style: normal;
  font-size: 8.5px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--line-strong);
}

/* Use cases */

.use-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.use-pills li {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  color: var(--ink-soft);
}

/* Pricing */

.pricing-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 18px;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.pricing-note::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

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

.plan {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
}

.plan--featured {
  position: relative;
  overflow: hidden;
  border-color: var(--ink);
  background: var(--dark);
  color: #fff;
}

.plan--featured::before {
  content: '';
  position: absolute;
  right: -55px;
  top: -55px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(226, 75, 42, 0.28);
  filter: blur(40px);
  pointer-events: none;
}

.plan--featured::after {
  content: '';
  position: absolute;
  left: -40px;
  bottom: -60px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(215, 234, 121, 0.12);
  filter: blur(36px);
  pointer-events: none;
}

.plan > * {
  position: relative;
  z-index: 1;
}

.plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 26px;
}

.plan-name {
  margin: 0;
  font-size: 13px;
  font-weight: 650;
}

.plan-tag {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.plan--featured .plan-tag {
  border-color: transparent;
  background: var(--lime);
  color: var(--ink);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 18px 0 4px;
  font-family: var(--serif);
  font-size: 46px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.price .was {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0;
  color: var(--muted-2);
  text-decoration: line-through;
}

.plan--featured .price .was {
  color: rgba(255, 255, 255, 0.42);
}

.plan-desc {
  min-height: 38px;
  margin: 0 0 16px;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--muted);
}

.plan--featured .plan-desc {
  color: rgba(255, 255, 255, 0.55);
}

.plan-features {
  flex: 1;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  font-size: 12px;
  line-height: 1.5;
}

.plan-features li {
  position: relative;
  padding: 9px 0 9px 16px;
  border-bottom: 1px solid var(--line);
}

.plan-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.plan--featured .plan-features li {
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.78);
}

.plan--featured .plan-features li::before {
  background: var(--lime);
}

.plan--featured .btn {
  background: var(--lime);
  color: var(--ink);
}

.plan--featured .btn:hover {
  background: #fff;
}

.price-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  font-size: 10.5px;
  color: var(--muted-2);
}

/* FAQ */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
}

.faq-card {
  padding: 6px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
}

.faq-card details {
  border-bottom: 1px solid var(--line);
}

.faq-card details:last-child {
  border-bottom: 0;
}

.faq-card summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  cursor: pointer;
  list-style: none;
  font-size: 13.5px;
  font-weight: 560;
  letter-spacing: -0.01em;
}

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

.faq-card summary::after {
  content: '+';
  font-size: 17px;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}

.faq-card details[open] summary::after {
  content: '−';
}

.faq-card details p {
  max-width: 62ch;
  margin: 0 0 16px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

.faq-card details p a {
  color: var(--ink);
}

/* Closing */

.closing-wrap {
  padding: clamp(56px, 7vw, 90px) 0;
}

.closing-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 5vw, 58px);
  border-radius: 28px;
  background: var(--dark);
  color: #fff;
}

.closing-panel::before {
  content: '';
  position: absolute;
  right: -70px;
  top: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(226, 75, 42, 0.3);
  filter: blur(54px);
}

.closing-panel::after {
  content: '';
  position: absolute;
  left: 30%;
  bottom: -110px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(215, 234, 121, 0.1);
  filter: blur(50px);
}

.closing-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 32px;
  align-items: end;
}

.closing-panel .display {
  max-width: 14ch;
  font-size: clamp(38px, 5.4vw, 70px);
}

.closing-panel .display em {
  color: var(--lime);
}

.closing-panel p {
  max-width: 44ch;
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
}

.closing-form .url-form {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: none;
}

.closing-form .url-form input {
  color: #fff;
}

.closing-form .url-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.closing-form .url-form:focus-within {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(215, 234, 121, 0.16);
}

.closing-form .form-note {
  color: rgba(255, 255, 255, 0.35);
}

.closing-form .btn {
  background: var(--lime);
  color: var(--ink);
}

.closing-form .btn:hover {
  background: #fff;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: clamp(44px, 5vw, 64px) 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.7fr));
  gap: 32px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.footer-brand p {
  max-width: 32ch;
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
}

.footer-col h4 {
  margin: 4px 0 12px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12.5px;
  line-height: 1.9;
}

.footer-col a {
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  font-size: 10.5px;
  color: var(--muted-2);
}

.footer-bottom a {
  color: var(--muted);
}

/* Toast */

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 90;
  width: min(430px, calc(100vw - 32px));
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--paper-3);
  color: var(--ink);
  font-size: 12px;
  line-height: 1.5;
  box-shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.5);
  transform: translate(-50%, 16px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 180ms var(--ease),
    transform 180ms var(--ease);
}

.toast.is-open {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.toast strong {
  display: block;
  margin-bottom: 2px;
}

/* Legal pages */

.legal-header {
  border-bottom: 1px solid var(--line);
}

.legal-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}

.legal-main {
  padding: clamp(44px, 6vw, 84px) 0 clamp(64px, 8vw, 110px);
}

.legal {
  max-width: 780px;
}

.legal .back {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 11.5px;
  color: var(--muted);
  text-decoration: none;
}

.legal .back:hover {
  color: var(--ink);
  text-decoration: underline;
}

.legal h1 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 66px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.legal .updated {
  margin: 0 0 34px;
  font-size: 11.5px;
  color: var(--muted-2);
}

.legal h2 {
  margin: 34px 0 10px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.legal h3 {
  margin: 24px 0 7px;
  font-size: 13px;
  font-weight: 650;
}

.legal p,
.legal li {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.legal p {
  margin: 0 0 13px;
}

.legal ul,
.legal ol {
  margin: 0 0 15px;
  padding-left: 20px;
}

.legal li {
  margin-bottom: 6px;
}

.legal a {
  color: var(--ink);
}

.legal .callout {
  margin: 24px 0;
  padding: 15px 17px;
  border-left: 2px solid var(--accent);
  border-radius: 0 10px 10px 0;
  background: var(--paper-2);
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.legal table {
  width: 100%;
  margin: 16px 0 20px;
  border-collapse: collapse;
  font-size: 12.5px;
}

.legal th,
.legal td {
  padding: 9px 11px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal th {
  background: var(--paper-2);
  font-weight: 650;
}

.legal-footer {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  font-size: 10.5px;
  color: var(--muted-2);
}

.legal-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.legal-footer a {
  color: var(--muted);
}

/* Mobile nav */

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
}

.nav-toggle span::before {
  top: -5px;
}

.nav-toggle span::after {
  top: 5px;
}

/* Responsive */

@media (max-width: 1000px) {
  .hero-grid,
  .statement-grid,
  .examples-grid,
  .faq-grid,
  .closing-inner {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    align-items: start;
  }

  .hero-media {
    max-width: 640px;
  }

  .example-card--portrait {
    max-width: 380px;
  }

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

  .plan-desc {
    min-height: 0;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 64px;
  }

  .nav {
    display: none;
  }

  .nav.is-open {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px var(--pad) 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open a {
    width: 100%;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-actions .btn--ghost {
    display: none;
  }

  .hero {
    padding-top: 40px;
  }

  .hero h1 {
    max-width: none;
  }

  .url-form {
    flex-direction: column;
    padding: 7px;
    gap: 6px;
  }

  .url-form input {
    min-height: 42px;
  }

  .url-form .btn {
    width: 100%;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 12px;
  }

  .step-card {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .step-card .left {
    flex-direction: row;
    align-items: center;
  }

  .formats-grid,
  .feature-cards {
    grid-template-columns: 1fr;
  }

  .format-card:last-child {
    grid-column: auto;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .legal-header .wrap {
    min-height: 64px;
  }
}

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

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

  .media-chip {
    font-size: 8px;
    padding: 6px 9px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* BuildQuietly-specific */

.product-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
}

.product-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.product-media video,
.product-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.product-copy .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-copy h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
}

.product-copy p {
  max-width: 46ch;
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.product-meta li::before {
  content: "·";
  margin-right: 8px;
  color: var(--accent);
}

.product-meta li:first-child::before {
  display: none;
}

.facts {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.facts li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.facts strong {
  font-weight: 600;
  color: #fff;
}

.quote-block {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.quote-block blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.quote-block blockquote em {
  font-style: normal;
  color: var(--accent);
}

.quote-block figcaption {
  margin-top: 18px;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.contact-list {
  margin: 0;
  padding: 0 18px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
}

.contact-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
}

.contact-list li:last-child {
  border-bottom: 0;
}

.contact-list span {
  font-size: 8.5px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.contact-list a {
  color: var(--ink-soft);
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--accent);
}

.studio-panel .closing-inner {
  align-items: start;
}

.studio-panel .facts {
  margin-top: 4px;
}

@media (max-width: 1000px) {
  .product-card,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
}
