:root {
  --ink: #1d2a4a;
  --text: #4f6182;
  --white: #ffffff;
  --line: #d9e2f1;
  --card: #fbfdff;
  --blue: #3f88ff;
  --sky: #53c2ff;
  --mint: #43d39b;
  --yellow: #f9ce36;
  --orange: #ff9b45;
  --rose: #ff6d7a;
  --violet: #7c63ff;
  --shadow-1: 0 16px 34px rgba(18, 41, 88, 0.14);
  --shadow-2: 0 10px 22px rgba(31, 56, 97, 0.1);
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  font-family: "Nunito", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1000px 460px at -8% -18%, #fff5d8 0%, #fff5d800 65%),
    radial-gradient(900px 520px at 108% 12%, #d8f0ff 0%, #d8f0ff00 70%),
    linear-gradient(180deg, #d8ebff 0%, #ebf7ff 45%, #f2fbff 100%);
}

a {
  color: #1f63d3;
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  z-index: -1;
  opacity: 0.65;
  animation: float 9s ease-in-out infinite;
}

.orb-a {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, #ffe46f 0%, #ffe46f00 72%);
  left: -75px;
  top: -55px;
}

.orb-b {
  width: 330px;
  height: 330px;
  background: radial-gradient(circle, #71d9ff 0%, #71d9ff00 70%);
  right: -125px;
  top: 32vh;
  animation-delay: -2.6s;
}

.orb-c {
  width: 290px;
  height: 290px;
  background: radial-gradient(circle, #84f0a4 0%, #84f0a400 72%);
  left: 6%;
  bottom: -145px;
  animation-delay: -4.1s;
}

.site-shell {
  width: min(1040px, 94vw);
  margin: 24px auto 42px;
  display: grid;
  gap: 16px;
}

.card {
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow-1);
}

.top-nav {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: sticky;
  top: 10px;
  z-index: 10;
  backdrop-filter: blur(8px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}

.brand-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
}

.brand-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: var(--shadow-2);
  display: block;
}

.brand-text {
  font-family: "Baloo 2", cursive;
  font-size: 28px;
  line-height: 1;
}

.main-links {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.main-links a {
  text-decoration: none;
  color: #36506f;
  font-weight: 800;
  padding: 8px 12px;
  border-radius: 999px;
}

.main-links a:hover,
.main-links a.is-current {
  background: #e8f2ff;
}

.nav-cta {
  text-decoration: none;
  color: var(--white);
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(140deg, var(--blue) 0%, var(--violet) 100%);
  box-shadow: 0 9px 18px rgba(63, 136, 255, 0.32);
}

.hero {
  padding: 24px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  background:
    linear-gradient(160deg, #ffffff 0%, #f3f8ff 54%, #eef9ff 100%),
    repeating-linear-gradient(
      -38deg,
      rgba(255, 255, 255, 0.2) 0 12px,
      rgba(255, 255, 255, 0) 12px 24px
    );
}

.eyebrow {
  margin: 0;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 800;
  color: #60779b;
}

h1,
h2,
h3 {
  font-family: "Baloo 2", cursive;
  line-height: 0.96;
  margin: 0;
}

h1 {
  margin-top: 8px;
  font-size: clamp(34px, 5vw, 62px);
}

.hero-text {
  margin: 12px 0 0;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text);
  max-width: 44ch;
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  text-decoration: none;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 800;
  font-size: 15px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

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

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, #ff8d56 0%, #ff5c7b 100%);
  box-shadow: 0 10px 20px rgba(255, 93, 122, 0.33);
}

.btn-ghost {
  color: #2b5191;
  background: #e7f2ff;
}

.hero-preview {
  border-radius: 24px;
  padding: 14px;
  border: 1px solid #d3dff0;
  background:
    linear-gradient(180deg, #f7faff 0%, #eef4ff 100%),
    repeating-linear-gradient(
      -35deg,
      rgba(255, 255, 255, 0.32) 0 7px,
      transparent 7px 14px
    );
}

.preview-header {
  display: flex;
  gap: 7px;
  margin-bottom: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #bccbe3;
}

.preview-title {
  margin: 0 0 12px;
  font-weight: 800;
  font-size: 18px;
  color: #2f4770;
}

.preview-answers {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.answer {
  min-height: 68px;
  border-radius: 22px;
  color: var(--white);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.17);
  display: grid;
  place-items: center;
  position: relative;
  font-family: "Baloo 2", cursive;
  font-size: 31px;
}

.answer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 11px;
  border-radius: 0 0 18px 18px;
  z-index: -1;
}

.yellow {
  background: var(--yellow);
}

.yellow::after {
  background: #e5b900;
}

.green {
  background: var(--mint);
}

.green::after {
  background: #11a267;
}

.blue {
  background: var(--blue);
}

.blue::after {
  background: #2f68dd;
}

.orange {
  background: var(--orange);
}

.orange::after {
  background: #e35d16;
}

.preview-score {
  margin: 16px 0 0;
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  color: #2f4d7d;
  background: #e5f2ff;
  padding: 6px 12px;
  border-radius: 999px;
}

.section {
  padding: 22px;
}

.section-head {
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(30px, 4.5vw, 46px);
}

.section p,
.section-head p {
  margin: 8px 0 0;
  line-height: 1.5;
  color: var(--text);
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.highlight-card {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid #d4e2f6;
  background: linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
}

.highlight-card:nth-child(1) {
  border-color: #add6ff;
  background: linear-gradient(180deg, #ecf8ff 0%, #e0f1ff 100%);
}

.highlight-card:nth-child(2) {
  border-color: #c5e8c8;
  background: linear-gradient(180deg, #ecfdf1 0%, #dcf8e4 100%);
}

.highlight-card:nth-child(3) {
  border-color: #ffd6a8;
  background: linear-gradient(180deg, #fff7ea 0%, #ffedcf 100%);
}

.highlight-card:nth-child(4) {
  border-color: #ffc4cf;
  background: linear-gradient(180deg, #fff0f3 0%, #ffe0e6 100%);
}

h3 {
  font-size: 24px;
}

.highlight-card p {
  margin-top: 6px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.feature-grid article {
  border-radius: 16px;
  border: 1px solid #dce6f6;
  background: #f6f9ff;
  padding: 14px;
}

.support-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f2faff 100%),
    radial-gradient(700px 300px at 95% 0%, #d7f2ff 0%, #d7f2ff00 70%);
}

.support-box {
  margin-top: 12px;
  border: 1px dashed #aac6e6;
  border-radius: 18px;
  background: #f2f8ff;
  padding: 15px;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.support-mail {
  font-weight: 800;
  font-size: clamp(20px, 3.3vw, 30px);
  text-decoration-thickness: 2px;
}

.copy-btn {
  border: 0;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 800;
  color: var(--white);
  cursor: pointer;
  background: linear-gradient(135deg, #48d39c 0%, #2dbdca 100%);
  box-shadow: 0 8px 16px rgba(43, 192, 173, 0.28);
}

.copy-btn:hover {
  filter: brightness(1.03);
}

.copy-result {
  min-height: 18px;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #37639c;
}

.meta {
  margin-top: 10px;
  font-size: 14px;
  color: #6c7e9e;
}

.site-footer {
  text-align: center;
  padding: 6px 0 4px;
}

.site-footer p {
  margin: 2px 0;
  color: #5c7296;
}

.privacy-layout {
  padding: 24px;
}

.policy-meta {
  margin-top: 8px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: #e7f2ff;
  color: #375585;
  font-size: 14px;
  font-weight: 700;
}

.policy-grid {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.policy-item {
  background: #f6faff;
  border: 1px solid #dce9fb;
  border-radius: 16px;
  padding: 15px;
}

.policy-item h3 {
  font-size: 23px;
}

.policy-item p {
  margin-top: 6px;
}

.policy-contact {
  margin-top: 14px;
  background: linear-gradient(180deg, #fff2eb 0%, #ffe7dd 100%);
  border: 1px solid #ffd2c1;
  border-radius: 16px;
  padding: 15px;
}

.policy-contact strong {
  display: block;
  margin-bottom: 8px;
}

.page-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #2a5cb5;
  font-weight: 800;
  margin-bottom: 8px;
}

.reveal {
  animation: rise 0.55s ease both;
}

.reveal:nth-of-type(2) {
  animation-delay: 0.05s;
}

.reveal:nth-of-type(3) {
  animation-delay: 0.1s;
}

.reveal:nth-of-type(4) {
  animation-delay: 0.14s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 700px) {
  .site-shell {
    width: min(97vw, 99vw);
    margin-top: 14px;
    gap: 12px;
  }

  .top-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .main-links {
    order: 3;
    width: 100%;
    justify-content: center;
    margin-left: 0;
    flex-wrap: wrap;
  }

  .hero,
  .section,
  .privacy-layout {
    padding: 16px;
  }

  .brand-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }

  .highlight-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .answer {
    min-height: 58px;
    font-size: 26px;
  }
}
