
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Caveat:wght@600&display=swap');

:root {
  --navy: #073b86;
  --blue: #0868dc;
  --sky: #bfe6ff;
  --pale: #eef8ff;
  --ink: #092f79;
  --line: #b9d8f2;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: #d7efff;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.topbar {
  height: 86px;
  background: linear-gradient(100deg, #0750a8, #0865c5);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 3.5%;
  box-shadow: 0 3px 10px #003b8033;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: white;
  text-decoration: none;
}

.cap {
  font-size: 49px;
}

.brand strong {
  display: block;
  font-size: clamp(19px, 2.2vw, 30px);
}

.brand small {
  display: block;
  font-size: 16px;
  margin-top: 3px;
}

.motto,
footer span {
  font-family: Caveat, cursive;
  font-size: 28px;
}

main {
  min-height: calc(100vh - 145px);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 830px;
  padding: 35px 5% 30px;
  background: radial-gradient(
    ellipse at 50% 20%,
    #f4fbff 0,
    #c9ebff 40%,
    #7ac8ff 75%,
    #1986df 100%
  );
}

.hero:before,
.hero:after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  background: #4aa8f1;
  opacity: .18;
  width: 70vw;
  height: 210px;
  transform: rotate(14deg);
  left: -15vw;
  bottom: 70px;
}

.hero:after {
  left: auto;
  right: -25vw;
  bottom: 130px;
  transform: rotate(-15deg);
}

.quote {
  position: absolute;
  top: 55px;
  left: 4%;
  font-family: Caveat, cursive;
  font-size: clamp(25px, 3vw, 43px);
  line-height: 1.05;
  transform: rotate(-7deg);
  font-weight: 600;
  color: #073a91;
  z-index: 1;
}

.hero-copy {
  position: relative;
  text-align: center;
  max-width: 650px;
  margin: 0 auto 18px;
  z-index: 1;
}

.hero-cap {
  font-size: 44px;
}

.hero-copy h1 {
  font-size: clamp(27px, 3.5vw, 45px);
  line-height: 1.12;
  margin: 0 0 12px;
}

.hero-copy p {
  font-size: 18px;
  line-height: 1.55;
  margin: 0 auto;
  max-width: 600px;
  color: #153b67;
}

.books {
  position: absolute;
  right: 4%;
  top: 35px;
  font-size: 72px;
  text-align: center;
  line-height: 1.1;
  transform: rotate(3deg);
  z-index: 0;
}

.role-panel {
  position: relative;
  z-index: 2;
  max-width: 1190px;
  margin: 20px auto 0;
  background: #ffffffed;
  border: 1px solid #e1f2ff;
  border-radius: 16px;
  padding: 26px 28px 18px;
  box-shadow: 0 12px 35px #07539b26;
}

.role-panel h2 {
  text-align: center;
  font-size: clamp(23px, 2.4vw, 32px);
  margin: 0 0 22px;
}

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

.role-card {
  border: 1px solid #b7d6ee;
  border-radius: 13px;
  overflow: hidden;
  text-align: center;
  background: #f2f9ff;
  display: flex;
  flex-direction: column;
}

.role-art {
  height: 170px;
  display: grid;
  place-items: center;
  font-size: 95px;
  background: linear-gradient(135deg, #d6efff, #a6d9fb);
}

.family-art {
  font-size: 83px;
}

.role-card h3 {
  font-size: 24px;
  margin: 14px 8px 5px;
}

.role-card p {
  font-size: 15px;
  line-height: 1.45;
  min-height: 48px;
  margin: 4px 18px 17px;
}

.role-card button,
.primary {
  border: 0;
  background: linear-gradient(90deg, #075de0, #0878e9);
  color: white;
  border-radius: 30px;
  font-weight: 700;
  padding: 14px 20px;
  font-size: 18px;
  margin: auto 18px 17px;
  box-shadow: 0 4px 8px #0065cb25;
}

.role-card button:hover,
.primary:hover {
  filter: brightness(1.08);
}

.features {
  display: flex;
  justify-content: space-around;
  gap: 12px;
  flex-wrap: wrap;
  margin: 23px 0 0;
  padding-top: 2px;
  font-size: 12px;
}

.features span {
  padding: 8px 12px;
  border-right: 1px solid #c3d9eb;
}

.screen {
  max-width: 1120px;
  min-height: calc(100vh - 145px);
  margin: auto;
  padding: 34px 22px 50px;
}

.hidden {
  display: none !important;
}

.back {
  border: 1px solid #b9d8f2;
  background: white;
  color: #12458c;
  border-radius: 9px;
  padding: 10px 15px;
  font-weight: 600;
}

.login-card {
  max-width: 480px;
  margin: 24px auto;
  background: white;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 12px 35px #084e9320;
  border: 1px solid #d5eafa;
}

.login-card h2 {
  text-align: center;
  margin: 6px 0 5px;
  font-size: 28px;
}

.login-card > p {
  text-align: center;
  color: #54708e;
}

.login-icon {
  text-align: center;
  font-size: 45px;
}

.login-card label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin: 16px 0 7px;
}

.login-card input,
.field,
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #b8d0e8;
  border-radius: 9px;
  background: #fbfdff;
  color: #143d70;
  outline-color: #1680ec;
}

.password-row {
  display: flex;
  gap: 7px;
}

.password-row input {
  flex: 1;
  min-width: 0;
}

.toggle {
  border: 1px solid #b8d0e8;
  background: #edf7ff;
  color: #0757b4;
  border-radius: 8px;
  padding: 0 15px;
}

.password-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 7px;
  gap: 8px;
}

.link-button {
  border: 0;
  background: none;
  color: #0763c9;
  text-decoration: underline;
  padding: 5px 0;
  font-size: 13px;
}

.password-tools span {
  font-size: 12px;
  color: #387a47;
}

.full {
  width: 100%;
  margin: 22px 0 0;
}

.demo-note {
  font-size: 12px !important;
  color: #6c8094 !important;
  margin: 20px 0 0;
}

.dashboard-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  background: white;
  padding: 23px 25px;
  border-radius: 16px;
  border: 1px solid #d7eafa;
}

.dashboard-head h2 {
  margin: 3px 0;
  font-size: 30px;
}

.dashboard-head p {
  margin: 4px 0;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #1781dc;
  font-weight: 800;
}

.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 18px 0;
}

.tabs button {
  border: 1px solid #b9d7f0;
  border-radius: 22px;
  padding: 10px 15px;
  background: #f7fbff;
  color: #164a8a;
  font-weight: 600;
}

.tabs button.active {
  background: #075fca;
  color: white;
}

.content-card {
  background: white;
  border: 1px solid #d4e8f8;
  border-radius: 15px;
  padding: 22px;
  margin-bottom: 17px;
  box-shadow: 0 5px 18px #0a4c8110;
}

.content-card h3 {
  margin-top: 0;
}

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

.form-grid label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}

.form-grid .wide {
  grid-column: 1 / -1;
}

.action {
  border: 0;
  background: #0867d5;
  color: white;
  padding: 11px 17px;
  border-radius: 9px;
  font-weight: 700;
  margin-top: 13px;
}

.muted {
  color: #657b95;
}

.notice {
  padding: 13px 15px;
  border-radius: 10px;
  background: #eaf6ff;
  border-left: 4px solid #2588e8;
  margin: 10px 0;
}

.risk {
  background: #fff1d9;
  border-left-color: #e99a12;
  color: #855100;
}

.good {
  background: #e7f8ec;
  border-left-color: #2b9b57;
  color: #17683a;
}

.danger {
  background: #fff0f0;
  border-left-color: #d64545;
  color: #8e2929;
}

.data-list {
  display: grid;
  gap: 10px;
}

.data-item {
  border: 1px solid #dcebf7;
  border-radius: 10px;
  padding: 13px;
}

.data-item strong {
  color: #093b84;
}

.data-item small {
  display: block;
  color: #657b95;
  margin-top: 4px;
}

.pill {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  background: #e8f3ff;
  color: #075bb7;
}

.table-wrap {
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}

th,
td {
  text-align: left;
  padding: 11px;
  border-bottom: 1px solid #e1edf7;
}

th {
  background: #eef7ff;
}

footer {
  background: #06448e;
  color: white;
  padding: 17px 3.5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

@media (max-width: 850px) {
  .quote,
  .books {
    display: none;
  }

  .hero {
    padding: 25px 4%;
    min-height: 0;
  }

  .hero-copy {
    margin-bottom: 22px;
  }

  .role-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .role-card {
    max-width: 500px;
    width: 100%;
    margin: auto;
  }

  .role-art {
    height: 125px;
    font-size: 75px;
  }

  .role-card p {
    min-height: 0;
  }

  .features {
    justify-content: center;
  }

  .role-panel {
    padding: 20px 14px;
  }

  .motto {
    font-size: 20px;
  }

  .brand small {
    font-size: 12px;
  }

  .cap {
    font-size: 36px;
  }

  .topbar {
    height: auto;
    min-height: 75px;
  }

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

  .form-grid .wide {
    grid-column: auto;
  }

  .dashboard-head {
    align-items: flex-start;
    flex-direction: column;
  }

  footer {
    gap: 8px;
    flex-wrap: wrap;
  }
}

.data-item small {
  line-height: 1.5;
}

.license-preview {
  display: block;
  max-width: min(100%, 320px);
  max-height: 260px;
  object-fit: contain;
  margin-top: 10px;
  border: 1px solid #d4e8f8;
  border-radius: 10px;
  background: #f7fbff;
}

input[type="file"] {
  background: #f7fbff;
}

