/* One official site. Navy and teal. Light page, strong type, one path. */
:root {
  --paper: #f7f6f3;
  --paper-2: #ffffff;
  --ink: #1c2430;
  --muted: #5c6570;
  --line: #e4e1da;
  --navy: #0e1b4d;
  --navy-deep: #091433;
  --teal: #0c6b68;
  --teal-bright: #0e7c78;
  --soft: #e7f3f2;
  --measure: 1080px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .mim {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--navy);
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  margin: 0 0 0.7rem;
}

h3 { font-size: 1.25rem; margin: 0; }

p { margin: 0 0 0.85rem; }

a { color: var(--teal); }
a:hover { color: var(--navy); }

:focus-visible {
  outline: 2px solid var(--teal-bright);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--navy);
  color: #fff;
  padding: 0.45rem 0.75rem;
  z-index: 6;
}
.skip:focus { top: 0.5rem; color: #fff; }

.wrap {
  width: min(var(--measure), calc(100% - 3rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 4;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 4.5rem;
}

.wordmark {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin: 0;
  text-decoration: none;
  color: var(--navy);
}

.mim {
  font-size: 1.55rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--navy);
}

.chiedozie {
  font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  font-weight: 650;
  color: var(--muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  margin-left: auto;
  align-items: center;
}

.site-nav a {
  color: var(--navy);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover { color: var(--teal); }

.example {
  margin: 0;
  padding-top: 0.85rem;
  color: var(--muted);
  font-size: 0.86rem;
}

main { flex: 1 0 auto; }

.hero {
  background: var(--paper);
  color: var(--navy);
  text-align: center;
  padding: 5.5rem 0 3.2rem;
}

.hero h1 {
  max-width: 12em;
  margin-inline: auto;
}

.lede {
  max-width: 34rem;
  margin: 0 auto 0.2rem;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.45;
}

.kicker {
  margin: 0 0 0.45rem;
  font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--teal);
}

.hero .kicker { color: var(--teal); }

.hero-button {
  display: inline-block;
  margin-top: 1.1rem;
  text-decoration: none;
}

.section { padding: 0; }

.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  padding-bottom: 4.5rem;
}

.features .section {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.6rem 1.45rem 1.4rem;
}

.note {
  color: var(--muted);
  max-width: 40rem;
}

.ask,
.login-card,
.stock-form {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(14, 27, 77, 0.06);
}

.login-card,
.stock-form {
  display: grid;
  gap: 0.35rem;
  text-align: left;
  padding: 1.35rem 1.3rem 1.45rem;
}

.hero .login-card {
  width: min(28rem, 100%);
  margin: 2rem auto 0;
}

.login-card label,
.stock-form label {
  margin-top: 0.65rem;
  font-weight: 700;
  color: var(--navy);
}

.login-card input,
.stock-form input,
.stock-form textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d5d2cb;
  border-radius: 12px;
  padding: 0.8rem 0.85rem;
}

.stock-form textarea { resize: vertical; min-height: 5.5rem; }

.login-card input:focus,
.stock-form input:focus,
.stock-form textarea:focus {
  outline: 2px solid var(--teal-bright);
  border-color: var(--teal-bright);
}

.button {
  margin-top: 0.95rem;
  justify-self: start;
  background: var(--teal-bright);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
}

.button:hover { background: var(--teal); color: #fff; }

.button.ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line);
  box-shadow: none;
}

.button.ghost:hover { background: var(--paper); color: var(--navy); }

.error {
  margin: 0 0 0.35rem;
  color: #8c2f2f;
  font-weight: 700;
}

.contract {
  max-width: 40rem;
  margin: 0;
  padding: 1.15rem 1.2rem;
  background: var(--paper-2);
  border-left: 3px solid var(--teal);
  border-radius: 0 14px 14px 0;
  color: var(--navy);
  font-family: Georgia, "Iowan Old Style", Palatino, serif;
  font-size: 1.2rem;
  line-height: 1.45;
}

.snapshot {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2.2rem 0 0.4rem;
}

.snap {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.15rem 1.2rem 1.2rem;
}

.snap dt {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}

.snap dd { margin: 0.45rem 0 0; }

.figure {
  display: block;
  font-family: Georgia, "Iowan Old Style", Palatino, serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

.lines {
  display: grid;
  gap: 0.85rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.lines:empty { display: none; }

.line {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.05rem 1.15rem 1.1rem;
}

.left-count {
  margin: 0.35rem 0 0;
  font-weight: 700;
  color: var(--navy);
}

.price-line { margin: 0.2rem 0 0; color: var(--muted); }

.sold-form { margin: 0.8rem 0 0; }

.sold-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--navy);
}

.sold-label input {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--teal);
}

main .section { margin-top: 2.6rem; }

.stock-form { max-width: 32rem; margin-top: 1.2rem; }
.stock-form h2 { margin-bottom: 0.15rem; }

.site-footer {
  background: var(--navy);
  margin-top: 4rem;
  padding: 2rem 0;
  color: rgba(255, 255, 255, 0.86);
}

.site-footer p { margin: 0; }
.site-footer a { color: #d7f4f2; }

@media (max-width: 800px) {
  .wrap { width: min(var(--measure), calc(100% - 1.5rem)); }
  .hero { padding: 3.2rem 0 2rem; text-align: left; }
  .hero h1, .lede { margin-left: 0; }
  .features, .snapshot { grid-template-columns: 1fr; }
  .bar { align-items: flex-start; flex-wrap: wrap; padding: 0.85rem 0; }
  .site-nav { margin-left: 0; width: 100%; }
  .button, .hero-button { width: 100%; text-align: center; }
  .login-card .button, .stock-form .button { width: 100%; }
}

.tag {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  background: var(--soft);
  color: var(--teal);
  font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
}

.photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  margin: 0;
  padding: 0 0 0.4rem;
  list-style: none;
}

.photos figure { margin: 0; }

.photos img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 18px;
  display: block;
  background: var(--line);
}

.photos figcaption {
  margin-top: 0.55rem;
  color: var(--navy);
  font-size: 0.95rem;
}

.photo-note { margin: 0.8rem 0 2rem; }

.receipt {
  max-width: 28rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.3rem 1.25rem 1.2rem;
}

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

@media print {
  body * { visibility: hidden; }
  .receipt, .receipt * { visibility: visible; }
  .receipt {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    border: 0;
    box-shadow: none;
  }
  .no-print { display: none !important; }
}

.menu { position: relative; }
.menu summary {
  color: var(--navy);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.menu summary::-webkit-details-marker { display: none; }
.menu-panel {
  display: none;
  position: absolute;
  top: calc(100% + 0.7rem);
  left: 0;
  z-index: 6;
  min-width: 15rem;
  padding: 0.7rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(14, 27, 77, 0.08);
}
.menu[open] .menu-panel { display: grid; gap: 0.15rem; }
.menu-panel a {
  padding: 0.4rem 0.5rem;
  border-radius: 8px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
}
.menu-panel a:hover { background: var(--paper); color: var(--teal); }

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.4rem 1.25rem 1.3rem;
  display: flex;
  flex-direction: column;
}
.plan-lead { border-color: var(--teal); }
.price-unset {
  margin: 0.2rem 0 0.6rem;
  font-family: Georgia, "Iowan Old Style", Palatino, serif;
  font-size: 1.7rem;
  color: var(--navy);
}
.plan ul { margin: 0.4rem 0 1rem; padding-left: 1.1rem; color: var(--ink); }
.plan li { margin: 0.25rem 0; }
.plan .button { margin-top: auto; }

.compare-wrap { overflow-x: auto; }
.compare {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  min-width: 36rem;
}
.compare th, .compare td {
  text-align: left;
  padding: 0.7rem 0.75rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare thead th { color: var(--navy); }

.faq { display: grid; gap: 0.6rem; max-width: 40rem; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 1rem;
}
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.faq p { margin: 0.6rem 0 0; }

@media (max-width: 800px) {
  .plans { grid-template-columns: 1fr; }
  .menu-panel { position: static; box-shadow: none; min-width: 0; margin-top: 0.35rem; }
}

.sample-path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0 2rem;
}

.sample-path .section {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.2rem 1.15rem;
}

.sample-path .left-count {
  font-family: Georgia, "Iowan Old Style", Palatino, serif;
  font-size: 2.4rem;
  color: var(--navy);
  margin: 0.3rem 0;
}

.path-login,
#login .login-card {
  width: min(28rem, 100%);
  margin-top: 0.6rem;
}

.next-step { margin: 0.5rem 0 2.5rem; }

@media (max-width: 800px) {
  .sample-path { grid-template-columns: 1fr; }
}

/* Public pages: photos, motion, and a few honest toys. The client book stays plain. */
body.public {
  background-color: var(--paper);
  background-image:
    linear-gradient(180deg, color-mix(in srgb, var(--paper) 88%, transparent), color-mix(in srgb, var(--paper) 94%, transparent)),
    url("/images/desk.jpg");
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

.public .hero {
  --hero-photo: url("/images/shelf.jpg");
  background-color: var(--paper);
  background-image:
    linear-gradient(180deg, color-mix(in srgb, var(--paper) 74%, transparent), color-mix(in srgb, var(--paper) 92%, transparent)),
    var(--hero-photo);
  background-position: center, center 30%;
  background-size: cover, cover;
  background-repeat: no-repeat;
}

.public.scene-sale { --hero-photo: url("/images/sale.jpg"); }
.public.scene-desk { --hero-photo: url("/images/desk.jpg"); }
.public.scene-shelf { --hero-photo: url("/images/shelf.jpg"); }

.public .site-header { z-index: 6; }

.public .photos img,
.public .features .section,
.public .plan,
.public .play-card,
.public .wordmark .mim,
.public .button {
  transition: transform 0.2s ease, box-shadow 0.2s ease, letter-spacing 0.2s ease, background 0.2s ease;
}

.public .photos figure:hover img { transform: scale(1.04) rotate(-0.4deg); }
.public .features .section:hover,
.public .plan:hover,
.public .play-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(14, 27, 77, 0.14);
}
.public .wordmark:hover .mim { letter-spacing: 0.22em; }
.public .button:hover { transform: translateY(-2px); }

.hero-photo {
  width: min(720px, 100%);
  margin: 1.6rem auto 0;
}
.hero-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

.play-dock { margin-bottom: 1rem; }
.play-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.play-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.15rem 1.1rem 1.2rem;
}
.play-row { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.play-row .button { margin-top: 0.35rem; }
.tally {
  min-height: 1.6rem;
  margin: 0.2rem 0 0;
  font-family: Georgia, "Iowan Old Style", Palatino, serif;
  font-size: 1.35rem;
  color: var(--navy);
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

html[data-theme="warm"] {
  --paper: #fff4e4;
  --paper-2: #fffaf2;
  --ink: #3f2a1d;
  --muted: #7a5b45;
  --line: #f0d7b8;
  --navy: #8a3412;
  --navy-deep: #4a1d0c;
  --teal: #c2410c;
  --teal-bright: #ea580c;
  --soft: #ffedd5;
}
html[data-theme="night"] {
  --paper: #121826;
  --paper-2: #1c2638;
  --ink: #f3f0e8;
  --muted: #c5cedd;
  --line: #314056;
  --navy: #e7eefc;
  --navy-deep: #070b14;
  --teal: #8ef6f0;
  --teal-bright: #1aa8a2;
  --soft: #163c3b;
}
html[data-theme="night"] .site-header { background: rgba(18, 24, 38, 0.94); }
html[data-theme="night"] .menu-panel,
html[data-theme="night"] .plan,
html[data-theme="night"] .faq details,
html[data-theme="night"] .compare,
html[data-theme="night"] .login-card input,
html[data-theme="night"] .stock-form input,
html[data-theme="night"] .stock-form textarea { background: var(--paper-2); color: var(--ink); }
html[data-theme="night"] .site-nav a,
html[data-theme="night"] .menu summary,
html[data-theme="night"] .menu-panel a { color: var(--navy); }

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

@media (prefers-reduced-motion: reduce) {
    .public .photos img,
  .public .features .section,
  .public .plan,
  .public .play-card,
  .public .button { transition: none; }
}
