/* shared/brand.css — Edge45 brand foundation for the portal (login + hub). */

@font-face {
  font-family: "Sofia Pro";
  src: url("/fonts/SofiaPro-Light.ttf") format("truetype");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Sofia Pro";
  src: url("/fonts/SofiaPro-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Sofia Pro";
  src: url("/fonts/SofiaPro-Medium.ttf") format("truetype");
  font-weight: 500; font-style: normal; font-display: swap;
}

:root {
  --indigo:  #1c1c22;
  --white:   #ffffff;
  --honey:   #fb9c00;
  --mustard: #fabc00;
  --pumpkin: #fa6700;
  --amber:   #e9471b;
  --canvas:  #f7f7f8;
  --border:  #e6e6ea;

  --muted: #6f6f78;
  --honey-tint: #fff5e6;
  --radius: 8px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(28, 28, 34, 0.05), 0 1px 3px rgba(28, 28, 34, 0.05);
  --shadow-hover: 0 6px 20px rgba(28, 28, 34, 0.10);

  --font: "Sofia Pro", "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  background: var(--canvas);
  color: var(--indigo);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-weight: 500; color: var(--indigo); margin: 0; }
a { color: var(--pumpkin); }

/* Shared buttons */
.btn-primary {
  display: inline-block;
  background: var(--honey);
  color: var(--indigo);
  border: 1px solid var(--honey);
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}
.btn-primary:hover { background: var(--pumpkin); border-color: var(--pumpkin); }
.btn-primary:disabled { opacity: 0.55; cursor: not-allowed; }

.btn-secondary {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--indigo);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}
.btn-secondary:hover { background: var(--honey-tint); border-color: var(--honey); }

.hidden { display: none !important; }
