/* GirderWorks — marketing site styles.
   Single stylesheet, no build step.

   The tokens below are taken from anthropic.com's own stylesheet
   (ant-brand.shared.*.css), not estimated from screenshots: swatches,
   type scale, line-heights, container width, grid, button and nav sizes.
   Only the typefaces differ — Anthropic Sans / Anthropic Serif are
   proprietary, so Archivo and Source Serif 4 stand in for them. */

:root {
  /* swatches — verbatim */
  --ivory-light: #faf9f5;
  --ivory-medium: #f0eee6;
  --ivory-dark: #e8e6dc;
  --slate-dark: #141413;
  --slate-medium: #3d3d3a;
  --slate-light: #5e5d59;
  --slate-faded-10: #1414131a;
  --slate-faded-20: #14141333;
  --clay: #d97757;
  --accent-swatch: #c6613f;
  --white: #ffffff;

  /* theme roles — verbatim mapping */
  --bg: var(--ivory-light);
  --bg-secondary: var(--ivory-medium);
  --bg-raised: var(--white);
  --text: var(--slate-dark);
  --text-dim: var(--slate-dark);          /* body copy is full ink, not grey */
  --text-mute: var(--slate-light);
  --border: var(--slate-faded-10);
  --border-hover: var(--slate-faded-20);
  --accent: var(--clay);
  --ink-fill: var(--slate-dark);
  --ink-fill-hover: var(--slate-medium);
  --on-ink: var(--ivory-light);
  --ok: #788c5d;                          /* their "olive" */

  /* type scale — verbatim */
  --display-xxl: 4.5rem;
  --display-xl: 4rem;      /* hero h1 */
  --display-l: 3rem;       /* section h2 */
  --display-m: 2rem;
  --display-s: 1.5rem;     /* column h3 */
  --display-xs: 1.25rem;
  --paragraph-l: 1.5rem;   /* hero paragraph */
  --paragraph-m: 1.25rem;  /* body default */
  --paragraph-s: 1.125rem;
  --paragraph-xs: 1rem;
  --detail-m: 1rem;
  --detail-s: 0.875rem;
  --detail-xs: 0.75rem;
  --lh-display: 1.1;
  --lh-paragraph: 1.4;

  /* layout — verbatim */
  --site-width: 89.5rem;
  --site-gutter: 2rem;
  --section-space: 8rem;
  --section-space-small: 4rem;
  --radius: 0.5rem;
  --border-width: 0.0625rem;

  --sans: "Archivo", "Anthropic Sans", Arial, sans-serif;
  --serif: "Source Serif 4", "Anthropic Serif", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;
  --font: var(--sans);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--serif);
  font-size: var(--paragraph-m);
  line-height: var(--lh-paragraph);
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: var(--site-width); margin: 0 auto; padding: 0 var(--site-gutter); }

/* Links: ink, underlined, offset like theirs */
a { color: var(--text); text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: from-font; }
a:hover { color: var(--text-mute); }

/* ---------- type ---------- */
h1, h2, h3 {
  font-family: var(--sans); color: var(--text); font-weight: 700;
  line-height: var(--lh-display); letter-spacing: -0.02em; margin: 0 0 1.5rem; text-wrap: balance;
}
h1 { font-size: var(--display-xl); }
h2 { font-size: var(--display-l); margin-top: 0; }
h3 { font-size: var(--display-s); font-weight: 600; margin-bottom: 0.75rem; }
h1 u, h1 a { text-decoration: underline; text-underline-offset: 0.12em; text-decoration-thickness: 0.06em; }

p { margin: 0 0 1rem; color: var(--text-dim); text-wrap: pretty; }
.lead { font-size: var(--paragraph-l); line-height: var(--lh-paragraph); max-width: 40ch; }
.dim { color: var(--text-dim); }
.small { font-size: var(--paragraph-xs); }
.mute { color: var(--text-mute); }

/* ---------- header ---------- */
header.site { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: var(--border-width) solid var(--border); }
header.site .wrap { display: flex; align-items: center; gap: 2rem; height: 5.5rem; }
.brand {
  font-family: var(--sans); display: flex; align-items: center; gap: 0.6rem;
  font-weight: 600; font-size: 1.1rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--text); text-decoration: none;
}
.brand:hover { color: var(--text); text-decoration: none; }
.brand svg { display: block; }
nav.main { margin-left: auto; display: flex; align-items: center; gap: 0; }
nav.main a {
  font-family: var(--sans); font-size: 0.9375rem; font-weight: 400; letter-spacing: -0.0025em;
  color: var(--text); text-decoration: underline; text-decoration-color: transparent;
  text-underline-offset: 0.2em; padding: 1.4rem 0.75rem;
}
nav.main a:hover { color: var(--text); text-decoration-color: var(--text); }
nav.main a.btn-primary { padding: 0.5rem 1rem; margin-left: 0.75rem; color: var(--on-ink); text-decoration: none; }
nav.main a.btn-primary:hover { color: var(--on-ink); }

/* ---------- buttons — verbatim sizes ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.25rem; padding: 0.5rem 1rem; border-radius: var(--radius);
  font-family: var(--sans); font-size: 0.9375rem; font-weight: 500; line-height: 1.2;
  border: var(--border-width) solid var(--ink-fill); cursor: pointer; text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--ink-fill); color: var(--on-ink); }
.btn-primary:hover { background: var(--ink-fill-hover); border-color: var(--ink-fill-hover); color: var(--on-ink); }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { background: var(--ink-fill); color: var(--on-ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 2rem 0 1rem; }

/* ---------- sections ---------- */
section { padding: var(--section-space) 0; }
section + section { border-top: var(--border-width) solid var(--border); }
section.hero { padding: 7rem 0 5.5rem; border-top: 0; }
section.tight { padding: 5rem 0; }
/* The tinted band is reserved for ONE section on the site: the privacy promise. */
section.band { background: var(--bg-secondary); padding: 6rem 0; }
.eyebrow {
  display: block; font-family: var(--sans); font-size: var(--detail-s); font-weight: 500;
  letter-spacing: 0.02em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 1.5rem;
}

/* ---------- 12-column grid: hero h1 spans 7, paragraph spans 5 ---------- */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--site-gutter); row-gap: 2rem; align-items: start; }
.split > :first-child { grid-column: span 7; }
.split > :last-child { grid-column: span 5; }
.split h1, .split h2 { margin-bottom: 0; }
.split .lead { margin: 0; }
@media (max-width: 991px) { .split > :first-child, .split > :last-child { grid-column: span 12; } .split { align-items: start; } }

/* ---------- columns of text, rule above, no boxes ---------- */
.grid { display: grid; gap: 3rem var(--site-gutter); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { padding-top: 1.5rem; border-top: var(--border-width) solid var(--border); }
.card h3 { margin-bottom: 0.75rem; }
.card p { margin-bottom: 0; font-size: var(--paragraph-s); }

/* ---------- stage list ---------- */
ol.stages { list-style: none; counter-reset: stage; padding: 0; margin: 0; }
ol.stages li { counter-increment: stage; position: relative; padding: 1.25rem 0 1.25rem 3.5rem; border-top: var(--border-width) solid var(--border); }
ol.stages li:last-child { border-bottom: var(--border-width) solid var(--border); }
ol.stages li::before {
  content: counter(stage, decimal-leading-zero); position: absolute; left: 0; top: 1.4rem;
  font-family: var(--sans); font-size: var(--detail-s); color: var(--text-mute);
}
ol.stages li strong { display: block; font-family: var(--sans); font-weight: 600; font-size: var(--display-xs); line-height: 1.3; }
ol.stages li .dim { font-size: var(--paragraph-s); }
ol.stages li .gate {
  display: inline-block; margin-left: 0.6rem; font-family: var(--sans); font-size: var(--detail-xs);
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-swatch); vertical-align: 2px; font-weight: 500;
}

/* ---------- pricing — the claude.ai plan-card anatomy, in this site's palette ---------- */
section.hero.centered { text-align: center; }
section.hero.centered .lead { margin: 0 auto; }
.price-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: stretch; max-width: 72rem; margin: 0 auto; }
.plan {
  display: flex; flex-direction: column;
  background: var(--bg-raised); border-radius: 1rem; padding: 2rem;
  border: var(--border-width) solid var(--border);
}
.plan-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.pictogram { width: 3rem; height: 3rem; color: var(--text); flex: none; }
.plan h3 { font-size: var(--display-s); margin: 0 0 0.25rem; }
.plan-sub { color: var(--text-mute); font-size: var(--paragraph-xs); margin: 0 0 1.5rem; }
.price { display: flex; align-items: baseline; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 0.5rem; }
.price .amount { font-family: var(--sans); font-size: var(--display-m); font-weight: 700; letter-spacing: -0.02em; color: var(--text); line-height: 1; }
.price .per { font-family: var(--sans); color: var(--text-mute); font-size: var(--detail-s); line-height: 1.35; }
.price-note { font-family: var(--sans); color: var(--text-mute); font-size: var(--detail-xs); margin: 0.75rem 0 0; text-align: center; }
.plan .btn { width: 100%; margin-top: 1rem; }
.plan hr { border: 0; border-top: var(--border-width) solid var(--border); margin: 1.75rem -2rem 1.5rem; }
.plan-list-title { font-family: var(--sans); font-size: var(--paragraph-xs); font-weight: 500; color: var(--text); margin: 0 0 0.5rem; }
.plan ul { list-style: none; padding: 0; margin: 0; flex: 1; }
.plan li { padding: 0.35rem 0 0.35rem 1.75rem; position: relative; font-family: var(--sans); font-size: var(--paragraph-xs); color: var(--text); }
.plan li::before { content: "✓"; position: absolute; left: 0.2rem; color: var(--text-mute); }

/* ---------- forms ---------- */
form.capture { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0 0.5rem; }
input[type="email"], input[type="text"], textarea {
  flex: 1 1 260px; padding: 0.7rem 1rem; font: inherit; font-size: var(--paragraph-s);
  background: var(--bg-raised); color: var(--text);
  border: var(--border-width) solid var(--border-hover); border-radius: var(--radius);
}
textarea { min-height: 8rem; resize: vertical; width: 100%; }
input:focus, textarea:focus { outline: 2px solid var(--text); outline-offset: 1px; }
label { display: block; font-family: var(--sans); font-size: var(--detail-s); color: var(--text-mute); margin: 1rem 0 0.4rem; }

/* ---------- misc ---------- */
pre, code { font-family: var(--mono); font-size: var(--detail-m); }
code { font-size: 0.9em; }
pre { background: var(--bg-secondary); border-radius: var(--radius); padding: 1.25rem; overflow-x: auto; line-height: 1.5; }
table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: var(--paragraph-s); }
th, td { text-align: left; padding: 1rem 1rem 1rem 0; border-bottom: var(--border-width) solid var(--border); vertical-align: top; }
th { font-family: var(--sans); color: var(--text-mute); font-weight: 500; font-size: var(--detail-s); text-transform: uppercase; letter-spacing: 0.02em; }
ul.plain { list-style: none; padding: 0; }
ul.plain li { padding: 0.4rem 0 0.4rem 1.5rem; position: relative; }
ul.plain li::before { content: "—"; position: absolute; left: 0; color: var(--text-mute); }
.note { background: var(--bg-secondary); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin: 2rem 0; }
.note p:last-child { margin-bottom: 0; }

/* The one-line promise that closes the privacy band. */
.statement {
  font-family: var(--sans); font-weight: 700; font-size: var(--display-m); line-height: var(--lh-display);
  letter-spacing: -0.02em; color: var(--text); margin: 3.5rem 0 0; max-width: 24ch; text-wrap: balance;
}

/* A statement the reader must not miss: boxed in ink, on the page colour. */
.callout {
  border: 2px solid var(--text); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin: 2rem 0 0;
  font-size: var(--paragraph-s); line-height: var(--lh-paragraph); color: var(--text); max-width: 40ch;
}
.callout strong { font-family: var(--sans); font-weight: 600; }

/* long reading pages */
section .wrap[style*="max-width:760px"] { max-width: 48rem; }

/* form containers keep a surface */
.card.panel { background: var(--bg-raised); border: var(--border-width) solid var(--border); border-radius: var(--radius); padding: 2rem; }

/* ---------- footer — dark, like theirs: mark left, link columns right ---------- */
footer.site {
  background: var(--slate-dark); color: var(--ivory-light);
  padding: 4rem 0 2.5rem; margin-top: 0;
}
.foot-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--site-gutter); row-gap: 2.5rem; }
.foot-brand { grid-column: span 3; }
.foot-brand a { color: var(--ivory-light); text-decoration: none; display: inline-block; }
.foot-cols { grid-column: span 9; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--site-gutter); row-gap: 2rem; }
footer.site h4 { font-family: var(--sans); font-size: 0.8125rem; font-weight: 600; color: var(--ivory-light); margin: 0 0 0.75rem; letter-spacing: 0; text-transform: none; }
footer.site a { font-family: var(--sans); font-size: 0.8125rem; color: var(--ivory-light); display: block; padding: 0.3rem 0; text-decoration: none; }
footer.site a:hover { color: var(--ivory-light); text-decoration: underline; text-underline-offset: 0.2em; }
.foot-base { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 4rem; }
.foot-base p { color: var(--ivory-light); font-family: var(--sans); font-size: var(--detail-xs); }
.foot-social { display: flex; gap: 1rem; }
.foot-social a { padding: 0; display: inline-flex; color: var(--ivory-light); }
@media (max-width: 991px) {
  .foot-brand, .foot-cols { grid-column: span 12; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- responsive: their breakpoints scale the display sizes down ---------- */
@media (max-width: 991px) {
  :root { --display-xl: 3rem; --display-l: 2.5rem; --paragraph-l: 1.25rem; --section-space: 6rem; }
}
@media (max-width: 767px) {
  :root { --display-xl: 2.5rem; --display-l: 2rem; --display-s: 1.25rem; --paragraph-m: 1.125rem; --paragraph-l: 1.125rem; --site-gutter: 1.25rem; --section-space: 4rem; }
  header.site .wrap { height: 4.5rem; }
  nav.main a { padding: 1rem 0.5rem; }
  nav.main a.hide-sm { display: none; }
  section.hero { padding-top: 4rem; }
}
