* {
  box-sizing: border-box;
}

:root {
  --ink: #172235;
  --muted: #687386;
  --line: #e9edf2;
  --cyan: #40b6c8;
  --cyan-dark: #239bad;
  --orange: #dd9224;
  --orange-dark: #c97f12;
  --surface: rgba(255, 255, 255, 0.94);
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(64, 182, 200, 0.14), transparent 28%),
    radial-gradient(circle at 87% 82%, rgba(221, 146, 36, 0.13), transparent 30%),
    linear-gradient(135deg, #f6fafb 0%, #ffffff 48%, #fbf8f3 100%);
}

body {
  min-height: 100vh;
}

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 50px 20px;
  position: relative;
  overflow: hidden;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}

.page-shell::before {
  top: -190px;
  left: -160px;
  border: 80px solid rgba(64, 182, 200, 0.06);
}

.page-shell::after {
  right: -175px;
  bottom: -220px;
  border: 90px solid rgba(221, 146, 36, 0.05);
}

.portal-card {
  width: min(1050px, 100%);
  background: var(--surface);
  border: 1px solid rgba(225, 230, 236, 0.92);
  border-radius: 30px;
  box-shadow: 0 28px 70px rgba(31, 47, 67, 0.12);
  padding: 38px;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.logo {
  display: block;
  width: 150px;
  height: auto;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 800;
  color: #8791a0;
}

.intro {
  text-align: center;
  max-width: 680px;
  margin: 42px auto 24px;
}

.intro h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.intro p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.date-helper {
  margin: 0 auto 28px;
  width: fit-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 10px 16px 10px 10px;
  background: #f7fafb;
  border: 1px solid #e8edf0;
  border-radius: 16px;
}

.date-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--orange));
  box-shadow: 0 8px 22px rgba(52, 161, 179, 0.22);
}

.date-helper div {
  display: grid;
  gap: 2px;
}

.date-helper strong {
  font-size: 14px;
}

.date-helper div span {
  color: var(--muted);
  font-size: 13px;
}

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

.portal-option {
  min-height: 345px;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.portal-option::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  opacity: 0.95;
}

.portal-option.old::before {
  background: linear-gradient(90deg, #c4cbd3, #8795a5);
}

.portal-option.new::before {
  background: linear-gradient(90deg, var(--cyan), var(--orange));
}

.portal-option:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(31, 47, 67, 0.12);
}

.portal-option.old:hover {
  border-color: #cdd5dd;
}

.portal-option.new {
  border-color: rgba(64, 182, 200, 0.48);
  box-shadow: 0 12px 30px rgba(64, 182, 200, 0.08);
}

.portal-option.new:hover {
  border-color: var(--cyan);
}

.option-top {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 30px;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.old .status-dot {
  background: #9aa5b1;
}

.new .status-dot {
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(64, 182, 200, 0.12);
}

.option-label {
  font-size: 13px;
  font-weight: 700;
  color: #758091;
}

.recommended {
  margin-left: auto;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
}

.option-content {
  padding: 34px 2px 28px;
}

.icon-wrap {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  margin-bottom: 22px;
}

.old .icon-wrap {
  background: #f0f3f6;
  color: #758292;
}

.new .icon-wrap {
  background: linear-gradient(135deg, rgba(64, 182, 200, 0.14), rgba(221, 146, 36, 0.14));
  color: var(--cyan-dark);
}

.icon-wrap svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.option-content h2 {
  margin: 0 0 11px;
  font-size: 23px;
  letter-spacing: -0.02em;
}

.option-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
  max-width: 390px;
}

.cta {
  margin-top: auto;
  height: 50px;
  border-radius: 14px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 800;
  font-size: 14px;
  transition: gap 0.2s ease;
}

.cta svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.old .cta {
  background: #f2f4f6;
  color: #425065;
}

.new .cta {
  color: #fff;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  box-shadow: 0 10px 24px rgba(64, 182, 200, 0.18);
}

.support {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 13px;
}

.support-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: #536174;
  background: #eef2f5;
}

.support p {
  margin: 0;
}

.support a {
  color: var(--cyan-dark);
  text-decoration: none;
  font-weight: 700;
}

.support a:hover {
  text-decoration: underline;
}

@media (max-width: 760px) {
  .page-shell {
    padding: 24px 14px;
  }

  .portal-card {
    padding: 24px;
    border-radius: 22px;
  }

  .brand {
    padding-bottom: 22px;
  }

  .logo {
    width: 130px;
  }

  .eyebrow {
    font-size: 10px;
  }

  .intro {
    margin-top: 30px;
  }

  .portal-options {
    grid-template-columns: 1fr;
  }

  .portal-option {
    min-height: 310px;
  }

  .date-helper {
    align-items: flex-start;
  }

  .support {
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 460px) {
  .portal-card {
    padding: 20px;
  }

  .brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .intro {
    text-align: left;
  }

  .intro h1 {
    font-size: 31px;
  }

  .date-helper {
    width: 100%;
  }

  .portal-option {
    padding: 19px;
  }

  .recommended {
    font-size: 10px;
  }
}
