/*
 * Shutterflow marketing site. The palette is the product's own (apps/dashboard/src/index.css):
 * the app's sidebar dark is the darkroom, its terracotta primary is the safelight, and its success
 * green is the "fixed" state a booked job ends in. Display type is Schibsted Grotesk; body is Inter,
 * the app's face, so the site and the product read as one system.
 */
:root {
  --darkroom: #1c1917;
  --darkroom-2: #292524;
  --darkroom-3: #44403c;
  --safelight: #c4532a;
  --safelight-deep: #a84420;
  --safelight-soft: #fef3ee;
  --fixer: #4a7c59;
  --fixer-soft: #f0f7f2;
  --paper: #ffffff;
  --stone: #f3f0eb;
  --line: #e4ded6;
  --line-soft: #ede8e3;
  --ink: #2d2a26;
  --ink-2: #6b6560;
  --ink-3: #9c948b;
  --on-dark: #f5f2ee;
  --on-dark-2: #b8b0a6;

  --font-display: 'Schibsted Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Modular scale, ratio 1.25 from 17px body. */
  --step--1: 0.85rem;
  --step-0: 1.0625rem;
  --step-1: 1.33rem;
  --step-2: 1.66rem;
  --step-3: 2.08rem;
  --step-4: clamp(2.3rem, 4.2vw, 3.25rem);
  --step-5: clamp(2.8rem, 6.5vw, 5rem);

  --wrap: 1120px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius-s: 6px;
  --radius-m: 10px;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--safelight);
  outline-offset: 3px;
  border-radius: 3px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

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

.measure {
  max-width: 62ch;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  z-index: 20;
  padding: 0.5rem 0.9rem;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-s);
}
.skip:focus {
  left: 0.5rem;
}

/* ── buttons & links ─────────────────────────────────────────────────────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-s);
  background: var(--safelight);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  line-height: 1.2;
  transition: background-color 150ms ease;
}
.button:hover {
  background: var(--safelight-deep);
}
.button-small {
  padding: 0.55rem 0.95rem;
  font-size: 0.925rem;
}
.button-ghost {
  background: transparent;
  color: var(--on-dark);
  box-shadow: inset 0 0 0 1.5px var(--darkroom-3);
}
.button-ghost:hover {
  background: var(--darkroom-2);
}
.button-outline {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.button-outline:hover {
  background: var(--stone);
}

.link-quiet {
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}
.link-quiet:hover {
  color: var(--ink);
}

.text-link {
  color: var(--safelight-deep);
  font-weight: 600;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

/* ── header ──────────────────────────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.header-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  /* The wordmark is set the way the app sets it: Inter semibold beside the aperture tile. */
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.015em;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  width: 28px;
  height: 28px;
}
.site-nav {
  display: flex;
  gap: 1.6rem;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink-2);
  font-weight: 500;
  font-size: 0.95rem;
}
.site-nav a:hover,
.site-nav a[aria-current='page'] {
  color: var(--ink);
}
.site-nav a[aria-current='page'] {
  text-decoration: underline;
  text-decoration-color: var(--safelight);
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

@media (max-width: 760px) {
  .header-row {
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
    padding-block: 0.6rem;
  }
  .site-nav {
    order: 3;
    width: 100%;
    gap: 1.2rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }
}

/* ── hero: the darkroom ──────────────────────────────────────────────────────────────────────── */
.darkroom {
  background: var(--darkroom);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
/* The safelight: one warm glow from the top right of the hero, the only decoration on the site. */
.darkroom:has(> .hero)::before {
  content: '';
  position: absolute;
  inset: -40% -20% auto auto;
  width: 70vmax;
  height: 70vmax;
  background: radial-gradient(closest-side, rgba(196, 83, 42, 0.22), transparent 70%);
  pointer-events: none;
}
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 9vw, 6.5rem) clamp(3rem, 7vw, 5rem);
}
.hero h1 {
  font-size: var(--step-5);
  max-width: 13ch;
  letter-spacing: -0.035em;
}
.hero-lede {
  margin-top: 1.4rem;
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--on-dark-2);
  max-width: 38ch;
}
.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.2rem;
}
.hero-fineprint {
  font-size: var(--step--1);
  color: var(--on-dark-2);
}

/* ── the film strip ──────────────────────────────────────────────────────────────────────────── */
.strip-wrap {
  position: relative;
  margin-top: clamp(3rem, 7vw, 4.5rem);
}
.strip {
  --sprocket: radial-gradient(circle at 50% 50%, var(--darkroom) 0 3.2px, transparent 3.6px);
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 10px;
  padding: 26px 10px;
  background:
    var(--sprocket) 0 7px / 18px 12px repeat-x,
    var(--sprocket) 0 calc(100% - 7px) / 18px 12px repeat-x,
    #0f0d0c;
  border-radius: 4px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.frame {
  position: relative;
  background: var(--darkroom-2);
  border-radius: 3px;
  padding: 1.1rem 1.1rem 1.25rem;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  opacity: 0.45;
  animation: expose 700ms ease forwards;
}
.frame:nth-child(1) {
  animation-delay: 400ms;
}
.frame:nth-child(2) {
  animation-delay: 1100ms;
}
.frame:nth-child(3) {
  animation-delay: 1800ms;
}
.frame:nth-child(4) {
  animation-delay: 2500ms;
}
@keyframes expose {
  to {
    opacity: 1;
    background: var(--paper);
    color: var(--ink);
  }
}
.frame-number {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--safelight);
  font-variant-numeric: tabular-nums;
}
.frame-title {
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}
.frame-body {
  margin-top: 0.9rem;
  font-size: 0.86rem;
  line-height: 1.45;
  display: grid;
  gap: 0.45rem;
  flex: 1;
}
.mock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.6rem;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
}
.frame .mock-row {
  animation: row 700ms ease forwards;
  animation-delay: inherit;
}
@keyframes row {
  to {
    background: var(--stone);
  }
}
.mock-row.chosen {
  box-shadow: inset 0 0 0 1.5px var(--safelight);
}
.mock-line {
  height: 7px;
  border-radius: 4px;
  background: currentColor;
  opacity: 0.18;
}
.mock-line.short {
  width: 62%;
}
.mock-sign {
  margin-top: auto;
  padding-top: 0.6rem;
  border-top: 1.5px solid currentColor;
  font-family: 'Brush Script MT', 'Segoe Script', cursive;
  font-size: 1.35rem;
  line-height: 1;
  opacity: 0.85;
}
.mock-amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
}
.frame-done {
  margin-top: auto;
  padding-top: 0.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fixer);
  opacity: 0;
  animation: appear 400ms ease forwards;
}
.frame:nth-child(1) .frame-done {
  animation-delay: 1000ms;
}
.frame:nth-child(2) .frame-done {
  animation-delay: 1700ms;
}
.frame:nth-child(3) .frame-done {
  animation-delay: 2400ms;
}
.frame:nth-child(4) .frame-done {
  animation-delay: 3100ms;
}
@keyframes appear {
  to {
    opacity: 1;
  }
}
.strip-caption {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  color: var(--on-dark-2);
  font-size: 0.95rem;
}
.job-name {
  color: var(--on-dark);
  font-weight: 600;
}
/* The job's status flips from Inquiry to Booked when the last frame is exposed. */
.status {
  display: inline-grid;
  font-size: 0.8rem;
  font-weight: 600;
}
.status > span {
  grid-area: 1 / 1;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}
.status-before {
  background: var(--darkroom-3);
  color: var(--on-dark);
  animation: vanish 300ms ease 3300ms forwards;
}
.status-after {
  background: var(--fixer);
  color: #fff;
  opacity: 0;
  animation: appear 300ms ease 3300ms forwards;
}
@keyframes vanish {
  to {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .frame,
  .frame .mock-row,
  .frame-done,
  .status-before,
  .status-after {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
  }
}

/* ── sections ────────────────────────────────────────────────────────────────────────────────── */
.section {
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
.section-stone {
  background: var(--stone);
}
.section-head {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
}
.section-head h2 {
  font-size: var(--step-4);
  max-width: 18ch;
}
.section-head p {
  color: var(--ink-2);
  font-size: var(--step-1);
  line-height: 1.5;
  max-width: 48ch;
}

/* The client's walk: a real sequence, so it is numbered. */
.walk {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--ink);
}
.walk li {
  padding: 1.4rem 1.4rem 0 0;
}
.walk li + li {
  padding-left: 1.4rem;
  border-left: 1px solid var(--line);
}
.walk .walk-step {
  margin-top: 0;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--safelight);
  font-size: var(--step-2);
  line-height: 1;
}
.walk h3 {
  margin-top: 0.8rem;
  font-size: var(--step-1);
}
.walk p {
  margin-top: 0.5rem;
  color: var(--ink-2);
  font-size: 0.97rem;
}
.walk-note {
  margin-top: 2.25rem;
  padding: 1.1rem 1.3rem;
  border-left: 3px solid var(--safelight);
  background: var(--safelight-soft);
  color: var(--ink);
  max-width: 70ch;
}
@media (max-width: 860px) {
  .walk {
    grid-template-columns: 1fr 1fr;
  }
  .walk li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .walk li {
    padding-bottom: 1.4rem;
  }
}
@media (max-width: 520px) {
  .walk {
    grid-template-columns: 1fr;
  }
  .walk li + li {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

/* Ruled two-column list of product areas: rows, not cards. */
.ledger {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: clamp(2rem, 5vw, 4.5rem);
}
.ledger-item {
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
}
.ledger-item h3 {
  font-size: var(--step-1);
}
.ledger-item p {
  margin-top: 0.45rem;
  color: var(--ink-2);
}
@media (max-width: 760px) {
  .ledger {
    grid-template-columns: 1fr;
  }
}

/* A statement band on the darkroom. */
.band {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.band h2 {
  font-size: var(--step-4);
}
.band-facts {
  display: grid;
  gap: 1.4rem;
}
.band-facts div {
  padding-top: 1rem;
  border-top: 1px solid var(--darkroom-3);
}
.band-facts dt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-1);
  color: var(--on-dark);
}
.band-facts dd {
  margin: 0.35rem 0 0;
  color: var(--on-dark-2);
}
@media (max-width: 760px) {
  .band {
    grid-template-columns: 1fr;
  }
}

/* ── pricing ─────────────────────────────────────────────────────────────────────────────────── */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--paper);
}
.plan {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
}
.plan + .plan {
  border-left: 1px solid var(--line);
}
.plan-featured {
  background: var(--darkroom);
  color: var(--on-dark);
}
.plan h3 {
  font-size: var(--step-2);
}
.plan-for {
  margin-top: 0.4rem;
  color: var(--ink-2);
  font-size: 0.95rem;
}
.plan-featured .plan-for {
  color: var(--on-dark-2);
}
.price {
  margin-top: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}
.price-amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-4);
  letter-spacing: -0.03em;
  line-height: 1;
}
.price-unit {
  color: var(--ink-2);
  font-size: 0.95rem;
}
.plan-featured .price-unit {
  color: var(--on-dark-2);
}
.plan ul {
  list-style: none;
  margin: 1.6rem 0 1.8rem;
  padding: 0;
  display: grid;
  gap: 0.6rem;
  font-size: 0.97rem;
}
.plan li {
  padding-left: 1.4rem;
  position: relative;
}
.plan li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--safelight);
}
.plan .soon {
  color: var(--ink-3);
}
.plan-featured .soon {
  color: var(--on-dark-2);
}
.plan .soon::before {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px currentColor;
}
.plan .button {
  margin-top: auto;
}
@media (max-width: 900px) {
  .plans {
    grid-template-columns: 1fr;
  }
  .plan + .plan {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

.plans-compact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--ink);
}
.plans-compact > div {
  padding: 1.25rem 1.25rem 0 0;
}
.plans-compact > div + div {
  padding-left: 1.25rem;
  border-left: 1px solid var(--line);
}
.plans-compact h3 {
  font-size: var(--step-1);
}
.plans-compact .price-amount {
  font-size: var(--step-3);
}
.plans-compact p {
  margin-top: 0.5rem;
  color: var(--ink-2);
  font-size: 0.95rem;
}
@media (max-width: 700px) {
  .plans-compact {
    grid-template-columns: 1fr;
  }
  .plans-compact > div + div {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .plans-compact > div {
    padding-bottom: 1.25rem;
  }
}

/* ── questions ───────────────────────────────────────────────────────────────────────────────── */
.faq {
  border-top: 1px solid var(--line);
  max-width: 820px;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.2rem 2rem 1.2rem 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-1);
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  position: absolute;
  right: 0.2rem;
  top: 1.1rem;
  color: var(--safelight);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 180ms ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details > div {
  padding-bottom: 1.3rem;
  color: var(--ink-2);
  max-width: 68ch;
}
.faq details > div p + p {
  margin-top: 0.8rem;
}

/* ── inner pages ─────────────────────────────────────────────────────────────────────────────── */
.page-head {
  padding-block: clamp(3rem, 8vw, 5rem) clamp(2rem, 5vw, 3rem);
  border-bottom: 1px solid var(--line-soft);
}
.page-head h1 {
  font-size: var(--step-5);
  max-width: 16ch;
  letter-spacing: -0.035em;
}
.page-head p {
  margin-top: 1.2rem;
  color: var(--ink-2);
  font-size: var(--step-1);
  line-height: 1.5;
  max-width: 50ch;
}

.feature-block {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: clamp(1.5rem, 5vw, 4.5rem);
  padding-block: clamp(2.5rem, 6vw, 4rem);
  border-top: 1px solid var(--line);
}
.feature-block:first-child {
  border-top: 0;
}
.feature-block h2 {
  font-size: var(--step-3);
}
.feature-block .intro {
  margin-top: 0.8rem;
  color: var(--ink-2);
}
.detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}
.detail-list li {
  padding-left: 1.2rem;
  border-left: 2px solid var(--line);
}
.detail-list strong {
  display: block;
  font-weight: 600;
  color: var(--ink);
}
.detail-list span {
  color: var(--ink-2);
}
@media (max-width: 800px) {
  .feature-block {
    grid-template-columns: 1fr;
  }
}

.tag-soon {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  vertical-align: 0.2em;
  color: var(--ink-2);
  background: var(--stone);
  letter-spacing: 0;
}

.prose {
  max-width: 68ch;
}
.prose h2 {
  font-size: var(--step-2);
  margin-top: 2.6rem;
}
.prose h3 {
  font-size: var(--step-1);
  margin-top: 1.8rem;
}
.prose p,
.prose ul {
  margin-top: 0.9rem;
}
.prose ul {
  padding-left: 1.2rem;
}
.prose li + li {
  margin-top: 0.4rem;
}
.prose a {
  color: var(--safelight-deep);
  text-underline-offset: 3px;
}
.draft-note {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-s);
  background: #fef9ee;
  border: 1px solid #f1dfb5;
  color: #7a5a14;
  font-size: 0.95rem;
  max-width: 68ch;
}

.cta {
  text-align: left;
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}
.cta h2 {
  font-size: var(--step-4);
  max-width: 16ch;
}
.cta p {
  margin-top: 0.8rem;
  color: var(--on-dark-2);
  max-width: 44ch;
}

.not-found {
  padding-block: clamp(5rem, 14vw, 9rem);
}
.not-found h1 {
  font-size: var(--step-5);
}
.not-found p {
  margin-top: 1rem;
  color: var(--ink-2);
  font-size: var(--step-1);
}
.not-found .hero-actions a:not(.button) {
  color: var(--ink);
}

/* ── footer ──────────────────────────────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--darkroom-3);
  background: var(--darkroom);
  color: var(--on-dark-2);
  padding-top: clamp(3rem, 7vw, 4.5rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem;
}
.footer-grid nav {
  display: grid;
  gap: 0.55rem;
  align-content: start;
}
.footer-grid a {
  color: var(--on-dark-2);
  text-decoration: none;
  font-size: 0.95rem;
}
.footer-grid a:hover {
  color: var(--on-dark);
}
.brand-footer {
  color: var(--on-dark) !important;
}
.footer-heading {
  color: var(--on-dark);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}
.footer-note {
  margin-top: 1rem;
  max-width: 34ch;
  font-size: 0.95rem;
}
.footer-base {
  margin-top: 3rem;
  padding-block: 1.4rem 2rem;
  border-top: 1px solid var(--darkroom-3);
  font-size: 0.875rem;
}
@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > div {
    grid-column: 1 / -1;
  }
}

.more-link {
  margin-top: 2rem;
}
