/* Business Evolution Inc — Toronto landing */

:root {
  --bg: #fafaf7;
  --ink: #1a1a1a;
  --navy: #1e3a5f;
  --lime: #a3c644;     /* pulled from the logo "EVOLUTION" */
  --lime-dark: #7fa130;
  --magenta: #c2185b;  /* pulled from the pink/magenta bulbs */
  --magenta-dark: #9a1149;
  --navy-dark: #142744;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100svh;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.stage {
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 5vw, 64px) clamp(16px, 4vw, 48px);
}

/* Brand block — logo and TORONTO share the same container width */
.brand {
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(18px, 3.5vw, 32px);
  text-align: center;
}

.brand__logo {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.brand__toronto {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Emails: stylish pills with logo-palette accents ---------- */

.brand__emails {
  list-style: none;
  margin: clamp(8px, 2vw, 18px) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(10px, 1.6vw, 14px);
  width: 100%;
}

.brand__emails li {
  width: 100%;
  display: flex;
  justify-content: center;
}

.mail {
  --accent: var(--lime);
  --accent-dark: var(--lime-dark);

  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px 12px 18px;
  min-height: 48px;
  width: 100%;
  max-width: 480px;

  background: #ffffff;
  color: var(--ink);
  text-decoration: none;
  font-family: inherit;
  font-weight: 500;
  font-size: clamp(13px, 1.9vw, 16px);
  line-height: 1.2;
  letter-spacing: 0.01em;

  border: 1.5px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: 999px;
  box-shadow:
    0 1px 2px rgba(20, 30, 50, 0.04),
    0 6px 16px -8px rgba(20, 30, 50, 0.08);

  transition:
    background-color 220ms ease,
    color 220ms ease,
    border-color 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease;
}

/* All pills share the lime accent (unified look) */
.mail--lime,
.mail--magenta,
.mail--navy {
  --accent: var(--lime);
  --accent-dark: var(--lime-dark);
}

.mail__icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  max-width: 34px;
  max-height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--accent) 14%, #ffffff);
  color: var(--accent);
  overflow: hidden;
  transition: background-color 220ms ease, color 220ms ease;
}

.mail__icon svg {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px;
  max-height: 18px;
  display: block;
  flex: none;
}

.mail__addr {
  flex: 1;
  text-align: left;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.mail:hover,
.mail:focus-visible {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow:
    0 2px 4px rgba(20, 30, 50, 0.08),
    0 14px 28px -12px color-mix(in srgb, var(--accent) 55%, transparent);
  outline: none;
}

.mail:hover .mail__icon,
.mail:focus-visible .mail__icon {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.mail:active {
  transform: translateY(0);
}

.mail:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 3px;
}

/* Small mobiles */
@media (max-width: 380px) {
  .brand { gap: 14px; }
  .mail {
    padding: 10px 16px 10px 14px;
    gap: 10px;
    font-size: 12.5px;
    min-height: 44px;
  }
  .mail__icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    max-width: 30px;
    max-height: 30px;
  }
  .mail__icon svg { width: 16px !important; height: 16px !important; }
}

/* Large screens */
@media (min-width: 1200px) {
  .brand { max-width: 780px; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

/* Fallback for browsers without color-mix (older Safari) */
@supports not (color: color-mix(in srgb, red, blue)) {
  .mail { border-color: rgba(163, 198, 68, 0.45); }
  .mail__icon { background: #f2f5ea; }
}
