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

:root{
  --bg: #f4f7fb;
  --bg-accent: #dbe9ff;
  --bg-accent-2: #eef5ff;
  --card: #ffffff;
  --ink: #0c1118;
  --muted: #556170;
  --accent: #1e5eff;
  --accent-2: #0d2b6b;
  --line: #e1e7f0;
  --shadow: 0 18px 40px rgba(12, 17, 24, 0.08);
  --shadow-soft: 0 8px 20px rgba(12, 17, 24, 0.08);
  --radius: 18px;
  --font-display: "Fraunces", serif;
  --font-body: "Space Grotesk", sans-serif;
}

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

html, body{
  height: 100%;
}

body{
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(1100px 520px at 8% -10%, var(--bg-accent) 0, transparent 60%),
    radial-gradient(900px 520px at 92% 5%, var(--bg-accent-2) 0, transparent 55%),
    linear-gradient(180deg, #f6f8fc 0%, #f2f5fb 60%, #eef3fb 100%) !important;
  background-attachment: fixed !important;
  background-repeat: no-repeat;
  background-size: cover;
}

::selection{
  background: rgba(212, 85, 61, 0.2);
}

h1, h2, h3, h4{
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

p{
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.7;
}

a{
  color: var(--accent);
  text-decoration: none;
}

a:hover{
  color: var(--accent-2);
}

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

button,
input,
textarea{
  font-family: var(--font-body);
}

.main{
  width: min(1160px, 94vw);
  margin: 64px auto 80px;
}

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

.badge{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
}

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

.main > *{
  animation: rise 0.7s ease both;
}
.main > *:nth-child(2){animation-delay: 0.06s;}
.main > *:nth-child(3){animation-delay: 0.12s;}
.main > *:nth-child(4){animation-delay: 0.18s;}
.main > *:nth-child(5){animation-delay: 0.24s;}

@media (prefers-reduced-motion: reduce){
  .main > *{
    animation: none;
  }
}

@media (max-width: 800px){
  .main{
    margin: 48px auto 64px;
  }
}
