/* Tabletop Hub – warm editorial theme */
:root {
  --lp-bg: #f8f6f2;
  --lp-surface: #fffefb;
  --lp-card: #ffffff;
  --lp-border: #e8e4dc;
  --lp-text: #2c2825;
  --lp-muted: #5c5650;
  --lp-dim: #8a837a;
  --lp-accent: #c45c3e;
  --lp-accent-soft: rgba(196, 92, 62, 0.12);
  --lp-radius: 8px;
  --lp-radius-lg: 12px;
  --lp-max: 960px;
  --lp-font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --lp-font-head: Georgia, 'Times New Roman', serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--lp-font);
  background: var(--lp-bg);
  color: var(--lp-text);
  line-height: 1.65;
  font-size: 1rem;
  min-height: 100vh;
}

a { color: var(--lp-accent); text-decoration: none; transition: color .2s, background .2s; }
a:hover { color: #a04a32; }
a:focus-visible { outline: 2px solid var(--lp-accent); outline-offset: 2px; border-radius: 4px; }

/* Header */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 246, 242, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--lp-border);
}
.lp-header-inner {
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  gap: 1rem;
}
.lp-logo {
  font-family: var(--lp-font-head);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--lp-text);
}
.lp-logo:hover { color: var(--lp-accent); }

.lp-nav { display: flex; align-items: center; gap: .15rem; flex-wrap: wrap; }
.lp-nav-link {
  padding: .5rem .75rem;
  color: var(--lp-muted);
  font-size: .9rem;
  font-weight: 500;
  border-radius: var(--lp-radius);
  transition: color .2s, background .2s;
}
.lp-nav-link:hover { color: var(--lp-accent); background: var(--lp-accent-soft); }
.lp-nav-link.is-active { color: var(--lp-accent); background: var(--lp-accent-soft); }

.lp-nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--lp-border);
  background: var(--lp-surface);
  border-radius: var(--lp-radius);
  color: var(--lp-text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .lp-nav-toggle { display: flex; }
  .lp-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--lp-surface); flex-direction: column; padding: 1rem; border-bottom: 1px solid var(--lp-border); }
  .lp-nav.is-open { display: flex; }
}

/* Main */
.lp-main { padding: 2rem 0 4rem; min-height: 60vh; }
.lp-container { max-width: var(--lp-max); margin: 0 auto; padding: 0 1.25rem; }

/* Typography */
.lp-hero { margin-bottom: 2rem; }
.lp-hero h1 {
  font-family: var(--lp-font-head);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  margin: 0 0 .5rem;
  line-height: 1.25;
  color: var(--lp-text);
}
.lp-hero p { color: var(--lp-muted); margin: 0; font-size: 1.05rem; max-width: 560px; }

.lp-section { margin-bottom: 2.5rem; }
.lp-section h2 { font-family: var(--lp-font-head); font-size: 1.3rem; margin: 0 0 1rem; color: var(--lp-text); font-weight: 700; }
.lp-section p { color: var(--lp-muted); margin: 0 0 1rem; line-height: 1.7; }

/* Cards */
.lp-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.lp-card {
  background: var(--lp-card);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius-lg);
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  transition: box-shadow .2s, border-color .2s;
}
.lp-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); border-color: var(--lp-accent); }
.lp-card h3 { font-family: var(--lp-font-head); font-size: 1.1rem; margin: 0 0 .5rem; color: var(--lp-accent); }
.lp-card p { color: var(--lp-muted); margin: 0; font-size: .94rem; }

/* Buttons */
.lp-btn {
  display: inline-block;
  padding: .6rem 1.2rem;
  background: var(--lp-accent);
  color: #fff;
  font-weight: 600;
  font-size: .9rem;
  border: none;
  border-radius: var(--lp-radius);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.lp-btn:hover { background: #a04a32; color: #fff; }
.lp-btn-secondary { background: var(--lp-surface); color: var(--lp-text); border: 1px solid var(--lp-border); }
.lp-btn-secondary:hover { background: var(--lp-card); border-color: var(--lp-accent); color: var(--lp-accent); }

/* Forms */
.lp-form-group { margin-bottom: 1.25rem; }
.lp-form-group label { display: block; margin-bottom: .4rem; color: var(--lp-muted); font-size: .9rem; font-weight: 500; }
.lp-form-group input,
.lp-form-group textarea {
  width: 100%;
  max-width: 420px;
  padding: .65rem 1rem;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  color: var(--lp-text);
  font-size: 1rem;
  font-family: inherit;
}
.lp-form-group input:focus,
.lp-form-group textarea:focus {
  outline: none;
  border-color: var(--lp-accent);
  box-shadow: 0 0 0 3px var(--lp-accent-soft);
}
.lp-form-group textarea { min-height: 120px; resize: vertical; }

/* Search (fake) */
.lp-search { margin-bottom: 2rem; }
.lp-search-form {
  display: flex;
  gap: .5rem;
  max-width: 420px;
}
.lp-search-form input {
  flex: 1;
  padding: .6rem 1rem;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  color: var(--lp-text);
  font-size: 1rem;
}
.lp-search-form input:focus { outline: none; border-color: var(--lp-accent); }
.lp-search-form button { padding: .6rem 1.2rem; }

/* Footer */
.lp-footer {
  margin-top: 3rem;
  padding: 2.5rem 0 1.5rem;
  background: var(--lp-surface);
  border-top: 1px solid var(--lp-border);
}
.lp-footer-inner { max-width: var(--lp-max); margin: 0 auto; padding: 0 1.25rem; }
.lp-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 700px) { .lp-footer-grid { grid-template-columns: 1fr; } }
.lp-footer-brand .lp-footer-logo { font-family: var(--lp-font-head); font-weight: 700; font-size: 1.1rem; color: var(--lp-text); display: block; margin-bottom: .25rem; }
.lp-footer-tagline { color: var(--lp-muted); font-size: .9rem; margin: 0; }
.lp-footer h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--lp-dim); margin: 0 0 .75rem; }
.lp-footer ul { list-style: none; margin: 0; padding: 0; }
.lp-footer li { margin-bottom: .4rem; }
.lp-footer a { color: var(--lp-muted); }
.lp-footer a:hover { color: var(--lp-accent); }
.lp-footer-external a { color: var(--lp-muted); }
.lp-footer-bottom { padding-top: 1.5rem; border-top: 1px solid var(--lp-border); }
.lp-footer-bottom p { margin: 0; color: var(--lp-dim); font-size: .85rem; }

/* Breadcrumb */
.lp-breadcrumb { font-size: .85rem; color: var(--lp-muted); margin-bottom: 1.5rem; }
.lp-breadcrumb a { color: var(--lp-accent); }
.lp-breadcrumb span { margin: 0 .35rem; opacity: .7; }

/* List */
.lp-list { padding-left: 1.25rem; color: var(--lp-muted); }
.lp-list li { margin-bottom: .4rem; line-height: 1.6; }

/* Contact thank-you card */
.lp-card.lp-thanks { max-width: 480px; }

/* Utility */
.lp-muted { color: var(--lp-muted); }
.lp-text-small { font-size: .9rem; }
