@font-face {
  font-family: "NunitoLocal";
  src: url("static/fonts/nunito-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: optional;
}

@font-face {
  font-family: "NunitoLocal";
  src: url("static/fonts/nunito-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: optional;
}

@font-face {
  font-family: "OswaldLocal";
  src: url("static/fonts/oswald-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: optional;
}

:root {
  --cas-bg: #e9edf3;
  --cas-paper: #ffffff;
  --cas-ink: #112439;
  --cas-muted: #47607a;
  --cas-navy: #2f465f;
  --cas-navy-deep: #0e2436;
  --cas-yellow: #f0ce2d;
  --cas-yellow-strong: #e2bb00;
  --cas-line: #ccd8e6;
  --cas-shadow-soft: 0 12px 26px rgba(12, 29, 47, 0.14);
  --cas-shadow-lift: 0 16px 30px rgba(12, 29, 47, 0.24);
  --cas-radius-lg: 18px;
  --cas-radius-md: 12px;
  --cas-radius-sm: 8px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: radial-gradient(1400px 600px at 75% -120px, #3d5f83 0%, #253d56 36%, #152b42 100%) fixed;
  color: var(--cas-ink);
  font-family: "NunitoLocal", "Segoe UI", sans-serif;
  line-height: 1.58;
}

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

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

.cas-layout {
  min-height: 100vh;
}

.cas-sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 280px;
  background: linear-gradient(180deg, #11283c 0%, #0c2032 100%);
  color: #f1f6fd;
  display: flex;
  flex-direction: column;
  padding: 16px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 40;
}

.cas-sidebar-brand {
  display: grid;
  place-items: center;
  width: 100%;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.cas-sidebar-brand img {
  width: 180px;
  height: auto;
  object-fit: contain;
}

.cas-sidebar-cta {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.entryGuideEntry,
.cas-btn-ghost {
  min-height: 50px;
  min-width: 220px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.entryGuideEntry {
  background: linear-gradient(180deg, var(--cas-yellow) 0%, var(--cas-yellow-strong) 100%);
  color: #112439;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.24);
}

.entryGuideEntry:hover,
.entryGuideEntry:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 18px rgba(0, 0, 0, 0.28);
}

.cas-btn-ghost {
  background: #4a6d88;
  color: #eff6ff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.cas-btn-ghost:hover,
.cas-btn-ghost:focus-visible {
  background: #5b7f9c;
}

.cas-sidebar-nav {
  margin-top: 18px;
  display: grid;
  gap: 6px;
  overflow: auto;
  padding-right: 4px;
}

.cas-sidebar-link {
  font-size: 0.95rem;
  color: #d9e8f9;
  border-radius: 8px;
  padding: 8px 10px;
  border: 1px solid transparent;
}

.cas-sidebar-link:hover,
.cas-sidebar-link:focus-visible {
  border-color: rgba(240, 206, 45, 0.65);
  color: #fff5c6;
}

.cas-sidebar-note {
  margin-top: auto;
  margin-bottom: 0;
  font-size: 0.8rem;
  color: #b7cde2;
}

.cas-main-shell {
  margin-left: 280px;
  min-height: 100vh;
  background: var(--cas-bg);
}

.cas-top-strip {
  background: #dce5ef;
  color: #1c344d;
  font-size: 0.88rem;
  font-weight: 700;
}

.cas-top-strip-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.cas-top-nav {
  background: var(--cas-navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.cas-top-nav-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.cas-top-logo {
  width: 170px;
  object-fit: contain;
}

.cas-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: #ebf3fd;
  font-weight: 700;
}

.cas-menu a:hover,
.cas-menu a:focus-visible {
  color: #fef4be;
}

.cas-top-actions {
  margin-left: auto;
  display: flex;
  gap: 10px;
}

.cas-top-actions .entryGuideEntry,
.cas-top-actions .cas-btn-ghost {
  min-width: 156px;
  min-height: 44px;
}

.cas-content {
  max-width: 1500px;
  margin: 0 auto;
  padding: 24px 24px 0;
}

.cas-section {
  margin-block: clamp(16px, 2vw, 24px);
}

.cas-content > .cas-section:first-of-type {
  margin-top: 0;
}

.cas-content > .cas-section:last-of-type {
  margin-bottom: 0;
}

.cas-panel {
  background: var(--cas-paper);
  border-radius: var(--cas-radius-lg);
  box-shadow: var(--cas-shadow-soft);
  padding: clamp(16px, 2.2vw, 24px);
}

h1,
h2,
h3 {
  margin: 0 0 12px;
  color: var(--cas-ink);
  line-height: 1.18;
}

h1,
h2 {
  font-family: "OswaldLocal", "Trebuchet MS", sans-serif;
  letter-spacing: 0.01em;
}

p {
  margin: 0 0 12px;
}

ul,
ol {
  margin: 0;
  padding-left: 20px;
}

li {
  margin-bottom: 8px;
}

.cas-hero-banner {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--cas-shadow-lift);
}

.cas-hero-banner picture,
.cas-hero-banner img {
  width: 100%;
}

.cas-hero-media {
  min-height: 300px;
  object-fit: cover;
}

.cas-hero-card {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(560px, calc(100% - 34px));
  background: rgba(10, 23, 38, 0.75);
  backdrop-filter: blur(2px);
  color: #f7fbff;
  border-radius: 16px;
  padding: clamp(16px, 2.8vw, 24px);
  text-align: left;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

.cas-hero-card h1 {
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.cas-hero-offer {
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
}

.cas-nav-accordion {
  background: #324f6f;
  color: #eaf4ff;
  border-radius: 10px;
  overflow: hidden;
}

.cas-nav-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  font-size: 0.96rem;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.cas-nav-trigger span:last-child {
  transition: transform 0.2s ease;
}

.cas-nav-trigger[aria-expanded="true"] span:last-child {
  transform: rotate(180deg);
}

.cas-nav-links {
  display: none;
  padding: 0 14px 10px;
  gap: 6px;
  grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
  align-content: start;
}

.cas-nav-links.cas-open {
  display: grid;
}

.cas-nav-links a {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  padding: 8px 10px;
  font-size: 0.93rem;
  line-height: 1.28;
  min-height: 38px;
  display: flex;
  align-items: flex-start;
}

.cas-nav-links a:hover,
.cas-nav-links a:focus-visible {
  background: rgba(255, 255, 255, 0.2);
}

.cas-slots-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.cas-slot-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, #152b40 0%, #0f2538 100%);
  box-shadow: 0 8px 18px rgba(10, 28, 42, 0.26);
}

.cas-slot-card:hover,
.cas-slot-card[data-active="true"] {
  box-shadow: 0 14px 24px rgba(10, 28, 42, 0.36);
}

.cas-slot-image-wrap {
  padding: 0;
  width: 100%;
  aspect-ratio: 216 / 290;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
}

.cas-slot-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #0f2438;
}

.cas-slot-name {
  display: none;
}

.cas-slot-reveal {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 66px;
  height: 66px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.42);
  color: #0f2436;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.cas-slot-reveal:hover,
.cas-slot-reveal:focus-visible {
  transform: scale(1.05);
}

.cas-slot-actions {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: grid;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cas-slot-card[data-active="true"] .cas-slot-actions,
.cas-slot-card[data-reveal-hover="true"] .cas-slot-actions {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cas-slot-card[data-active="true"] .cas-slot-reveal,
.cas-slot-card[data-reveal-hover="true"] .cas-slot-reveal {
  opacity: 0;
  pointer-events: none;
}

.cas-slot-action {
  min-height: 40px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  padding: 8px 12px;
  border-radius: 10px;
  border: 0;
  color: #f5f9ff;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.22);
}

.cas-slot-actions .entryGuideEntry {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  font-size: 0.95rem;
}

.cas-slot-play {
  background: linear-gradient(180deg, #f0ce2d 0%, #d9b10f 100%);
  color: #17304a;
}

.cas-slot-demo {
  background: linear-gradient(180deg, #4f789b 0%, #355876 100%);
}

.cas-table-wrap {
  overflow-x: auto;
}

.cas-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.cas-table th,
.cas-table td {
  border-bottom: 1px solid var(--cas-line);
  text-align: left;
  padding: 12px 10px;
  vertical-align: top;
}

.cas-table th {
  width: 36%;
  color: #1d3954;
}

.cas-grid-two {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cas-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.cas-pill {
  background: #dce7f2;
  color: #17334f;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.84rem;
}

.cas-reviews-shell {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.cas-review-nav {
  width: 42px;
  border: 0;
  border-radius: 10px;
  background: #355b7c;
  color: #ffffff;
  font-size: 1.25rem;
  cursor: pointer;
}

.cas-review-viewport {
  overflow: hidden;
  flex: 1;
}

.cas-review-track {
  display: flex;
  transition: transform 0.35s ease;
}

.cas-review-card {
  flex: 0 0 100%;
  background: #f8fbff;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px #d6e4f2;
  padding: 16px;
}

.cas-review-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
  margin-bottom: 8px;
}

.cas-review-rating {
  font-weight: 700;
  color: #175687;
}

.cas-mobile-check {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.cas-mobile-check li {
  margin-bottom: 0;
}

.cas-cta-banner {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  min-height: 300px;
  box-shadow: var(--cas-shadow-soft);
}

.cas-cta-banner picture,
.cas-cta-banner img {
  width: 100%;
  height: 100%;
}

.cas-cta-media {
  object-fit: cover;
  min-height: 300px;
}

.cas-cta-card {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(560px, calc(100% - 32px));
  background: rgba(15, 35, 54, 0.74);
  color: #f5fbff;
  border-radius: 14px;
  padding: clamp(16px, 2.5vw, 22px);
  display: grid;
  gap: 12px;
}

.cas-cta-card h3 {
  margin: 0;
  color: #ffffff;
}

.cas-calculator-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cas-field {
  display: grid;
  gap: 6px;
}

.cas-field label {
  font-weight: 700;
  color: #1f3852;
}

.cas-field input {
  width: 100%;
  min-height: 46px;
  border-radius: 10px;
  border: 1px solid #bccddd;
  padding: 8px 12px;
  font: inherit;
}

#cp6-calculator-result {
  margin-top: clamp(16px, 2vw, 24px);
  background: #eff6ff;
  border-radius: 10px;
  border: 1px solid #ccddf0;
  padding: 14px;
  font-weight: 700;
  color: #183755;
}

.cas-auth-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cas-auth-shot {
  width: min(420px, 100%);
  border-radius: 12px;
  box-shadow: var(--cas-shadow-soft);
  overflow: hidden;
  background: #f6fbff;
}

.cas-auth-shot img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.cas-faq details {
  background: #f9fcff;
  border: 1px solid #d7e5f3;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 10px;
}

.cas-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: #153551;
}

.cas-faq p {
  margin-top: 10px;
  margin-bottom: 0;
}

.cas-footer {
  margin-top: 24px;
  background: #10253a;
  color: #d4e5f8;
  padding: 18px 24px 18px;
}

.cas-footer-inner {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.cas-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cas-footer-links a {
  color: #f2f8ff;
}

.cas-footer-links a:hover,
.cas-footer-links a:focus-visible {
  color: #fef1ae;
}

.cas-footer small {
  color: #b9d0e7;
}

.cas-floating-bonus {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 90;
  background: linear-gradient(100deg, #17334d 0%, #264b6d 100%);
  color: #eef7ff;
  border-radius: 14px;
  box-shadow: 0 12px 22px rgba(8, 20, 33, 0.4);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.cas-floating-bonus.cas-floating-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cas-floating-text {
  margin: 0;
  flex: 1;
  font-size: 0.95rem;
}

.cas-floating-bonus .entryGuideEntry {
  min-width: 190px;
  min-height: 46px;
}

.cas-floating-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 1rem;
}

.cas-demo-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(6, 15, 24, 0.84);
  padding: 24px;
}

.cas-demo-modal.cas-open {
  display: flex;
}

.cas-demo-card {
  width: min(980px, 100%);
  background: #101f31;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 20px 28px rgba(0, 0, 0, 0.5);
}

.cas-demo-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.cas-demo-head h3 {
  color: #f0f7ff;
  margin: 0;
}

.cas-demo-close {
  border: 0;
  border-radius: 8px;
  background: #3a5d7d;
  color: #ffffff;
  width: 36px;
  height: 36px;
  font-size: 1.3rem;
  cursor: pointer;
}

.cas-demo-frame {
  width: 100%;
  height: 70vh;
  border: 0;
  border-radius: 10px;
  background: #081423;
}

.cas-demo-foot {
  margin-top: 10px;
  text-align: center;
}

.cas-contact-form {
  display: grid;
  gap: 10px;
  max-width: 560px;
}

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

.cas-form-msg {
  margin: 0;
  color: #1c4f73;
  font-weight: 700;
}

@media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
  .cas-slot-card:hover .cas-slot-actions {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .cas-slot-card:hover .cas-slot-reveal {
    opacity: 0;
    pointer-events: none;
  }
}

@media (max-width: 1280px) {
  .cas-sidebar {
    width: 252px;
  }

  .cas-main-shell {
    margin-left: 252px;
  }
}

@media (max-width: 1023px) {
  .cas-sidebar {
    position: sticky;
    width: 100%;
    height: auto;
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px 12px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .cas-sidebar-brand {
    width: 100%;
    padding: 0;
    display: flex;
    justify-content: center;
    flex: 0 0 auto;
  }

  .cas-sidebar-brand img {
    width: 150px;
  }

  .cas-sidebar-cta {
    margin-top: 0;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .cas-sidebar-cta .entryGuideEntry,
  .cas-sidebar-cta .cas-btn-ghost {
    min-width: 0;
    width: 100%;
    min-height: 42px;
    font-size: 0.89rem;
  }

  .cas-sidebar-nav,
  .cas-sidebar-note {
    display: none;
  }

  .cas-main-shell {
    margin-left: 0;
  }

  .cas-top-strip,
  .cas-top-nav {
    display: none;
  }

  .cas-content {
    padding: 16px 16px 0;
  }

  .cas-hero-card {
    text-align: center;
  }

  .cas-slots-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cas-grid-two {
    grid-template-columns: 1fr;
  }

  .cas-calculator-grid {
    grid-template-columns: 1fr;
  }

  .cas-floating-bonus {
    flex-wrap: wrap;
    padding-right: 50px;
  }

  .cas-floating-bonus .entryGuideEntry {
    min-width: 100%;
  }

  .cas-floating-close {
    position: absolute;
    right: 10px;
    top: 10px;
  }

  .cas-demo-modal {
    padding: 0;
  }

  .cas-demo-card {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    display: flex;
    flex-direction: column;
  }

  .cas-demo-frame {
    flex: 1;
    height: auto;
  }

  .cas-review-nav {
    width: 28px;
    border-radius: 8px;
  }

  .cas-cta-card {
    width: min(520px, calc(100% - 20px));
  }

  .cas-table {
    font-size: 0.84rem;
  }

  .cas-table th,
  .cas-table td {
    padding: 9px 7px;
    word-break: break-word;
  }

  .cas-footer {
    margin-top: 16px;
  }
}
