@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@500;600&family=Instrument+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: none;
  overscroll-behavior-y: none;
  scroll-behavior: smooth;
}
@media (max-width: 767px) {
  html {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: none;
    overscroll-behavior-y: none;
  }
}

body {
  margin: 0;
  padding: 0;
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overscroll-behavior: none;
  overscroll-behavior-y: none;
  min-height: 100vh;
}
@media (max-width: 767px) {
  body {
    overscroll-behavior: contain;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: manipulation;
    min-height: 100vh;
    min-height: 100dvh;
    position: relative;
    padding-bottom: calc(160px + env(safe-area-inset-bottom, 0));
  }
}

.container {
  max-width: 90rem;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 20px;
  color: #1c2024;
}

a {
  color: #e9ebee;
  text-decoration: none;
  transition: color 0.3s;
}
a:hover {
  color: rgb(193.1461538462, 198.7692307692, 207.2038461538);
  text-decoration: underline;
}

.btn {
  background-color: #e9ebee;
  color: #ffffff;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.btn:hover {
  background-color: rgb(206.4307692308, 210.8461538462, 217.4692307692);
}
.btn-secondary {
  background-color: #1c2024;
  color: #ffffff;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.btn-secondary:hover {
  background-color: rgb(25.2, 28.8, 32.4);
}
.btn-success {
  background-color: #e9ebee;
  color: #ffffff;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.btn-success:hover {
  background-color: rgb(206.4307692308, 210.8461538462, 217.4692307692);
}
.btn-danger {
  background-color: #1c2024;
  color: #ffffff;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.btn-danger:hover {
  background-color: rgb(25.2, 28.8, 32.4);
}

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 5px;
  color: #1c2024;
}
.form-group input[type=text],
.form-group input[type=email],
.form-group input[type=password],
.form-group input[type=file],
.form-group select,
.form-group textarea {
  display: block;
  width: 100%;
  padding: 10px;
  border: 1px solid rgb(192, 194.4, 197.6);
  border-radius: 6px;
  margin-bottom: 10px;
}
.form-group input[type=text]:focus,
.form-group input[type=email]:focus,
.form-group input[type=password]:focus,
.form-group input[type=file]:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #e9ebee;
}

.card {
  background: #ffffff;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}
.card > * {
  position: relative;
  z-index: 1;
}
.card {
  margin-bottom: 20px;
}

.alert {
  padding: 10px 20px;
  margin-bottom: 20px;
  border-radius: 4px;
}
.alert-success {
  background-color: rgb(242.9, 244, 245.65);
  color: rgb(206.4307692308, 210.8461538462, 217.4692307692);
}
.alert-danger {
  background-color: rgb(117.01875, 132.35, 147.68125);
  color: rgb(25.2, 28.8, 32.4);
}
.alert-warning {
  background-color: rgb(209.075, 210.505, 212.32);
  color: rgb(153.4161080074, 156.5791992551, 160.5938919926);
}
.alert-info {
  background-color: rgb(242.9, 244, 245.65);
  color: rgb(206.4307692308, 210.8461538462, 217.4692307692);
}

img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: auto;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

img::selection {
  background: transparent;
}
img::-moz-selection {
  background: transparent;
}

svg {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
}

body {
  background-color: #e9ebee;
}

.home-page {
  min-height: 100vh;
  position: relative;
  background-color: #e9ebee !important;
}

.hero-section {
  position: relative;
  padding-top: 2rem;
  text-align: center;
}

.hero-content h1 {
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 3rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #0f1216;
  margin-bottom: 1rem;
  font-weight: 600;
  position: relative;
  display: inline-block;
  max-width: 20ch;
  text-wrap: balance;
}
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
}
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
}
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.75rem;
  }
}
.hero-content .title-icon {
  height: 4.5rem;
  width: auto;
  vertical-align: middle;
  margin-left: -0.5rem;
  margin-bottom: 1rem;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
}
@media (max-width: 1024px) {
  .hero-content .title-icon {
    height: 2.8rem;
    margin-left: 0;
  }
}
@media (max-width: 768px) {
  .hero-content .title-icon {
    height: 2.2rem;
  }
}
@media (max-width: 480px) {
  .hero-content .title-icon {
    height: 2.2rem;
    margin-bottom: 0.5rem;
  }
}
.hero-content .hero-lead {
  font-size: 1.125rem;
  color: #495057;
  max-width: 46ch;
  margin-left: 0;
  margin-right: 0;
}
@media (max-width: 768px) {
  .hero-content .hero-lead {
    font-size: 1.1rem;
  }
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: #1c2024;
  color: white;
  padding: 1rem 2rem;
  border-radius: 0;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(48, 67, 105, 0.3);
}
.hero-cta:hover {
  background: #2c3e50;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(48, 67, 105, 0.4);
  color: white;
  text-decoration: none;
}

.features-section {
  position: relative;
  z-index: 2;
  padding: 1rem 0 4rem 0;
}
@media (max-width: 768px) {
  .features-section {
    padding: 1rem 0 2rem 0;
  }
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
  }
}
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.feature-card {
  background: #ffffff;
  border: 1px solid #e1e5ea;
  border-radius: 6px;
  padding: 2rem;
  transition: border-color 220ms cubic-bezier(0.2, 0, 0.2, 1), box-shadow 220ms cubic-bezier(0.2, 0, 0.2, 1), transform 220ms cubic-bezier(0.2, 0, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.feature-card:hover {
  border-color: #ced4da;
  box-shadow: 0 2px 4px rgba(15, 18, 22, 0.05), 0 4px 12px rgba(15, 18, 22, 0.06);
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .feature-card {
    padding: 1.5rem;
  }
  .feature-card:hover {
    transform: none;
    box-shadow: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .feature-card {
    transition: border-color 140ms cubic-bezier(0.2, 0, 0.2, 1);
  }
  .feature-card:hover {
    transform: none;
  }
}
.feature-card .feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: #f1f3f5;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.feature-card .feature-icon svg,
.feature-card .feature-icon img {
  width: 1.125rem;
  height: 1.125rem;
  fill: #495057;
}
.feature-card h3 {
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.375rem;
  letter-spacing: -0.01em;
  color: #0f1216;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.feature-card p {
  color: #495057;
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

.feature-list, .coming-soon-list {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}
.feature-list li, .coming-soon-list li {
  padding: 0.3rem 0;
  color: #555;
  position: relative;
  padding-left: 1.5rem;
}
.feature-list li::before, .coming-soon-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1c2024;
  font-weight: bold;
}

.coming-soon-list {
  border-top: 1px solid #e0e0e0;
  padding-top: 1rem;
  margin-top: 0.5rem;
}
.coming-soon-list li {
  color: #888 !important;
}
.coming-soon-list li::before {
  content: "⏳";
  color: #888;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #0f1216;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid #ced4da;
  border-radius: 4px;
  transition: background-color 140ms cubic-bezier(0.2, 0, 0.2, 1), border-color 140ms cubic-bezier(0.2, 0, 0.2, 1);
}
.feature-link:hover {
  background: #f1f3f5;
  border-color: #adb5bd;
  color: #0f1216;
  text-decoration: none;
}
.feature-link:focus-visible {
  outline: 2px solid #0f83b4;
  outline-offset: 2px;
}

.submit-btn {
  background-color: #e9ebee;
  color: #ffffff;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.submit-btn:hover {
  background-color: rgb(206.4307692308, 210.8461538462, 217.4692307692);
}
.submit-btn {
  padding: 0.75rem 2rem;
  background: #0f1216;
  color: #ffffff;
  border: 1px solid #0f1216;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: fit-content;
  margin: auto auto 0;
  position: relative;
  transition: background-color 140ms cubic-bezier(0.2, 0, 0.2, 1), border-color 140ms cubic-bezier(0.2, 0, 0.2, 1), transform 80ms cubic-bezier(0.2, 0, 0.2, 1);
}
.submit-btn:hover {
  background: #2f353b;
  border-color: #2f353b;
}
.submit-btn:active {
  transform: translateY(1px);
}
.submit-btn:focus-visible {
  outline: 2px solid #0f83b4;
  outline-offset: 2px;
}
.submit-btn:disabled {
  background: #ced4da;
  border-color: #ced4da;
  color: #868e96;
  cursor: not-allowed;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .submit-btn {
    transition: background-color 140ms cubic-bezier(0.2, 0, 0.2, 1);
  }
  .submit-btn:active {
    transform: none;
  }
}
.submit-btn .btn-text {
  font-weight: 600;
  letter-spacing: 0.025em;
}
.submit-btn .external-link-icon {
  margin-left: 0.5rem;
  vertical-align: middle;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.submit-btn:hover .external-link-icon {
  opacity: 1;
}

.page-header {
  background-color: #e9ebee !important;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.container {
  max-width: 90rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  position: relative;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.logo-wrapper img {
  height: 2.5rem;
  width: auto;
}

.logo-text {
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #0f1216;
}

.flying-letters {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.flying-letter {
  position: absolute;
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: rgba(255, 255, 255, 0.8);
  font-size: 4rem;
  user-select: none;
  pointer-events: none;
  animation: fall linear infinite;
  opacity: 1;
  font-weight: bold;
}
.flying-letter.small {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.7);
}
.flying-letter.medium {
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.8);
}
.flying-letter.large {
  font-size: 7rem;
  color: rgba(255, 255, 255, 0.9);
}
@media (max-width: 1024px) {
  .flying-letter.large {
    font-size: 2.5rem;
  }
}

@keyframes fall {
  0% {
    transform: translateY(-50px) translateX(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) translateX(var(--drift)) rotate(var(--rotation));
    opacity: 0.3;
  }
}
.animated-title {
  position: relative;
  display: inline-block;
}

.animated-underline {
  position: absolute;
  bottom: -15px;
  right: 50%;
  width: 100%;
  height: 25px;
  pointer-events: none;
}

.underline-svg {
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: visible !important;
}
.underline-svg path {
  stroke: #7faed4;
  stroke-width: 8;
  stroke-linecap: round;
  fill: none;
}

@media (max-width: 480px) {
  .hero-section {
    padding: 2rem 0 0 0;
  }
  .features-section {
    padding: 1rem 0 2rem 0;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom-content {
    flex-direction: column;
    gap: 1rem;
  }
}
.section-heading {
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #1c2024;
  text-align: center;
  margin-bottom: 2.5rem;
}
@media (max-width: 768px) {
  .section-heading {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }
}

.how-it-works {
  padding: 3.5rem 0 2rem;
  position: relative;
  z-index: 2;
}

.steps-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
@media (max-width: 768px) {
  .steps-row {
    flex-direction: column;
    gap: 0.5rem;
  }
}

.step {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  min-width: 220px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
  .step {
    min-width: unset;
    width: 100%;
    padding: 1rem 1.25rem;
  }
  .step:hover {
    transform: none;
    box-shadow: none;
  }
}

.step-number {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: #1c2024;
  color: #fff;
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-body h4 {
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #1c2024;
  margin: 0 0 0.15rem;
}
.step-body p {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
  line-height: 1.4;
}

.step-arrow {
  color: #1c2024;
  opacity: 0.35;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .step-arrow {
    transform: rotate(90deg);
  }
  .step-arrow svg {
    width: 24px;
    height: 24px;
  }
}

.formats-banner {
  padding: 1.5rem 0;
  position: relative;
  z-index: 2;
}

.formats-marquee {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #1c2024;
  opacity: 0.5;
  text-transform: uppercase;
}
.formats-marquee .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #1c2024;
  opacity: 0.5;
}
@media (max-width: 768px) {
  .formats-marquee {
    font-size: 0.8rem;
    gap: 0.4rem 0.8rem;
  }
}

.ereader-highlight {
  padding: 1rem 0 2.5rem;
  position: relative;
  z-index: 2;
}

.ereader-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(28, 32, 36, 0.08);
}
@media (max-width: 768px) {
  .ereader-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
    gap: 1rem;
  }
}

.ereader-icon {
  width: 72px;
  height: 72px;
  min-width: 72px;
  background: #e9ebee;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1c2024;
}

.ereader-text {
  flex: 1;
}
.ereader-text h3 {
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1c2024;
  margin: 0 0 0.3rem;
}
.ereader-text p {
  font-size: 0.95rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

.ereader-cta {
  white-space: nowrap;
  padding: 0.65rem 1.6rem;
  background: #1c2024;
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.2s, transform 0.2s;
}
.ereader-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  color: #fff;
  text-decoration: none;
}
@media (max-width: 768px) {
  .ereader-cta {
    width: 100%;
    text-align: center;
    display: block;
  }
}

.trust-stats {
  padding: 1rem 0 3rem;
  position: relative;
  z-index: 2;
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .stats-row {
    gap: 1.5rem 2rem;
  }
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.3rem;
}

.stat-value {
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #1c2024;
  display: flex;
  align-items: center;
}
.stat-value svg {
  fill: #1c2024;
}

.stat-label {
  font-size: 0.82rem;
  color: #888;
  max-width: 120px;
  line-height: 1.3;
}

.demo-section {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 248, 255, 0.9) 100%);
  padding: 4rem 0;
  margin: 3rem 0;
  border-radius: 24px;
}
@media (max-width: 768px) {
  .demo-section {
    padding: 2rem 0;
    margin: 2rem 0;
  }
}

.section-title {
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 2.5rem;
  color: #1c2024;
  text-align: center;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
}
@media (max-width: 480px) {
  .section-title {
    font-size: 1.5rem;
  }
}

.section-subtitle {
  text-align: center;
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .section-subtitle {
    font-size: 1rem;
  }
}

.flipbook-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  position: relative;
}
@media (max-width: 768px) {
  .flipbook-container {
    padding: 1rem;
  }
}

.flipbook {
  width: 100%;
  height: 600px;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
@media (max-width: 1024px) {
  .flipbook {
    height: 500px;
  }
}
@media (max-width: 768px) {
  .flipbook {
    height: 400px;
  }
}
@media (max-width: 480px) {
  .flipbook {
    height: 300px;
  }
}

.flipbook-page {
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  box-sizing: border-box;
  border: 1px solid #e0e0e0;
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) {
  .flipbook-page {
    padding: 1rem;
  }
}
.flipbook-page h3 {
  font-size: 1.8rem;
  color: #1c2024;
  margin-bottom: 1rem;
  font-weight: 600;
}
@media (max-width: 768px) {
  .flipbook-page h3 {
    font-size: 1.3rem;
  }
}
@media (max-width: 480px) {
  .flipbook-page h3 {
    font-size: 1.1rem;
  }
}
.flipbook-page p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  text-align: center;
  max-width: 80%;
}
@media (max-width: 768px) {
  .flipbook-page p {
    font-size: 0.9rem;
  }
}
@media (max-width: 480px) {
  .flipbook-page p {
    font-size: 0.85rem;
    max-width: 90%;
  }
}
.flipbook-page .page-emoji {
  font-size: 4rem;
  margin-bottom: 1rem;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
}
@media (max-width: 768px) {
  .flipbook-page .page-emoji {
    font-size: 3rem;
  }
}
@media (max-width: 480px) {
  .flipbook-page .page-emoji {
    font-size: 2.5rem;
  }
}
.flipbook-page.cover-page {
  background: linear-gradient(135deg, #6e83ac 0%, #5a72a0 100%);
  color: white;
}
.flipbook-page.cover-page h3, .flipbook-page.cover-page p {
  color: white;
}
.flipbook-page .format-badge {
  display: inline-block;
  background: #e9ebee;
  color: #1c2024;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.flipbook-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}
@media (max-width: 480px) {
  .flipbook-controls {
    gap: 1rem;
  }
}

.control-btn {
  background: linear-gradient(135deg, #6e83ac 0%, #5a72a0 100%);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(110, 131, 172, 0.3);
}
@media (max-width: 480px) {
  .control-btn {
    width: 40px;
    height: 40px;
  }
  .control-btn svg {
    width: 20px;
    height: 20px;
  }
}
.control-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(110, 131, 172, 0.4);
}
.control-btn:active {
  transform: scale(0.95);
}
.control-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.control-btn svg {
  stroke: white;
}

.page-info {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1c2024;
  min-width: 60px;
  text-align: center;
}
@media (max-width: 480px) {
  .page-info {
    font-size: 0.95rem;
  }
}

.demo-hint {
  text-align: center;
  color: #888;
  font-size: 0.9rem;
  margin-top: 1.5rem;
  font-style: italic;
}
@media (max-width: 480px) {
  .demo-hint {
    font-size: 0.85rem;
  }
}

.flipbook .stf__item {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.flipbook .stf__pageFlip {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.flipbook-demo-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) {
  .flipbook-demo-section {
    padding: 2rem 0;
  }
}

.flipbook-header {
  text-align: center;
  margin-bottom: 2rem;
}
.flipbook-header h3 {
  font-size: 1.8rem;
  color: #666;
  margin-bottom: 0;
  font-weight: 400;
  line-height: 1.4;
}
.flipbook-header h3 strong {
  color: #1c2024;
  font-weight: 600;
}
@media (max-width: 768px) {
  .flipbook-header h3 {
    font-size: 1.5rem;
  }
}
@media (max-width: 480px) {
  .flipbook-header h3 {
    font-size: 1.3rem;
  }
}

.flipbook-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.magazine-viewport {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-radius: 20px;
  padding: 4rem;
  margin-bottom: 2rem;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  backdrop-filter: blur(10px);
}
.magazine-viewport:fullscreen, .magazine-viewport:-webkit-full-screen, .magazine-viewport:-moz-full-screen, .magazine-viewport:-ms-fullscreen {
  background: white;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
}
.magazine-viewport:fullscreen .flipbook-spread, .magazine-viewport:-webkit-full-screen .flipbook-spread, .magazine-viewport:-moz-full-screen .flipbook-spread, .magazine-viewport:-ms-fullscreen .flipbook-spread {
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.2);
  width: 96vw;
  height: 95vh;
  max-width: none;
  max-height: none;
}
.magazine-viewport:fullscreen .flipbook-page, .magazine-viewport:-webkit-full-screen .flipbook-page, .magazine-viewport:-moz-full-screen .flipbook-page, .magazine-viewport:-ms-fullscreen .flipbook-page {
  width: 48vw !important;
  height: 95vh !important;
  max-width: none;
  max-height: none;
}
.magazine-viewport:fullscreen .flipbook-page canvas, .magazine-viewport:-webkit-full-screen .flipbook-page canvas, .magazine-viewport:-moz-full-screen .flipbook-page canvas, .magazine-viewport:-ms-fullscreen .flipbook-page canvas {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
}
@media (max-width: 768px) {
  .magazine-viewport {
    padding: 2rem 1.5rem;
    min-height: 500px;
  }
}
@media (max-width: 480px) {
  .magazine-viewport {
    padding: 1.5rem 0.5rem;
    min-height: auto;
    border-radius: 12px;
  }
}

.flipbook-spread {
  position: relative;
  display: flex;
  gap: 0;
  perspective: 3000px;
  transform-style: preserve-3d;
  box-shadow: 0 12px 35px rgba(48, 67, 105, 0.15), 0 6px 18px rgba(48, 67, 105, 0.1);
  background: transparent;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.flipbook-spread:hover {
  box-shadow: 0 15px 45px rgba(48, 67, 105, 0.2), 0 8px 22px rgba(48, 67, 105, 0.12);
}

.flipbook-page {
  background: linear-gradient(to bottom, #ffffff 0%, #fafafa 100%);
  position: relative;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.8s cubic-bezier(0.4, 0, 0.2, 1), filter 0.8s ease;
  transform-style: preserve-3d;
  flex-shrink: 0;
  overflow: visible;
  box-shadow: 0 4px 12px rgba(48, 67, 105, 0.08);
  width: 420px;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  backface-visibility: hidden;
  will-change: transform;
}
.flipbook-page.left {
  transform-origin: right center;
  border-right: 1px solid rgba(48, 67, 105, 0.06);
  box-shadow: 2px 0 6px rgba(48, 67, 105, 0.06);
}
.flipbook-page.left:hover {
  box-shadow: 3px 0 10px rgba(48, 67, 105, 0.08);
}
.flipbook-page.right {
  transform-origin: left center;
  border-left: 1px solid rgba(48, 67, 105, 0.06);
  box-shadow: -2px 0 6px rgba(48, 67, 105, 0.06);
}
.flipbook-page.right:hover {
  box-shadow: -3px 0 10px rgba(48, 67, 105, 0.08);
}
.flipbook-page.empty {
  background: linear-gradient(135deg, #f8f8f8 0%, #fafafa 50%, #fcfcfc 100%);
  box-shadow: inset -5px 0 15px rgba(0, 0, 0, 0.03);
}
.flipbook-page.flipping {
  animation: pageFlipForward 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  z-index: 10;
}
.flipbook-page.flipping-back {
  animation: pageFlipBackward 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  z-index: 10;
}
.flipbook-page canvas {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
@media (max-width: 768px) {
  .flipbook-page {
    width: 300px;
    height: 430px;
  }
}
@media (max-width: 480px) {
  .flipbook-page {
    width: calc(50vw - 20px);
    height: calc((50vw - 20px) * 1.42);
  }
}

.page-curl {
  position: absolute;
  width: 80px;
  height: 80px;
  cursor: pointer;
  z-index: 10;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.page-curl.page-curl-next {
  bottom: 0;
  right: 0;
}
.page-curl.page-curl-next::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 55px 55px;
  border-color: transparent transparent rgba(220, 220, 220, 0.95) transparent;
  box-shadow: -3px 3px 10px rgba(0, 0, 0, 0.25), -1px 1px 5px rgba(0, 0, 0, 0.15);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: bottom right;
  filter: drop-shadow(-2px 2px 4px rgba(0, 0, 0, 0.1));
}
.page-curl.page-curl-next::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 53px 53px;
  border-color: transparent transparent #ffffff transparent;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgb(250, 250, 250) 100%);
}
.page-curl.page-curl-next:hover {
  width: 110px;
  height: 110px;
}
.page-curl.page-curl-next:hover::before {
  border-width: 0 0 95px 95px;
  box-shadow: -5px 5px 18px rgba(0, 0, 0, 0.35), -2px 2px 8px rgba(0, 0, 0, 0.2);
  filter: drop-shadow(-3px 3px 6px rgba(0, 0, 0, 0.15));
}
.page-curl.page-curl-next:hover::after {
  border-width: 0 0 93px 93px;
}
.page-curl.page-curl-next:active {
  transform: scale(0.98);
}
.page-curl.page-curl-prev {
  bottom: 0;
  left: 0;
}
.page-curl.page-curl-prev::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 55px 55px 0;
  border-color: transparent rgba(220, 220, 220, 0.95) transparent transparent;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.25), 1px 1px 5px rgba(0, 0, 0, 0.15);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: bottom left;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
}
.page-curl.page-curl-prev::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 53px 53px 0;
  border-color: transparent #ffffff transparent transparent;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: linear-gradient(225deg, rgba(255, 255, 255, 0.95) 0%, rgb(250, 250, 250) 100%);
}
.page-curl.page-curl-prev:hover {
  width: 110px;
  height: 110px;
}
.page-curl.page-curl-prev:hover::before {
  border-width: 0 95px 95px 0;
  box-shadow: 5px 5px 18px rgba(0, 0, 0, 0.35), 2px 2px 8px rgba(0, 0, 0, 0.2);
  filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.15));
}
.page-curl.page-curl-prev:hover::after {
  border-width: 0 93px 93px 0;
}
.page-curl.page-curl-prev:active {
  transform: scale(0.98);
}

.flipbook-page.left::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 100%;
  background: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.02) 30%, rgba(0, 0, 0, 0.08) 100%);
  pointer-events: none;
  z-index: 1;
}

.flipbook-page.right::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 100%;
  background: linear-gradient(to left, transparent 0%, rgba(0, 0, 0, 0.02) 30%, rgba(0, 0, 0, 0.08) 100%);
  pointer-events: none;
  z-index: 1;
}

.flipbook-spread.cover-mode {
  justify-content: center;
  background: transparent;
  box-shadow: none;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.flipbook-spread.cover-mode .flipbook-page {
  flex: 0 0 auto;
  max-width: 420px;
  box-shadow: 0 15px 50px rgba(48, 67, 105, 0.2), 0 8px 25px rgba(48, 67, 105, 0.15), 0 0 1px rgba(48, 67, 105, 0.1);
  transform: translateY(0) rotateX(0deg);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.flipbook-spread.cover-mode .flipbook-page:hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: 0 20px 60px rgba(48, 67, 105, 0.25), 0 10px 30px rgba(48, 67, 105, 0.18), 0 0 1px rgba(48, 67, 105, 0.12);
}
.flipbook-spread.cover-mode .flipbook-page.center::before {
  display: none;
}
@media (max-width: 768px) {
  .flipbook-spread.cover-mode .flipbook-page {
    max-width: 320px;
  }
}
@media (max-width: 480px) {
  .flipbook-spread.cover-mode .flipbook-page {
    width: 70vw;
    height: 99.4vw;
    max-width: none;
  }
}

.flipbook-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #666;
  z-index: 100;
}
.flipbook-loading .spinner {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #1c2024;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.flipbook-loading p {
  font-size: 1rem;
  color: #888;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes pageFlipForward {
  0% {
    transform: perspective(3000px) rotateY(0deg);
    box-shadow: 0 4px 12px rgba(48, 67, 105, 0.08);
    filter: brightness(1);
  }
  25% {
    filter: brightness(0.95);
  }
  50% {
    transform: perspective(3000px) rotateY(-90deg);
    box-shadow: -12px 8px 30px rgba(48, 67, 105, 0.25);
    filter: brightness(0.9);
  }
  75% {
    filter: brightness(0.95);
  }
  100% {
    transform: perspective(3000px) rotateY(-180deg);
    box-shadow: -4px 4px 18px rgba(48, 67, 105, 0.18);
    filter: brightness(1);
  }
}
@keyframes pageFlipBackward {
  0% {
    transform: perspective(3000px) rotateY(0deg);
    box-shadow: 0 4px 12px rgba(48, 67, 105, 0.08);
    filter: brightness(1);
  }
  25% {
    filter: brightness(0.95);
  }
  50% {
    transform: perspective(3000px) rotateY(90deg);
    box-shadow: 12px 8px 30px rgba(48, 67, 105, 0.25);
    filter: brightness(0.9);
  }
  75% {
    filter: brightness(0.95);
  }
  100% {
    transform: perspective(3000px) rotateY(180deg);
    box-shadow: 4px 4px 18px rgba(48, 67, 105, 0.18);
    filter: brightness(1);
  }
}
.flipbook-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
.flipbook-controls .flipbook-more-wrapper {
  display: none;
}
@media (max-width: 480px) {
  .flipbook-controls {
    gap: 0;
    padding: 0.6rem 0.8rem;
    border-radius: 40px;
    margin-top: 1rem;
    justify-content: space-between;
  }
  .flipbook-controls .flipbook-extra-btn {
    display: none !important;
  }
  .flipbook-controls .flipbook-more-wrapper {
    display: block;
  }
}

.flipbook-more-wrapper {
  position: relative;
}

.flipbook-more-btn {
  background: linear-gradient(135deg, #1c2024 0%, rgb(50.3125, 57.5, 64.6875) 100%) !important;
}

.flipbook-more-menu {
  position: absolute;
  bottom: calc(100% + 12px);
  right: -8px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(28, 32, 36, 0.1);
  border-radius: 14px;
  padding: 0.5rem 0;
  min-width: 180px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1100;
}
.flipbook-more-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.flipbook-more-menu::after {
  content: "";
  position: absolute;
  bottom: -6px;
  right: 18px;
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(28, 32, 36, 0.1);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.flipbook-more-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.7rem 1rem;
  border: none;
  background: none;
  color: #1c2024;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}
.flipbook-more-item:hover {
  background: rgba(28, 32, 36, 0.06);
  padding-left: 1.2rem;
}
.flipbook-more-item:not(:last-child) {
  border-bottom: 1px solid rgba(28, 32, 36, 0.06);
}
.flipbook-more-item svg {
  flex-shrink: 0;
  stroke: #1c2024;
}

.flip-btn {
  background: linear-gradient(135deg, #6e83ac 0%, #5a72a0 100%);
  color: white;
  border: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(110, 131, 172, 0.35), 0 2px 8px rgba(110, 131, 172, 0.25);
  position: relative;
  overflow: hidden;
}
.flip-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}
.flip-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #7a8fb8 0%, #6980ac 100%);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 28px rgba(110, 131, 172, 0.45), 0 4px 12px rgba(110, 131, 172, 0.35);
}
.flip-btn:hover:not(:disabled)::before {
  width: 100%;
  height: 100%;
}
.flip-btn:active:not(:disabled) {
  transform: translateY(-2px) scale(1.02);
  transition: all 0.1s ease;
}
.flip-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  filter: grayscale(0.5);
}
.flip-btn.sound-btn {
  background: linear-gradient(135deg, #8a9aac 0%, #7a8ba0 100%);
}
.flip-btn.sound-btn:hover {
  background: linear-gradient(135deg, #96a6b8 0%, #8697ac 100%);
}
.flip-btn svg {
  width: 26px;
  height: 26px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}
@media (max-width: 480px) {
  .flip-btn {
    width: 38px;
    height: 38px;
    justify-self: center;
  }
  .flip-btn svg {
    width: 18px;
    height: 18px;
  }
}

.download-btn {
  background: linear-gradient(135deg, #6e83ac 0%, #5a72a0 100%);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(110, 131, 172, 0.3);
  text-decoration: none;
}
.download-btn:hover {
  background: linear-gradient(135deg, #7a8fb8 0%, #6980ac 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(110, 131, 172, 0.4);
}
.download-btn:active {
  transform: translateY(0);
}
.download-btn svg {
  width: 24px;
  height: 24px;
}
@media (max-width: 480px) {
  .download-btn {
    width: 38px;
    height: 38px;
    justify-self: center;
  }
  .download-btn svg {
    width: 18px;
    height: 18px;
  }
}

.page-number {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1c2024;
  min-width: 100px;
  text-align: center;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
  backdrop-filter: blur(10px);
  border-radius: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), inset 0 1px 2px rgba(255, 255, 255, 0.5);
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}
.page-number:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.5);
}
@media (max-width: 480px) {
  .page-number {
    font-size: 0.75rem;
    min-width: 50%;
    flex: 0 1 auto;
    border-radius: 16px;
  }
}

.flipbook-cta {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  max-width: 600px;
  margin: 3rem auto 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.flipbook-cta p {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 1.5rem;
  font-weight: 500;
}
@media (max-width: 480px) {
  .flipbook-cta p {
    font-size: 1rem;
  }
}
.flipbook-cta .cta-button {
  background: linear-gradient(135deg, #6e83ac 0%, #5a72a0 100%);
  color: white;
  padding: 1rem 3rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(110, 131, 172, 0.3);
}
.flipbook-cta .cta-button:hover {
  background: linear-gradient(135deg, #7a8fb8 0%, #6980ac 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(110, 131, 172, 0.4);
}
.flipbook-cta .cta-button:active {
  transform: translateY(0);
}
@media (max-width: 480px) {
  .flipbook-cta .cta-button {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  .flipbook-cta {
    padding: 1.5rem;
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .flipbook-spread {
    width: 90vw !important;
    max-width: 600px;
  }
}
@media (max-width: 480px) {
  .flipbook-spread {
    width: 95vw !important;
    max-width: 400px;
    transform: scale(1.25);
  }
}
.site-footer {
  background-color: #1c2024;
  padding: 2rem 0;
  margin-top: 4rem;
  text-align: center;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
}
.site-footer .footer-content p {
  margin: 0.5rem 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}
.site-footer .footer-content p a {
  color: #e9ebee;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}
.site-footer .footer-content p a:hover {
  color: rgb(235.2, 237, 239.7);
  border-bottom: 2px solid #e9ebee;
}
@media (max-width: 768px) {
  .site-footer {
    padding: 1.5rem 0;
    margin-top: 3rem;
    margin-bottom: 0;
  }
  .site-footer .footer-content p {
    font-size: 0.9rem;
  }
}

.hero-lead {
  font-size: 1.125rem;
  line-height: 1.55;
  color: #495057;
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

.colophon-note {
  max-width: 46ch;
  margin: 2.5rem auto 0;
  padding: 1rem 0 1rem 1.25rem;
  border-left: 2px solid #ced4da;
  text-align: left;
}
.colophon-note p {
  margin: 0;
  max-width: none;
}
.colophon-note__term {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #0f1216;
  letter-spacing: 0.02em;
}
.colophon-note__pos {
  margin-left: 0.5rem;
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  color: #868e96;
}
.colophon-note__gloss {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #6b737c;
}
.colophon-note__tie {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #495057;
  font-weight: 500;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-content > * {
    animation: rise-in 320ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .hero-content h1 {
    animation-delay: 60ms;
  }
  .hero-content .hero-lead {
    animation-delay: 110ms;
  }
  .hero-content .hero-actions {
    animation-delay: 160ms;
  }
  .hero-content .hero-assurance {
    animation-delay: 210ms;
  }
  .hero-figure {
    animation: rise-in 320ms cubic-bezier(0.16, 1, 0.3, 1) 140ms both;
  }
}
.hero-section {
  text-align: left;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
@media (max-width: 767px) {
  .hero-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 3rem;
  align-items: center;
}
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }
}

.hero-content {
  max-width: 34rem;
}
.hero-content h1 {
  max-width: 16ch;
}
.hero-content .hero-lead {
  margin-left: 0;
  margin-right: 0;
  max-width: 46ch;
}

.hero-eyebrow {
  margin: 0 0 1rem;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #868e96;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-assurance {
  margin: 1.5rem 0 0;
  max-width: 44ch;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #868e96;
  padding-left: 1rem;
  border-left: 1px solid #e1e5ea;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 140ms cubic-bezier(0.2, 0, 0.2, 1), border-color 140ms cubic-bezier(0.2, 0, 0.2, 1), transform 80ms cubic-bezier(0.2, 0, 0.2, 1);
}
.btn-primary:active,
.btn-ghost:active {
  transform: translateY(1px);
}
.btn-primary:focus-visible,
.btn-ghost:focus-visible {
  outline: 2px solid #0f83b4;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .btn-primary,
  .btn-ghost {
    transition: background-color 140ms cubic-bezier(0.2, 0, 0.2, 1);
  }
  .btn-primary:active,
  .btn-ghost:active {
    transform: none;
  }
}

.btn-primary {
  background: #0f1216;
  border-color: #0f1216;
  color: #ffffff;
}
.btn-primary:hover {
  background: #2f353b;
  border-color: #2f353b;
  color: #ffffff;
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  border-color: #ced4da;
  color: #0f1216;
}
.btn-ghost:hover {
  background: #f1f3f5;
  border-color: #adb5bd;
  color: #0f1216;
  text-decoration: none;
}

.fixes-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 2rem 2.5rem;
}

.fix {
  padding-left: 1.25rem;
  border-left: 4px solid #e1e5ea;
  transition: border-color 220ms cubic-bezier(0.2, 0, 0.2, 1);
}
.fix:hover {
  border-left-color: #0f83b4;
}
.fix__title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: #0f1216;
}
.fix__body {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #495057;
}
.fix__body code {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.9em;
  background: #f1f3f5;
  border-radius: 2px;
  padding: 0.1em 0.35em;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
}

.tool {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  background: #ffffff;
  border: 1px solid #e1e5ea;
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: border-color 220ms cubic-bezier(0.2, 0, 0.2, 1), box-shadow 220ms cubic-bezier(0.2, 0, 0.2, 1), transform 220ms cubic-bezier(0.2, 0, 0.2, 1);
}
.tool__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  color: #868e96;
  margin-bottom: 0.75rem;
}
.tool__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}
.tool__status {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #868e96;
  padding: 0.15rem 0.5rem;
  border: 1px solid #e1e5ea;
  border-radius: 999px;
}
.tool__title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #0f1216;
}
.tool__body {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #495057;
}
.tool__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #0a6b95;
}
.tool__cta svg {
  width: 0.9rem;
  height: 0.9rem;
  transition: transform 140ms cubic-bezier(0.2, 0, 0.2, 1);
}
.tool--live:hover {
  border-color: #ced4da;
  box-shadow: 0 1px 2px rgba(15, 18, 22, 0.05), 0 1px 3px rgba(15, 18, 22, 0.04);
  transform: translateY(-1px);
  text-decoration: none;
}
.tool--live:hover .tool__cta svg {
  transform: translateX(3px);
}
.tool--live:hover .tool__icon {
  color: #0f1216;
}
.tool--live:focus-visible {
  outline: 2px solid #0f83b4;
  outline-offset: 2px;
}
.tool--live .tool__status {
  color: #12805c;
  border-color: #12805c;
}
@media (prefers-reduced-motion: reduce) {
  .tool {
    transition: border-color 140ms cubic-bezier(0.2, 0, 0.2, 1);
  }
  .tool--live:hover {
    transform: none;
  }
}

.mark {
  background: linear-gradient(to bottom, transparent 12%, rgba(15, 131, 180, 0.18) 12%, rgba(15, 131, 180, 0.22) 84%, transparent 84%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  color: inherit;
  padding: 0 0.12em;
  border-radius: 1px;
}

.wordmark {
  position: relative;
}

.glossary {
  position: absolute;
  top: calc(100% - 0.35rem);
  left: -0.75rem;
  width: 25rem;
  max-width: 78vw;
  padding: 1.25rem;
  background: #ffffff;
  border: 1px solid #e1e5ea;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(15, 18, 22, 0.05), 0 12px 28px rgba(15, 18, 22, 0.09);
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 140ms cubic-bezier(0.2, 0, 0.2, 1), transform 140ms cubic-bezier(0.2, 0, 0.2, 1), visibility 140ms;
}
.wordmark:hover .glossary, .wordmark:focus-within .glossary {
  opacity: 1;
  visibility: visible;
  transform: none;
}
@media (max-width: 767px) {
  .glossary {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .glossary {
    transition: none;
  }
}
.glossary::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 2.25rem;
  width: 11px;
  height: 11px;
  background: #ffffff;
  border-left: 1px solid #e1e5ea;
  border-top: 1px solid #e1e5ea;
  border-radius: 2px 0 0 0;
  transform: rotate(45deg);
}
.glossary__headword {
  margin: 0 0 0.5rem;
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.375rem;
  line-height: 1.1;
  color: #0f1216;
}
.glossary__pron {
  margin-left: 0.5rem;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.75rem;
  color: #868e96;
}
.glossary__pos {
  margin-left: 0.5rem;
  font-size: 0.8125rem;
  font-style: italic;
  color: #6b737c;
}
.glossary__etym {
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e9ecef;
  font-size: 0.8125rem;
  color: #6b737c;
}
.glossary__etym em {
  font-style: italic;
  color: #495057;
}
.glossary__senses {
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.75rem;
}
.glossary__senses li {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #495057;
}
.glossary__senses li::marker {
  color: #868e96;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.75rem;
}
.glossary__senses strong {
  color: #0f1216;
  font-weight: 600;
}

.home-page .faq-section {
  background: #ffffff;
  border-top-color: #ced4da;
}

.faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 1.25rem;
}
@media (max-width: 767px) {
  .faq {
    grid-template-columns: minmax(0, 1fr);
  }
}
.faq__col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}

.faq__item {
  background: #f8f9fa;
  border: 1px solid #e1e5ea;
  border-radius: 6px;
  padding: 0 1.25rem;
  transition: border-color 140ms cubic-bezier(0.2, 0, 0.2, 1);
}
.faq__item:hover {
  border-color: #ced4da;
}
.faq__item[open] {
  border-color: #6dbfe0;
}

.faq__q {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0;
  cursor: pointer;
  list-style: none;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
  color: #0f1216;
  transition: color 140ms cubic-bezier(0.2, 0, 0.2, 1);
}
.faq__q::-webkit-details-marker {
  display: none;
}
.faq__q::after {
  content: "";
  flex: none;
  margin-left: auto;
  align-self: center;
  width: 0.7rem;
  height: 0.7rem;
  background: linear-gradient(currentColor, currentColor) center/100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center/1.5px 100% no-repeat;
  color: #868e96;
  transition: transform 220ms cubic-bezier(0.2, 0, 0.2, 1);
}
.faq__q:hover {
  color: #0a5876;
}
.faq__q:focus-visible {
  outline: 2px solid #0f83b4;
  outline-offset: 3px;
}

.faq__item[open] > .faq__q {
  color: #0a5876;
}
.faq__item[open] > .faq__q::after {
  color: #0f83b4;
  transform: rotate(90deg);
  background: linear-gradient(currentColor, currentColor) center/100% 1.5px no-repeat;
}

.faq__a {
  padding: 0 0 1.25rem;
}
.faq__a p {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: #495057;
}
.faq__a p:last-child {
  margin-bottom: 0;
}
.faq__a strong {
  color: #0f1216;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .faq__q::after {
    transition: none;
  }
}
.hero-assurance {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  border: 0;
  max-width: 46ch;
  font-size: 0.75rem;
  line-height: 1.55;
  color: #868e96;
}
.hero-assurance svg {
  flex: none;
  width: 0.875rem;
  height: 0.875rem;
  margin-top: 0.15em;
  color: red;
}

.fix__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.5rem;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #868e96;
}
.fix__tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.fix {
  border-left-color: #12805c;
}

.tool--live {
  background: #edf7fb;
  border-color: #a6d9ed;
}
.tool--live .tool__title {
  color: #0f1216;
}
.tool--live .tool__body {
  color: #495057;
  max-width: 46ch;
}
.tool--live .tool__icon {
  color: #0a6b95;
}
.tool--live .tool__status {
  color: #0a5876;
  border-color: #6dbfe0;
}
.tool--live:hover {
  background: #d3ecf6;
  border-color: #6dbfe0;
}

.toolkit-section {
  background: #ffffff;
}

.sheet {
  border-top: 1px solid #e1e5ea;
  padding: 4rem 0;
}
.sheet__grid {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: 2.5rem;
}
@media (max-width: 991px) {
  .sheet__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }
}
.sheet__rail {
  position: sticky;
  top: 2rem;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
@media (max-width: 991px) {
  .sheet__rail {
    position: static;
    flex-direction: row;
    align-items: baseline;
    gap: 0.75rem;
  }
}
.sheet__num {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: #0a5876;
  width: 2.5rem;
  height: 1.75rem;
}
.sheet__ring {
  position: absolute;
  inset: -0.35rem -0.15rem;
  transform: translate(var(--dx, 0), var(--dy, 0)) rotate(var(--tilt, 0deg));
  width: auto;
  height: auto;
  overflow: visible;
}
.sheet__ring path {
  fill: none;
  stroke: #0f83b4;
  stroke-width: 1.6;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.sheet__label {
  margin: 0;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #868e96;
}
.sheet__title {
  margin: 0;
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #0f1216;
  max-width: 22ch;
  text-wrap: balance;
}
.sheet__lead {
  margin: 0.75rem 0 0;
  max-width: 56ch;
  font-size: 1rem;
  line-height: 1.55;
  color: #495057;
}
.sheet__body > .fixes-list, .sheet__body > .tool-grid, .sheet__body > .faq {
  margin-top: 2.5rem;
}

.logo-mark {
  width: 1.75rem;
  height: 1.75rem;
  flex: none;
}
.logo-mark__card {
  fill: none;
  stroke: #ced4da;
  stroke-width: 1.4;
}
.logo-mark__line {
  stroke: #adb5bd;
  stroke-width: 1.5;
  stroke-linecap: round;
}
.logo-mark__strike {
  fill: none;
  stroke: #0f83b4;
  stroke-width: 2.4;
  stroke-linecap: round;
}

.logo-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}
.logo-wrapper .book-shelf {
  flex: none;
  margin: 0;
}
.logo-wrapper .logo {
  margin-left: -0.75rem;
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 4rem;
  padding-bottom: 4rem;
  text-align: center;
}
@media (max-width: 767px) {
  .hero-section {
    padding-top: 2.5rem;
  }
}

.hero-head {
  max-width: 44rem;
  margin: 0 auto 2.5rem;
}
.hero-head h1 {
  max-width: none;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: -0.03em;
}
.hero-head .hero-lead {
  margin: 0 auto;
  max-width: 54ch;
  font-size: 1.125rem;
  color: #495057;
}

.drop {
  position: relative;
  display: block;
  max-width: 52rem;
  margin: 0 auto;
  padding: 3rem 2rem;
  background: #ffffff;
  border: 2px dashed #ced4da;
  border-radius: 8px;
  transition: border-color 220ms cubic-bezier(0.2, 0, 0.2, 1), background-color 220ms cubic-bezier(0.2, 0, 0.2, 1);
}
.drop__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.drop.is-over {
  border-color: #0f83b4;
  border-style: solid;
  background: #edf7fb;
}
.drop.is-busy {
  border-style: solid;
  border-color: #e1e5ea;
}
.drop.is-busy .drop__input {
  pointer-events: none;
}
.drop:focus-within {
  border-color: #0f83b4;
}
.drop__icon {
  display: inline-flex;
  color: #868e96;
  margin-bottom: 1rem;
  animation: iconBounce 4s ease-in-out infinite;
}
.drop__icon svg {
  width: 2.5rem;
  height: 2.5rem;
}
@media (prefers-reduced-motion: reduce) {
  .drop__icon {
    animation: none;
  }
}
.drop__title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #0f1216;
}
.drop__sub {
  margin: 0.5rem 0 0;
  font-size: 1rem;
  color: #495057;
}
.drop__browse {
  color: #0a6b95;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.drop__facts {
  list-style: none;
  margin: 2rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid #e9ecef;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 576px) {
  .drop__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}
.drop__facts li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.drop__fact-k {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #868e96;
}
.drop__fact-v {
  font-size: 0.8125rem;
  color: #0f1216;
  font-weight: 500;
}
.drop__spinner {
  display: block;
  width: 2rem;
  height: 2rem;
  margin: 0 auto 1rem;
  border: 2px solid #e1e5ea;
  border-top-color: #0f83b4;
  border-radius: 50%;
  animation: drop-spin 700ms linear infinite;
}
.drop__error {
  margin: 1.25rem 0 0;
  padding: 0.75rem 1rem;
  background: #fdeeec;
  border-radius: 4px;
  font-size: 0.8125rem;
  color: #9c2a20;
  position: relative;
  z-index: 1;
}
@media (prefers-reduced-motion: reduce) {
  .drop {
    transition: border-color 140ms cubic-bezier(0.2, 0, 0.2, 1);
  }
  .drop__spinner {
    animation-duration: 1400ms;
  }
}

@keyframes drop-spin {
  to {
    transform: rotate(360deg);
  }
}
.hero-underline {
  margin: 1.5rem auto 0;
  font-size: 0.8125rem;
  color: #868e96;
}
.hero-underline a {
  color: #0a6b95;
  text-decoration: none;
}
.hero-underline a:hover {
  text-decoration: underline;
}

.stage {
  position: relative;
  display: flex;
  justify-content: center;
  z-index: 1;
}
.stage .drop {
  flex: 0 1 46rem;
  margin: 0;
}

.shelf-art {
  position: absolute;
  bottom: 0;
  height: auto;
  pointer-events: none;
}
.shelf-art--left {
  width: 12rem;
  right: calc(50% + 23rem + 0.5rem);
}
.shelf-art--right {
  width: 21rem;
  left: calc(50% + 23rem + 0.5rem);
  bottom: 0.25rem;
}
@media (max-width: 991px) {
  .shelf-art {
    display: none;
  }
}

.hero-head,
.hero-underline {
  position: relative;
  z-index: 1;
}

.corrections {
  background: #ffffff;
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
  padding: 1.5rem 0;
}
.corrections__row {
  display: flex;
  align-items: center;
  gap: 10rem;
}
@media (max-width: 991px) {
  .corrections__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}
.corrections__heading {
  flex: none;
  margin: 0;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #868e96;
}
.corrections__list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 1rem 2rem;
}
@media (max-width: 991px) {
  .corrections__list {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 767px) {
  .corrections__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }
}

.correction-item {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  min-width: 0;
}
.correction-item__field {
  flex: none;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #868e96;
}
.correction-item__was {
  position: relative;
  flex: none;
  font-size: 0.8125rem;
  color: #868e96;
  white-space: nowrap;
}
.correction-item__strike {
  position: absolute;
  left: -4%;
  top: 42%;
  width: 108%;
  height: 0.6em;
  overflow: visible;
}
.correction-item__strike path {
  fill: none;
  stroke: #c8372a;
  stroke-width: 1.8;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.correction-item__now {
  font-family: "Caveat", "Segoe Script", "Bradley Hand", cursive;
  font-size: 1.375rem;
  line-height: 1;
  font-weight: 600;
  color: #0a6b95;
  white-space: nowrap;
  min-width: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .correction-item__strike path {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: strike-draw 520ms cubic-bezier(0.65, 0, 0.35, 1) both;
  }
  .correction-item__now {
    animation: write-nudge 320ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .correction-item:nth-child(1) .correction-item__strike path {
    animation-delay: 300ms;
  }
  .correction-item:nth-child(1) .correction-item__now {
    animation-delay: 780ms;
  }
  .correction-item:nth-child(2) .correction-item__strike path {
    animation-delay: 520ms;
  }
  .correction-item:nth-child(2) .correction-item__now {
    animation-delay: 1000ms;
  }
  .correction-item:nth-child(3) .correction-item__strike path {
    animation-delay: 740ms;
  }
  .correction-item:nth-child(3) .correction-item__now {
    animation-delay: 1220ms;
  }
}
@keyframes strike-draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes write-nudge {
  from {
    transform: translateY(4px);
  }
  to {
    transform: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .sheet__ring path {
    stroke-dasharray: 190;
    stroke-dashoffset: 190;
    animation: ring-draw 700ms cubic-bezier(0.16, 1, 0.3, 1) 200ms forwards;
  }
}
@keyframes ring-draw {
  to {
    stroke-dashoffset: 0;
  }
}
.faq__item[open] > .faq__a {
  animation: faq-open 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes faq-open {
  from {
    opacity: 0;
    transform: translateY(-4px);
    clip-path: inset(0 0 100% 0);
  }
  to {
    opacity: 1;
    transform: none;
    clip-path: inset(0 0 0 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .faq__item[open] > .faq__a {
    animation: none;
  }
  .sheet__ring path {
    animation: none;
    stroke-dashoffset: 0;
  }
}
.bot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20rem;
  align-items: center;
  gap: 3rem;
}
@media (max-width: 991px) {
  .bot {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }
}

.bot__lead {
  max-width: 68ch;
  margin: 0 0 1rem;
  font-size: 1.125rem;
  line-height: 1.55;
  color: #495057;
}

.bot__body {
  max-width: 68ch;
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.7;
  color: #6b737c;
}

.bot__list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.bot__list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: #0f1216;
}

.bot__tick {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: #edf7fb;
  color: #0a6b95;
}
.bot__tick svg {
  width: 0.75rem;
  height: 0.75rem;
}

.bot__note {
  max-width: 68ch;
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #6b737c;
}

.bot__cta {
  align-self: flex-start;
  background: #0f1216;
  color: #ffffff;
}
.bot__cta:hover {
  background: #2f353b;
  color: #ffffff;
  text-decoration: none;
}
.bot__cta svg {
  width: 0.875rem;
  height: 0.875rem;
  transition: transform 140ms cubic-bezier(0.2, 0, 0.2, 1);
}
.bot__cta:hover svg {
  transform: translate(1px, -1px);
}

.bot__art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 0;
}
@media (max-width: 991px) {
  .bot__art {
    order: -1;
  }
}

.bot__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26rem;
  height: 26rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(15, 131, 180, 0.16) 0%, rgba(15, 131, 180, 0.07) 38%, rgba(15, 131, 180, 0) 68%);
  pointer-events: none;
  animation: bot-glow 7s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@media (max-width: 576px) {
  .bot__glow {
    width: 20rem;
    height: 20rem;
  }
}

@keyframes bot-step-head {
  0%, 0% {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
  2%, 88% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  95%, 100% {
    opacity: 0;
    transform: translateY(-4px) scale(0.99);
  }
}
@keyframes bot-step-out {
  0%, 5% {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
  9%, 88% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  95%, 100% {
    opacity: 0;
    transform: translateY(-4px) scale(0.99);
  }
}
@keyframes bot-step-in {
  0%, 13% {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
  17%, 88% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  95%, 100% {
    opacity: 0;
    transform: translateY(-4px) scale(0.99);
  }
}
@keyframes bot-step-done {
  0%, 21% {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
  25%, 88% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  95%, 100% {
    opacity: 0;
    transform: translateY(-4px) scale(0.99);
  }
}
@keyframes bot-step-seal {
  0%, 27% {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
  31%, 88% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  95%, 100% {
    opacity: 0;
    transform: translateY(-4px) scale(0.99);
  }
}
@keyframes bot-step-composer {
  0%, 34% {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
  38%, 88% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  95%, 100% {
    opacity: 0;
    transform: translateY(-4px) scale(0.99);
  }
}
@keyframes bot-step-send {
  0%, 34% {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
  38%, 88% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  95%, 100% {
    opacity: 0;
    transform: translateY(-4px) scale(0.99);
  }
}
@keyframes bot-step-tick {
  0%, 33% {
    opacity: 0;
    stroke-dashoffset: 100;
  }
  34% {
    opacity: 1;
    stroke-dashoffset: 100;
  }
  41%, 88% {
    opacity: 1;
    stroke-dashoffset: 0;
  }
  95%, 100% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
}
@keyframes bot-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
@keyframes bot-msg {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes bot-seal {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes bot-tick {
  to {
    stroke-dashoffset: 0;
  }
}
.bot__sky {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30rem;
  height: 30rem;
  transform: translate(-50%, -50%);
  pointer-events: none;
  overflow: visible;
}
.bot__sky .ping {
  fill: none;
  stroke: #2f9fcd;
  stroke-width: 1.5;
  opacity: 0;
  transform-origin: 210px 210px;
  animation: bot-ping 7s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
.bot__sky .ping--2 {
  animation-delay: 3.5s;
}
@media (max-width: 576px) {
  .bot__sky {
    width: 22rem;
    height: 22rem;
  }
}

@keyframes bot-ping {
  0% {
    opacity: 0;
    transform: scale(0.72);
  }
  12% {
    opacity: 0.35;
  }
  60% {
    opacity: 0;
    transform: scale(1.5);
  }
  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}
@keyframes bot-glow {
  0%, 100% {
    opacity: 0.75;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.06);
  }
}
.phone {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 17rem;
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(15, 18, 22, 0.16));
  animation: bot-float 7s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@media (max-width: 576px) {
  .phone {
    max-width: 13.5rem;
  }
}
.phone .phone__body {
  fill: #ffffff;
  stroke: #ced4da;
  stroke-width: 2;
}
.phone .phone__screen {
  fill: #f8f9fa;
  stroke: #e9ecef;
  stroke-width: 1;
}
.phone .phone__speaker,
.phone .phone__home {
  stroke: #ced4da;
  stroke-width: 2.5;
  stroke-linecap: round;
}
.phone .avatar {
  fill: #0f83b4;
}
.phone .avatar__plane {
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.1;
  stroke-linejoin: round;
}
.phone .chat__rule {
  stroke: #e9ecef;
  stroke-width: 1;
}
.phone .bar {
  fill: #ced4da;
}
.phone .bar--faint {
  fill: #e1e5ea;
}
.phone .bar--name {
  fill: #adb5bd;
}
.phone .bar--sub {
  fill: #e1e5ea;
}
.phone .msg--out .msg__ground {
  fill: #edf7fb;
  stroke: #a6d9ed;
  stroke-width: 1;
}
.phone .msg--in .msg__ground {
  fill: #ffffff;
  stroke: #e1e5ea;
  stroke-width: 1;
}
.phone .msg--done .msg__ground {
  fill: #e8f6ef;
  stroke: rgba(18, 128, 92, 0.28);
  stroke-width: 1;
}
.phone .cover__face {
  fill: #ffffff;
  stroke: #0f83b4;
  stroke-width: 1.4;
}
.phone .cover__spine {
  stroke: #0f83b4;
  stroke-width: 1.4;
}
.phone .cover__band {
  fill: #a6d9ed;
}
.phone .cover--done .cover__face {
  stroke: #12805c;
}
.phone .cover--done .cover__spine {
  stroke: #12805c;
}
.phone .cover--done .cover__band {
  fill: rgba(18, 128, 92, 0.35);
}
.phone .seal {
  fill: #12805c;
  stroke: #e8f6ef;
  stroke-width: 2;
}
.phone .seal__tick {
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.phone .composer {
  fill: #ffffff;
  stroke: #e1e5ea;
  stroke-width: 1;
}
.phone .send__ground {
  fill: #0f83b4;
}
.phone .chat__head,
.phone .msg--out,
.phone .msg--in,
.phone .msg--done,
.phone .seal,
.phone .composer,
.phone .send {
  animation-duration: 12s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}
.phone .chat__head {
  animation-name: bot-step-head;
}
.phone .msg--out {
  animation-name: bot-step-out;
}
.phone .msg--in {
  animation-name: bot-step-in;
}
.phone .msg--done {
  animation-name: bot-step-done;
}
.phone .composer {
  animation-name: bot-step-composer;
}
.phone .send {
  animation-name: bot-step-send;
}
.phone .msg--out {
  transform-origin: 85% 100%;
}
.phone .msg--in,
.phone .msg--done {
  transform-origin: 15% 100%;
}
.phone .seal {
  transform-origin: 62px 211px;
  animation-name: bot-step-seal;
}
.phone .seal__tick {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: bot-step-tick 12s cubic-bezier(0.16, 1, 0.3, 1) infinite both;
}
.phone .send__plane,
.phone .send__fold {
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.4;
  stroke-linejoin: round;
  stroke-linecap: round;
}

@media (prefers-reduced-motion: reduce) {
  .bot__sky .ping,
  .bot__glow,
  .phone,
  .phone .chat__head,
  .phone .msg--out,
  .phone .msg--in,
  .phone .msg--done,
  .phone .seal,
  .phone .composer,
  .phone .send {
    animation: none;
  }
  .phone .seal__tick {
    stroke-dashoffset: 0;
  }
}
