:root {
  --bg: #f8f2e9;
  --paper: #fffdf9;
  --ink: #1d1712;
  --muted: #6e655f;
  --line: #e6dac9;
  --gold: #be8d3d;
}


/* ==============================
   Base
   ============================== */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);

  background:
    radial-gradient(
      circle at 10% 0%,
      #fff0d2 0%,
      transparent 35%
    ),
    var(--bg);
}

a {
  color: inherit;
}


/* ==============================
   Main
   ============================== */

.hero {
  width: min(100% - 24px, 1000px);
  min-height: 100vh;
  margin: auto;

  padding-block: clamp(12px, 2.5vh, 40px);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


/* ==============================
   Brand
   ============================== */

.brand {
  margin-bottom: clamp(14px, 2.5vh, 36px);
  text-align: center;
}

.brand img {
  width: clamp(110px, 16vw, 200px);
  height: auto;
  object-fit: contain;
}

.brand h1 {
  margin: clamp(2px, 0.5vw, 6px) 0 0;

  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

.brand .kicker {
  margin: clamp(5px, 1vh, 10px) 0 0;

  color: #2b6753;

  font-size: clamp(0.65rem, 1.2vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}


/* ==============================
   Introduction
   ============================== */

.intro {
  margin-bottom: clamp(10px, 2vh, 24px);
  text-align: center;
}

.intro h1 {
  margin: 0;

  font-family: "Manrope", sans-serif;
  font-size: clamp(0.85rem, 1.8vw, 1.1rem);
  font-weight: 700;
  line-height: 1.2;

  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


/* ==============================
   Portals
   ============================== */

.portals {
  width: 100%;

  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(min(100%, 260px), 1fr)
  );

  gap: clamp(10px, 1.8vw, 20px);
}

.portal-card {
  padding:
    clamp(16px, 2.5vh, 32px)
    clamp(18px, 3vw, 34px);

  border: 1px solid var(--line);
  border-radius: clamp(14px, 2vw, 22px);

  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;

  box-shadow:
    0 clamp(4px, 0.8vh, 8px)
    clamp(14px, 2.5vh, 24px)
    rgba(34, 24, 12, 0.06);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.portal-card:hover {
  transform: translateY(-4px);

  box-shadow:
    0 clamp(7px, 1.5vh, 14px)
    clamp(20px, 3.5vh, 30px)
    rgba(34, 24, 12, 0.1);
}

.portal-card.buyer {
  background: linear-gradient(
    140deg,
    #fffdfa,
    #f6efe5
  );
}

.portal-card.seller {
  background: linear-gradient(
    140deg,
    #f6efe4,
    #f0e2cf
  );
}

.portal-card.fulfillment {
  background: linear-gradient(
    140deg,
    #f5f2ec,
    #e9e4da
  );
}


/* ==============================
   Card Content
   ============================== */

.portal-card h2 {
  width: 100%;
  min-height: 2.4em;

  margin: 0 0 clamp(8px, 1.2vh, 14px);

  display: flex;
  align-items: center;
  justify-content: center;

  font-family: "Manrope", sans-serif;
  font-size: clamp(0.85rem, 1.5vw, 1.05rem);
  font-weight: 800;
  line-height: 1.2;

  letter-spacing: 0.12em;
  text-transform: uppercase;

  color: var(--ink);
}

.portal-card p {
  width: min(100%, 360px);
  min-height: clamp(60px, 6.5vh, 82px);

  margin: 0 0 clamp(16px, 2.2vh, 26px);

  color: var(--muted);

  font-size: clamp(0.8rem, 1.3vw, 0.92rem);
  line-height: 1.55;
}


/* ==============================
   Button
   ============================== */

.portal-card .btn {
  margin-top: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: min(100%, 180px);
  min-height: clamp(40px, 4vh, 44px);

  padding-inline: clamp(14px, 2vw, 20px);

  border-radius: 999px;

  background: linear-gradient(
    120deg,
    var(--gold),
    #e1bc75
  );

  color: #1f1811;

  text-decoration: none;
  font-size: clamp(0.78rem, 1.2vw, 0.9rem);
  font-weight: 800;
  letter-spacing: 0.01em;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);

  box-shadow:
    0 7px 18px
    rgba(190, 141, 61, 0.22);
}


/* ==============================
   Desktop — No Page Scroll
   ============================== */

@media (min-width: 761px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
  }
}