:root {
  font-family: Inter, "Noto Sans SC", system-ui, sans-serif;
  color: #17312d;
  background: #f3f8f6;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 10% 10%, rgba(19, 127, 106, .16), transparent 34rem),
    radial-gradient(circle at 90% 90%, rgba(230, 92, 54, .12), transparent 30rem),
    #f3f8f6;
}

.portal-shell {
  width: min(920px, 100%);
  padding: 28px 18px;
}

header {
  margin-bottom: 26px;
  text-align: center;
}

header img { width: min(210px, 58vw); height: 70px; object-fit: contain; }
header p { margin: 8px 0 0; color: #5f716e; font-weight: 700; }

.portal-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.portal-card {
  min-height: 280px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(23, 49, 45, .1);
  border-radius: 30px;
  color: inherit;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 22px 70px rgba(24, 62, 55, .13);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.portal-card:hover,
.portal-card:focus-visible { transform: translateY(-4px); box-shadow: 0 28px 80px rgba(24, 62, 55, .2); }
.portal-card:focus-visible { outline: 4px solid rgba(15, 124, 102, .25); outline-offset: 3px; }

.portal-icon {
  width: 66px;
  height: 66px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: #fff;
  font-size: 34px;
  font-weight: 900;
}

.customer .portal-icon { background: #0f7c66; }
.business .portal-icon { background: #e65c36; }
.portal-card strong { font-size: 30px; line-height: 1.15; }
.portal-card b { margin-top: 5px; font-size: 18px; }
.portal-card small { margin-top: 18px; color: #5f716e; font-size: 15px; line-height: 1.6; }

@media (max-width: 680px) {
  .portal-shell { padding: 20px 14px; }
  .portal-options { grid-template-columns: 1fr; }
  .portal-card { min-height: 220px; padding: 24px; border-radius: 24px; }
  .portal-icon { width: 58px; height: 58px; margin-bottom: 16px; }
}
