:root {
  color-scheme: light;
  --brand: #0075bd;
  --brand-dark: #004f87;
  --green: #66b245;
  --labic: #050505;
  --ink: #122136;
  --muted: #637084;
  --line: #d7e4ee;
  --panel: #ffffff;
  --surface: #edf5fb;
  font-family: Inter, Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(135deg, rgb(0 117 189 / 12%), transparent 34%),
    linear-gradient(315deg, rgb(102 178 69 / 14%), transparent 32%),
    var(--surface);
  color: var(--ink);
}

button,
input {
  font: inherit;
}

.page-shell {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 48px 24px;
}

.page-shell::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background:
    repeating-linear-gradient(115deg, transparent 0 28px, rgb(0 117 189 / 7%) 28px 30px),
    linear-gradient(90deg, rgb(0 117 189 / 8%), rgb(102 178 69 / 8%));
  mask-image: linear-gradient(90deg, #000 0, transparent 46%, transparent 54%, #000 100%);
  pointer-events: none;
}

.access-view,
.delivery-view {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: calc(100vh - 96px);
  place-items: center;
}

.access-view {
  align-content: center;
}

.access-frame {
  display: grid;
  gap: 34px;
  width: min(100%, 760px);
  padding: 42px 48px 46px;
  border: 1px solid rgb(0 79 135 / 20%);
  border-radius: 8px;
  background: rgb(255 255 255 / 30%);
  box-shadow: 0 26px 80px rgb(18 33 54 / 10%);
  backdrop-filter: blur(2px);
}

.access-frame .access-panel {
  justify-self: center;
}

.brand-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(100%, 620px);
  margin-inline: auto;
}

.provider-logos {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  min-height: 58px;
  min-width: 160px;
}

.labic-brand {
  display: inline-block;
  text-decoration: none;
}

.labic-brand img {
  display: block;
  width: 104px;
  height: auto;
}

.saneago-logo-box {
  display: inline-grid;
  width: 180px;
  height: 54px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), #4e36b9);
  box-shadow: 0 16px 38px rgb(0 79 135 / 20%);
}

.saneago-brand {
  width: 146px;
  max-width: 42vw;
  height: auto;
}

.access-panel {
  display: grid;
  justify-items: center;
  width: min(100%, 320px);
  text-align: center;
}

.lock-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 8px;
  background: #e8f3ff;
  color: var(--brand);
}

.lock-mark svg,
.icon-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.access-panel h1 {
  margin: 0 0 22px;
  font-size: 20px;
  line-height: 1.2;
}

.access-form {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 24px 70px rgb(18 33 54 / 14%);
  text-align: left;
}

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

.password-row {
  display: grid;
  grid-template-columns: 1fr 42px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.password-row:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgb(0 107 182 / 14%);
}

.password-row input {
  min-width: 0;
  height: 42px;
  border: 0;
  padding: 0 12px;
  outline: 0;
  color: var(--ink);
}

.password-row input::placeholder {
  color: #8b98a8;
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  background: transparent;
  color: #7b8797;
  cursor: pointer;
}

.form-error {
  min-height: 18px;
  margin: 8px 0 10px;
  color: #b42318;
  font-size: 13px;
}

.primary-button,
.secondary-button {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
}

.primary-button {
  width: 100%;
  background: linear-gradient(90deg, var(--brand), var(--green));
  color: #fff;
}

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

.secondary-button {
  padding: 0 16px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.delivery-panel {
  position: relative;
  overflow: hidden;
  width: min(100%, 900px);
  min-height: 650px;
  padding: 38px 54px 56px;
  border: 1px solid rgb(0 79 135 / 18%);
  border-radius: 8px;
  background: rgb(255 255 255 / 92%);
  box-shadow: 0 30px 90px rgb(18 33 54 / 16%);
}

.delivery-panel::before {
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: linear-gradient(90deg, var(--brand), var(--green));
  content: "";
}

.delivery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.delivery-header .brand-strip {
  width: 100%;
  flex: 1;
}

.hero-band {
  position: relative;
  margin: 40px -54px 0;
  padding: 56px 54px 62px;
  background:
    linear-gradient(110deg, rgb(0 117 189 / 95%), rgb(0 91 149 / 92%) 54%, rgb(102 178 69 / 88%)),
    #006bb6;
  color: #fff;
}

.hero-band::after {
  position: absolute;
  right: 44px;
  bottom: -40px;
  width: 230px;
  height: 230px;
  border: 34px solid rgb(255 255 255 / 16%);
  border-radius: 999px;
  content: "";
}

.title-group {
  position: relative;
  z-index: 1;
  margin: 0;
  text-align: center;
}

.title-group h1 {
  margin: 0;
  font-size: 54px;
  font-weight: 800;
  line-height: 1.12;
}

.title-group p {
  margin: 6px 0 0;
  font-size: 25px;
  font-weight: 600;
}

.macro-section {
  margin-top: 38px;
  padding: 28px;
  border: 1px solid rgb(0 79 135 / 16%);
  border-radius: 8px;
  background: rgb(255 255 255 / 58%);
  box-shadow: 0 18px 48px rgb(18 33 54 / 7%);
}

.section-heading {
  display: grid;
  gap: 4px;
  margin-bottom: 20px;
}

.section-kicker {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.macro-section h2 {
  margin: 0;
  font-size: 30px;
}

.delivery-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  font-size: 18px;
  line-height: 1.35;
  list-style: none;
}

.download-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 92px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(90deg, #fff, #f8fbfe);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 12px 30px rgb(18 33 54 / 7%);
}

.download-card:hover {
  border-color: rgb(0 117 189 / 45%);
  transform: translateY(-1px);
}

.download-card strong {
  display: block;
  color: var(--brand-dark);
  font-size: 20px;
}

.download-card small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}

.download-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 8px;
  background: rgb(0 117 189 / 10%);
}

.download-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.delivery-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.delivery-footer a {
  color: var(--labic);
  text-decoration: none;
}

.delivery-footer a:hover {
  text-decoration: underline;
}

[hidden] {
  display: none !important;
}

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

  .access-frame {
    padding: 28px 20px 32px;
  }

  .access-view,
  .delivery-view {
    min-height: calc(100vh - 48px);
  }

  .delivery-panel {
    min-height: auto;
    padding: 28px 20px 36px;
  }

  .brand-strip {
    width: min(100%, 620px);
    gap: 16px;
  }

  .macro-section h2 {
    font-size: 22px;
  }

  .provider-logos {
    gap: 18px;
  }

  .labic-brand img {
    width: 96px;
  }

  .saneago-logo-box {
    width: 150px;
    height: 48px;
  }

  .saneago-brand {
    width: 120px;
  }

  .hero-band {
    margin-inline: -20px;
    padding: 42px 20px 48px;
  }

  .title-group h1 {
    font-size: 38px;
  }

  .title-group p {
    font-size: 20px;
  }

  .download-card {
    grid-template-columns: 46px 1fr;
    padding: 16px;
  }

  .macro-section {
    padding: 20px;
  }

  .download-card strong {
    font-size: 17px;
  }

  .delivery-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .delivery-header,
  .brand-strip {
    align-items: center;
    flex-direction: column;
  }

  .brand-strip {
    gap: 18px;
  }

  .secondary-button {
    align-self: flex-end;
  }
}
