/* Public website (homepage, legal pages, 404) — builds on style.css */
.landing {
  background:
    radial-gradient(rgba(42, 27, 71, .09) 1.6px, transparent 1.8px) 0 0 / 24px 24px,
    var(--cream);
}
.landing main { overflow-x: clip; }

/* ---------- Navigation ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px max(20px, calc((100vw - 1180px) / 2));
  background: #fff;
  border-bottom: var(--outline);
}
.nav-inner { display: flex; align-items: center; gap: 28px; width: 100%; }
.site-nav nav { display: flex; gap: 4px; margin-right: auto; }
.site-nav nav a { color: var(--ink); text-decoration: none; font-weight: 800; font-size: 15px; padding: 8px 13px; border-radius: 12px; border: 2.5px solid transparent; transition: background-color .12s ease, border-color .12s ease; }
.site-nav nav a:hover { background: var(--panel-2); border-color: var(--ink); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-actions .btn { margin-bottom: 0; }
.site-nav > .brand { margin-right: auto; }

/* ---------- Hero ---------- */
.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 20px 80px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 6px 16px 6px 10px;
  border-radius: 999px;
  background: #fff;
  border: 2.5px solid var(--ink);
  box-shadow: 0 3px 0 var(--ink);
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}
.pill-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--mint); border: 2px solid var(--ink); }
.hero h1 { font-size: clamp(46px, 6vw, 76px); line-height: .98; margin: 0 0 22px; letter-spacing: .01em; }
.accent-text {
  color: var(--violet);
  -webkit-text-stroke: 0;
  text-shadow: 0 4px 0 var(--lavender);
}
.lead { font-size: 18.5px; line-height: 1.6; color: var(--text-2); margin: 0 0 30px; max-width: 32em; }
.lead b { color: var(--ink); }
.landing code { white-space: nowrap; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--text-2); font-size: 15px; font-weight: 800; }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust .icon { color: var(--ink); background: var(--mint); border: 2px solid var(--ink); border-radius: 50%; padding: 2px; width: 20px; height: 20px; stroke-width: 3.2; }

/* Product preview + mascot */
.hero-visual { position: relative; padding: 0 0 40px 120px; }
.hero-mascot { position: absolute; left: -24px; bottom: -14px; width: 250px; z-index: 2; filter: drop-shadow(0 6px 0 rgba(42, 27, 71, .12)); }
/* Discord look-alike (Discord's own colors on purpose), with the brand outline */
.mock-window {
  background: #313338;
  border: var(--outline);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  font: 500 14px/1.4 var(--font-sans);
  transform: rotate(1.5deg);
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #2b2d31; border-bottom: 3px solid var(--ink); }
.mock-bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--blush); border: 2px solid var(--ink); }
.mock-bar span:nth-child(2) { background: var(--gold); }
.mock-bar span:nth-child(3) { background: var(--mint); }
.mock-bar b { margin-left: 10px; color: #dbdee1; font-weight: 800; }
.mock-body { display: grid; grid-template-columns: 1fr 160px; }
.mock-channel { padding: 18px; }
.msg { display: flex; gap: 12px; }
.msg p { margin: 0 0 6px; color: #dbdee1; }
.msg-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--lavender) url("/brand/floxy-mark.svg") center / 115% no-repeat; flex: none; border: 2px solid #1e1f22; }
.msg-head b { color: #fff; }
.msg-time { color: #949ba4; font-size: 12px; margin-left: 4px; }
.bot-tag { background: #5865f2; color: #fff; font-size: 10px; font-weight: 800; padding: 1px 5px; border-radius: 3px; margin-left: 4px; }
.mention { background: rgba(88, 101, 242, .3); color: #c9cdfb; border-radius: 3px; padding: 0 2px; }
.fake-btn { display: inline-block; background: #5865f2; color: #fff; font-weight: 700; padding: 7px 16px; border-radius: 4px; margin-top: 4px; }
.fake-btn.full { display: block; text-align: center; margin-top: 14px; }
.modal-mock { margin: 16px 0 0 54px; background: #2b2d31; border: 1px solid #45474e; border-radius: 8px; padding: 16px; }
.modal-title { font-weight: 800; font-size: 16px; margin: 0 0 12px; color: #fff; }
.modal-mock label { display: grid; gap: 5px; font-size: 11.5px; font-weight: 800; text-transform: uppercase; color: #b5bac1; letter-spacing: .02em; margin-bottom: 10px; }
.fake-input { background: #1e1f22; color: #dbdee1; text-transform: none; font-size: 14px; font-weight: 500; padding: 9px 10px; border-radius: 4px; }
.mock-members { background: #2b2d31; padding: 18px 12px; border-left: 1px solid #1f2023; }
.mock-members p { margin: 0 0 8px; color: #b5bac1; }
.mock-members .new { color: #fff; font-weight: 800; background: rgba(88, 101, 242, .25); border-radius: 4px; padding: 2px 6px; margin-left: -6px; }
.mock-role { font-size: 11px; font-weight: 800; text-transform: uppercase; color: #949ba4 !important; margin-top: 16px !important; }
.mock-role:first-child { margin-top: 0 !important; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.dot.wolf { background: #8ea1ff; }
.dot.fire { background: #f0b232; }
.toast {
  position: absolute;
  right: -10px;
  top: -24px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #fff;
  border: var(--outline);
  border-radius: 16px;
  box-shadow: 0 5px 0 var(--ink);
  font-size: 14px;
  line-height: 1.35;
  transform: rotate(-2deg);
}
.toast-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); border: 2.5px solid var(--ink); color: var(--ink); flex: none; }
.toast .icon { stroke-width: 3.2; }

/* Audience strip */
.audience { border-top: var(--outline); border-bottom: var(--outline); background: var(--lavender); }
.audience p { max-width: 1180px; margin: 0 auto; padding: 18px 20px; text-align: center; color: var(--ink); font-size: 16.5px; font-weight: 700; }
.audience b { font-weight: 900; }

/* ---------- Sections ---------- */
.section { max-width: 1180px; margin: 0 auto; padding: 96px 20px 0; }
.section.narrow { max-width: 800px; }
.section-kicker {
  width: fit-content;
  margin: 0 auto 14px;
  padding: 4px 14px;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  box-shadow: 0 3px 0 var(--ink);
}
.section-title { font-size: clamp(34px, 4.2vw, 50px); line-height: 1.05; text-align: center; margin: 0 0 14px; }
.section-title.left { text-align: left; }
.section-sub { text-align: center; color: var(--text-2); font-size: 18px; max-width: 40em; margin: 0 auto 44px; }
.section-mascot { width: 170px; margin: 0 auto 6px; }

/* Steps */
.steps-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card { position: relative; padding: 28px; background: #fff; border: var(--outline); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.step-card h3, .feature h3 { font: 400 22px/1.2 var(--font-display); color: var(--ink); text-transform: none; letter-spacing: .01em; margin: 16px 0 8px; }
.step-card p, .feature p { margin: 0; color: var(--text-2); font-weight: 600; }
.step-num {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--violet);
  border: var(--outline);
  box-shadow: 0 3px 0 var(--ink);
  color: #fff;
  font: 400 22px/1 var(--font-display);
}
.step-card:nth-child(2) .step-num { background: var(--mint); color: var(--ink); }
.step-card:nth-child(3) .step-num { background: var(--blush); color: var(--ink); }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  padding: 24px;
  background: #fff;
  border: var(--outline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.feature:hover { transform: translateY(-4px) rotate(-.5deg); box-shadow: 0 9px 0 var(--ink); }
.feature-icon {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--lavender);
  border: var(--outline);
  color: var(--ink);
}
.feature:nth-child(4n+2) .feature-icon { background: var(--mint); }
.feature:nth-child(4n+3) .feature-icon { background: var(--blush); }
.feature:nth-child(4n+4) .feature-icon { background: #fff; }
.feature-icon.yellow { background: var(--gold) !important; }
.feature-icon.red { background: var(--danger) !important; color: #fff; }
.feature-icon .icon { width: 22px; height: 22px; stroke-width: 2.6; }

/* Showcase */
.showcase { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.showcase .section-kicker { margin-left: 0; }
.checklist { list-style: none; margin: 8px 0 24px; padding: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-size: 16.5px; font-weight: 700; }
.checklist .icon { margin-top: 2px; color: var(--ink); background: var(--mint); border: 2px solid var(--ink); border-radius: 50%; padding: 2px; width: 22px; height: 22px; stroke-width: 3.2; }
.privacy-note { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 14.5px; font-weight: 700; padding: 10px 14px; border: 2.5px solid var(--ink); border-radius: var(--radius); background: #fff6d6; }
.dash-mock { background: #fff; border: var(--outline); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-lg); transform: rotate(-1deg); }
.dash-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.dash-head b { font: 400 20px var(--font-display); }
.dash-head .brand-mark { width: 34px; height: 34px; }
.dash-sample { margin-left: auto; font-size: 12.5px; font-weight: 800; color: var(--muted); }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.dash-stats div { display: grid; gap: 4px; padding: 14px; background: #f4efff; border: 2.5px solid var(--ink); border-radius: var(--radius); }
.dash-stats div:nth-child(2) { background: #e6fcf5; }
.dash-stats div:nth-child(3) { background: #fff6d6; }
.dash-stats span { font-size: 11.5px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.dash-stats b { font: 400 28px/1.05 var(--font-display); }
.dash-chart { display: flex; align-items: flex-end; gap: 6px; height: 110px; padding: 0 2px; border-bottom: 3px solid var(--ink); margin-bottom: 14px; }
.dash-chart i { flex: 1; background: var(--violet); border: 2px solid var(--ink); border-bottom: 0; border-radius: 6px 6px 0 0; }
.dash-chart i:nth-child(3n) { background: var(--lavender); }
.dash-rows div { display: flex; align-items: center; gap: 10px; padding: 10px 2px; border-bottom: 2px solid var(--line-soft); font-size: 14.5px; font-weight: 700; }
.dash-rows div:last-child { border-bottom: 0; }
.dash-rows .muted { margin-left: auto; font-size: 13px; }

/* Pricing */
.pricing { max-width: 960px; margin: 0 auto; }
.pricing .plan { padding: 28px; }
.pricing h3 { font: 400 24px/1.2 var(--font-display); color: var(--ink); text-transform: none; letter-spacing: .01em; margin: 0; display: flex; align-items: center; gap: 10px; }
.pricing .btn { width: 100%; margin-top: 14px; }

/* FAQ */
.faq { background: #fff; border: var(--outline); border-radius: var(--radius); padding: 0 22px; margin-bottom: 14px; box-shadow: 0 4px 0 var(--ink); }
.faq summary { cursor: pointer; font-weight: 900; font-size: 16.5px; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  background: var(--lavender);
  font: 400 20px/1 var(--font-display);
  transition: transform .2s var(--ease);
}
.faq[open] summary::after { transform: rotate(45deg); background: var(--mint); }
.faq p { margin: 0 0 18px; color: var(--text-2); }

/* Final CTA */
.cta-band { max-width: 1180px; margin: 110px auto 0; padding: 0 20px; }
.cta-inner {
  position: relative;
  text-align: center;
  padding: 56px 24px;
  border-radius: 28px;
  border: var(--outline);
  background: var(--violet);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta-inner h2 { font-size: clamp(32px, 3.6vw, 46px); margin: 0 0 8px; color: #fff; text-shadow: 0 4px 0 var(--ink); }
.cta-inner p { color: #f4efff; font-size: 18px; font-weight: 700; margin: 0 0 26px; }
.cta-inner .btn.primary { background: var(--gold); color: var(--ink); }
.cta-inner .btn.primary:hover { background: #ffcb2e; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { margin-top: 110px; border-top: var(--outline); background: #fff; }
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 48px 20px 32px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { max-width: 26em; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col b { font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 4px; }
.footer-col a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 700; }
.footer-col a:hover { color: var(--violet); }
.footer-copy { max-width: 1180px; margin: 0 auto; padding: 20px; border-top: 2px dashed var(--line); color: var(--muted); font-size: 13.5px; font-weight: 700; }

/* ---------- Legal pages ---------- */
.legal { padding-top: 56px; padding-bottom: 80px; }
.legal h1 { font-size: 46px; }
.legal h2 { font-size: 24px; margin-top: 32px; }
.legal p, .legal li { color: var(--text-2); }
.draft-note { background: #fff6d6; border: 2.5px solid var(--ink); color: var(--ink) !important; padding: 12px 16px; border-radius: var(--radius); font-weight: 700; }

/* ---------- 404 ---------- */
.notfound { min-height: calc(100vh - 160px); display: grid; place-items: center; text-align: center; padding: 40px 20px; }
.notfound .mascot { width: 230px; margin: 0 auto 8px; }
.notfound h1 { font-size: clamp(44px, 7vw, 72px); margin: 0 0 6px; }
.notfound p { color: var(--text-2); font-size: 18px; max-width: 30em; margin: 0 auto 26px; }
.notfound .hero-ctas { justify-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; gap: 40px; }
  .hero-visual { padding: 30px 0 70px 0; }
  .hero-mascot { width: 170px; left: -6px; bottom: -10px; }
  .showcase { grid-template-columns: 1fr; gap: 36px; }
  .steps-row { grid-template-columns: 1fr; }
  .site-nav nav { display: none; }
  .nav-inner .brand { margin-right: auto; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .section { padding-top: 76px; }
}
@media (max-width: 560px) {
  .mock-body { grid-template-columns: 1fr; }
  .mock-members { display: none; }
  .modal-mock { margin-left: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .nav-actions .ghost { display: none; }
  .nav-actions [data-lang-picker] { display: none; } /* the footer has one */
  .dash-stats { gap: 6px; }
  .dash-stats div { padding: 10px; }
  .dash-stats b { font-size: 21px; }
  .footer-inner { grid-template-columns: 1fr; }
  .toast { right: 4px; top: -16px; }
  .hero-mascot { width: 130px; }
}

/* Short footer on the legal pages and the 404 page */
.site-footer.mini { margin-top: 60px; }
.site-footer.mini .footer-copy { border-top: 0; }
.footer-copy a { color: inherit; }
.site-footer.mini .footer-lang { display: flex; justify-content: center; padding: 18px 20px 0; }
