/* ReaderNook: shared visual language */
:root {
  --bg:#f7f8fa;
  --surface:#fff;
  --ink:#18253a;
  --muted:#526174;
  --muted-soft:#64748b;
  --primary:#4548ad;
  --primary-strong:#343788;
  --border:#e2e6ed;
  --shadow-soft:0 4px 18px #18253a05;
  --shadow-lg:0 12px 30px #18253a0b;
  --radius-lg:16px}

* {
  box-sizing:border-box}
html {
  scroll-behavior:smooth;
  scroll-padding-top:100px}
body {
  margin:0;
  font-family:'Plus Jakarta Sans',system-ui,sans-serif;
  background:var(--bg);
  color:var(--ink);
  line-height:1.6}
h1,h2,h3,h4 {
  line-height:1.2;
  letter-spacing:-.035em}
a {
  text-decoration:none}
button,input,select {
  font:inherit}
button,a,input,select,summary {
  -webkit-tap-highlight-color:transparent}
button {
  cursor:pointer}
img {
  max-width:100%}
[hidden] {
  display:none!important}
:focus-visible {
  outline:3px solid #7376cf;
  outline-offset:4px}
input:focus-visible,select:focus-visible {
  outline-offset:2px}
.skip-link {
  position:fixed;
  left:16px;
  top:-100px;
  z-index:100;
  background:var(--ink);
  color:white;
  padding:12px 20px;
  border-radius:8px}
.skip-link:focus {
  top:12px}

.top-banner {
  background:#202d43;
  color:#fff;
  padding:10px 20px;
  text-align:center;
  font-size:12px;
  font-weight:500;
  letter-spacing:.01em}
.top-banner span {
  color:#cbd5e1;
  margin-left:24px}
.site-header {
  position:sticky;
  top:0;
  z-index:40;
  background:#ffffffed;
  backdrop-filter:blur(16px);
  border-bottom:1px solid var(--border)}
.site-header-inner,.section-shell,.footer-shell {
  max-width:1180px;
  margin:auto;
  padding:0 28px}
.site-header-inner {
  min-height:84px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px}
.brand-lockup {
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink:0}
.brand-wordmark {
  font-size:25px;
  font-weight:800;
  letter-spacing:-1.2px;
  color:var(--ink)}
.brand-wordmark span:last-child {
  color:var(--primary)}
.brand-pill {
  font-size:10px;
  font-weight:700;
  letter-spacing:.09em;
  text-transform:uppercase;
  border:1px solid var(--border);
  padding:3px 7px;
  border-radius:5px;
  color:var(--muted)}
.site-nav {
  display:flex;
  gap:26px}
.site-nav a {
  font-size:13px;
  color:var(--muted);
  font-weight:600}
.site-nav a:hover {
  color:var(--primary)}
.site-header-inner>.flex>a:first-child {
  display:none}
.btn {
  min-height:46px;
  padding:12px 20px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:1px solid transparent;
  border-radius:9px;
  font-size:13px;
  font-weight:700;
  transition:background .2s,box-shadow .2s}
.btn-primary {
  color:white;
  background:var(--primary);
  box-shadow:0 3px 6px #4548ad15}
.btn-primary:hover {
  background:var(--primary-strong)}
.btn-secondary {
  background:white;
  border-color:var(--border);
  color:var(--ink)}
.btn-secondary:hover {
  background:#f3f4f8}
.menu-toggle {
  display:none}

.section {
  padding:80px 0}
.hero-section {
  padding:86px 0 76px;
  background:radial-gradient(ellipse at 50% 0,#e8eafa 0,transparent 65%)}
.hero-wrap {
  text-align:center;
  max-width:1000px}
.hero-badge,.section-label {
  font-size:11px;
  letter-spacing:.13em;
  text-transform:uppercase;
  font-weight:700;
  color:var(--primary)}
.hero-badge {
  display:inline-flex;
  align-items:center;
  gap:10px}
.hero-badge:before {
  content:'';
  height:7px;
  width:7px;
  border-radius:50%;
  background:var(--primary)}
.hero-title {
  font-size:clamp(42px,6vw,76px);
  letter-spacing:-.055em;
  line-height:1.09;
  font-weight:800;
  margin:22px auto;
  max-width:900px}
.highlight {
  color:var(--primary)}
.hero-copy {
  font-size:17px;
  line-height:1.85;
  color:var(--muted);
  max-width:615px;
  margin:auto}
.hero-actions {
  display:flex;
  justify-content:center;
  gap:12px;
  margin-top:28px}
.hero-trust {
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:24px;
  margin-top:30px;
  color:var(--muted);
  font-size:12px}
.section-header {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:24px;
  margin-bottom:26px}
.section-header h2 {
  font-size:clamp(28px,3.5vw,40px);
  font-weight:750;
  margin:10px 0 0}
.section-header p {
  max-width:310px;
  color:var(--muted);
  font-size:14px}
.storefront .section h2[style] {
  font-size:clamp(28px,3.5vw,40px)!important;
  letter-spacing:-.035em!important;
  font-weight:750!important}
.storefront .section p[style] {
  font-size:15px!important}
.catalog-toolbar {
  max-width:440px;
  margin-bottom:12px}
.catalog-toolbar input {
  border-radius:9px!important;
  box-shadow:none!important;
  min-height:48px}
.catalog-controls {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:22px;
  font-size:12px;
  color:var(--muted)}
.text-action {
  color:var(--primary);
  font-weight:700;
  min-height:44px;
  padding:8px}
.empty-state {
  padding:40px;
  text-align:center;
  border:1px dashed var(--border);
  border-radius:12px;
  color:var(--muted)}
.catalog-grid,.feature-grid,.process-grid,.blog-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px}
.product-card,.premium-card,.blog-card {
  background:white;
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:28px;
  box-shadow:var(--shadow-soft);
  min-width:0}
.product-card {
  display:flex;
  flex-direction:column;
  position:relative;
  transition:box-shadow .2s,border-color .2s}
.product-card:hover {
  border-color:#bdc1dd;
  box-shadow:var(--shadow-lg)}
.top-badge {
  align-self:flex-start;
  font-size:10px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--primary);
  background:#eff0fa;
  padding:5px 9px;
  border-radius:5px;
  margin-bottom:24px}
.eyebrow {
  font-size:10px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.09em;
  color:var(--muted)}
.product-card h3 {
  font-size:22px;
  font-weight:700;
  margin:12px 0}
.product-card p,.premium-card p,.blog-card p {
  font-size:14px;
  line-height:1.8;
  color:var(--muted);
  margin:0}
.tag-row {
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  margin:20px 0}
.tag-pill {
  font-size:10px;
  font-weight:600;
  background:#f5f6f8;
  color:var(--muted);
  border:1px solid #eceef2;
  padding:4px 8px;
  border-radius:5px}
.card-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding-top:20px;
  margin-top:auto;
  border-top:1px solid var(--border)}
.price .new {
  font-size:29px;
  letter-spacing:-.04em;
  font-weight:750}
.price .new:after {
  content:' / once';
  font-size:11px;
  font-weight:500;
  color:var(--muted);
  letter-spacing:0}
.availability {
  font-size:12px;
  color:var(--muted);
  padding:10px 0}
.icon,.step-number {
  font-size:12px;
  font-weight:700;
  color:var(--primary);
  background:#eff0fa;
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:9px;
  margin-bottom:22px}
.premium-card h3 {
  font-size:19px;
  font-weight:700;
  margin-bottom:12px}
.blog-card {
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  box-shadow:none}
.blog-kicker {
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.1em;
  color:var(--primary);
  font-weight:700}
.blog-card h3 {
  font-size:22px;
  margin:18px 0 14px;
  font-weight:700;
  line-height:1.4}
.blog-link,.blog-meta {
  font-size:12px;
  font-weight:700;
  margin-top:24px;
  color:var(--primary)}
.blog-meta {
  color:var(--muted-soft)}
.faq-list {
  max-width:800px;
  margin:auto}
.faq-item {
  background:white;
  border:1px solid var(--border);
  border-radius:10px}
.faq-item summary {
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:20px 24px;
  cursor:pointer;
  font-size:14px;
  font-weight:600;
  list-style:none}
.faq-item summary::-webkit-details-marker {
  display:none}
.faq-item summary span {
  font-size:10px;
  color:var(--muted);
  transition:transform .2s}
.faq-item[open] summary span {
  transform:rotate(180deg)}
.faq-item p {
  font-size:14px;
  line-height:1.8;
  color:var(--muted);
  padding:0 24px 22px;
  margin:0}
.site-footer {
  background:white;
  border-top:1px solid var(--border);
  padding:48px 0 24px}
.footer-shell {
  text-align:center}
.footer-brand {
  font-size:23px;
  letter-spacing:-.04em;
  font-weight:800}
.footer-links {
  display:flex;
  justify-content:center;
  gap:24px;
  flex-wrap:wrap;
  margin:24px 0;
  font-size:12px;
  color:var(--muted)}
.footer-links a:hover {
  text-decoration:underline}
.footer-copy {
  padding-top:24px;
  border-top:1px solid var(--border);
  font-size:11px;
  color:var(--muted-soft)}

.auth-page {
  min-height:100dvh;
  display:grid;
  place-items:center;
  padding:24px;
  background:radial-gradient(ellipse at top,#e6e9f7,transparent 65%),var(--bg)}
.auth-card {
  width:min(100%,440px);
  padding:40px;
  background:white;
  border:1px solid var(--border);
  border-radius:18px;
  box-shadow:var(--shadow-lg)}
.auth-kicker {
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--primary);
  font-weight:700}
.auth-heading {
  font-size:32px;
  font-weight:750;
  margin:14px 0}
.auth-sub {
  font-size:14px;
  color:var(--muted)}
.auth-form {
  display:grid;
  gap:20px;
  margin-top:30px}
.auth-label {
  display:block;
  font-size:12px;
  font-weight:600;
  margin-bottom:8px}
.auth-input {
  width:100%;
  padding:12px;
  border:1px solid #ccd3df;
  border-radius:8px;
  background:white;
  color:var(--ink)}
.auth-submit {
  min-height:48px;
  background:var(--primary);
  color:white;
  border-radius:8px;
  font-size:13px;
  font-weight:700}
.auth-submit:hover {
  background:var(--primary-strong)}
.auth-message {
  margin-top:20px;
  padding:12px;
  border-radius:8px;
  background:#fff1f2;
  color:#9f1239;
  font-size:13px}
.auth-footer {
  text-align:center;
  margin-top:24px;
  font-size:12px}
.auth-footer a {
  color:var(--muted)!important}

.dashboard-page {
  background:#f7f8fa}
.dark .dashboard-page {
  background:#111827}
.dashboard-header {
  padding:24px;
  background:white;
  border:1px solid #e2e6ed;
  border-radius:14px}
.dark .dashboard-header {
  background:#182235;
  border-color:#303d51}
.dashboard-header>.flex {
  flex-wrap:wrap}
.dashboard-header h1 {
  font-size:26px;
  line-height:1.3}
.dashboard-header>div:first-child>.flex {
  display:none}
.dashboard-table th:nth-child(3),.dashboard-table td:nth-child(3),.dashboard-table th:nth-child(4),.dashboard-table td:nth-child(4),.dashboard-table th:nth-child(5),.dashboard-table td:nth-child(5),.dashboard-table th:nth-child(6),.dashboard-table td:nth-child(6),.dashboard-table th:nth-child(7),.dashboard-table td:nth-child(7) {
  display:none}
.dashboard-table td:nth-child(2) {
  min-width:240px}
.dashboard-table td {
  line-height:1.6}
.dashboard-table tbody tr:focus-visible {
  outline-offset:-3px}
.dashboard-page input,.dashboard-page select {
  min-height:44px}
.dashboard-page button {
  min-height:40px}
.dashboard-message {
  margin:16px 0;
  font-size:13px;
  color:var(--muted)}
.dark .dashboard-message {
  color:#cbd5e1}
#detail-modal>div {
  padding:32px;
  overscroll-behavior:contain}
#modal-content>div:first-child {
  padding-right:25px;
  gap:16px}
#close-modal {
  width:40px;
  height:40px}
#detail-modal select {
  min-width:0}
#file-viewer-name {
  overflow-wrap:anywhere}
.content-page main {
  padding-top:56px;
  padding-bottom:64px}
.content-page main>h1 {
  font-size:clamp(30px,4vw,46px);
  letter-spacing:-.04em}
.content-page .shadow-xl {
  box-shadow:var(--shadow-soft)}
.content-page .text-slate-400 {
  color:#64748b}
.content-page header>div {
  gap:16px;
  height:auto;
  min-height:72px;
  padding-top:12px;
  padding-bottom:12px}
.content-page main p {
  line-height:1.85}
.content-page footer {
  line-height:1.8}

@media(min-width:769px) and (max-width:1050px) {
  .site-nav {
  gap:16px}
.site-header-inner {
  gap:14px}
.site-header-inner>.flex {
  display:none}
.catalog-grid,.blog-grid {
  gap:14px}
.product-card,.blog-card {
  padding:22px}
}

@media(max-width:768px) {
  .site-header-inner,.section-shell,.footer-shell {
  padding-left:20px;
  padding-right:20px}
.site-header-inner {
  min-height:72px;
  flex-wrap:wrap;
  gap:0;
  justify-content:space-between}
.site-header-inner>.flex {
  display:none}
.menu-toggle {
  display:inline-flex;
  min-height:42px;
  padding:8px 12px}
.site-nav {
  display:none;
  width:100%;
  padding:14px 0;
  border-top:1px solid var(--border);
  order:5}
.site-nav.is-open {
  display:flex;
  flex-direction:column;
  gap:0}
.site-nav a {
  padding:12px 4px}
.top-banner {
  font-size:11px}
.top-banner span {
  display:none}
.hero-section {
  padding:56px 0}
.hero-copy {
  font-size:15px}
.hero-trust {
  gap:10px 18px;
  font-size:11px}
.section {
  padding:52px 0}
.section-header {
  display:block}
.section-header p {
  margin-top:14px}
.catalog-grid,.feature-grid,.process-grid,.blog-grid {
  grid-template-columns:1fr}
.hero-actions {
  flex-wrap:wrap}
.hero-actions .btn {
  flex:1;
  min-width:200px}
.product-card,.premium-card,.blog-card {
  padding:24px}
.footer-links {
  gap:16px}
.dashboard-table thead {
  display:none}
.dashboard-table,.dashboard-table tbody,.dashboard-table tr,.dashboard-table td {
  display:block;
  width:100%}
.dashboard-table tr {
  position:relative;
  padding:16px;
  border-bottom:1px solid #e2e6ed}
.dark .dashboard-table tr {
  border-color:#334155}
.dashboard-table td {
  padding:6px 0;
  text-align:left}
.dashboard-table td:nth-child(1) {
  font-size:11px}
.dashboard-table td:nth-child(8),.dashboard-table td:nth-child(9),.dashboard-table td:nth-child(10) {
  display:inline-block;
  width:auto;
  margin-right:12px}
.dashboard-table td:nth-child(8):before {
  content:'Score ';
  font-size:11px}
.dashboard-header {
  padding:20px}
.dashboard-header>.flex {
  gap:8px}
.dashboard-header h1 {
  font-size:23px}
.auth-card {
  padding:30px 24px}
#detail-modal {
  padding:10px}
#detail-modal>div {
  padding:22px 18px}
#modal-content>div:first-child {
  flex-direction:column;
  align-items:flex-start}
.content-page header a:last-child {
  font-size:11px}
.content-page main {
  padding-top:36px}
}

@media(prefers-reduced-motion:reduce) {
  html {
  scroll-behavior:auto}
*,*:before,*:after {
  transition:none!important;
  animation:none!important}
}

/* Product detail, public sample and private order page */
.toolkit-hero{background:radial-gradient(ellipse at 20% 0,#e8eafa,transparent 65%)}
.toolkit-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:64px;align-items:center}
.toolkit-hero h1{font-size:clamp(40px,5vw,64px);font-weight:800;letter-spacing:-.055em;margin:20px 0}
.toolkit-subtitle{font-size:19px;font-weight:650;margin-bottom:16px}
.toolkit-intro{color:var(--muted);font-size:16px;line-height:1.85;margin:16px 0}
.toolkit-buy{padding:32px;border:1px solid #d8dbea;border-radius:18px;background:white;box-shadow:var(--shadow-lg)}
.toolkit-price{font-size:58px;line-height:1.2;font-weight:800;letter-spacing:-.055em;margin:18px 0}
.toolkit-price span{font-size:12px;font-weight:500;letter-spacing:0;margin-left:14px;color:var(--muted)}
.toolkit-buy>p{font-size:14px;color:var(--muted)}
.toolkit-buy ul,.toolkit-list{list-style:disc;padding-left:20px;font-size:14px;color:var(--muted);line-height:1.8;margin:20px 0}
.toolkit-buy li,.toolkit-list li{margin:8px 0}
.toolkit-buy>.btn{width:100%}
.download-note{font-size:11px!important;color:var(--muted);margin-top:16px;text-align:center}
.sample-link{display:inline-block;padding-left:0}
.toolkit-inventory{background:white;border-block:1px solid var(--border)}
.toolkit-file-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.toolkit-file-grid h3{margin-top:12px}
.toolkit-fit-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:start}
.toolkit-fit-grid h2,.toolkit-final h2{font-size:clamp(28px,3vw,38px);font-weight:750;margin:16px 0}
.toolkit-page .faq-list{display:grid;gap:12px}
.toolkit-page .faq-item a,.toolkit-list a{color:var(--primary);text-decoration:underline}
.toolkit-final{text-align:center;background:#eef0f8}
.toolkit-final p{color:var(--muted)}
.sample-page,.order-page{width:min(100%,820px);padding:56px 24px 72px;margin:auto}
.sample-page>p,.order-page>p{font-size:15px;color:var(--muted);line-height:1.85;margin:20px 0}
.sample-page .premium-card{margin:28px 0}
.sample-page .premium-card p{margin:14px 0}
.sample-page h2{font-size:23px;font-weight:700;margin:16px 0}
.sample-note{font-size:12px!important}
.order-page h1{font-size:clamp(32px,4vw,46px);font-weight:750;margin:20px 0}
.order-page>.hero-copy{margin-left:0}
.order-download{margin-top:32px}
.order-download h2,.order-help h2{font-size:22px;font-weight:700;margin:16px 0}
.order-download>.btn{margin-top:24px}
.order-download .download-note{text-align:left}
.order-help{margin-top:32px;font-size:14px;color:var(--muted)}
.order-help ol{list-style:decimal;padding-left:20px}
.order-help p{margin-top:20px}
.order-support{border-top:1px solid var(--border);padding-top:24px;font-size:12px!important}
.order-support a{color:var(--primary);text-decoration:underline}
@media(max-width:768px){.toolkit-layout,.toolkit-fit-grid{grid-template-columns:1fr;gap:32px}.toolkit-file-grid{grid-template-columns:1fr}.toolkit-buy{padding:26px}.toolkit-hero h1{font-size:42px}.toolkit-subtitle{font-size:17px}.sample-page,.order-page{padding:36px 20px 48px}}

/* Responsive Table & Comparison Styling */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.comparison-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.90rem;
}

.comparison-table th {
  background: #f8fafc;
  padding: 14px 18px;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 2px solid var(--border);
}

.comparison-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  color: #334155;
  line-height: 1.5;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:nth-child(even) td {
  background: #fbfcfe;
}

.comparison-table td:first-child,
.comparison-table th:first-child {
  padding-left: 20px;
}

.comparison-table td:last-child,
.comparison-table th:last-child {
  padding-right: 20px;
}

.comparison-table .highlight-col {
  background: rgba(14, 165, 233, 0.06);
  font-weight: 600;
}

@media(max-width:991px){
  .toolkit-layout, .toolkit-fit-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
}
