* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  min-height: 100%;
}

body {
  background: #f0f0f0;
  color: #001f3f;
  display: flex;
  flex-direction: column;
  font-family: 'Consolas', 'SF Pro Display', 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  min-height: 100vh;
  text-align: center;
}

main {
  flex: 1;
  margin: 0 auto;
  max-width: 640px;
  padding: 2rem;
}

header {
  margin-bottom: 1rem;

  img {
    border-radius: 8px;
    box-shadow:
      0 4px 8px rgba(0, 0, 0, 0.08),
      0 10px 20px rgba(0, 0, 0, 0.06);
    height: auto;
    margin-bottom: 0.5rem;
    max-width: 256px;
    
    @media (max-width: 768px) {
      width: 128px;
    }
  }
}

section {
  margin-bottom: 2rem;

  h2 {
    color: #1a237e;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
  }

  p {
    color: #001f3f;
    font-size: 1rem;
    font-style: italic;
  }

  form {
    margin: 1rem auto;
    text-align: left;

    & > div {
      margin-bottom: 0.5rem;
    }

    button {
      background: #1a237e;
      border: none;
      border-radius: 4px;
      color: white;
      cursor: pointer;
      font-family: inherit;
      font-size: 1rem;
      font-weight: 600;
      padding: 0.75rem 1.5rem;
      transition: background-color 0.2s ease;
      width: 100%;

      &:focus-visible {
        outline: 3px solid rgba(26, 35, 126, 0.2);  
        outline-offset: 2px;
      }

      &:hover:not(:disabled) {
        background: #0d1556;
      }

      &:disabled {
        background: #666666;
        cursor: not-allowed;
      }
    }

    input,
    textarea {
      border: 2px solid #e0e0e0;
      border-radius: 4px;
      font-family: inherit;
      font-size: 1rem;
      padding: 0.75rem;
      transition: border-color 0.2s ease;
      width: 100%;

      &:focus {
        border-color: #1a237e;
        outline: none;
      }

      &:focus-visible {
        outline: 3px solid rgba(26, 35, 126, 0.2); 
        outline-offset: 2px;
      }

      &:user-valid {
        border-color: #1cb71c;
      }

      &:user-invalid {
        border-color: #b71c1c;
      }
    }

    label {
      color: #1a237e;
      display: block;
      font-size: 1.1rem;
      margin-bottom: 0.5rem;
    }

    span {
      color: #b71c1c;
      display: block;
      font-size: 0.8rem;
      margin-top: 0.25rem;
      min-height: 1rem;

      &.success {
        color: #1cb71c;
      }
    }
  }
}

#schedule {
  & > ul {
    list-style: none;
    margin: 1rem auto;
    text-align: left;

    & > li {
      background: rgba(26, 35, 126, 0.05);
      border-left: 3px solid #1a237e;
      border-radius: 0 8px 8px 0;
      margin-bottom: 1rem;
      padding: 0.8rem;

      @media (max-width: 768px) {
        padding: 0.75rem;
      }
    }

    span {
      color: #1a237e;
      display: block;
      font-weight: 600;
      margin-bottom: 0.25rem;
    }

    ul {
      list-style: none;
      margin-top: 0.25rem;

      li {
        margin-bottom: 0.25rem;
        padding-left: 1rem;
        position: relative;
        font-size: 0.9rem;

        &::before {
          color: #1a237e;
          content: "→";
          left: 0;
          position: absolute;
        }
      }
    }
  }
}

#highlights {
  > div {
    align-items: center;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, 1fr);
    margin: 2rem auto;
    
    div {
      display: flex; 
      padding: 0.5rem;

      img {
        max-width: 100%;
        margin: auto;
        object-fit: contain;
      }
    }
  }
}

hr {
  background: #c6c8df;
  border: none;
  height: 1px;
  margin: 2rem auto;
  max-width: 80%;
  padding: 0;
  position: relative;

  &::after {
    background: #f0f0f0;
    color: #1a237e;
    content: '◆';
    font-size: 16px;
    left: 50%;
    line-height: 1;
    padding: 0 8px;
    position: absolute;
    top: -8px;
    transform: translateX(-50%);
  }

  &::before {
    background: #8d91bf;
    content: '';
    height: 1px;
    left: 20%;
    opacity: 0.8;
    position: absolute;
    top: 0;
    width: 60%;
  }
}

footer {
  font-size: 0.8rem;
  padding: 1rem 0;
}