/* ClearGrow coming-soon site, shared by index.html and privacy.html: tokens, base,
   header, buttons, sections, footer and the privacy page. The main page adds page.css
   and form.css. Palette from docs/platform/brand/index.md; font stack and greys from
   store/apps/storefront/tailwind.config.js. */

:root {
  --green: #15a352;
  --ink: #1e1e1e;
  --white: #ffffff;
  --grey-5: #f9fafb;
  --grey-20: #e5e7eb;
  --grey-30: #d1d5db;
  --grey-60: #4b5563;
  --grey-70: #374151;
  --tint: #f2f8f4;
  --tint-strong: #e3f2e8;
  --error: #b42318;
  --radius: 8px;
  --radius-large: 16px;
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Ubuntu, sans-serif;
  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 5rem;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: var(--ink);
}

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

/* Header: like the storefront nav, 64 px, white, bottom border. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--grey-20);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4rem;
}

/* Clear space around the wordmark: half its height. */
.brand {
  display: block;
  padding: 0.4rem 0;
}

.brand img {
  width: 140px;
  height: auto;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.625rem 1.25rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.button:hover {
  background: var(--grey-70);
  border-color: var(--grey-70);
}

.button-small {
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.button-quiet {
  background: var(--white);
  color: var(--ink);
  border-color: var(--grey-30);
}

.button-quiet:hover {
  background: var(--grey-5);
  border-color: var(--ink);
}

.button[disabled] {
  opacity: 0.6;
  cursor: progress;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-tint {
  background: var(--grey-5);
  border-top: 1px solid var(--grey-20);
  border-bottom: 1px solid var(--grey-20);
}

h2 {
  font-size: clamp(1.6rem, 2.5vw + 0.8rem, 2.1rem);
}

.section-lead {
  margin-top: 0.75rem;
  max-width: 42rem;
  color: var(--grey-60);
  font-size: 1.0625rem;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--grey-20);
  font-size: 0.9375rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  color: var(--grey-60);
}

/* Privacy page */
.prose {
  max-width: 44rem;
}

.prose h2 {
  margin-top: 2.25rem;
  font-size: 1.25rem;
}

.prose p,
.prose ul {
  margin-top: 0.75rem;
  color: var(--grey-70);
}

.prose ul {
  padding-left: 1.25rem;
}

.prose li + li {
  margin-top: 0.375rem;
}
