/* XAVERT Global Styles */

/* Reset */

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  margin: 0;
  background: #f7f8fb;
  color: #111827;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

a {
  color: inherit;
}

/* Page Layout */

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 20px 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin-bottom: 24px;
  border-radius: 4px;
  color: #dc2626;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.back-link:hover {
  color: #b91c1c;
}

.back-link:focus-visible {
  outline: 3px solid rgba(220, 38, 38, 0.25);
  outline-offset: 3px;
}

/* Tool Header */

.hero,
.tool-hero {
  min-width: 0;
  margin-bottom: 20px;
  text-align: center;
}

.tool-logo {
  width: 210px;
  max-width: 70%;
  height: auto;
  margin: 0 auto 18px;
}

.tool-title {
  margin: 0;
  color: #111827;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

/* Info / About Sections */

.info {
  min-width: 0;
  margin-top: 36px;
  padding: 26px;
  background: #ffffff;
  border: 1px solid #eceff3;
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.info h2 {
  margin: 0 0 24px;
  color: #111827;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.4px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.info h2::after {
  content: "";
  display: block;
  width: 52px;
  height: 4px;
  margin-top: 10px;
  border-radius: 999px;
  background: #dc2626;
}

.info h3 {
  margin: 26px 0 14px;
  color: #dc2626;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.7px;
  line-height: 1.4;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.info p {
  margin: 0 0 14px;
  color: #4b5563;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.info ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.info li {
  position: relative;
  margin: 8px 0;
  padding-left: 18px;
  color: #4b5563;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.info li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #dc2626;
  font-weight: 700;
}

/* Standard About Section */

.about-card > * {
  max-width: 900px;
}

.about-intro {
  margin-bottom: 26px;
  font-size: 16px;
}

.about-features {
  margin-bottom: 28px;
}

.about-features li {
  margin-bottom: 10px;
  padding-left: 25px;
  line-height: 1.65;
}

.about-features li::before {
  content: "";
  left: 2px;
  top: 0.82em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #dc2626;
  transform: translateY(-50%);
}

.about-privacy {
  margin-bottom: 0;
}

/* Utilities */

[hidden] {
  display: none !important;
}

.xavert-footer-note {
  margin: 28px 0 0;
  padding: 0 20px 24px;
  color: #111827;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  overflow-wrap: anywhere;
}

/* Reduced Motion */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
