:root {
  color-scheme: light;
  --bg: #fbf8f1;
  --surface: #ffffff;
  --surface-muted: #ede7dc;
  --surface-soft: #f5f0e8;
  --ink: #2d2a3e;
  --muted: #6b6480;
  --muted-soft: #9b93b0;
  --line: #d4cfc6;
  --lavender: #b8a9d4;
  --blue: #a1c6e7;
  --mint: #a8d8b9;
  --gold: #ffd166;
  --max-width: 72rem;
  --content-width: 48rem;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgb(184 169 212 / 22%), transparent 30rem),
    radial-gradient(circle at 88% 0%, rgb(161 198 231 / 24%), transparent 28rem),
    var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

/* Layout */

.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgb(251 248 241 / 86%);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  height: 5rem;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 2.25rem;
  width: auto;
  display: block;
}

.nav {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

.nav a {
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--muted);
  transition: background 180ms ease, color 180ms ease;
}

.nav a:hover {
  background: white;
  color: var(--ink);
}

.nav a.active {
  background: var(--ink);
  color: white;
}

.main {
  flex: 1;
  padding: 2.5rem 1.25rem;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer {
  border-top: 1px solid var(--line);
  background: rgb(251 248 241 / 70%);
  backdrop-filter: blur(18px);
  margin-top: 4rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 2rem 0;
  font-size: 0.875rem;
  color: var(--muted);
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-nav {
  display: flex;
  gap: 1rem;
}

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

/* Components */

.shell-card {
  border: 1px solid var(--line);
  background: rgb(255 255 255 / 82%);
  box-shadow: 0 18px 54px rgb(45 42 62 / 7%);
  backdrop-filter: blur(18px);
  border-radius: 1.5rem;
  padding: 2rem;
}

.brand-gradient {
  background: linear-gradient(135deg, var(--lavender), var(--blue), var(--mint), var(--gold));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 150ms ease;
  border: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--ink);
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
}

.eyebrow {
  display: inline-flex;
  border-radius: 9999px;
  border: 1px solid var(--line);
  background: white;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--muted);
}

/* Home */

.hero {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem 0;
}

@media (min-width: 1024px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 1.25rem 0;
  max-width: 30ch;
}

.hero p.lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 56ch;
  margin: 0 0 2rem;
}

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

.hero-card {
  text-align: center;
  padding: 2.5rem;
}

.hero-card img {
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
  display: block;
}

.hero-card .note {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}

/* Feature grid */

.section {
  padding: 2rem 0;
}

.section h2 {
  font-size: 1.875rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.section p.section-lead {
  color: var(--muted);
  max-width: 56ch;
  margin: 0 0 2rem;
}

.feature-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  border-radius: 1.5rem;
  padding: 1.5rem;
}

.feature .pill {
  display: block;
  height: 0.5rem;
  width: 5rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
}

.feature h3 {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
}

.feature p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

/* Closing CTA */

.cta-banner {
  display: grid;
  gap: 1.5rem;
  padding: 2rem;
}

@media (min-width: 768px) {
  .cta-banner {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 3rem;
  }
}

.cta-banner h2 {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 0 0 0.25rem;
}

.cta-banner p {
  margin: 0;
  color: var(--muted);
}

/* Article pages */

.article {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 2.5rem 0;
}

.article header {
  margin-bottom: 2rem;
}

.article h1 {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}

.article header p {
  color: var(--muted);
  margin: 0;
}

.article h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 2rem 0 0.5rem;
}

.article p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 1rem;
}

.article a.inline {
  text-decoration: underline;
}

.callout {
  border-radius: 1rem;
  padding: 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
  border-left: 4px solid var(--gold);
  background: rgb(255 255 255 / 82%);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 54px rgb(45 42 62 / 7%);
  margin-bottom: 2rem;
}

.callout strong {
  color: var(--ink);
}

.contact-card {
  margin-bottom: 1.25rem;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted-soft);
  margin: 0 0 0.5rem;
}

.contact-email {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  text-decoration: underline;
  text-decoration-color: var(--lavender);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  margin: 0;
}

.contact-company {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0;
}

.delete-list {
  margin: 0 0 1rem 1.25rem;
  color: var(--muted);
  line-height: 1.7;
}
