/* =========================================================
   FENIX TOURNAMENT PLANNER
   Central public website design system
   ========================================================= */

:root{
  /* Brand */
  --fx-orange:#f36b21;
  --fx-orange-dark:#d95414;
  --fx-orange-soft:#fff3eb;

  --fx-ink:#171c2b;
  --fx-text:#30384b;
  --fx-muted:#6f7787;

  --fx-white:#ffffff;
  --fx-bg:#ffffff;
  --fx-bg-soft:#f7f7f5;
  --fx-bg-warm:#faf6f1;

  --fx-border:#e8e6e2;

  /* Layout */
  --fx-container:1200px;
  --fx-container-wide:1360px;
  --fx-gutter:32px;

  /* Radius */
  --fx-radius-sm:12px;
  --fx-radius:20px;
  --fx-radius-lg:30px;

  /* Shadow */
  --fx-shadow:
    0 18px 50px rgba(23,28,43,.08);

  --fx-shadow-hover:
    0 24px 65px rgba(23,28,43,.13);

  /* Typography */
  --fx-font:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  /* Motion */
  --fx-ease:cubic-bezier(.2,.7,.2,1);
}


/* =========================================================
   BASE
   ========================================================= */

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  color:var(--fx-text);
  background:var(--fx-bg);
  font-family:var(--fx-font);
  -webkit-font-smoothing:antialiased;
}

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

img{
  max-width:100%;
}

a{
  color:inherit;
}


/* =========================================================
   CONTAINERS
   ========================================================= */

.fx-container{
  width:min(
    var(--fx-container),
    calc(100% - (var(--fx-gutter) * 2))
  );
  margin-inline:auto;
}

.fx-container-wide{
  width:min(
    var(--fx-container-wide),
    calc(100% - (var(--fx-gutter) * 2))
  );
  margin-inline:auto;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.fx-section{
  padding:96px 0;
}

.fx-section--soft{
  background:var(--fx-bg-soft);
}

.fx-section--warm{
  background:var(--fx-bg-warm);
}

.fx-section--dark{
  color:var(--fx-white);
  background:var(--fx-ink);
}


/* =========================================================
   TYPOGRAPHY
   ========================================================= */

.fx-eyebrow{
  margin:0 0 16px;
  color:var(--fx-orange);
  font-size:13px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.fx-title{
  margin:0;
  color:var(--fx-ink);
  font-size:clamp(40px,5vw,72px);
  font-weight:850;
  line-height:.98;
  letter-spacing:-.045em;
}

.fx-heading{
  margin:0;
  color:var(--fx-ink);
  font-size:clamp(32px,4vw,52px);
  font-weight:820;
  line-height:1.05;
  letter-spacing:-.035em;
}

.fx-lead{
  max-width:720px;
  margin:22px 0 0;
  color:var(--fx-muted);
  font-size:clamp(18px,2vw,21px);
  line-height:1.65;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.fx-button{
  min-height:48px;
  padding:0 22px;

  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;

  border:1px solid transparent;
  border-radius:12px;

  font-size:15px;
  font-weight:750;
  line-height:1;
  text-decoration:none;

  cursor:pointer;

  transition:
    transform .18s var(--fx-ease),
    box-shadow .18s var(--fx-ease),
    background .18s var(--fx-ease);
}

.fx-button:hover{
  transform:translateY(-2px);
}

.fx-button--primary{
  color:#fff;
  background:var(--fx-orange);
  box-shadow:
    0 10px 25px rgba(243,107,33,.22);
}

.fx-button--primary:hover{
  background:var(--fx-orange-dark);
}

.fx-button--secondary{
  color:var(--fx-ink);
  background:#fff;
  border-color:var(--fx-border);
}


/* =========================================================
   HERO
   ========================================================= */

.fx-hero{
  position:relative;
  overflow:hidden;
  padding:92px 0 104px;
}

.fx-hero__content{
  position:relative;
  z-index:1;
}

.fx-hero__actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:30px;
}


/* =========================================================
   SECTION HEADER
   ========================================================= */

.fx-section-header{
  max-width:780px;
  margin-bottom:48px;
}

.fx-section-header--center{
  margin-inline:auto;
  text-align:center;
}

.fx-section-header--center .fx-lead{
  margin-inline:auto;
}


/* =========================================================
   CARDS
   ========================================================= */

.fx-grid{
  display:grid;
  grid-template-columns:
    repeat(3,minmax(0,1fr));
  gap:24px;
}

.fx-card{
  position:relative;
  overflow:hidden;

  padding:30px;

  background:#fff;
  border:1px solid var(--fx-border);
  border-radius:var(--fx-radius);

  transition:
    transform .22s var(--fx-ease),
    box-shadow .22s var(--fx-ease),
    border-color .22s var(--fx-ease);
}

.fx-card:hover{
  transform:translateY(-4px);
  border-color:rgba(243,107,33,.32);
  box-shadow:var(--fx-shadow-hover);
}

.fx-card__number{
  margin-bottom:28px;
  color:var(--fx-orange);
  font-size:13px;
  font-weight:850;
  letter-spacing:.12em;
}

.fx-card__title{
  margin:0;
  color:var(--fx-ink);
  font-size:24px;
  line-height:1.15;
}

.fx-card__text{
  margin:14px 0 0;
  color:var(--fx-muted);
  font-size:16px;
  line-height:1.65;
}


/* =========================================================
   CTA
   ========================================================= */

.fx-cta{
  position:relative;
  overflow:hidden;

  padding:64px;

  color:#fff;
  background:var(--fx-ink);
  border-radius:var(--fx-radius-lg);
}

.fx-cta__title{
  max-width:800px;
  margin:0;

  color:#fff;
  font-size:clamp(34px,4vw,54px);
  font-weight:820;
  line-height:1.04;
  letter-spacing:-.035em;
}

.fx-cta__text{
  max-width:680px;
  margin:18px 0 0;

  color:rgba(255,255,255,.72);
  font-size:18px;
  line-height:1.6;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width:960px){

  :root{
    --fx-gutter:24px;
  }

  .fx-section{
    padding:76px 0;
  }

  .fx-grid{
    grid-template-columns:
      repeat(2,minmax(0,1fr));
  }

  .fx-hero{
    padding:72px 0 82px;
  }

  .fx-cta{
    padding:48px;
  }
}

@media (max-width:640px){

  :root{
    --fx-gutter:18px;
  }

  .fx-section{
    padding:60px 0;
  }

  .fx-grid{
    grid-template-columns:1fr;
  }

  .fx-hero{
    padding:56px 0 64px;
  }

  .fx-title{
    font-size:clamp(38px,12vw,54px);
  }

  .fx-heading{
    font-size:clamp(30px,9vw,42px);
  }

  .fx-cta{
    padding:34px 26px;
    border-radius:22px;
  }
}
