/* Page sections. Values come from tokens.css. */

/* ---- Hero -------------------------------------------------------------------*/
.hero {
  position: relative;
  padding-block: clamp(3rem, 8vw, 7rem) clamp(4rem, 9vw, 8rem);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 70vw;
  height: 70vw;
  z-index: -1;
  background:
    radial-gradient(closest-side, rgb(242 160 62 / 0.18), transparent 70%),
    radial-gradient(closest-side at 30% 70%, rgb(98 180 217 / 0.14), transparent 70%);
  filter: blur(20px);
}
.hero-grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}
.hero h1 { margin-block: var(--space-4) var(--space-5); }
/* The headline says what ArtShotPro does, so it runs longer than a slogan:
   a little smaller than --text-hero keeps its longest word inside the column. */
.hero h1.display { font-size: clamp(2.4rem, 4vw + 1rem, 5.2rem); }
.hero h1 .accent { display: block; }
.hero .lede { margin-bottom: var(--space-6); }
.hero .lede-lg { font-size: var(--text-xl); line-height: 1.45; color: var(--text); max-width: 40ch; }
.hero .lede-lg strong { color: var(--accent); font-weight: var(--weight-heading); }

/* ---- "What's a Master?" note: the short definition on inner pages ----------*/
.def {
  max-width: 62ch;
  padding: var(--space-4) var(--space-5);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  background: var(--accent-soft);
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.def strong { color: var(--text); }
.center .def { margin-inline: auto; text-align: left; }

/* ---- Four items: 1, 2 or 4 across, never 3 with one left over ---------------*/
.grid.cols-4,
.trust.cols-4 { grid-template-columns: 1fr; }
@media (min-width: 560px) {
  .grid.cols-4,
  .trust.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .grid.cols-4,
  .trust.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---- Cards that are links ---------------------------------------------------*/
a.card {
  display: block;
  text-decoration: none;
  transition: border-color var(--dur-fast), transform var(--dur-fast) var(--ease-out);
}
a.card:hover { border-color: var(--accent); transform: translateY(-2px); }

.hero-meta {
  margin-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  font-size: var(--text-sm);
  color: var(--text-faint);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--frame-blue); }
.hero-art { position: relative; max-width: 560px; margin-inline: auto; width: 100%; }
.hero-chip {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 2px;
  padding: 12px 16px;
  border-radius: var(--radius-m);
  background: rgb(253 252 249 / 0.94);
  color: #1a2530;
  box-shadow: var(--shadow-m);
  font-size: var(--text-xs);
}
.hero-chip strong { font-family: var(--font-display); font-size: var(--text-base); }
.hero-chip .mark { justify-self: start; margin-top: 4px; }
.hero-chip.one { left: -6%; bottom: 14%; }
.hero-chip.two { right: -5%; top: 12%; }
@media (max-width: 640px) {
  .hero-chip.one { left: 2%; }
  .hero-chip.two { right: 2%; }
}

/* ---- Gallery strip ----------------------------------------------------------------*/
.strip {
  display: flex;
  gap: var(--space-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: var(--space-4) var(--gutter) var(--space-6);
  scrollbar-width: thin;
}
.strip figure {
  flex: 0 0 auto;
  margin: 0;
  scroll-snap-align: center;
}
.strip img {
  height: clamp(220px, 34vw, 380px);
  width: auto;
  border-radius: 3px;
  box-shadow: var(--shadow-art);
}
.strip figcaption { margin-top: var(--space-3); font-size: var(--text-xs); color: var(--text-muted); }

/* ---- Lift-off heading ------------------------------------------------------------------*/
.liftoff-head { display: flex; justify-content: space-between; align-items: end; gap: var(--space-5); flex-wrap: wrap; }

/* ---- Compare section ----------------------------------------------------------------------*/
.compare-copy .stack { --stack: var(--space-5); }
.compare-media { max-width: 540px; width: 100%; margin-inline: auto; }

/* ---- Trust ----------------------------------------------------------------------------------*/
.trust {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.trust > div {
  padding-top: var(--space-5);
  border-top: 2px solid var(--c, var(--accent));
}
.trust h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.trust p { color: var(--text-muted); font-size: var(--text-sm); }

/* ---- What you need (index #kit, master #kit) ---------------------------------------------------------
   Two tiers: the minimum as the one strong card, then a quiet ladder of optional steps.
   Side by side on wide screens, stacked on phones. */
.need { display: grid; gap: var(--space-6); align-items: start; }
@media (min-width: 960px) {
  .need { grid-template-columns: 1.05fr 0.95fr; gap: var(--space-8); }
}

/* Tier 1: the minimum */
.need-min {
  padding: clamp(1.5rem, 3.2vw, 2.6rem);
  border-radius: var(--radius-l);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(120% 90% at 0% 0%, rgb(220 107 44 / 0.16), transparent 60%),
    var(--bg-elev-2);
  box-shadow: var(--shadow-m);
}
.need-title { font-size: var(--text-xl); margin-bottom: var(--space-6); }
.need-items { display: grid; gap: var(--space-5); margin: 0; padding: 0; list-style: none; }
.need-items li { display: grid; grid-template-columns: 52px 1fr; gap: var(--space-4); align-items: start; }
.need-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--accent);
}
.need-icon svg { width: 26px; height: 26px; }
.need-items strong { display: block; margin-bottom: 4px; font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.3; color: var(--text); }
.need-items li div > span { display: block; color: var(--text-muted); font-size: var(--text-sm); line-height: 1.5; }
.need-enough {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: var(--weight-heading);
  font-size: var(--text-lg);
  line-height: 1.3;
  color: var(--text);
}
.need-check {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pass);
  color: #fff;
}
.need-check svg { width: 16px; height: 16px; }
/* The small print under the minimum: paintings behind glass (D97). */
.need-aside { margin: var(--space-4) 0 0; color: var(--text-muted); font-size: var(--text-sm); line-height: 1.5; }
.need-aside strong { color: var(--text); font-weight: var(--weight-strong); }

/* Between the tiers: the friendly nudge */
.need-side { display: grid; gap: var(--space-6); }
.need-tip {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin: 0;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-m);
  background: var(--accent-soft);
  color: var(--text);
  font-size: var(--text-sm);
}
.need-tip-icon { flex-shrink: 0; color: var(--accent); }
.need-tip-icon svg { width: 22px; height: 22px; display: block; }

/* Tier 2: the optional steps, quieter */
.need-more-title { font-size: var(--text-lg); }
.need-more-intro { margin: var(--space-2) 0 var(--space-5); color: var(--text-muted); font-size: var(--text-sm); }
.need-ladder { display: grid; gap: var(--space-5); margin: 0; padding: 0; list-style: none; }
.need-ladder li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: var(--space-4); align-items: start; }
/* The rail joining each step's icon to the next one's. */
.need-ladder li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: calc(-1 * var(--space-5));
  width: 2px;
  background: var(--line-strong);
}
.need-step {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--text-muted);
}
.need-step svg { width: 20px; height: 20px; }
.need-step-name { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin: 6px 0 2px; }
.need-step-name strong { font-family: var(--font-display); font-weight: var(--weight-strong); color: var(--text); }
.need-ladder li div > span { display: block; color: var(--text-muted); font-size: var(--text-sm); line-height: 1.5; }
.need-link { display: inline-block; margin-top: 6px; font-size: var(--text-sm); font-weight: var(--weight-strong); color: var(--accent); }
.need-pill {
  padding: 1px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  font-size: 0.68rem;
  font-weight: var(--weight-strong);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.need-note { margin-top: var(--space-6); font-size: var(--text-xs); color: var(--text-faint); }

/* ---- What's a color chart? (color-chart.html) --------------------------------------------------------*/
.chart-art { margin: 0; max-width: 420px; justify-self: center; width: 100%; }
/* A made-up card of round patches in the site's own colors: deliberately not any maker's
   chart or layout (the ColorChecker image is X-Rite's trademark). */
.chart-card {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  padding: 22px;
  border-radius: var(--radius-l);
  background: #f5f1ea;
  box-shadow: var(--shadow-art);
}
.chart-card span { aspect-ratio: 1; border-radius: 50%; background: var(--p); }
.chart-lists { display: grid; gap: var(--space-5); grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 800px) { .chart-lists { grid-template-columns: 1fr 1fr; } }
.chart-list h3 { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); }
.chart-list ul { display: grid; gap: var(--space-3); margin: 0; padding-left: 1.2em; color: var(--text-muted); font-size: var(--text-sm); }
.chart-list p { color: var(--text-muted); font-size: var(--text-sm); }
.chart-list p strong { color: var(--text); }
.chart-list .chart-note { margin-top: var(--space-4); font-size: var(--text-xs); color: var(--text-faint); }
/* The step up: across the full width, under the two makers. */
.chart-pro { grid-column: 1 / -1; border-color: var(--accent); }
.chart-pro h3 a { color: inherit; }
.chart-status {
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: var(--weight-strong);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.chart-status.yes { border-color: transparent; background: #e1f4ea; color: #1d7a50; }
.chart-status.pro { border-color: transparent; background: var(--accent); color: var(--accent-text); }
.chart-tm { max-width: 80ch; }

/* Pricing (index) */
.price-grid {
  display: grid;
  gap: var(--space-4);
  /* Six tiers: one column on a phone, then two rows of three; never one card left alone. */
  grid-template-columns: 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 520px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }
.price { display: grid; gap: var(--space-2); align-content: start; }
.price h3 { margin: 0; }
.card .price-amount {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--text-2xl);
  line-height: 1.1;
  color: var(--text);
}
.price-amount small { font-size: 0.5em; font-weight: var(--weight-medium); color: var(--text-muted); }

/* The saving over a photographer, above the prices; why it's easier, below them. */
.save-banner {
  margin: 0 auto var(--space-6);
  max-width: 600px;
  padding: var(--space-5) var(--space-5);
  border: 2px solid var(--accent);
  border-radius: var(--radius-l);
  background: var(--accent-soft);
  text-align: center;
}
.save-big {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--text-3xl);
  line-height: 1.1;
  color: var(--accent);
}
.save-sub { margin: var(--space-2) auto 0; max-width: 60ch; color: var(--text); line-height: 1.5; }
.why-box {
  margin-top: var(--space-7);
  padding: var(--space-6) var(--space-5);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--bg-elev);
}
.why-title { margin: 0 0 var(--space-5); font-size: var(--text-xl); text-align: center; }
.why-list { display: grid; gap: var(--space-4) var(--space-6); margin: 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .why-list { grid-template-columns: repeat(2, 1fr); } }
.why-list li { display: grid; grid-template-columns: 30px 1fr; gap: var(--space-3); align-items: start; line-height: 1.5; color: var(--text-muted); }
.why-list strong { color: var(--text); }
.why-list .why-wide { grid-column: 1 / -1; }

/* ---- Story ----------------------------------------------------------------------------------------*/
.story-quote {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-heading);
  line-height: 1.3;
  letter-spacing: var(--tracking-heading);
}

/* ---- Page header for inner pages -------------------------------------------------------------------*/
.page-hero {
  padding-block: clamp(3.5rem, 8vw, 7rem) clamp(2rem, 5vw, 4rem);
}
.page-hero h1 { margin-block: var(--space-4); max-width: 18ch; }

/* ---- The forms: Android requests (studio.html, js/android.js), early access (index.html, js/early-access.js) */
.android-form,
.android-thanks,
.early-form,
.early-thanks { --stack: var(--space-5); max-width: 560px; margin-inline: auto; }
.android-thanks:focus,
.early-thanks:focus { outline: none; }
.early-form,
.early-thanks { margin-top: var(--space-7); text-align: left; }
/* On a phone the band's own padding would squeeze the form card: keep the sides narrow. */
@media (max-width: 560px) { .cta-form { padding-inline: var(--space-3); } }
.field-error { font-size: var(--text-xs); font-weight: var(--weight-strong); color: var(--miss); }
.form-status { font-size: var(--text-sm); font-weight: var(--weight-strong); color: var(--text); }
.form-status:empty { display: none; }
.theme-light .field-error { color: #b3261e; }
.field .consent {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-top: var(--space-2);
  font-weight: var(--weight-body);
  font-size: var(--text-sm);
  color: var(--text-muted);
  cursor: pointer;
}
.consent input { width: 18px; height: 18px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--brand-orange); }
.input[aria-invalid="true"] { border-color: var(--miss); }
/* Honeypot: off screen for people, still in the form for bots that fill every field. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---- Privacy notice (privacy.html) -----------------------------------------------------------------------*/
.prose { --stack: var(--space-4); max-width: 70ch; }
.prose h2 { font-size: var(--text-xl); margin-top: var(--space-6); }
.prose p,
.prose li { color: var(--text-muted); }
.prose strong { color: var(--text); }
.prose ul { display: grid; gap: var(--space-2); margin: 0; padding-left: 1.2em; }
