/* Iain Duguid – fun studio theme */

@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,600;0,9..144,700;1,9..144,600;1,9..144,700&family=Nunito:wght@500;700;800&display=swap");

:root {
  --midnight: #1c1430;
  --deep-teal: #1c1430;
  --teal-soft: #e23d7a;
  --teal-pale: #ffe8a3;
  --sand: #ffd0ea;
  --cream: #fff8ee;
  --text-light-primary: #fff8ee;
  --text-light-secondary: #ffe14a;
  --text-dark: #1c1430;
  --text-muted: #5c4d73;
  --lime: #ffe14a;
  --lime-hover: #ffcf1a;
  --blue: #5b4dff;
  --blue-hover: #3d32e6;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --space-section-y: 5rem;
  --max-width: 1120px;
  --shadow-soft: 4px 4px 0 #1c1430;
  --shadow-card: 7px 7px 0 #1c1430;
  --ink: #1c1430;
  --sun: #ffe14a;
  --pop: #e23d7a;
  --font-display: "Fraunces", Georgia, serif;
  --font-ui: "Nunito", "IBM Plex Sans", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--cream);
  color: var(--text-dark);
  font-family: var(--font-ui);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  line-height: 1.55;
}

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

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

.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--cream);
  overflow-x: hidden;
}

main {
  flex: 1;
}

.section {
  padding: var(--space-section-y) 1.5rem;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-soft);
}

.site-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 11px;
  background: var(--lime);
}

.brand-text-primary {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-text-secondary {
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem 1.15rem;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
}

.nav a[aria-current="page"] {
  border-bottom-color: var(--deep-teal);
  color: var(--teal-soft);
}

.nav a {
  color: var(--text-dark);
  padding-bottom: 0.1rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav a:hover {
  border-color: var(--deep-teal);
  color: var(--teal-soft);
}

.nav-cta {
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--deep-teal);
  border-bottom: 1px solid var(--deep-teal);
  background: transparent;
  color: var(--deep-teal);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.nav-cta:hover {
  border-color: var(--teal-soft);
  border-bottom-color: var(--teal-soft);
  background: var(--teal-pale);
  color: var(--deep-teal);
}

.nav-dashboard-dot {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  margin-left: 0.5rem;
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-dashboard-dot:hover {
  opacity: 1;
  transform: scale(1.2);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.25rem;
  min-width: 200px;
  padding: 0.5rem 0;
  background: var(--cream);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  flex-direction: column;
  display: flex;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-panel a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: none;
  color: var(--text-dark);
}

.nav-dropdown-panel a:hover {
  background: var(--teal-pale);
  color: var(--deep-teal);
}

.nav-toggle-input {
  display: none;
}

.nav-toggle {
  display: none;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: transparent;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  width: 16px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 999px;
  transition: transform 0.18s ease;
}

.nav-toggle span:first-child {
  transform: translateY(-3px);
}

.nav-toggle span:last-child {
  transform: translateY(3px);
}

.nav-toggle-input:checked + .nav-toggle span:first-child {
  transform: rotate(45deg);
}

.nav-toggle-input:checked + .nav-toggle span:last-child {
  transform: rotate(-45deg);
}

.nav-toggle-input:checked ~ .nav {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--teal-pale) 0%, var(--cream) 100%);
  padding-top: 4rem;
  padding-bottom: 4rem;
}

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

.hero-content {
  order: 1;
}

.hero-title {
  margin: 0 0 2.5rem;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: -0.03em;
  line-height: 0.85;
  color: var(--text-dark);
}

.hero-title-line1,
.hero-title-line2 {
  display: block;
}

.hero-title-line2 {
  margin-top: -0.12em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-pill);
  background: var(--lime);
  color: var(--text-dark);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.btn-primary:hover {
  background: var(--lime-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--deep-teal);
  background: transparent;
  color: var(--deep-teal);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.btn-secondary:hover {
  border-color: var(--teal-soft);
  background: var(--teal-pale);
}

.hero-right {
  order: 2;
}

.hero-panel {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-card);
}

.hero-panel-body {
  margin: 0;
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.6;
}

/* Ticker */
.ticker {
  background: linear-gradient(90deg, var(--teal-soft) 0%, var(--deep-teal) 100%);
  padding-block: 0.9rem;
  overflow: hidden;
}

.ticker-inner {
  overflow: hidden;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-scroll 35s linear infinite;
}

.ticker-segment {
  display: inline-flex;
  align-items: center;
  padding-right: 2.5rem;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-light-primary);
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Referral strip */
.section-referral {
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  background-color: var(--sand);
  border-top: 1px solid rgba(15, 23, 42, 0.12);
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
}

.section-referral-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1rem;
}

.referral-text {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.referral-link {
  color: var(--blue);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.referral-link:hover {
  border-bottom-color: var(--blue);
}

/* Two-col / to-do */
.section-two-col {
  background-color: var(--sand);
  color: var(--text-dark);
}

.section-two-col .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr);
  gap: 3rem;
  align-items: flex-start;
}

.todo-card {
  background: #f3f2ec;
  border-radius: 24px;
  padding: 2rem 1.8rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.todo-inner {
  position: relative;
}

.todo-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.6rem;
}

.todo-tick {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.todo-tick-icon {
  width: 9px;
  height: 6px;
  border-left: 2px solid var(--text-dark);
  border-bottom: 2px solid var(--text-dark);
  transform: rotate(-45deg) translateY(-1px);
}

.todo-text {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.7rem;
}

.todo-quote {
  margin-top: 1.2rem;
  font-size: 0.9rem;
  border-left: 3px solid rgba(15, 23, 42, 0.25);
  padding-left: 0.9rem;
}

.todo-quote-author {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 600;
}

.todo-quote-meta {
  margin-top: 0.15rem;
  color: rgba(15, 23, 42, 0.6);
  font-size: 0.85rem;
}

.todo-cta {
  margin-top: 1.5rem;
  text-align: center;
}

.section-two-col-right-title {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.55rem;
  margin: 0 0 0.8rem;
  color: var(--text-dark);
}

.section-two-col-right-body {
  font-size: 0.98rem;
  color: rgba(15, 23, 42, 0.85);
  margin: 0 0 0.8rem;
}

.ul-clean {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}

.ul-clean li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.35rem;
}

.ul-clean li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--deep-teal);
  font-weight: 700;
}

/* How can Enabled help? */
.section-help {
  background-color: var(--cream);
  color: var(--text-dark);
}

.section-help-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-help-title {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--text-dark);
}

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

.card {
  background: #fff;
  color: var(--text-dark);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem 1.6rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-header {
  margin-bottom: 1rem;
}

.card-title {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--text-dark);
  margin: 0;
}

.card-body {
  font-size: 0.95rem;
  color: rgba(15, 23, 42, 0.85);
}

.card-body p {
  margin: 0 0 0.5rem;
}

.card-body ul {
  margin: 0.5rem 0 0.8rem;
  padding-left: 1.1rem;
}

.card-footer {
  margin-top: 0.5rem;
  text-align: center;
}

.btn-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  line-height: 1.2;
  min-height: 2.75rem;
  box-sizing: border-box;
  border-radius: var(--radius-pill);
  border: none;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.btn-card-primary {
  background-color: var(--lime);
  color: var(--text-dark);
}

.btn-card-primary:hover {
  background-color: var(--lime-hover);
  transform: translateY(-1px);
}

.btn-card-secondary {
  background-color: var(--blue);
  color: var(--text-light-primary);
}

.btn-card-secondary:hover {
  background-color: var(--blue-hover);
  transform: translateY(-1px);
}

/* What Do I Need? */
.section-need {
  background: linear-gradient(180deg, var(--teal-pale) 0%, rgba(232, 245, 244, 0.5) 100%);
  color: var(--text-dark);
}

.section-need-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-need-title {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
  color: var(--text-dark);
}

.section-need-subtitle {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.need-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.need-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  color: var(--text-dark);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-soft);
}

.need-card-title {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0 0 0.25rem;
}

.need-card-tagline {
  font-size: 0.9rem;
  color: rgba(15, 23, 42, 0.7);
  margin: 0 0 0.9rem;
  font-weight: 500;
}

.need-card-note {
  font-size: 0.85rem;
  color: rgba(15, 23, 42, 0.75);
  margin: 0 0 0.5rem;
  font-style: italic;
}

.need-list {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  font-size: 0.92rem;
  color: rgba(15, 23, 42, 0.88);
}

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

.need-card .btn-need {
  align-self: center;
  margin-top: auto;
  padding-top: 1rem;
}

/* Need buttons (if re-added) – teal outline on light theme */
.btn-need {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  min-height: 2.75rem;
  box-sizing: border-box;
  border-radius: var(--radius-pill);
  border: 1px solid var(--deep-teal);
  background: transparent;
  color: var(--deep-teal);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.btn-need:hover {
  border-color: var(--teal-soft);
  background: var(--teal-pale);
}

.need-disclaimer {
  margin: 0 0 2rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.need-cta-block {
  text-align: center;
  padding: 2rem;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-soft);
}

.need-cta-text {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  color: var(--text-dark);
}

.need-cta-block .btn-primary {
  margin: 0;
}

/* Contact */
.section-contact {
  background-color: var(--cream);
  padding-bottom: 4rem;
}

.contact-title {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.8rem;
  margin: 0 0 1.5rem;
  color: var(--text-dark);
}

.contact-form {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.section-contact .section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-contact .contact-form {
  text-align: left;
}

.form-row {
  margin-bottom: 1.2rem;
}

.form-row label {
  display: block;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--text-dark);
}

.required {
  color: var(--lime);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  background: #fff;
  color: var(--text-dark);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(148, 163, 184, 0.6);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
}

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

.btn-submit {
  display: block;
  margin-top: 1rem;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.site-footer {
  background-color: var(--deep-teal);
  border-top: 1px solid rgba(15, 23, 42, 0.1);
  padding: 1.6rem 1.5rem 2rem;
  font-size: 0.8rem;
  color: rgba(226, 232, 240, 0.9);
}

.site-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.95);
  text-underline-offset: 3px;
}
.site-footer a:hover {
  text-decoration: underline;
}

/* Services page – aligned with home page light colouring */
.section-page-hero {
  padding-top: 3rem;
  padding-bottom: 2rem;
  background: linear-gradient(180deg, var(--teal-pale) 0%, var(--cream) 100%);
}

.section-services-intro.section-page-hero {
  padding-bottom: 3rem;
}

.page-title {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  margin: 0 0 0.5rem;
  color: var(--text-dark);
}

.page-subtitle {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.services-intro-body {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.services-intro-body p {
  margin: 0 0 0.75rem;
  line-height: 1.6;
  color: var(--text-dark);
}

/* "Don't know what you need?" – inline link style */
.services-not-sure {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.75rem;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
  margin-top: 1.25rem;
}

.services-not-sure-text {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.services-not-sure-link {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 600;
  color: var(--deep-teal);
  text-underline-offset: 4px;
}

.services-not-sure-link:hover {
  color: var(--teal-soft);
  text-decoration: underline;
}

/* Divider between hero and services list – minimal, light */
.section-services-divider {
  padding-top: 1.5rem;
  padding-bottom: 0;
  background-color: var(--cream);
  border: none;
}

.services-list-heading {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  margin: 0;
  color: var(--text-dark);
  letter-spacing: 0.02em;
}

/* Per-service CTA – outline style (subtle) */
.service-cta-wrap {
  margin-top: 1.5rem;
}

.btn-service-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--deep-teal);
  background: transparent;
  color: var(--deep-teal);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn-service-cta:hover {
  border-color: var(--teal-soft);
  background: var(--teal-pale);
  color: var(--deep-teal);
}

/* Commercial Production page – same light theme as Website page */
.commercial-production-page .section-page-hero {
  background: linear-gradient(180deg, var(--teal-pale) 0%, var(--cream) 100%);
}

.commercial-production-page .website-intro-body p {
  margin: 0;
  padding-bottom: 1.6em;
  line-height: 1.6;
  color: var(--text-dark);
}

.commercial-production-page .website-intro-body p:last-child {
  padding-bottom: 0;
}

.commercial-production-page .section-inner p,
.commercial-production-page .website-option-desc {
  color: var(--text-dark);
  line-height: 1.6;
}

.commercial-production-page .page-title,
.commercial-production-page .website-section-heading,
.commercial-production-page .website-option-title {
  color: var(--text-dark);
}

.commercial-production-page .page-subtitle {
  color: var(--text-muted);
}

.commercial-production-page .section-website-options {
  background-color: var(--cream);
}

.commercial-production-page .section-website-cta {
  background-color: var(--teal-pale);
}

.commercial-production-page .website-cta-text {
  color: var(--text-dark);
}

.commercial-production-page .website-option-desc p {
  margin: 0 0 1rem;
  color: var(--text-dark);
  line-height: 1.6;
}

.commercial-production-page .website-option-desc p:last-child {
  margin-bottom: 0;
}

.commercial-production-page .commercial-note {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Any extra copy or new sections on Commercial Production use light theme */
.commercial-production-page .section-inner > p,
.commercial-production-page .section-inner > h2,
.commercial-production-page .section-inner > h3 {
  color: var(--text-dark);
}

.commercial-production-page .section-inner > p {
  margin: 0 0 1rem;
  line-height: 1.6;
}

.commercial-production-page .section-inner > h2 {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
}

.commercial-production-page .section-inner > h3 {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

/* Website service page */
.section-website-hero {
  padding-bottom: 3rem;
}

.website-intro-body {
  max-width: 42rem;
}

.website-intro-body p {
  margin: 0;
  line-height: 1.6;
  color: var(--text-dark);
}

.section-website-options {
  background-color: var(--cream);
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.website-section-heading {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  margin: 0 0 2rem;
  color: var(--text-dark);
  letter-spacing: 0.02em;
}

.website-options-grid {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.website-option {
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.website-option:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.website-option-title {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  margin: 0 0 0.75rem;
  color: var(--text-dark);
}

.website-option-desc {
  margin: 0 0 1.75rem;
  max-width: 42rem;
  line-height: 1.6;
  color: var(--text-dark);
}

.website-work {
  margin-top: 1.5rem;
}

.website-work-heading {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.website-case-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  min-height: 80px;
}

.website-case-client {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  text-underline-offset: 4px;
}

/* Client name as link (e.g. to client website) – use blue, not green */
a.website-case-client {
  color: var(--blue);
}

a.website-case-client:hover {
  color: var(--blue-hover);
  text-decoration: underline;
}

.website-cases {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .website-cases {
    grid-template-columns: repeat(2, 1fr);
  }
}

.website-case {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.25rem 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-soft);
}

.website-case-logo-wrap {
  margin-bottom: 1rem;
  min-height: 80px;
  display: flex;
  align-items: center;
}

.website-case-logo {
  max-width: 160px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.website-case-spiel {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-dark);
}

.section-website-cta {
  padding-top: 3rem;
  padding-bottom: 4rem;
  background-color: var(--teal-pale);
  text-align: center;
}

.website-cta-text {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  color: var(--text-dark);
}

.section-website-cta .btn-primary {
  margin: 0;
}

.section-service {
  padding-top: 2rem;
  padding-bottom: 2rem;
  background-color: var(--cream);
}

.section-service:nth-child(even) {
  background-color: var(--teal-pale);
}

.service-title {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  margin: 0 0 0.25rem;
  color: var(--text-dark);
}

.service-tagline {
  margin: 0 0 0.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.service-subline {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.service-body {
  margin-top: 0.5rem;
}

.service-body p {
  margin: 0 0 0.75rem;
  line-height: 1.6;
  color: var(--text-dark);
}

.service-body p:last-child {
  margin-bottom: 0;
}

/* Referrals page */
.section-referrals-intro .page-intro-body {
  margin-bottom: 0;
}

.section-referrals-form {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

/* Blog */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.blog-search-wrap {
  margin-top: 1.25rem;
  max-width: 28rem;
}
.blog-search-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  background: #fff;
  color: var(--text-dark);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 1rem;
}
.blog-search-input:focus {
  outline: none;
  border-color: var(--blue);
}
.section-blog-list {
  padding-top: 1rem;
  padding-bottom: 4rem;
}
.blog-posts-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.blog-post-card {
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}
.blog-post-card:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.blog-post-card-title {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  margin: 0 0 0.35rem;
}
.blog-post-card-title a {
  color: var(--text-dark);
  text-underline-offset: 4px;
}
.blog-post-card-title a:hover {
  color: var(--deep-teal);
  text-decoration: underline;
}
.blog-post-card-date {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 0.25rem;
  display: block;
}
.blog-post-card-tags {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}
.blog-post-card-excerpt {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
}
.blog-no-posts {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}
.section-blog-post .blog-post-back {
  margin: 0 0 1.5rem;
}
.section-blog-post .blog-post-back a {
  color: var(--deep-teal);
  font-weight: 500;
}
.section-blog-post .blog-post-back a:hover {
  text-decoration: underline;
}
.blog-post-meta {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}
.blog-post-body {
  margin-top: 0;
}
.blog-post-body p {
  margin: 0 0 1rem;
}
.blog-post-body p:last-child {
  margin-bottom: 0;
}

/* Business Assessment, Referrals, About – light theme */
.page-intro {
  background: linear-gradient(180deg, var(--teal-pale) 0%, var(--cream) 100%);
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.page-intro-title {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  margin: 0 0 0.5rem;
  color: var(--text-dark);
}

.page-intro-subtitle {
  margin: 0 0 1.5rem;
  font-size: 1.15rem;
  color: var(--text-muted);
}

.page-intro-body {
  max-width: 42rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-dark);
}

.page-intro-body p {
  margin: 0 0 1rem;
}

.page-intro-cta {
  margin-top: 2rem;
  text-align: center;
}

.section-casa {
  background-color: var(--cream);
  color: var(--text-dark);
}

.section-casa-subtitle {
  margin: 0.5rem 0 0;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.casa-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.casa-card {
  background-color: var(--sand);
  color: var(--text-dark);
  border-radius: 18px;
  padding: 1.6rem 1.4rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  position: relative;
}

.casa-card-step {
  display: inline-block;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--deep-teal);
  margin-bottom: 0.6rem;
  padding: 0.25rem 0.6rem;
  background: rgba(19, 78, 74, 0.12);
  border-radius: var(--radius-pill);
  width: fit-content;
}

.casa-card-title {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0 0 0.6rem;
  color: var(--text-dark);
}

.casa-card-body {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(15, 23, 42, 0.88);
  line-height: 1.55;
}

.section-benefits {
  background-color: var(--teal-pale);
  color: var(--text-dark);
}

.benefits-heading {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  margin: 0 0 2rem;
  color: var(--text-dark);
  text-align: left;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 48rem;
}

.benefit-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  padding: 1.75rem 0;
}

.benefit-row:first-child {
  padding-top: 0;
}

.benefit-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.benefit-row-accent {
  width: 4px;
  flex-shrink: 0;
  background: var(--deep-teal);
  border-radius: 2px;
  margin-right: 1.5rem;
  margin-top: 0.2rem;
  margin-bottom: 0.2rem;
}

.benefit-row-content {
  flex: 1;
}

.benefit-row-title {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
  color: var(--text-dark);
}

.benefit-row-body {
  margin: 0;
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.6;
}

.section-benefits-cta {
  margin-top: 2.5rem;
}

/* Dashboard */
.dashboard-back {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-light-secondary);
  transition: color 0.2s ease;
}

.dashboard-back:hover {
  color: var(--text-light-primary);
}

.dashboard-gate {
  background: linear-gradient(180deg, var(--teal-pale) 0%, var(--cream) 100%);
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.dashboard-gate-inner {
  max-width: 24rem;
}

.dashboard-gate-title {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
  color: var(--text-dark);
}

.dashboard-gate-text {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 1rem;
}

.dashboard-gate-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dashboard-gate-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.2);
  background: #fff;
  color: var(--text-dark);
  font-size: 1rem;
}

.dashboard-gate-input:focus {
  outline: none;
  border-color: var(--blue);
}

.dashboard-gate-error {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: #f87171;
}

.dashboard-content {
  background-color: var(--cream);
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.dashboard-heading {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  margin: 0 0 2rem;
  color: var(--text-dark);
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.dashboard-metric {
  background-color: var(--sand);
  color: var(--text-dark);
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.dashboard-metric-value-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.dashboard-metric-value {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--text-dark);
}

.dashboard-metric-edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.08);
  color: rgba(15, 23, 42, 0.6);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.dashboard-metric-edit:hover {
  background: rgba(15, 23, 42, 0.14);
  color: var(--text-dark);
}

.dashboard-edit-icon {
  width: 16px;
  height: 16px;
}

.dashboard-metric-edit-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.dashboard-metric-edit-row-hidden {
  display: none;
}

.dashboard-metric-max-input {
  width: 4.5rem;
  padding: 0.4rem 0.5rem;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.25);
  background: #fff;
  color: var(--text-dark);
  font-size: 1rem;
  font-family: inherit;
}

.dashboard-metric-save {
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  border: none;
  background: var(--deep-teal);
  color: #fff;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
}

.dashboard-metric-controls {
  display: flex;
  gap: 0.5rem;
}

.dashboard-metric-btn {
  flex: 1;
  padding: 0.5rem;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.2);
  background: rgba(15, 23, 42, 0.06);
  color: var(--text-dark);
  font-size: 1.25rem;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.dashboard-metric-btn:hover {
  background: rgba(15, 23, 42, 0.12);
  border-color: var(--deep-teal);
}

.dashboard-logout {
  margin: 2rem 0 0;
}

.dashboard-games {
  max-width: 46rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 3px solid var(--ink);
}

.dashboard-games textarea {
  min-height: 11rem;
}

.game-admin-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
}

.game-admin-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0.9rem;
}

.game-admin-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  width: 100%;
  min-height: 8.2rem;
  padding: 1rem 2.2rem 1rem 1rem;
  border: 2.5px solid var(--ink);
  border-radius: 16px;
  background: #fff;
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--ink);
  font-family: var(--font-ui);
  text-align: left;
  cursor: pointer;
}

.game-admin-card::after {
  content: ">";
  position: absolute;
  top: 0.95rem;
  right: 0.9rem;
  font-weight: 800;
}

.game-admin-card:hover {
  transform: translate(-2px, -2px);
  background: var(--sun);
  box-shadow: 6px 6px 0 var(--ink);
}

.game-admin-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.game-admin-hint,
.game-admin-stat {
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.35;
}

.game-admin-hint {
  color: var(--text-muted);
}

.game-admin-card:hover .game-admin-hint {
  color: var(--ink);
}

.game-admin-stat {
  margin-top: auto;
}

.game-admin-back {
  margin: 0 0 1rem;
  padding: 0.4rem 0.85rem;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  box-shadow: 3px 3px 0 var(--sun);
  color: var(--ink);
  font-family: var(--font-ui);
  font-weight: 800;
  cursor: pointer;
}

.game-admin-back:hover {
  background: var(--sun);
}

.game-admin-panel h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
}

.game-admin-panel > p {
  max-width: 38rem;
  margin: 0 0 0.85rem;
}

.game-admin-format {
  margin: 0 0 1rem;
}

.game-admin-format summary {
  width: fit-content;
  cursor: pointer;
  font-weight: 800;
}

.game-admin-panel .trivia-format {
  max-height: 16rem;
  overflow: auto;
}

.game-admin-home[hidden],
.game-admin-panel[hidden] {
  display: none;
}

.dashboard-actions {
  margin-bottom: 2rem;
}

.dashboard-blog-section {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.dashboard-posts-overview {
  margin-top: 2rem;
  padding-top: 2rem;
}

.dashboard-posts-empty {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.dashboard-posts-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dashboard-post-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  padding: 0.75rem 1rem;
  background: rgba(15, 23, 42, 0.04);
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.dashboard-post-row-title {
  font-weight: 600;
  color: var(--text-dark);
  flex: 1;
  min-width: 0;
}

.dashboard-post-row-date {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.dashboard-post-row-actions {
  display: flex;
  gap: 0.5rem;
}

.dashboard-post-btn {
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.2);
  background: #fff;
  color: var(--text-dark);
  font-size: 0.85rem;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.dashboard-post-btn:hover {
  background: rgba(15, 23, 42, 0.06);
  border-color: var(--deep-teal);
}

.dashboard-post-delete:hover {
  border-color: #f87171;
  background: rgba(248, 113, 113, 0.08);
}

.dashboard-blog-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.dashboard-edit-cancel {
  margin: 0;
}

.dashboard-blog-heading {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  margin: 0 0 1.25rem;
  color: var(--text-dark);
}

.dashboard-blog-form .form-row {
  margin-bottom: 1.2rem;
}

.dashboard-blog-form .form-row label {
  display: block;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--text-dark);
}

.dashboard-blog-form input,
.dashboard-blog-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  background: #fff;
  color: var(--text-dark);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 1rem;
}

.dashboard-blog-form textarea {
  resize: vertical;
  min-height: 200px;
}

.dashboard-blog-message {
  margin: 1rem 0 0;
  font-size: 0.95rem;
}

/* Edit website content page */
.edit-content-section .section-inner {
  max-width: 42rem;
}
.edit-content-page-wrap {
  margin-bottom: 1.5rem;
}
.edit-content-page-label {
  display: block;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--text-dark);
}
.edit-content-page-select {
  width: 100%;
  max-width: 20rem;
  padding: 0.6rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  background: #fff;
  color: var(--text-dark);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 1rem;
}
.edit-content-no-fields {
  color: var(--text-dark);
  margin: 0 0 1rem;
}
.edit-content-intro {
  margin: 0 0 1.5rem;
  color: var(--text-dark);
  font-size: 1rem;
}
.edit-content-form .edit-content-group {
  margin: 0 0 2rem;
  padding: 1.25rem 0 0;
  border: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.12);
}
.edit-content-form .edit-content-group:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.edit-content-legend {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--deep-teal);
  margin: 0 0 1rem;
  padding: 0;
}
.edit-content-form .form-row {
  margin-bottom: 1.2rem;
}
.edit-content-form .form-row label {
  display: block;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--text-dark);
}
.edit-content-form input,
.edit-content-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  background: #fff;
  color: var(--text-dark);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 1rem;
}
.edit-content-form textarea {
  resize: vertical;
  min-height: 80px;
}
.edit-content-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.edit-content-actions .btn-secondary {
  padding: 0.6rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.2);
  background: transparent;
  color: var(--text-dark);
  text-decoration: none;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
}
.edit-content-actions .btn-secondary:hover {
  background: rgba(15, 23, 42, 0.06);
}

/* Responsive – smaller screens: single-column, explicit scroll order */
@media (max-width: 960px) {
  .hero-inner {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    grid-template-columns: unset;
  }
  .hero-content {
    order: 1;
  }
  .hero-right {
    order: 2;
  }

  .section-two-col .section-inner {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    grid-template-columns: unset;
  }
  .section-two-col .section-inner > div:first-child {
    order: 1;
  }
  .section-two-col .section-inner > div:last-child {
    order: 2;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }
  .casa-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding-inline: 1.25rem;
  }
}

@media (max-width: 768px) {
  .site-header-inner {
    padding: 0.75rem 1rem;
    gap: 1rem;
  }
  .nav-toggle {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }
  .nav {
    position: fixed;
    inset: 3.5rem 0.75rem auto 0.75rem;
    max-height: calc(100vh - 5rem);
    overflow-y: auto;
    padding: 1rem 1rem 1.25rem;
    border-radius: var(--radius-lg);
    background: var(--cream);
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: var(--shadow-card);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    transform-origin: top right;
    transform: scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 20;
    flex-wrap: nowrap;
  }
  .nav a {
    display: block;
    padding: 0.75rem 1rem;
    min-height: 44px;
    box-sizing: border-box;
    border-bottom: 2px solid transparent;
  }
  .nav-cta {
    margin-top: 0.5rem;
    padding: 0.75rem 1.25rem;
    text-align: center;
    min-height: 44px;
  }
  .nav-dashboard-dot {
    min-width: 44px;
    min-height: 44px;
    margin-left: 0;
    padding: 0.75rem;
  }
  .nav-dropdown .nav-dropdown-panel {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 0.25rem;
    margin-left: 0;
    margin-bottom: 0.5rem;
    padding: 0 0 0 0.5rem;
    background: transparent;
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }
  .nav-dropdown .nav-dropdown-panel a {
    padding: 0.6rem 0.75rem;
    min-height: 44px;
    font-size: 0.95rem;
  }
  .nav-dropdown-trigger {
    padding: 0.75rem 1rem;
    min-height: 44px;
  }
  .section {
    padding-top: 3rem;
    padding-bottom: 3rem;
    padding-inline: 1rem;
  }
  .section-inner {
    padding-inline: 0;
  }
  .hero {
    padding-top: 2rem;
    padding-bottom: 2.5rem;
  }
  .hero-title {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
    margin-bottom: 1.5rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    min-height: 48px;
    justify-content: center;
    font-size: 1rem;
  }
  .btn-primary,
  .btn-secondary {
    min-height: 48px;
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
  }
  .need-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .need-card {
    padding: 1.25rem 1rem;
  }
  .contact-form {
    max-width: none;
  }
  .form-row input,
  .form-row textarea {
    min-height: 48px;
    font-size: 16px;
    padding: 0.85rem 1rem;
  }
  .form-row textarea {
    min-height: 140px;
  }
  .page-title {
    font-size: clamp(1.6rem, 6vw, 2rem);
  }
  .page-subtitle {
    font-size: 1rem;
  }
  .website-option,
  .section-service {
    padding-bottom: 1.5rem;
  }
  .todo-card {
    padding: 1.5rem 1.25rem;
  }
  .section-need-title {
    font-size: clamp(1.5rem, 5vw, 1.9rem);
  }
  .contact-title {
    font-size: clamp(1.5rem, 5vw, 1.75rem);
  }
}

@media (max-width: 480px) {
  .site-header-inner {
    padding: 0.6rem 0.75rem;
  }
  .brand-text-secondary {
    font-size: 0.7rem;
  }
  .section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    padding-inline: 0.75rem;
  }
  .hero-title {
    font-size: clamp(1.5rem, 8vw, 1.9rem);
  }
  .section-two-col-right-title {
    font-size: clamp(1.35rem, 5vw, 1.6rem);
  }
  .card {
    padding: 1.25rem 1rem;
  }
  .need-card-title {
    font-size: 1.15rem;
  }
  .page-intro-title {
    font-size: clamp(1.5rem, 6vw, 1.75rem);
  }
  .service-title {
    font-size: 1.25rem;
  }
  .website-option-title {
    font-size: 1.2rem;
  }
}

/* Games site */
.games-bar,
.games-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--cream);
}

.games-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 3px solid var(--ink);
}

.games-brand {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.games-home,
.games-foot a {
  font-weight: 800;
  border-bottom: 2px solid var(--ink);
}

.games-intro {
  padding-bottom: 0;
}

.games-foot {
  border-top: 3px solid var(--ink);
  font-weight: 800;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.game-tile {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 2.5px solid var(--ink);
  border-radius: 18px;
  box-shadow: 6px 6px 0 var(--ink);
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
}

a.game-tile:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--ink);
}

.game-tile img {
  display: block;
  flex: none;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #fff8ee;
  border-bottom: 2.5px solid var(--ink);
}

.game-tile-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.9rem 1rem 1rem;
}

.game-tile-name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.1;
}

.game-tile-line {
  font-weight: 800;
}

.game-tile.is-soon {
  box-shadow: 4px 4px 0 var(--ink);
}

.game-tile .game-soon {
  align-self: flex-start;
  margin-top: 0.45rem;
}

.game-card {
  scroll-margin-top: 5.5rem;
}

.game-soon {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  background: var(--teal-pale);
  color: var(--deep-teal);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
}

.games-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Fun studio layer */
.shell {
  background-color: transparent;
  background-image: radial-gradient(#ffd0ea 1.3px, transparent 1.4px);
  background-size: 22px 22px;
}

h1, h2, h3,
.hero-title,
.page-title,
.page-intro-title,
.section-help-title,
.section-need-title,
.section-two-col-right-title,
.contact-title,
.card-title,
.need-card-title,
.service-title,
.casa-card-title,
.website-option-title,
.benefits-heading,
.brand {
  font-family: var(--font-display);
}

.site-header {
  background: rgba(255, 248, 238, 0.94);
  border-bottom: 3px solid var(--ink);
  box-shadow: none;
}

.brand-mark {
  border-radius: 40% 60% 55% 45%;
  background: var(--pop);
  border: 2.5px solid var(--ink);
  transform: rotate(-10deg);
  box-shadow: 3px 3px 0 var(--ink);
}

.brand-text-primary {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-text-secondary {
  font-family: var(--font-ui);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.nav,
.nav-cta,
.btn-primary,
.btn-secondary,
.btn-card,
.btn-service-cta,
.ticker-segment,
.game-soon {
  font-family: var(--font-ui);
}

.nav a {
  border-bottom-width: 0;
  border-radius: 999px;
  padding: 0.2rem 0.45rem;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: var(--sun);
  border-color: transparent;
  color: var(--ink);
}

.nav a.nav-cta {
  background: var(--ink);
  color: var(--sun);
  border: 2.5px solid var(--ink);
  font-weight: 800;
  box-shadow: 3px 3px 0 var(--pop);
}

.nav a.nav-cta:hover {
  background: var(--pop);
  color: #fff;
  border-color: var(--ink);
}

.hero-title {
  font-weight: 700;
  letter-spacing: -0.035em;
}

.hero-kicker {
  display: inline-block;
  margin: 0 0 0.9rem;
  padding: 0.25rem 0.7rem;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  box-shadow: 3px 3px 0 var(--pop);
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
}

.hero-title-line2 {
  font-style: italic;
  color: var(--pop);
}

.btn-primary,
.btn-secondary,
.btn-card,
.btn-service-cta {
  border: 2.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 800;
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-card:hover,
.btn-service-cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.btn-secondary {
  background: #fff;
  color: var(--ink);
}

.btn-secondary:hover {
  background: #fff;
  border-color: var(--ink);
}

.hero-panel,
.todo-card,
.card,
.need-card,
.casa-card,
.website-option,
.contact-form,
.blog-post-card {
  background: #fff;
  border: 2.5px solid var(--ink);
  box-shadow: var(--shadow-card);
}

.hero-panel {
  transform: rotate(1.4deg);
  background: #fffef6;
}

.todo-card {
  transform: rotate(-1deg);
  background: #fff;
}

.ticker {
  background: var(--ink);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}

.ticker-segment {
  color: var(--sun);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.section-referral {
  background: var(--sand);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}

.form-row input,
.form-row textarea,
.blog-search-input {
  border: 2.5px solid var(--ink);
  border-radius: 14px;
  background: #fff;
  box-shadow: 3px 3px 0 #ffd0ea;
}

.form-row input:focus,
.form-row textarea:focus,
.blog-search-input:focus {
  border-color: var(--pop);
  box-shadow: 3px 3px 0 var(--sun);
}

.site-footer {
  background: var(--ink);
  color: var(--sun);
  border-top: 3px solid var(--pop);
}

.game-soon {
  background: var(--sun);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}

.game-card:nth-child(odd) {
  transform: rotate(-0.6deg);
}

.game-card:nth-child(even) {
  transform: rotate(0.7deg);
}

.nav-dropdown-panel {
  border: 2.5px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  border-radius: 16px;
}

.nav-dashboard-dot {
  width: 10px;
  height: 10px;
  background: var(--pop);
  border: 2px solid var(--ink);
}

.trivia-board,
.trivia-admin {
  max-width: 40rem;
}

.trivia-today,
.trivia-count {
  margin: 0 0 0.75rem;
  font-family: var(--font-ui);
  font-weight: 800;
}

.trivia-prompt,
.trivia-score-number {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1.15;
}

.trivia-choices {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.trivia-choice {
  width: 100%;
  text-align: left;
  padding: 0.95rem 1.1rem;
  min-height: 3.25rem;
  border-radius: 16px;
  border: 2.5px solid var(--ink);
  background: #fff;
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--ink);
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
}

.trivia-choice:hover:not(:disabled) {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.trivia-choice:disabled {
  cursor: default;
}

.trivia-choice.is-correct {
  background: var(--sun);
}

.trivia-choice.is-wrong {
  background: #ffd0ea;
}

.trivia-feedback {
  margin: 1rem 0;
  font-weight: 800;
}

.trivia-feedback.is-correct {
  color: var(--ink);
}

.trivia-feedback.is-wrong {
  color: var(--pop);
}

.trivia-next,
.game-play-link {
  margin-top: 0.5rem;
}

.game-play-link {
  margin-top: auto;
}

.trivia-status {
  font-size: 1.05rem;
  line-height: 1.5;
}

.trivia-status.is-wrong {
  color: var(--pop);
  font-weight: 800;
}

.trivia-back {
  margin-top: 2rem;
  font-weight: 800;
}

.trivia-score-number {
  font-size: clamp(2.4rem, 6vw, 3.4rem);
}

.trivia-login,
.trivia-editor {
  margin-top: 1rem;
}

.trivia-editor-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.trivia-admin-q {
  margin: 0 0 1.5rem;
  padding: 1.1rem;
  border: 2.5px solid var(--ink);
  border-radius: 18px;
  background: #fff;
  box-shadow: 5px 5px 0 var(--ink);
}

.trivia-admin-q legend {
  font-family: var(--font-display);
  font-weight: 700;
  padding: 0 0.35rem;
}

.trivia-admin-q label,
.trivia-admin-q textarea,
.trivia-admin-q input[type="text"] {
  display: block;
  width: 100%;
}

.trivia-admin-q textarea,
.trivia-admin-q input[type="text"],
.trivia-editor-bar input[type="date"] {
  margin-top: 0.35rem;
  padding: 0.75rem 0.9rem;
  border: 2.5px solid var(--ink);
  border-radius: 12px;
  font: inherit;
  background: #fff;
}

.trivia-admin-answers {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.trivia-admin-answer {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.trivia-admin-answer input[type="radio"] {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
}

.trivia-admin {
  max-width: 46rem;
}

.trivia-format,
.trivia-paste {
  white-space: pre-wrap;
  width: 100%;
  margin: 0.75rem 0 1.25rem;
  padding: 0.9rem 1rem;
  border: 2.5px solid var(--ink);
  border-radius: 14px;
  background: #fff;
  box-shadow: 4px 4px 0 var(--sun);
  font-family: var(--font-ui);
  font-weight: 700;
  line-height: 1.45;
}

.trivia-paste {
  min-height: 18rem;
  box-shadow: 3px 3px 0 #ffd0ea;
  font-weight: 600;
}

.trivia-bank-stats {
  margin: 0;
  font-weight: 800;
  max-width: 34rem;
}

.trivia-bank-heading {
  margin: 2rem 0 0.75rem;
  font-family: var(--font-display);
}

.trivia-file-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.trivia-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.trivia-bank-note {
  margin: 0 0 0.75rem;
  font-weight: 800;
}

.trivia-bank-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 32rem;
  overflow: auto;
}

.trivia-bank-item {
  margin: 0 0 0.75rem;
  padding: 0.9rem 1rem;
  border: 2.5px solid var(--ink);
  border-radius: 16px;
  background: #fff;
  box-shadow: 4px 4px 0 var(--ink);
}

.trivia-bank-prompt,
.trivia-bank-meta {
  margin: 0.15rem 0;
}

.trivia-bank-meta {
  font-weight: 800;
}

.trivia-bank-remove {
  margin-top: 0.55rem;
}

.connections-board {
  max-width: 44rem;
}

.conn-solved {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.conn-solved-row {
  border: 2.5px solid var(--ink);
  border-radius: 16px;
  padding: 0.75rem 0.9rem;
  box-shadow: 4px 4px 0 var(--ink);
  text-align: center;
}

.conn-solved-row.is-sun { background: var(--sun); }
.conn-solved-row.is-cream { background: #fff3bf; }
.conn-solved-row.is-lilac { background: #e4dcff; }
.conn-solved-row.is-pink { background: var(--sand); }

.conn-theme,
.conn-solved-words,
.conn-lives,
.conn-feedback {
  margin: 0;
}

.conn-theme {
  font-family: var(--font-display);
  font-weight: 700;
}

.conn-solved-words {
  font-weight: 800;
}

.conn-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.conn-tile {
  min-height: 4.4rem;
  padding: 0.55rem;
  border-radius: 14px;
  border: 2.5px solid var(--ink);
  background: #fff;
  box-shadow: 3px 3px 0 var(--ink);
  color: var(--ink);
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.2;
  cursor: pointer;
}

.conn-tile.is-selected {
  background: var(--sun);
  transform: translateY(-2px);
}

.conn-grid.is-shaking .conn-tile.is-selected {
  animation: conn-shake 0.35s ease;
}

@keyframes conn-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.conn-lives,
.conn-feedback {
  margin-top: 0.9rem;
  font-weight: 800;
}

.conn-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.9rem;
}

@media (max-width: 640px) {
  .conn-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.sudoku-board {
  max-width: 32rem;
}

.sudoku-levels,
.sudoku-pad,
.sudoku-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.sudoku-levels {
  margin-bottom: 0.9rem;
}

.sudoku-level,
.sudoku-key {
  border: 2.5px solid var(--ink);
  background: #fff;
  color: var(--ink);
  font-family: var(--font-ui);
  font-weight: 800;
  cursor: pointer;
}

.sudoku-level {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
}

.sudoku-level.is-on,
.sudoku-key.is-on,
.sudoku-key:hover,
.sudoku-level:hover {
  background: var(--sun);
}

.sudoku-level:disabled {
  opacity: 0.45;
  cursor: default;
}

.sudoku-level:disabled:hover {
  background: #fff;
}

.sudoku-grid {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  width: min(100%, 26rem);
  border: 2.5px solid var(--ink);
  background: #fff;
  box-shadow: 4px 4px 0 var(--ink);
}

.sudoku-cell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border: 1px solid #e4d7ea;
  background: #fff;
  color: var(--blue);
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: clamp(0.95rem, 4.2vw, 1.3rem);
  padding: 0;
  cursor: pointer;
}

.sudoku-notes {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  color: var(--text-muted);
  font-size: clamp(0.42rem, 1.7vw, 0.62rem);
  font-weight: 800;
  line-height: 1;
}

.sudoku-note {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sudoku-note.is-hit {
  color: var(--pop);
}

.sudoku-cell.is-given {
  color: var(--ink);
  background: var(--cream);
}

.sudoku-cell.is-peer {
  background: #fff6cc;
}

.sudoku-cell.is-same {
  background: #ffe8a3;
}

.sudoku-cell.is-selected {
  background: var(--sun);
  color: var(--ink);
}

.sudoku-cell.is-conflict {
  color: var(--pop);
  background: #ffd0ea;
}

.sudoku-cell.is-selected.is-conflict {
  background: var(--sun);
  color: var(--pop);
}

.sudoku-cell:nth-child(9n + 3),
.sudoku-cell:nth-child(9n + 6) {
  border-right: 2.5px solid var(--ink);
}

.sudoku-cell:nth-child(n + 19):nth-child(-n + 27),
.sudoku-cell:nth-child(n + 46):nth-child(-n + 54) {
  border-bottom: 2.5px solid var(--ink);
}

.sudoku-feedback {
  min-height: 1.4em;
  margin: 0.85rem 0;
  font-weight: 800;
}

.sudoku-feedback.is-wrong {
  color: var(--pop);
}

.sudoku-pad,
.sudoku-tools {
  margin-top: 0.85rem;
}

.sudoku-pencil.is-on {
  background: var(--sun);
}

.sudoku-key {
  min-width: 2.6rem;
  min-height: 2.6rem;
  padding: 0.35rem 0.7rem;
  border-radius: 12px;
  box-shadow: 3px 3px 0 var(--ink);
}

.sudoku-board .btn-primary {
  margin-top: 0.9rem;
}

.sudoku-key:disabled,
.sudoku-cell:disabled {
  cursor: default;
}

.dashboard-back {
  font-family: var(--font-ui);
  font-weight: 800;
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
}

.dashboard-back:hover {
  color: var(--pop);
}

@media (max-width: 768px) {
  .nav a {
    padding: 0.75rem 1rem;
    border-radius: 12px;
  }

  .nav-cta {
    box-shadow: 3px 3px 0 var(--pop);
  }

  .hero-panel,
  .todo-card,
  .game-card {
    transform: none;
  }
}
