/* ───────────────────────────────────────
   LFCubed — site styles (light theme)
   Clean professional palette to match
   the navy-on-white logo.
   ─────────────────────────────────────── */

:root {
  --bg: #FFFFFF;
  --bg-elevated: #F8FAFC;
  --bg-card: #FFFFFF;
  --border: #E2E8F0;
  --border-strong: #CBD5E1;
  --text: #1E293B;
  --text-muted: #475569;
  --text-dim: #64748B;
  --navy: #1E3A5F;
  /* matches the logo cube color */
  --accent: #2563EB;
  /* bright blue for CTAs */
  --accent-hover: #1D4ED8;
  --accent-glow: rgba(37, 99, 235, 0.12);
  --amber: #B45309;
  /* price highlight */
  --amber-soft: #FEF3C7;
  --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-card-hover: 0 8px 20px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.accent {
  color: var(--accent);
}

/* ─── Header ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.01em;
  color: var(--navy);
}

.logo-mark {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.logo-text {
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
  font-size: 14px;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  transition: color .15s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

/* ─── Hero ─── */
.hero {
  padding: 80px 0 90px;
  text-align: center;
  background: radial-gradient(ellipse at center top, rgba(37, 99, 235, 0.06), transparent 60%);
}

.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 0 auto 48px;
}

.hero-cube {
  width: 110px;
  height: auto;
}

.hero-wordmark {
  width: 240px;
  height: auto;
}

.hero-tagline {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
  margin-top: 4px;
}

.hero h1 {
  font-size: clamp(36px, 5.5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 22px;
}

.hero h1 .accent {
  color: var(--accent);
  display: inline-block;
  font-size: 0.58em;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-top: 12px;
}

.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 36px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.hero-note {
  font-size: 13px;
  color: var(--text-dim);
  max-width: 580px;
  margin: 0 auto;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: all .15s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-ghost {
  background: white;
  color: var(--navy);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-tier {
  display: block;
  margin-top: 22px;
  text-align: center;
  background: white;
  color: var(--navy);
  border: 1px solid var(--border-strong);
}

.btn-tier:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

/* ─── Section ─── */
.section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.section-alt {
  background: var(--bg-elevated);
}

.section h2 {
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 8px;
  text-align: center;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 48px;
}

/* ─── Tiers ─── */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 60px;
}

@media (max-width: 860px) {
  .tiers {
    grid-template-columns: 1fr;
  }
}

.tier {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: box-shadow .2s ease, transform .2s ease;
}

.tier:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.tier.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-card-hover);
}

.tier .badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tier h3 {
  font-size: 18px;
  margin-bottom: 4px;
  color: var(--navy);
}

.tier .price {
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
  margin: 8px 0 4px;
  letter-spacing: -0.02em;
}

.tier .price span {
  color: var(--text-dim);
  font-size: 18px;
  font-weight: 500;
}

.tier-tag {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 18px;
}

.tier ul {
  list-style: none;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tier li {
  font-size: 14px;
  color: var(--text);
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}

.tier li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.tier li em {
  font-style: normal;
  color: var(--text-dim);
}

.tier li strong {
  color: var(--accent);
  font-weight: 600;
}

.tier-excludes {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.55;
}

.tier-excludes em {
  font-style: italic;
}

/* ─── Scope ceiling note (amber callout below tiers) ─── */
.scope-ceiling {
  max-width: 760px;
  margin: 0 auto 60px;
  padding: 18px 24px;
  background: var(--amber-soft);
  border-left: 3px solid var(--amber);
  border-radius: 4px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
}

.scope-ceiling strong {
  color: var(--amber);
  font-weight: 700;
}

/* ─── "What counts as a screen?" subsection ─── */
.scope-clarity {
  max-width: 760px;
  margin: 60px auto 0;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.scope-clarity h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
  text-align: center;
}

.scope-clarity ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.scope-clarity li {
  font-size: 14px;
  color: var(--text);
  padding-left: 22px;
  position: relative;
  line-height: 1.55;
}

.scope-clarity li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ─── Add-ons ─── */
.addon-title {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
}

.addons {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.addons td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text);
}

.addons tr:last-child td {
  border-bottom: none;
}

.addons .price-cell {
  text-align: right;
  font-weight: 700;
  color: var(--amber);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* ─── Process ─── */
.process {
  list-style: none;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.process li {
  display: flex;
  gap: 22px;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--navy);
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.process h4 {
  font-size: 17px;
  margin-bottom: 4px;
  color: var(--navy);
}

.process p {
  color: var(--text-muted);
  font-size: 15px;
}

/* ─── Needs ─── */
.needs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

@media (max-width: 720px) {
  .needs {
    grid-template-columns: 1fr;
  }
}

.need {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px 24px;
  box-shadow: var(--shadow-card);
}

.need h4 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--accent);
}

.need p {
  color: var(--text-muted);
  font-size: 14px;
}

.needs-cta {
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
}

.needs-cta a {
  color: var(--accent);
  font-weight: 600;
}

/* ─── FAQ ─── */
.faq {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.faq details[open] {
  border-color: var(--accent);
  box-shadow: var(--shadow-card);
}

.faq summary {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color .15s ease;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover {
  color: var(--accent);
}

.faq summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--text-dim);
  flex-shrink: 0;
  transition: color .15s ease;
}

.faq details[open] summary::after {
  content: "−";
  color: var(--accent);
}

.faq-answer {
  padding: 0 20px 18px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ─── About ─── */
.about-text {
  max-width: 720px;
  margin: 0 auto 18px;
  text-align: center;
  color: var(--text-muted);
  font-size: 16px;
}

.about-text a {
  color: var(--accent);
  font-weight: 600;
}

/* ─── Portfolio grid (in About section) ─── */
.portfolio {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 32px auto 40px;
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 12px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.portfolio-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.12);
}

.portfolio-card img {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  margin-bottom: 12px;
  object-fit: cover;
}

.portfolio-card h4 {
  margin: 0 0 4px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.portfolio-card p {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

@media (max-width: 800px) {
  .portfolio {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 500px) {
  .portfolio {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ─── Selective inquiries line (under contact section-sub) ─── */
.selective-line {
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
  font-style: italic;
  margin: -36px auto 36px;
  max-width: 600px;
}

/* ─── Contact form ─── */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: white;
}

.form-row textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

.form-row select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23475569' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-submit {
  width: 100%;
  margin-top: 8px;
  padding: 14px;
  font-size: 15px;
}

.form-fallback {
  text-align: center;
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 13px;
}

.form-fallback a {
  color: var(--accent);
  font-weight: 600;
}

.form-fallback a:hover {
  text-decoration: underline;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-banner {
  max-width: 600px;
  margin: 0 auto 18px;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.form-banner-success {
  background: #ECFDF5;
  border: 1px solid #6EE7B7;
  color: #065F46;
}

.form-banner-error {
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #991B1B;
}

.form-banner a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
}

/* ─── Footer ─── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
  background: var(--bg-elevated);
}

.site-footer a {
  color: var(--text-muted);
}

.site-footer a:hover {
  color: var(--accent);
}

/* ─── Getting started page ─── */
.docs {
  padding: 80px 0;
}

.docs h1 {
  font-size: clamp(32px, 4.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 8px;
}

.docs .lead {
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 48px;
  max-width: 720px;
}

.docs h2 {
  font-size: 24px;
  font-weight: 700;
  margin-top: 56px;
  margin-bottom: 18px;
  letter-spacing: -0.015em;
  color: var(--navy);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 8px;
  display: inline-block;
}

.docs h3 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--navy);
}

.docs p,
.docs li {
  color: var(--text);
  font-size: 15px;
  margin-bottom: 14px;
  max-width: 760px;
}

.docs ol,
.docs ul {
  padding-left: 24px;
}

.docs ol li,
.docs ul li {
  margin-bottom: 8px;
}

.docs .note {
  background: var(--amber-soft);
  border-left: 3px solid var(--amber);
  padding: 14px 20px;
  margin: 20px 0;
  border-radius: 4px;
  color: var(--text);
  font-size: 14px;
  max-width: 760px;
}

.docs .note strong {
  color: var(--amber);
}

.docs a {
  color: var(--accent);
}

.docs a:hover {
  text-decoration: underline;
}

.docs a.btn-primary {
  color: white;
}

.docs a.btn-primary:hover {
  text-decoration: none;
}

.docs .back {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--text-muted);
  font-size: 14px;
}

.docs .back:hover {
  color: var(--accent);
}