/* Invoice Anything — marketing page. Palette + type match the app (apps/app/src/constants/theme.ts). */

:root {
  --text: #000000;
  --text-secondary: #60646C;
  --background: #ffffff;
  --background-element: #F0F0F3;
  --border: #E4E4E9;
  --primary: #208AEF;
  --primary-pressed: #1C7AD4;
  --on-primary: #ffffff;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-display: 'Spline Sans', var(--font-body);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.2;
  text-wrap: balance;
}

/* Hero */

.hero {
  text-align: center;
  padding: 56px 0 72px;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(32, 138, 239, 0.10), transparent);
}

.hero-logo-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 24px;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280px;
  height: 280px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-logo {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 28px;
  box-shadow: 0 8px 32px rgba(32, 138, 239, 0.35);
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-sub {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 32px;
}

.button {
  display: inline-block;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--on-primary);
  background: var(--primary);
  border-radius: 999px;
  padding: 14px 32px;
  min-height: 44px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.button:hover,
.button:active {
  background: var(--primary-pressed);
}

/* Sections */

section {
  padding: 48px 0;
}

section h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  margin-bottom: 28px;
  text-align: center;
}

/* Step + feature cards */

.steps,
.features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.card {
  background: var(--background-element);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.98rem;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--on-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 12px;
}

/* Different */

#different {
  text-align: center;
}

#different .lede {
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

/* Footer */

footer {
  border-top: 1px solid var(--border);
  margin-top: 24px;
  padding: 32px 0;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Wider screens */

@media (min-width: 700px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-three {
    grid-template-columns: repeat(3, 1fr);
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}
