/* =========
   Base Theme
   ========= */
:root {
  --bg: #f7f8fa;
  --bg-soft: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --border: #e2e4e8;

  --primary: #ff5a27;
  --primary-deep: #e2314b;
  --primary-soft: #ffe1d5;

  --accent: #2563eb;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-subtle: 0 6px 18px rgba(15, 23, 42, 0.08);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html,
body {
  padding: 0;
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, #fff7ed 0, #f7f8fa 40%, #eef2ff 100%);
  scroll-behavior: smooth;
}

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

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

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

/* =========
   Layout
   ========= */

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

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

/* =========
   Header / Nav
   ========= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 248, 250, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 228, 232, 0.75);
}

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

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  box-shadow: var(--shadow-subtle);
  background: linear-gradient(135deg, var(--primary-deep), #ffa51a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-weight: 650;
  font-size: 1rem;
}

.logo-tagline {
  font-size: 0.75rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.nav-links a {
  position: relative;
  color: var(--muted);
  padding-bottom: 0.1rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary-deep), #ffa51a);
  transition: width 0.18s ease-out;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

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

.nav-pill {
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 0.8rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.85);
  display: none;
}

.nav-pill span {
  font-weight: 600;
  color: var(--primary-deep);
}

.btn-primary-sm {
  border-radius: var(--radius-pill);
  padding: 0.4rem 1rem;
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary-deep), #ffa51a);
  box-shadow: 0 12px 28px rgba(248, 113, 113, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.btn-primary-sm:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(248, 113, 113, 0.4);
}

.btn-primary-sm:active {
  transform: translateY(0);
  box-shadow: var(--shadow-subtle);
}

/* Header button labels (swap on small screens) */
.btn-label-full { display: inline; }
.btn-label-short { display: none; }

.button {
  background: linear-gradient(45deg, #ff5a27, #ff9f00);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
}

.button:hover {
  opacity: 0.9;
}

/* =========
   Hero
   ========= */

.hero {
  padding: 3.25rem 0 2.75rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.75rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.15rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  background: rgba(255, 237, 213, 0.9);
  border: 1px solid rgba(251, 146, 60, 0.35);
  color: #9a3412;
  margin-bottom: 0.9rem;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-deep), #ffa51a);
}

.hero-title {
  font-size: clamp(2.1rem, 3vw, 2.9rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 0.9rem;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary-deep), #ffa51a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 1.4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 1.3rem;
}

.btn-primary {
  border-radius: var(--radius-pill);
  padding: 0.75rem 1.6rem;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary-deep), #ffa51a);
  box-shadow: var(--shadow-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 52px rgba(15, 23, 42, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-subtle);
}

.btn-ghost {
  border-radius: var(--radius-pill);
  padding: 0.72rem 1.35rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.btn-ghost:hover {
  border-color: var(--primary-deep);
  color: var(--primary-deep);
  background: #ffffff;
}

.hero-footnote {
  font-size: 0.78rem;
  color: var(--muted);
}

.hero-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
  padding: 1.35rem 1.35rem 1.1rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  position: relative;
  overflow: hidden;
}

.hero-card-tag {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.hero-card-main {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
}

.pill {
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(209, 213, 219, 0.9);
  background: #f9fafb;
  color: #4b5563;
}

.pill.accent {
  border-color: rgba(248, 113, 113, 0.2);
  background: #fff7ed;
  color: #b91c1c;
}

.hero-metric-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.hero-metric {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: #f9fafb;
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.hero-glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 0 0, rgba(251, 146, 60, 0.15), transparent 60%),
              radial-gradient(circle at 100% 0, rgba(248, 113, 113, 0.16), transparent 60%);
  opacity: 0.7;
  pointer-events: none;
  mix-blend-mode: multiply;
}

/* =========
   Sections
   ========= */

section {
  padding: 2.5rem 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 1.75rem;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.section-title {
  font-size: 1.35rem;
  font-weight: 650;
  margin-bottom: 0.3rem;
}

.section-subtitle {
  font-size: 0.95rem;
  max-width: 30rem;
  margin: 0 auto;
  color: var(--muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.1rem 1.2rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-subtle);
}

.feature-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b21a8;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.feature-title {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

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

.feature-meta {
  font-size: 0.78rem;
  color: #9ca3af;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  padding: 0.35rem 0.8rem;
  background: rgba(239, 246, 255, 0.9);
  border-radius: 999px;
  color: #1d4ed8;
  border: 1px solid rgba(191, 219, 254, 0.9);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* =========
   Footer
   ========= */

.site-footer {
  margin-top: auto;
  border-top: 1px solid rgba(226, 228, 232, 0.8);
  background: rgba(248, 250, 252, 0.98);
}

.footer-inner {
  padding: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
}

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

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

/* =========
   LastList page specifics
   ========= */

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.25rem;
  align-items: flex-start;
}

.card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-subtle);
  padding: 1.2rem 1.3rem;
}

.card-header {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.card-body {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.list-clean {
  padding-left: 1.1rem;
  margin: 0.6rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.list-clean li {
  margin-bottom: 0.25rem;
}

/* =========
   Responsive
   ========= */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-pill {
    display: inline-flex;
  }

  .hero {
    padding-top: 2.2rem;
  }

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

@media (max-width: 600px) {
  /* Header tighten for small screens */
  .nav { padding: 0.65rem 0.1rem; gap: 0.75rem; }
  .nav-left { gap: 0.55rem; }
  .logo-tagline { display: none; }
  .logo-name { font-size: 0.95rem; }
  .nav-pill { display: none; }
  .btn-primary-sm { padding: 0.42rem 0.85rem; font-size: 0.84rem; }
  .lastlist-nav-icon { width: 34px; height: 34px; border-radius: 10px; }

  .shell {
    padding: 0 1rem;
  }

  .hero-grid {
    gap: 2rem;
  }

  .features-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    padding: 1.1rem 1rem 1rem;
  }
}
@media (max-width: 420px) {
  /* Extra-tight phones: shorten CTA label */
  .btn-label-full { display: none; }
  .btn-label-short { display: inline; }
}

/* =========
   LastList page theming
   ========= */

/* Slightly different background feel for LastList */
body.lastlist-body {
  background: radial-gradient(circle at top left, #ecfdf5 0, #f7f8fa 45%, #e0f2fe 100%);
}

/* Make the LastList logo block feel more app-like */
.logo-mark--lastlist {
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
}

/* Subtle tweak to the hero card on LastList */
.page--lastlist .hero-card {
  border-color: rgba(34, 197, 94, 0.35);
  box-shadow: 0 18px 45px rgba(15, 118, 110, 0.15);
}

/* LastList icon in the hero header */
.lastlist-hero-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-subtle);
}

/* Make the LastList hero pills lean more green/blue */
.page--lastlist .pill.accent {
  border-color: rgba(34, 197, 94, 0.35);
  background: #ecfdf5;
  color: #166534;
}
/* Nav icon for LastList page */
.lastlist-nav-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-subtle);
  flex-shrink: 0;
}
.braatz-nav-icon {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  box-shadow: var(--shadow-subtle);
  flex-shrink: 0;
}