:root {
  color-scheme: light;
  font-size: 16px;
  --bg: #f8f9fb;
  --surface: #ffffff;
  --text: #0f172a;
  --text-soft: rgba(15, 23, 42, 0.64);
  --accent: #0f172a;
  --border: rgba(15, 23, 42, 0.12);
}

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

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

body.nav-open,
body.cart-open {
  overflow: hidden;
}

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

p {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.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;
}

.site-header,
.site-footer,
.hero,
.section {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 5vw, 4rem);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  gap: 0.75rem;
  align-items: center;
  background: rgba(248, 249, 251, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.brand-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.brand-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  cursor: pointer;
}

.nav-toggle-line {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  margin: 0 auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.brand-name {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
}

.brand-tagline {
  font-size: 0.8rem;
  color: var(--text-soft);
}

.site-nav {
  display: none;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.92rem;
  color: var(--text-soft);
  padding-bottom: 0.5rem;
  width: 100%;
}

.site-nav.is-open {
  display: flex;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.site-nav a {
  padding-bottom: 0.25rem;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  border-color: var(--text);
}

.hero {
  display: grid;
  gap: 1.75rem;
  padding-top: clamp(4rem, 8vw, 6rem);
  padding-bottom: clamp(3.5rem, 7vw, 5rem);
  margin-bottom: clamp(3rem, 8vw, 5.5rem);
}

.page-hero {
  max-width: 960px;
  margin: clamp(2rem, 6vw, 3.5rem) auto clamp(3rem, 8vw, 5.5rem);
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 6vw, 4rem);
  display: grid;
  gap: 1.5rem;
  background: var(--surface);
  border-radius: 28px;
  border: 1px solid var(--border);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.06);
}

.under-construction {
  text-align: left;
}

.notify-form {
  margin-top: 0.5rem;
}

.notify-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.notify-fields input {
  flex: 1 1 220px;
  min-width: 0;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  font-size: 0.95rem;
  font-family: inherit;
  letter-spacing: -0.01em;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.notify-fields input:focus {
  outline: none;
  border-color: var(--text);
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.12);
}

.microcopy {
  font-size: 0.85rem;
  color: rgba(15, 23, 42, 0.6);
}

.microcopy a {
  color: inherit;
  border-bottom: 1px solid rgba(15, 23, 42, 0.25);
  padding-bottom: 2px;
}

.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-soft);
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  line-height: 1.1;
}

.lede {
  max-width: 560px;
  font-size: 1.05rem;
  color: var(--text-soft);
}

.hero-actions {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.hero-note {
  display: inline-flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(15, 23, 42, 0.45);
}

.hero-note span + span::before {
  content: "•";
  margin-right: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.65rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--text);
  color: #fff;
}

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

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--text);
  transform: translateY(-1px);
}

.btn-inline {
  padding: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  font-weight: 500;
}

.section {
  display: grid;
  gap: 2rem;
  margin-bottom: clamp(3rem, 7vw, 5rem);
}

.book-catalog {
  margin-top: clamp(2rem, 6vw, 3.5rem);
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: flex-end;
}

.section-header > div {
  max-width: 420px;
}

.section-header > p {
  max-width: 360px;
  color: var(--text-soft);
}

.book-grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.5rem);
}

.book-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 0;
}

.book-cover {
  width: 100%;
  height: clamp(220px, 50vw, 320px);
  object-fit: cover;
}

.book-content {
  padding: clamp(1.8rem, 5vw, 2.6rem);
  display: grid;
  gap: 1.1rem;
}

.book-actions {
  margin-top: 0.25rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.22);
  background: transparent;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
  transition: transform 0.2s ease, border 0.2s ease, background 0.2s ease;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  transform: translateY(-1px);
  border-color: var(--text);
  background: rgba(15, 23, 42, 0.04);
}

.book-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-soft);
  display: grid;
  gap: 0.4rem;
}

.book-process {
  background: #eef1f6;
  border-radius: 32px;
  border: 1px solid var(--border);
}

.process-list {
  list-style: none;
  padding: 0 clamp(1.5rem, 6vw, 4rem) clamp(2.5rem, 6vw, 4rem);
  margin: 0;
  display: grid;
  gap: 1.5rem;
  counter-reset: step;
}

.process-list li {
  position: relative;
  padding-left: 3.5rem;
  background: var(--surface);
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  padding-top: 1.8rem;
  padding-bottom: 1.8rem;
  padding-right: clamp(1.5rem, 5vw, 3rem);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
}

.process-list li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 1.5rem;
  top: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(15, 23, 42, 0.45);
}

.process-list h3 {
  margin-bottom: 0.5rem;
}

.process-list p {
  color: var(--text-soft);
}

.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1.8rem;
  display: grid;
  gap: 0.75rem;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.card h3 {
  font-size: 1.2rem;
}

.card-tag {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(15, 23, 42, 0.45);
}

.card p {
  color: var(--text-soft);
}

.cta-full {
  width: 100%;
  margin: clamp(2rem, 8vw, 5rem) 0;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 6vw, 6rem);
  background: linear-gradient(135deg, #111827, #1f2937);
  color: #f9fafb;
}

.cta-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.cta-inner p {
  max-width: 480px;
  color: rgba(249, 250, 251, 0.7);
}

.btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.65rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  background: #f9fafb;
  color: #0f172a;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-light:hover {
  transform: translateY(-1px);
  background: #e5e7eb;
}

.store-hero {
  background: var(--surface);
}

.store-section {
  background: #eef1f6;
  border-radius: 36px;
  border: 1px solid var(--border);
  padding: clamp(2.5rem, 6vw, 4rem);
}

.store-controls {
  display: flex;
  justify-content: flex-end;
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
}

.cart-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  background: #fff;
  color: var(--text);
  font-size: 0.9rem;
  cursor: pointer;
}

.cart-toggle.is-open {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.store-layout {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

.store-products {
  display: grid;
  gap: 1.5rem;
}

.store-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(1.8rem, 5vw, 2.2rem);
  display: grid;
  gap: 1.1rem;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
}

.store-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-soft);
  display: grid;
  gap: 0.4rem;
}

.store-tag {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.45);
}

.store-card-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.store-cart {
  position: fixed;
  left: 50%;
  bottom: clamp(1rem, 5vw, 2.5rem);
  transform: translateX(-50%);
  width: min(90vw, 360px);
  max-height: 75vh;
  overflow-y: auto;
  display: none;
  background: var(--surface);
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
  padding: clamp(1.5rem, 4vw, 2rem);
  gap: 1.25rem;
  z-index: 40;
}

.store-cart.is-visible {
  display: grid;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.cart-close {
  background: none;
  border: none;
  color: rgba(15, 23, 42, 0.6);
  font-size: 0.85rem;
  cursor: pointer;
}

.cart-clear {
  background: none;
  border: none;
  color: rgba(15, 23, 42, 0.6);
  font-size: 0.85rem;
  cursor: pointer;
}

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

.cart-empty {
  padding: 0.9rem 1rem;
  background: #f9fafb;
  border-radius: 18px;
  font-size: 0.9rem;
  color: rgba(15, 23, 42, 0.6);
}

.cart-item {
  display: grid;
  gap: 0.25rem;
  background: #f3f4f6;
  border-radius: 18px;
  padding: 0.85rem 1rem;
}

.cart-item-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 500;
}

.cart-item-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-qty button {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: var(--text);
  color: #fff;
  cursor: pointer;
}

.cart-remove {
  background: none;
  border: none;
  color: rgba(15, 23, 42, 0.6);
  cursor: pointer;
}

.cart-footer {
  display: grid;
  gap: 0.75rem;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.05rem;
}

.cart-note {
  font-size: 0.75rem;
  color: rgba(15, 23, 42, 0.55);
}

.btn-checkout {
  width: 100%;
}

.report-hero {
  background: var(--surface);
}

.report-overview {
  background: #eef1f6;
  border-radius: 32px;
  border: 1px solid var(--border);
}

.report-layout {
  display: grid;
  gap: clamp(1.5rem, 5vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.report-layout ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-soft);
  display: grid;
  gap: 0.45rem;
}

.approach {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #eef1f6;
  border-radius: 28px;
}

.approach-columns {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.approach-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 1.6rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  display: grid;
  gap: 0.6rem;
  min-height: 100%;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.approach-card h3 {
  font-size: 1rem;
}

.approach-card p {
  color: var(--text-soft);
}

.capabilities {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
}

.capability-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.capability-list li {
  display: grid;
  gap: 0.5rem;
}

.capability-list p {
  color: var(--text-soft);
}

.contact-section {
  background: #1f2937;
  color: #f9fafb;
  border-radius: 28px;
  padding-top: clamp(2.5rem, 6vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 6vw, 3.5rem);
  display: grid;
  gap: 1rem;
}

.contact-section p {
  max-width: 520px;
  color: rgba(249, 250, 251, 0.68);
}

.contact-section .btn-primary {
  background: #f9fafb;
  color: #0f172a;
}

.site-footer {
  display: grid;
  gap: 2rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-primary {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-links {
  display: inline-flex;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.footer-secondary {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.footer-secondary p {
  margin-bottom: 0.35rem;
}

.copyright {
  color: rgba(15, 23, 42, 0.45);
}

@media (min-width: 768px) {
  .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 1.75rem;
    padding-bottom: 0;
    width: auto;
  }
}

@media (min-width: 900px) {
  .store-section {
    padding: clamp(3rem, 6vw, 4.5rem);
  }

  .store-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  .store-cart {
    position: static;
    transform: none;
    width: 100%;
    max-height: none;
    overflow: visible;
    display: grid;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
  }

  .store-controls {
    display: none;
  }

  .cart-close {
    display: none;
  }
}

@media (max-width: 620px) {
  :root {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    flex-direction: column;
    align-items: flex-start;
  }
}
