/* Platestead marketing site. No build step, no framework, no web fonts:
   one stylesheet served as a static file (see README.md). */

:root {
  --ink: #0b1020;
  --ink-soft: #1b2338;
  --body: #333b52;
  --muted: #5d6680;
  --line: #e2e5ee;
  --surface: #ffffff;
  --surface-alt: #f6f7fb;
  --accent: #e2643c;
  --accent-dark: #c04e2b;
  --accent-soft: #fdeee8;
  --radius: 14px;
  --wrap: 1120px;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--body);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}
h3 {
  font-size: 1.1rem;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--accent-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

code {
  font-family: var(--mono);
  font-size: 0.92em;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.1em 0.38em;
  white-space: nowrap;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 12px;
  z-index: 10;
  background: #fff;
  padding: 10px 14px;
  border-radius: 8px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand span {
  color: var(--ink);
}
.brand-mark {
  width: 28px;
  height: 28px;
  flex: none;
}
.brand.small {
  font-size: 1rem;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.95rem;
}
.site-header nav a {
  color: var(--body);
  text-decoration: none;
}
.site-header nav a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 8px 14px;
  border-radius: 999px;
}
.nav-cta:hover {
  background: var(--ink-soft);
  text-decoration: none !important;
}

/* Hero */
.hero {
  background:
    radial-gradient(1000px 420px at 15% -10%, rgba(226, 100, 60, 0.18), transparent 70%),
    linear-gradient(180deg, #0b1020, #131b31);
  color: #e8ebf4;
  padding: clamp(64px, 10vw, 112px) 0 clamp(56px, 8vw, 88px);
}
.hero h1,
.hero h2 {
  color: #fff;
}
.hero-inner {
  max-width: 900px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 700;
  color: #f4a98d;
  margin-bottom: 18px;
}
.lede {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #c3cadd;
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 44px;
}

.button {
  display: inline-block;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.button.primary {
  background: var(--accent);
  color: #fff;
}
.button.primary:hover {
  background: var(--accent-dark);
}
.button.ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.button.ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}
.button.large {
  padding: 14px 28px;
  font-size: 1.05rem;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin: 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.hero-facts dt {
  color: #fff;
  font-weight: 700;
  margin-bottom: 4px;
}
.hero-facts dd {
  margin: 0;
  color: #aeb7cd;
  font-size: 0.95rem;
}
.hero-facts code {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  color: #f1d9d0;
}

/* Sections */
.section {
  padding: clamp(56px, 8vw, 96px) 0;
}
.section.alt {
  background: var(--surface-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-lede {
  max-width: 68ch;
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 36px;
}

.cards {
  display: grid;
  gap: 20px;
}
.cards.three {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.cards.two {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.card p:last-child {
  margin-bottom: 0;
}
.card.compact {
  padding: 20px;
}
.card.compact h3 {
  font-size: 1rem;
}
.card.compact p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* Steps */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.steps li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.steps p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Storefront cards */
.storefront-cards .card {
  display: flex;
  flex-direction: column;
}
.storefront .tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.storefront h3 {
  font-size: 1.5rem;
}
.storefront .meta {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.storefront .meta li {
  font-size: 0.85rem;
  color: var(--muted);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
}
.storefront .button {
  margin-top: auto;
  align-self: flex-start;
}

/* Integrations */
.integrations {
  display: grid;
  gap: 24px 32px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.integrations h3 {
  margin-bottom: 6px;
}
.integrations p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* CTA */
.section.cta {
  background: linear-gradient(180deg, #131b31, #0b1020);
  color: #d7dceb;
}
.cta h2 {
  color: #fff;
}
.cta-inner {
  max-width: 720px;
  text-align: center;
}
.cta p {
  color: #b9c1d6;
  margin-bottom: 26px;
}

/* Footer */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 48px 0 24px;
  font-size: 0.95rem;
}
.footer-inner {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(240px, 1.6fr) repeat(3, minmax(140px, 1fr));
}
.footer-note {
  color: var(--muted);
  margin: 14px 0 0;
  max-width: 44ch;
  font-size: 0.9rem;
}
.site-footer h2 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 12px;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.site-footer a {
  color: var(--body);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.footer-base {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}
.footer-base p {
  margin: 0;
}

/* Legal pages */
.legal {
  padding: clamp(48px, 7vw, 80px) 0;
}
.legal-inner {
  max-width: 72ch;
}
.legal h2 {
  font-size: 1.25rem;
  margin-top: 2em;
}
.legal .placeholder {
  background: var(--accent-soft);
  border: 1px solid #f3cbbc;
  border-radius: var(--radius);
  padding: 16px 20px;
  color: #8d3d21;
  font-size: 0.95rem;
}

@media (max-width: 860px) {
  .footer-inner {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }
  .site-header nav a:not(.nav-cta) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .button {
    transition: none;
  }
}
