/* ==========================
   BASE / RESET / THEME
========================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body.sp-body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI",
    sans-serif;
  color: #fdf7f2;
  background-color: #050405;
}

/* Theme variables */
:root {
  /* CORE PALETTE */
  --sp-bg: #050405;
  --sp-bg-alt: #0b090b;
  --sp-bg-elevated: #141015;
  --sp-bg-soft: #1b151c;

  --sp-border-subtle: #231a25;
  --sp-border-strong: #3b283e;

  --sp-text: #fdf7f2;
  --sp-text-soft: #d0c1d0;
  --sp-text-muted: #a38ba8;

  /* BURNT ORANGE ACCENT */
  --sp-primary: #ff7b29;         /* main burnt orange */
  --sp-primary-soft: rgba(255, 123, 41, 0.16);
  --sp-primary-strong: #ff9a41;
  --sp-accent: #ff7b29;          /* accent color for highlights */
  --sp-accent-hover: #e66a1f;    /* darker accent for hovers */

  --sp-danger: #ff4a5c;
  --sp-success: #4ade80;
  --sp-warning: #facc15;

  --sp-radius-sm: 0.4rem;
  --sp-radius-md: 0.8rem;
  --sp-radius-lg: 1.4rem;
  --sp-radius-xl: 2rem;

  --sp-shadow-soft: 0 20px 70px rgba(0, 0, 0, 0.75);
  --sp-shadow-subtle: 0 14px 45px rgba(0, 0, 0, 0.7);

  --sp-transition-fast: 150ms ease-out;
  --sp-transition: 220ms ease-out;
}

/* Typography */

body.sp-body {
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.6em;
  font-weight: 600;
  color: var(--sp-text);
}

p {
  margin: 0 0 0.9em;
  color: var(--sp-text-soft);
}

a {
  color: var(--sp-primary-strong);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Buttons */

.sp-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--sp-text);
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: transform var(--sp-transition-fast),
    box-shadow var(--sp-transition),
    background var(--sp-transition),
    border-color var(--sp-transition),
    color var(--sp-transition);
  white-space: nowrap;
}

.sp-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* Primary filled button */
.sp-btn-primary {
  background: radial-gradient(circle at 10% 0, #ffd8b0 0, #ff7b29 20%, #c15218 100%);
  color: #1a1110;
  box-shadow: 0 0 18px rgba(255, 123, 41, 0.65);
}

.sp-btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(255, 140, 64, 0.9);
}

/* Ghost button */
.sp-btn-ghost {
  background: radial-gradient(circle at 10% 0, #ffd8b0 0, #ff7b29 20%, #c15218 100%);
  color: #1a1110;
  box-shadow: 0 0 18px rgba(255, 123, 41, 0.65);
}

.sp-btn-ghost:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(255, 140, 64, 0.9);
}

/* Outline button */
.sp-btn-outline {
  background: radial-gradient(circle at 10% 0, #ffd8b0 0, #ff7b29 20%, #c15218 100%);
  color: #1a1110;
  box-shadow: 0 0 18px rgba(255, 123, 41, 0.65);
}

.sp-btn-outline:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(255, 140, 64, 0.9);
}

/* Text button */
.sp-btn-text {
  border: none;
  background: transparent;
  color: var(--sp-text-soft);
  padding-inline: 0.4rem;
}

.sp-btn-text:hover {
  color: var(--sp-primary-strong);
}

/* Link-style small button */
.sp-link-btn {
  border: none;
  background: none;
  color: var(--sp-primary-strong);
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.sp-link-btn:hover {
  text-decoration: underline;
}

/* Lists */

.sp-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sp-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.4rem;
  color: var(--sp-text-soft);
}

.sp-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: radial-gradient(circle, #ffe2c2 0, #ff7b29 50%, #7b3611 100%);
}

/* Scrollbar */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #050405;
}

::-webkit-scrollbar-thumb {
  background: #261621;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3a2133;
}
