:root {
  color-scheme: light;
  --orange: #d65a24;
  --orange-dark: #a94118;
  --ink: #171717;
  --cream: #fff9f0;
  --white: #fff;
  --beige: #f0e9de;
  --muted: #706b65;
  --line: #eae3d9;
  --green: #2e6c52;
  --shadow: 0 16px 48px rgba(49, 37, 24, 0.08);
  font-family: "DM Sans", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
}
body,
button,
input,
select,
textarea {
  font-family: "DM Sans", sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font-size: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}
.page-shell {
  min-height: 65vh;
}
.announcement {
  background: var(--ink);
  color: #fff;
  font-size: 12px;
}
.announcement-inner {
  min-height: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.announcement a {
  color: #ffd1b6;
}
.connection-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 10px;
  color: #f0c2a8;
  font-size: 10px;
}
.connection-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d3a469;
}
.connection-status[data-state="connected"] {
  color: #a9ddb4;
}
.connection-status[data-state="connected"]::before {
  background: #65bf7d;
}
.connection-status[data-state="schema-missing"],
.connection-status[data-state="disconnected"] {
  color: #ffb79b;
}
.connection-status[data-state="schema-missing"]::before,
.connection-status[data-state="disconnected"]::before {
  background: #ed7452;
}
.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #e77746;
  border-radius: 50%;
  margin-right: 7px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 249, 240, 0.95);
  border-bottom: 1px solid rgba(234, 227, 217, 0.9);
  backdrop-filter: blur(14px);
}
.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-mark {
  width: 39px;
  height: 39px;
  border-radius: 12px;
  display: grid;
  place-content: center;
  color: #fff;
  font:
    800 17px Manrope,
    sans-serif;
  background: var(--orange);
  letter-spacing: -2px;
}
.brand-mark span {
  font-size: 9px;
  letter-spacing: -0.5px;
}
.brand-name {
  font:
    800 15px Manrope,
    sans-serif;
  letter-spacing: -0.5px;
}
.brand-name > span {
  color: var(--orange);
}
.brand-name small {
  display: block;
  color: var(--muted);
  font:
    500 10px "DM Sans",
    sans-serif;
  letter-spacing: 0.1px;
  margin-top: 2px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #514d48;
  font-size: 12px;
  font-weight: 600;
}
.main-nav a,
.nav-login {
  transition: color 0.18s ease;
}
.main-nav a:hover,
.nav-login:hover {
  color: var(--orange);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 12px;
  font-weight: 700;
}
.nav-logout {
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.nav-logout:hover {
  color: var(--orange-dark);
}
.nav-logout[hidden] {
  display: none;
}
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border: 1px solid var(--orange);
  border-radius: 9px;
  background: var(--orange);
  color: white;
  font-weight: 700;
  font-size: 13px;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}
.button:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(214, 90, 36, 0.19);
}
.button-small {
  padding: 10px 14px;
  font-size: 12px;
}
.button-outline {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}
.button-outline:hover {
  color: var(--orange);
  border-color: var(--orange);
  background: #fff;
}
.button-quiet {
  border: 0;
  color: var(--orange-dark);
  background: transparent;
  padding: 8px 0;
  font-weight: 700;
}
.hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 76px;
  background: var(--cream);
}
.hero:before {
  content: "";
  position: absolute;
  width: 410px;
  height: 410px;
  border: 1px solid rgba(214, 90, 36, 0.12);
  border-radius: 50%;
  right: -145px;
  top: -230px;
  box-shadow:
    0 0 0 42px rgba(214, 90, 36, 0.025),
    0 0 0 88px rgba(214, 90, 36, 0.02);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.72fr);
  align-items: center;
  gap: 70px;
}
.eyebrow {
  color: var(--orange-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.eyebrow:before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--orange);
}
h1,
h2,
h3,
h4 {
  font-family: Manrope, sans-serif;
}
.hero h1 {
  font-size: clamp(42px, 5.2vw, 68px);
  line-height: 1.04;
  letter-spacing: -3.8px;
  margin: 20px 0 18px;
  max-width: 700px;
}
.hero h1 em {
  color: var(--orange);
  font-style: normal;
}
.hero-copy {
  max-width: 610px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}
.search-box {
  display: flex;
  margin-top: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 7px;
  box-shadow: 0 12px 30px rgba(49, 37, 24, 0.06);
}
.search-box input {
  flex: 1;
  border: 0;
  outline: 0;
  min-width: 0;
  padding: 10px 13px;
  background: transparent;
}
.search-box .button {
  border-radius: 8px;
}
.search-tabs {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.search-tabs a {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 11px;
}
.search-tabs a:hover {
  color: var(--orange-dark);
  border-color: #e9b49b;
}
.hero-art {
  min-height: 315px;
  position: relative;
  display: grid;
  place-items: center;
}
.orbit {
  position: absolute;
  width: 290px;
  height: 290px;
  border: 1px solid #e8d9c8;
  border-radius: 50%;
}
.orbit:before,
.orbit:after {
  content: "";
  position: absolute;
  inset: 25px;
  border: 1px dashed #e6d3bf;
  border-radius: 50%;
}
.orbit:after {
  inset: 58px;
  border-style: solid;
  opacity: 0.7;
}
.art-center {
  width: 170px;
  height: 170px;
  background: var(--orange);
  color: white;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 42% 58% 58% 42% / 48% 42% 58% 52%;
  transform: rotate(-7deg);
  box-shadow: 0 25px 55px rgba(214, 90, 36, 0.24);
}
.art-center strong {
  font:
    800 30px Manrope,
    sans-serif;
  transform: rotate(7deg);
  letter-spacing: -2px;
}
.art-center small {
  margin-top: 4px;
  transform: rotate(7deg);
  font-size: 10px;
  opacity: 0.9;
}
.float-chip {
  position: absolute;
  padding: 12px 15px;
  display: flex;
  gap: 9px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  font-size: 11px;
  font-weight: 700;
  animation: float 5s ease-in-out infinite;
}
.float-chip b {
  width: 29px;
  height: 29px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #fff2e9;
  color: var(--orange);
  font-size: 15px;
}
.chip-one {
  left: 0;
  top: 40px;
}
.chip-two {
  right: -12px;
  top: 112px;
  animation-delay: 0.6s;
}
.chip-three {
  left: 8px;
  bottom: 25px;
  animation-delay: 1.2s;
}
@keyframes float {
  50% {
    transform: translateY(-7px);
  }
}
.section {
  padding: 70px 0;
}
.section-white {
  background: #fff;
}
.section-beige {
  background: #f8f2e9;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 27px;
}
.section-head h2 {
  margin: 8px 0 0;
  font-size: clamp(25px, 3vw, 36px);
  letter-spacing: -1.6px;
}
.section-head p {
  color: var(--muted);
  margin: 9px 0 0;
  font-size: 13px;
  line-height: 1.6;
}
.text-link {
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}
.category-card {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 15px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border 0.2s;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #e7b49b;
}
.category-icon {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 11px;
  background: #fff1e8;
  color: var(--orange);
  font-size: 17px;
}
.category-card strong {
  font-size: 12px;
}
.category-card small {
  color: var(--muted);
  font-size: 10px;
  margin-top: 5px;
}
.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}
.content-card {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  padding: 21px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}
.content-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.content-card .card-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
}
.content-card h3 {
  margin: 17px 0 8px;
  font-size: 17px;
  letter-spacing: -0.5px;
}
.content-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.content-card .card-bottom {
  margin-top: auto;
  padding-top: 18px;
  color: var(--orange-dark);
  font-size: 11px;
  font-weight: 700;
}
.offer-image {
  display: block;
  width: 100%;
  height: 150px;
  margin: -4px 0 16px;
  border-radius: 9px;
  object-fit: cover;
  background: var(--beige);
}
.offer-card .data-bottom {
  align-items: flex-end;
}
.tag {
  display: inline-flex;
  width: fit-content;
  padding: 5px 8px;
  border-radius: 5px;
  color: var(--orange-dark);
  background: #fff0e6;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  font-size: 9px;
  font-weight: 800;
}
.split-cta {
  padding: 35px 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  background: var(--ink);
  color: #fff;
  border-radius: 16px;
}
.split-cta h2 {
  margin: 0 0 9px;
  font-size: 27px;
  letter-spacing: -1px;
}
.split-cta p {
  margin: 0;
  max-width: 590px;
  color: #bbb5ad;
  font-size: 13px;
  line-height: 1.65;
}
.why-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #fff0e6;
  color: var(--orange-dark);
  font-size: 18px;
  font-weight: 700;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.why-card {
  min-height: 174px;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.why-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.why-card h3 {
  margin: 15px 0 7px;
  font-size: 15px;
  letter-spacing: -0.3px;
}
.why-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}
.privacy-panel {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(120deg, #fff 65%, #fff6ef);
}
.privacy-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font-size: 23px;
}
.privacy-panel h2 {
  margin: 8px 0 8px;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -1px;
}
.privacy-panel p {
  max-width: 850px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}
.seo-intro h2,
.faq-section h2 {
  margin: 8px 0 16px;
  font-size: clamp(25px, 3vw, 36px);
  letter-spacing: -1.3px;
}
.seo-intro p {
  max-width: 920px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.seo-intro a,
.faq-section a,
.landing-copy a {
  color: var(--orange-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.seo-content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.seo-content-grid article {
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.seo-content-grid h3 {
  margin: 0 0 9px;
  font-size: 16px;
}
.seo-content-grid p,
.landing-copy p,
.landing-copy li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.faq-section {
  max-width: 900px;
}
.faq-section details {
  border-bottom: 1px solid var(--line);
}
.faq-section details:first-of-type {
  border-top: 1px solid var(--line);
}
.faq-section summary {
  padding: 18px 4px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
}
.faq-section summary:focus-visible {
  outline: 3px solid rgba(214, 90, 36, 0.35);
  outline-offset: 3px;
}
.faq-section details p {
  margin: -4px 4px 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}
.join-cta {
  background: var(--ink);
}
.join-cta .eyebrow {
  color: #ffc29e;
}
.join-cta h2 {
  max-width: 620px;
}
.join-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
  max-width: 430px;
  flex-shrink: 0;
}
.join-secondary {
  color: #fff;
  border-color: #625e59;
}
.join-secondary:hover {
  color: var(--ink);
  border-color: #fff;
  background: #fff;
}
.newsletter {
  display: flex;
  gap: 8px;
  min-width: min(390px, 100%);
}
.newsletter input {
  min-width: 0;
  flex: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}
.page-hero {
  padding: 55px 0 46px;
  background: #f8f2e9;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  margin: 10px 0 10px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -2px;
}
.page-hero p {
  color: var(--muted);
  max-width: 680px;
  line-height: 1.7;
  margin: 0;
  font-size: 14px;
}
.breadcrumb {
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 20px;
}
.breadcrumb a:hover {
  color: var(--orange);
}
.list-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.list-controls input,
.list-controls select,
.field input,
.field select,
.field textarea,
.tool-panel textarea,
.tool-panel input,
.tool-panel select {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  background: #fff;
  color: var(--ink);
  outline: none;
}
.list-controls input:focus,
.field input:focus,
.field select:focus,
.field textarea:focus,
.tool-panel textarea:focus,
.tool-panel input:focus {
  border-color: #dc855f;
  box-shadow: 0 0 0 3px rgba(214, 90, 36, 0.1);
}
.list-controls input {
  flex: 1;
  min-width: 190px;
}
.list-controls select {
  min-width: 150px;
  color: #555;
}
.list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.data-card {
  padding: 19px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  min-height: 186px;
}
.data-card h2 {
  margin: 13px 0 8px;
  font-size: 17px;
  letter-spacing: -0.5px;
}
.data-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 12px;
}
.data-card .data-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 17px;
  color: var(--muted);
  font-size: 10px;
}
.empty-state {
  grid-column: 1 / -1;
  padding: 48px 20px;
  text-align: center;
  border: 1px dashed #ded4c7;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 14px;
}
.empty-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 13px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #fff0e6;
  color: var(--orange);
  font-size: 22px;
}
.empty-state h3 {
  font-size: 18px;
  margin: 0 0 8px;
}
.empty-state p {
  margin: 0 auto;
  color: var(--muted);
  font-size: 12px;
  max-width: 420px;
  line-height: 1.65;
}
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 30px;
  align-items: start;
}
.form-card,
.side-note,
.tool-panel,
.auth-card,
.dashboard-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 27px;
}
.contact-form-card {
  max-width: 820px;
  margin: 0 auto;
}
.contact-form-notice {
  margin: 0 0 23px;
  padding: 13px 15px;
  border-left: 3px solid var(--orange);
  border-radius: 7px;
  background: #fff3e9;
  color: #70401f;
  font-size: 12px;
  line-height: 1.6;
}
.contact-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
#contact-captcha-slot:empty {
  display: none;
}
.admin-entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.admin-entry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 11px;
}
.admin-entry-form h3,
.admin-entry-form > p,
.admin-entry-form > button,
.admin-entry-form > .form-message {
  grid-column: 1/-1;
}
.admin-entry-form h3 {
  margin: 0;
  font-size: 16px;
}
.admin-entry-form .field textarea {
  min-height: 80px;
}
.form-card h2 {
  margin: 0 0 20px;
  font-size: 21px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.field.full {
  grid-column: 1 / -1;
}
.field label {
  font-size: 11px;
  font-weight: 700;
}
.field input,
.field select,
.field textarea {
  width: 100%;
}
.field textarea {
  min-height: 125px;
  resize: vertical;
}
.field small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}
.form-submit {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}
.form-message {
  font-size: 12px;
  color: var(--green);
}
.form-error {
  color: #ae342d;
}
.form-success {
  color: var(--green);
}
.side-note {
  padding: 21px;
  background: #fff8f1;
}
.side-note h3 {
  margin: 0 0 10px;
  font-size: 15px;
}
.side-note p,
.side-note li {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.75;
}
.side-note ul {
  padding-left: 18px;
}
.auth-wrap {
  display: grid;
  place-items: center;
  padding: 55px 20px;
}
.auth-card {
  width: min(450px, 100%);
  padding: 32px;
}
.auth-card h1 {
  margin: 10px 0;
  font-size: 30px;
  letter-spacing: -1.4px;
}
.auth-card > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.auth-card .field {
  margin-top: 15px;
}
.auth-card .button {
  width: 100%;
  margin-top: 18px;
}
.auth-switch {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  margin-top: 18px;
}
.auth-switch a {
  color: var(--orange-dark);
  font-weight: 700;
}
.dashboard-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  padding: 34px 0 70px;
}
.dashboard-nav {
  padding: 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
  align-self: start;
}
.dashboard-nav a,
.dashboard-nav button {
  display: block;
  width: 100%;
  padding: 11px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #59534d;
  text-align: left;
  font-size: 12px;
}
.dashboard-nav a:hover,
.dashboard-nav button:hover,
.dashboard-nav .active {
  color: var(--orange-dark);
  background: #fff3e9;
}
.dashboard-content h1 {
  font-size: 28px;
  letter-spacing: -1px;
  margin: 2px 0 5px;
}
.dashboard-content > p {
  color: var(--muted);
  font-size: 12px;
  margin: 0 0 20px;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 17px;
}
.stat-card {
  padding: 17px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
}
.stat-card span {
  color: var(--muted);
  font-size: 10px;
}
.stat-card strong {
  display: block;
  margin-top: 8px;
  font:
    800 24px Manrope,
    sans-serif;
}
.table-wrap {
  overflow: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}
.data-table th,
.data-table td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 12px 8px;
}
.data-table th {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.pill {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  background: #f3eee7;
  font-size: 9px;
  color: #625a51;
}
.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.tool-panel h2 {
  margin: 0 0 8px;
  font-size: 17px;
}
.tool-panel p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
  margin: 0 0 14px;
}
.tool-panel textarea {
  min-height: 90px;
  width: 100%;
  resize: vertical;
}
.tool-panel input,
.tool-panel select {
  max-width: 100%;
}
.tool-action {
  margin-top: 10px;
}
.tool-output {
  margin-top: 12px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf5;
  color: #514c46;
  font-size: 11px;
  line-height: 1.7;
  overflow-wrap: anywhere;
  min-height: 39px;
}
.detail-content {
  max-width: 820px;
  margin: 0 auto;
}
.detail-content h1 {
  font-size: clamp(31px, 4vw, 48px);
  letter-spacing: -2px;
  line-height: 1.14;
}
.detail-body {
  white-space: pre-wrap;
  color: #514c46;
  line-height: 1.9;
  font-size: 15px;
}
.detail-meta {
  color: var(--muted);
  font-size: 11px;
  margin: 14px 0 25px;
}
.detail-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin: 22px 0;
}
.detail-facts div {
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.detail-facts dt {
  color: var(--muted);
  font-size: 10px;
  margin-bottom: 5px;
}
.detail-facts dd {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
}
.detail-image {
  display: block;
  width: 100%;
  max-height: 470px;
  object-fit: cover;
  border-radius: 14px;
  margin: 22px 0;
  background: var(--beige);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(125px, 1fr));
  gap: 10px;
  margin: 22px 0;
}
.gallery-grid img {
  width: 100%;
  height: 115px;
  object-fit: cover;
  border-radius: 9px;
  background: var(--beige);
}
.discussion {
  border-top: 1px solid var(--line);
  margin-top: 42px;
  padding-top: 25px;
}
.discussion h2 {
  font-size: 22px;
}
.discussion-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.discussion-item p {
  color: #514c46;
  font-size: 13px;
  line-height: 1.75;
  white-space: pre-wrap;
}
.discussion-item small {
  color: var(--muted);
  font-size: 10px;
}
.discussion .form-card {
  margin-top: 20px;
}
.disclosure {
  padding: 13px 15px;
  margin: 20px 0;
  border-left: 3px solid var(--orange);
  background: #fff0e6;
  color: #695b4d;
  font-size: 11px;
  line-height: 1.65;
}
.notice {
  padding: 13px 15px;
  margin: 15px 0;
  border: 1px solid #f0d7c3;
  border-radius: 9px;
  color: #71553f;
  background: #fff8f1;
  font-size: 12px;
  line-height: 1.65;
}
.notice-info {
  border-color: #d8d1c5;
  background: #fbf8f3;
  color: #625b53;
}
.error-panel {
  margin: 60px auto;
  padding: 40px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.site-footer {
  color: #f6f1e9;
  background: #171717;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 55px;
  padding-top: 50px;
  padding-bottom: 42px;
}
.brand-light .brand-name {
  color: white;
}
.brand-light .brand-name small {
  color: #aaa39b;
}
.footer-brand p {
  color: #aaa39b;
  max-width: 260px;
  font-size: 12px;
  line-height: 1.8;
  margin-top: 17px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 11px;
  color: #bdb7ae;
}
.footer-col h3 {
  color: white;
  margin: 4px 0 6px;
  font:
    700 12px "DM Sans",
    sans-serif;
}
.footer-col a:hover,
.footer-bottom a:hover {
  color: #f6a27d;
}
.footer-bottom {
  min-height: 57px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid #34312e;
  color: #a9a39c;
  font-size: 10px;
}
#toast-root {
  position: fixed;
  z-index: 80;
  right: 20px;
  bottom: 20px;
  display: grid;
  gap: 8px;
}
.toast {
  max-width: 370px;
  padding: 13px 16px;
  border-radius: 9px;
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow);
  font-size: 12px;
  animation: toast-in 0.2s ease-out;
}
.toast-info {
  background: #5a4839;
}
.toast-error {
  background: #9c342e;
}
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
@media (max-width: 1080px) {
  .main-nav {
    gap: 12px;
    font-size: 11px;
  }
  .nav-actions {
    gap: 10px;
  }
  .category-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 820px) {
  .container {
    width: min(100% - 34px, 700px);
  }
  .nav-wrap {
    min-height: 68px;
  }
  .menu-toggle {
    display: block;
    order: 3;
  }
  .nav-actions {
    margin-left: auto;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 22px 18px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .main-nav.is-open {
    display: flex;
  }
  .main-nav a {
    padding: 11px 0;
    border-bottom: 1px solid rgba(234, 227, 217, 0.6);
  }
  .nav-actions .nav-login {
    display: none;
  }
  .hero {
    padding: 58px 0;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hero-art {
    min-height: 280px;
    max-width: 460px;
    width: 100%;
    margin: auto;
  }
  .content-grid,
  .list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .seo-content-grid {
    grid-template-columns: 1fr;
  }
  .form-layout {
    grid-template-columns: 1fr;
  }
  .dashboard-layout {
    grid-template-columns: 1fr;
  }
  .dashboard-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }
  .dashboard-nav a,
  .dashboard-nav button {
    width: auto;
  }
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .admin-entry-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 540px) {
  .container {
    width: calc(100% - 30px);
  }
  .announcement-inner {
    min-height: 32px;
    font-size: 10px;
  }
  .announcement-inner a {
    display: none;
  }
  .nav-wrap {
    gap: 8px;
  }
  .brand {
    gap: 7px;
  }
  .brand-mark {
    width: 35px;
    height: 35px;
  }
  .brand-name {
    font-size: 13px;
  }
  .nav-actions .button {
    padding: 9px 10px;
    font-size: 10px;
  }
  .hero {
    padding: 48px 0 37px;
  }
  .hero h1 {
    font-size: 43px;
    letter-spacing: -2.7px;
  }
  .hero-copy {
    font-size: 14px;
  }
  .search-box {
    flex-direction: column;
  }
  .search-box .button {
    width: 100%;
  }
  .hero-art {
    transform: scale(0.9);
    margin: -5px auto;
  }
  .section {
    padding: 49px 0;
  }
  .section-head {
    align-items: start;
    flex-direction: column;
    gap: 13px;
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .category-card {
    min-height: 103px;
  }
  .content-grid,
  .list-grid,
  .tool-grid {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .privacy-panel {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 23px;
  }
  .split-cta {
    padding: 25px 20px;
    align-items: flex-start;
    flex-direction: column;
  }
  .join-actions {
    width: 100%;
    max-width: none;
    flex-direction: column;
  }
  .join-actions .button {
    width: 100%;
  }
  .newsletter {
    width: 100%;
    flex-direction: column;
  }
  .newsletter .button {
    width: 100%;
  }
  .page-hero {
    padding: 39px 0 33px;
  }
  .form-card,
  .auth-card {
    padding: 21px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .field.full {
    grid-column: auto;
  }
  .admin-entry-form {
    grid-template-columns: 1fr;
  }
  .admin-entry-form h3,
  .admin-entry-form > p,
  .admin-entry-form > button,
  .admin-entry-form > .form-message {
    grid-column: auto;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 25px 18px;
    padding-top: 38px;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  .footer-bottom {
    padding: 14px 0;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}
@media (prefers-reduced-motion: reduce) {
  .why-card {
    transition: none;
  }
}
.membership-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 24px 0;
}
.membership-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.membership-card-intro {
  border-color: var(--orange);
}
.membership-card h2,
.membership-card p,
.membership-card ul {
  margin: 0;
}
.membership-card ul {
  padding-left: 20px;
  color: var(--muted);
}
.membership-card .button {
  margin-top: auto;
  align-self: flex-start;
}
.membership-price {
  color: var(--orange-dark);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
}
.membership-price span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}
.membership-countdown,
.membership-security {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}
.membership-countdown {
  border-color: rgba(214, 90, 36, 0.35);
}
.membership-security {
  justify-content: flex-start;
  color: var(--muted);
}
.membership-fineprint,
.membership-registration,
.membership-locked-note {
  color: var(--muted);
}
.membership-countdown-inline {
  color: var(--orange-dark);
  font-weight: 700;
}
.membership-payment-message:empty {
  display: none;
}
.membership-admin-stats {
  margin: 16px 0 24px;
}
.membership-admin-stats .stat-card strong {
  overflow-wrap: anywhere;
}
#membership-admin-console details > summary {
  cursor: pointer;
  list-style: none;
}
#membership-admin-console details > summary::-webkit-details-marker {
  display: none;
}
#membership-admin-console details > summary h3 {
  display: inline-block;
  margin: 0 0 14px;
}
#admin-user-detail {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
@media (max-width: 700px) {
  .membership-grid {
    grid-template-columns: 1fr;
  }
  .membership-card {
    padding: 22px;
  }
  .membership-countdown {
    align-items: flex-start;
    flex-direction: column;
  }
  .membership-admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
