/* Shared look for every XimVerse.ai page: colours, header, buttons, footer.
   The colours come from the XimVerse logo: burnt orange and dark teal, on a warm off-white. */

:root {
  color-scheme: light;    /* keep form fields light too, even when the computer uses dark mode */
  --bg: #f8f4ef;          /* warm off-white page */
  --surface: #ffffff;     /* white cards, like the logo background */
  --text: #1c1c1e;        /* near-black text */
  --muted: #6b6560;       /* softer brown-grey for secondary text */
  --border: #e8dcd3;      /* thin warm outline around cards */
  --shadow: 0 1px 2px rgba(92, 38, 25, 0.06), 0 8px 24px rgba(92, 38, 25, 0.08);
  --shadow-hover: 0 2px 4px rgba(92, 38, 25, 0.08), 0 16px 40px rgba(92, 38, 25, 0.14);
  --brand-orange: #c9583a;        /* the orange of "Xim" in the logo */
  --brand-orange-dark: #b04a2f;   /* a deeper orange, so white text on it stays easy to read */
  --brand-teal: #0a4343;          /* the dark teal of "verse" in the logo */
  --export: var(--brand-orange-dark);   /* Exporter card colour */
  --export-soft: #fbebe4;
  --import: var(--brand-teal);          /* Importer card colour */
  --import-soft: #e2eeed;
  --danger: #b42318;
  --btn-text: #ffffff;
  --radius: 18px;
}
/* XimVerse uses one cream theme on purpose, to match the printed card,
   so there is no separate dark-mode colour set. */

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  padding: 20px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1040px;
  width: 100%;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.2px;
  color: inherit;
  text-decoration: none;
}
/* The XimVerse logo picture (public/img/ximverse-logo.png) */
.logo {
  display: block;
  height: 40px;
  width: auto;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px 64px;
}
.intro {
  text-align: center;
  max-width: 560px;
  margin-bottom: 36px;
}
.intro h1 {
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.15;
  margin: 0 0 10px;
  letter-spacing: -0.3px;
}
.intro p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
}
.icon svg { width: 28px; height: 28px; }

.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--accent);
  margin-bottom: 6px;
}

.features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}
.features li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.features svg {
  width: 18px; height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.btn {
  margin-top: auto;
  appearance: none;
  border: none;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 18px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--btn-text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: filter 120ms ease, transform 120ms ease;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: scale(0.98); }
.btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.btn:disabled {
  opacity: 0.6;
  cursor: progress;
  filter: none;
  transform: none;
}
.btn svg { width: 18px; height: 18px; }

footer {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  padding: 16px;
}
footer a {
  color: var(--brand-orange-dark);
  font-weight: 600;
}

/* The row of company and policy links (About, Contact, Pricing, Terms...) at the bottom of every page */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px 6px;
  margin-bottom: 6px;
  font-size: 13px;
}
.footer-links a {
  padding: 6px 6px;
  color: var(--muted);
  font-weight: 500;
  text-decoration: none;
}
.footer-links a:hover { color: var(--brand-orange-dark); text-decoration: underline; }
.footer-links a:focus-visible {
  outline: 3px solid var(--brand-orange-dark);
  outline-offset: 1px;
  border-radius: 4px;
}
