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

body {
  margin: 0;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
  color: #374151;
  background: #f9fafb;
  line-height: 1.6;
}

a {
  color: #4f46e5;
  text-decoration: none;
}

a:hover {
  color: #4338ca;
  text-decoration: underline;
}

.site-header {
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}

.site-header-inner,
.site-main,
.site-footer-inner {
  max-width: 48rem;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

.site-header-wide,
.site-footer-wide,
.site-main-wide {
  max-width: 56rem;
}

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

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.site-nav a {
  color: #6b7280;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current='page'] {
  color: #111827;
  text-decoration: none;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #111827;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
  color: #111827;
}

.logo svg,
.logo img {
  color: #4f46e5;
  flex-shrink: 0;
}

.site-main {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.site-main h1 {
  margin: 0 0 1.5rem;
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
}

.site-main h2 {
  margin: 2rem 0 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
}

.site-main p,
.site-main li {
  margin: 0 0 0.75rem;
}

.site-main ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.muted {
  color: #6b7280;
  font-size: 0.875rem;
}

.hero {
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem 3rem;
}

.hero-logo img {
  width: 3rem;
  height: 3rem;
}

.section {
  padding: 3rem 1.5rem;
}

.section-muted {
  background: #fff;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.section-inner {
  max-width: 48rem;
  margin: 0 auto;
}

.section h2 {
  margin: 0 0 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  text-align: center;
}

.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.card {
  padding: 1.25rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  background: #fff;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
}

.card p {
  margin: 0;
  color: #4b5563;
  font-size: 0.9375rem;
}

.steps {
  margin: 0;
  padding-left: 1.25rem;
  color: #374151;
}

.steps li {
  margin-bottom: 0.75rem;
}

.platform-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.platform-list li {
  padding: 0.5rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #374151;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.hero-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: #111827;
  font-size: 2rem;
  font-weight: 700;
}

.hero-logo svg,
.hero-logo img {
  width: 2.5rem;
  height: 2.5rem;
  color: #4f46e5;
}

.hero-tagline {
  max-width: 28rem;
  margin: 0 0 2rem;
  color: #4b5563;
  font-size: 1.125rem;
}

.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  background: #4f46e5;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}

.btn-primary:hover {
  background: #4338ca;
  color: #fff;
  text-decoration: none;
}

.btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #374151;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}

.btn-secondary:hover {
  background: #f3f4f6;
  color: #111827;
  text-decoration: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.hero-note {
  margin-top: 1.25rem;
  max-width: 28rem;
}

.section-cta {
  margin-top: 1.5rem;
  text-align: center;
}

.lead {
  font-size: 1.0625rem;
  color: #4b5563;
  margin: 0 0 2rem;
}

.product-section {
  margin-bottom: 2.5rem;
}

.product-section h2 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
}

.product-section p {
  margin: 0 0 1rem;
}

.screenshot-figure {
  margin: 0;
}

.screenshot-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  background: #fff;
}

.screenshot-figure figcaption {
  margin-top: 0.5rem;
  color: #6b7280;
  font-size: 0.875rem;
  text-align: center;
}

.screenshot-figure-featured img {
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.12);
}

.screenshot-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.product-cta {
  text-align: center;
  padding-top: 1rem;
}

.product-cta .muted {
  margin-top: 1rem;
}

.signin-widget {
  position: relative;
}

.signin-trigger {
  border: none;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
}

.signin-trigger.btn-primary:hover {
  text-decoration: none;
}

.signin-trigger.btn-secondary:hover {
  text-decoration: none;
}

.signin-form {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 14rem;
  padding: 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.signin-form[hidden] {
  display: none;
}

.signin-widget--inline .signin-form {
  position: static;
  margin-top: 0.75rem;
  min-width: 0;
  width: 100%;
  max-width: 16rem;
}

.signin-input {
  width: 100%;
  padding: 0.5rem 0.625rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font: inherit;
  font-size: 0.9375rem;
}

.signin-input:focus {
  outline: 2px solid #4f46e5;
  outline-offset: 0;
  border-color: #4f46e5;
}

.signin-error {
  margin: 0;
  font-size: 0.8125rem;
  color: #dc2626;
}

.signin-error[hidden] {
  display: none;
}

.signin-pending {
  opacity: 0.7;
  cursor: wait;
}

.signin-disabled,
.btn-primary.signin-disabled {
  background: #9ca3af;
  color: #fff;
  opacity: 0.7;
  cursor: not-allowed;
  text-decoration: none;
}

.signin-disabled:hover,
.btn-primary.signin-disabled:hover {
  background: #9ca3af;
  color: #fff;
  text-decoration: none;
}

.site-footer {
  border-top: 1px solid #e5e7eb;
  background: #fff;
}

.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: #6b7280;
  font-size: 0.875rem;
}

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

.site-footer nav a {
  color: #6b7280;
}

.site-footer nav a:hover {
  color: #111827;
}
