@font-face {
  font-family: "LP Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/source-han-sans-400.woff2") format("woff2");
}

@font-face {
  font-family: "LP Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/source-han-sans-500.woff2") format("woff2");
}

@font-face {
  font-family: "LP Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/source-han-sans-700.woff2") format("woff2");
}

:root {
  --blue: #214f95;
  --blue-deep: #101a49;
  --teal: #00a39e;
  --sky: #e0f2fc;
  --gold: #b48a45;
  --paper: #ffffff;
  --ink: #2f3439;
  --muted: #6a737c;
  --line: #d7e1e8;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--sky);
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(180deg, var(--blue) 0 18rem, var(--sky) 18rem 100%);
  color: var(--ink);
  font-family: "LP Sans", "Source Han Sans", "Hiragino Sans", sans-serif;
  font-weight: 400;
  line-height: 1.75;
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  width: min(100% - 40px, 760px);
  height: 112px;
  margin: 0 auto;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.brand span {
  display: grid;
  line-height: 1.1;
}

.brand strong {
  font-size: 15px;
  letter-spacing: 0.08em;
}

.brand small {
  margin-top: 5px;
  color: rgb(255 255 255 / 72%);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

main {
  width: min(100% - 40px, 760px);
  margin: 0 auto;
}

.application-card {
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 6px;
  padding: clamp(32px, 6vw, 64px);
  background: var(--paper);
  box-shadow: 0 22px 60px rgb(8 35 76 / 18%);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  color: var(--blue-deep);
  font-size: clamp(27px, 5vw, 40px);
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.lead {
  max-width: 36rem;
  margin-bottom: 36px;
  color: #49535d;
  font-size: clamp(14px, 2.2vw, 16px);
}

.application-flow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.application-flow li {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.application-flow li:first-child::after {
  position: absolute;
  top: 23px;
  left: calc(100% - 28px);
  width: 56px;
  height: 1px;
  background: var(--line);
  content: "";
}

.step-number {
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--teal);
  border-radius: 50%;
  place-items: center;
  color: var(--teal);
  font-size: 15px;
  font-weight: 700;
}

.application-flow li:last-child .step-number {
  border-color: var(--blue);
  color: var(--blue);
}

.application-flow strong,
.application-flow small {
  display: block;
}

.application-flow strong {
  color: var(--blue-deep);
  font-size: 14px;
  line-height: 1.45;
}

.application-flow small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.notice {
  border-top: 3px solid var(--teal);
  padding: clamp(24px, 4vw, 34px);
  background: #f4fbfd;
}

.notice-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.notice-mark {
  display: grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  margin-top: 1px;
  border-radius: 50%;
  place-items: center;
  background: var(--teal);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.notice h2,
.privacy h2 {
  margin-bottom: 4px;
  color: var(--blue-deep);
  font-size: clamp(17px, 2.7vw, 20px);
  line-height: 1.5;
}

.notice-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.application-details {
  margin: 26px 0 0;
  border-top: 1px solid var(--line);
}

.application-details > div {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}

.application-details dt {
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.application-details dd {
  margin: 0;
  font-size: 13px;
}

.privacy {
  margin-top: 30px;
  padding-left: 18px;
  border-left: 3px solid var(--gold);
}

.privacy p {
  margin-bottom: 8px;
  color: #525c65;
  font-size: 13px;
}

.privacy a {
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  text-underline-offset: 0.2em;
}

.proceed-button {
  display: grid;
  width: 100%;
  min-height: 76px;
  margin-top: 36px;
  border: 1px solid #8c682f;
  border-radius: 3px;
  place-content: center;
  padding: 14px 24px;
  background: linear-gradient(135deg, #c39a58 0%, #e1c38e 50%, #b48745 100%);
  box-shadow: 0 6px 18px rgb(90 62 24 / 18%);
  color: #18223b;
  text-align: center;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    filter 160ms ease;
}

.proceed-button span {
  font-size: clamp(14px, 2.2vw, 17px);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.proceed-button small {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  opacity: 0.72;
}

.proceed-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 24px rgb(90 62 24 / 24%);
  filter: brightness(1.04);
}

.proceed-button:active {
  transform: translateY(1px);
  box-shadow: 0 3px 10px rgb(90 62 24 / 18%);
}

.brand:focus-visible,
.proceed-button:focus-visible,
.privacy a:focus-visible,
.return-link a:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid #f4bd42;
  outline-offset: 4px;
}

.return-link {
  margin: 22px 0 0;
  text-align: center;
}

.return-link a {
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  text-underline-offset: 0.2em;
}

.site-footer {
  display: grid;
  width: min(100% - 40px, 760px);
  margin: 0 auto;
  padding: 36px 0 48px;
  color: #56646f;
  font-size: 11px;
  text-align: center;
}

.site-footer p {
  margin-bottom: 10px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
}

.site-footer a {
  text-underline-offset: 0.2em;
}

@media (max-width: 600px) {
  body {
    background: linear-gradient(180deg, var(--blue) 0 13rem, var(--sky) 13rem 100%);
  }

  .site-header {
    width: min(100% - 32px, 760px);
    height: 88px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  main,
  .site-footer {
    width: min(100% - 24px, 760px);
  }

  .application-card {
    padding: 28px 20px 30px;
  }

  .lead {
    margin-bottom: 28px;
  }

  .application-flow {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .application-flow li:first-child::after {
    top: 38px;
    left: 22px;
    width: 1px;
    height: 24px;
  }

  .step-number {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }

  .notice {
    padding: 22px 18px;
  }

  .application-details > div {
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 13px 0;
  }

  .proceed-button {
    min-height: 82px;
    padding-right: 14px;
    padding-left: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .proceed-button {
    transition: none;
  }
}
