:root {
  color-scheme: light;
  --background: #f7fafd;
  --surface: #ffffff;
  --surface-soft: #f4f9ff;
  --surface-accent: #eef6ff;
  --line: #d9e5f3;
  --ink: #14253f;
  --muted: #6c757d;
  --primary: #007bff;
  --secondary: #18a2b7;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(0, 123, 255, 0.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(24, 162, 183, 0.11), transparent 24%),
    var(--background);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "DM Serif Display", serif;
}

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

code,
pre {
  font-family: "Cascadia Code", Consolas, monospace;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  display: inline-block;
  vertical-align: middle;
}

.hero-glow {
  position: absolute;
  border-radius: 9999px;
  filter: blur(120px);
  opacity: 0.28;
}

.hero-glow-one {
  top: -10rem;
  left: -10rem;
  width: 30rem;
  height: 30rem;
  background: rgba(0, 123, 255, 0.18);
}

.hero-glow-two {
  right: -12rem;
  bottom: -10rem;
  width: 32rem;
  height: 32rem;
  background: rgba(24, 162, 183, 0.16);
}

.mesh-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(0, 123, 255, 0.06) 1px, transparent 0);
  background-size: 34px 34px;
}

.marketing-shell,
.app-shell,
.auth-shell {
  position: relative;
}

.glass-panel {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(20, 37, 63, 0.08);
}

.panel-outline {
  border: 1px solid rgba(217, 229, 243, 0.92);
}

.section-card {
  border: 1px solid rgba(217, 229, 243, 0.92);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 40px rgba(20, 37, 63, 0.05);
}

.gradient-text {
  background: linear-gradient(135deg, #007bff 0%, #18a2b7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-home-link,
.brand-name-link {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 1rem;
  object-fit: cover;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}

.brand-name {
  font-family: "DM Serif Display", serif;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--ink);
}

.brand-powered {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.qrplus-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.05rem;
}

.font-fredoka {
  font-family: "Fredoka", sans-serif;
}

.font-dm-serif {
  font-family: "DM Serif Display", serif;
}

.field-shell {
  border: 1px solid rgba(217, 229, 243, 0.96);
  background: #ffffff;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.field-shell:focus-within {
  border-color: rgba(0, 123, 255, 0.4);
  box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.08);
  transform: translateY(-1px);
}

.app-nav-link {
  color: var(--muted);
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.app-nav-link:hover {
  color: var(--ink);
  background: rgba(0, 123, 255, 0.06);
}

.app-nav-link-active {
  color: var(--primary);
  background: rgba(0, 123, 255, 0.08);
  border-color: rgba(0, 123, 255, 0.14);
}
