@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap");

:root {
  --site-bg: #f3f0e8;
  --site-bg-soft: #faf7f0;
  --site-surface: rgba(255, 255, 255, 0.88);
  --site-surface-strong: #fffdf9;
  --site-ink: #1f2430;
  --site-muted: #596275;
  --site-line: rgba(31, 36, 48, 0.1);
  --site-primary: #0f766e;
  --site-primary-strong: #0a5b55;
  --site-accent: #d97706;
  --site-shadow: 0 24px 70px rgba(31, 36, 48, 0.1);
  --site-shadow-soft: 0 14px 34px rgba(31, 36, 48, 0.08);
  --site-radius: 24px;
  --site-radius-sm: 18px;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--site-ink);
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.12), transparent 24%),
    radial-gradient(circle at top right, rgba(217, 119, 6, 0.12), transparent 26%),
    linear-gradient(180deg, #fbfaf6 0%, var(--site-bg) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 85%);
  opacity: 0.45;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 40;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--site-primary);
  color: #fff;
  font-weight: 800;
}

.skip-link:focus {
  top: 1rem;
}

main,
nav,
footer,
.modal {
  position: relative;
  z-index: 1;
}

h1,
h2,
h3,
h4,
h5,
h6,
.title {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
  color: var(--site-ink);
}

p,
li,
.subtitle,
.content,
.label,
.button,
.input,
.textarea,
.tag {
  font-family: "Manrope", sans-serif;
}

p,
ul,
ol,
dl {
  margin: 0;
}

a {
  color: var(--site-primary);
  transition: color 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}

a:hover {
  color: var(--site-primary-strong);
}

.navbar.site-navbar {
  position: sticky;
  top: 1rem;
  z-index: 35;
  margin-top: 1.25rem;
  margin-left: auto;
  margin-right: auto;
  width: calc(100% - 2rem);
  max-width: 1160px;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(31, 36, 48, 0.08);
  border-radius: 22px;
  background: rgba(255, 253, 249, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 48px rgba(31, 36, 48, 0.08);
}

.navbar.site-navbar .navbar-brand,
.navbar.site-navbar .navbar-menu,
.navbar.site-navbar .navbar-start,
.navbar.site-navbar .navbar-end,
.navbar.site-navbar .buttons {
  align-items: center;
}

.navbar.site-navbar .navbar-menu {
  flex-grow: 1;
  flex-shrink: 1;
  justify-content: space-between;
  padding: 0;
  margin-left: auto;
  background: transparent;
  box-shadow: none;
}

.navbar.site-navbar .navbar-start,
.navbar.site-navbar .navbar-end {
  gap: 0.35rem;
}

.navbar.site-navbar .navbar-brand {
  margin-right: 0.75rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.45rem 0.55rem !important;
}

.site-brand:hover,
.site-brand:focus-visible {
  background: transparent;
}

.brand-mark {
  display: inline-flex;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 12px;
  background:
    radial-gradient(circle at 30% 30%, #6f7ff0, #4f61d9 62%, #3849b5 100%);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
}

.brand-mark::before {
  width: 0.92rem;
  height: 0.92rem;
  left: 0.56rem;
  top: 0.5rem;
  border-radius: 999px;
  border: 0.16rem solid #fff;
}

.brand-mark::after {
  width: 0.72rem;
  height: 0.18rem;
  right: 0.38rem;
  bottom: 0.52rem;
  border-radius: 999px;
  background: #fff;
  transform: rotate(45deg);
  transform-origin: center;
  box-shadow: 0 0 0 0.02rem rgba(255, 255, 255, 0.24);
}

.site-brand-text {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--site-ink);
}

.navbar-item .title,
.navbar-brand .title {
  margin-bottom: 0;
}

.navbar-item {
  padding: 0.7rem 0.82rem;
  font-weight: 700;
  border-radius: 14px;
}

.navbar-item:hover,
.navbar-item:focus-visible {
  background: rgba(15, 118, 110, 0.08);
}

.site-nav-links .navbar-item {
  color: var(--site-muted);
  font-size: 0.96rem;
}

.site-nav-links .navbar-item:hover,
.site-nav-links .navbar-item:focus-visible {
  color: var(--site-ink);
}

.site-nav-links .navbar-item.is-current-path,
.site-nav-links .navbar-item[aria-current="page"] {
  color: var(--site-ink);
  background: rgba(15, 118, 110, 0.1);
}

.navbar.site-navbar .buttons {
  gap: 0.5rem;
}

.navbar.site-navbar .buttons .button {
  min-height: 2.7rem;
  padding-inline: 0.95rem;
}

.navbar.site-navbar .navbar-end .navbar-item {
  padding: 0;
}

.button.site-cta {
  background: #1f2430;
  border-color: #1f2430;
  color: #fff;
  box-shadow: none;
}

.navbar-burger {
  width: 2.9rem;
  height: 2.9rem;
  margin-left: auto;
  border-radius: 14px;
  color: var(--site-ink);
}

.navbar-burger:hover,
.navbar-burger:focus-visible {
  background: rgba(15, 118, 110, 0.08);
}

.button.site-cta:hover,
.button.site-cta:focus-visible {
  background: #151925;
  color: #fff;
}

.buttons .button,
.button.is-link,
.button.is-dark,
.button.is-light {
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease;
}

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

.button.is-link {
  background: linear-gradient(135deg, var(--site-primary), #11998e);
  border: none;
  box-shadow: 0 14px 32px rgba(15, 118, 110, 0.22);
}

.button.is-link:hover {
  background: linear-gradient(135deg, var(--site-primary-strong), var(--site-primary));
}

.button.is-dark {
  background: linear-gradient(135deg, #1f2430, #354052);
}

.button.is-light {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(31, 36, 48, 0.08);
  color: var(--site-ink);
}

.input,
.textarea,
.select select {
  border-radius: 20px;
  border-color: rgba(31, 36, 48, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.input:focus,
.textarea:focus,
.select select:focus {
  border-color: rgba(15, 118, 110, 0.42);
  box-shadow:
    0 0 0 0.2rem rgba(15, 118, 110, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.site-hero.hero,
.page-hero.hero,
.resources-hero.hero,
.surface-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.14), transparent 24%),
    radial-gradient(circle at bottom right, rgba(217, 119, 6, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(255, 253, 249, 0.96) 0%, rgba(248, 244, 235, 0.96) 100%);
}

.site-hero.hero::after,
.page-hero.hero::after,
.resources-hero.hero::after,
.surface-section::after {
  content: "";
  position: absolute;
  inset: auto -8% -32% auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.12), transparent 68%);
  pointer-events: none;
}

.hero-body {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.hero-body > .container {
  position: relative;
  z-index: 1;
}

.section {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.results-section {
  display: none;
}

.results-section.is-visible {
  display: block;
}

#results[hidden] {
  display: none !important;
}

#results.results-section.is-visible {
  display: block !important;
}

.site-main {
  display: block;
}

.results-section .container {
  position: relative;
}

.page-content-shell {
  position: relative;
}

.article-panel {
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(31, 36, 48, 0.08);
  border-radius: var(--site-radius);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--site-shadow-soft);
}

.box,
.card,
.detector-value-box,
.seo-card,
.result-card,
.modal-card {
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius);
  background: var(--site-surface);
  box-shadow: var(--site-shadow-soft);
}

.card,
.seo-card,
.result-card {
  overflow: hidden;
}

.card {
  height: 100%;
}

.card-content,
.box {
  padding: 1.5rem;
}

.card:hover,
.seo-card:hover,
.result-card:hover,
.detector-value-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--site-shadow);
}

.card,
.seo-card,
.result-card,
.detector-value-box {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.detector-value-box {
  border-color: rgba(15, 118, 110, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 251, 250, 0.92) 100%);
}



.card-footer {
  border-top: 1px solid rgba(31, 36, 48, 0.08);
  background: rgba(255, 255, 255, 0.5);
}

.card-footer-item {
  font-weight: 800;
}

.field.has-addons.is-flex-wrap-wrap {
  gap: 0.85rem;
}

.field.has-addons.is-flex-wrap-wrap .control {
  margin-bottom: 0 !important;
}

.field.has-addons.is-flex-wrap-wrap .control .button,
.field.has-addons.is-flex-wrap-wrap .control .input {
  min-height: 3.6rem;
}

.detector-form {
  max-width: 46rem;
}

.detector-form-field {
  display: flex;
  align-items: stretch;
  gap: 0.45rem;
  padding: 0.38rem;
  border: 1px solid rgba(31, 36, 48, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow:
    0 20px 44px rgba(15, 118, 110, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.detector-form-control {
  display: flex;
}

.detector-form-control.is-expanded {
  flex: 1 1 auto;
  min-width: 0;
}

.detector-form-field .input,
.detector-form-field .button {
  min-height: 3.7rem;
}

.detector-form-field .input {
  border: 0;
  background: transparent !important;
  box-shadow: none;
  padding-left: 2.9rem;
  padding-right: 1rem;
}

.detector-form-field .input:focus {
  border-color: transparent;
  box-shadow: none;
}

.detector-form-field .icon {
  color: rgba(31, 36, 48, 0.3);
}

.detector-form-field .button {
  min-width: 14rem;
  border-radius: 22px;
  box-shadow: 0 16px 30px rgba(15, 118, 110, 0.2);
}

.app-examples .button {
  margin-bottom: 0.5rem;
}

.hero-visual,
.inline-figure,
.reference-card {
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius);
  background: var(--site-surface);
  box-shadow: var(--site-shadow-soft);
}

.hero-visual {
  padding: 1.25rem;
}

.hero-visual img,
.inline-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.inline-figure {
  margin: 1.5rem 0 1.75rem;
  overflow: hidden;
}

.figure-caption {
  padding: 1rem 1.2rem 1.2rem;
  color: var(--site-muted);
  font-size: 0.96rem;
}

.reference-card {
  padding: 1.35rem 1.4rem;
}

.reference-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.reference-list li + li {
  margin-top: 0.85rem;
}

.reference-link {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(31, 36, 48, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
}

.reference-link strong {
  display: block;
  color: var(--site-ink);
}

.reference-link span {
  display: block;
  color: var(--site-muted);
  font-size: 0.95rem;
}

.reference-link i {
  margin-top: 0.15rem;
  color: var(--site-primary);
}

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

.mini-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.mini-stat {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(31, 36, 48, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.mini-stat strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  color: var(--site-ink);
}

.mini-stat span {
  color: var(--site-muted);
  font-size: 0.92rem;
}

.app-spotlight-grid,
.compare-grid,
.ranking-grid,
.category-link-grid {
  display: grid;
  gap: 1.25rem;
}

.app-spotlight-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.compare-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ranking-grid {
  grid-template-columns: 1fr;
}

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

.app-spotlight-card,
.compare-card,
.ranking-card,
.category-link-card {
  height: 100%;
  padding: 1.2rem;
  border: 1px solid rgba(31, 36, 48, 0.08);
  border-radius: var(--site-radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--site-shadow-soft);
}

.app-spotlight-media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 92px;
  margin-bottom: 1rem;
  padding: 0.9rem;
  border: 1px solid rgba(31, 36, 48, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
}

.app-spotlight-media img {
  max-width: 100%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.app-spotlight-card p,
.compare-card p {
  color: var(--site-muted);
}

.ranking-card {
  padding: 1.35rem;
}

.ranking-card-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.ranking-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.1rem;
  height: 3.1rem;
  padding: 0 0.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--site-primary), #11998e);
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  box-shadow: 0 14px 30px rgba(15, 118, 110, 0.2);
}

.ranking-app {
  display: flex;
  gap: 0.95rem;
  align-items: flex-start;
}

.ranking-app-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  padding: 0.55rem;
  border: 1px solid rgba(31, 36, 48, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
}

.ranking-app-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.ranking-card .tags {
  margin-bottom: 0.85rem;
}

.ranking-card .content {
  margin-bottom: 0;
}

.ranking-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.ranking-meta-item {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(31, 36, 48, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
}

.ranking-meta-label {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--site-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-note {
  display: block;
  margin-top: 0.85rem;
  color: var(--site-muted);
  font-size: 0.95rem;
}

.category-link-card .title {
  margin-bottom: 0.65rem;
}

.category-link-card p {
  color: var(--site-muted);
}

.ranking-method-list {
  margin: 0;
  padding-left: 1.2rem;
}

.ranking-disclaimer {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(31, 36, 48, 0.08);
  background: rgba(255, 255, 255, 0.72);
  color: var(--site-muted);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--site-primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compare-card .tag {
  margin-bottom: 0.85rem;
}

.tags .tag {
  border-radius: 999px;
  border: 1px solid rgba(31, 36, 48, 0.06);
  padding-inline: 0.9rem;
}

.tags {
  gap: 0.65rem;
}

.tag.is-link.is-light {
  background: rgba(15, 118, 110, 0.1);
  color: var(--site-primary-strong);
}

.tabs ul {
  border-bottom: none;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tabs li {
  margin-bottom: 0;
}

.tabs li a {
  border: 1px solid rgba(31, 36, 48, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  color: var(--site-muted);
  font-weight: 800;
  padding: 0.8rem 1.15rem;
}

.tabs li.is-active a {
  background: linear-gradient(135deg, var(--site-primary), #11998e);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 14px 28px rgba(15, 118, 110, 0.18);
}

.tabs {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab-content {
  display: none;
}

.tab-content.is-active {
  display: flex;
}

.result-card {
  height: 100%;
}

.result-card-image {
  border-radius: 16px;
  border: 1px solid rgba(31, 36, 48, 0.1);
  background: #fff;
}

.result-card code {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.2rem 0.5rem;
  border-radius: 10px;
  background: rgba(31, 36, 48, 0.06);
  color: var(--site-ink);
  white-space: break-spaces;
  word-break: break-word;
}

.empty-results {
  width: 100%;
}

.empty-results .notification {
  width: 100%;
  border-radius: var(--site-radius-sm);
  border: 1px solid rgba(31, 36, 48, 0.08);
  background: rgba(255, 255, 255, 0.8);
}

.breadcrumb a,
.breadcrumb li.is-active a {
  color: var(--site-muted);
  font-weight: 700;
}

.breadcrumb li + li::before {
  color: rgba(31, 36, 48, 0.32);
}

.breadcrumb ul {
  flex-wrap: wrap;
  row-gap: 0.35rem;
}

.content h2 {
  margin-top: 2rem;
  margin-bottom: 0.9rem;
  font-size: 1.7rem;
}

.content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.18rem;
}

.content p,
.content li,
.subtitle,
.bd-footer-link {
  color: var(--site-muted);
  line-height: 1.75;
}

.title:not(:last-child) {
  margin-bottom: 0.7rem;
}

.title:not(.is-spaced) + .subtitle {
  margin-top: 0.35rem;
}

.subtitle:not(:last-child) {
  margin-bottom: 0;
}

.content > :first-child {
  margin-top: 0 !important;
}

.content > :last-child {
  margin-bottom: 0 !important;
}

.content p + p,
.content p + ul,
.content p + ol,
.content ul + p,
.content ol + p,
.content ul + ul,
.content ol + ol,
.content blockquote + p,
.content p + blockquote {
  margin-top: 1rem;
}

.content h2 + p,
.content h2 + ul,
.content h2 + ol,
.content h3 + p,
.content h3 + ul,
.content h3 + ol {
  margin-top: 0;
}

.content li + li {
  margin-top: 0.45rem;
}

.hero .title,
.hero .subtitle,
.page-hero .title,
.page-hero .subtitle,
.resources-hero .title,
.resources-hero .subtitle {
  max-width: 46rem;
}

.hero .subtitle,
.page-hero .subtitle,
.resources-hero .subtitle {
  margin-top: 0.85rem;
}

.article-panel .content,
.ranking-card .content,
.seo-card .content,
.category-link-card .content,
.compare-card .content {
  display: flow-root;
}

.content ul,
.content ol {
  margin-left: 1.2rem;
}

.blog-title {
  line-height: 1.15;
}

.blog-lines {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.footer {
  background: transparent !important;
  padding-top: 0;
}

.footer > .columns,
.footer > .container {
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: calc(var(--site-radius) + 4px);
  background: rgba(255, 253, 249, 0.84);
  box-shadow: var(--site-shadow-soft);
  padding: 2rem;
}

.site-footer {
  padding-top: 0;
}

.site-footer-shell {
  padding: 2rem 2rem 1.7rem !important;
}

.site-footer .columns {
  align-items: flex-start;
}

.site-footer-brand {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  color: var(--site-ink);
}

.site-footer-brand:hover,
.site-footer-brand:focus-visible {
  color: var(--site-ink);
}

.site-footer-title {
  display: block;
  margin-bottom: 0.45rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  line-height: 1.1;
}

.site-footer-copy {
  display: block;
  color: var(--site-muted);
  line-height: 1.75;
}

.site-footer .bd-footer-title {
  margin-bottom: 0.85rem;
  font-size: 1rem;
}

.site-footer .bd-footer-link {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer .bd-footer-link li {
  line-height: 1.5;
}

.site-footer .bd-footer-link a {
  display: inline-block;
}

.bd-footer-title,
.bd-footer-link a,
.footer p,
.footer li {
  color: var(--site-ink);
}

.footer a:hover {
  color: var(--site-primary-strong);
}

.image.is-fullwidth img,
.image img {
  border-radius: 20px;
}

.modal-card {
  overflow: hidden;
}

.modal-card-head,
.modal-card-foot {
  background: rgba(255, 253, 249, 0.94);
}

.modal-card-body {
  background: rgba(255, 255, 255, 0.94);
}

.notification.is-light.is-link,
.notification.is-light {
  border-radius: var(--site-radius-sm);
}

hr {
  background: linear-gradient(90deg, transparent, rgba(31, 36, 48, 0.12), transparent);
  height: 1px;
}

@media screen and (max-width: 1023px) {
  .navbar.site-navbar {
    width: calc(100% - 1rem);
    max-width: none;
    border-radius: 24px;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
  }

  .navbar.site-navbar .navbar-menu {
    border-radius: 24px;
    margin-top: 0.8rem;
    padding: 0.75rem;
    background: rgba(255, 253, 249, 0.95);
    box-shadow: var(--site-shadow-soft);
    flex-grow: 1;
    justify-content: flex-start;
  }

  .navbar.site-navbar .navbar-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-right: 0;
  }

  .navbar.site-navbar .navbar-end {
    margin-left: 0;
  }

  .site-nav-links .navbar-item {
    width: 100%;
    justify-content: flex-start;
  }

  .site-brand {
    padding-right: 0.25rem !important;
  }

  .navbar.site-navbar .navbar-end .navbar-item,
  .navbar.site-navbar .buttons,
  .button.site-cta {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .section {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }

  .navbar.site-navbar {
    margin-top: 0.75rem;
    width: calc(100% - 0.8rem);
    border-radius: 22px;
    top: 0.5rem;
    padding-inline: 0.55rem;
  }

  .hero-body {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .card-content,
  .box,
  .footer > .columns,
  .footer > .container {
    padding: 1.2rem;
  }

  .site-footer-shell {
    padding: 1.3rem !important;
  }

  .title.is-1 {
    font-size: 2.35rem !important;
  }

  .article-panel {
    padding: 1rem 1.15rem;
  }

  .resource-grid,
  .mini-stat-grid,
  .app-spotlight-grid,
  .compare-grid,
  .category-link-grid,
  .ranking-meta {
    grid-template-columns: 1fr;
  }

  .site-hero.hero::after,
  .page-hero.hero::after,
  .resources-hero.hero::after,
  .surface-section::after {
    width: 220px;
    height: 220px;
    inset: auto -18% -22% auto;
  }

  .site-brand-text {
    font-size: 1.16rem;
  }

  .brand-mark {
    width: 2rem;
    height: 2rem;
    border-radius: 11px;
  }

  .brand-mark::before {
    width: 0.76rem;
    height: 0.76rem;
    left: 0.46rem;
    top: 0.42rem;
    border-width: 0.14rem;
  }

  .brand-mark::after {
    width: 0.62rem;
    height: 0.16rem;
    right: 0.32rem;
    bottom: 0.46rem;
  }

  .navbar-burger {
    width: 2.7rem;
    height: 2.7rem;
  }

  .navbar.site-navbar .navbar-menu {
    margin-top: 0.65rem;
    padding: 0.55rem;
  }

  .navbar.site-navbar .navbar-menu .navbar-item {
    padding: 0.8rem 0.9rem;
    font-size: 0.98rem;
  }

  .button.site-cta {
    min-height: 3rem;
  }

  .subtitle.is-5,
  .subtitle.is-6,
  .subtitle {
    font-size: 1rem !important;
    line-height: 1.65;
  }

  .content h2 {
    font-size: 1.42rem;
    line-height: 1.2;
  }

  .content h3 {
    font-size: 1.08rem;
    line-height: 1.3;
  }

  .content p,
  .content li,
  .subtitle,
  .bd-footer-link {
    line-height: 1.68;
  }

  .field.has-addons.is-flex-wrap-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
  }

  .field.has-addons.is-flex-wrap-wrap .control,
  .field.has-addons.is-flex-wrap-wrap .control .button,
  .field.has-addons.is-flex-wrap-wrap .control .input {
    width: 100%;
  }

  .field.has-addons.is-flex-wrap-wrap .control .button {
    justify-content: center;
  }

  .detector-form-field {
    gap: 0.42rem;
    padding: 0.4rem;
    border-radius: 24px;
  }

  .detector-form-control,
  .detector-form-control .button,
  .detector-form-control .input {
    width: 100%;
  }

  .detector-form-field .button {
    min-width: 0;
    border-radius: 18px;
  }

  .tags {
    gap: 0.5rem;
  }

  .tags .tag {
    font-size: 0.84rem;
    padding-inline: 0.75rem;
  }

  .app-examples {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .app-examples .button {
    width: 100%;
    justify-content: center;
    margin-bottom: 0;
  }

  .tabs {
    margin-inline: -0.1rem;
  }

  .tabs ul {
    flex-wrap: nowrap;
    gap: 0.6rem;
    padding-bottom: 0.15rem;
  }

  .tabs li {
    flex: 0 0 auto;
  }

  .tabs li a {
    padding: 0.72rem 1rem;
    white-space: nowrap;
  }

  .result-card .is-flex.is-align-items-flex-start {
    flex-direction: column;
    gap: 1rem;
  }

  .result-card .app-image {
    margin-right: 0 !important;
  }

  .result-card .tags {
    margin-top: 0.2rem;
  }

  .reference-link {
    flex-direction: column;
    gap: 0.6rem;
  }

  .reference-link i {
    margin-top: 0;
  }

  .ranking-card {
    padding: 1.1rem;
  }

  .ranking-card-header {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .ranking-number {
    min-width: 2.85rem;
    width: fit-content;
    height: 2.85rem;
  }

  .ranking-app {
    gap: 0.8rem;
  }

  .ranking-app-logo {
    width: 3.35rem;
    height: 3.35rem;
    border-radius: 16px;
  }

  .breadcrumb {
    font-size: 0.88rem;
  }

  .footer {
    padding-bottom: 2rem;
  }

  .site-footer-brand {
    gap: 0.85rem;
    margin-bottom: 0.4rem;
  }

  .site-footer-title {
    font-size: 1.18rem;
  }

  .site-footer-copy {
    font-size: 0.96rem;
  }
}

@media screen and (max-width: 480px) {
  body::before {
    opacity: 0.26;
    background-size: 24px 24px;
  }

  .navbar.site-navbar {
    width: calc(100% - 0.65rem);
    top: 0.35rem;
    margin-top: 0.45rem;
    border-radius: 18px;
  }

  .hero-body {
    padding-top: 2.15rem;
    padding-bottom: 2.15rem;
  }

  .section {
    padding-top: 2.35rem;
    padding-bottom: 2.35rem;
  }

  .title.is-1 {
    font-size: 2rem !important;
  }

  .title.is-2 {
    font-size: 1.7rem !important;
  }

  .box,
  .card-content,
  .article-panel,
  .site-footer-shell {
    padding: 1rem !important;
  }

  .hero-visual,
  .reference-card,
  .app-spotlight-card,
  .compare-card,
  .detector-value-box,
  .ranking-card,
  .category-link-card {
    border-radius: 20px;
  }

  .detector-form-field {
    padding: 0.35rem;
    border-radius: 20px;
  }

  .detector-form-field .input,
  .detector-form-field .button {
    min-height: 3.35rem;
  }

  .detector-form-field .input {
    padding-left: 2.7rem;
  }

  .content ul,
  .content ol {
    margin-left: 1rem;
  }
}
