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

:root {
  --bg: #f3f6fb;
  --card: #ffffff;
  --muted: #556070;
  --text: #0f1c2c;
  --accent: #2ea4ff;
  --accent-2: #ff9a62;
  --border: #e3e8f2;
  --shadow: 0 24px 60px rgba(12, 39, 70, 0.14);
}

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

body {
  margin: 0;
  font-family: 'DM Sans', 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: url('ditu.png') center / cover fixed no-repeat;
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  scroll-behavior: smooth;
}

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

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

.shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(12, 39, 70, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 20px;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 12px;
  transition: background 0.2s ease, color 0.2s ease;
  color: #4b5567;
}

.nav-links a:hover {
  background: rgba(46, 164, 255, 0.12);
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(120deg, #2ea4ff, #63d0ff);
  color: #0b1422;
  box-shadow: 0 10px 26px rgba(46, 164, 255, 0.35);
}

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

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
  background: rgba(46, 164, 255, 0.08);
}

.btn-ghost:hover {
  border-color: rgba(46, 164, 255, 0.4);
}

.hero {
  padding: 70px 0 60px;
  position: relative;
  background: #0b2f1e url('ding1.png') center / cover no-repeat;
}

.hero::after {
  content: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr);
  gap: 28px;
  align-items: center;
}

.hero-title-top {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}

.hero-title-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 12px;
}

.hero-title-text {
  width: 100%;
  max-width: 880px;
  height: auto;
  display: block;
}

.hero-title-text--main {
  max-width: 880px;
}

.hero-title-text--sub {
  max-width: 760px;
}

.hero-main .hero-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-title-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 24px rgba(12, 39, 70, 0.16));
}

.hero-title-img--top {
  max-width: 860px;
}

.hero-visual {
  position: relative;
  background: linear-gradient(160deg, #ffffff, #edf3fb);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 24px;
  padding: 16px;
  overflow: hidden;
  max-width: 520px;
  margin-top: 28px;
}

.hero-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(46, 164, 255, 0.12);
  color: #0b1422;
  font-weight: 700;
  font-size: 13px;
}

.hero-device {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(12, 39, 70, 0.25);
  background: linear-gradient(140deg, #f7f9ff, #e9eff9);
  max-height: 640px;
}

.hero-device img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 640px;
  object-fit: contain;
}

.hero-lead {
  font-size: 18px;
  color: #2e3a4c;
  margin: 4px 0 4px;
}

.spark {
  color: var(--accent);
  font-weight: 700;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  margin: 12px 0 12px;
  line-height: 1.1;
}

.subhead {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 24px;
}

.note {
  color: var(--muted);
  font-size: 14px;
  margin-top: 10px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.hero-card {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  padding: 22px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.section {
  padding: 70px 0;
}

.section h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  margin: 0 0 12px;
}

.section p.section-lead {
  color: var(--muted);
  margin: 0 0 26px;
}

.game-start-bridge {
  padding: 26px 0 18px;
  text-align: center;
}

.game-start-banner {
  display: block;
  margin: 0 auto;
  max-width: 560px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 32px rgba(12, 39, 70, 0.18));
}

.bridge-caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.bridge-graphic {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
}

.bridge-subtitle {
  color: #fff;
  font-family: 'Space Grotesk', 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 3.4vw, 26px);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  padding: 0 12px;
  line-height: 1.25;
}

.bridge-shot-wrap {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 18px;
}

.bridge-shot {
  display: block;
  width: 100%;
  height: auto;
}

.bridge-copy-panel {
  width: 100%;
  margin-top: 10px;
}

.bridge-copy-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 18px 26px;
  color: #fff;
  font-family: 'Space Grotesk', 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(16px, 3vw, 18px);
  line-height: 1.5;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  text-align: left;
}

.bridge-copy-inner strong {
  font-weight: 700;
}

.bridge-copy-heading {
  margin: 14px 0 10px;
  font-weight: 700;
}

.bridge-list {
  margin: 0 0 16px 18px;
  padding: 0;
  list-style: disc;
}

.bridge-list li {
  margin-bottom: 6px;
}

.ditu1-section {
  position: relative;
  padding: 12px 0 26px;
}

.ditu1-shell {
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.ditu1-frame {
  width: min(860px, 92vw);
  margin: 0 auto;
  position: relative;
  aspect-ratio: 860 / 2665;
  --slot-left: 16%;
  --slot-top: 52%;
  --slot-width: 66%;
  --slot-height: 42%;
}

.ditu1-frame-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  pointer-events: none;
}

.ditu1-slot {
  position: absolute;
  left: var(--slot-left);
  top: var(--slot-top);
  width: var(--slot-width);
  height: var(--slot-height);
  z-index: 2;
  pointer-events: auto;
}

.ditu1-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  object-fit: contain;
  max-height: 300px;
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
  background: transparent;
}

.ditu1-carousel-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  height: 100%;
  pointer-events: auto;
}

.ditu1-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: none;
  overflow: hidden;
  border-radius: 14px;
  background: transparent;
  touch-action: pan-y;
  padding-bottom: 32px;
  box-sizing: border-box;
}

.ditu1-track {
  display: flex;
  transition: transform 0.35s ease;
  cursor: grab;
  height: calc(100% - 32px);
}

.ditu1-track.is-dragging {
  cursor: grabbing;
  transition: none;
}

.ditu1-slide {
  flex: 0 0 100%;
}

.ditu1-slide img {
  width: 100%;
  height: 100%;
  display: block;
  max-height: none;
  object-fit: contain;
}

.ditu1-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 0;
  background: transparent;
}

.ditu1-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: #1a1f1a;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease;
}

.ditu1-dot.is-active {
  background: #3de1ad;
  transform: scale(1.1);
}

.ditu1-dot:focus-visible {
  outline: 2px solid #3de1ad;
  outline-offset: 2px;
}

.ditu1-dot:hover {
  transform: scale(1.08);
}

.aboutus-section {
  padding: 84px 0 92px;
  text-align: center;
  color: #fff;
}

.aboutus-title {
  margin: 0;
  font-family: 'Space Grotesk', 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 500;
  font-size: clamp(44px, 6.2vw, 76px);
  letter-spacing: 0.02em;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.55);
}

.aboutus-rule {
  width: min(520px, 72%);
  height: 3px;
  background: #d9c16a;
  margin: 14px auto 28px;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.aboutus-text {
  max-width: 920px;
  margin: 0 auto;
  font-family: 'DM Sans', 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 500;
  font-size: clamp(18px, 2.4vw, 26px);
  line-height: 1.5;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.aboutus-text p {
  margin: 0 0 26px;
}

.aboutus-text p:last-child {
  margin-bottom: 0;
}

#screenshots {
  position: relative;
  overflow: visible;
  background: transparent;
  border: none;
  border-radius: 0;
  padding-top: 30px;
}

#screenshots::before {
  content: none;
}

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

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 18px 40px rgba(12, 39, 70, 0.16);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  inset: auto 16px 12px 16px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.7;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.showcase-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.showcase-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.showcase-row.reverse .device {
  order: 2;
}

.showcase-row.reverse .callout {
  order: 1;
}

.showcase-row .device {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 30px;
  background: linear-gradient(140deg, #e6ebf3, #cfd7e4 45%, #b7c4d8);
  box-shadow:
    0 18px 50px rgba(12, 39, 70, 0.26),
    0 0 40px rgba(46, 164, 255, 0.15);
  overflow: hidden;
}

.showcase-row .device::before {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 26px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0));
  opacity: 0.35;
  pointer-events: none;
  transform: skewX(-6deg);
}

.device-frame {
  position: relative;
  width: 97%;
  height: 97%;
  border-radius: 22px;
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.15), transparent 50%), #111827;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.device-frame::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  width: 80px;
  height: 6px;
  margin-left: -40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.4);
  filter: blur(0.5px);
}

.device-frame::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 30%;
  width: 4px;
  height: 32px;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.18));
  box-shadow: 0 18px 0 rgba(255, 255, 255, 0.4);
}

.device-screen {
  position: relative;
  width: 96%;
  height: 96%;
  border-radius: 16px;
  overflow: hidden;
  background: #0b1220;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 16px 30px rgba(0, 0, 0, 0.6);
}

.device-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.device-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 55%);
  pointer-events: none;
}

.studio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  align-items: center;
}

.faq {
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--border);
  background: #ffffff;
  border-radius: 14px;
  padding: 16px;
}

.faq-item h4 {
  margin: 0 0 8px;
  font-size: 16px;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

footer {
  padding: 36px 0 48px;
  border-top: none;
  color: #fff;
  background: #000;
}

.footer-block {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  align-items: center;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}

.footer-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.footer-links-col a {
  display: block;
  color: #fff;
  font-weight: 600;
  margin-bottom: 8px;
  transition: opacity 0.2s ease;
}

.footer-links-col a:last-child {
  margin-bottom: 0;
}

.footer-links-col a:hover {
  opacity: 0.8;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
  font-size: 14px;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}

.footer-legal-links a {
  color: #fff;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.footer-legal-links a:hover {
  opacity: 0.8;
}

.policy-page {
  padding: 50px 0 60px;
}

.policy-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.policy-card h1 {
  font-family: 'Space Grotesk', sans-serif;
  margin: 0 0 10px;
}

.policy-card h2 {
  margin: 28px 0 8px;
  font-size: 18px;
}

.policy-card p {
  color: var(--muted);
  margin: 0 0 10px;
}

.policy-card ul {
  margin: 0 0 14px 18px;
  color: var(--muted);
}

.tag {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(46, 164, 255, 0.12);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
}


@media (max-width: 720px) {
  .aboutus-section {
    padding: 64px 0 72px;
  }

  .aboutus-text p {
    margin-bottom: 22px;
  }

  .ditu1-frame {
    width: min(860px, 94vw);
  }

  .ditu1-frame-bg {
    border-radius: 14px;
  }

  .nav-links {
    gap: 10px;
  }

  .nav-links a {
    padding: 6px 8px;
  }

  .hero {
    padding: 60px 0 40px;
  }

  .headline {
    font-size: 30px;
  }

  .section {
    padding: 56px 0;
  }

  .showcase-row {
    grid-template-columns: 1fr;
  }

  .showcase-row.reverse .device,
  .showcase-row.reverse .callout {
    order: initial;
  }

  .showcase-row .device {
    max-width: 340px;
    border-radius: 24px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-visual {
    order: 1;
    max-width: 100%;
    margin-top: 0;
  }

  .hero-text {
    order: 2;
  }

  .hero-title-wrap {
    max-width: 100%;
  }
}


.shot img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.18);
}

.callout {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(237, 244, 252, 0.92));
  background-clip: padding-box;
  backdrop-filter: blur(12px);
  overflow: hidden;
  box-shadow:
    0 18px 40px rgba(12, 39, 70, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.callout::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: 18px;
  background: linear-gradient(140deg, rgba(61, 225, 173, 0.7), rgba(120, 172, 255, 0.7));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
}

.callout::after {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%) rotate(3deg);
  width: 22px;
  height: 14px;
  background: linear-gradient(140deg, rgba(61, 225, 173, 0.8), rgba(120, 172, 255, 0.6));
  filter: blur(1px);
  clip-path: polygon(100% 50%, 0 0, 0 100%);
  opacity: 0.8;
}

.showcase-row.reverse .callout::after {
  left: auto;
  right: -10px;
  transform: translateY(-50%) rotate(-3deg) scaleX(-1);
}

.callout-icon {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.18), rgba(61, 225, 173, 0.08));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.15),
    0 12px 22px rgba(0, 0, 0, 0.35);
  overflow: visible;
}

.card-icon .card-layer {
  position: absolute;
  width: 34px;
  height: 44px;
  border-radius: 6px;
  background: #fff;
  box-shadow:
    0 6px 12px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(0, 0, 0, 0.06),
    inset 0 10px 18px rgba(255, 255, 255, 0.4);
}

.card-icon .card-layer.back {
  transform: rotate(-10deg) translateX(-6px);
  opacity: 0.9;
  background: #f7f9ff;
}

.card-icon .card-layer.front {
  transform: rotate(6deg) translateX(6px);
  display: grid;
  place-items: center;
  color: #0b1521;
  font-weight: 700;
  font-size: 14px;
}

.card-icon .card-layer.front .corner {
  margin-right: 2px;
  font-size: 13px;
}

.card-icon .card-layer.front .suit {
  font-size: 16px;
}

.card-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 172, 255, 0.12), transparent 60%);
  filter: blur(2px);
  z-index: -1;
}

.card-kh .suit {
  color: #f25f6b;
}

.card-as .suit {
  color: #cfd6ff;
}

.card-qd .suit {
  color: #ff9a62;
}

.card-as .card-layer.front {
  color: #e8edff;
  background: linear-gradient(180deg, #0d1220, #151c2f);
  box-shadow:
    0 6px 12px rgba(0, 0, 0, 0.32),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 12px 20px rgba(255, 255, 255, 0.1);
}

.card-kh .card-layer.front,
.card-qd .card-layer.front {
  background: linear-gradient(180deg, #ffffff, #f5f6ff);
}

.card-icon .card-layer.front::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.35), transparent 50%);
  pointer-events: none;
}
.callout-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.callout h3 {
  margin: 0;
  font-size: 20px;
  color: #0f1c2c;
}

.callout p {
  margin: 0;
  color: #2e3a4c;
  font-size: 16px;
}

.callout-glow {
  position: absolute;
  inset: auto 12px 10px 12px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(61, 225, 173, 0.7), rgba(120, 172, 255, 0.6), transparent);
  opacity: 0.9;
  filter: blur(0.2px);
}

.callout:hover {
  transform: translateY(-4px);
  box-shadow:
    0 24px 50px rgba(12, 39, 70, 0.22),
    0 0 0 1px rgba(120, 172, 255, 0.65);
}

.callout:focus-visible {
  outline: none;
  transform: translateY(-4px);
  box-shadow:
    0 24px 50px rgba(12, 39, 70, 0.24),
    0 0 0 2px rgba(61, 225, 173, 0.8);
}

@media (max-width: 720px) {
  .callout-icon {
    width: 42px;
    height: 42px;
  }

  .card-icon .card-layer {
    width: 30px;
    height: 38px;
  }
}


/* --- Mobile header: prevent awkward word-wrapping --- */
@media (max-width: 720px) {
  .nav {
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 0;
  }

  .logo {
    white-space: nowrap;
    font-size: 18px;
    line-height: 1.1;
  }

  .nav-links {
    flex: 1 0 100%;
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .nav-links a {
    white-space: nowrap;
  }

  .nav-links .btn {
    padding: 9px 12px;
  }
}
