/* The site's own pages (tool/web_pages.dart); the fonts are the app's, from the Flutter build. */
@font-face { font-family: Nunito; font-weight: 400; font-display: swap; src: url(/assets/assets/fonts/Nunito-Regular.ttf); }
@font-face { font-family: Nunito; font-weight: 700; font-display: swap; src: url(/assets/assets/fonts/Nunito-Bold.ttf); }
@font-face { font-family: Nunito; font-weight: 800; font-display: swap; src: url(/assets/assets/fonts/Nunito-ExtraBold.ttf); }

:root {
  --primary: #7F30FF; --primary-pressed: #5F1FD6; --primary-shadow: #F5E6FF; --primary-lighter: #E8CFFF;
  --text: #1F2A37; --text-sub: #384250; --text-soft: #6C737F; --stroke: #E5E7EB; --bg: #F9FAFB; --white: #FFFFFF;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 Nunito, system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--primary); }
img { max-width: 100%; height: auto; }

.top, main, footer { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--text); text-decoration: none; }
.brand img { border-radius: 8px; }

.button { display: inline-block; background: var(--primary); color: var(--white); font-weight: 800; text-decoration: none;
  padding: 14px 26px; border-radius: 999px; }
.button:hover { background: var(--primary-pressed); }
.button.small { padding: 8px 16px; font-size: 15px; }

h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.15; margin: 0 0 16px; font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(24px, 3.4vw, 32px); line-height: 1.2; margin: 0 0 20px; font-weight: 800; }
h3 { font-size: 19px; margin: 0 0 6px; font-weight: 800; }
p { margin: 0 0 12px; }
.soft { color: var(--text-soft); }

section { padding: 40px 0; }
.hero { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: center; padding-top: 32px; }
.eyebrow { color: var(--primary); font-weight: 800; margin-bottom: 8px; }
.lead { font-size: 19px; color: var(--text-sub); max-width: 36em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }
.soon { color: var(--text-soft); font-weight: 700; }
.shot { display: block; border-radius: 36px; border: 8px solid var(--text); background: var(--text); box-shadow: 0 24px 48px rgba(127, 48, 255, .18); }
.shots { display: flex; justify-content: center; gap: 32px; margin-top: 36px; }
.shots .shot { width: 300px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--white); border: 1px solid var(--stroke); border-radius: 20px; padding: 20px 22px; }
.card p { color: var(--text-sub); margin: 0 0 8px; }
.card.strong { background: var(--primary-shadow); border-color: var(--primary-lighter); }

.legal { max-width: 760px; padding: 24px 0 40px; }
.legal h1 { font-size: clamp(28px, 4vw, 38px); }
.legal h2 { font-size: 21px; margin: 32px 0 10px; }
details { background: var(--white); border: 1px solid var(--stroke); border-radius: 16px; padding: 14px 18px; margin-bottom: 10px; }
summary { font-weight: 800; cursor: pointer; }
details p { margin: 10px 0 0; color: var(--text-sub); }
details:target { border-color: var(--primary); }

footer { border-top: 1px solid var(--stroke); padding-top: 24px; padding-bottom: 40px; color: var(--text-soft); font-size: 15px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 12px; }
footer nav a { color: var(--text-sub); font-weight: 700; text-decoration: none; }
footer nav a[aria-current] { color: var(--primary); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 32px; }
  .hero .shot { width: 260px; margin: 0 auto; }
  .grid, .grid.two { grid-template-columns: 1fr; }
  .shots { gap: 16px; }
  .shots .shot { width: calc(50% - 8px); border-width: 5px; border-radius: 22px; }
  section { padding: 28px 0; }
}
