/* CodeRush.run — the landing pages (brand direction 02, "the open studio").

   It is SELF-CONTAINED: a landing page loads this file and web/sitefoot.css and
   nothing else, so none of it depends on web/learn.css or web/web.css, which
   other work restyles on its own schedule. Tokens live on `.seopage`.

   The shared footer is NOT here — it is in web/sitefoot.css, because the pad,
   the guide, the template shelf and the privacy page load the footer without
   loading any of this. */

.seopage {
  --blue: #2545ed;
  --yellow: #fff9cd;
  --sky: #b9e4f4;
  --lilac: #c7baeb;
  --ink: #152654;
  --white: #fffef9;
  --soft: #5b6685;
  --line: rgba(21, 38, 84, .19);
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Arial, Helvetica, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;
  margin: 0;
  min-width: 280px;
  background: var(--white);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
.seopage * { box-sizing: border-box; }
.seopage h1, .seopage h2, .seopage h3 { font-weight: 400; letter-spacing: -.04em; }
.seopage h1, .seopage h2 { font-family: var(--serif); }
.seopage a { color: inherit; }
.seopage em { font-family: var(--serif); }
.seopage img { display: block; max-width: 100%; }
.seopage :focus-visible { outline: 3px solid currentColor; outline-offset: 4px; border-radius: 3px; }
.seopage ::selection { background: var(--lilac); color: var(--ink); }

.skip {
  position: fixed; z-index: 30; top: 8px; left: 8px; padding: 11px 15px;
  border-radius: 6px; background: var(--blue); color: var(--yellow);
  font-size: 14px; text-decoration: none; transform: translateY(-200%);
}
.skip:focus { transform: none; }

.wrap { width: min(1240px, 100% - 2 * clamp(18px, 6vw, 84px)); margin-inline: auto; }

/* Header — a studio-blue field with the wordmark set in the brand's serif. */
.studiohead {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 17px clamp(18px, 6vw, 84px);
  background: var(--blue); color: var(--yellow);
}
.studiomark { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
/* .wordmarksvg and .vh live in sitefoot.css: the footer needs them on every page. */
.studiohead nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.studiohead nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding-inline: 12px;
  border-radius: 999px; font-size: 14px; text-decoration: none;
}
.studiohead nav a:hover { background: rgba(255, 249, 205, .16); }
.studiohead nav .pill { border: 1px solid currentColor; }
.studiohead nav .pill:hover { background: var(--yellow); color: var(--blue); }

/* Hero — a full-bleed colour field with oversized editorial type. */
.field { padding-block: clamp(46px, 8vw, 104px) clamp(50px, 8vw, 96px); }
.field.blue { background: var(--blue); color: var(--yellow); }
.field.yellow { background: var(--yellow); color: var(--ink); }
.field.sky { background: var(--sky); color: var(--ink); }
.field.lilac { background: var(--lilac); color: var(--ink); }
.label {
  margin: 0 0 26px; font: 400 14px/1.4 var(--sans); letter-spacing: .02em;
  opacity: .85;
}
.field h1 {
  max-width: 19ch; margin: 0;
  font-size: clamp(42px, 8.4vw, 104px); line-height: .96; letter-spacing: -.055em;
}
.field .lede {
  max-width: 46ch; margin: clamp(24px, 3vw, 38px) 0 0;
  font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55;
}
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.actions a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding-inline: 20px; border-radius: 6px;
  font-size: 15px; text-decoration: none; transition: background 200ms ease-out, color 200ms ease-out;
}
.actions .go { background: var(--blue); color: var(--yellow); }
.actions .go:hover { background: var(--ink); }
.actions .ghost { border: 1px solid currentColor; }
.actions .ghost:hover { background: rgba(21, 38, 84, .08); }
.field.blue .actions .go { background: var(--yellow); color: var(--blue); }
.field.blue .actions .go:hover { background: var(--white); }
.field.blue .actions .ghost:hover { background: rgba(255, 249, 205, .16); }
.herofacts {
  display: flex; flex-wrap: wrap; gap: 8px 34px; margin: 38px 0 0; padding-top: 20px;
  border-top: 1px solid currentColor; font-size: 14px; list-style: none;
}
.herofacts li { opacity: .9; }

/* Editorial bands: a narrow column of signposting, a wide column of prose. */
.band { padding-block: clamp(52px, 7vw, 92px); border-bottom: 1px solid var(--line); }
.band > .wrap { display: grid; grid-template-columns: minmax(150px, .42fr) minmax(0, 1.58fr); gap: clamp(22px, 4vw, 60px); }
.bandhead { margin: 0; align-self: start; }
.bandhead h2 { margin: 0; font-size: clamp(30px, 3.8vw, 52px); line-height: 1.02; }
.bandhead p { margin: 14px 0 0; color: var(--soft); font-size: 14px; }
.prose { min-width: 0; }
.prose > p { margin: 0 0 18px; max-width: 66ch; }
.prose > p:last-child { margin-bottom: 0; }
.prose h3 { margin: 32px 0 10px; font-size: 19px; letter-spacing: -.02em; }
.prose a { color: var(--blue); text-underline-offset: 3px; }
.prose ul { margin: 0 0 18px; padding-left: 20px; max-width: 66ch; }
.prose li { margin-bottom: 8px; }
.prose code { padding: 2px 5px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); font: .87em var(--mono); }

.snip {
  margin: 4px 0 16px; padding: 18px 20px; overflow-x: auto;
  border: 1px solid var(--line); border-radius: 12px; background: var(--white);
  box-shadow: 6px 7px 0 rgba(21, 38, 84, .06);
  font: 14px/1.75 var(--mono);
}
.snip code { padding: 0; border: 0; background: none; font: inherit; }
.sniphead {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 6px 16px; margin: 26px 0 8px; font-size: 13px; color: var(--soft);
}
/* a.runlink, not .runlink: `.prose a` is a class-and-type selector and would
   otherwise win on specificity and paint this button blue on blue. */
a.runlink {
  display: inline-flex; align-items: center; min-height: 46px; padding-inline: 18px;
  border-radius: 6px; background: var(--blue); color: var(--yellow);
  font-size: 15px; text-decoration: none; transition: background 200ms ease-out;
}
a.runlink:hover { background: var(--ink); color: var(--yellow); }
.runnote { margin: 10px 0 0; color: var(--soft); font-size: 13px; }

/* A small table of facts — used for format rows and comparison rows. */
.facts { width: 100%; margin: 0; border-collapse: collapse; font-size: 15px; }
.facts caption { margin-bottom: 14px; color: var(--soft); font-size: 13px; text-align: left; }
.facts th, .facts td { padding: 13px 14px 13px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.facts th { font-weight: 600; width: 34%; }
.tablescroll { overflow-x: auto; }

/* FAQ — the answers are the ones a real visitor asks in search. */
.faq dl { margin: 0; }
.faq dt { margin-top: 26px; font: 400 clamp(21px, 2.2vw, 27px)/1.2 var(--serif); letter-spacing: -.03em; color: var(--blue); }
.faq dd { margin: 10px 0 0; max-width: 66ch; }
.faq dt:first-child { margin-top: 0; }

/* Related pages and the closing field. */
.rel { list-style: none; margin: 0; padding: 0; }
.rel li { border-bottom: 1px solid var(--line); }
.rel li:first-child { border-top: 1px solid var(--line); }
.rel a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 18px; padding: 19px 2px; min-height: 44px; text-decoration: none; }
.rel a:hover { color: var(--blue); }
.rel strong { font-weight: 600; }
.rel span { color: var(--soft); font-size: 14px; grid-column: 1; }
.rel b { font-weight: 400; grid-row: 1; }

.endfield { padding-block: clamp(54px, 8vw, 96px); background: var(--yellow); color: var(--ink); }
.endfield p.label { color: inherit; }
.endfield h2 { max-width: 24ch; margin: 0; font-size: clamp(34px, 5.6vw, 76px); line-height: .98; letter-spacing: -.055em; }

/* Explore — the human sitemap. */
.maplist { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px 40px; margin: 0; padding: 0; list-style: none; }
.mapgroup h2 { margin: 0 0 12px; font-size: clamp(24px, 2.6vw, 32px); }
.mapgroup ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.mapgroup li { border-bottom: 1px solid var(--line); }
.mapgroup a { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 2px 16px; min-height: 46px; padding-block: 11px; text-decoration: none; font-size: 15px; }
.mapgroup a:hover { color: var(--blue); }
.mapgroup span { color: var(--soft); font-size: 13px; }

@media (max-width: 900px) {
  .band > .wrap { grid-template-columns: 1fr; }
  .bandhead p { margin-top: 10px; }
}

@media (max-width: 680px) {
  .studiohead { flex-wrap: wrap; gap: 8px 14px; }
  .studiohead nav { width: 100%; }
  .studiohead nav a { padding-inline: 10px; }
  .actions { flex-direction: column; align-items: stretch; }
  .actions a { width: 100%; }
  .herofacts { gap: 8px 22px; }
  .rel a { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .seopage *, .seopage *::before, .seopage *::after { transition-duration: .001ms !important; }
}
