/* FormShift marketing site — static, no tracking */

:root {
  --bg: #0a0a0b;
  --bg-elevated: #121214;
  --bg-subtle: #18181b;
  --text: #f4f4f5;
  --text-secondary: #a1a1aa;
  --text-tertiary: #71717a;
  --border: rgba(255, 255, 255, 0.08);
  --accent: #7c3aed;
  --accent-soft: rgba(124, 58, 237, 0.14);
  --accent-text: #c4b5fd;
  --max: 44rem;
  --max-wide: 64rem;
  --radius: 1rem;
  --font-sans: "Avenir Next", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(124, 58, 237, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(124, 58, 237, 0.06), transparent 45%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: #ddd6fe;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  padding: 0.5rem 0.75rem;
  background: var(--accent);
  color: #fff;
  z-index: 100;
  border-radius: 0.35rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(10, 10, 11, 0.82);
  border-bottom: 1px solid var(--border);
}

.header-inner,
.footer-inner,
.section-inner,
.hero-inner,
.legal-inner {
  width: min(100% - 2rem, var(--max-wide));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand:hover {
  color: var(--text);
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.45rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  justify-content: flex-end;
}

.nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
}

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-inner {
  width: min(100% - 2rem, 40rem);
  text-align: center;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  color: var(--text);
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 600;
}

.hero-brand img {
  width: 3rem;
  height: 3rem;
  border-radius: 0.65rem;
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 7vw, 3.5rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hero .tagline {
  margin: 0 0 1.25rem;
  font-size: clamp(1.15rem, 3vw, 1.35rem);
  color: var(--accent-text);
  font-weight: 500;
}

.hero .lede {
  margin: 0 auto;
  max-width: 34rem;
  color: var(--text-secondary);
  font-size: 1.0625rem;
}

.section {
  padding: 2.75rem 0;
}

.section-inner {
  width: min(100% - 2rem, var(--max));
}

.section h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.section p {
  margin: 0 0 1rem;
  color: var(--text-secondary);
}

.card {
  margin-top: 1.25rem;
  padding: 1.35rem 1.4rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.steps {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.steps li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1rem 1.1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 0.875rem;
  font-weight: 650;
}

.steps strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.steps span {
  color: var(--text-secondary);
  font-size: 0.975rem;
}

.disclaimer {
  border-color: rgba(124, 58, 237, 0.28);
  background: linear-gradient(180deg, var(--accent-soft), var(--bg-elevated));
}

.disclaimer h2 {
  font-size: 1.25rem;
}

.disclaimer ul {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
  color: var(--text-secondary);
}

.disclaimer li {
  margin-bottom: 0.4rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font-size: 0.975rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #6d28d9;
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text);
}

.site-footer {
  margin-top: 3rem;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  gap: 1rem;
  color: var(--text-tertiary);
  font-size: 0.9rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-nav a {
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--text);
}

.legal-page .legal-inner {
  width: min(100% - 2rem, var(--max));
  padding: 2.5rem 0 4rem;
}

.legal-page h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 5vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.legal-meta {
  margin: 0 0 2rem;
  color: var(--text-tertiary);
  font-size: 0.925rem;
}

.legal-page h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.2rem;
  font-weight: 650;
}

.legal-page h3 {
  margin: 1.35rem 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--text);
}

.legal-page p,
.legal-page li {
  color: var(--text-secondary);
}

.legal-page ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.25rem;
}

.legal-page li {
  margin-bottom: 0.35rem;
}

.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.25rem;
  font-size: 0.95rem;
}

.legal-page th,
.legal-page td {
  text-align: left;
  vertical-align: top;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.legal-page th {
  background: var(--bg-subtle);
  color: var(--text);
  font-weight: 600;
}

.legal-page .caps {
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.contact-card {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.contact-card a.email {
  font-size: 1.15rem;
  font-weight: 600;
  word-break: break-all;
}

@media (min-width: 720px) {
  .header-inner {
    padding: 1rem 0;
  }

  .hero {
    padding: 6rem 0 4rem;
  }

  .steps {
    gap: 1rem;
  }
}
